diff options
author | Upinder Malhi <umalhi@cisco.com> | 2014-01-15 17:02:36 -0800 |
---|---|---|
committer | Roland Dreier <roland@purestorage.com> | 2014-01-18 13:48:54 -0800 |
commit | 5db5765e255de4072eb0e35facfeafce53af001b (patch) | |
tree | 3d9e8d6df89f095fad397c2f5553fe8572041fff /drivers/infiniband/core/sysfs.c | |
parent | 2d97436f5b06217beb6c91a0cd0ae0f0d79b61cc (diff) | |
download | blackbird-op-linux-5db5765e255de4072eb0e35facfeafce53af001b.tar.gz blackbird-op-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/sysfs.c')
-rw-r--r-- | drivers/infiniband/core/sysfs.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/infiniband/core/sysfs.c b/drivers/infiniband/core/sysfs.c index faad2caf22b1..7d3292c7b4b4 100644 --- a/drivers/infiniband/core/sysfs.c +++ b/drivers/infiniband/core/sysfs.c @@ -613,6 +613,7 @@ static ssize_t show_node_type(struct device *device, case RDMA_NODE_IB_CA: return sprintf(buf, "%d: CA\n", dev->node_type); case RDMA_NODE_RNIC: return sprintf(buf, "%d: RNIC\n", dev->node_type); case RDMA_NODE_USNIC: return sprintf(buf, "%d: usNIC\n", dev->node_type); + case RDMA_NODE_USNIC_UDP: return sprintf(buf, "%d: usNIC UDP\n", dev->node_type); case RDMA_NODE_IB_SWITCH: return sprintf(buf, "%d: switch\n", dev->node_type); case RDMA_NODE_IB_ROUTER: return sprintf(buf, "%d: router\n", dev->node_type); default: return sprintf(buf, "%d: <unknown>\n", dev->node_type); |