linux_dsm_epyc7002/net/sunrpc/xprtrdma
Chuck Lever 0a93fbcb16 xprtrdma: Plant XID in on-the-wire RDMA offset (FRWR)
Place the associated RPC transaction's XID in the upper 32 bits of
each RDMA segment's rdma_offset field. There are two reasons to do
this:

- The R_key only has 8 bits that are different from registration to
  registration. The XID adds more uniqueness to each RDMA segment to
  reduce the likelihood of a software bug on the server reading from
  or writing into memory it's not supposed to.

- On-the-wire RDMA Read and Write requests do not otherwise carry
  any identifier that matches them up to an RPC. The XID in the
  upper 32 bits will act as an eye-catcher in network captures.

Suggested-by: Tom Talpey <ttalpey@microsoft.com>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
2019-01-02 12:05:17 -05:00
..
backchannel.c xprtrdma: Don't wake pending tasks until disconnect is done 2019-01-02 12:05:16 -05:00
frwr_ops.c xprtrdma: Plant XID in on-the-wire RDMA offset (FRWR) 2019-01-02 12:05:17 -05:00
Makefile xprtrdma: Remove support for FMR memory registration 2019-01-02 12:05:17 -05:00
module.c NFS client updates for Linux 4.18 2018-06-12 10:09:03 -07:00
rpc_rdma.c xprtrdma: Plant XID in on-the-wire RDMA offset (FRWR) 2019-01-02 12:05:17 -05:00
svc_rdma_backchannel.c xprtrdma: Don't wake pending tasks until disconnect is done 2019-01-02 12:05:16 -05:00
svc_rdma_recvfrom.c A mistake on my part caused me to tag my branch 6 commits too early, 2018-08-23 16:00:10 -07:00
svc_rdma_rw.c A mistake on my part caused me to tag my branch 6 commits too early, 2018-08-23 16:00:10 -07:00
svc_rdma_sendto.c A mistake on my part caused me to tag my branch 6 commits too early, 2018-08-23 16:00:10 -07:00
svc_rdma_transport.c svcrdma: Reduce max_send_sges 2018-10-29 16:58:04 -04:00
svc_rdma.c sunrpc: remove redundant variables 'checksumlen','blocksize' and 'data' 2018-08-09 16:11:21 -04:00
transport.c xprtrdma: Remove rpcrdma_memreg_ops 2019-01-02 12:05:17 -05:00
verbs.c xprtrdma: Remove rpcrdma_memreg_ops 2019-01-02 12:05:17 -05:00
xprt_rdma.h xprtrdma: Plant XID in on-the-wire RDMA offset (FRWR) 2019-01-02 12:05:17 -05:00