]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
net/mlx5: Query to see if host PF is disabled
authorDaniel Jurgens <danielj@nvidia.com>
Wed, 13 Aug 2025 19:19:55 +0000 (22:19 +0300)
committerJakub Kicinski <kuba@kernel.org>
Fri, 15 Aug 2025 19:29:07 +0000 (12:29 -0700)
commit9e84de72aef9bcf0e751a0bff3ac91b0cf52366f
treea19633fc298d9e819f39108f4fd0683cf35bce9d
parentd0f110773d776f919f93ba2e7dc254f80a7297b2
net/mlx5: Query to see if host PF is disabled

The host PF can be disabled, query firmware to check if the host PF of
this function exists.

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-2-git-send-email-tariqt@nvidia.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/mellanox/mlx5/core/eswitch.c
drivers/net/ethernet/mellanox/mlx5/core/eswitch.h