Skip to content

Commit a0a8998

Browse files
ayalevin123Saeed Mahameed
authored andcommitted
net/mlx5: Add new fields to Port Type and Speed register
Register Port Type and Speed (PTYS) introduces three new fields extending the speed/protocols the can be reported and configured. Signed-off-by: Aya Levin <[email protected]> Reviewed-by: Eran Ben Elisha <[email protected]> Signed-off-by: Saeed Mahameed <[email protected]>
1 parent bc4e12f commit a0a8998

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

include/linux/mlx5/mlx5_ifc.h

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7826,21 +7826,23 @@ struct mlx5_ifc_ptys_reg_bits {
78267826
u8 proto_mask[0x3];
78277827

78287828
u8 an_status[0x4];
7829-
u8 reserved_at_24[0x3c];
7829+
u8 reserved_at_24[0x1c];
7830+
7831+
u8 ext_eth_proto_capability[0x20];
78307832

78317833
u8 eth_proto_capability[0x20];
78327834

78337835
u8 ib_link_width_capability[0x10];
78347836
u8 ib_proto_capability[0x10];
78357837

7836-
u8 reserved_at_a0[0x20];
7838+
u8 ext_eth_proto_admin[0x20];
78377839

78387840
u8 eth_proto_admin[0x20];
78397841

78407842
u8 ib_link_width_admin[0x10];
78417843
u8 ib_proto_admin[0x10];
78427844

7843-
u8 reserved_at_100[0x20];
7845+
u8 ext_eth_proto_oper[0x20];
78447846

78457847
u8 eth_proto_oper[0x20];
78467848

@@ -8289,7 +8291,9 @@ struct mlx5_ifc_mpegc_reg_bits {
82898291
struct mlx5_ifc_pcam_enhanced_features_bits {
82908292
u8 reserved_at_0[0x6d];
82918293
u8 rx_icrc_encapsulated_counter[0x1];
8292-
u8 reserved_at_6e[0x8];
8294+
u8 reserved_at_6e[0x4];
8295+
u8 ptys_extended_ethernet[0x1];
8296+
u8 reserved_at_73[0x3];
82938297
u8 pfcc_mask[0x1];
82948298
u8 reserved_at_77[0x3];
82958299
u8 per_lane_error_counters[0x1];

0 commit comments

Comments
 (0)