diff options
author | 2022-09-30 09:28:51 -0700 | |
---|---|---|
committer | 2022-10-01 13:30:19 -0700 | |
commit | 5758c3145b88aa9d0919681a9d3edf39353f1dbd (patch) | |
tree | 5cc1315c56b6f598ee1d59c61a6b4d0f22b5f9df /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | net/mlx5e: Introduce wqe_index_mask for legacy RQ (diff) | |
download | wireguard-linux-5758c3145b88aa9d0919681a9d3edf39353f1dbd.tar.xz wireguard-linux-5758c3145b88aa9d0919681a9d3edf39353f1dbd.zip |
net/mlx5e: Make the wqe_index_mask calculation more exact
The old calculation of wqe_index_mask may give false positives, i.e.
request bulking of pairs of WQEs when not strictly needed, for example,
when the first fragment size is equal to the PAGE_SIZE, bulking is not
needed, even if the number of fragments is odd.
Make the calculation more exact to cut false positives.
Signed-off-by: Maxim Mikityanskiy <maximmi@nvidia.com>
Reviewed-by: Tariq Toukan <tariqt@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions