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] [thread-next>] [day] [month] [year] [list]
Message-ID: <CH3PR11MB83138A8B5F94316C7DDCB55FEAB32@CH3PR11MB8313.namprd11.prod.outlook.com>
Date: Fri, 2 Aug 2024 13:27:50 +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>,
	"Kuruvinakunnel, George" <george.kuruvinakunnel@...el.com>, 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>, "Nagraj, Shravan"
	<shravan.nagraj@...el.com>, "Pandey, Atul" <atul.pandey@...el.com>
Subject: RE: [Intel-wired-lan] [PATCH iwl-next v5 3/4] igb: add AF_XDP
 zero-copy Rx 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 3/4] igb: add AF_XDP zero-copy
>Rx support
>
>From: Sriram Yagnaraman <sriram.yagnaraman@....tech>
>
>Add support for AF_XDP zero-copy receive path.
>
>When AF_XDP zero-copy is enabled, the rx buffers are allocated from the xsk
>buff pool using igb_alloc_rx_buffers_zc.
>
>Use xsk_pool_get_rx_frame_size to set SRRCTL rx buf size when zero-copy is
>enabled.
>
>Signed-off-by: Sriram Yagnaraman <sriram.yagnaraman@....tech>
>[Kurt: Port to v6.10 and provide napi_id for xdp_rxq_info_reg()]
>Signed-off-by: Kurt Kanzenbach <kurt@...utronix.de>
>---
> drivers/net/ethernet/intel/igb/igb.h      |   4 +
> drivers/net/ethernet/intel/igb/igb_main.c |  95 ++++++++---
>drivers/net/ethernet/intel/igb/igb_xsk.c  | 261
>+++++++++++++++++++++++++++++-
> 3 files changed, 337 insertions(+), 23 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