diff options
author | Chuck Lever <chuck.lever@oracle.com> | 2023-06-05 09:11:30 -0400 |
---|---|---|
committer | Chuck Lever <chuck.lever@oracle.com> | 2023-06-12 12:16:35 -0400 |
commit | c5d68d25bd6b5798bf0eb96661e1b26748e970d7 (patch) | |
tree | dddbc83f7afd29890d458cd948a4d51b1459d420 /include/linux/sunrpc | |
parent | fe2b401e55482cf90a0056209c8a232b2d39056c (diff) | |
download | lwn-c5d68d25bd6b5798bf0eb96661e1b26748e970d7.tar.gz lwn-c5d68d25bd6b5798bf0eb96661e1b26748e970d7.zip |
svcrdma: Clean up allocation of svc_rdma_recv_ctxt
The physical device's favored NUMA node ID is available when
allocating a recv_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.
This clean up eliminates the hack of destroying recv_ctxts that
were not created by the receive CQ thread -- recv_ctxts are now
always allocated on a "good" node.
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Diffstat (limited to 'include/linux/sunrpc')
-rw-r--r-- | include/linux/sunrpc/svc_rdma.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/sunrpc/svc_rdma.h b/include/linux/sunrpc/svc_rdma.h index fbc4bd423b35..a0f3ea357977 100644 --- a/include/linux/sunrpc/svc_rdma.h +++ b/include/linux/sunrpc/svc_rdma.h @@ -135,7 +135,6 @@ struct svc_rdma_recv_ctxt { struct ib_sge rc_recv_sge; void *rc_recv_buf; struct xdr_stream rc_stream; - bool rc_temp; u32 rc_byte_len; unsigned int rc_page_count; u32 rc_inv_rkey; |