diff options
author | Andy Grover <andy.grover@oracle.com> | 2010-01-12 13:50:48 -0500 |
---|---|---|
committer | Andy Grover <andy.grover@oracle.com> | 2010-09-08 21:11:42 -0400 |
commit | 40589e74f7ba855f3a887c9d4abe9d100c5b039c (patch) | |
tree | f32b0414ae3cfe8868fbdb130f9b24ac19794ae3 /net/rds/ib.h | |
parent | 15133f6e67d8d646d0744336b4daa3135452cb0d (diff) |
RDS: Base init_depth and responder_resources on hw values
Instead of using a constant for initiator_depth and
responder_resources, read the per-QP values when the
device is enumerated, and then use these values when creating
the connection.
Signed-off-by: Andy Grover <andy.grover@oracle.com>
Diffstat (limited to 'net/rds/ib.h')
-rw-r--r-- | net/rds/ib.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/net/rds/ib.h b/net/rds/ib.h index d2fd0aa4fde7..a303f13111c2 100644 --- a/net/rds/ib.h +++ b/net/rds/ib.h | |||
@@ -164,6 +164,8 @@ struct rds_ib_device { | |||
164 | unsigned int max_fmrs; | 164 | unsigned int max_fmrs; |
165 | int max_sge; | 165 | int max_sge; |
166 | unsigned int max_wrs; | 166 | unsigned int max_wrs; |
167 | unsigned int max_initiator_depth; | ||
168 | unsigned int max_responder_resources; | ||
167 | spinlock_t spinlock; /* protect the above */ | 169 | spinlock_t spinlock; /* protect the above */ |
168 | }; | 170 | }; |
169 | 171 | ||