libibverbs: Add support for extended speeds
PATCH 5/5 libibverbs: Add support for extended speeds
8: FDR-10 is a proprietary link speed which is 10.3125 Gbps at 64/66
encoding rather than 8b10b encoding.
16: FDR - 14.0625 Gbps
32: EDR - 25.78125 Gbps
Signed-off-by Marcel Apfelbaum <[email protected]>
--- examples/devinfo.c | 7 ++++++- 1 files changed, 6 insertions(+), 1 deletions(-)
examples/devinfo.c +6 -1
@@ -139,7 +139,12 @@ static const char *speed_str(uint8_t speed)switch (speed) {case 1 :return "2.5 Gbps" ;case 2 :return "5.0 Gbps" ; -case 4 :return "10.0 Gbps" ; + +case 4 :/* fall through */ +case 8 :return "10.0 Gbps" ; + +case 16 :return "14.0 Gbps" ; +case 32 :return "25.0 Gbps" ;default :return "invalid speed" ; } }
Signature · 6 lines
1.7.1 -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html