diff mbox

[FOCAL/linux-azure,1/3] net/mlx5: Expose link speed directly

Message ID 20200817123740.6938-2-william.gray@canonical.com
State New
Headers show

Commit Message

William Breathitt Gray Aug. 17, 2020, 12:37 p.m. UTC
From: Mark Bloch <markb@mellanox.com>

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>

BugLink: https://bugs.launchpad.net/bugs/1876770

(cherry picked from commit dc392fc56f39a00a46d6db2d150571ccafe99734)
Signed-off-by: William Breathitt Gray <william.gray@canonical.com>
 include/linux/mlx5/mlx5_ifc.h | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
diff mbox


diff --git a/include/linux/mlx5/mlx5_ifc.h b/include/linux/mlx5/mlx5_ifc.h
index acd859ea09d4..66c2fd64eed7 100644
--- a/include/linux/mlx5/mlx5_ifc.h
+++ b/include/linux/mlx5/mlx5_ifc.h
@@ -8227,7 +8227,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];