diff options
author | 2013-09-11 16:35:22 +0300 | |
---|---|---|
committer | 2013-10-10 09:23:55 -0700 | |
commit | b125a54bfd7734a44253d2f2909a3c609768c1ec (patch) | |
tree | a0a209f7901341d75d16ed5ea5d0afca0ef8395f /tools/perf/scripts/python/export-to-postgresql.py | |
parent | Linux 3.12-rc2 (diff) | |
download | linux-dev-b125a54bfd7734a44253d2f2909a3c609768c1ec.tar.xz linux-dev-b125a54bfd7734a44253d2f2909a3c609768c1ec.zip |
IB/mlx5: Fix send work queue size calculation
1. Make sure wqe_cnt does not exceed the limit published by firmware.
2. There is no requirement that the number of outstanding work
requests will be a power of two. Remove the ilog2 in the
calculation of sq.max_post to fix that.
3. Add case for IB_QPT_XRC_TGT in sq_overhead and return 0 as XRC
target QPs do not have a send queue.
Signed-off-by: Eli Cohen <eli@mellanox.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions