mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04:00
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:
parent
034a3e7079
commit
b8f881b913
5 changed files with 293 additions and 6 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue