Files
linux/include/linux
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
..
2026-02-11 13:44:47 +01:00
2025-10-22 07:54:33 +02:00
2026-01-11 06:09:11 -10:00
2025-12-15 14:33:38 +01:00
2025-09-05 15:06:03 +02:00
2026-01-27 15:31:42 +01:00
2025-07-21 18:18:51 +01:00
2025-07-31 11:28:03 -04:00
2026-01-31 13:51:04 -08:00
2025-11-21 11:21:31 +01:00
2025-08-14 10:37:33 -07:00
2025-09-23 11:13:22 +02:00
2026-01-19 19:10:01 +05:30
2025-12-16 14:40:51 +01:00
2025-10-22 07:55:00 +02:00
2025-11-01 12:44:49 -05:00
2025-12-13 20:04:32 +12:00
2026-01-31 13:51:04 -08:00
2025-08-21 13:58:07 +02:00
2025-07-16 14:28:21 +02:00
2025-12-23 11:23:10 -08:00
2025-10-29 18:28:29 -07:00
2025-09-13 17:32:44 -07:00
2025-08-29 13:39:53 -07:00
2026-01-12 16:52:09 +01:00
2025-11-04 12:36:02 +01:00
2026-02-06 07:29:14 -07:00
2025-08-02 12:06:10 -07:00
2025-10-22 07:53:15 +02:00
2025-09-23 11:13:22 +02:00
2025-06-11 11:57:14 -07:00
2026-01-05 16:43:31 +01:00
2026-01-11 06:09:11 -10:00
2025-07-02 17:18:01 +01:00
2025-07-17 06:01:16 -06:00
2026-01-26 19:03:47 -08:00
2025-11-23 12:30:40 +01:00
2025-11-20 13:43:59 -08:00
2025-07-09 22:41:56 -07:00
2026-01-14 11:00:00 +01:00
2025-09-17 15:58:29 -04:00
2025-06-17 18:18:46 -07:00
2025-11-04 19:10:33 -08:00
2025-09-23 13:28:20 -04:00
2025-11-05 23:58:20 +01:00
2025-11-03 17:41:17 +01:00
2025-11-11 10:01:30 +01:00
2026-01-30 11:34:34 +00:00
2025-09-13 16:55:07 -07:00
2025-06-19 14:28:24 +02:00
2025-06-19 14:28:24 +02:00
2026-01-11 06:09:11 -10:00
2025-08-24 11:41:11 -06:00
2025-07-01 12:29:29 +02:00
2025-10-30 18:35:26 +01:00
2025-10-24 21:39:27 +02:00
2025-10-31 10:16:23 +01:00
2025-11-27 14:24:30 -08:00
2025-11-18 17:52:54 +01:00
2026-01-11 06:09:11 -10:00
2025-11-11 13:18:56 +01:00
2025-11-28 09:21:18 -07:00
2026-01-27 09:11:30 -08:00
2026-01-05 16:43:30 +01:00
2026-01-14 12:04:34 +01:00
2026-02-04 13:22:39 -08:00
2025-08-17 12:46:25 +02:00
2026-01-06 17:06:03 -08:00
2026-01-11 06:09:11 -10:00
2025-11-03 17:41:18 +01:00
2025-10-01 07:24:55 -04:00
2025-12-24 08:02:55 -05:00
2025-07-17 11:26:56 +02:00
2026-01-30 18:26:59 -08:00