diff options
author | Jubin John <jubin.john@intel.com> | 2016-02-03 14:14:36 -0800 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2016-03-10 20:37:30 -0500 |
commit | b8f881b913f34f712185b2ff7a41645dcad9a868 (patch) | |
tree | 3e191407ffdafa2173689f9ec0d2eda2e502f993 /include/rdma | |
parent | 034a3e7079aabc028783755d0ea1406fe9453d52 (diff) | |
download | op-kernel-dev-b8f881b913f34f712185b2ff7a41645dcad9a868.zip op-kernel-dev-b8f881b913f34f712185b2ff7a41645dcad9a868.tar.gz |
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.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/rdma/rdma_vt.h b/include/rdma/rdma_vt.h index f6569b2..1b77065 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; |