aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorMaxim Mikityanskiy <[email protected]>2022-09-27 13:35:57 -0700
committerJakub Kicinski <[email protected]>2022-09-28 19:36:34 -0700
commitf060ccc2afaa099a6bb86e5ec89efbaea5dd2ecf (patch)
treeebad5c866f7db40c55340d194dd651ea9b7fe671 /tools/perf/scripts/python/event_analyzing_sample.py
parent40b72108f9c609c5043903efb70c52d46b8aa871 (diff)
net/mlx5e: Convert mlx5e_get_max_sq_wqebbs to u8
The return value of mlx5e_get_max_sq_wqebbs is clamped down to MLX5_SEND_WQE_MAX_WQEBBS = 16, which fits into u8. This commit changes the return type of this function to u8 for stricter type safety. Signed-off-by: Maxim Mikityanskiy <[email protected]> Reviewed-by: Tariq Toukan <[email protected]> Reviewed-by: Saeed Mahameed <[email protected]> Signed-off-by: Saeed Mahameed <[email protected]> Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions