Thread (8 messages) 8 messages, 4 authors, 2026-03-24

Re: [PATCH net-next 2/3] net/mlx5e: RX, Pre-calculate pad value in MPWQE

From: Joe Damato <hidden>
Date: 2026-03-20 23:02:54
Also in: linux-rdma, lkml

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@nvidia.com>
Reviewed-by: Dragos Tatulea <dtatulea@nvidia.com>
---
 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 <redacted>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help