Skip to contentSkip to conversation

libibverbs: Add support for extended speeds

PATCH In review Marcel Apfelbaum 1 participant 1 message Oct 3, 2011 InfiniBand

lore
Share & tools
lore
#0 lore raw

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

---
 examples/devinfo.c |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)
examples/devinfo.c +6 -1
index 84f95c7..a1e40d2 100644
@@ -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