summaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/core/verbs.c
diff options
context:
space:
mode:
authorUpinder Malhi <umalhi@cisco.com>2014-01-16 02:02:36 +0100
committerRoland Dreier <roland@purestorage.com>2014-01-18 22:48:54 +0100
commit5db5765e255de4072eb0e35facfeafce53af001b (patch)
tree3d9e8d6df89f095fad397c2f5553fe8572041fff /drivers/infiniband/core/verbs.c
parentIB/usnic: Add dependency on CONFIG_INET (diff)
downloadlinux-5db5765e255de4072eb0e35facfeafce53af001b.tar.xz
linux-5db5765e255de4072eb0e35facfeafce53af001b.zip
IB/core: Add support for RDMA_NODE_USNIC_UDP
Add the complementary RDMA_NODE_USNIC_UDP for RDMA_TRANSPORT_USNIC_UDP. Signed-off-by: Upinder Malhi <umalhi@cisco.com> Signed-off-by: Roland Dreier <roland@purestorage.com>
Diffstat (limited to 'drivers/infiniband/core/verbs.c')
-rw-r--r--drivers/infiniband/core/verbs.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/infiniband/core/verbs.c b/drivers/infiniband/core/verbs.c
index fae0b08248e4..88590e3da8c0 100644
--- a/drivers/infiniband/core/verbs.c
+++ b/drivers/infiniband/core/verbs.c
@@ -115,6 +115,8 @@ rdma_node_get_transport(enum rdma_node_type node_type)
case RDMA_NODE_RNIC:
return RDMA_TRANSPORT_IWARP;
case RDMA_NODE_USNIC:
+ return RDMA_TRANSPORT_USNIC;
+ case RDMA_NODE_USNIC_UDP:
return RDMA_TRANSPORT_USNIC_UDP;
default:
BUG();