diff options
author | Tariq Toukan <tariqt@mellanox.com> | 2018-08-21 16:07:58 +0300 |
---|---|---|
committer | Saeed Mahameed <saeedm@mellanox.com> | 2018-09-05 17:08:33 -0700 |
commit | a09036221092989b88c55d24d1f12ceb1d7d361f (patch) | |
tree | e235e50a7bbeda8b57607a12aa15c57ec5a6cafa /tools/perf/scripts/python/call-graph-from-sql.py | |
parent | 8d71e818506718e8d7032ce824b5c74a17d4f7a5 (diff) |
net/mlx5: Use u16 for Work Queue buffer strides offset
Minimal stride size is 16.
Hence, the number of strides in a fragment (of PAGE_SIZE)
is <= PAGE_SIZE / 16 <= 4K.
u16 is sufficient to represent this.
Fixes: d7037ad73daa ("net/mlx5: Fix QP fragmented buffer allocation")
Signed-off-by: Tariq Toukan <tariqt@mellanox.com>
Reviewed-by: Eran Ben Elisha <eranbe@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions