🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #25606

Re: [PATCH net-next 0/3] veth: earlier txq wake and stop under backpressure

#25606
From: patchwork-bot+netdevbpf
Date: Wed, 02 Dec 2026 04:00
35 lines
9519 bytes
Hello:

This series was applied to netdev/net-next.git (main)
by Willem de Bruijn <willemb@google.com>:

On Wed, 25 Nov 2026 16:23:08 +0100 you wrote:
> While working on the veth BQL series [1], I noticed that veth was
> sometimes faster with BQL enabled than without it. Debugging this showed
> two reasons, both in how veth handles a full ptr_ring since commit
> dc82a33297fc ("veth: apply qdisc backpressure on full ptr_ring to reduce
> TX drops"):
> 
> - With BQL, the completions inside the NAPI loop wake the txq in the
>   middle of the poll. Without BQL, veth_poll() wakes the stopped peer
>   txq only at the end of the poll. The wake raises NET_TX_SOFTIRQ on the
>   consumer CPU, which then refills the ring from the qdisc itself
>   instead of consuming. Patch 2 wakes the txq in the middle of the poll,
>   so that the producer refills the ring on its own CPU. Patch 1 adds
>   PTR_RING_BATCH, which sets the wake point.
> 
> [...]

Here is the summary with links:
  - [net-next,1/3] ptr_ring: add PTR_RING_BATCH
    https://git.kernel.org/netdev/net-next/c/48f93560e2f3
  - [net-next,2/3] veth: wake the peer txq in the middle of the NAPI poll
    https://git.kernel.org/netdev/net-next/c/5c959d1a51fd
  - [net-next,3/3] veth: stop the txq as soon as the ptr_ring is full
    https://git.kernel.org/netdev/net-next/c/241e0324d7c1

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Technical Details
Message-ID: <179618400599.1171047.6158557625570551593.git-patchwork-notify@kernel.org>
Path: mbox-mo1.pugleaf.net!srl.newsdeef.eu!newsfeed.bofh.team!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-375543-linux-kernel-netdev=dewy.ru
References: <20261125152311.805325-1-simon.schippers@tu-dortmund.de>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srl.newsdeef.eu!newsfeed.bofh.team!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-375543-linux-kernel-netdev=dewy.ru
From: patchwork-bot+netdevbpf@kernel.org
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH net-next 0/3] veth: earlier txq wake and stop under
 backpressure
