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: <CH3PR11MB83137CFF9E8F407BA930487AEAB32@CH3PR11MB8313.namprd11.prod.outlook.com>
Date: Fri, 2 Aug 2024 13:20:38 +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 1/4] igb: prepare for AF_XDP
 zero-copy support



>-----Original Message-----
>From: Intel-wired-lan <intel-wired-lan-bounces@...osl.org> On Behalf Of Kurt
>Kanzenbach
>Sent: Friday, July 12, 2024 2:25 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 1/4] igb: prepare for AF_XDP
>zero-copy support
>
>From: Sriram Yagnaraman <sriram.yagnaraman@....tech>
>
>Always call igb_xdp_ring_update_tail under __netif_tx_lock, add a comment to
>indicate that. This is needed to share the same TX ring between XDP, XSK and
>slow paths.
>
>Remove static qualifiers on the following functions to be able to call from XSK
>specific file that is added in the later patches
>- igb_xdp_tx_queue_mapping
>- igb_xdp_ring_update_tail
>- igb_clean_tx_ring
>- igb_clean_rx_ring
>- igb_run_xdp
>- igb_process_skb_fields
>
>Introduce igb_xdp_is_enabled() to check if an XDP program is assigned to the
>device.
>
>Signed-off-by: Sriram Yagnaraman <sriram.yagnaraman@....tech>
>Signed-off-by: Kurt Kanzenbach <kurt@...utronix.de>
>---
> drivers/net/ethernet/intel/igb/igb.h      | 15 +++++++++++++++
> drivers/net/ethernet/intel/igb/igb_main.c | 29 ++++++++++++++---------------
> 2 files changed, 29 insertions(+), 15 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