Files
linux/include/linux
Shay Drory 486e5419b7 net/mlx5: SD, prefer sd_group_size from vport context
Newer FW reports the SD group size directly in the NIC vport context
via the sd_group_size field, gated by the sd_group_size capability.
Switch sd_init() to source the group size from there and fall back to
the MPIR-based host_buses query only when the cap is absent.
sd_group_size might return 1 in some FW configuration. Add explicit
check to disable SD creation in this case.

While here, rename host_buses to group_size throughout sd.c to follow
the new name on capable FW.

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: Simon Horman <horms@kernel.org>
Link: https://patch.msgid.link/20260810093037.3138197-1-tariqt@nvidia.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2026-08-14 12:27:12 -07:00
..
2026-07-23 10:24:12 -07:00
2026-05-21 13:04:42 +02:00
2026-06-17 11:32:14 +01:00
2026-05-28 21:24:54 -07:00
2026-07-28 12:04:17 +09:00
2026-07-29 17:54:58 -07:00
2026-06-07 10:03:01 -07:00
2026-05-28 17:45:46 -07:00
2026-07-09 15:48:53 -07:00
2026-06-05 00:34:55 -04:00
2026-05-18 11:16:29 +02:00
2026-05-19 17:26:07 +02:00
2026-05-28 11:36:59 -04:00
2026-06-05 17:46:17 -07:00
2026-05-28 21:24:43 -07:00
2026-07-01 15:26:47 +02:00
2026-06-10 10:42:55 -04:00
2026-06-26 22:18:34 -04:00
2026-04-20 11:35:17 -07:00
2026-05-26 11:02:01 +02:00
2026-05-11 16:59:43 +02:00
2026-06-06 15:22:44 +02:00