🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #18054

[PATCH net 1/2] veth: wake a stopped peer txq beyond real_num_tx_queues

#18054
From: Simon Schippers
Date: Tue, 17 Nov 2026 18:53
26 lines
9698 bytes
On 11/17/26 19:16, Tianyi Gao wrote:
> Hi Simon,
> 
> On Fri, Nov 13, 2026 at 11:46:47AM +0100, Simon Schippers wrote:
>> Fixes: dc82a33297fc ("veth: apply qdisc backpressure on full ptr_ring to reduce TX drops")
> 
> I agree with Sashiko on the Fixes tag.
> 
> I have reproduced the stall with your script (stuck after 2 cycles) and
> confirmed this patch fixes it (all 30 cycles pass).
> It is tested with veth from net at 5e9b2ad9b838, as a module on an arm64
> VM with 8 vCPUs.
> 
> Reviewed-by: Tianyi Gao <tianyi@cloudflare.com>
> Tested-by: Tianyi Gao <tianyi@cloudflare.com>
> 
> Cheers,
> Tianyi

Hi, thanks for your testing!

Yes, I should have referenced the other commit, will post a v2
if requested :)

Cheers!
Technical Details
Message-ID: <ab31c0a9-8e3a-4c24-9570-7baf91c22288@tu-dortmund.de>
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-365542-linux-kernel-netdev=dewy.ru
References: <20261113104648.225983-1-simon.schippers@tu-dortmund.de> <20261113104648.225983-2-simon.schippers@tu-dortmund.de> <20261117181607.30219-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-365542-linux-kernel-netdev=dewy.ru
From: simon.schippers@tu-dortmund.de (Simon Schippers)
Newsgroups: linux.kernel.netdev
Subject: [PATCH net 1/2] veth: wake a stopped peer txq beyond
 real_num_tx_queues
Date: Tue, 17 Nov 2026 19:53:53 +0100
Organization: Usenet Network
Message-ID: <ab31c0a9-8e3a-4c24-9570-7baf91c22288@tu-dortmund.de>
References: <20261113104648.225983-1-simon.schippers@tu-dortmund.de>
 <20261113104648.225983-2-simon.schippers@tu-dortmund.de>
 <20261117181607.30219-1-tianyi@cloudflare.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
Injection-Info: usenet.network;
	logging-data="2403250"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:+OuiA1a/jlQqn5HE9+8MMfmhOy0= sha256:One5S7XKSOcZOjyCa4QCWc+OzJrW8jxfZB9gV9djtu8=
	sha1:Xeq6YVBPduPMTUnWXpT71ULSKLE= sha256:9LHly8FI5KEJNszQCeiZvGYHAYj5DAmdCiSUtVx3CLU=
