summaryrefslogtreecommitdiff
path: root/rust/helpers/build_bug.c
diff options
context:
space:
mode:
authorDaniel Jurgens <danielj@nvidia.com>2025-08-13 22:19:56 +0300
committerJakub Kicinski <kuba@kernel.org>2025-08-15 12:29:08 -0700
commit520369ef43a8504f9d54ee219bb6c692d2e40028 (patch)
tree9b472f810411effc4c63cbdbd626815b2d0c13a1 /rust/helpers/build_bug.c
parent9e84de72aef9bcf0e751a0bff3ac91b0cf52366f (diff)
net/mlx5: Support disabling host PFs
Some devices support disabling the physical function on the host. When this is configured the vports for the host functions do not exist. This patch checks if host functions are enabled before trying to access their vports. Signed-off-by: Daniel Jurgens <danielj@nvidia.com> Reviewed-by: William Tu <witu@nvidia.com> Signed-off-by: Tariq Toukan <tariqt@nvidia.com> Link: https://patch.msgid.link/1755112796-467444-3-git-send-email-tariqt@nvidia.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'rust/helpers/build_bug.c')
0 files changed, 0 insertions, 0 deletions