Date: Wed, 02 Dec 2026 04:00:05 +0000
Organization: Usenet Network
Message-ID: <179618400599.1171047.6158557625570551593.git-patchwork-notify@kernel.org>
References: <20261125152311.805325-1-simon.schippers@tu-dortmund.de>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit
Injection-Info: usenet.network;
	logging-data="1882680"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:1X4IGEs9zPZhKT6ZePxTMCYq0vg= sha256:fj5kJ9pWtV+PUKdG7UHQ2RjDCefIBsreyho27qJP/Fg=
	sha1:Y44ddZ7s0aZO/bCOrwRxidNcRZo= sha256:MN3gFM9my1wsq2ZKDz8JQv2C/3v9eGSDjVQjioYHZeE=
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 9333E117555; Wed,  2 Dec 2026 07:00:23 +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 rzEtucbzXezI;
	Wed,  2 Dec 2026 07:00:20 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=netdev+bounces-375543-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 sea.lore.kernel.org (sea.lore.kernel.org [172.234.253.10])
	by mail.dewy.ru (Postfix) with ESMTPS id 9FE7E117551; Wed,  2 Dec 2026 07:00:10 +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 142A22DEC1; Wed,  2 Dec 2026 04:00:09 +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=1796184008;
	b=falpV1KoYIuknx92SqFhrjc2nQQNkn5pbd8sWQ75BUDRQY+/SuRjDyD9ZIqjm2AN3sFL
	 GxmRkPfPoDXP/XQiiqb6duilYkr+Cw1bYp0BJX0aymxdpp1J20bH4clM8vZZJn3QcPgCo
	 yWe5qY/uqIiB74WLNO3nOGtjvCR2E0s0TuZoTOyL6NutbUPphkmFk5oWNEl0V9SXiQ7Vz
	 o7/zBQgQxVHlPCy+LMDGcZnpHJgGNtth+8UnERcynnVo3fjVLj7jPDEwnXJ7Xy9COEP6F
	 v+AxZgB3QoIiY/bjZaOSD1Gs88SkEFAVAgsBkc98/iGHCXFRdmjpZ9zx+wSYxVnzp+A==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1796184008;
	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=LUIVC8ZYoZZoCGlWletsFqq2r93u/Z6qcpY3w/VVqcQ=;
	b=EEtzQwI1iw4f+BzZiHerpJUboKMcoxUd/t/bjNQI25Ta5gJLNqd1KziSiFclcO6uKZHq
	 94vYAXpCh+m1MlSoNHpUymaXAgFuwyQuO/GtF7kwnb5TbZl/xZeZW/k2UJrIElrniXflT
	 60lbhwz0BhCPy7DKI92mAeM0zs9u6d4IejX3Nmuvb5GudLD6eDDf0cl/7HX7ILNc5TLnb
	 lvYuXwC8mT0wWgUb4EJyFDQXTepUEBJ5tO2H5oxX94DfHn4Q6h21OJtV1Vf9WK/++upOx
	 duaRlSe7ZBscBueu4AH6LrxkKLWCBkzbykkdUIcWJtLGfWX4JOnwSL2E5wDC5QSgiCA==
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=fmuCD0h1;
	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 DB83E606A332;
	Wed,  2 Dec 2026 04:00:08 +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=fmuCD0h1
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=1796184008;
	b=B82vMamQ8+PfuL4WFQ2O5O7LS87LMa8UXc3NsK0dBa1MHTzwLfuq+nJroNygD6w+vcO6
	 jPSV1OAj3ngiN9FzW3cijvu1ATL8KUoyId2pQSjZ4otRcGQWewFg6WszdiQdie6RyfQBq
	 ttkkk3FTlasyE1adxgaVvGl4C3SIVqd+uOJ83MOV7pyn4EO0GaF/SfS93MPFfy5Aq6ku/
	 oV9i6pWXnuf3FvG57CbJ0cEqtPtnSIWZ8I2irQRJXTOBhisowe9X/cVOyHHOtAY6VZy/j
	 JryhG5IH2PeOfHkmn1dgs0B1NsSyyCNhxWnlMTESQ6DOkVaQx17kM8CEqyAHu7+gSsQ==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1796184008;
	h=Received:DKIM-Signature:Received:Content-Type:MIME-Version:
	 Content-Transfer-Encoding:Subject:From:Message-Id:Date:References:
	 In-Reply-To:To:Cc;
	bh=LUIVC8ZYoZZoCGlWletsFqq2r93u/Z6qcpY3w/VVqcQ=;
	b=va76NMUcC9uGpdrMyZ5lWUd1sFmfSrMDTc7CU/0GhC7HpSuHdBpIfb6ZWYkZyjQCGSaV
	 ISXRPJ/KyUskbyXnMUX8I2EdfApgCohisn7UzwdAD7+Ou9L1FtCMw60t3F0xePxLVQ7j1
	 MO5r7Nn6fkX7azc/NjTBI3CDT+QYz/Hq5nSvnF7BAAvPnNhJrD1KK5fcn9B5lbU9QJqIn
	 gRDu6CfcmP0ZY9Blzxe0hDDfr00QJikvSBBAxrWKKa8VNXHD4p9/hIUzqntOlzBWq3D34
	 jEtTOSawrL3fC47LDFJwgZexNdeKTzM037XpbCSneB4hB033LHioQuRWeRFtfR0jrOg==
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=fmuCD0h1;
	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 06975606A327;
	Wed,  2 Dec 2026 04:00:07 +0000 (UTC)
X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7AA861F00893;
	Wed,  2 Dec 2026 04:00:07 +0000 (UTC)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org;
	s=k20260515; t=1796184007;
	bh=LUIVC8ZYoZZoCGlWletsFqq2r93u/Z6qcpY3w/VVqcQ=;
	h=Subject:From:Date:References:In-Reply-To:To:Cc;
	b=fmuCD0h1msYNKfbuIO28zGChrQ/4PimkI0KDQTDPSGr7YwxuJ8IFuX5nPy/KL6mSC
	 VHrCFWyVPaa9qAZwF74SZAGZOq2kC6IZez547ymok8cMljkLrplnUjJQIyrfAnLviZ
	 zc++DuMtGlFJTLFjQpjZiS0gWrUrTSKmM1LllS3I2O9GimN3dfxQDcQJWmK0fgkz1l
	 xGvrB2G3MJqOqRe7UCcLRmK0su3bTv8G8t3OWo4mC5ggQpFDxjTEPgeK1N96/fJb06
	 Nxm/FfQeBuK+zoACmjS/wIcCwiqwFK/l6Mj81A89CbBUGwkVQBJD3zjZONQkKuewUo
	 jTsTVuzwWQdtg==
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 6B0FA380821E;
	Wed,  2 Dec 2026 04:00:07 +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: <20261125152311.805325-1-simon.schippers@tu-dortmund.de>
X-Cc: netdev@vger.kernel.org, andrew+netdev@lunn.ch, davem@davemloft.net,
 edumazet@kernel.org, kuba@kernel.org, pabeni@redhat.com, hawk@kernel.org,
 tim.gebauer@tu-dortmund.de, j.koeppeler@tu-berlin.de, mst@redhat.com,
 jasowangio@gmail.com, ast@kernel.org, daniel@iogearbox.net,
 john.fastabend@gmail.com, sdf@fomichev.me, bpf@vger.kernel.org,
 linux-kernel@vger.kernel.org