Article View: linux.kernel.netdev
Article #26217Re: [PATCH RFC net-next 5/7] net: dsa: qca8k: select the four-byte format before port activation
From: Linus Walleij
Date: Thu, 03 Dec 2026 08:40
Date: Thu, 03 Dec 2026 08:40
32 lines
10906 bytes
10906 bytes
Hi Fil, On Wed, Nov 25, 2026 at 9:50 PM Fil Dunsky via B4 Relay <devnull+filipp.dunsky.gmail.com@kernel.org> wrote: > From: Fil Dunsky <filipp.dunsky@gmail.com> > > Select the requested format from the CPU ports before DSA chooses its > tagger. Stop packet actors and verify the switch header state before > opening user ports. Use MDIO for management and preserve both conduit > MTUs. > > On teardown, retire flowtable lookups before changing the format. > Restore and verify the two-byte baseline before releasing the format > hold. The initial supported topology is the CS7542 dual-conduit QCA8337 > arrangement; unsupported topologies remain rejected. > > Signed-off-by: Fil Dunsky <filipp.dunsky@gmail.com> Over 1000 lines of code added to the QCA driver? Just to handle daisy-chaining this with another tagger, or something? The idea with the taggers are to work independently of one another, not to incur enormous patches to handle this or that special case, they should be re-usable independently of how they are chained together so this patch is just one big warning sign that something is off with this patch series. Yours, Linus Walleij
Technical Details
Message-ID:
<CAD++jL=Jz=nZj8Sb3gWbt2UqzD8F+Nz_Lf8GNiXk2mXkSx9-fA@mail.gmail.com>Path:
mbox-mo1.pugleaf.net!news-lon.pugleaf.net!feed-eu-txt.newsdeef.eu!feed-eu-ch.newsdeef.eu!srl.newsdeef.eu!newsfeed.bofh.team!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-376409-linux-kernel-netdev=dewy.ruReferences:
<20261125-almondplus-offload-rfc-v1-0-703175c6340c@gmail.com> <20261125-almondplus-offload-rfc-v1-5-703175c6340c@gmail.com>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lon.pugleaf.net!feed-eu-txt.newsdeef.eu!feed-eu-ch.newsdeef.eu!srl.newsdeef.eu!newsfeed.bofh.team!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-376409-linux-kernel-netdev=dewy.ru
From: linusw@kernel.org (Linus Walleij)
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH RFC net-next 5/7] net: dsa: qca8k: select the four-byte
format before port activation
Date: Thu, 3 Dec 2026 09:40:21 +0100
Organization: Usenet Network
Message-ID: <CAD++jL=Jz=nZj8Sb3gWbt2UqzD8F+Nz_Lf8GNiXk2mXkSx9-fA@mail.gmail.com>
References: <20261125-almondplus-offload-rfc-v1-0-703175c6340c@gmail.com> <20261125-almondplus-offload-rfc-v1-5-703175c6340c@gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Injection-Info: usenet.network;
logging-data="2438333"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:m5b65pTVYpuWRVYPNaHtDGApUtE= sha256:7t2sJ3saodiC+diD2r45Zv5URHfKADDnqsZIPnQGaVU=
sha1:memhBuYVxcmrUCQHQFAhP403eO8= sha256:qM4OddfTfrslcw3/XnexLvp4CP8FI8pzdqw+F/VwbyA=
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 8D66C117884; Thu, 3 Dec 2026 11:40:52 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -3.501
X-Spam-Status: No, score=-3.501 tagged_above=-9999 required=6.31
tests=[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 4UQjBzue4ZAC;
Thu, 3 Dec 2026 11:40:50 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.105.105.114; helo=tor.lore.kernel.org; envelope-from=netdev+bounces-376409-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 tor.lore.kernel.org (tor.lore.kernel.org [172.105.105.114])
by mail.dewy.ru (Postfix) with ESMTPS id AC7C7117881; Thu, 3 Dec 2026 11:40:41 +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 82A7926733; Thu, 3 Dec 2026 08:40:40 +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=1796287237;
b=VKZEv7quqHXCzqybnnP2wvG+Ufy8e4bbp16Vr7CBbaXC2G3vMGf6E41r93N7c7HS1l4X
1F9I2sqWe9DZUZim3FmgrYGhcMdBGDOssiCoH5bOKwVRRr1d37ieGSAxIpHoWkVW5lxLU
x2X9jQHY6d3QltmD5VPvzv2RCSmpcGJgCMIvx8MxJl0nJ5XSSgsW2BjS9xcZO0m6dm3BS
z5ayuv8sLoDXERDzWP6cpbLWdTF+f9D8HNtpX2rCDCXIX27SpPF2MZHE3zJ85LeJhfdDC
a8uuSZz/JAobr+7O6KDyXGGP51z0gf/o4/JbHBzfFKd0Tfc9RYSIsd9Rs/bFHd+HcpQ==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
a=rsa-sha256; c=relaxed/relaxed; t=1796287237;
h=X-Original-To:Received:Received:DKIM-Signature:Received:
X-Forwarded-Encrypted:X-Gm-Message-State:X-Received:X-Mailing-List:
List-Id:List-Post:List-Help:List-Subscribe:List-Unsubscribe:
List-Owner:Precedence:MIME-Version:References:In-Reply-To:From:Date:
X-Gmail-Original-Message-ID:X-Gm-Features:Message-ID:Subject:To:Cc:
Content-Type:Content-Transfer-Encoding;
bh=XL45Wv5pB5BO39wM4bHCbsxqrNrtL4otphCDB1BRlyk=;
b=ldF2auUslGqRTmuyboJq03k5WQGjhqRm3jKDhcwTAb4NE7H6NSmUOs1qe5jjemt7mSPz
OC+FfW4bHnXgax502czTzedYk1x3e9gKhQEI7plXdScbNOFC1SizYkMLo9eE38Zh6qTOf
rselDj0o5ATUcJ/Q5cCZiBaFsKrrUFoHP4Z06fKX9maGjQBwYKPqF15sJyj9f0cKovZtM
MFl5YuudvdvNoFqUhy8EhPwkCgKTtIUvF/L6XyRb9hubFFYwAFN/pPUTO/5iZouwpN2Md
HGlYeXRzYqaIpRuA2gcQU5YcxHcCAF8X2wusnOHagkZR2EL9RHa6rA9R4fI263ZB/7A==
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=TnpKvYcf;
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 383A3606A688;
Thu, 3 Dec 2026 08:40:37 +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=TnpKvYcf
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=1796287236;
b=1pEVL6pN9PPU8zTyEibMhWuM/j8foZK91q9+wgnafsnGNG8OgxBoM2kIDqzXOnRccTT0
73UGGDac/VYgoqAimLk3YkXeBQ8L1rS4JCd3+rNAajpS5gViCHIFXhrLiLZ1rwaA8PUQt
QorYbXbkGyj2iQnTt6hn+wZ1DksVj8PFk+aL9q7WJoAJXuue095681LOdJEKsJFN5nJvj
UeWFKv9ziXM0IOoFPXjXELul7Nd1zP5to4mkKt4Wt/xhJ2kaTdWb85ZYV+rlpAIYDl+Og
UoszhaxnHbluFKI/yET2HHQdOQyNg4wSekCr/ddDgOmc7sWW7kkaZZ9I0mqe2QJFIow==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
a=rsa-sha256; c=relaxed/relaxed; t=1796287236;
h=Received:DKIM-Signature:Received:X-Forwarded-Encrypted:
X-Gm-Message-State:X-Received:MIME-Version:References:In-Reply-To:
From:Date:X-Gmail-Original-Message-ID:X-Gm-Features:Message-ID:
Subject:To:Cc:Content-Type:Content-Transfer-Encoding;
bh=XL45Wv5pB5BO39wM4bHCbsxqrNrtL4otphCDB1BRlyk=;
b=vwoeMvyzVHEZoJwKKV8i/aQaeJUixsAc/086pM3l0yEVH8GzHZZRtD3pEvVfYLdwSrKB
jDY1noShu2JQptk45j+im+0K1MfQByPHHRz3PMcBAz1Zc1FTvCTbwhBeE/j4g7DvpOOo/
CH6CgEQd58PzcCmSaBjSiDgBE/K+gMi99DgAoSo9J5AMY43Dx49tCgVW4DM3xtduoLG28
WbZ4eZzyFuG/GLMRDozXUTHc4ACRMalCdMtLSVz+CR4tqqoqIMO7Adc5uuhRFk2Fw4hlx
qSG/GCe6C+3qfb0k5rfTJzmm2KNNVbVaNOGWNJEeujWLd5AysMHDvJMCs0QUfhBLTmQ==
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=TnpKvYcf;
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 5818D606A334
for <netdev@vger.kernel.org>; Thu, 3 Dec 2026 08:40:36 +0000 (UTC)
X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id DB3F71F00924
for <netdev@vger.kernel.org>; Thu, 3 Dec 2026 08:40:35 +0000 (UTC)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org;
s=k20260515; t=1796287235;
bh=XL45Wv5pB5BO39wM4bHCbsxqrNrtL4otphCDB1BRlyk=;
h=References:In-Reply-To:From:Date:Subject:To:Cc;
b=TnpKvYcfvgbyHiFHkXpJZOQjyogoR5bSU8dKp00TXRc+ng5av7h+niOuJUOEtdTH2
1aaeobnnJI+x2bt5jxmvS2inrXgrOSTRsHoRc2IypHzjVM/LZCuq2Tph4zjoOW5IrK
El3UHjJcbOe2EsqywzmVhME3pYzhibAQUbHgBztT3mjbJ2eDaLUTkbYeLwkoIa53qR
etfDdt9O1C3rXaFLVod/YT38RV2XXyHjWJDJvKGH6p2L6kwWKI+o4r+yKDOojy/5vc
3uytJuN37jj5vVBNeLTyfWT5X3moBJxaxf2fhwpXpr/tGr9WbPKaJiJXVDH5OO0XSL
iGTSwCpCArFWA==
X-Received: by mail-lf1-f45.google.com with SMTP id 2adb3069b0e04-5c07c7306e1so11486903e87.1
for <netdev@vger.kernel.org>; Thu, 03 Dec 2026 00:40:35 -0800 (PST)
X-Forwarded-Encrypted: i=1; AL+hErHT0/FEFmbwlD5GwJk/zMzN5wJasRAoXNcoSzOextZ335p89SsXteHrvJ3y4kDkAUoHr8iIOG0=@vger.kernel.org
X-Gm-Message-State: APuU4Z8jM7DFGnJvFJOa6B1FjL+U1ufJouAzEQ742FcNxrBqo6jJE9mg
bXv6++qs81mZ2EekEPnk355wdVA1BBX4TiFSSlij0Kvqa9TGIHXzlNND4PlzEdQqDKWJUPLg3Gz
sNdc/0R/xHlOsYvfLsYekYBFxAPoM65E=
X-Received: by 2002:a05:6512:2342:b0:5bf:f39f:cfc1 with SMTP id
2adb3069b0e04-5c1bc800ad8mr12623670e87.31.1796287234698; Thu, 03 Dec 2026
00:40:34 -0800 (PST)
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: <20261125-almondplus-offload-rfc-v1-5-703175c6340c@gmail.com>
X-Gmail-Original-Message-ID: <CAD++jL=Jz=nZj8Sb3gWbt2UqzD8F+Nz_Lf8GNiXk2mXkSx9-fA@mail.gmail.com>
X-Gm-Features: Aa3M54oZcU-EeQaD9e3crPc0rtw6mY_vxxPM0jQ2BifFhC4MKmhDlv6AnBqJUZE
X-Cc: Andrew Lunn <andrew@lunn.ch>, Vladimir Oltean <olteanv@gmail.com>,
"David S. Miller" <davem@davemloft.net>, Eric Dumazet <edumazet@kernel.org>,
Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>, Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>, Conor Dooley <conor+dt@kernel.org>,
Florian Fainelli <f.fainelli@gmail.com>, Simon Horman <horms@kernel.org>,
Pablo Neira Ayuso <pablo@netfilter.org>, Florian Westphal <fw@strlen.de>, Phil Sutter <phil@nwl.cc>,
Hans Ulli Kroll <ulli.kroll@googlemail.com>, Andrew Lunn <andrew+netdev@lunn.ch>,
Russell King <linux@armlinux.org.uk>, Christian Marangi <ansuelsmth@gmail.com>,
Jonathan Corbet <corbet@lwn.net>, Shuah Khan <skhan@linuxfoundation.org>,
Randy Dunlap <rdunlap@infradead.org>, netdev@vger.kernel.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org, netfilter-devel@vger.kernel.org,
coreteam@netfilter.org, linux-arm-kernel@lists.infradead.org,
linux-doc@vger.kernel.org