[IB] mthca: don't disable RDMA writes if no responder resources
authorRoland Dreier <rolandd@cisco.com>
Tue, 15 Nov 2005 08:24:23 +0000 (00:24 -0800)
committerRoland Dreier <rolandd@cisco.com>
Tue, 15 Nov 2005 08:24:23 +0000 (00:24 -0800)
commitcbc5b2bb9e226c2b2b981836d2289912e2ef3c1c
tree9bb777025b4237dad46d7e9235c80f2e85749a10
parent47f2bce9021b4974ed33b072ebb8348c8145c946
[IB] mthca: don't disable RDMA writes if no responder resources

Responder resources are only required to handle RDMA reads and atomic
operations, not RDMA writes.  So the driver should allow RDMA writes
even if responder resources are set to 0.  This is especially
important for the UC transport -- with the old code, it was impossible
to enable RDMA writes for UC QPs.

Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/hw/mthca/mthca_qp.c