Re: [PATCH v6 01/26] IB/Verbs: Implement new callback query_transport()

From: Tom Talpey
Date: Fri Apr 24 2015 - 10:30:04 EST


On 4/24/2015 8:23 AM, Michael Wang wrote:
Add new callback query_transport() and implement for each HW.

Mapping List:
node-type link-layer old-transport new-transport
...
mlx4 IB_CA IB/ETH IB IB/IBOE
mlx5 IB_CA IB IB IB
...
diff --git a/drivers/infiniband/hw/mlx5/main.c b/drivers/infiniband/hw/mlx5/main.c
index 57c9809..b6f2f58 100644
--- a/drivers/infiniband/hw/mlx5/main.c
+++ b/drivers/infiniband/hw/mlx5/main.c
@@ -262,6 +262,12 @@ out:
return err;
}

+static enum rdma_transport_type
+mlx5_ib_query_transport(struct ib_device *device, u8 port_num)
+{
+ return RDMA_TRANSPORT_IB;
+}
+


Just noticed that mlx5 is not being coded as RoCE-capable like mlx4.
The mlx5 driver is for the new ConnectX-4, which implements all three
of IB, RoCE and RoCEv2, right? Are those last two not supported?


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/