Add code to ibv_devinfo to display the following new speeds:
8: FDR-10 is a proprietary link speed which is 10.3125 Gbps with 64b/66b
encoding rather than 8b/10b encoding.
16: FDR - 14.0625 Gbps
32: EDR - 25.78125 Gbps
Signed-off-by: Marcel Apfelbaum <marcela@dev.mellanox.co.il>
Reviewed-by: Hal Rosenstock <hal@mellanox.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
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";
}
}