linux/net/sunrpc/xprtrdma
Christoph Hellwig e622f2f4ad IB: split struct ib_send_wr
This patch split up struct ib_send_wr so that all non-trivial verbs
use their own structure which embedds struct ib_send_wr.  This dramaticly
shrinks the size of a WR for most common operations:

sizeof(struct ib_send_wr) (old):	96

sizeof(struct ib_send_wr):		48
sizeof(struct ib_rdma_wr):		64
sizeof(struct ib_atomic_wr):		96
sizeof(struct ib_ud_wr):		88
sizeof(struct ib_fast_reg_wr):		88
sizeof(struct ib_bind_mw_wr):		96
sizeof(struct ib_sig_handover_wr):	80

And with Sagi's pending MR rework the fast registration WR will also be
down to a reasonable size:

sizeof(struct ib_fastreg_wr):		64

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Bart Van Assche <bart.vanassche@sandisk.com> [srp, srpt]
Reviewed-by: Chuck Lever <chuck.lever@oracle.com> [sunrpc]
Tested-by: Haggai Eran <haggaie@mellanox.com>
Tested-by: Sagi Grimberg <sagig@mellanox.com>
Tested-by: Steve Wise <swise@opengridcomputing.com>
2015-10-08 11:09:10 +01:00
..
fmr_ops.c xprtrdma: Replace global lkey with lkey local to PD 2015-09-25 10:46:51 -04:00
frwr_ops.c IB: split struct ib_send_wr 2015-10-08 11:09:10 +01:00
Makefile rpcrdma: Merge svcrdma and xprtrdma modules into one 2015-06-04 16:56:02 -04:00
module.c rpcrdma: Merge svcrdma and xprtrdma modules into one 2015-06-04 16:56:02 -04:00
physical_ops.c xprtrdma: Replace global lkey with lkey local to PD 2015-09-25 10:46:51 -04:00
rpc_rdma.c xprtrdma: Count RDMA_NOMSG type calls 2015-08-05 16:21:28 -04:00
svc_rdma_marshal.c svcrdma: Keep rpcrdma_msg fields in network byte-order 2015-06-04 16:55:59 -04:00
svc_rdma_recvfrom.c IB: split struct ib_send_wr 2015-10-08 11:09:10 +01:00
svc_rdma_sendto.c IB: split struct ib_send_wr 2015-10-08 11:09:10 +01:00
svc_rdma_transport.c Changes for 4.3 2015-09-09 08:33:31 -07:00
svc_rdma.c rpcrdma: Merge svcrdma and xprtrdma modules into one 2015-06-04 16:56:02 -04:00
transport.c xprtrdma: Count RDMA_NOMSG type calls 2015-08-05 16:21:28 -04:00
verbs.c xprtrdma: Don't require LOCAL_DMA_LKEY support for fastreg 2015-10-06 14:23:00 -04:00
xprt_rdma.h xprtrdma: Replace global lkey with lkey local to PD 2015-09-25 10:46:51 -04:00