lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <e2048f08-22ce-48b7-a5b2-dc933fdbda54@intel.com>
Date: Wed, 4 Feb 2026 13:53:16 -0800
From: Jacob Keller <jacob.e.keller@...el.com>
To: Tariq Toukan <tariqt@...dia.com>, Eric Dumazet <edumazet@...gle.com>,
	Jakub Kicinski <kuba@...nel.org>, Paolo Abeni <pabeni@...hat.com>, "Andrew
 Lunn" <andrew+netdev@...n.ch>, "David S. Miller" <davem@...emloft.net>
CC: Saeed Mahameed <saeedm@...dia.com>, Leon Romanovsky <leon@...nel.org>,
	Mark Bloch <mbloch@...dia.com>, <netdev@...r.kernel.org>,
	<linux-rdma@...r.kernel.org>, <linux-kernel@...r.kernel.org>, Gal Pressman
	<gal@...dia.com>, Moshe Shemesh <moshe@...dia.com>, Dragos Tatulea
	<dtatulea@...dia.com>
Subject: Re: [PATCH net-next V2] net/mlx5e: SHAMPO, Switch to header memcpy



On 2/4/2026 12:03 PM, Tariq Toukan wrote:
> Performance numbers for x86:
> +---------------------------------------------------------+
> | Test                | Baseline   | Header Copy | Change |
> |---------------------+------------+-------------+--------|
> | iperf3 oncpu        |  59.5 Gbps |  64.00 Gbps |   7 %  |
> | iperf3 offcpu       | 102.5 Gbps | 104.20 Gbps |   2 %  |
> | kperf oncpu         | 115.0 Gbps | 130.00 Gbps |  12 %  |
> | XDP_DROP (skb mode) |   3.9 Mpps |   3.9 Mpps  |   0 %  |
> +---------------------------------------------------------+
> 
> Notes on test:
> - System: Intel(R) Xeon(R) Platinum 8380 CPU @ 2.30GHz
> - oncpu: NAPI and application running on same CPU
> - offcpu: NAPI and application running on different CPUs
> - MTU: 1500
> - iperf3 tests are single stream, 60s with IPv6 (for slightly larger
>    headers)
> - kperf version [1]
> 
> [1] git://git.kernel.dk/kperf.git
> 
> Suggested-by: Eric Dumazet <edumazet@...gle.com>
> Signed-off-by: Dragos Tatulea <dtatulea@...dia.com>
> Signed-off-by: Tariq Toukan <tariqt@...dia.com>
> ---
>   drivers/net/ethernet/mellanox/mlx5/core/en.h  |  20 +-
>   .../ethernet/mellanox/mlx5/core/en/params.c   |  23 --
>   .../net/ethernet/mellanox/mlx5/core/en/txrx.h |   1 -
>   .../net/ethernet/mellanox/mlx5/core/en_main.c | 287 +++++++--------
>   .../net/ethernet/mellanox/mlx5/core/en_rx.c   | 341 +++---------------
>   5 files changed, 188 insertions(+), 484 deletions(-)
> 

Faster and less code is always a nice thing to see.

Reviewed-by: Jacob Keller <jacob.e.keller@...el.com>

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