Article View: linux.kernel.netdev
Article #23202Re: [PATCH net-next 0/3] veth: earlier txq wake and stop under backpressure
From: Simon Schippers
Date: Thu, 26 Nov 2026 18:06
Date: Thu, 26 Nov 2026 18:06
12 lines
9358 bytes
9358 bytes
On 11/25/26 16:23, Simon Schippers 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"):
I looked at the sashiko review. Both points are right, but they are
low-severity comment nits with no effect on the code, and addressing
them would only lengthen the comments. But I can change them in a v2 if
preferred.
Technical Details
Message-ID:
<61e80a8e-320a-497d-a24d-708dd1acff10@tu-dortmund.de>Path:
mbox-mo1.pugleaf.net!srv.newsdeef.eu!news.mb-net.net!open-news-network.org!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-372268-linux-kernel-netdev=dewy.ruReferences:
<20261125152311.805325-1-simon.schippers@tu-dortmund.de>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!news.mb-net.net!open-news-network.org!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-372268-linux-kernel-netdev=dewy.ru
From: simon.schippers@tu-dortmund.de (Simon Schippers)
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH net-next 0/3] veth: earlier txq wake and stop under
backpressure
Date: Thu, 26 Nov 2026 19:06:36 +0100
Organization: Usenet Network
Message-ID: <61e80a8e-320a-497d-a24d-708dd1acff10@tu-dortmund.de>
References: <20261125152311.805325-1-simon.schippers@tu-dortmund.de>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
Injection-Info: usenet.network;
logging-data="528258"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:ulBGF5WQ32W/+UoqxciDZaigmZU= sha256:cp3Y1eeDiD96OfgR1vYzPjXHH+PmpdxMtgI9kICl9Dw=
sha1:z+ELS3WjBmdstn7AchIuWw60Ogc= sha256:3ORIewMHy3Q+Xm9CfmvxHdCM/KYbGjZbUnPkvF/Y8Jk=
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 3B0B7125EF2; Thu, 26 Nov 2026 21:07:33 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -3.051
X-Spam-Status: No, score=-3.051 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] 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 tcocKDhW8eOe;
Thu, 26 Nov 2026 21:07:30 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=104.64.211.4; helo=sin.lore.kernel.org; envelope-from=netdev+bounces-372268-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 sin.lore.kernel.org (sin.lore.kernel.org [104.64.211.4])
by mail.dewy.ru (Postfix) with ESMTPS id AE6B6125EEE; Thu, 26 Nov 2026 21:07:21 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92])
by sin.lore.kernel.org (Postfix) with ESMTP id 72BD324F33; Thu, 26 Nov 2026 18:07:19 +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=1795716438;
b=XgFJpK/0JxBug6+SPzE4N+FsRpHewd6bsMXeRPlp264so0xpN5WRsshPbTXgP9q5JPwW
qLGBpOYkQ/RuLpUYY7LIO6WrW3NsodGsEJYz3fwSvlrH5afJMQx8yRnX/sJ+Lo+eqwNcU
0ukweCBXEmdzcxGN53RBg3xlAF6OerAaDSe0GUUGNTciKOFAsRf8KHoIiciY+jTJrW95F
5cl5/BwkHOrjhHEzA0UbXIzIgkzFSYUEgZJSs/c/OmC8aPP79eXuob6gwBEM8DLlCbIWc
btDHeEODSgPJA0FQC0SmBa+b27GWG2rCQV6JL92olbs2zSzO7tZ/gUa6kfctcenEahg==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
a=rsa-sha256; c=relaxed/relaxed; t=1795716438;
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=6+hU3UA5s6I/NTpkLAZ+BjhMDXENiELATWgF9iF0YoM=;
b=JsvGVjbSthKu746Qmus8fgslaVFWw6l8Dre7uOs8uvfxEGmB3+jaYliD+jRgtbEF6TEK
Zi9LT4zh/BGyTkTxwgoqsT/O4uU/oG0+qe9vMWAYYYX8JtVDQ4+os4eJo8Ev4wFodIL+/
aduVYQX9/HzwYAKZyoxhZwZs+h8DZy/G590Xo5SHsLHIn2zRwYsfJ3yOdv1Atho+iF8Y/
z46Qorgtf632i/cbrwnAhEBsK+QWiKfbjhERaZsPfGq3FdtuWwLMzFixhyYnDO4vc0nCu
IADQIqUEpzpfS6FkZdpbJ2HHOyXF2vD0XlmNm2cSInc5Hr+sTUM3cVaV6zOGE6aRBAw==
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="l0/9dwIa";
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 18834606A333;
Thu, 26 Nov 2026 18:07:18 +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=l0/9dwIa
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=1795716432;
b=pu+uv91yjTC3MX/eieOkKI70gmTQxDXG8peYkt39vcZojphtSuSvHZcEPtGGQmAE80a1
rq1ROi18RA6QK/lkKWjqGjxRoI/siavcpTPxKim0YkyaDyuTXf6IR3raH//38QvwPOQtE
/hX2+siz4nbG68h79sbBpxTfkGTGtz/XOTZfSwZI4Af/jWhH98IOjCZMoWt5aEwD5aIO6
Nuz2rLGjqvnW/EsSzDkSwjPtfNTSmajbUeDRgCmgwnRxBVxsapfsMIqD4PhOmtNpFrlXv
eP/dFcIBbUhRGQYMTe+A7MzYloKN1VC5wyOOi/FSehnvGzI9nzAEqJnmgA2z8VhEKkA==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
a=rsa-sha256; c=relaxed/relaxed; t=1795716432;
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=6+hU3UA5s6I/NTpkLAZ+BjhMDXENiELATWgF9iF0YoM=;
b=FJ5h7D3wJmO/wDm7yAAZCXISybHjJwAQrmqyDVBbugYCip5jbeG8AMtXBnkJWYoKWptR
fQ7lUZ+MeOdqyUw4TGUbQKKkEmsMC9u25ltxvx8xCIKp1W4syhZB58tAuKct9uXOGhF40
x7Y9QK2X8Jj+FFlC2oT5mAkvobjKN82goNCXgTX0uAWT4hxvfg2KLUxvx39O90W2OCpJX
8rH04NKd7kYGAEQHJcwr7ajcvtjTuu2LlpcKxLtlnqW1sf6HbgSypk8LVQm09oUHdko8E
oQOiB2Q2YRFYFvz+93YJWVHAUHYSg1x1rt/h17qiM49Pr6eRg81D5K0JRXGbuoA48/A==
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="l0/9dwIa";
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 0765A606A31C;
Thu, 26 Nov 2026 18:07:09 +0000 (UTC)
X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 0765A606A31C
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=1795716398;
bh=6+hU3UA5s6I/NTpkLAZ+BjhMDXENiELATWgF9iF0YoM=;
h=Date:Subject:To:Cc:References:From:In-Reply-To;
b=l0/9dwIaZpv+KDaKcRsCxtAWIRuftNDPPiORFqoPlZoL7yzV18Gps4cON6/XbGalv
vyAgqxPfsb/Ti3JyD7/YQS1FVU7T0CMMz7blxT/0EkCi4Vvz6Xj5+WHzwtoS+lgRjz
XPL5rSlTFdgjSRLunmb6mqGyOtOUbqB2ZgCZ/wcg=
X-Received: from [129.217.186.54] ([129.217.186.54])
(authenticated bits=0)
by unimail.uni-dortmund.de (8.19.0.2/8.19.0.2) with ESMTPSA id 6AQI6avb020167
(version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT);
Thu, 26 Nov 2026 19:06:36 +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>,
Tim Gebauer <tim.gebauer@tu-dortmund.de>,
Jonas Köppeler <j.koeppeler@tu-berlin.de>,
"Michael S. Tsirkin" <mst@redhat.com>,
Jason Wang <jasowangio@gmail.com>, Alexei Starovoitov <ast@kernel.org>,
Daniel Borkmann <daniel@iogearbox.net>,
John Fastabend <john.fastabend@gmail.com>,
Stanislav Fomichev <sdf@fomichev.me>, bpf@vger.kernel.org,
linux-kernel@vger.kernel.org
X-In-Reply-To: <20261125152311.805325-1-simon.schippers@tu-dortmund.de>