🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #22744

Re: [PATCH RFC net-next 0/7] net: cortina: CS7542 wired IPv4 hardware flowtable offload

#22744
From: Andrew Lunn
Date: Wed, 25 Nov 2026 21:10
27 lines
10085 bytes
On Wed, Nov 25, 2026 at 11:50:28PM +0300, Fil Dunsky via B4 Relay wrote:
> This RFC connects the CS7542 forwarding engine to nftables hardware
> flowtables on Securifi Almond+. It is separate from the CPU Ethernet
> bring-up series. The main questions are the flowtable context interface,
> QCA four-byte CPU framing, and conservative hardware resource lifetime.

This is v2? Please include a version number in the subject line.

Please also list what changed relative to v1.

> - Is dsa-tag-protocol the right selection interface for this parser need?
> - What hardware drain evidence is needed before safely replacing different
>   result records or clearing the sticky HIT bitmap?

Is this a DSA switch?

DSA implies that there is a conduit interface which is used to pass
frames to a port of the switch. My first look at this driver did not
suggest that. It looked like there where a bunch of DMA channels, not
a full network interface?

I will look at the code again, but you should decide this quickly, the
different between a pure switchdev driver and a DSA driver is quite
big.

	Andrew
Technical Details
Message-ID: <7252b836-e375-4550-90c9-b0e3ab7fbb6d@lunn.ch>
Path: mbox-mo1.pugleaf.net!news-can.pugleaf.net!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-371673-linux-kernel-netdev=dewy.ru
References: <20261125-almondplus-offload-rfc-v1-0-703175c6340c@gmail.com>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-can.pugleaf.net!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-371673-linux-kernel-netdev=dewy.ru
From: andrew@lunn.ch (Andrew Lunn)
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH RFC net-next 0/7] net: cortina: CS7542 wired IPv4
 hardware flowtable offload
Date: Wed, 25 Nov 2026 22:10:24 +0100
Organization: Usenet Network
Message-ID: <7252b836-e375-4550-90c9-b0e3ab7fbb6d@lunn.ch>
References: <20261125-almondplus-offload-rfc-v1-0-703175c6340c@gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Injection-Info: usenet.network;
	logging-data="305052"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:mAPoG9U8EcRSeaJhsuyNb8KzEwc= sha256:n7+VLej5zQx7FnJKpMXvm50KjV9+RpT78hxHFxIjw/c=
	sha1:KrZGecQM4XQk7bKe8uIuOWRWZyg= sha256:Cl+CQBKzQXZMnmyHSuRs7UvAq9lsE88Mrwot50JGo+w=
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 09887125E9E; Thu, 26 Nov 2026 00:11:32 +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=lunn.ch
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 TZMA1YVTpybb;
	Thu, 26 Nov 2026 00:11:24 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=netdev+bounces-371673-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> 
X-Authentication-Results: OpenDMARC; dmarc=fail (p=none dis=none) header.from=lunn.ch
X-Received: from sea.lore.kernel.org (sea.lore.kernel.org [172.234.253.10])
	by mail.dewy.ru (Postfix) with ESMTPS id 5E83F125E31; Thu, 26 Nov 2026 00:11:12 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92])
	by sea.lore.kernel.org (Postfix) with ESMTP id 74ECB3A2DC; Wed, 25 Nov 2026 21:11:07 +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=1795641066;
	b=IKqk9eXo/kSTqvii+BAeGkjXWt0CJUrpd+cCm7dhpdOe/sBno6vdp5pPZBnGHlxzzcA/
	 Y30pm9qW3q50lGTMdVO4vJC40SrWdI/JEnc1CI1Lm1eigDv3k78N00La46LddRaNydezG
	 7SjrDgRWo/EsrJ3ubc1IPZ7mptJvtfT6Pkv8FkbsY/vYpG2actbEO4KP32CmU4F6mQ+O9
	 7k2bdKmrtaey3N1n9hjAKOpnKAkXUEaOlhFZ1TAM3XhCQjpUU0L2TyZQ64NJW3ZrxbpRm
	 ihzV5Ig/KnfxAw99+e1Xl8r+5l1Znj8B5xXTCyXU5Nagyp9Wks7EsU8bxy6QOqSLoMg==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1795641066;
	h=X-Original-To:Received:DMARC-Filter:DKIM-Signature:Received:Date:
	 From:To:Cc:Subject:Message-ID:References:X-Mailing-List:List-Id:
	 List-Post:List-Help:List-Subscribe:List-Unsubscribe:List-Owner:
	 Precedence:MIME-Version:Content-Type:Content-Disposition:In-Reply-To;
	bh=2TMaY06QCdoxAv25NeIIrFHhhOR306YESTNsCHEfZAw=;
	b=AIbGJQaWQK5a/uRY6RZjlMfj4qrM0rGHHYVlQS1mQmfqnhijYHFo6d8FKzirKvSsoSzH
	 tUkCtkC0ilzjN21Qs+YGywsYmkrbkkivu+5aU7KqEAaIqztwi8GBGiZLBiRZd08otJ6JE
	 59eRKBBEsndOlm3JDbmOk1rexlPc6KatBqW1N6tB5/U2IFJVjTcKvIcwHL10sDi5gvqU2
	 9VCmg8PpPGEjb+zcFd7JAJw9EbgMLwPWubpdwdga9C8ytTohaON/IuoA/MVVpgzfg4/m8
	 WG/9QRnMC8+bvh2q0zGQVEf3D2Hw5GY2tGQu7Y4OFNqCd+i3YdK0a4ya7jGXp3ejg2Q==
