linux/include/linux/mlx5
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
..
cq.h mlx5: Fix default values in create CQ 2025-11-11 15:12:18 +01:00
device.h net/mlx5e: RX, Drop oversized packets in non-linear mode 2026-02-04 21:16:05 -08:00
doorbell.h
driver.h net/mlx5: Fix multiport device check over light SFs 2026-02-19 09:30:05 -08:00
eq.h
eswitch.h net/mlx5e: Add correct match to check IPSec syndromes for switchdev mode 2025-02-24 18:14:32 -08:00
fs_helpers.h
fs.h Merge branch 'mlx5-next' of git://git.kernel.org/pub/scm/linux/kernel/git/mellanox/linux 2025-11-14 18:55:38 -08:00
macsec.h net/mlx5: Add RoCE MACsec steering infrastructure in core 2023-08-20 12:35:24 +03:00
mlx5_ifc_fpga.h
mlx5_ifc_vdpa.h vdpa/mlx5: Add support for modifying the VQ features field 2024-07-09 08:42:46 -04:00
mlx5_ifc.h net/mlx5: Add IFC bits for extended ETS rate limit bandwidth value 2026-01-13 03:43:00 -05:00
mpfs.h
port.h net/mlx5: Fix 1600G link mode enum naming 2026-02-05 18:29:04 -08:00
qp.h net/mlx5e: Prevent WQE metadata conflicts between timestamping and offloads 2025-09-17 04:38:10 -04:00
rsc_dump.h
transobj.h
vport.h net/mlx5: Handle port and vport speed change events in MPESW 2026-01-05 02:38:25 -05:00