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>
This commit is contained in:
parent
e604aad2ca
commit
2fe8c44633
3 changed files with 14 additions and 35 deletions
|
|
@ -138,6 +138,8 @@ struct svc_rdma_recv_ctxt {
|
|||
unsigned int rc_page_count;
|
||||
unsigned int rc_hdr_count;
|
||||
u32 rc_inv_rkey;
|
||||
__be32 *rc_write_list;
|
||||
__be32 *rc_reply_chunk;
|
||||
unsigned int rc_read_payload_offset;
|
||||
unsigned int rc_read_payload_length;
|
||||
struct page *rc_pages[RPCSVC_MAXPAGES];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue