[PATCH for-next 01/23] RDMA/OPA: Update OPA link speed list

Dennis Dalessandro
2025-06-30T17:58:13Z

From: Dean Luick <dean.luick@cornelisnetworks.com>

Update the list of available link speeds. Fix comments.

Signed-off-by: Dean Luick <dean.luick@cornelisnetworks.com>
Signed-off-by: Dennis Dalessandro <dennis.dalessandro@cornelisnetworks.com>
---
include/rdma/opa_port_info.h | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/include/rdma/opa_port_info.h b/include/rdma/opa_port_info.h
index 73bcac90a048..fb66d3a1dfa9 100644
--- a/include/rdma/opa_port_info.h
+++ b/include/rdma/opa_port_info.h
@@ -93,9 +93,11 @@
#define OPA_LINKINIT_QUARANTINED (9 << 4)
#define OPA_LINKINIT_INSUFIC_CAPABILITY (10 << 4)

-#define OPA_LINK_SPEED_NOP 0x0000 /* Reserved (1-5 Gbps) */
-#define OPA_LINK_SPEED_12_5G 0x0001 /* 12.5 Gbps */
-#define OPA_LINK_SPEED_25G 0x0002 /* 25.78125? Gbps (EDR) */
+#define OPA_LINK_SPEED_NOP 0x0000 /* no change */
+#define OPA_LINK_SPEED_12_5G 0x0001 /* 12.5 Gbps */
+#define OPA_LINK_SPEED_25G 0x0002 /* 25.78125 Gbps */
+#define OPA_LINK_SPEED_50G 0x0004 /* 53.125 Gbps */
+#define OPA_LINK_SPEED_100G 0x0008 /* 106.25 Gbps */

#define OPA_LINK_WIDTH_1X 0x0001
#define OPA_LINK_WIDTH_2X 0x0002