svcrdma: Allocate new transports on device's NUMA node
authorChuck Lever <chuck.lever@oracle.com>
Mon, 5 Jun 2023 13:11:24 +0000 (09:11 -0400)
committerChuck Lever <chuck.lever@oracle.com>
Mon, 12 Jun 2023 16:16:34 +0000 (12:16 -0400)
commitfe2b401e55482cf90a0056209c8a232b2d39056c
tree554896fa73fdcf9a5bab911c3858bc0f61ea55e9
parent665e89ab7c5af1f2d260834c861a74b01a30f95f
svcrdma: Allocate new transports on device's NUMA node

The physical device's NUMA node ID is available when allocating an
svc_xprt for an incoming connection. Use that value to ensure the
svc_xprt structure is allocated on the NUMA node closest to the
device.

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