Re: [PATCH net-next 2/3] net/mlx5e: RX, Pre-calculate pad value in MPWQE
From: Joe Damato
Date: Fri Mar 20 2026 - 19:04:22 EST
On Thu, Mar 19, 2026 at 09:43:37AM +0200, Tariq Toukan wrote:
> Introduce a dedicated function that calculates the needed entries
> padding in a UMR WQE.
> Use it to pre-calculate the padding value and save it on the RQ struct.
>
> Signed-off-by: Tariq Toukan <tariqt@xxxxxxxxxx>
> Reviewed-by: Dragos Tatulea <dtatulea@xxxxxxxxxx>
> ---
> drivers/net/ethernet/mellanox/mlx5/core/en.h | 1 +
> drivers/net/ethernet/mellanox/mlx5/core/en_main.c | 14 ++++++++++++++
> drivers/net/ethernet/mellanox/mlx5/core/en_rx.c | 8 ++------
> 3 files changed, 17 insertions(+), 6 deletions(-)
Reviewed-by: Joe Damato <joe@xxxxxxx>