Maxim Mikityanskiy
9f123f7404
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 >
2022-10-03 16:55:28 -07:00
..
2022-08-31 14:11:26 -07:00
2022-09-29 11:05:23 +02:00
2022-09-28 18:57:14 -07:00
2022-08-31 14:11:26 -07:00
2022-09-26 12:48:12 -07:00
2022-09-28 18:57:14 -07:00
2022-09-28 18:57:14 -07:00
2022-09-28 18:57:14 -07:00
2022-08-31 14:11:26 -07:00
2022-08-31 14:11:26 -07:00
2022-09-28 18:57:14 -07:00
2022-09-28 18:57:14 -07:00
2022-09-28 18:57:14 -07:00
2022-09-28 18:57:14 -07:00
2022-09-28 18:57:14 -07:00
2022-08-31 14:11:26 -07:00
2022-09-29 09:37:29 +02:00
2022-09-28 18:57:14 -07:00
2022-09-30 12:38:58 +01:00
2022-09-30 13:01:16 +01:00
2022-09-29 14:30:51 -07:00
2022-09-28 18:57:14 -07:00
2022-09-29 10:14:05 +02:00
2022-09-29 14:30:51 -07:00
2022-09-28 18:57:14 -07:00
2022-09-28 18:57:14 -07:00
2022-09-28 18:57:14 -07:00
2022-09-19 18:23:14 -07:00
2022-08-31 14:11:26 -07:00
2022-08-31 14:11:26 -07:00
2022-09-28 18:57:14 -07:00
2022-09-30 11:32:27 +01:00
2022-09-28 18:57:14 -07:00
2022-10-03 12:43:59 +01:00
2022-08-31 14:11:26 -07:00
2022-09-28 18:57:14 -07:00
2022-09-28 18:57:14 -07:00
2022-09-28 18:57:14 -07:00
2022-09-22 17:41:28 -07:00
2022-09-30 12:40:22 +01:00
2022-09-29 19:29:03 -07:00
2022-09-19 18:23:39 -07:00
2022-10-03 12:50:19 +01:00
2022-09-29 14:30:51 -07:00
2022-10-03 16:55:28 -07:00
2022-09-15 11:43:51 +02:00
2022-10-03 16:40:16 -07:00
2022-09-22 10:58:13 -07:00
2022-09-06 10:24:42 +02:00
2022-09-29 14:30:51 -07:00
2022-08-31 14:11:26 -07:00
2022-09-28 18:57:14 -07:00
2022-09-29 09:19:09 +02:00
2022-09-30 18:47:53 -07:00
2022-09-28 18:57:14 -07:00
2022-09-28 18:57:14 -07:00
2022-08-31 14:11:26 -07:00
2022-09-28 18:57:14 -07:00
2022-08-31 14:11:26 -07:00
2022-09-28 18:57:14 -07:00
2022-09-28 18:57:14 -07:00
2022-09-28 18:57:14 -07:00
2022-09-28 18:57:14 -07:00
2022-09-28 18:57:14 -07:00
2022-09-30 18:17:06 -07:00
2022-09-28 18:57:14 -07:00
2022-09-28 18:57:14 -07:00
2022-09-28 18:57:14 -07:00
2022-09-29 14:30:51 -07:00
2022-08-31 14:11:26 -07:00
2022-08-31 14:11:26 -07:00
2022-09-28 18:57:14 -07:00
2022-09-28 18:57:14 -07:00
2022-09-30 13:04:23 +01:00
2022-09-28 19:18:42 -07:00
2022-09-28 18:57:14 -07:00
2022-09-28 18:57:14 -07:00
2022-09-28 18:57:14 -07:00
2022-09-29 13:39:58 +02:00
2022-09-28 18:57:14 -07:00
2022-09-28 18:57:14 -07:00
2022-09-26 12:46:16 -07:00
2022-09-28 18:57:14 -07:00
2022-08-30 12:32:51 +02:00
2022-08-31 14:11:26 -07:00
2022-09-28 18:57:14 -07:00
2022-08-31 14:11:26 -07:00
2022-09-02 21:18:56 -07:00
2022-09-28 18:57:14 -07:00
2022-09-28 18:57:14 -07:00
2022-08-31 14:11:26 -07:00
2022-09-28 18:57:14 -07:00
2022-09-20 15:00:30 +02:00
2022-09-28 18:57:14 -07:00
2022-09-02 21:19:35 -07:00
2022-09-28 18:57:14 -07:00
2022-09-20 15:00:30 +02:00