summaryrefslogtreecommitdiffstats
path: root/include/rdma
diff options
context:
space:
mode:
authorJubin John <jubin.john@intel.com>2016-02-03 23:14:36 +0100
committerDoug Ledford <dledford@redhat.com>2016-03-11 02:37:30 +0100
commitb8f881b913f34f712185b2ff7a41645dcad9a868 (patch)
tree3e191407ffdafa2173689f9ec0d2eda2e502f993 /include/rdma
parentIB/qib: Remove qib_query_qp function (diff)
downloadlinux-b8f881b913f34f712185b2ff7a41645dcad9a868.tar.xz
linux-b8f881b913f34f712185b2ff7a41645dcad9a868.zip
IB/rdmavt: Add srq functionality to rdmavt
Fill in srq function stubs with code derived from hfi1 and qib. Move necessary functions and data structure members as well. Reviewed-by: Dennis Dalessandro <dennis.dalessandro@intel.com> Reviewed-by: Harish Chegondi <harish.chegondi@intel.com> Signed-off-by: Jubin John <jubin.john@intel.com> Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'include/rdma')
-rw-r--r--include/rdma/rdma_vt.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/rdma/rdma_vt.h b/include/rdma/rdma_vt.h
index f6569b24497f..1b770650cf60 100644
--- a/include/rdma/rdma_vt.h
+++ b/include/rdma/rdma_vt.h
@@ -299,6 +299,9 @@ struct rvt_dev_info {
int n_ahs_allocated;
spinlock_t n_ahs_lock; /* Protect ah allocated count */
+ u32 n_srqs_allocated;
+ spinlock_t n_srqs_lock; /* Protect srqs allocated count */
+
int flags;
struct rvt_ibport **ports;