linux/drivers/infiniband/hw/vmw_pvrdma
Steve Wise 33023fb85a IB/core: add max_send_sge and max_recv_sge attributes
This patch replaces the ib_device_attr.max_sge with max_send_sge and
max_recv_sge. It allows ulps to take advantage of devices that have very
different send and recv sge depths.  For example cxgb4 has a max_recv_sge
of 4, yet a max_send_sge of 16.  Splitting out these attributes allows
much more efficient use of the SQ for cxgb4 with ulps that use the RDMA_RW
API. Consider a large RDMA WRITE that has 16 scattergather entries.
With max_sge of 4, the ulp would send 4 WRITE WRs, but with max_sge of
16, it can be done with 1 WRITE WR.

Acked-by: Sagi Grimberg <sagi@grimberg.me>
Acked-by: Christoph Hellwig <hch@lst.de>
Acked-by: Selvin Xavier <selvin.xavier@broadcom.com>
Acked-by: Shiraz Saleem <shiraz.saleem@intel.com>
Acked-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: Steve Wise <swise@opengridcomputing.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
2018-06-18 13:17:28 -06:00
..
Kconfig
Makefile RDMA/vmw_pvrdma: Add shared receive queue support 2017-11-13 16:18:33 -05:00
pvrdma_cmd.c
pvrdma_cq.c RDMA/vmw_pvrdma: Fix usage of user response structures in ABI file 2018-02-15 15:31:28 -07:00
pvrdma_dev_api.h RDMA/vmw_pvrdma: Add shared receive queue support 2017-11-13 16:18:33 -05:00
pvrdma_doorbell.c
pvrdma_main.c RDMA: Use GID from the ib_gid_attr during the add_gid() callback 2018-06-18 11:09:05 -06:00
pvrdma_misc.c RDMA/vmw_pvrdma: Add RoCEv2 support 2017-08-24 17:34:57 -04:00
pvrdma_mr.c RDMA/vmw_pvrdma: Do not re-calculate npages 2017-12-11 16:19:42 -07:00
pvrdma_qp.c RDMA/pvrdma: Properly annotate QP states 2018-03-14 15:34:25 -04:00
pvrdma_ring.h IB/pvrdma: Remove unused function 2017-08-22 15:42:57 -04:00
pvrdma_srq.c RDMA/vmw_pvrdma: Fix usage of user response structures in ABI file 2018-02-15 15:31:28 -07:00
pvrdma_verbs.c IB/core: add max_send_sge and max_recv_sge attributes 2018-06-18 13:17:28 -06:00
pvrdma_verbs.h RDMA/vmw_pvrdma: Add shared receive queue support 2017-11-13 16:18:33 -05:00
pvrdma.h RDMA/vmw_pvrdma: Use refcount_t instead of atomic_t 2017-12-27 21:37:26 -07:00