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 <marc...@dev.mellanox.co.il>
Reviewed-by: Hal Rosenstock <h...@mellanox.com>
---
 examples/devinfo.c |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diff --git a/examples/devinfo.c b/examples/devinfo.c
index 84f95c7..a1e40d2 100644
--- a/examples/devinfo.c
+++ b/examples/devinfo.c
@@ -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";
        }
 }
-- 
1.7.1

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to