Skip to content

Commit 137d1a6

Browse files
mark-blochrleon
authored andcommitted
net/mlx5: IFC add balance ID and LAG per MP group bits
Add interface definitions for load balance ID and LAG per multiplane group functionality. This patch introduces the hardware capability bits needed to support balance ID in multiplane LAG configurations. The new fields include: - load_balance_id: 4-bit field for balance identifier. - lag_per_mp_group: capability bit for LAG per multiplane group support. These interface additions are prerequisites for implementing balance ID support in the MLX5 driver. Signed-off-by: Mark Bloch <mbloch@nvidia.com> Reviewed-by: Shay Drori <shayd@nvidia.com> Signed-off-by: Tariq Toukan <tariqt@nvidia.com> Link: https://patch.msgid.link/1758521191-814350-3-git-send-email-tariqt@nvidia.com Signed-off-by: Leon Romanovsky <leon@kernel.org>
1 parent 1ddf163 commit 137d1a6

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

include/linux/mlx5/mlx5_ifc.h

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2235,12 +2235,16 @@ struct mlx5_ifc_cmd_hca_cap_2_bits {
22352235
u8 reserved_at_440[0x8];
22362236
u8 max_num_eqs_24b[0x18];
22372237

2238-
u8 reserved_at_460[0x160];
2238+
u8 reserved_at_460[0x144];
2239+
u8 load_balance_id[0x4];
2240+
u8 reserved_at_5a8[0x18];
22392241

22402242
u8 query_adjacent_functions_id[0x1];
22412243
u8 ingress_egress_esw_vport_connect[0x1];
22422244
u8 function_id_type_vhca_id[0x1];
2243-
u8 reserved_at_5c3[0xd];
2245+
u8 reserved_at_5c3[0x1];
2246+
u8 lag_per_mp_group[0x1];
2247+
u8 reserved_at_5c5[0xb];
22442248
u8 delegate_vhca_management_profiles[0x10];
22452249

22462250
u8 delegated_vhca_max[0x10];

0 commit comments

Comments
 (0)