🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #23731

Re: [PATCH net 2/3] xsk: Keep the shared info of zero-copy buffers in kernel memory

#23731
From: Maciej Fijalkowski
Date: Fri, 27 Nov 2026 19:26
241 lines
27346 bytes
On Fri, Nov 27, 2026 at 03:21:28PM +0100, Björn Töpel wrote:
> A packet that a driver receives in zero-copy mode over several buffers
> keeps its shared info, the fragment list and its count, in the
> tailroom of the UMEM chunk of its head. Userspace may write the UMEM
> at any time, also while the kernel walks the fragments, and a
> rewritten list or count makes the kernel read and write out of bounds.
> 
> Keep the shared info in the buffer pool, which outlives its buffers
> and the queues that point to it, and let the device write up to the
> end of the chunk. One shared info per pool is enough, as a pool builds
> one multi-buffer packet at a time. libeth read it later, at an XDP_TX
> bulk flush, which the previous patch fixes.
> 
> Multi-buffer pools now give the device the whole chunk, as
> single-buffer pools already do, and allow a larger UMEM headroom.
> bpf_xdp_adjust_tail() can grow a packet up to the end of its chunk.
> Copy mode does not change.
> 
> Found by an AI code review agent, in its review of another series.
> 
> Suggested-by: Maciej Fijalkowski <maciej.fijalkowski@intel.com>
> Fixes: 24ea50127ecf ("xsk: support mbuf on ZC RX")
> Signed-off-by: Björn Töpel <bjorn@kernel.org>

I applied this change on top of my changes implementing xsk.py in drv-net
selftests and gave this a run, plus a patch 3/3 was adjusted to fit the
new python runner but intent stayed the same.

Test used Intel's e810 (ice) back-to-back connection, 84 cases passed 0
failed.

Tested-by: Maciej Fijalkowski <maciej.fijalkowski@intel.com>
Reviewed-by: Maciej Fijalkowski <maciej.fijalkowski@intel.com>

