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 <[email protected]>
Reviewed-by: Harish Chegondi <[email protected]>
Signed-off-by: Jubin John <[email protected]>
Signed-off-by: Doug Ledford <[email protected]>
This commit is contained in:
Jubin John 2016-02-03 14:14:36 -08:00 • committed by Doug Ledford
commit b8f881b913
5 changed files with 293 additions and 6 deletions

View file

@ -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;