|
|
d8f823 |
From f9b352e93da1f7bd57411f597aecf0c1e1231404 Mon Sep 17 00:00:00 2001
|
|
|
d8f823 |
From: Alaa Hleihel <ahleihel@redhat.com>
|
|
|
d8f823 |
Date: Tue, 12 May 2020 10:54:55 -0400
|
|
|
d8f823 |
Subject: [PATCH 183/312] [include] net/mlx5: Expose link speed directly
|
|
|
d8f823 |
|
|
|
d8f823 |
Message-id: <20200512105530.4207-90-ahleihel@redhat.com>
|
|
|
d8f823 |
Patchwork-id: 306961
|
|
|
d8f823 |
Patchwork-instance: patchwork
|
|
|
d8f823 |
O-Subject: [RHEL8.3 BZ 1789382 089/124] net/mlx5: Expose link speed directly
|
|
|
d8f823 |
Bugzilla: 1831133 1789382
|
|
|
d8f823 |
RH-Acked-by: Tony Camuso <tcamuso@redhat.com>
|
|
|
d8f823 |
RH-Acked-by: Kamal Heib <kheib@redhat.com>
|
|
|
d8f823 |
RH-Acked-by: Jarod Wilson <jarod@redhat.com>
|
|
|
d8f823 |
|
|
|
d8f823 |
Bugzilla: http://bugzilla.redhat.com/1789382
|
|
|
d8f823 |
Bugzilla: http://bugzilla.redhat.com/1831133
|
|
|
d8f823 |
Upstream: v5.7-rc1
|
|
|
d8f823 |
|
|
|
d8f823 |
commit dc392fc56f39a00a46d6db2d150571ccafe99734
|
|
|
d8f823 |
Author: Mark Bloch <markb@mellanox.com>
|
|
|
d8f823 |
Date: Mon Mar 2 16:15:21 2020 -0800
|
|
|
d8f823 |
|
|
|
d8f823 |
net/mlx5: Expose link speed directly
|
|
|
d8f823 |
|
|
|
d8f823 |
Expose port rate as part of the port speed register fields.
|
|
|
d8f823 |
|
|
|
d8f823 |
Signed-off-by: Mark Bloch <markb@mellanox.com>
|
|
|
d8f823 |
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
|
|
|
d8f823 |
|
|
|
d8f823 |
Signed-off-by: Alaa Hleihel <ahleihel@redhat.com>
|
|
|
d8f823 |
Signed-off-by: Frantisek Hrbata <fhrbata@redhat.com>
|
|
|
d8f823 |
---
|
|
|
d8f823 |
include/linux/mlx5/mlx5_ifc.h | 3 ++-
|
|
|
d8f823 |
1 file changed, 2 insertions(+), 1 deletion(-)
|
|
|
d8f823 |
|
|
|
d8f823 |
diff --git a/include/linux/mlx5/mlx5_ifc.h b/include/linux/mlx5/mlx5_ifc.h
|
|
|
d8f823 |
index cfe89228ca78..a8adb6e7d1fd 100644
|
|
|
d8f823 |
--- a/include/linux/mlx5/mlx5_ifc.h
|
|
|
d8f823 |
+++ b/include/linux/mlx5/mlx5_ifc.h
|
|
|
d8f823 |
@@ -8292,7 +8292,8 @@ struct mlx5_ifc_ptys_reg_bits {
|
|
|
d8f823 |
u8 proto_mask[0x3];
|
|
|
d8f823 |
|
|
|
d8f823 |
u8 an_status[0x4];
|
|
|
d8f823 |
- u8 reserved_at_24[0x1c];
|
|
|
d8f823 |
+ u8 reserved_at_24[0xc];
|
|
|
d8f823 |
+ u8 data_rate_oper[0x10];
|
|
|
d8f823 |
|
|
|
d8f823 |
u8 ext_eth_proto_capability[0x20];
|
|
|
d8f823 |
|
|
|
d8f823 |
--
|
|
|
d8f823 |
2.13.6
|
|
|
d8f823 |
|