diff options
author | Maxim Mikityanskiy <maximmi@nvidia.com> | 2022-10-02 07:56:23 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2022-10-04 02:55:28 +0300 |
commit | 9f123f740428e96ef2eae8b5e2876b675b6a4605 (patch) | |
tree | 8ceeb449d2110256447840e894b5cb286a5b42fa /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 168723c1f8d6e1e823d4c6ad3cf64478cf58330a (diff) | |
download | linux-9f123f740428e96ef2eae8b5e2876b675b6a4605.tar.xz |
net/mlx5e: Improve MTT/KSM alignment
Make mlx5e_mpwrq_mtts_per_wqe take into account that KSM requires
smaller alignment than MTT.
Ensure that there is always an even amount of MTTs in a UMR WQE, so that
complete octwords are formed, and no garbage is mapped.
Drop extra alignment in MLX5_MTT_OCTW that may cause setting too big
ucseg->xlt_octowords, also leading to mapping garbage.
Generalize some calculations by introducing the MLX5_OCTWORD constant.
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