linux/include
Shay Drory 47bf2e8138 net/mlx5: Fix multiport device check over light SFs
Driver is using num_vhca_ports capability to distinguish between
multiport master device and multiport slave device. num_vhca_ports is a
capability the driver sets according to the MAX num_vhca_ports
capability reported by FW. On the other hand, light SFs doesn't set the
above capbility.

This leads to wrong results whenever light SFs is checking whether he is
a multiport master or slave.

Therefore, use the MAX capability to distinguish between master and
slave devices.

Fixes: e71383fb9c ("net/mlx5: Light probe local SFs")
Signed-off-by: Shay Drory <shayd@nvidia.com>
Reviewed-by: Moshe Shemesh <moshe@nvidia.com>
Signed-off-by: Tariq Toukan <tariqt@nvidia.com>
Reviewed-by: Jacob Keller <Jacob.e.keller@intel.com>
Link: https://patch.msgid.link/20260218072904.1764634-2-tariqt@nvidia.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2026-02-19 09:30:05 -08:00
..
acpi Power management updates for 6.20-rc1/7.0-rc1 2026-02-09 19:00:42 -08:00
asm-generic asm-generic header updates for 7.0 2026-02-10 20:27:33 -08:00
clocksource
crypto Networking changes for 7.0 2026-02-11 19:31:52 -08:00
cxl
drm
dt-bindings Networking changes for 7.0 2026-02-11 19:31:52 -08:00
hyperv
keys
kunit
kvm
linux net/mlx5: Fix multiport device check over light SFs 2026-02-19 09:30:05 -08:00
math-emu
media [GIT PULL for v7.0] media updates 2026-02-11 12:20:25 -08:00
memory
misc
net inet: move icmp_global_{credit,stamp} to a separate cache line 2026-02-18 16:46:36 -08:00
pcmcia
ras
rdma
rv
scsi
soc
sound ASoC: Updates for v7.0 2026-02-09 17:39:11 +01:00
target
trace Networking changes for 7.0 2026-02-11 19:31:52 -08:00
uapi include: uapi: netfilter_bridge.h: Cover for musl libc 2026-02-17 15:04:20 +01:00
ufs
vdso
video
xen
Kbuild