X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; 
	dkim=pass header.d=lunn.ch header.i=@lunn.ch header.a=rsa-sha256 header.s=20171124 header.b=5Zs8BuVC;
	dmarc=pass header.from=lunn.ch;
	spf=pass smtp.mailfrom=lunn.ch;
	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 4202A606A33A;
	Wed, 25 Nov 2026 21:11:06 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
	dkim=pass (1024-bit key) header.d=lunn.ch header.i=@lunn.ch header.a=rsa-sha256 header.s=20171124 header.b=5Zs8BuVC
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=156.67.10.101
X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none;
	t=1795641065;
	b=Tmk0NrG87v1NBQLmg7Q+dcrBcCt17gleiTDsbmroe31TJUC6+/PAfEtxusctFU7ECjb8
	 sfZXktff1W1aTI2TO6FmH9OY0JCUt4V4MRheDpIlPOlC7Bsj+b7hASBB+oTknjRh486JL
	 41d6nA/gmiaLIWNMiiy/aK+VGOjl+0iRyhhHdhVti2lK4njmXNaKcdEiT3kaLEmJ1OKLO
	 LVeMXUWiq3v8D7a5B8X0SPoGnIrDYhSQQXf/7K979IouVEZ9PifwKD5j1dGbw689TfzEi
	 6Sv0nd1s5rvZIfi/rnZA7q5K1+Fba2tI6PLj9GgXopeJ3tE/IM1Q5KX1t/2OZE7INKQ==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1795641065;
	h=DMARC-Filter:DKIM-Signature:Received:Date:From:To:Cc:Subject:
	 Message-ID:References:MIME-Version:Content-Type:Content-Disposition:
	 In-Reply-To;
	bh=2TMaY06QCdoxAv25NeIIrFHhhOR306YESTNsCHEfZAw=;
	b=0L69gE3C/aW67zaFG8QpfVhI4RgN/jWHSYZd+BVV6nUVGdcGcw01M+pmTCKeOV86aFlJ
	 tYDgB7OYyDGQ/s939LrIgZGwvfa6urr1G3aWtSwGwCU/yplfQxLXKp7NFAqpYZ6GgszLo
	 oAImsE410EbKyEaFK9TlFtePLHPShow3gRgJnlAaEy0ebxRSCEzoIYFqQK72kuihTubLA
	 oEQBF3CR+mRes68MB1YWIbRd099zs+8QPmpoz28DH+OpDP8Yj/aU/GpaJSlEp4M1uR4ii
	 fXrLr79UfgfLrRZhJorYVZJow2afAcBC+BAxX31PV5CG568fPkFM7nzgbT0kcy9hkHQ==
X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; 
	dmarc=pass header.from=lunn.ch;
	spf=pass smtp.mailfrom=lunn.ch;
	dkim=pass header.d=lunn.ch header.i=@lunn.ch header.a=rsa-sha256 header.s=20171124 header.b=5Zs8BuVC;
	arc=none smtp.remote-ip=156.67.10.101
X-Received: from vps0.lunn.ch (vps0.lunn.ch [156.67.10.101])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange ECDHE (prime256v1) server-signature ECDSA (prime256v1) server-digest SHA256)
	(No client certificate requested)
	by smtp.subspace.kernel.org (Postfix) with ESMTPS id E403B606A321;
	Wed, 25 Nov 2026 21:11:04 +0000 (UTC)
X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org E403B606A321
X-Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=lunn.ch
X-Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=lunn.ch
X-DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lunn.ch;
	s=20171124; h=In-Reply-To:Content-Disposition:Content-Type:MIME-Version:
	References:Message-ID:Subject:Cc:To:From:Date:From:Sender:Reply-To:Subject:
	Date:Message-ID:To:Cc:MIME-Version:Content-Type:Content-Transfer-Encoding:
	Content-ID:Content-Description:Content-Disposition:In-Reply-To:References;
	bh=2TMaY06QCdoxAv25NeIIrFHhhOR306YESTNsCHEfZAw=; b=5Zs8BuVC/5OjpGsjRwXsgtqpYr
	6z4DN5q6hY+dVWrN9y2aODEWFZESULHf4TEME9L2UzyryQ04F/91PGJU80rQerwRjS4Gag35OsJfy
	8Ad+D7BIsqGh979V7kJmSvDiW3IPI20V+8ADCN+IngsRwGCx+gV338I/HMvVCCWGe08k=;
X-Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2)
	(envelope-from <andrew@lunn.ch>)
	id 1xWKG0-001R9X-9M; Wed, 25 Nov 2026 22:10:24 +0100
X-Cc: 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>,
	Linus Walleij <linusw@kernel.org>,
	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
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-0-703175c6340c@gmail.com>