🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #19452

Re: [PATCH net-next v3 0/5] veth: link RX queues to their NAPI instances

#19452
From: patchwork-bot+netdevbpf
Date: Thu, 19 Nov 2026 23:00
35 lines
9514 bytes
Hello:

This series was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@kernel.org>:

On Sun, 15 Nov 2026 19:35:26 +0000 you wrote:
> veth does not link its RX queues to their NAPI instances, so queue-get
> reports no napi-id for them. napi-get lists each NAPI instance, and its
> thread PID when NAPI is threaded, but not the RX queue it polls.
> Userspace cannot tell which NAPI thread to pin for a given queue, or
> which NAPI to change with napi-set.
> 
> There is also no way to busy poll an AF_XDP socket bound to a veth
> queue. xsk_bind() takes the socket's NAPI ID from the RX queue, and a
> veth RX queue has none.
> 
> [...]

Here is the summary with links:
  - [net-next,v3,1/5] veth: refactor NAPI enable paths
    https://git.kernel.org/netdev/net-next/c/774a5a756d20
  - [net-next,v3,2/5] veth: link RX queues to their NAPI instances
    https://git.kernel.org/netdev/net-next/c/c6d21717a602
  - [net-next,v3,3/5] selftests: net: veth: test RX queue NAPI links
    https://git.kernel.org/netdev/net-next/c/5335fdbafea2
  - [net-next,v3,4/5] veth: use persistent NAPI config
    https://git.kernel.org/netdev/net-next/c/3c04f86ffab9
  - [net-next,v3,5/5] selftests: net: veth: test that RX queues keep their NAPI IDs
    https://git.kernel.org/netdev/net-next/c/59bbe682d4b1

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Technical Details
Message-ID: <179512920952.3911009.243890206778536445.git-patchwork-notify@kernel.org>
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-367411-linux-kernel-netdev=dewy.ru
References: <20261115193531.57679-1-tianyi@cloudflare.com>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-367411-linux-kernel-netdev=dewy.ru
From: patchwork-bot+netdevbpf@kernel.org
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH net-next v3 0/5] veth: link RX queues to their NAPI
 instances
Date: Thu, 19 Nov 2026 23:00:09 +0000
Organization: Usenet Network
Message-ID: <179512920952.3911009.243890206778536445.git-patchwork-notify@kernel.org>
References: <20261115193531.57679-1-tianyi@cloudflare.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit
Injection-Info: usenet.network;
	logging-data="3004820"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:a4v8vQIAAmIjd8EJAduI7wmGZZo= sha256:BVTzAP6KpWx1vLJgQqbNXts19k+iv0Ci9Qp6VHdhtfQ=
	sha1:jp/AsmAXI0xvOvI7B6XP6VIERD4= sha256:hlrkgvmD84jrGIkvUaHYkOCp0vmF1Lj8fS+vPTJ3HLo=
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 7B4871157EC; Fri, 20 Nov 2026 02:00:29 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -3.401
X-Spam-Status: No, score=-3.401 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, DKIM_VALID_EF=-0.1,
	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=kernel.org
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 o1n4vQHuT6Fg;
	Fri, 20 Nov 2026 02:00:26 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.105.105.114; helo=tor.lore.kernel.org; envelope-from=netdev+bounces-367411-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> 
X-Authentication-Results: OpenDMARC; dmarc=pass (p=quarantine dis=none) header.from=kernel.org
X-Received: from tor.lore.kernel.org (tor.lore.kernel.org [172.105.105.114])
	by mail.dewy.ru (Postfix) with ESMTPS id BEDF91157E9; Fri, 20 Nov 2026 02:00:16 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92])
	by tor.lore.kernel.org (Postfix) with ESMTP id 60D401804E4; Thu, 19 Nov 2026 23:00:14 +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=1795129212;
	b=g8FfMHLda7YALuS2lEzetIxbrDunN2mDitMdW1mqx2/CWZEmgs8C8ORH+WLpGuXK2xmw
	 pWCIWKSvnBeKsZAQ4z/lr/ZGD3gvrfSKv8oy+yKPBg4+UKNLaAR/eqSYGXnEFTjqC36P+
	 yLV1Wvi6Nf+mzmizzG3SMnfpD/eCLwoW3QkJWFX0nfnDlpNhbOPpmhFokzpFEFjpR5e6Z
	 0IDw60y8UAIBZfSu3EgdYC6mlgqLjRFsg0meW0jmApd3Pkr3JKsL2qiwkTmQAuveOf9/w
	 0KHbR2PVKTxMeMp7I8mSuXjX5itkTfBcTdDRN+aTLdsARgnCF7lo1TVo0Yro6ob9lJw==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1795129212;
	h=X-Original-To:Received:Received:DKIM-Signature:Received:Content-Type:
	 X-Mailing-List:List-Id:List-Post:List-Help:List-Subscribe:
	 List-Unsubscribe:List-Owner:Precedence:MIME-Version:
	 Content-Transfer-Encoding:Subject:From:Message-Id:Date:References:
	 In-Reply-To:To:Cc;
	bh=Vxioqb6ynVoESZaAK+qJnQo35AEnItFLxbsiEAit+rA=;
	b=lacVo1QFgshdGCOicNfWZ7DauBLgU9li5i4wAvaNxwQsHOE24rHFIG095ytNo1qGmjiW
	 sPH+V4cYmQU+sRkuT5fOWbdvWLzG/FydaoHwFpRMv+WKfW395UT9A0r+FR+fu0qVL/Tpz
	 XR6lpKKjqEhycWUyaROWPfViO1CSfgKQxpI/LNBa+KvQSXlj0Is6jkXINY78M3ei9qU8c
	 /eqoSNDZJSKAGxPkKXAzj2KiHSYKtwrhTEs8jFCB5fYA1ZPuQSin1wAlpTBTnE3pjP3EN
	 5ekl84vQ+aMeG82C9s21m9KVs1qUl3oUNBOYITM3CIK2wGWH/qSu7usa/0UL+NKsW2w==
