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 for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20260121125223.5f1d6361@kernel.org>
Date: Wed, 21 Jan 2026 12:52:23 -0800
From: Jakub Kicinski <kuba@...nel.org>
To: Wei Fang <wei.fang@....com>
Cc: shenwei.wang@....com, xiaoning.wang@....com, frank.li@....com,
 andrew+netdev@...n.ch, davem@...emloft.net, edumazet@...gle.com,
 pabeni@...hat.com, ast@...nel.org, daniel@...earbox.net, hawk@...nel.org,
 john.fastabend@...il.com, sdf@...ichev.me, netdev@...r.kernel.org,
 linux-kernel@...r.kernel.org, imx@...ts.linux.dev, bpf@...r.kernel.org
Subject: Re: [PATCH v3 net-next 00/15] net: fec: improve XDP copy mode and
 add AF_XDP zero-copy support

On Wed, 21 Jan 2026 11:33:42 +0800 Wei Fang wrote:
> This patch set optimizes the XDP copy mode logic as follows.
> 
> 1. Separate the processing of RX XDP frames from fec_enet_rx_queue(),
> and adds a separate function fec_enet_rx_queue_xdp() for handling XDP
> frames.
> 
> 2. For TX XDP packets, using the batch sending method to avoid frequent
> MMIO writes.
> 
> 3. Use the switch statement to check the tx_buf type instead of the
> if...else... statement, making the cleanup logic of TX BD ring cleared
> and more efficient.
> 
> We compared the performance of XDP copy mode before and after applying
> this patch set, and the results show that the performance has improved.

Somewhere in this series:
drivers/net/ethernet/freescale/fec_main.c:1043:4-5: Unneeded semicolon
-- 
pw-bot: cr

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