diff options
author | Tariq Toukan <[email protected]> | 2018-08-21 16:04:41 +0300 |
---|---|---|
committer | Saeed Mahameed <[email protected]> | 2018-09-05 17:08:33 -0700 |
commit | 8d71e818506718e8d7032ce824b5c74a17d4f7a5 (patch) | |
tree | 1c20f622f9f26092a94a121d782b38f68ca4302f /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py | |
parent | 5df816e7f43f1297c40021ef17ec6e722b45c82f (diff) |
net/mlx5: Use u16 for Work Queue buffer fragment size
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: 388ca8be0037 ("IB/mlx5: Implement fragmented completion queue (CQ)")
Signed-off-by: Tariq Toukan <[email protected]>
Reviewed-by: Eran Ben Elisha <[email protected]>
Signed-off-by: Saeed Mahameed <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py')
0 files changed, 0 insertions, 0 deletions