diff options
| author | Steve Wise <[email protected]> | 2018-06-18 08:05:26 -0700 |
|---|---|---|
| committer | Jason Gunthorpe <[email protected]> | 2018-06-18 13:17:28 -0600 |
| commit | 33023fb85a42b53bf778bc025f9667b582282be4 (patch) | |
| tree | 66d55701f7cc41636dcfc4353e38b4262791b47f /tools/perf/scripts/python/call-graph-from-sql.py | |
| parent | b90575ce7b84483d46ebedd5c164e5f274f7ce5a (diff) | |
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 <[email protected]>
Acked-by: Christoph Hellwig <[email protected]>
Acked-by: Selvin Xavier <[email protected]>
Acked-by: Shiraz Saleem <[email protected]>
Acked-by: Dennis Dalessandro <[email protected]>
Signed-off-by: Steve Wise <[email protected]>
Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions