diff options
author | Leon Romanovsky <[email protected]> | 2018-09-03 09:11:14 +0300 |
---|---|---|
committer | Jason Gunthorpe <[email protected]> | 2018-09-06 13:16:12 -0600 |
commit | 8f28b178f71cc56eccf2a6e2c0ace17c82f900d7 (patch) | |
tree | 9323ffd9700bfba2f99a48b3fe511ad18be6019e /scripts/gdb/linux/modules.py | |
parent | 954a8e3aea87e896e320cf648c1a5bbe47de443e (diff) |
RDMA/mlx4: Ensure that maximal send/receive SGE less than supported by HW
In calculating the global maximum number of the Scatter/Gather elements
supported, the following four maximum parameters must be taken into
consideration: max_sg_rq, max_sg_sq, max_desc_sz_rq and max_desc_sz_sq.
However instead of bringing this complexity to query_device, which still
won't be sufficient anyway (the calculations are dependent on QP type),
the safer approach will be to restore old code, which will give us 32
SGEs.
Fixes: 33023fb85a42 ("IB/core: add max_send_sge and max_recv_sge attributes")
Reported-by: Chuck Lever <[email protected]>
Signed-off-by: Leon Romanovsky <[email protected]>
Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/modules.py')
0 files changed, 0 insertions, 0 deletions