summaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorChuck Lever <chuck.lever@oracle.com>2018-05-04 15:34:48 -0400
committerAnna Schumaker <Anna.Schumaker@Netapp.com>2018-05-07 09:20:03 -0400
commit914fcad9873cbd46e3a4c3c31551b98b15a49079 (patch)
treed3a0779b4a7b0482728801b0ebec2c8ee110df22 /include/linux
parent107c4beb9bedd07d6e22f7010333dba3dc988292 (diff)
downloadlinux-914fcad9873cbd46e3a4c3c31551b98b15a49079.tar.gz
linux-914fcad9873cbd46e3a4c3c31551b98b15a49079.tar.bz2
linux-914fcad9873cbd46e3a4c3c31551b98b15a49079.zip
xprtrdma: Fix max_send_wr computation
For FRWR, the computation of max_send_wr is split between frwr_op_open and rpcrdma_ep_create, which makes it difficult to tell that the max_send_wr result is currently incorrect if frwr_op_open has to reduce the credit limit to accommodate a small max_qp_wr. This is a problem now that extra WRs are needed for backchannel operations and a drain CQE. So, refactor the computation so that it is all done in ->ro_open, and fix the FRWR version of this computation so that it accommodates HCAs with small max_qp_wr correctly. Signed-off-by: Chuck Lever <chuck.lever@oracle.com> Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions