[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CH3PR11MB8313317BDE71B547EED6D639EAB32@CH3PR11MB8313.namprd11.prod.outlook.com>
Date: Fri, 2 Aug 2024 13:31:48 +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 2/4] igb: Introduce XSK data
structures and helpers
>-----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 2/4] igb: Introduce XSK data
>structures and helpers
>
>From: Sriram Yagnaraman <sriram.yagnaraman@....tech>
>
>Add the following ring flags
>- IGB_RING_FLAG_TX_DISABLED (when xsk pool is being setup)
>- IGB_RING_FLAG_AF_XDP_ZC (xsk pool is active)
>
>Add a xdp_buff array for use with XSK receive batch API, and a pointer to
>xsk_pool in igb_adapter.
>
>Add enable/disable functions for TX and RX rings Add enable/disable functions
>for XSK pool Add xsk wakeup function
>
>None of the above functionality will be active until
>NETDEV_XDP_ACT_XSK_ZEROCOPY is advertised in netdev->xdp_features.
>
>Signed-off-by: Sriram Yagnaraman <sriram.yagnaraman@....tech>
>Signed-off-by: Kurt Kanzenbach <kurt@...utronix.de>
>---
> drivers/net/ethernet/intel/igb/Makefile | 2 +-
> drivers/net/ethernet/intel/igb/igb.h | 14 +-
> drivers/net/ethernet/intel/igb/igb_main.c | 9 ++
> drivers/net/ethernet/intel/igb/igb_xsk.c | 210
>++++++++++++++++++++++++++++++
> 4 files changed, 233 insertions(+), 2 deletions(-)
>
Tested-by: Chandan Kumar Rout <chandanx.rout@...el.com> (A Contingent Worker at Intel)
Powered by blists - more mailing lists