Content-Language: en-US
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 12ACA115049; Tue, 17 Nov 2026 21:54:56 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -3.05
X-Spam-Status: No, score=-3.05 tagged_above=-9999 required=6.31
	tests=[DCC_REPUT_70_89=0.1, 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, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
X-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=pass (1024-bit key)
	header.d=tu-dortmund.de
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 fNQIWfnCnqbr;
	Tue, 17 Nov 2026 21:54:49 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.105.105.114; helo=tor.lore.kernel.org; envelope-from=netdev+bounces-365542-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> 
X-Authentication-Results: OpenDMARC; dmarc=fail (p=none dis=none) header.from=tu-dortmund.de
X-Received: from tor.lore.kernel.org (tor.lore.kernel.org [172.105.105.114])
	by mail.dewy.ru (Postfix) with ESMTPS id E4440115011; Tue, 17 Nov 2026 21:54:38 +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 46177447A3; Tue, 17 Nov 2026 18:54:37 +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=1794941673;
	b=ZP2ILRnJ5gh9SciXSzAh/Q/s0cIsoDCcdJO4/nDhh9f0uTw8vWUAacg/7MNMXYKA/Nn1
	 T/ot66YVCa7IsaAwGDSpvDFXlG5QjVL5g8sN5oR+J/TpsH9n4K+ZeqZm/R+HQ8BAyUap8
	 rxUwGAA3pRcMvqNIouWn/yuqjuBfBzBykLpnKSKW1Yf5d87CNAPgo0CdrJ6VdEvf0pGPk
	 yjBpt3ZXpzmfFg9QeO2nK1oHeIJqBYfySwoXvDF2yla7MISeyhE6OafqVx78Kv3ypxJir
	 jGahmL0cQXSw2RQweL0AHofhpwEfrdm3UGL81ZugAfZAYrS+aT9ij31cTeGxlRcoZHA==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1794941673;
	h=X-Original-To:Received:DMARC-Filter:DKIM-Signature:Received:
	 Message-ID:Date:X-Mailing-List:List-Id:List-Post:List-Help:
	 List-Subscribe:List-Unsubscribe:List-Owner:Precedence:MIME-Version:
	 User-Agent:Subject:To:Cc:References:Content-Language:From:In-Reply-To:
	 Content-Type:Content-Transfer-Encoding;
	bh=oyXfSxY1SC5sSASaK9sor3nEs3De0DC+JXPLMJXd4kw=;
	b=aNbpNtlcH3vr2CQVkMZC8mBIrRqfMN3NHPGXj1tnxhYU1SeBFxobBqkzuMzN7SkXLaCg
	 uUdGAXMdeQ2vRpd++gIR0v18VopwzbJknLu+q0JedXc/lHwKF22otv8xMXoJvImb3ol19
	 6EURr2GaQQoDPkHQp4hN6RoG619di0VaoErR8w1jO87vlVWU2XJ/hbZkpbz2kvKQEgAkE
	 nV8duT19gZTUYe6zg5B7m9AwKeDlcORd2Bu6fVK4meF3Wz3NdnX9A2W+/j4znZwFsc/SK
	 HcrL+M2lE3Yw85F6zU6eoH7EZkfq2qGkIPMMyOlOGn18Pw0NAgxJPXfIA2IpATNsSHw==
X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; 
	dkim=pass header.d=tu-dortmund.de header.i=@tu-dortmund.de header.a=rsa-sha256 header.s=unimail header.b=pWRCdIsA;
	dmarc=pass header.from=tu-dortmund.de;
	spf=pass smtp.mailfrom=tu-dortmund.de;
	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 D4EF7606A339;
	Tue, 17 Nov 2026 18:54:33 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
	dkim=pass (1024-bit key) header.d=tu-dortmund.de header.i=@tu-dortmund.de header.a=rsa-sha256 header.s=unimail header.b=pWRCdIsA
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=129.217.128.51
X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none;
	t=1794941668;
	b=sAI5+IvlTIvgDXS8tLRYxuXa5Hljh6JKZ/ubShhllHoJjAZbNs9Lt+s5UiQHopTsewB8
	 s9vSAqFzxmwk0NNHKB545Wea9tybHWgWew9TKeri9ZRueLl613NwybdtgfwDWHaACAQr/
	 +gA/u1TjDvq2Kk6Kc0S3N2y2sFFfhauxlF0OeMv4BTV3YnrnTd1D6VGWbsIbDEws6TU89
	 NhkStdKf766WMa2waNp3BNZFRqNunkiEognCsS3dStoNnQzEviU9plo8N6K9QcLeKcyN1
	 ds8v4jjwiH4F4m7AKWkKRRDPSGrdaNGvA8j4X29Ki5SX6467NdjidmYcWKqBGt5dXmg==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1794941668;
	h=DMARC-Filter:DKIM-Signature:Received:Message-ID:Date:MIME-Version:
	 User-Agent:Subject:To:Cc:References:Content-Language:From:In-Reply-To:
	 Content-Type:Content-Transfer-Encoding;
	bh=oyXfSxY1SC5sSASaK9sor3nEs3De0DC+JXPLMJXd4kw=;
	b=jaalEh77NKg671alAxoJsGwQNQZ+tVni+52+sahwBejBNVjPo2qsvqwkgFd0ciCZSBIW
	 YGW6eplZfkkbKfv/RZRFRNyXDIpttBuJxX3gyqeH6fSUF33M3FCyU+TDtFV5IXZaLWHkv
	 vJCjmG7fQWguijvjck8cGwAb8XKnc57G/4QazK0gLWnvdPFIKZqHUPh1+i7+v2rjOa5JN
	 IftD4UGJfz50oV7Ngdis0JORp8gwkLrCgYoctwn3FGj0oaSlGRsvwqaGUyL5ve+RmLqhD
	 +WVFprF2DKc9hsug7yaEhG9ibvcX0/GQk3AsJb3MxoFz82xxwaXHfmmBk5nrtdZOGHA==
X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; 
	dmarc=pass header.from=tu-dortmund.de;
	spf=pass smtp.mailfrom=tu-dortmund.de;
	dkim=pass header.d=tu-dortmund.de header.i=@tu-dortmund.de header.a=rsa-sha256 header.s=unimail header.b=pWRCdIsA;
	arc=none smtp.remote-ip=129.217.128.51
X-Received: from unimail.uni-dortmund.de (mx1.hrz.uni-dortmund.de [129.217.128.51])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256)
	(No client certificate requested)
	by smtp.subspace.kernel.org (Postfix) with ESMTPS id AA0CD606A32A;
	Tue, 17 Nov 2026 18:54:26 +0000 (UTC)
