diff options
author | Upinder Malhi <umalhi@cisco.com> | 2014-01-15 20:02:37 -0500 |
---|---|---|
committer | Roland Dreier <roland@purestorage.com> | 2014-01-18 16:48:54 -0500 |
commit | 61f78268936e781a104b4ac06b7e47d760800c40 (patch) | |
tree | 2da431825da1ccb1fb0f0fc5a51b90d285ad1080 /drivers/infiniband | |
parent | 5db5765e255de4072eb0e35facfeafce53af001b (diff) |
IB/usnic: Advertise usNIC devices as RDMA_NODE_USNIC_UDP
usNIC default transport is UDP. Hence, advertise RDMA_NODE_USNIC_UDP
by default for usNIC devices.
Signed-off-by: Upinder Malhi <umalhi@cisco.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
Diffstat (limited to 'drivers/infiniband')
-rw-r--r-- | drivers/infiniband/hw/usnic/usnic_ib_main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/infiniband/hw/usnic/usnic_ib_main.c b/drivers/infiniband/hw/usnic/usnic_ib_main.c index 7d2efd4d80d5..fb6d026f92cd 100644 --- a/drivers/infiniband/hw/usnic/usnic_ib_main.c +++ b/drivers/infiniband/hw/usnic/usnic_ib_main.c | |||
@@ -332,7 +332,7 @@ static void *usnic_ib_device_add(struct pci_dev *dev) | |||
332 | us_ibdev->pdev = dev; | 332 | us_ibdev->pdev = dev; |
333 | us_ibdev->netdev = pci_get_drvdata(dev); | 333 | us_ibdev->netdev = pci_get_drvdata(dev); |
334 | us_ibdev->ib_dev.owner = THIS_MODULE; | 334 | us_ibdev->ib_dev.owner = THIS_MODULE; |
335 | us_ibdev->ib_dev.node_type = RDMA_NODE_USNIC; | 335 | us_ibdev->ib_dev.node_type = RDMA_NODE_USNIC_UDP; |
336 | us_ibdev->ib_dev.phys_port_cnt = USNIC_IB_PORT_CNT; | 336 | us_ibdev->ib_dev.phys_port_cnt = USNIC_IB_PORT_CNT; |
337 | us_ibdev->ib_dev.num_comp_vectors = USNIC_IB_NUM_COMP_VECTORS; | 337 | us_ibdev->ib_dev.num_comp_vectors = USNIC_IB_NUM_COMP_VECTORS; |
338 | us_ibdev->ib_dev.dma_device = &dev->dev; | 338 | us_ibdev->ib_dev.dma_device = &dev->dev; |