From: Mark Bloch Date: Tue, 3 Mar 2020 00:15:21 +0000 (-0800) Subject: net/mlx5: Expose link speed directly X-Git-Tag: v5.15~4184^2~6^2~7 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=dc392fc56f39a00a46d6db2d150571ccafe99734;p=platform%2Fkernel%2Flinux-starfive.git net/mlx5: Expose link speed directly Expose port rate as part of the port speed register fields. Signed-off-by: Mark Bloch Signed-off-by: Saeed Mahameed --- diff --git a/include/linux/mlx5/mlx5_ifc.h b/include/linux/mlx5/mlx5_ifc.h index 2e98bba..d0a678c 100644 --- a/include/linux/mlx5/mlx5_ifc.h +++ b/include/linux/mlx5/mlx5_ifc.h @@ -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];