X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org AA0CD606A32A
X-Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=tu-dortmund.de
X-Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=tu-dortmund.de
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tu-dortmund.de;
	s=unimail; t=1794941635;
	bh=oyXfSxY1SC5sSASaK9sor3nEs3De0DC+JXPLMJXd4kw=;
	h=Date:Subject:To:Cc:References:From:In-Reply-To;
	b=pWRCdIsA1hx7NU9gQn6CuN4ZRk8OSoF+AMDAtuTp/Oa/E0Pw9cUEbL03OaEDKH0Yn
	 F92g5I4l3UjO+kpOh/GaR5rUN4vt+hyNse4azoY2L1G/sbwAt0KocTlrQeA0q6Tym7
	 H7nGhDzGakSkptxhC1wBCK+Bbs037Gr7y5PHP0qg=
X-Received: from [192.168.0.202] (ipservice-092-208-185-164.092.208.pools.vodafone-ip.de [92.208.185.164])
	(authenticated bits=0)
	by unimail.uni-dortmund.de (8.19.0.2/8.19.0.2) with ESMTPSA id 6AHIrrEg001015
	(version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT);
	Tue, 17 Nov 2026 19:53:53 +0100 (CET)
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-User-Agent: Mozilla Thunderbird
X-Cc: Andrew Lunn <andrew+netdev@lunn.ch>,
        "David S . Miller" <davem@davemloft.net>,
        Eric Dumazet
 <edumazet@kernel.org>, Jakub Kicinski <kuba@kernel.org>,
        Paolo Abeni <pabeni@redhat.com>,
        Jesper Dangaard Brouer <hawk@kernel.org>,
        Toshiaki Makita <toshiaki.makita1@gmail.com>,
        Jonas Köppeler <j.koeppeler@tu-berlin.de>,
        Alexei Starovoitov <ast@kernel.org>,
        Daniel Borkmann <daniel@iogearbox.net>,
        John Fastabend <john.fastabend@gmail.com>,
        Stanislav Fomichev <sdf@fomichev.me>, netdev@vger.kernel.org,
        bpf@vger.kernel.org, linux-kernel@vger.kernel.org,
        kernel-team@cloudflare.com, tianyi.gao@linux.dev
X-In-Reply-To: <20261117181607.30219-1-tianyi@cloudflare.com>