svcrdma: Limit RQ depth
authorChuck Lever <chuck.lever@oracle.com>
Mon, 28 Aug 2017 19:06:06 +0000 (15:06 -0400)
committerJ. Bruce Fields <bfields@redhat.com>
Tue, 5 Sep 2017 19:15:30 +0000 (15:15 -0400)
commit5a25bfd28c321e522dbe8083ad6219fa2a820610
tree5f6ea54a6eb62c4417536cbcfde6ff241e928399
parent193bcb7b3719a315814dce40fc8dcd1af786ea64
svcrdma: Limit RQ depth

Ensure that the chosen Receive Queue depth for a newly created
transport does not overrun the QP WR limit of the underlying device.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
net/sunrpc/xprtrdma/svc_rdma_transport.c