summaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/sw/rdmavt/vt.c
diff options
context:
space:
mode:
authorDennis Dalessandro <dennis.dalessandro@intel.com>2016-01-06 18:57:58 +0100
committerDoug Ledford <dledford@redhat.com>2016-03-11 02:37:08 +0100
commitaad9158bda02875cceb2408d7cc2675de2e2829a (patch)
tree6cdea9b6de8d624556739896de270f0039c771ad /drivers/infiniband/sw/rdmavt/vt.c
parentIB/rdmavt: Add memory region stubs (diff)
downloadlinux-aad9158bda02875cceb2408d7cc2675de2e2829a.tar.xz
linux-aad9158bda02875cceb2408d7cc2675de2e2829a.zip
IB/rdmavt: Add SRQ stubs
Adds the stubs for create, modify, query, and destory for shared request queues. Reviewed-by: Mike Marciniszyn <mike.marciniszyn@intel.com> Reviewed-by: Ira Weiny <ira.weiny@intel.com> Signed-off-by: Dennis Dalessandro <dennis.dalessandro@intel.com> Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'drivers/infiniband/sw/rdmavt/vt.c')
-rw-r--r--drivers/infiniband/sw/rdmavt/vt.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/infiniband/sw/rdmavt/vt.c b/drivers/infiniband/sw/rdmavt/vt.c
index 004ca14f376d..9b318e9c161e 100644
--- a/drivers/infiniband/sw/rdmavt/vt.c
+++ b/drivers/infiniband/sw/rdmavt/vt.c
@@ -232,6 +232,12 @@ int rvt_register_device(struct rvt_dev_info *rdi)
CHECK_DRIVER_OVERRIDE(rdi, modify_ah);
CHECK_DRIVER_OVERRIDE(rdi, query_ah);
+ /* Shared Receive Queue */
+ CHECK_DRIVER_OVERRIDE(rdi, create_srq);
+ CHECK_DRIVER_OVERRIDE(rdi, modify_srq);
+ CHECK_DRIVER_OVERRIDE(rdi, destroy_srq);
+ CHECK_DRIVER_OVERRIDE(rdi, query_srq);
+
/* Mem Region */
CHECK_DRIVER_OVERRIDE(rdi, get_dma_mr);
CHECK_DRIVER_OVERRIDE(rdi, reg_user_mr);