linux/drivers/infiniband/hw/mthca
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
..
Kconfig
Makefile
mthca_allocator.c
mthca_av.c
mthca_catas.c
mthca_cmd.c IB/core cleanup: Add const on args - device->process_mad 2015-06-02 09:33:13 -04:00
mthca_cmd.h IB/core cleanup: Add const on args - device->process_mad 2015-06-02 09:33:13 -04:00
mthca_config_reg.h
mthca_cq.c
mthca_dev.h IB/mad: Add support for additional MAD info to/from drivers 2015-06-12 14:49:17 -04:00
mthca_doorbell.h
mthca_eq.c IB: Remove unnecessary semicolons 2013-10-14 10:10:00 -07:00
mthca_mad.c IB/mad: Remove improper use of BUG_ON 2015-07-14 13:20:08 -04:00
mthca_main.c IB/mthca: Use pci_enable_msix_exact() instead of pci_enable_msix() 2014-04-10 18:41:34 -07:00
mthca_mcg.c
mthca_memfree.c
mthca_memfree.h
mthca_mr.c
mthca_pd.c
mthca_profile.c IB/mthca: use swap() in mthca_make_profile() 2015-06-11 01:10:59 -04:00
mthca_profile.h
mthca_provider.c mlx4, mlx5, mthca: Expose max_sge_rd correctly 2015-08-28 23:02:10 -04:00
mthca_provider.h
mthca_qp.c IB: split struct ib_send_wr 2015-10-08 11:09:10 +01:00
mthca_reset.c
mthca_srq.c
mthca_uar.c
mthca_user.h
mthca_wqe.h