[PATCH net-next 0/3] net/mlx5e: RX datapath enhancements

Tariq Toukan posted 3 patches 3 weeks, 5 days ago
There is a newer version of this series
drivers/net/ethernet/mellanox/mlx5/core/en.h  |  20 +-
.../net/ethernet/mellanox/mlx5/core/en/txrx.h |   1 -
.../net/ethernet/mellanox/mlx5/core/en_main.c | 312 ++++++---------
.../net/ethernet/mellanox/mlx5/core/en_rx.c   | 373 +++++-------------
include/linux/mlx5/device.h                   |   6 +
5 files changed, 227 insertions(+), 485 deletions(-)
[PATCH net-next 0/3] net/mlx5e: RX datapath enhancements
Posted by Tariq Toukan 3 weeks, 5 days ago
Hi,

This series by Dragos introduces multiple RX datapath enhancements to
the mlx5e driver.

First patch adds SW handling for oversized packets in non-linear SKB
mode.

Second patch adds a reclaim mechanism to mitigate memory allocation
failures with memory providers.

Third patch moves SHAMPO to use static memory for the headers, rather
than replenishing the memory from a page_pool.
This introduces an interesting performance tradeoff where copying the
header pays off.

Regards,
Tariq

Dragos Tatulea (3):
  net/mlx5e: RX, Drop oversized packets in non-linear mode
  net/mlx5e: SHAMPO, Improve allocation recovery
  net/mlx5e: SHAMPO, Switch to header memcpy

 drivers/net/ethernet/mellanox/mlx5/core/en.h  |  20 +-
 .../net/ethernet/mellanox/mlx5/core/en/txrx.h |   1 -
 .../net/ethernet/mellanox/mlx5/core/en_main.c | 312 ++++++---------
 .../net/ethernet/mellanox/mlx5/core/en_rx.c   | 373 +++++-------------
 include/linux/mlx5/device.h                   |   6 +
 5 files changed, 227 insertions(+), 485 deletions(-)


base-commit: 60d8484c4cec811f5ceb6550655df74490d1a165
-- 
2.31.1
Re: [PATCH net-next 0/3] net/mlx5e: RX datapath enhancements
Posted by Simon Horman 3 weeks, 2 days ago
On Mon, Jan 12, 2026 at 03:22:06PM +0200, Tariq Toukan wrote:
> Hi,
> 
> This series by Dragos introduces multiple RX datapath enhancements to
> the mlx5e driver.
> 
> First patch adds SW handling for oversized packets in non-linear SKB
> mode.
> 
> Second patch adds a reclaim mechanism to mitigate memory allocation
> failures with memory providers.
> 
> Third patch moves SHAMPO to use static memory for the headers, rather
> than replenishing the memory from a page_pool.
> This introduces an interesting performance tradeoff where copying the
> header pays off.

Thanks,

This series looks good to me.
I particularly like the code complexity reduction in patch 3/3.

For the series,

Reviewed-by: Simon Horman <horms@kernel.org>