X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; 
	dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=ItG4gbqT;
	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 627C660A2601;
	Thu, 19 Nov 2026 23:00:12 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
	dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=ItG4gbqT
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18
X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none;
	t=1795129211;
	b=DYlONcq2rvnTVhSP7hw7rwiJVVFfc+N5inCu/5Gfoqvs64qabSSTkuJOH7v2FGNklHbG
	 AqWe24J5Q4hq9n5qe3OP6+MK4ha4z3IXJ4+2HrvuIxXrjo/JddyppBBnmW5vPP+6E6gNl
	 Rzx+hdS2fL8y7g1f8GdOPWXbGvtCcfV4vGli2rPoSQeKP0VMaHrrPKfPc18uRZ/fVedwc
	 RtABevWfzCWetJI/on14Fa2EuNUY4K5n0hGcVetrfCSdMwk955DKTlgke5mH4JZEXxrzx
	 lc8kMSgUTBrsDAEkVPzCBeGDcxBkv2+A/1eYIp7rliI4L8ykA1FMsbolU1xymNIujyA==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1795129211;
	h=Received:DKIM-Signature:Received:Content-Type:MIME-Version:
	 Content-Transfer-Encoding:Subject:From:Message-Id:Date:References:
	 In-Reply-To:To:Cc;
	bh=Vxioqb6ynVoESZaAK+qJnQo35AEnItFLxbsiEAit+rA=;
	b=4oa5qjt619iPZou4pa6qqMegw12oOOfhojycGdYi/jNxmGwopi29D3b3wExQ3RbqggSP
	 w6OdyazxDe64C9UTEOWyTyoKIwp8VkG5WOvc2EtlcHurKI5W0VMEQX6/I7mIMtF9JNuXZ
	 7SxiRI/OTe2ivvEtCD0U2i4XTgqujx+wtt2DR+LpVUAMwTg1tERX2R9f7AlRz4zIraiID
	 RYnMCutZaFN/wMsrrSRInb1tzpGYgBN71gjOQ18uzHgzyRpu6mGDFClz6gup6uzYZMA/5
	 PTIUYQSP/fXRN4UsMQYJaRYZJFfMbV6+hUxezXuUNYi37U8F3SG9nx8V4VGpgvMhyjA==
X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; 
	dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=ItG4gbqT;
	arc=none smtp.remote-ip=100.103.45.18
X-Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature ECDSA (prime256v1))
	(No client certificate requested)
	by smtp.subspace.kernel.org (Postfix) with ESMTPS id 82BD2606A320;
	Thu, 19 Nov 2026 23:00:11 +0000 (UTC)
X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0A7151F000C4;
	Thu, 19 Nov 2026 23:00:11 +0000 (UTC)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org;
	s=k20260515; t=1795129211;
	bh=Vxioqb6ynVoESZaAK+qJnQo35AEnItFLxbsiEAit+rA=;
	h=Subject:From:Date:References:In-Reply-To:To:Cc;
	b=ItG4gbqT2mngKbv9I+k33hSnQXNFW5uaUk+4rxzYoHa+Qhk9KhXlO98+6n7E10yjJ
	 OCBtWt5xub77j66unQYkm93mgc3yI07Ka/ok+uA5g3XaXoVNZhl2SQcGJlVQkdov49
	 6MjCho6T3zJgcM/oH+ovh44ObbRaqtOVE7dckVrErGs74wrJZUyT3iSiiANfiTtMYb
	 9qLH/+U+RoMNYQY983j6FkqkS91MwU6rNPoZzb8cU+2UasPLgUxc5w8b9dm2uBzQbA
	 IyLljWRphoG55unvAnVf+FigDwn1YIU9OnAPqgHRhhcP0bVwkfCuu5wNoPlJhCzlsw
	 n+AHoI2Aqcy2g==
X-Received: from [10.30.226.235] (localhost [IPv6:::1])
	by aws-us-west-2-korg-oddjob-rhel9-1.codeaurora.org (Postfix) with ESMTP id F14723808209;
	Thu, 19 Nov 2026 23:00:10 +0000 (UTC)
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: <20261115193531.57679-1-tianyi@cloudflare.com>
X-Cc: netdev@vger.kernel.org, andrew+netdev@lunn.ch, davem@davemloft.net,
 edumazet@kernel.org, kuba@kernel.org, pabeni@redhat.com, toke@redhat.com,
 lorenzo@kernel.org, horms@kernel.org, shuah@kernel.org, ast@kernel.org,
 daniel@iogearbox.net, hawk@kernel.org, john.fastabend@gmail.com,
 sdf@fomichev.me, joe@dama.to, linux-kselftest@vger.kernel.org,
 bpf@vger.kernel.org, kernel-team@cloudflare.com, tianyi.gao@linux.dev