linux/net/sunrpc/xprtrdma
Chuck Lever 54e6aec57c xprtrdma: Simplify rpcrdma_convert_kvec() and frwr_map()
Clean up.

Remove a conditional branch from the SGL set-up loop in frwr_map():
Instead of using either sg_set_page() or sg_set_buf(), initialize
the mr_page field properly when rpcrdma_convert_kvec() converts the
kvec to an SGL entry. frwr_map() can then invoke sg_set_page()
unconditionally.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Reviewed-by: Tom Talpey <tom@talpey.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
2021-02-05 11:16:55 -05:00
..
backchannel.c xprtrdma: Clean up xprtrdma callback tracepoints 2020-11-11 10:40:38 -05:00
frwr_ops.c xprtrdma: Simplify rpcrdma_convert_kvec() and frwr_map() 2021-02-05 11:16:55 -05:00
Makefile svcrdma: Add a "parsed chunk list" data structure 2020-11-30 13:00:22 -05:00
module.c SUNRPC: xprt_load_transport() needs to support the netid "rdma6" 2020-12-02 14:05:52 -05:00
rpc_rdma.c xprtrdma: Simplify rpcrdma_convert_kvec() and frwr_map() 2021-02-05 11:16:55 -05:00
svc_rdma_backchannel.c svcrdma: Support multiple write chunks when pulling up 2020-11-30 13:00:22 -05:00
svc_rdma_pcl.c svcrdma: Add a "parsed chunk list" data structure 2020-11-30 13:00:22 -05:00
svc_rdma_recvfrom.c svcrdma: Use the new parsed chunk list when pulling Read chunks 2020-11-30 13:00:23 -05:00
svc_rdma_rw.c svcrdma: support multiple Read chunks per RPC 2020-11-30 13:00:23 -05:00
svc_rdma_sendto.c svcrdma: Clean up chunk tracepoints 2020-11-30 13:00:23 -05:00
svc_rdma_transport.c SUNRPC: Rename svc_encode_read_payload() 2020-11-30 13:00:21 -05:00
svc_rdma.c sysctl: pass kernel pointers to ->proc_handler 2020-04-27 02:07:40 -04:00
transport.c NFSoRDmA Client updates for Linux 5.11 2020-12-15 20:08:41 -05:00
verbs.c xprtrdma: Move rpcrdma_mr_put() 2020-11-11 10:52:18 -05:00
xprt_rdma.h xprtrdma: Simplify rpcrdma_convert_kvec() and frwr_map() 2021-02-05 11:16:55 -05:00