diff options
author | Rahul Rameshbabu <[email protected]> | 2022-11-28 12:03:41 -0800 |
---|---|---|
committer | Saeed Mahameed <[email protected]> | 2023-01-18 10:34:06 -0800 |
commit | 022dbea0ea8ea433823a3d12719e29dcef2fb637 (patch) | |
tree | 2dcef0d17acbeb8f0e9cda088555fb8e8f5e5f10 /tools/perf/scripts/python/task-analyzer.py | |
parent | 68e5b6aa2795fd05c6ff58616cb16f2f216e4123 (diff) |
net/mlx5e: Suppress Send WQEBB room warning for PAGE_SIZE >= 16KB
Send WQEBB size is 64 bytes and the max number of WQEBBs for an SQ is 255.
For 16KB pages and greater, there is always sufficient spaces for all
WQEBBs of an SQ. Cast mlx5e_get_max_sq_wqebbs(mdev) to u16. Prevents
-Wtautological-constant-out-of-range-compare warnings from occurring when
PAGE_SIZE >= 16KB.
Signed-off-by: Rahul Rameshbabu <[email protected]>
Reported-by: kernel test robot <[email protected]>
Reviewed-by: Tariq Toukan <[email protected]>
Signed-off-by: Saeed Mahameed <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions