From: "R, Ramu" <ramu.r@intel.com>
To: "intel-wired-lan@lists.osuosl.org" <intel-wired-lan@lists.osuosl.org>
Cc: "Lobakin, Aleksander" <aleksander.lobakin@intel.com>,
"Kubiak, Michal" <michal.kubiak@intel.com>,
"Fijalkowski, Maciej" <maciej.fijalkowski@intel.com>,
"Nguyen, Anthony L" <anthony.l.nguyen@intel.com>,
"Kitszel, Przemyslaw" <przemyslaw.kitszel@intel.com>,
Andrew Lunn <andrew+netdev@lunn.ch>,
"David S. Miller" <davem@davemloft.net>,
Eric Dumazet <edumazet@google.com>,
"Jakub Kicinski" <kuba@kernel.org>,
Paolo Abeni <pabeni@redhat.com>,
"Alexei Starovoitov" <ast@kernel.org>,
Daniel Borkmann <daniel@iogearbox.net>,
"Simon Horman" <horms@kernel.org>,
NXNE CNSE OSDT ITP Upstreaming
<nxne.cnse.osdt.itp.upstreaming@intel.com>,
"bpf@vger.kernel.org" <bpf@vger.kernel.org>,
"netdev@vger.kernel.org" <netdev@vger.kernel.org>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: RE: [Intel-wired-lan] [PATCH iwl-next v5 11/13] idpf: add support for XDP on Rx
Date: Thu, 4 Sep 2025 16:20:07 +0000 [thread overview]
Message-ID: <DM4PR11MB6455AF2B4F45AF33B52DAE509800A@DM4PR11MB6455.namprd11.prod.outlook.com> (raw)
In-Reply-To: <PH0PR11MB5013E983FC06BF5A751C1F4D9600A@PH0PR11MB5013.namprd11.prod.outlook.com>
> -----Original Message-----
> From: Intel-wired-lan <intel-wired-lan-bounces@osuosl.org> On Behalf Of
> Alexander Lobakin
> Sent: Tuesday, August 26, 2025 9:25 PM
> To: intel-wired-lan@lists.osuosl.org
> Cc: Lobakin, Aleksander <aleksander.lobakin@intel.com>; Kubiak, Michal
> <michal.kubiak@intel.com>; Fijalkowski, Maciej
> <maciej.fijalkowski@intel.com>; Nguyen, Anthony L
> <anthony.l.nguyen@intel.com>; Kitszel, Przemyslaw
> <przemyslaw.kitszel@intel.com>; Andrew Lunn <andrew+netdev@lunn.ch>;
> David S. Miller <davem@davemloft.net>; Eric Dumazet
> <edumazet@google.com>; Jakub Kicinski <kuba@kernel.org>; Paolo Abeni
> <pabeni@redhat.com>; Alexei Starovoitov <ast@kernel.org>; Daniel
> Borkmann <daniel@iogearbox.net>; Simon Horman <horms@kernel.org>;
> NXNE CNSE OSDT ITP Upstreaming
> <nxne.cnse.osdt.itp.upstreaming@intel.com>; bpf@vger.kernel.org;
> netdev@vger.kernel.org; linux-kernel@vger.kernel.org
> Subject: [Intel-wired-lan] [PATCH iwl-next v5 11/13] idpf: add support for XDP
> on Rx
>
> Use libeth XDP infra to support running XDP program on Rx polling.
> This includes all of the possible verdicts/actions.
> XDP Tx queues are cleaned only in "lazy" mode when there are less than
> 1/4 free descriptors left on the ring. libeth helper macros to define driver-
> specific XDP functions make sure the compiler could uninline them when
> needed.
>
> Use __LIBETH_WORD_ACCESS to parse descriptors more efficiently when
> applicable. It really gives some good boosts and code size reduction on
> x86_64:
>
> XDP only: add/remove: 0/0 grow/shrink: 3/3 up/down: 5/-59 (-54) with XSk:
> add/remove: 0/0 grow/shrink: 5/6 up/down: 23/-124 (-101)
>
> with the most demanding workloads like XSk xmit differing in up to 5-8%.
>
> Co-developed-by: Michal Kubiak <michal.kubiak@intel.com>
> Signed-off-by: Michal Kubiak <michal.kubiak@intel.com>
> Signed-off-by: Alexander Lobakin <aleksander.lobakin@intel.com>
> ---
> drivers/net/ethernet/intel/idpf/idpf_txrx.h | 4 +-
> drivers/net/ethernet/intel/idpf/xdp.h | 92 +++++++++++-
> drivers/net/ethernet/intel/idpf/idpf_lib.c | 2 +
> drivers/net/ethernet/intel/idpf/idpf_txrx.c | 23 +--
> drivers/net/ethernet/intel/idpf/xdp.c | 147 +++++++++++++++++++-
> 5 files changed, 248 insertions(+), 20 deletions(-)
>
Tested-by: R,Ramu <ramu.r@intel.com>
next prev parent reply other threads:[~2025-09-04 16:20 UTC|newest]
Thread overview: 31+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-08-26 15:54 [PATCH iwl-next v5 00/13] idpf: add XDP support Alexander Lobakin
2025-08-26 15:54 ` [PATCH iwl-next v5 01/13] xdp, libeth: make the xdp_init_buff() micro-optimization generic Alexander Lobakin
[not found] ` <PH0PR11MB5013AB6B0FE10D9986EDC1909600A@PH0PR11MB5013.namprd11.prod.outlook.com>
2025-09-04 16:44 ` [Intel-wired-lan] " R, Ramu
2025-08-26 15:54 ` [PATCH iwl-next v5 02/13] idpf: fix Rx descriptor ready check barrier in splitq Alexander Lobakin
[not found] ` <PH0PR11MB501389C85BEE4E0550FCBD139600A@PH0PR11MB5013.namprd11.prod.outlook.com>
2025-09-04 16:43 ` [Intel-wired-lan] " R, Ramu
2025-08-26 15:54 ` [PATCH iwl-next v5 03/13] idpf: use a saner limit for default number of queues to allocate Alexander Lobakin
[not found] ` <PH0PR11MB5013FF9A3B773061512583C39600A@PH0PR11MB5013.namprd11.prod.outlook.com>
2025-09-04 16:42 ` [Intel-wired-lan] " R, Ramu
2025-08-26 15:54 ` [PATCH iwl-next v5 04/13] idpf: link NAPIs to queues Alexander Lobakin
[not found] ` <PH0PR11MB5013A0358A8D847F0E757A959600A@PH0PR11MB5013.namprd11.prod.outlook.com>
2025-09-04 16:38 ` [Intel-wired-lan] " R, Ramu
2025-08-26 15:54 ` [PATCH iwl-next v5 05/13] idpf: add 4-byte completion descriptor definition Alexander Lobakin
[not found] ` <PH0PR11MB501349FEDC2D158B29D2BA3F9600A@PH0PR11MB5013.namprd11.prod.outlook.com>
2025-09-04 16:37 ` [Intel-wired-lan] " R, Ramu
2025-08-26 15:55 ` [PATCH iwl-next v5 06/13] idpf: remove SW marker handling from NAPI Alexander Lobakin
[not found] ` <PH0PR11MB5013310C54F6A0098AC9F45F9600A@PH0PR11MB5013.namprd11.prod.outlook.com>
2025-09-04 16:33 ` [Intel-wired-lan] " R, Ramu
2025-08-26 15:55 ` [PATCH iwl-next v5 07/13] idpf: add support for nointerrupt queues Alexander Lobakin
[not found] ` <PH0PR11MB50137C213B5616331E5960399600A@PH0PR11MB5013.namprd11.prod.outlook.com>
2025-09-04 16:35 ` [Intel-wired-lan] " R, Ramu
2025-09-04 17:44 ` R, Ramu
2025-08-26 15:55 ` [PATCH iwl-next v5 08/13] idpf: prepare structures to support XDP Alexander Lobakin
[not found] ` <PH0PR11MB5013D0C085A90142820588F49600A@PH0PR11MB5013.namprd11.prod.outlook.com>
2025-09-04 16:28 ` [Intel-wired-lan] " R, Ramu
2025-08-26 15:55 ` [PATCH iwl-next v5 09/13] idpf: implement XDP_SETUP_PROG in ndo_bpf for splitq Alexander Lobakin
[not found] ` <PH0PR11MB5013593A9866105499C7ACC79600A@PH0PR11MB5013.namprd11.prod.outlook.com>
2025-09-04 16:23 ` [Intel-wired-lan] " R, Ramu
2025-08-26 15:55 ` [PATCH iwl-next v5 10/13] idpf: use generic functions to build xdp_buff and skb Alexander Lobakin
[not found] ` <PH0PR11MB50133F214C27D489B08EC0C79600A@PH0PR11MB5013.namprd11.prod.outlook.com>
2025-09-04 16:21 ` [Intel-wired-lan] " R, Ramu
2025-08-26 15:55 ` [PATCH iwl-next v5 11/13] idpf: add support for XDP on Rx Alexander Lobakin
[not found] ` <PH0PR11MB5013E983FC06BF5A751C1F4D9600A@PH0PR11MB5013.namprd11.prod.outlook.com>
2025-09-04 16:20 ` R, Ramu [this message]
2025-08-26 15:55 ` [PATCH iwl-next v5 12/13] idpf: add support for .ndo_xdp_xmit() Alexander Lobakin
[not found] ` <PH0PR11MB5013E23D4355463542468E3E9600A@PH0PR11MB5013.namprd11.prod.outlook.com>
2025-09-04 16:14 ` [Intel-wired-lan] " R, Ramu
2025-08-26 15:55 ` [PATCH iwl-next v5 13/13] idpf: add XDP RSS hash hint Alexander Lobakin
[not found] ` <PH0PR11MB5013AA7138C81ABCB5F95F0C9600A@PH0PR11MB5013.namprd11.prod.outlook.com>
2025-09-04 16:05 ` [Intel-wired-lan] " R, Ramu
2025-08-27 17:28 ` [PATCH iwl-next v5 00/13] idpf: add XDP support Simon Horman
2025-08-27 20:42 ` Tony Nguyen
2025-08-28 15:17 ` Alexander Lobakin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=DM4PR11MB6455AF2B4F45AF33B52DAE509800A@DM4PR11MB6455.namprd11.prod.outlook.com \
--to=ramu.r@intel.com \
--cc=aleksander.lobakin@intel.com \
--cc=andrew+netdev@lunn.ch \
--cc=anthony.l.nguyen@intel.com \
--cc=ast@kernel.org \
--cc=bpf@vger.kernel.org \
--cc=daniel@iogearbox.net \
--cc=davem@davemloft.net \
--cc=edumazet@google.com \
--cc=horms@kernel.org \
--cc=intel-wired-lan@lists.osuosl.org \
--cc=kuba@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=maciej.fijalkowski@intel.com \
--cc=michal.kubiak@intel.com \
--cc=netdev@vger.kernel.org \
--cc=nxne.cnse.osdt.itp.upstreaming@intel.com \
--cc=pabeni@redhat.com \
--cc=przemyslaw.kitszel@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®