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] [thread-next>] [day] [month] [year] [list]
Message-ID: <CH3PR11MB8313EED88D00D6B0F5FAC662EAB32@CH3PR11MB8313.namprd11.prod.outlook.com>
Date: Fri, 2 Aug 2024 13:30:04 +0000
From: "Rout, ChandanX" <chandanx.rout@...el.com>
To: Kurt Kanzenbach <kurt@...utronix.de>, "Nguyen, Anthony L"
	<anthony.l.nguyen@...el.com>, "Kitszel, Przemyslaw"
	<przemyslaw.kitszel@...el.com>, "intel-wired-lan@...ts.osuosl.org"
	<intel-wired-lan@...ts.osuosl.org>
CC: Jesper Dangaard Brouer <hawk@...nel.org>, Daniel Borkmann
	<daniel@...earbox.net>, Sriram Yagnaraman <sriram.yagnaraman@...csson.com>,
	Richard Cochran <richardcochran@...il.com>, John Fastabend
	<john.fastabend@...il.com>, Alexei Starovoitov <ast@...nel.org>, "Benjamin
 Steinke" <benjamin.steinke@...s-audio.com>, Eric Dumazet
	<edumazet@...gle.com>, Sriram Yagnaraman <sriram.yagnaraman@....tech>,
	"intel-wired-lan@...ts.osuosl.org" <intel-wired-lan@...ts.osuosl.org>,
	"netdev@...r.kernel.org" <netdev@...r.kernel.org>, Jakub Kicinski
	<kuba@...nel.org>, "bpf@...r.kernel.org" <bpf@...r.kernel.org>, Paolo Abeni
	<pabeni@...hat.com>, "David S. Miller" <davem@...emloft.net>, "Sebastian
 Andrzej Siewior" <bigeasy@...utronix.de>, "Kuruvinakunnel, George"
	<george.kuruvinakunnel@...el.com>, "Pandey, Atul" <atul.pandey@...el.com>,
	"Nagraj, Shravan" <shravan.nagraj@...el.com>
Subject: RE: [Intel-wired-lan] [PATCH iwl-next v5 4/4] igb: add AF_XDP
 zero-copy Tx support



>-----Original Message-----
>From: Intel-wired-lan <intel-wired-lan-bounces@...osl.org> On Behalf Of Kurt
>Kanzenbach
>Sent: Friday, July 12, 2024 2:26 PM
>To: Nguyen, Anthony L <anthony.l.nguyen@...el.com>; Kitszel, Przemyslaw
><przemyslaw.kitszel@...el.com>
>Cc: Jesper Dangaard Brouer <hawk@...nel.org>; Daniel Borkmann
><daniel@...earbox.net>; Sriram Yagnaraman
><sriram.yagnaraman@...csson.com>; Richard Cochran
><richardcochran@...il.com>; Kurt Kanzenbach <kurt@...utronix.de>; John
>Fastabend <john.fastabend@...il.com>; Alexei Starovoitov <ast@...nel.org>;
>Benjamin Steinke <benjamin.steinke@...s-audio.com>; Eric Dumazet
><edumazet@...gle.com>; Sriram Yagnaraman
><sriram.yagnaraman@....tech>; intel-wired-lan@...ts.osuosl.org;
>netdev@...r.kernel.org; Jakub Kicinski <kuba@...nel.org>;
>bpf@...r.kernel.org; Paolo Abeni <pabeni@...hat.com>; David S. Miller
><davem@...emloft.net>; Sebastian Andrzej Siewior <bigeasy@...utronix.de>
>Subject: [Intel-wired-lan] [PATCH iwl-next v5 4/4] igb: add AF_XDP zero-copy
>Tx support
>
>From: Sriram Yagnaraman <sriram.yagnaraman@....tech>
>
>Add support for AF_XDP zero-copy transmit path.
>
>A new TX buffer type IGB_TYPE_XSK is introduced to indicate that the Tx frame
>was allocated from the xsk buff pool, so igb_clean_tx_ring and igb_clean_tx_irq
>can clean the buffers correctly based on type.
>
>igb_xmit_zc performs the actual packet transmit when AF_XDP zero-copy is
>enabled. We share the TX ring between slow path, XDP and AF_XDP zero-copy,
>so we use the netdev queue lock to ensure mutual exclusion.
>
>Signed-off-by: Sriram Yagnaraman <sriram.yagnaraman@....tech>
>[Kurt: Set olinfo_status in igb_xmit_zc() so that frames are transmitted]
>Signed-off-by: Kurt Kanzenbach <kurt@...utronix.de>
>---
> drivers/net/ethernet/intel/igb/igb.h      |  2 ++
> drivers/net/ethernet/intel/igb/igb_main.c | 56
>++++++++++++++++++++++++++-----
>drivers/net/ethernet/intel/igb/igb_xsk.c  | 53
>+++++++++++++++++++++++++++++
> 3 files changed, 102 insertions(+), 9 deletions(-)
>

Tested-by: Chandan Kumar Rout <chandanx.rout@...el.com> (A Contingent Worker at Intel)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