Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

RDMA/OPA: Update OPA link speed list

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>
Link: https://patch.msgid.link/177308908456.1279894.16723781060261360236.stgit@awdrv-04.cornelisnetworks.com
Signed-off-by: Leon Romanovsky <leon@kernel.org>

authored by

Dean Luick and committed by
Leon Romanovsky
786ee8dd 56521f58

+5 -3
+5 -3
include/rdma/opa_port_info.h
··· 93 93 #define OPA_LINKINIT_QUARANTINED (9 << 4) 94 94 #define OPA_LINKINIT_INSUFIC_CAPABILITY (10 << 4) 95 95 96 - #define OPA_LINK_SPEED_NOP 0x0000 /* Reserved (1-5 Gbps) */ 97 - #define OPA_LINK_SPEED_12_5G 0x0001 /* 12.5 Gbps */ 98 - #define OPA_LINK_SPEED_25G 0x0002 /* 25.78125? Gbps (EDR) */ 96 + #define OPA_LINK_SPEED_NOP 0x0000 /* no change */ 97 + #define OPA_LINK_SPEED_12_5G 0x0001 /* 12.5 Gbps */ 98 + #define OPA_LINK_SPEED_25G 0x0002 /* 25.78125 Gbps */ 99 + #define OPA_LINK_SPEED_50G 0x0004 /* 53.125 Gbps */ 100 + #define OPA_LINK_SPEED_100G 0x0008 /* 106.25 Gbps */ 99 101 100 102 #define OPA_LINK_WIDTH_1X 0x0001 101 103 #define OPA_LINK_WIDTH_2X 0x0002