]> git.dujemihanovic.xyz Git - linux.git/commit
svcrdma: Clean up allocation of svc_rdma_send_ctxt
authorChuck Lever <chuck.lever@oracle.com>
Mon, 5 Jun 2023 13:11:37 +0000 (09:11 -0400)
committerChuck Lever <chuck.lever@oracle.com>
Mon, 12 Jun 2023 16:16:35 +0000 (12:16 -0400)
commited51b426101427c90c14696f073ef8fe71a806f9
treea606a1ad27920517c1a83415b6daa7b50a4c9cc5
parentc5d68d25bd6b5798bf0eb96661e1b26748e970d7
svcrdma: Clean up allocation of svc_rdma_send_ctxt

The physical device's favored NUMA node ID is available when
allocating a send_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_sendto.c