diff mbox series

[RFC,2/2] IB/usnic: Mark device as a non kernel verbs provider

Message ID 1546335025-31360-3-git-send-email-galpress@amazon.com (mailing list archive)
State Superseded
Headers show
Series IB device in-kernel API support indication | expand

Commit Message

Gal Pressman Jan. 1, 2019, 9:30 a.m. UTC
Kernel APIs are not supported, mark the device as a non kernel verbs
provider.

Signed-off-by: Gal Pressman <galpress@amazon.com>
---
 drivers/infiniband/hw/usnic/usnic_ib_main.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/drivers/infiniband/hw/usnic/usnic_ib_main.c b/drivers/infiniband/hw/usnic/usnic_ib_main.c
index 01ce45d72e68..ec5f043bf4ee 100644
--- a/drivers/infiniband/hw/usnic/usnic_ib_main.c
+++ b/drivers/infiniband/hw/usnic/usnic_ib_main.c
@@ -420,7 +420,7 @@  static void *usnic_ib_device_add(struct pci_dev *dev)
 	ib_set_device_ops(&us_ibdev->ib_dev, &usnic_dev_ops);
 
 	us_ibdev->ib_dev.driver_id = RDMA_DRIVER_USNIC;
-	us_ibdev->ib_dev.kverbs_provider = 1;
+	us_ibdev->ib_dev.kverbs_provider = 0;
 	rdma_set_device_sysfs_group(&us_ibdev->ib_dev, &usnic_attr_group);
 
 	if (ib_register_device(&us_ibdev->ib_dev, "usnic_%d", NULL))