]> git.baikalelectronics.ru Git - kernel.git/commit
svcrdma: De-duplicate code that locates Write and Reply chunks
authorChuck Lever <chuck.lever@oracle.com>
Mon, 2 Mar 2020 20:01:08 +0000 (15:01 -0500)
committerChuck Lever <chuck.lever@oracle.com>
Mon, 16 Mar 2020 16:04:32 +0000 (12:04 -0400)
commit6a397948332981813a5c87cc2e9f706f2450dd0b
tree6e2b57c69689529fa0d2f5738b47f3ac414fd0dc
parent800c6e04748627a3336b689a5f088a07a29e95ff
svcrdma: De-duplicate code that locates Write and Reply chunks

Cache the locations of the Requester-provided Write list and Reply
chunk so that the Send path doesn't need to parse the Call header
again.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
include/linux/sunrpc/svc_rdma.h
net/sunrpc/xprtrdma/svc_rdma_recvfrom.c
net/sunrpc/xprtrdma/svc_rdma_sendto.c