Skip to content

Commit 387bef8

Browse files
Jianbo Liurleon
authored andcommitted
net/mlx5: Update mlx5_ifc to support FEC for 200G per lane link modes
Add FEC admin and override related fields in PPLM, and the bit in PCAM to indicate those fields are supported. Signed-off-by: Jianbo Liu <[email protected]> Signed-off-by: Tariq Toukan <[email protected]> Link: https://patch.msgid.link/[email protected] Reviewed-by: Jacob Keller <[email protected]> Reviewed-by: Kalesh AP <[email protected]> Signed-off-by: Leon Romanovsky <[email protected]>
1 parent aeb3ec9 commit 387bef8

File tree

1 file changed

+18
-2
lines changed

1 file changed

+18
-2
lines changed

include/linux/mlx5/mlx5_ifc.h

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10150,7 +10150,21 @@ struct mlx5_ifc_pplm_reg_bits {
1015010150
u8 fec_override_admin_200g_2x[0x10];
1015110151
u8 fec_override_admin_100g_1x[0x10];
1015210152

10153-
u8 reserved_at_260[0x20];
10153+
u8 reserved_at_260[0x60];
10154+
10155+
u8 fec_override_cap_1600g_8x[0x10];
10156+
u8 fec_override_cap_800g_4x[0x10];
10157+
10158+
u8 fec_override_cap_400g_2x[0x10];
10159+
u8 fec_override_cap_200g_1x[0x10];
10160+
10161+
u8 fec_override_admin_1600g_8x[0x10];
10162+
u8 fec_override_admin_800g_4x[0x10];
10163+
10164+
u8 fec_override_admin_400g_2x[0x10];
10165+
u8 fec_override_admin_200g_1x[0x10];
10166+
10167+
u8 reserved_at_340[0x80];
1015410168
};
1015510169

1015610170
struct mlx5_ifc_ppcnt_reg_bits {
@@ -10524,7 +10538,9 @@ struct mlx5_ifc_mtutc_reg_bits {
1052410538
};
1052510539

1052610540
struct mlx5_ifc_pcam_enhanced_features_bits {
10527-
u8 reserved_at_0[0x48];
10541+
u8 reserved_at_0[0x1d];
10542+
u8 fec_200G_per_lane_in_pplm[0x1];
10543+
u8 reserved_at_1e[0x2a];
1052810544
u8 fec_100G_per_lane_in_pplm[0x1];
1052910545
u8 reserved_at_49[0x1f];
1053010546
u8 fec_50G_per_lane_in_pplm[0x1];

0 commit comments

Comments
 (0)