> ---
>  include/net/xdp.h           | 32 ++++++++++++++++++++++++++------
>  include/net/xdp_sock_drv.h  | 29 +++++++++--------------------
>  include/net/xsk_buff_pool.h |  2 ++
>  net/xdp/xdp_umem.c          |  3 +--
>  net/xdp/xsk_buff_pool.c     | 17 +++++++++--------
>  5 files changed, 47 insertions(+), 36 deletions(-)
> 
> diff --git a/include/net/xdp.h b/include/net/xdp.h
> index 07231adfb5f8..68dc9caacfa9 100644
> --- a/include/net/xdp.h
> +++ b/include/net/xdp.h
> @@ -65,6 +65,10 @@ struct xdp_rxq_info {
>  	u32 reg_state;
>  	struct xdp_mem_info mem;
>  	u32 frag_size;
> +	/* Shared info of buffers with %XDP_FLAGS_SINFO_EXT, in the XSk buffer
> +	 * pool, set by xsk_pool_set_rxq_info().
> +	 */
> +	struct skb_shared_info *ext_sinfo;
>  } ____cacheline_aligned; /* perf critical, avoid false-sharing */
>  
>  struct xdp_txq_info {
> @@ -81,6 +85,13 @@ enum xdp_buff_flags {
>  	 * XDP program is not attached.
>  	 */
>  	XDP_FLAGS_FRAGS_UNREADABLE	= BIT(2),
> +	/* The shared info lives in &xdp_rxq_info.ext_sinfo, not at the end of
> +	 * the frame, as userspace may write the frame. The frame reserves no
> +	 * tailroom, so the data may reach its end. The pool builds one such
> +	 * buffer at a time, so a consumer that uses the shared info later
> +	 * must copy what it needs.
> +	 */
> +	XDP_FLAGS_SINFO_EXT		= BIT(3),
>  };
>  
>  struct xdp_buff {
> @@ -178,17 +189,26 @@ xdp_prepare_buff(struct xdp_buff *xdp, unsigned char *hard_start,
>  
>  /* Reserve memory area at end-of data area.
>   *
> - * This macro reserves tailroom in the XDP buffer by limiting the
> - * XDP/BPF data access to data_hard_end.  Notice same area (and size)
> - * is used for XDP_PASS, when constructing the SKB via build_skb().
> + * This reserves tailroom in the XDP buffer by limiting the XDP/BPF data
> + * access to data_hard_end.  Notice same area (and size) is used for
> + * XDP_PASS, when constructing the SKB via build_skb(). Buffers with
> + * %XDP_FLAGS_SINFO_EXT keep the shared info elsewhere and reserve none.
>   */
> -#define xdp_data_hard_end(xdp)				\
> -	((xdp)->data_hard_start + (xdp)->frame_sz -	\
> -	 SKB_DATA_ALIGN(sizeof(struct skb_shared_info)))
> +static __always_inline void *xdp_data_hard_end(const struct xdp_buff *xdp)
> +{
> +	u32 tailroom = SKB_DATA_ALIGN(sizeof(struct skb_shared_info));
> +
> +	if (xdp->flags & XDP_FLAGS_SINFO_EXT)
> +		tailroom = 0;
> +	return xdp->data_hard_start + xdp->frame_sz - tailroom;
> +}
>  
>  static inline struct skb_shared_info *
>  xdp_get_shared_info_from_buff(const struct xdp_buff *xdp)
>  {
> +	if (xdp->flags & XDP_FLAGS_SINFO_EXT)
> +		return xdp->rxq->ext_sinfo;
> +
>  	return (struct skb_shared_info *)xdp_data_hard_end(xdp);
>  }
>  
> diff --git a/include/net/xdp_sock_drv.h b/include/net/xdp_sock_drv.h
> index a40ad3f90f13..fc22314e72c4 100644
> --- a/include/net/xdp_sock_drv.h
> +++ b/include/net/xdp_sock_drv.h
> @@ -41,11 +41,6 @@ static inline u32 xsk_pool_get_headroom(struct xsk_buff_pool *pool)
>  	return XDP_PACKET_HEADROOM + pool->headroom;
>  }
>  
> -static inline u32 xsk_pool_get_tailroom(bool mbuf)
> -{
> -	return mbuf ? SKB_DATA_ALIGN(sizeof(struct skb_shared_info)) : 0;
> -}
> -
>  static inline u32 xsk_pool_get_chunk_size(struct xsk_buff_pool *pool)
>  {
>  	return pool->chunk_size;
> @@ -56,20 +51,13 @@ static inline u32 __xsk_pool_get_rx_frame_size(struct xsk_buff_pool *pool)
>  	return xsk_pool_get_chunk_size(pool) - xsk_pool_get_headroom(pool);
>  }
>  
> +/* Device RX buffers typically come in 128-byte units. The shared info
> + * of zero-copy buffers lives in the pool, see xp_set_rxq_info(), so the
> + * device may write up to the end of the chunk.
> + */
>  static inline u32 xsk_pool_get_rx_frame_size(struct xsk_buff_pool *pool)
>  {
> -	u32 frame_size =  __xsk_pool_get_rx_frame_size(pool);
> -	struct xdp_umem *umem = pool->umem;
> -	bool mbuf;
> -
> -	/* Reserve tailroom only for zero-copy pools that opted into
> -	 * multi-buffer. The reserved area is used for skb_shared_info,
> -	 * matching the XDP core's xdp_data_hard_end() layout.
> -	 */
> -	mbuf = pool->dev && (umem->flags & XDP_UMEM_SG_FLAG);
> -	frame_size -= xsk_pool_get_tailroom(mbuf);
> -
> -	return ALIGN_DOWN(frame_size, 128);
> +	return ALIGN_DOWN(__xsk_pool_get_rx_frame_size(pool), 128);
>  }
>  
>  static inline u32 xsk_pool_get_rx_frag_step(struct xsk_buff_pool *pool)
> @@ -152,7 +140,6 @@ static inline void xsk_buff_free(struct xdp_buff *xdp)
>  		xp_free(pos);
>  	}
>  
> -	xdp_get_shared_info_from_buff(xdp)->nr_frags = 0;
>  	xdp_buff_clear_frags_flag(xdp);
>  out:
>  	xp_free(xskb);
> @@ -226,8 +213,10 @@ static inline void xsk_buff_set_size(struct xdp_buff *xdp, u32 size)
>  	xdp->data = xdp->data_hard_start + XDP_PACKET_HEADROOM;
>  	xdp->data_meta = xdp->data;
>  	xdp->data_end = xdp->data + size;
> -	/* Frags flag is cleared when the frags of a head are released */
> -	xdp->flags &= XDP_FLAGS_HAS_FRAGS;
> +	/* Frags flag is cleared when the frags of a head are released. The
> +	 * shared info flag stays, see xp_set_rxq_info().
> +	 */
> +	xdp->flags &= XDP_FLAGS_HAS_FRAGS | XDP_FLAGS_SINFO_EXT;
>  }
>  
>  static inline dma_addr_t xsk_buff_raw_get_dma(struct xsk_buff_pool *pool,
> diff --git a/include/net/xsk_buff_pool.h b/include/net/xsk_buff_pool.h
> index 02e89350faf9..f43e618ae707 100644
> --- a/include/net/xsk_buff_pool.h
> +++ b/include/net/xsk_buff_pool.h
> @@ -59,6 +59,8 @@ struct xsk_buff_pool {
>  	spinlock_t rx_lock;
>  	struct list_head free_list;
>  	struct list_head xskb_list;
> +	/* Fragment list of the packet being built, out of userspace reach */
> +	struct skb_shared_info sinfo;
>  	u32 heads_cnt;
>  	u16 queue_id;
>  
> diff --git a/net/xdp/xdp_umem.c b/net/xdp/xdp_umem.c
> index cd8643360eb3..e78a43c3c3e9 100644
> --- a/net/xdp/xdp_umem.c
> +++ b/net/xdp/xdp_umem.c
> @@ -203,8 +203,7 @@ static int xdp_umem_reg(struct xdp_umem *umem, struct xdp_umem_reg *mr)
>  	if (!unaligned_chunks && chunks_rem)
>  		return -EINVAL;
>  
> -	if (headroom > chunk_size - XDP_PACKET_HEADROOM -
> -		       SKB_DATA_ALIGN(sizeof(struct skb_shared_info)) - 128)
> +	if (headroom > chunk_size - XDP_PACKET_HEADROOM - 128)
>  		return -EINVAL;
>  
>  	if (mr->flags & XDP_UMEM_TX_METADATA_LEN) {
> diff --git a/net/xdp/xsk_buff_pool.c b/net/xdp/xsk_buff_pool.c
> index 5ec092f7cb6f..553630170229 100644
> --- a/net/xdp/xsk_buff_pool.c
> +++ b/net/xdp/xsk_buff_pool.c
> @@ -125,8 +125,14 @@ void xp_set_rxq_info(struct xsk_buff_pool *pool, struct xdp_rxq_info *rxq)
>  {
>  	u32 i;
>  
> -	for (i = 0; i < pool->heads_cnt; i++)
> +	/* Userspace may write the UMEM. Keep the shared info in the pool,
> +	 * and let the device write up to the end of each chunk.
> +	 */
> +	for (i = 0; i < pool->heads_cnt; i++) {
>  		pool->heads[i].xdp.rxq = rxq;
> +		pool->heads[i].xdp.flags |= XDP_FLAGS_SINFO_EXT;
> +	}
> +	rxq->ext_sinfo = &pool->sinfo;
>  }
>  EXPORT_SYMBOL(xp_set_rxq_info);
>  
> @@ -229,12 +235,7 @@ int xp_assign_dev(struct xsk_buff_pool *pool,
>  		segs = 1;
>  	}
>  
> -	/* open-code xsk_pool_get_rx_frame_size() as pool->dev is not
> -	 * set yet at this point; we are before getting down to driver
> -	 */
> -	frame_size = __xsk_pool_get_rx_frame_size(pool) -
> -		     xsk_pool_get_tailroom(mbuf);
> -	frame_size = ALIGN_DOWN(frame_size, 128);
> +	frame_size = xsk_pool_get_rx_frame_size(pool);
>  
>  	if (needed > frame_size * segs) {
>  		err = -EINVAL;
> @@ -629,7 +630,7 @@ struct xdp_buff *xp_alloc(struct xsk_buff_pool *pool)
>  
>  	xskb->xdp.data = xskb->xdp.data_hard_start + XDP_PACKET_HEADROOM;
>  	xskb->xdp.data_meta = xskb->xdp.data;
> -	xskb->xdp.flags &= XDP_FLAGS_HAS_FRAGS;
> +	xskb->xdp.flags &= XDP_FLAGS_HAS_FRAGS | XDP_FLAGS_SINFO_EXT;
>  
>  	if (pool->dev)
>  		xp_dma_sync_for_device(pool, xskb->dma, pool->frame_len);
> -- 
> 2.56.1
> 
Technical Details
Message-ID: <awnZgwW2z3fDj1Jx@boxer>
Path: mbox-mo1.pugleaf.net!news-can.pugleaf.net!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-372936-linux-kernel-netdev=dewy.ru
References: <20261127142131.3527737-1-bjorn@kernel.org> <20261127142131.3527737-3-bjorn@kernel.org>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-can.pugleaf.net!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-372936-linux-kernel-netdev=dewy.ru
From: maciej.fijalkowski@intel.com (Maciej Fijalkowski)
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH net 2/3] xsk: Keep the shared info of zero-copy buffers
 in kernel memory
Date: Fri, 27 Nov 2026 20:26:59 +0100
Organization: Usenet Network
Message-ID: <awnZgwW2z3fDj1Jx@boxer>
References: <20261127142131.3527737-1-bjorn@kernel.org>
 <20261127142131.3527737-3-bjorn@kernel.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
Injection-Info: usenet.network;
	logging-data="801076"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:tNL7THMynPXryRM2TSajGKDK4KQ= sha256:/64ayhqe3WO/VMrdk5kvMxKMMGUdV9Wo7PhF8EkXHSs=
	sha1:fPHI8WUjIGjPsJwd+MA39xdP5Fw= sha256:I/Ca0v5h8ou1TDe1crTFyGWT27emRIK/3+HNRYoFjvk=
Content-Disposition: inline
List-ID: <netdev.vger.kernel.org>
X-Mailpost-Empty-Hdrs: X-Spam-Level
X-Received: from localhost (localhost [127.0.0.1])
	by mail.dewy.ru (Postfix) with ESMTP id 9E12D125F63; Fri, 27 Nov 2026 22:27:43 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -3.052
X-Spam-Status: No, score=-3.052 tagged_above=-9999 required=6.31
	tests=[DCC_REPUT_70_89=0.1, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1,
	DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,
	HEADER_FROM_DIFFERENT_DOMAINS=0.249, MAILING_LIST_MULTI=-1,
	RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001]
	autolearn=ham autolearn_force=no
X-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=pass (2048-bit key)
	header.d=intel.com
X-Received: from mail.dewy.ru ([127.0.0.1])
	by localhost (mail.dewy.ru [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id S0BfFkfMXwHo;
	Fri, 27 Nov 2026 22:27:39 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=netdev+bounces-372936-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> 
X-Authentication-Results: OpenDMARC; dmarc=fail (p=none dis=none) header.from=intel.com
X-Received: from sea.lore.kernel.org (sea.lore.kernel.org [172.234.253.10])
	by mail.dewy.ru (Postfix) with ESMTPS id 31ED3125F60; Fri, 27 Nov 2026 22:27:29 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92])
	by sea.lore.kernel.org (Postfix) with ESMTP id 17D002F058; Fri, 27 Nov 2026 19:27:26 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.remote-ip=127.0.0.1
X-Received: from localhost.localdomain (localhost [127.0.0.1])
	by smtp.subspace.kernel.org (Postfix) with ESMTP id 31D4F606A31F;
	Fri, 27 Nov 2026 19:27:25 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
	dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.a=rsa-sha256 header.s=Intel header.b=EUj22j1j
X-Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.remote-ip=198.175.65.18
X-ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=fail;
	t=1795807644;
	b=r2vEpNdFnxib0j0lzYprpaA5WrClHVJDtZakfJ+ZWPrCppuPHGMxW5VHxWN2Tu+LhbA3
	 n1ZYOFulVD/1Vz1lURw1i+eVEpYCjU0f5G9DZN1dlkCofbT/ZhSHskv8Ss2eiMso+vIcp
	 36nUlGaZv/Pi/yGCQPe2Ng+s3yY7mvBr4YGPMM/1HEg0P/+q7n4Pxs0tlcdM3jctpfvjt
	 5FTzWUzAGjoMk1tQ/D6hUPBcKPguXJo9b+tjniNPdT05+AYZCO5OADkQ2wRwiBhuJbi0w
	 0K5kxBO3UlgvLIpJrokw2+JcRnTjnax3ZsBpNTsUBvx6I752NXWh+JvS5qbpHLGN2oQ==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1795807644;
	h=DMARC-Filter:DKIM-Signature:X-CSE-ConnectionGUID:X-CSE-MsgGUID:
	 X-IronPort-AV:X-IronPort-AV:Received:X-CSE-ConnectionGUID:
	 X-CSE-MsgGUID:X-ExtLoop1:X-IronPort-AV:Received:Received:Received:
	 Received:Received:Received:Date:From:To:CC:Subject:Message-ID:
	 References:Content-Type:Content-Disposition:Content-Transfer-Encoding:
	 In-Reply-To:X-ClientProxiedBy:MIME-Version:X-MS-PublicTrafficType:
	 X-MS-TrafficTypeDiagnostic:X-MS-Office365-Filtering-Correlation-Id:
	 X-MS-Exchange-SenderADCheck:X-MS-Exchange-AntiSpam-Relay:
	 X-Microsoft-Antispam:X-Microsoft-Antispam-Message-Info:
	 X-Forefront-Antispam-Report:
	 X-MS-Exchange-AntiSpam-MessageData-ChunkCount:
	 X-MS-Exchange-AntiSpam-MessageData-0:X-Exchange-RoutingPolicyChecked:
	 X-MS-Exchange-CrossTenant-Network-Message-Id:
	 X-MS-Exchange-CrossTenant-AuthSource:X-MS-Exchange-CrossTenant-AuthAs:
	 X-MS-Exchange-CrossTenant-OriginalArrivalTime:
	 X-MS-Exchange-CrossTenant-FromEntityHeader:
	 X-MS-Exchange-CrossTenant-Id:X-MS-Exchange-CrossTenant-MailboxType:
	 X-MS-Exchange-CrossTenant-UserPrincipalName:
	 X-MS-Exchange-Transport-CrossTenantHeadersStamped:X-OriginatorOrg;
	bh=ijUO5x4kLnYhpiEZhY1vjJVWFY2Q47PgVJ31XrA2mgw=;
	b=3d5TCKh1eDJW0PNfo5WRLoEAWMcvfWA6HIfDUZj5jPRYRrUVBQxd+Fm/x/UJqk+u7Tkv
	 v7CPcbFSjw/TJoawjcLyh3G3gi0kDNmzVDDjV37zfw3KMfpsEoKZtwEPh23JEglijeIGi
	 Qad23B2Mi5hv/+Zh8B1qclV6eXx8+oPksuKQjGnQgxW9dz7ANTJPrpYSxc3JdK7er/dAl
	 KKqGGhysBe1/w4k8EIJNUuGb6ZJo734iNubQAmABIyi0R+TJrQuS+qd2Orkt8G+I3t88p
	 HCtkFyo7Bhp2TwxUlJBEItUwhBZAo7C815zsfFqkUYp4iM5G756mmwfRnj3GU4JitZw==
X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; 
	dmarc=pass header.from=intel.com;
	spf=pass smtp.mailfrom=intel.com;
	dkim=pass header.d=intel.com header.i=@intel.com header.a=rsa-sha256 header.s=Intel header.b=EUj22j1j;
	arc=fail smtp.remote-ip=198.175.65.18
X-Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.18])
	(using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by smtp.subspace.kernel.org (Postfix) with ESMTPS id D61EE606A323;
	Fri, 27 Nov 2026 19:27:23 +0000 (UTC)
X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org D61EE606A323
X-Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com
X-Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=intel.com
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple;
  d=intel.com; i=@intel.com; q=dns/txt; s=Intel;
  t=1795807643; x=1827343643;
  h=date:from:to:cc:subject:message-id:references:
   content-transfer-encoding:in-reply-to:mime-version;
  bh=G+L6DERvz5idmt3qyHlGbtxCVkaWFcT+xadA4hI3pgA=;
  b=EUj22j1j5xxbN6r8UkMSuUUYhWjLgtuL4TIV7cDYZY6Qy1KIsjX4sneq
   k+jZ2fdSyDmmmodmvgR8CO84eM+X14E9qYRI62JKQEXGhcVWXKUQyH9XA
   swGlGwgcstdprbVEAopAe2JCPvcLfpvDZsxbC6IaijmHVgHSv5VTg0xhL
   17Y36JSKKaPLXRU2FtltQ/1q54f1kTcKjpoU7ojlLBbFrztp3xsQkvBwN
   Dw5ZTlsRPW76EpAZ/lefq1t/NfSyPGUq0DXfKeY6DwqRkA/tRwwy6ESF4
   wiTgZKN7TX4RuqmmUqukMcuVunIrztgDXjw7Y5TJJcn0mtjgEHwKyB/1E
   A==;
X-CSE-ConnectionGUID: 0qPWdNzoTbyaa16Rg73Dnw==
X-CSE-MsgGUID: nS757cA5SJmQf/yE0mjBQA==
X-IronPort-AV: E=McAfee;i="6800,10657,11979"; a="4729035"
X-IronPort-AV: E=Sophos;i="6.27,237,1787036400"; 
   d="scan'208";a="4729035"
X-Received: from fmviesa010.fm.intel.com ([10.60.135.150])
  by orvoesa110.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 27 Nov 2026 11:27:23 -0800
X-CSE-ConnectionGUID: 4U+pfDk9RFWBdjjkesqp8Q==
X-CSE-MsgGUID: xV/BL6tKRjq/jNAOUOAovA==
X-ExtLoop1: 1
X-IronPort-AV: E=Sophos;i="6.27,237,1787036400"; 
   d="scan'208";a="13053831"
X-Received: from orsmsx901.amr.corp.intel.com ([10.22.229.23])
  by fmviesa010.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 27 Nov 2026 11:27:22 -0800
X-Received: from ORSMSX903.amr.corp.intel.com (10.22.229.25) by
 ORSMSX901.amr.corp.intel.com (10.22.229.23) with Microsoft SMTP Server
 (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id
 15.2.2562.57; Fri, 27 Nov 2026 11:27:21 -0800
X-Received: from ORSEDG902.ED.cps.intel.com (10.7.248.12) by
 ORSMSX903.amr.corp.intel.com (10.22.229.25) with Microsoft SMTP Server
 (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id
 15.2.2562.57 via Frontend Transport; Fri, 27 Nov 2026 11:27:21 -0800
X-Received: from SN4PR0501CU005.outbound.protection.outlook.com (40.93.194.41)
 by edgegateway.intel.com (134.134.137.112) with Microsoft SMTP Server
 (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id
 15.2.2562.57; Fri, 27 Nov 2026 11:27:21 -0800
X-ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none;
 b=Zl89nuHrduHCVVeUfCkLaPK0PjAAHSA0Aqkh70mtICY2FxzGwVbluDjt2glR5VsBoSWdKfmjKWi8RYB7VaJ0Cnsb9kzeHcj8VDx0gXT1eNU6dg7RzJhUd1D6OItpUiVVUCIPNnKtpoUCbpG811Q7Tjxj+L5K3f4JUcVB7y+kAXF7Ic5weX8/Q5Sf2KHI2GA92TvbbdIXlVzxl/XTYJQlTYi6p9a7y6RbochbpRRzz8XJgfrsRxjbJU5fON/Alj69l/xFyu8fIZ3myC1PgYejPmJqef2Vf6t+hil3JY5ik5qzVtZtQ6uh4Mbcm4DUC2dpq6pXCn8yaZhdl1+Q6G52zg==
X-ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com;
 s=arcselector10001;
 h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1;
 bh=F31joqrswFciCUlW9mVLqe5uLfmSFG7m7I8IFy9MPYI=;
 b=Mq4aoOAHTMavCKVanTy4Oj42SGPYR9kcT/L7jy8k+rmNSJmPH94rt8U9wxemNRvin9E0G9QC7BaN0NI2N8lM1sBBdI4OcQlXQDij0fxZDr8+8g1wuvcVtznq1S5oMRDNrUfUdeWpq90QGKbdi2JWioiOwmaBrLkH4GxD6MG3Whh8egeZx/KqFxYyYhzNVc7ztSYfGTE5OGZWOlsMHiMRiVLPF2qcfSlB5fuLngIrUoChFYfBlMjq2n7Q/p9ruOf/SHK4g+EL6skq5nAqJQdKKvi5XKQ8cdH0IP3+lHnclh8B0vhV6o+bOSYom7FyUHul5zC46YGJSAtnGTdl0cwuKA==
X-ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass
 smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com;
 dkim=pass header.d=intel.com; arc=none
X-Authentication-Results: mx.microsoft.com 1; dkim=none (message not signed)
 header.d=none;dmarc=none action=none header.from=intel.com;
X-Received: from LV2PR11MB868673.namprd11.prod.outlook.com
 (2603:10b6:408:422::13) by MW4PR11MB6738.namprd11.prod.outlook.com
 (2603:10b6:303:20c::13) with Microsoft SMTP Server (version=TLS1_2,
 cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.21.662.7; Fri, 27 Nov
 2026 19:27:12 +0000
X-Received: from LV2PR11MB868673.namprd11.prod.outlook.com
 ([fe80::5bfd:6afe:a9db:b7de]) by LV2PR11MB868673.namprd11.prod.outlook.com
 ([fe80::5bfd:6afe:a9db:b7de%4]) with mapi id 15.21.0662.007; Fri, 27 Nov 2026
 19:27:12 +0000
X-CC: Magnus Karlsson <magnus.karlsson@intel.com>, Alexander Lobakin
	<aleksander.lobakin@intel.com>, Alexei Starovoitov <ast@kernel.org>, "Daniel
 Borkmann" <daniel@iogearbox.net>, Jesper Dangaard Brouer <hawk@kernel.org>,
	John Fastabend <john.fastabend@gmail.com>, "David S. Miller"
	<davem@davemloft.net>, Eric Dumazet <edumazet@kernel.org>, Jakub Kicinski
	<kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>, Willem de Bruijn
	<willemb@google.com>, Andrii Nakryiko <andrii@kernel.org>, Eduard Zingerman
	<eddyz87@gmail.com>, Kumar Kartikeya Dwivedi <memxor@gmail.com>, Shuah Khan
	<shuah@kernel.org>, <netdev@vger.kernel.org>, <bpf@vger.kernel.org>, "Simon
 Horman" <horms@kernel.org>, Stanislav Fomichev <sdf@fomichev.me>, "Martin
 KaFai Lau" <martin.lau@linux.dev>, Song Liu <song@kernel.org>, Yonghong Song
	<yonghong.song@linux.dev>, Jiri Olsa <jolsa@kernel.org>, Emil Tsalapatis
	<emil@etsalapatis.com>, Ihor Solodrai <ihor.solodrai@linux.dev>, Tony Nguyen
	<anthony.l.nguyen@intel.com>, Przemek Kitszel <przemyslaw.kitszel@intel.com>,
	Larysa Zaremba <larysa.zaremba@intel.com>, Tushar Vyavahare
	<tushar.vyavahare@intel.com>, Jason Xing <kerneljasonxing@gmail.com>,
	"Bastien Curutchet" <bastien.curutchet@bootlin.com>, Colin Ian King
	<colin.i.king@gmail.com>, <intel-wired-lan@lists.osuosl.org>,
	<linux-kselftest@vger.kernel.org>
X-In-Reply-To: <20261127142131.3527737-3-bjorn@kernel.org>
X-ClientProxiedBy: DU2PR04CA0197.eurprd04.prod.outlook.com
 (2603:10a6:10:28d::22) To LV2PR11MB868673.namprd11.prod.outlook.com
 (2603:10b6:408:422::13)
X-Mailing-List: netdev@vger.kernel.org
X-List-Post: <mailto:netdev@vger.kernel.org>
X-List-Help: <mailto:netdev+help@vger.kernel.org>
X-List-Subscribe: <mailto:netdev+subscribe@vger.kernel.org>
X-List-Unsubscribe: <mailto:netdev+unsubscribe@vger.kernel.org>
X-List-Owner: <mailto:netdev+owner@vger.kernel.org>
X-Precedence: list
X-MS-PublicTrafficType: Email
X-MS-TrafficTypeDiagnostic: LV2PR11MB868673:EE_|MW4PR11MB6738:EE_
X-MS-Office365-Filtering-Correlation-Id: d6b9b9f3-14f9-4620-bc28-08df4cbc6fde
X-MS-Exchange-SenderADCheck: 1
X-MS-Exchange-AntiSpam-Relay: 0
X-Microsoft-Antispam: BCL:0;ARA:13230040|7416014|366016|376014|23010399003|1800799024|4143699003|261009223027099003|18002099003|6133799003|22082099003|5023799004|11063799006|10067099003|56012099006|261026121527099003|261102123227099003|261102130727099003|261021121427099003|261022105027099003|261021123027099003|261028144727099003|261026140227099003;
X-Microsoft-Antispam-Message-Info: WZ+3Cg81vbhm6ar/McbRqTHNy0CjbQoJeeyK68c2oZ2s3DJvMAFPO960VYeA1J09pC+uHFvK6b7scShf4y7RjinZJxq5aQu3z1nCnp5NmWlIstxduReogtGmciyuoFt1UeuvUn6s79pdjcthtGunOZtjGm6bQC3ZmTYnesZ2K1jVdPxPlX5u8ajp6aqht7I/iR2sz3ubvqQt0uPltVUFjvy1lxs9zxxbXZMEEW+0DqePUlyH8JUlpN3EcKAHDLVVh7SQ5PM4VTJHDEs4BB2Ip6Rmp4CYXrT1YjOxAHCncsBOXhaisyx5kX1hja0y8+9Z2Loa2oqjv089I8JwcnqufIPLO/LCeNoDkNglWQYYjCHbT/GIUtOK8NLTRrhcCM46JsoTVGYNIvqWZPaU9ApI63ANhYamq26+gS/klEhQytePpiivrIGYbNsaumuiLvpawolYNmtzgpawXT9rdfdHg6wBoFwoTVspdBNR9i4ZnagW67bzHbtgcc7Tk85WTQxFE/sdkPNoXl0IVb5aS+WsZ+n9z7ww6sr7qe4BtsxKdfZXHQ0zwmn1tRMD95CTkqKXQayKR9uyqIT09UaXuqu/gkgOOHW4Vu7MSzaKP7NDssspQ7jfXZDz8bK1T5Ln34d9OSRhBPcTilKTkhplfINg/98xMqUGgEhQHggQBaS3zjA=
X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:LV2PR11MB868673.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230040)(7416014)(366016)(376014)(23010399003)(1800799024)(4143699003)(261009223027099003)(18002099003)(6133799003)(22082099003)(5023799004)(11063799006)(10067099003)(56012099006)(261026121527099003)(261102123227099003)(261102130727099003)(261021121427099003)(261022105027099003)(261021123027099003)(261028144727099003)(261026140227099003);DIR:OUT;SFP:1101;
X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1
X-MS-Exchange-AntiSpam-MessageData-0: Z/iuqOkk2TDsTICtKmZTTUqQUQN2FNyUez9vPAT102IxNlxZte/WA8b8HCFoCJem3W6GvLzVRBrjZomNGbpKYm+zExoj3PAGjZaQL61+Bb4YqAQWYARrHyGWyr3H3gHngv6sedav6n7arQFdxdQBq6BSeehfFcznCY5ygZZmTo+0fqxqWLaWqeOTb4QcJShsnjCKdd/DHrZAXGkNxn4ZtpSQWvnc3GSdylrv8lTt/0EtM+psjMsu6+qjCYVIAtCHdBy7yhm73/CteaD/29Gj7uSjFbxFgtWvI6Cb+sHicij3e8H7bVBs4ba9I0eekvZZQ+rJ3TccmFVFgjf0DcvAfCa8LSENH1oJf0Q91VIIt8ZZQkLPyB/4kgMJcVCjxfbiUueXm2LA35q/MYsXYjNlVU8UYM6JH1CNc3pN76reJmVOQX5bfZO5gmIcAb3eWEQzI+qGDjevKq6Mr7uHpN7fl3h26Qpg2E8PLlOy1xzpdBU2aXc9w7bD/sn8RN7pJXT2gNZu0QDvJs4vdbCe4fJbgPAOJjXceOpMuko57OuJAeObKvFC8Nhk79J26i4Njk/DUP9ssme5AjpyV8Cm4M5l9y40Qq4YBfbc+ms7aDww+QAMQBnhbQq0Gz7+DpjKLJLGyfRvgldVCdmRWK35HMi0vS6wm+fwKWlv6XkznweEgivSzbGd5lszt0eeFdqpF3GIUZOmBzpK/NGoy7+43Aj2Za4SpMqL/GLGEyaySI6QkUtSp+0vY+e7qKnk3viQSdHfp29ZD+o+SlSTGRABcEX4YjuUJOlf11RvWo5v1yPzfVfdpF4qRiGdXPf3bC6qrn6QJ6FWfHnSqtE6+I38WGb3mQPCB1oGru7RTEx1WVj6cyeiMGbZ8xHR8DkSCbMxx8kaAv8ub1Ef87uPUyOQO3MSsjfUoWRtBc1yVZ12O15w5zD2jglsKmfqmAodebbyk4mo+st0mOR4LT8/BE6SL4CkQPVuMMORzrjEyPBaLkzht/UXjf2Yz7oUNdIUvUD6Ra1ThATGuEn3w1gRo/Q7aGpdg06ibP0D5PiGdX7B/FGU+K26Vz93tWAKSSwKNDMTCGUO+tfCzwjf+7RypbV1QovU5z/lTQiQHnD0seFNqd4k9nhHltwZQFXw766toDXA1G9yQDYXDLYBjz/OcXoUBrVTIMytlFz9NzvR8fEfNYzIBKa6AmmfZ1prxemnnf7jwWGly1Vfyzl4a9Hrbeq6ejOBnwhjXoEVncMlBIgDe7jbOOv+5C8abC4ME9LD8Nat11j+e+6sVrnpUKyaOh+ffKJkITVfoRtfa+j7UryT21ugnptVW+01or6j782aoyIDl845UDQ6qo7PAm6arhtfWjrAD3+TuXrLNO6fXldp2ztiWKsQ6PqPgljB7zEi8hk9JWiFFiW3herWWv0zkray84SXv/YNOtTdqBpqGnUNnIKmu03Fz8GvF7xv+RMZ/q6S69yPpVwXSAeOZNiRB2ukFMoUyNPMqx2MnInBMfTweuaLy031FLa3hNMoKLDynpVt3Mqi/PFTOZxtxfkWTOTkZSUv9KA4iSJgLIz3I0pgMV5AnWQNwPLIVAB9SLXPEUrhhtZxfJ1iZIpKx81QzP52pr8twFa71ynCY5Lf11hY7T5FZU1b8XZhZ/RtRJbtnGMYCWHwHtqYj99ra+JouokliE3m9PIRGMPMESXQcpnx+0oBJLe0y77I2VrB6NgJ2j6LzaSZzTXJ7ZlaNHM/LuXZMm44/gYxsZtKxXn1vGVuqqh2F0g=
X-Exchange-RoutingPolicyChecked: KEcEl3Heec6g4D85q8BGP6Kj6ypWDuHNW+E1mBQui0tEc2xEVxLhwXoXd906deDADjtLI+0zlxRsnONVSLKuGEEn+3quC8Qqg/FJnKtQv8eX3VuAXA7Rs8kCiwAriiDgOUNs6L25LzH4M/f0EojJ19pP9X9Gy525ma+wGpbdp+LwUxexqJYz8GzXa0ZPpjghmFZYMyd0kOJqRfyyaJ5Kf/qgMfVdeshBhOZvJVXcH6BV3t7UqibiUszFuwkByQWvooPjpJAyr/xaGAiZFf4lJKM5OyYyr0hAC1fGI+VWvUhKSrgqpiol3eVZoBCuFS59+iKEdY6GPsvqHdeh3Q8nkQ==
X-MS-Exchange-CrossTenant-Network-Message-Id: d6b9b9f3-14f9-4620-bc28-08df4cbc6fde
X-MS-Exchange-CrossTenant-AuthSource: LV2PR11MB868673.namprd11.prod.outlook.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Nov 2026 19:27:12.6001
 (UTC)
X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted
X-MS-Exchange-CrossTenant-Id: 46c98d88-e344-4ed4-8496-4ed7712e255d
X-MS-Exchange-CrossTenant-MailboxType: HOSTED
X-MS-Exchange-CrossTenant-UserPrincipalName: BebmglxFY0tAajxSwXhmosqgYfAhdum9v08Log8xXtrM20wBZL7VP6XgykbzF9arsrwwN0llhN9yc+DUa4nG+7C1GUQsd4Av7/EFXQGqB0M=
X-MS-Exchange-Transport-CrossTenantHeadersStamped: MW4PR11MB6738
X-OriginatorOrg: intel.com