mirror of
https://github.com/torvalds/linux.git
synced 2024-11-19 02:21:47 +00:00
33023fb85a
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> |
||
---|---|---|
.. | ||
i40iw_cm.c | ||
i40iw_cm.h | ||
i40iw_ctrl.c | ||
i40iw_d.h | ||
i40iw_hmc.c | ||
i40iw_hmc.h | ||
i40iw_hw.c | ||
i40iw_main.c | ||
i40iw_osdep.h | ||
i40iw_p.h | ||
i40iw_pble.c | ||
i40iw_pble.h | ||
i40iw_puda.c | ||
i40iw_puda.h | ||
i40iw_register.h | ||
i40iw_status.h | ||
i40iw_type.h | ||
i40iw_uk.c | ||
i40iw_user.h | ||
i40iw_utils.c | ||
i40iw_verbs.c | ||
i40iw_verbs.h | ||
i40iw_vf.c | ||
i40iw_vf.h | ||
i40iw_virtchnl.c | ||
i40iw_virtchnl.h | ||
i40iw.h | ||
Kconfig | ||
Makefile |