svcrdma: Clean up allocation of svc_rdma_rw_ctxt
authorChuck Lever <chuck.lever@oracle.com>
Mon, 5 Jun 2023 13:11:43 +0000 (09:11 -0400)
committerChuck Lever <chuck.lever@oracle.com>
Mon, 12 Jun 2023 16:16:35 +0000 (12:16 -0400)
commitac3c32bbdb0e3f787333ae67d650868b6ef5c9a7
tree262aeb38d31ce9942fda85ba2f98377d665bd7d6
parented51b426101427c90c14696f073ef8fe71a806f9
svcrdma: Clean up allocation of svc_rdma_rw_ctxt

The physical device's favored NUMA node ID is available when
allocating a rw_ctxt. Use that value instead of relying on the
assumption that the memory allocation happens to be running on a
node close to the device.

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