svcrdma: Update max_send_sges after QP is created
authorChuck Lever <chuck.lever@oracle.com>
Sun, 4 Feb 2024 23:16:50 +0000 (18:16 -0500)
committerChuck Lever <chuck.lever@oracle.com>
Fri, 1 Mar 2024 14:12:26 +0000 (09:12 -0500)
commit4c8c0fa0d32a99c75d732d541c13b3e59555f49f
treeb7a639c2286c3dad402bc6025696141c4eed1122
parent5485d6ddfc7a3f4623c77e9a13fec41909c809cf
svcrdma: Update max_send_sges after QP is created

rdma_create_qp() can modify cap.max_send_sges. Copy the new value
to the svcrdma transport so it is bound by the new limit instead
of the requested one.

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