🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #14751

Re: [PATCH net-next v1 02/11] net: Add memory provider capabilities

#14751
From: Stanislav Fomichev
Date: Wed, 11 Nov 2026 23:01
386 lines
28721 bytes
On 11/11, Björn Töpel wrote:
> Stanislav Fomichev <sdf.kernel@gmail.com> writes:
> 
> > On 11/10, Björn Töpel wrote:
> >> The core treats every memory provider as unreadable: installing one
> >> needs header split and no XDP program, and any page pool that allows
> >> unreadable netmem takes it. An AF_XDP UMEM provider is readable, needs
> >> XDP, and hands out whole buffers.
> >> 
> >> Describe providers by MP_CAP_READABLE and MP_CAP_FRAG; devmem and
> >> io_uring keep their behavior with MP_CAP_FRAG. A page pool takes a
> >> readable provider only with the new PP_FLAG_MEM_PROVIDER:
> >> PP_FLAG_ALLOW_UNREADABLE_NETMEM says that a driver handles unreadable
> >> netmem, not that it handles any provider.
> >> 
> >> Signed-off-by: Björn Töpel <bjorn@kernel.org>
> >> ---
> >>  Documentation/networking/netmem.rst     |  5 ++++
> >>  drivers/net/netkit.c                    |  3 +-
> >>  include/net/page_pool/helpers.h         | 14 +++++++++-
> >>  include/net/page_pool/memory_provider.h | 14 ++++++++++
> >>  include/net/page_pool/types.h           | 15 ++++++++--
> >>  io_uring/zcrx.c                         |  1 +
> >>  net/core/dev.c                          | 10 ++++---
> >>  net/core/devmem.c                       |  1 +
> >>  net/core/netdev_rx_queue.c              | 37 ++++++++++++++++++++-----
> >>  net/core/page_pool.c                    | 34 +++++++++++++++++++++--
> >>  net/ethtool/rings.c                     |  7 +++--
> >>  net/xdp/xsk_buff_pool.c                 |  3 +-
> >>  12 files changed, 122 insertions(+), 22 deletions(-)
> >> 
> >> diff --git a/Documentation/networking/netmem.rst b/Documentation/networking/netmem.rst
> >> index 6871dcdd700c..39cb75339704 100644
> >> --- a/Documentation/networking/netmem.rst
> >> +++ b/Documentation/networking/netmem.rst
> >> @@ -103,6 +103,11 @@ Driver RX Requirements
> >>       which knows when dma-syncing is (or is not) appropriate.
> >>     - PP_FLAG_ALLOW_UNREADABLE_NETMEM. The driver must specify this flag iff
> >>       tcp-data-split is enabled.
> >> +   - PP_FLAG_MEM_PROVIDER. The page pool takes memory from the memory
> >> +     provider of its RX queue, readable or not. Page pool creation fails if
> >> +     the provider is unreadable and PP_FLAG_ALLOW_UNREADABLE_NETMEM is not
> >> +     set, so do not set it on header page pools of such a queue. Without it,
> >> +     PP_FLAG_ALLOW_UNREADABLE_NETMEM selects unreadable providers only.
> >>  
> >>  5. The driver must not assume the netmem is readable and/or backed by pages.
> >>     The netmem returned by the page_pool may be unreadable, in which case
> >> diff --git a/drivers/net/netkit.c b/drivers/net/netkit.c
> >> index 82e608e733d9..df672ed5ffcc 100644
> >> --- a/drivers/net/netkit.c
> >> +++ b/drivers/net/netkit.c
> >> @@ -12,6 +12,7 @@
> >>  #include <net/netdev_lock.h>
> >>  #include <net/netdev_queues.h>
> >>  #include <net/netdev_rx_queue.h>
> >> +#include <net/page_pool/memory_provider.h>
> >>  #include <net/xdp_sock_drv.h>
> >>  #include <net/netkit.h>
> >>  #include <net/dst.h>
> >> @@ -289,7 +290,7 @@ static int netkit_xsk(struct net_device *dev, struct netdev_bpf *xdp)
> >>  		ret = -EOPNOTSUPP;
> >>  		goto out;
> >>  	}
> >> -	if (!create || !dev_get_min_mp_channel_count(phys))
> >> +	if (!create || netif_all_mps_have_cap(phys, MP_CAP_READABLE))
> >>  		ret = phys->netdev_ops->ndo_bpf(phys, &xdp_lower);
> >>  out:
> >>  	netdev_unlock(phys);
> >> diff --git a/include/net/page_pool/helpers.h b/include/net/page_pool/helpers.h
> >> index 28635ce9454e..96e6b62cdebb 100644
> >> --- a/include/net/page_pool/helpers.h
> >> +++ b/include/net/page_pool/helpers.h
> >> @@ -62,6 +62,7 @@
> >>  
> >>  #include <linux/dma-mapping.h>
> >>  
> >> +#include <net/page_pool/memory_provider.h>
> >>  #include <net/page_pool/types.h>
> >>  #include <net/net_debug.h>
> >>  #include <net/netmem.h>
> >> @@ -519,7 +520,18 @@ static inline void page_pool_nid_changed(struct page_pool *pool, int new_nid)
> >>   */
> >>  static inline bool page_pool_is_unreadable(struct page_pool *pool)
> >>  {
> >> -	return !!pool->mp_ops;
> >> +	return pool->mp_ops && !(pool->mp_ops->caps & MP_CAP_READABLE);
> >> +}
> >> +
> >> +/**
> >> + * page_pool_supports_frag() - may page pool buffers be split
> >> + * @pool: queried page pool
> >> + *
> >> + * Return: false if the memory provider of @pool hands out whole buffers only
> >> + */
> >> +static inline bool page_pool_supports_frag(const struct page_pool *pool)
> >> +{
> >> +	return !pool->mp_ops || pool->mp_ops->caps & MP_CAP_FRAG;
> >>  }
> >>  
> >>  #endif /* _NET_PAGE_POOL_HELPERS_H */
> >> diff --git a/include/net/page_pool/memory_provider.h b/include/net/page_pool/memory_provider.h
> >> index bceb5f7740e2..4417e54a0f81 100644
> >> --- a/include/net/page_pool/memory_provider.h
> >> +++ b/include/net/page_pool/memory_provider.h
> >> @@ -19,6 +19,18 @@ struct sk_buff;
> >>   * Per-provider custom logic must be delegated to memory_provider_ops rather
> >>   * than handled directly in page_pool core code.
> >>   */
> >> +
> >> +/**
> >> + * enum mp_caps - memory provider capabilities
> >> + * @MP_CAP_READABLE: The CPU can access provider memory. It may back header
> >> + *	page pools, and XDP programs may run on it.
> >> + * @MP_CAP_FRAG: Page pool fragments may split provider buffers.
> >> + */
> >> +enum mp_caps {
> >> +	MP_CAP_READABLE		= BIT(0),
> >> +	MP_CAP_FRAG		= BIT(1),
> >> +};
> >> +
> >>  struct memory_provider_ops {
> >>  	netmem_ref (*alloc_netmems)(struct page_pool *pool, gfp_t gfp);
> >>  	bool (*release_netmem)(struct page_pool *pool, netmem_ref netmem);
> >> @@ -27,6 +39,7 @@ struct memory_provider_ops {
> >>  	int (*nl_fill)(void *mp_priv, struct sk_buff *rsp,
> >>  		       struct netdev_rx_queue *rxq);
> >>  	void (*uninstall)(void *mp_priv, struct netdev_rx_queue *rxq);
> >> +	u32 caps;
> >>  };
> >>  
> >>  bool net_mp_niov_set_dma_addr(struct net_iov *niov, dma_addr_t addr);
> >> @@ -38,6 +51,7 @@ int netif_mp_open_rxq(struct net_device *dev, unsigned int rxq_idx,
> >>  		      struct netlink_ext_ack *extack);
> >>  int netif_mp_close_rxq(struct net_device *dev, unsigned int rxq_idx,
> >>  		       const struct pp_memory_provider_params *old_p);
> >> +bool netif_all_mps_have_cap(struct net_device *dev, u32 cap);
> >>  
> >>  /**
> >>    * net_mp_netmem_place_in_cache() - give a netmem to a page pool
> >> diff --git a/include/net/page_pool/types.h b/include/net/page_pool/types.h
> >> index 6d543076a0c0..0d48c05f1462 100644
> >> --- a/include/net/page_pool/types.h
> >> +++ b/include/net/page_pool/types.h
> >> @@ -31,8 +31,19 @@
> >>   */
> >>  #define PP_FLAG_ALLOW_UNREADABLE_NETMEM BIT(3)
> >>  
> >> +/* Take memory from the memory provider of the RX queue, if one is installed.
> >> + * Set page_pool_params.slow.netdev and queue_idx, and create the pool under
> >> + * the instance lock of the netdev.
> >> + * An unreadable provider also needs PP_FLAG_ALLOW_UNREADABLE_NETMEM, or page
> >> + * pool creation fails. Without this flag, PP_FLAG_ALLOW_UNREADABLE_NETMEM
> >> + * selects unreadable providers only.
> >> + */
> >> +#define PP_FLAG_MEM_PROVIDER	BIT(4)
> >> +
> >>  #define PP_FLAG_ALL		(PP_FLAG_DMA_MAP | PP_FLAG_DMA_SYNC_DEV | \
> >> -				 PP_FLAG_SYSTEM_POOL | PP_FLAG_ALLOW_UNREADABLE_NETMEM)
> >> +				 PP_FLAG_SYSTEM_POOL | \
> >> +				 PP_FLAG_ALLOW_UNREADABLE_NETMEM | \
> >> +				 PP_FLAG_MEM_PROVIDER)
> >>  
> >>  /* Index limit to stay within PP_DMA_INDEX_BITS for DMA indices */
> >>  #define PP_DMA_INDEX_LIMIT XA_LIMIT(1, BIT(PP_DMA_INDEX_BITS) - 1)
> >> @@ -82,7 +93,7 @@ struct pp_alloc_cache {
> >>   * @netdev:	netdev this pool will serve (leave as NULL if none or multiple)
> >>   * @queue_idx:	queue idx this page_pool is being created for.
> >>   * @flags:	PP_FLAG_DMA_MAP, PP_FLAG_DMA_SYNC_DEV, PP_FLAG_SYSTEM_POOL,
> >> - *		PP_FLAG_ALLOW_UNREADABLE_NETMEM.
> >> + *		PP_FLAG_ALLOW_UNREADABLE_NETMEM, PP_FLAG_MEM_PROVIDER.
> >>   */
> >>  struct page_pool_params {
> >>  	struct_group_tagged(page_pool_params_fast, fast,
> >> diff --git a/io_uring/zcrx.c b/io_uring/zcrx.c
> >> index 555f27e6c1ba..3b5bf97aa203 100644
> >> --- a/io_uring/zcrx.c
> >> +++ b/io_uring/zcrx.c
> >> @@ -1478,6 +1478,7 @@ static const struct memory_provider_ops io_uring_pp_zc_ops = {
> >>  	.destroy		= io_pp_zc_destroy,
> >>  	.nl_fill		= io_pp_nl_fill,
> >>  	.uninstall		= io_pp_uninstall,
> >> +	.caps			= MP_CAP_FRAG,
> >>  };
> >>  
> >>  static unsigned zcrx_parse_rq(netmem_ref *netmem_array, unsigned nr,
> >> diff --git a/net/core/dev.c b/net/core/dev.c
> >> index 3b60b15e2175..663fe3e32ea0 100644
> >> --- a/net/core/dev.c
> >> +++ b/net/core/dev.c
> >> @@ -10546,8 +10546,9 @@ int netif_xdp_propagate(struct net_device *dev, struct netdev_bpf *bpf)
> >>  		return -EBUSY;
> >>  	}
> >>  
> >> -	if (dev_get_min_mp_channel_count(dev)) {
> >> -		NL_SET_ERR_MSG(bpf->extack, "unable to propagate XDP to device using memory provider");
> >> +	if (!netif_all_mps_have_cap(dev, MP_CAP_READABLE)) {
> >> +		NL_SET_ERR_MSG(bpf->extack,
> >> +			       "unable to propagate XDP to device using unreadable memory provider");
> >>  		return -EBUSY;
> >>  	}
> >>  
> >> @@ -10622,8 +10623,9 @@ static int dev_xdp_install(struct net_device *dev, enum bpf_xdp_mode mode,
> >>  		return -EBUSY;
> >>  	}
> >>  
> >> -	if (dev_get_min_mp_channel_count(dev)) {
> >> -		NL_SET_ERR_MSG(extack, "unable to install XDP to device using memory provider");
> >> +	if (!netif_all_mps_have_cap(dev, MP_CAP_READABLE)) {
> >> +		NL_SET_ERR_MSG(extack,
> >> +			       "unable to install XDP to device using unreadable memory provider");
> >>  		return -EBUSY;
> >>  	}
> >>  
> >> diff --git a/net/core/devmem.c b/net/core/devmem.c
> >> index b9146b1f294a..8f190b574beb 100644
> >> --- a/net/core/devmem.c
> >> +++ b/net/core/devmem.c
> >> @@ -698,4 +698,5 @@ static const struct memory_provider_ops dmabuf_devmem_ops = {
> >>  	.release_netmem		= mp_dmabuf_devmem_release_page,
> >>  	.nl_fill		= mp_dmabuf_devmem_nl_fill,
> >>  	.uninstall		= mp_dmabuf_devmem_uninstall,
> >> +	.caps			= MP_CAP_FRAG,
> >>  };
> >> diff --git a/net/core/netdev_rx_queue.c b/net/core/netdev_rx_queue.c
> >> index a7261fedd5e7..9e14a747f9b5 100644
> >> --- a/net/core/netdev_rx_queue.c
> >> +++ b/net/core/netdev_rx_queue.c
> >> @@ -82,9 +82,13 @@ __netif_get_rx_queue_lease(struct net_device **dev, unsigned int *rxq_idx,
> >>  /* See also page_pool_is_unreadable() */
> >>  bool netif_rxq_has_unreadable_mp(struct net_device *dev, unsigned int rxq_idx)
> >>  {
> >> -	if (rxq_idx < dev->real_num_rx_queues)
> >> -		return __netif_get_rx_queue(dev, rxq_idx)->mp_params.mp_ops;
> >> -	return false;
> >> +	const struct memory_provider_ops *ops;
> >> +
> >> +	if (rxq_idx >= dev->real_num_rx_queues)
> >> +		return false;
> >> +
> >> +	ops = __netif_get_rx_queue(dev, rxq_idx)->mp_params.mp_ops;
> >> +	return ops && !(ops->caps & MP_CAP_READABLE);
> >>  }
> >>  EXPORT_SYMBOL(netif_rxq_has_unreadable_mp);
> >>  
> >> @@ -95,6 +99,22 @@ bool netif_rxq_has_mp(struct net_device *dev, unsigned int rxq_idx)
> >>  	return false;
> >>  }
> >>  
> >> +bool netif_all_mps_have_cap(struct net_device *dev, u32 cap)
> >> +{
> >> +	const struct memory_provider_ops *ops;
> >> +	unsigned int i;
> >> +
> >> +	netdev_assert_locked_ops_compat(dev);
> >> +
> >> +	for (i = 0; i < dev->real_num_rx_queues; i++) {
> >> +		ops = dev->_rx[i].mp_params.mp_ops;
> >> +		if (ops && (ops->caps & cap) != cap)
> >> +			return false;
> >> +	}
> >> +
> >> +	return true;
> >> +}
> >> +
> >>  static int netdev_rx_queue_reconfig(struct net_device *dev,
> >>  				    unsigned int rxq_idx,
> >>  				    struct netdev_queue_config *qcfg_old,
> >> @@ -189,6 +209,7 @@ static int __netif_mp_open_rxq(struct net_device *dev, unsigned int rxq_idx,
> >>  			       struct netlink_ext_ack *extack)
> >>  {
> >>  	const struct netdev_queue_mgmt_ops *qops = dev->queue_mgmt_ops;
> >> +	bool unreadable = !(p->mp_ops->caps & MP_CAP_READABLE);
> >>  	struct netdev_queue_config qcfg[2];
> >>  	struct netdev_rx_queue *rxq;
> >>  	int ret;
> >> @@ -196,16 +217,18 @@ static int __netif_mp_open_rxq(struct net_device *dev, unsigned int rxq_idx,
> >>  	if (!qops)
> >>  		return -EOPNOTSUPP;
> >>  
> >> -	if (dev->cfg->hds_config != ETHTOOL_TCP_DATA_SPLIT_ENABLED) {
> >> +	if (unreadable &&
> >> +	    dev->cfg->hds_config != ETHTOOL_TCP_DATA_SPLIT_ENABLED) {
> >>  		NL_SET_ERR_MSG(extack, "tcp-data-split is disabled");
> >>  		return -EINVAL;
> >>  	}
> >> -	if (dev->cfg->hds_thresh) {
> >> +	if (unreadable && dev->cfg->hds_thresh) {
> >>  		NL_SET_ERR_MSG(extack, "hds-thresh is not zero");
> >>  		return -EINVAL;
> >>  	}
> >> -	if (dev_xdp_prog_count(dev)) {
> >> -		NL_SET_ERR_MSG(extack, "unable to custom memory provider to device with XDP program attached");
> >> +	if (unreadable && dev_xdp_prog_count(dev)) {
> >> +		NL_SET_ERR_MSG(extack,
> >> +			       "unable to use unreadable memory provider with XDP program attached");
> >>  		return -EEXIST;
> >>  	}
> >>  	if (p->rx_page_size && !(qops->supported_params & QCFG_RX_PAGE_SIZE)) {
> >> diff --git a/net/core/page_pool.c b/net/core/page_pool.c
> >> index d7c88c0b67e5..d88a3ea528d4 100644
> >> --- a/net/core/page_pool.c
> >> +++ b/net/core/page_pool.c
> >> @@ -188,6 +188,29 @@ static void page_pool_struct_check(void)
> >>  				    PAGE_POOL_FRAG_GROUP_ALIGN);
> >>  }
> >>  
> >> +static int page_pool_select_mp(struct page_pool *pool,
> >> +			       const struct pp_memory_provider_params *mpp)
> >> +{
> >> +	const struct memory_provider_ops *ops = mpp->mp_ops;
> >> +	unsigned int flags = pool->slow.flags;
> >> +	bool readable;
> >> +
> >> +	if (!ops)
> >> +		return 0;
> >> +
> >> +	readable = ops->caps & MP_CAP_READABLE;
> >> +	if (flags & PP_FLAG_MEM_PROVIDER) {
> >> +		if (!readable && !(flags & PP_FLAG_ALLOW_UNREADABLE_NETMEM))
> >> +			return -EOPNOTSUPP;
> >> +	} else if (readable) {
> >> +		return 0;
> >> +	}
> >> +
> >> +	pool->mp_priv = mpp->mp_priv;
> >> +	pool->mp_ops = ops;
> >> +	return 0;
> >> +}
> >> +
> >>  static int page_pool_init(struct page_pool *pool,
> >>  			  const struct page_pool_params *params,
> >>  			  int cpuid)
> >> @@ -272,12 +295,14 @@ static int page_pool_init(struct page_pool *pool,
> >>  
> >>  	xa_init_flags(&pool->dma_mapped, XA_FLAGS_ALLOC1);
> >>  
> >> -	if (pool->slow.flags & PP_FLAG_ALLOW_UNREADABLE_NETMEM) {
> >> +	if (pool->slow.flags & (PP_FLAG_MEM_PROVIDER |
> >> +				PP_FLAG_ALLOW_UNREADABLE_NETMEM)) {
> >>  		netdev_assert_locked(pool->slow.netdev);
> >>  		rxq = __netif_get_rx_queue(pool->slow.netdev,
> >>  					   pool->slow.queue_idx);
> >> -		pool->mp_priv = rxq->mp_params.mp_priv;
> >> -		pool->mp_ops = rxq->mp_params.mp_ops;
> >> +		err = page_pool_select_mp(pool, &rxq->mp_params);
> >> +		if (err)
> >> +			goto free_ptr_ring;
> >>  	}
> >>  
> >>  	if (pool->mp_ops) {
> >> @@ -1070,6 +1095,9 @@ netmem_ref page_pool_alloc_frag_netmem(struct page_pool *pool,
> >>  	unsigned int max_size = PAGE_SIZE << pool->p.order;
> >>  	netmem_ref netmem = pool->frag_page;
> >>  
> >
> > [..]
> >
> >> +	if (static_branch_unlikely(&page_pool_mem_providers) &&
> >> +	    WARN_ON_ONCE(!page_pool_supports_frag(pool)))
> >> +		return 0;
> >>  	if (WARN_ON(size > max_size))
> >>  		return 0;
> >>  
> >
> > What's the deal with that? How do we get here?
> 
> Hey! Thanks for taking a look at the series!
> 
> An explicit frag call on a whole-buffer provider is a driver bug: UMEM
> chunks can be smaller than a page, and RX gives the whole chunk to
> userspace.
> 
> But page_pool_alloc_netmem() also picks frags for small requests, so a
> valid call can warn.
> 
> I think it would be better to make it return a whole buffer and its
> actual size. The WARN stays in the frag API, before taking a new buffer?
> Wdyt?

I see.. Idk, I'd still return 0 here, but without a warn. Not sure
we want a warn for any api misuse? Returning no netmem is gonna be enough
to debug things? As for the calls from page_pool_alloc_netmem, I'd also
handle it explicitly? if (size > max_size || !page_pool_supports_frag) ?
But no strong preference, up to you, was mostly trying to understand
what we are warning against here :-)
Technical Details
Message-ID: <avTy21_cSnyMdbb5@devvm16445.scu0.facebook.com>
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!news.mb-net.net!open-news-network.org!2.eu.feeder.erje.net!feeder.erje.net!feeder2.feed.ams11.usenet.farm!feeder4.usenet.farm!feeder1.feed.ams11.usenet.farm!feed.usenet.farm!feeder.usenetexpress.com!tr3.eu1.usenetexpress.com!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-361365-linux-kernel-netdev=dewy.ru
References: <20261110102039.1002605-1-bjorn@kernel.org> <20261110102039.1002605-3-bjorn@kernel.org> <avOYe27x-AlxmyK9@devvm16445.scu0.facebook.com> <87mrrfa6c4.fsf@all.your.base.are.belong.to.us>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!news.mb-net.net!open-news-network.org!2.eu.feeder.erje.net!feeder.erje.net!feeder2.feed.ams11.usenet.farm!feeder4.usenet.farm!feeder1.feed.ams11.usenet.farm!feed.usenet.farm!feeder.usenetexpress.com!tr3.eu1.usenetexpress.com!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-361365-linux-kernel-netdev=dewy.ru
From: sdf.kernel@gmail.com (Stanislav Fomichev)
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH net-next v1 02/11] net: Add memory provider capabilities
Date: Wed, 11 Nov 2026 15:01:24 -0800
Organization: Usenet Network
Message-ID: <avTy21_cSnyMdbb5@devvm16445.scu0.facebook.com>
References: <20261110102039.1002605-1-bjorn@kernel.org> <20261110102039.1002605-3-bjorn@kernel.org> <avOYe27x-AlxmyK9@devvm16445.scu0.facebook.com> <87mrrfa6c4.fsf@all.your.base.are.belong.to.us>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Injection-Info: usenet.network; logging-data="962759"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:TbWrW1xlJZU6izx8p6Z7jHmBUqQ= sha256:l8vC+8/JBcMH8VmaPf4o6i/fKPwUq4oGUkTA9mYujUE= sha1:D5TIXhwbgEXKsVann8UtQG4WJCk= sha256:NBl4DFYi17LJBcYCLrSQaQXoRdp2F3TcxqjTH7RmRzk=
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 D08AD114064; Thu, 12 Nov 2026 02:23:41 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -3.149
X-Spam-Status: No, score=-3.149 tagged_above=-9999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.001, FREEMAIL_FROM=0.001, 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=gmail.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 zL292ZqjX5G6; Thu, 12 Nov 2026 02:23:38 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.232.135.74; helo=sto.lore.kernel.org; envelope-from=netdev+bounces-361365-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN>
X-Authentication-Results: OpenDMARC; dmarc=fail (p=none dis=none) header.from=gmail.com
X-Received: from sto.lore.kernel.org (sto.lore.kernel.org [172.232.135.74]) by mail.dewy.ru (Postfix) with ESMTPS id 1A087113F8E; Thu, 12 Nov 2026 02:23:30 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92]) by sto.lore.kernel.org (Postfix) with ESMTP id 9BC41612753; Wed, 11 Nov 2026 23:21:24 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1
X-ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass; t=1794439264; b=mIl36b8yRppfk33ScDhcF54DXGvrD9nGmJZ+ayTnjVGlCCp/AbI4ty4Xl8xcxhRag/sJ mLk+AZ7T2OHzbgsYk8/kUsZS6EaNbnzbaTq93DflSzKi7SXzwE+gP+I/l7Pb5wVrhPx5o K6/yrReLunmOdCDh69wjv3Bx3yjC4gBtuUpOS8e/FHaVA+dkKRdonroM7degvyaAH+KVV 8F9DtaibjCy6I7/9b/Tb/J3A/6TA4BImejDeYYHy1CqC1V8Xd1ei3KkWchKRpEVXlf7ft gQIK4ukMCC7DaNlGdJMVTkUq4kzUxHy+C8wp2cb+qt/R4oCUTaljyWyeNzyM8SMp8mw==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1794439264; h=X-Original-To:Received:DMARC-Filter:Received:DKIM-Signature: X-Google-DKIM-Signature:X-Forwarded-Encrypted:X-Gm-Message-State: X-Gm-Gg:X-Received:Received:Date:From:To:Cc:Subject:Message-ID: References:X-Mailing-List:List-Id:List-Post:List-Help:List-Subscribe: List-Unsubscribe:List-Owner:Precedence:MIME-Version:Content-Type: Content-Disposition:Content-Transfer-Encoding:In-Reply-To; bh=2CCb0NW8b2dj++2tLgh7gyBI6Ohxvsvhx9Ebkc36JpY=; b=WocE/cdeL5CuRRSgCDYgCkJojTZ8SRbvvJe+AR8R5zStYWtyuYvC/J70Wb8kDF2El/Zp Hu9Wx+WCldm+Y+twypOV41F1TkD8ZzfBTUsm1SAGVoJSXf6FDk2Pl0ae0oJco+60ZZe6L /dmufW0jN5IOqtUK1xjr+RiEXyspD429NUvmlAe/2H/SxJjPPc1IEhlGjiU2++gWsqNAv NP8O8dzEopsyTb98cqygx9bmz2Ux7kdWy/a0z0iIDaVuC0HFzMKxdDFvdzmaQw6hhPhZt q+zz1RJSjZAnccpvfrHMKykc0ofFJyhH0HA4LTPHcjSTJYKTOIRd0H3PSbBnn1IbDAg==
X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dkim=pass header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20260707 header.b=JwuP3umC; dmarc=pass header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; arc=pass header.oldest-pass=0 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 3F80D606A8B7; Wed, 11 Nov 2026 23:21:04 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20260707 header.b=JwuP3umC
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=74.125.229.137
X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1794439263; b=iOJel+6KfEzctxYwomsg4AKnEHrfPV6G0M0tL9dBkSK4j3XXoUarRFYNj/IcAUe+aYme BNI86tlqZDzNcSHSlTWuRhehhdoN+GnCa+nR2w7pkaxxUhn9Mp37E9QwRKQNIb+7MEpqd 0WL+AUjwsgHXS9G6V9ygKB6grt8cNq49TAnk42fsrtiGarvSWQ3F5Q7nEmFB5XIo/vDl6 rTpMel42MVjX9FQQ7NTe8tKixBHsp/weTNQzlA4G7G1d3dfVrqrfwBojVK/9Y+xagHq2N fBJp5tltQQGakDdlIY35D/eXhk+LTjKUZsCE7KfXq/Q+V+sxdTvTMWyKOCIIeurBGRg==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1794439263; h=DMARC-Filter:Received:DKIM-Signature:X-Google-DKIM-Signature: X-Forwarded-Encrypted:X-Gm-Message-State:X-Gm-Gg:X-Received:Received: Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:Content-Transfer-Encoding: In-Reply-To; bh=2CCb0NW8b2dj++2tLgh7gyBI6Ohxvsvhx9Ebkc36JpY=; b=BDUECPL/sxSlcXakbG2vAdkTKMnI5/Yt0BcuGFgxrKpbEwREMj0cRMALJQm5p/zkSzhO xkx2aoOIjUnZU4g3l4QBA96yQZwTwgD6NM7GFWubn5LIg6BmvB918GcYFB2T4O+hZURrC O8hehwUeTOoiHO+lmsL3K+IFva9AMZwY0c23ZTHHqCTa/emXfLpl2QZkqXw9445ODGgnu DDWc2Yiv0wCsHyFnvMMSYjv40n5mTxuJu9B0KqGMp03MNRDgc+Jk8y2gAKJ0FtXGUMpbR VusvaX7HomRZfMeJobkMzwT3td3Hey2n15tVfghqGZWNcOlBqlIRUpbyZa8fjppx03w==
X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20260707 header.b=JwuP3umC; arc=none smtp.remote-ip=74.125.229.137
X-Received: from mail-dl2-f9.google.com (mail-dl2-f9.google.com [74.125.229.137]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D99E8606A897 for <netdev@vger.kernel.org>; Wed, 11 Nov 2026 23:21:02 +0000 (UTC)
X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org D99E8606A897
X-Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com
X-Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com
X-Received: by mail-dl2-f9.google.com with SMTP id a92af1059eb24-19305bcb6d5so1264879c88.0 for <netdev@vger.kernel.org>; Wed, 11 Nov 2026 15:21:02 -0800 (PST)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20260707; t=1794439262; x=1795044062; darn=vger.kernel.org; h=in-reply-to:content-transfer-encoding:content-disposition :content-type:mime-version:references:message-id:subject:cc:to:from :date:from:to:cc:subject:date:message-id:reply-to:content-type; bh=2CCb0NW8b2dj++2tLgh7gyBI6Ohxvsvhx9Ebkc36JpY=; b=JwuP3umCOT+Lgq+HWQmQpskZGCLqMnkJAn8UpHfV0mO8DPfylXpWIP4PWC/YfINnSS 78Y8u6kxqoAx6IXQ+QTmbsi25lIXVvZmeuxsmvmCXwoLTPisRCDTxDwN+VTHTo/eHMRh PmxgSJKysmN/8L7QJuhTslAQcHVE9IKLylVnO5kNnwH65cQOb9yzPQY7Mp5e6lbwcGVZ hMF59BweI2YYmz6NP3a2P/G3mRiLFislyC5x01zSJN7r+RgZe3WN9FJdoxR6uClyCgxH haNV4wNEuzHDhF7Dz+wxSFwC+FgjkHM3eCP5Vyx/p2g1hrHe2YvMJR6FOwwGJUC4Z1T2 7YAQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1794439262; x=1795044062; h=in-reply-to:content-transfer-encoding:content-disposition :content-type:mime-version:references:message-id:subject:cc:to:from :date:x-gm-gg:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to:content-type; bh=2CCb0NW8b2dj++2tLgh7gyBI6Ohxvsvhx9Ebkc36JpY=; b=vxfeCR8tCMphF63OumH36TZMEOFl8ZGF62PN8pK+9zfWTcyDmPUWgMW3DRLmszi7Qj GkXDxxHEDxmJxLa3IZuoCyc6M7QuPc37LirORe0BA3kvgjUJhacJ1R1bHmeos9WbaJil HMb4ikxPkOkyVFdRtjxZmt7k9KKY8MZ2zeFHyUR4W4BbndmCLqCnBGTN9wtiqNUSsLMH yqSXJL9EAsm0kbISHPLlHK7hAW/2qf4r0HTzRkiLvrvDeRGP2jKiR0FCRQzf46ncT0Mj 7C4KsZJZ9TgJYKOQnZWmzRgHUzgTJtJN/5WrSbAVVMBWqQorl/qm+dNhel3jtqHZxRNN Hpmg==
X-Forwarded-Encrypted: i=1; AL+hErEXMU5GA31RG98fbyC+HP+gpJ+kk2UkObkdHiwm11tv9UvrsT1EJVsDFkl84IWQ4jDScznWzDs=@vger.kernel.org
X-Gm-Message-State: APuU4Z8EP+RHKUPoiWfD203SZlNkY4WYvI37UnaPIolgfSDykQKvW4U9 2iZ2eK2Ki9PIZNrDgNEGYbJeB8dDY6Byq2jzGOAUO4TU/qQLP7fEnRdM
X-Gm-Gg: AYBFou0RXqgHRbwVU6PUg+PKnierYzt/CMoMHt503SyUddIS04GoevvttkJwxiQANqM aBTqwqumNqiD/6bTd0BM9DOBx3+H/758SpqTfWRvtQEeIrpWk2dhyOHH04RwezQIUP/Eeef5maN NHugkTsd4ux+vhDmm8NCnW0Oyw9ZAGJ8E2CxaTeZYZsW/XuG06BE8PmPRHhb+P7Kp/l554/Jbot EZ05EFB6QoRCYcaJ1UmkNxua9i3h3yIjAsNzlkZhfGIgjGFA0wHeIO/bC/5R652wL1LvSOOf5Cw iwNE4AAh8K1F506yVsbA7R6xNGdzfjf3lmU+shMmXJM/DmQmNBY6FCfKRGCZS2b0emZeUY0XwfA 3mRvxS7koWJqamME2HwXvdCVuYCsSCdu+MmgwVB9bwQYZWT+FmXPwmxZuPGPA8la7juHIcXcv3r 79GuOeEaHvIPngdzxMfdcP+f85JnvRqRCDjBGS5bReWfJrHhRncv/L4GQKf2x/WsdMmw9k7tBoK 5bRArowlUwFjIsNicytP7qULX3rQaVf4TMT6D+vELWtHwgtsyK+PJoL0DbRDaPUj6k+GVkkNHnZ WLht+LC3RHya8Ctcrl2HKWo=
X-Received: by 2002:a05:701b:2212:b0:1b2:cb38:5412 with SMTP id a92af1059eb24-1b3c0376554mr3270317c88.42.1794439261610; Wed, 11 Nov 2026 15:21:01 -0800 (PST)
X-Received: from localhost ([2a03:2880:9ff:65::]) by smtp.gmail.com with ESMTPSA id a92af1059eb24-1b3b5b20c55sm17957326c88.8.2026.11.11.15.21.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 11 Nov 2026 15:21:00 -0800 (PST)
X-Cc: Magnus Karlsson <magnus.karlsson@intel.com>, Maciej Fijalkowski <maciej.fijalkowski@intel.com>, Stanislav Fomichev <sdf@fomichev.me>, "David S. Miller" <davem@davemloft.net>, Eric Dumazet <edumazet@kernel.org>, Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>, Simon Horman <horms@kernel.org>, Jonathan Corbet <corbet@lwn.net>, Shuah Khan <skhan@linuxfoundation.org>, Randy Dunlap <rdunlap@infradead.org>, Alexander Duyck <alexanderduyck@fb.com>, kernel-team@meta.com, Andrew Lunn <andrew+netdev@lunn.ch>, Jesper Dangaard Brouer <hawk@kernel.org>, Ilias Apalodimas <ilias.apalodimas@linaro.org>, Alexei Starovoitov <ast@kernel.org>, Daniel Borkmann <daniel@iogearbox.net>, John Fastabend <john.fastabend@gmail.com>, Pavel Begunkov <asml.silence@gmail.com>, Jens Axboe <axboe@kernel.dk>, Andrii Nakryiko <andrii@kernel.org>, Eduard Zingerman <eddyz87@gmail.com>, Kumar Kartikeya Dwivedi <memxor@gmail.com>, 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>, netdev@vger.kernel.org, bpf@vger.kernel.org, io-uring@vger.kernel.org, Mina Almasry <almasrymina@google.com>, "Mike Marciniszyn (Meta)" <mike.marciniszyn@gmail.com>, Weiming Shi <bestswngs@gmail.com>, Nikolay Aleksandrov <razor@blackwall.org>, David Wei <dw@davidwei.uk>, Alexander Lobakin <aleksander.lobakin@intel.com>, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, Stuart Clark <stuclar@meta.com>
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-In-Reply-To: <87mrrfa6c4.fsf@all.your.base.are.belong.to.us>