aboutsummaryrefslogtreecommitdiff
path: root/scripts/generate_rust_analyzer.py
diff options
context:
space:
mode:
authorMaxim Mikityanskiy <[email protected]>2022-10-01 21:56:23 -0700
committerJakub Kicinski <[email protected]>2022-10-03 16:55:28 -0700
commit9f123f740428e96ef2eae8b5e2876b675b6a4605 (patch)
tree8ceeb449d2110256447840e894b5cb286a5b42fa /scripts/generate_rust_analyzer.py
parent168723c1f8d6e1e823d4c6ad3cf64478cf58330a (diff)
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 <[email protected]> Reviewed-by: Tariq Toukan <[email protected]> Signed-off-by: Saeed Mahameed <[email protected]> Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions