RDS: Base init_depth and responder_resources on hw values
authorAndy Grover <andy.grover@oracle.com>
Tue, 12 Jan 2010 18:50:48 +0000 (10:50 -0800)
committerAndy Grover <andy.grover@oracle.com>
Thu, 9 Sep 2010 01:11:42 +0000 (18:11 -0700)
commit40589e74f7ba855f3a887c9d4abe9d100c5b039c
treef32b0414ae3cfe8868fbdb130f9b24ac19794ae3
parent15133f6e67d8d646d0744336b4daa3135452cb0d
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>
net/rds/ib.c
net/rds/ib.h
net/rds/ib_cm.c
net/rds/rdma.c