Article View: linux.kernel.netdev
Article #2115Re: [PATCH net-next] selftests: net: veth: test own ndo-xmit after peer GRO toggle while down
From: Narcisa Vasile
Date: Mon, 12 Oct 2026 04:53
Date: Mon, 12 Oct 2026 04:53
19 lines
9110 bytes
9110 bytes
On Sat, Oct 10, 2026 at 08:29:14PM +0100, Tianyi Gao wrote:
> Test that a veth device advertises ndo-xmit when GRO is enabled on its
> peer while both are down and only the device is brought up.
>
> Commit 7a6102aa6df0 ("veth: Update XDP feature set when bringing up
> device") made veth_open() set the flag in this case, and selftests were
> requested in its review [1].
>
> The block now ends with GRO enabled while the peer is down, so the
> aggregation check that follows covers NAPI enabled by veth_open() again.
> Commit c017800af5c7 ("selftests: net: veth: test peer ndo-xmit after GRO
> toggle while down") had moved it to veth_set_features() [2].
>
> Link: https://lore.kernel.org/all/155aabf8b873bb8cdcafbd6139c42b08513e5fe6.camel@redhat.com/ [1]
> Link: https://lore.kernel.org/all/179165459278.434549.1711113374323842550@kernel.org/ [2]
> Signed-off-by: Tianyi Gao <tianyi@cloudflare.com>
> ---
Reviewed-by: Narcisa Vasile <narcisav.kernel@gmail.com>
Technical Details
Message-ID:
<asxntk6HV+jmAlKe@gmail.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-344717-linux-kernel-netdev=dewy.ruReferences:
<20261010192914.83651-1-tianyi@cloudflare.com>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-344717-linux-kernel-netdev=dewy.ru
From: narcisav.kernel@gmail.com (Narcisa Vasile)
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH net-next] selftests: net: veth: test own ndo-xmit after
peer GRO toggle while down
Date: Sun, 11 Oct 2026 21:53:10 -0700
Organization: Usenet Network
Message-ID: <asxntk6HV+jmAlKe@gmail.com>
References: <20261010192914.83651-1-tianyi@cloudflare.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Injection-Info: usenet.network;
logging-data="1687232"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:Ha82fLOupzlT9At/HZ4VGotFnV8= sha256:IP10++xb4mPROXAZa+A+7p5mBWU14RONdumMbPzOj0c=
sha1:r1Y/2OC+9zzUKmQZCoWxffZIUOM= sha256:6zZf5M+AAxq06YvJ4YJDb0HewCxmJ9FD5PqgKmRhPUs=
Content-Disposition: inline
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 7078A10FAE7; Mon, 12 Oct 2026 08:01:41 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -3.049
X-Spam-Status: No, score=-3.049 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, FREEMAIL_FORGED_FROMDOMAIN=0.001,
FREEMAIL_FROM=0.001, 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 (2048-bit key)
header.d=gmail.com
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 DQkSlueVegpI;
Mon, 12 Oct 2026 08:01:37 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=netdev+bounces-344717-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN>
X-Authentication-Results: OpenDMARC; dmarc=fail (p=none dis=none) header.from=gmail.com
X-Received: from sea.lore.kernel.org (sea.lore.kernel.org [172.234.253.10])
by mail.dewy.ru (Postfix) with ESMTPS id 3386E10FACB; Mon, 12 Oct 2026 08:01:31 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.90.174.1])
by sea.lore.kernel.org (Postfix) with ESMTP id D0F442EFD4; Mon, 12 Oct 2026 04:53:31 +0000 (UTC)
X-Received: from localhost.localdomain (localhost.localdomain [127.0.0.1])
by smtp.subspace.kernel.org (Postfix) with ESMTP id 166AB3914E0;
Mon, 12 Oct 2026 04:53:30 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="D84sYLaR"
X-Received: from mail-pl1-f182.google.com (mail-pl1-f182.google.com [209.85.214.182])
(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
(No client certificate requested)
by smtp.subspace.kernel.org (Postfix) with ESMTPS id F022729E10F
for <netdev@vger.kernel.org>; Mon, 12 Oct 2026 04:53:28 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.182
X-ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116;
t=1791780810; cv=none; b=nGZjwZ536jnQW56YJ8hJTJhNlAhEiBvfz6gDxITWuKlXYe+gFVt6EnkZ8acZKBlnqwjifWh6XezCaBlXTglWaD2SoHC1h4gntg8xidJX5vWwyOt/7sgJNFvZ4D64uRPyKzSQNh1VQHimV8ss9u+B2mWbyBpVxejYp0myjMpY6Uc=
X-ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org;
s=arc-20240116; t=1791780810; c=relaxed/simple;
bh=+zV7sFiMSvN0UbgFYqMAE/i3qFVYLZt2GxL4VcuKrGU=;
h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version:
Content-Type:Content-Disposition:In-Reply-To; b=qLwFbajC7kg+hUJ58vT4wts4zPznf3C5xJMiw7oVTlVzAOsdRWtfq7TLsid5ngxKV1baJ6Qcuu0derBMiPCoyP4LR8GX+vgSbE03xEYUoMscjFXQHgcu16mGwp1bFUADFG7qnZOpRbAdb3HUYcjUgfwxMc7ZS4rVyYRPcSCzwMM=
X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=D84sYLaR; arc=none smtp.client-ip=209.85.214.182
X-Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com
X-Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com
X-Received: by mail-pl1-f182.google.com with SMTP id d9443c01a7336-2dd76b1361dso8393225ad.1
for <netdev@vger.kernel.org>; Sun, 11 Oct 2026 21:53:28 -0700 (PDT)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=20251104; t=1791780808; x=1792385608; darn=vger.kernel.org;
h=in-reply-to:content-disposition:content-type:mime-version
:references:message-id:subject:cc:to:from:date:from:to:cc:subject
:date:message-id:reply-to:content-type;
bh=Q+hTqAW+4rixFX4ZbUNxn8AzXmHJNOSXE7y5h2vkHY8=;
b=D84sYLaR4YuGJ3Tl+CCeHEOrE/swfnapvDTcgX/UlfMyrMB9l5Od1taZsXL0YYbE9W
AA1bZaJuZ2l1tvvTcbzDsUBOa0vdQWoRWD8xs0u9G2kU+3CxN/sKFzeU0UVxOO7MssXh
1dsj+HXLnPChNW5S7Zc8kkv2u0XMmZ1lFP2rhhAT9MMqE9tHmyLjyO9vmaOgtGIT6Rim
KbN5YeG9UyVbejodzFAn8XNp+HHjxQTt/J5tHamoaiK0GQV4dlHAvmAPsCgvDBZA6bHN
xPfh1kb/LoDqfvSc8RBRPCW+qYT05RptmKrRjb7Vgxp4POx8s6FD35EIyF0oFm6lH+Kj
T02A==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20260707; t=1791780808; x=1792385608;
h=in-reply-to:content-disposition:content-type:mime-version
:references:message-id:subject:cc:to:from:date:x-gm-gg
:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to
:content-type;
bh=Q+hTqAW+4rixFX4ZbUNxn8AzXmHJNOSXE7y5h2vkHY8=;
b=Dhrqk77XHuaVnIbIaTDCxOczJY+/+qSVhA3aD4mZkc2f7qFYNPBEQrDYAHDlwD4yxn
YrR16mGeTtkJjcDSU4NgezAgmr1FFN/ZCdGoYe4BOFnO9zSTg4lDK4IZ/6iuji4IA46V
623KIDTR1MHe9zlHrnPgEOA5RJVqdnNplaC73+peykrJMkXnKqJPGoKbF2XoKcdOBB69
uygRcDg5kVT6S0wN/b9b52QBLYOi4KFwUzoeONBiPQ7VvQG8QFWU0vsVlHhugVm2XhL+
s8QdhmYcC08z8UDeywFZrPQ+RhmJgcYq9Ind+K8r4pyNowWCJL1vzYuwgwaokKFedENK
7SQA==
X-Gm-Message-State: AFq9FYLq8q9XfPFrnGCLOYOojpZfXwiNVPL3t31ZviLpv2N0gJS4okld
YgTYjyLEay+ik+WU1eV3EEBHzD2TUwYMA4bXgK1EB5RwfTFiVt+zpPY6
X-Gm-Gg: AYBFou3/6IENQ2r3pUyblkem7He2PZzbVCCxb86bo4lJw2wmN35ttGOjlO6WmMB1uj3
pJuZv8vVfQrMt9OYk4KOy0NlNapgscmK/UyVhbSb2qtO7/9i4QtOfXQRWfK8ccxTdfpKZcUzfMS
69fH1vfM/1UIb8Z51BOBWUp9uOnS7xFCzl2rP2/wRC6tGXUkUenm7nlMxgafuN2M/BIpnAt7gtl
LgEmONNut4dLue/Bgs+jDIcFIM2MoUGVtXvTOoefW/Gg8ip2NyuDvT9VZHsKbWz0AW45PPWcifV
UZdym/xi6COe9EoOehScsXVHTs5L0mPyxFtT39d4LXWQNRR1flB0xj/RoVLgyXNWhiqe+SCYIgY
RYVqfsw0UNxyM3/zxmHOAeugUH+pSGsjH7JDA2NSsxjOn5qc8u2AChL5C70botPiz9ZgO8M4wmE
r1jWtZyzluDmOVLUE7VkbIBscFp9Ja7iZHRbJqICrzK9KZyiBeeuzbl6wjLHu1D0lKxPVmMtE=
X-Received: by 2002:a17:902:d50a:b0:2e6:943:39df with SMTP id d9443c01a7336-2e842bc7e0bmr68793605ad.25.1791780808097;
Sun, 11 Oct 2026 21:53:28 -0700 (PDT)
X-Received: from gmail.com ([2a03:2880:7ff:5b::])
by smtp.gmail.com with ESMTPSA id d9443c01a7336-2e8422b8cb6sm38358745ad.60.2026.10.11.21.53.27
(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
Sun, 11 Oct 2026 21:53:27 -0700 (PDT)
X-Cc: netdev@vger.kernel.org, andrew+netdev@lunn.ch, davem@davemloft.net,
edumazet@kernel.org, kuba@kernel.org, pabeni@redhat.com,
horms@kernel.org, shuah@kernel.org, toke@toke.dk,
lorenzo@kernel.org, hawk@kernel.org, ast@kernel.org,
daniel@iogearbox.net, john.fastabend@gmail.com, sdf@fomichev.me,
bpf@vger.kernel.org, linux-kselftest@vger.kernel.org,
kernel-team@cloudflare.com
X-Precedence: bulk
X-Mailing-List: netdev@vger.kernel.org
X-List-Subscribe: <mailto:netdev+subscribe@vger.kernel.org>
X-List-Unsubscribe: <mailto:netdev+unsubscribe@vger.kernel.org>
X-In-Reply-To: <20261010192914.83651-1-tianyi@cloudflare.com>