summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMark Bloch <markb@mellanox.com>2020-03-03 03:15:21 +0300
committerSaeed Mahameed <saeedm@mellanox.com>2020-03-08 00:19:25 +0300
commitdc392fc56f39a00a46d6db2d150571ccafe99734 (patch)
treee9d6e92d1eacc86399d91ddc5f729364765016e1 /include
parentbd673da6d933e3c8f652b011afba6cee0f8bbe45 (diff)
downloadlinux-dc392fc56f39a00a46d6db2d150571ccafe99734.tar.xz
net/mlx5: Expose link speed directly
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>
Diffstat (limited to 'include')
-rw-r--r--include/linux/mlx5/mlx5_ifc.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/mlx5/mlx5_ifc.h b/include/linux/mlx5/mlx5_ifc.h
index 2e98bba12356..d0a678c82ccd 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];