linux_dsm_epyc7002/drivers/infiniband/hw/cxgb3
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
..
cxio_hal.c treewide: kzalloc() -> kcalloc() 2018-06-12 16:19:22 -07:00
cxio_hal.h IB/cxgb3: remove cxio_dbg.c 2018-02-14 16:21:15 -07:00
cxio_resource.c cxgb3: Convert PDBG to pr_debug 2017-04-20 16:13:20 -04:00
cxio_resource.h RDMA/cxgb3: Remove Open Grid Computing copyrights in iw_cxgb3 driver 2007-02-16 13:57:35 -08:00
cxio_wr.h tree-wide: fix comment/printk typos 2010-11-01 15:38:34 -04:00
iwch_cm.c Merge branch 'timer_setup' into for-next 2017-10-18 13:12:09 -04:00
iwch_cm.h cxgb3: Convert PDBG to pr_debug 2017-04-20 16:13:20 -04:00
iwch_cq.c IB/cxgb3: remove cxio_dbg.c 2018-02-14 16:21:15 -07:00
iwch_ev.c cxgb3: Convert PDBG to pr_debug 2017-04-20 16:13:20 -04:00
iwch_mem.c cxgb3: Convert PDBG to pr_debug 2017-04-20 16:13:20 -04:00
iwch_provider.c IB/core: add max_send_sge and max_recv_sge attributes 2018-06-18 13:17:28 -06:00
iwch_provider.h RDMA/cxgb3: Convert timers to use timer_setup() 2017-10-18 11:48:34 -04:00
iwch_qp.c RDMA/cxgb3: Annotate locking assumptions 2017-10-14 20:47:05 -04:00
iwch.c RDMA: Remove useless MODULE_VERSION 2017-07-24 08:45:11 -04:00
iwch.h RDMA/cxgb3: Don't crash kernel just because IDR is full 2018-06-01 11:16:23 -04:00
Kconfig IB/cxgb3: remove cxio_dbg.c 2018-02-14 16:21:15 -07:00
Makefile IB/cxgb3: remove cxio_dbg.c 2018-02-14 16:21:15 -07:00
tcb.h