Skip to content

Commit

Permalink
net/mlx5: Expose link speed directly
Browse files Browse the repository at this point in the history
Expose port rate as part of the port speed register fields.

Signed-off-by: Mark Bloch <markb@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
  • Loading branch information
Mark Bloch authored and Saeed Mahameed committed Mar 7, 2020
1 parent bd673da commit dc392fc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion include/linux/mlx5/mlx5_ifc.h
Original file line number Diff line number Diff line change
Expand Up @@ -8423,7 +8423,8 @@ struct mlx5_ifc_ptys_reg_bits {
u8 proto_mask[0x3];

u8 an_status[0x4];
u8 reserved_at_24[0x1c];
u8 reserved_at_24[0xc];
u8 data_rate_oper[0x10];

u8 ext_eth_proto_capability[0x20];

Expand Down

0 comments on commit dc392fc

Please sign in to comment.