From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 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== 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== 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 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) 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 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7AA861F00893; Wed, 2 Dec 2026 04:00:07 +0000 (UTC) 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== 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) Content-Type: text/plain; charset="utf-8" X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [PATCH net-next 0/3] veth: earlier txq wake and stop under backpressure From: patchwork-bot+netdevbpf@kernel.org Message-Id: <179618400599.1171047.6158557625570551593.git-patchwork-notify@kernel.org> Date: Wed, 02 Dec 2026 04:00:05 +0000 References: <20261125152311.805325-1-simon.schippers@tu-dortmund.de> In-Reply-To: <20261125152311.805325-1-simon.schippers@tu-dortmund.de> To: Simon Schippers 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 Hello: This series was applied to netdev/net-next.git (main) by Willem de Bruijn : 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