Article View: linux.kernel.netdev
Article #22748Re: [PATCH RFC net-next 2/7] net: dsa: add a QCA four-byte CPU tagger
From: Andrew Lunn
Date: Wed, 25 Nov 2026 21:15
Date: Wed, 25 Nov 2026 21:15
19 lines
9638 bytes
9638 bytes
> #define dsa_lags_foreach_id(_id, _dst) \ > for ((_id) = 1; (_id) <= (_dst)->lags_len; (_id)++) \ > if ((_dst)->lags[(_id) - 1]) > - > #define dsa_lag_foreach_port(_dp, _dst, _lag) \ > list_for_each_entry((_dp), &(_dst)->ports, list) \ > if (dsa_port_offloads_lag((_dp), (_lag))) > - > #define dsa_hsr_foreach_port(_dp, _ds, _hsr) \ > list_for_each_entry((_dp), &(_ds)->dst->ports, list) \ > if ((_dp)->ds == (_ds) && (_dp)->hsr_dev == (_hsr)) > - > static inline struct dsa_lag *dsa_lag_by_id(struct dsa_switch_tree *dst, > unsigned int id) Did you review your own patches? Andrew
Technical Details
Message-ID:
<71917772-9db5-4ed7-8c23-c0ca6574a64d@lunn.ch>Path:
mbox-mo1.pugleaf.net!srv.newsdeef.eu!newsfeed.bofh.team!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-371678-linux-kernel-netdev=dewy.ruReferences:
<20261125-almondplus-offload-rfc-v1-0-703175c6340c@gmail.com> <20261125-almondplus-offload-rfc-v1-2-703175c6340c@gmail.com>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!newsfeed.bofh.team!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-371678-linux-kernel-netdev=dewy.ru From: andrew@lunn.ch (Andrew Lunn) Newsgroups: linux.kernel.netdev Subject: Re: [PATCH RFC net-next 2/7] net: dsa: add a QCA four-byte CPU tagger Date: Wed, 25 Nov 2026 22:15:44 +0100 Organization: Usenet Network Message-ID: <71917772-9db5-4ed7-8c23-c0ca6574a64d@lunn.ch> References: <20261125-almondplus-offload-rfc-v1-0-703175c6340c@gmail.com> <20261125-almondplus-offload-rfc-v1-2-703175c6340c@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: usenet.network; logging-data="305900"; mail-complaints-to="abuse@usenet.network" Cancel-Lock: sha1:fHqksSOdbHC7bVvaW7D03bZxtvQ= sha256:PR+Wk69FbhMpoydf/bUPEGtcIzbwp9Nwidh7VntMk3s= sha1:W4/r5qYaMBVLWUpp2kwaKFW+LLs= sha256:CnLhc7z5DEQDmHzpOCOrEoJV77lG++VsBNIczUgmJ4s= 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 3864F125E9E; Thu, 26 Nov 2026 00:16:23 +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 RsqhqBRDVTkZ; Thu, 26 Nov 2026 00:16:20 +0300 (MSK) X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=104.64.211.4; helo=sin.lore.kernel.org; envelope-from=netdev+bounces-371678-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 sin.lore.kernel.org (sin.lore.kernel.org [104.64.211.4]) by mail.dewy.ru (Postfix) with ESMTPS id EBEF9125C5E; Thu, 26 Nov 2026 00:16:11 +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 D39EA2820D; Wed, 25 Nov 2026 21:16: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=1795641364; b=eGmaI81waWg6I26ZtfvZ2CcQ86KYKaOag7T408FdNCDy9gaR71yZHmc9oanqqhEiq3Wa TyDrPLei2nt1q/q4U1eYSFepgKiqidTgv4rJzFwA95ckrhI0W/IIYNp4NPOZqovPBrkxc NjIEqnUe+lIZiDrkWKEXVteB+2+dHf0nUq1gPu7PSs719unw1e3V0fwMFXjSoEQZB8s2Z kvoB/r3LyzdmyKpaR58LUQoeku/+uqPZbpUW0Xg9yX3k8K98r/Gdg43sRCXW79H8O7WBv 4IrDeaGCnIBBL+c+WMwH54hwPE9TBDlajx0sg++ZbACoOVJQB6J8ZPXyK3XiVFLkMyg== X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795641364; 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=2BEKaTve0j9tQYjMUbUV4dUCu3Ld1ARa8Kk+N3aaIok=; b=HZlDg+ZE4vVMuTqfz/sLDwVXJV5QKRZQBVykXbr8qEvDIxyJmXfecZ0NxcF1irihs66S NaVGDOMEnCqoIJ6kOmghPe29ZBH6JynFtlsuavEd5oxaon1tCKNl+ERvI5m7pGB1/fnxl GoGp2uFQQBA6qtYCpJ3ZuA5h2RxO5DLjvX7+jmkecfrc7cGTjq4YtqV+941j5/tqbUJAx kBmghqeRSq5DTKDKp61eZGCcZKX5QX+KbuEWmZXeJ/Mug9vgJVCPmd/gMWC8u4mdTJ5MS SFf7UkvPi+LalPRondztWrNVw76cGsDbAdlIHfDX08S109czyPhpw3cVAaadcGfIqYg== 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="xlOX/SZg"; 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 6860E606A336; Wed, 25 Nov 2026 21:16:04 +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=xlOX/SZg 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=1795641363; b=0bph/5rQmC8yOpRXBIALeZMkoEkQYv/UR6d380b02G3eprarO8HVqR+jx7t5mWXMeHNK S6Y4AG3ZcHp5GyrcKlUqQnQANcmSM7u/gkL8yTWADWpu+7vkKcA5z3cA0+82gEuUS3wqC vP6kQeQcuB/3KWeh7gw3n9Ra9VHSzs4RyGQp/BX4ZhzSlsT1xLvskn0EVw1Zxc1wOJhB3 8Gvb3rrchCWUf/UkC8UmRoUicoeCkotnqobYUBOInHEZBD88JzH9gG3JnkTcWSlzs7k2L AQxjhkmS/kHZ2/YKFR505WmZc/9HxZj32Co6FepWP8/4XwvgZoQlM36pXNIk6Cybupw== X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795641363; h=DMARC-Filter:DKIM-Signature:Received:Date:From:To:Cc:Subject: Message-ID:References:MIME-Version:Content-Type:Content-Disposition: In-Reply-To; bh=2BEKaTve0j9tQYjMUbUV4dUCu3Ld1ARa8Kk+N3aaIok=; b=x5lqHcXavPuiHZsqgs6nuQdt5bEj+uQrqtLjpuCVdqFe3dVqj39qVQyI764rORikWkaB cO4FiJT5XxZGGbODX8fMrx0xuXxNnLYz+AqTTid4LIcdxeVQ6zKsxEdcwj8QLEV6U9QNk Jh78Gvbi5OG1EvBhDWBBp92P3mmiAcSQNr2qzX8f6F/VUpkY+fkqsYCYzjdwrO+Fl6G8c T5tsGFbIgbacnhtbFZF2h07Y1rxWex5QO/31ZQWhsZbnoZ2OWU/w5YWR/J8NC6V0riUE0 4v/Zcn898Cxn4Uj0rW4SZs2bEnhZMC0tzxZEOCyWVUb/mAkJSVFBH3Ijkhv6UdbhM0g== 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="xlOX/SZg"; 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 41F53606A321; Wed, 25 Nov 2026 21:16:03 +0000 (UTC) X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 41F53606A321 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=2BEKaTve0j9tQYjMUbUV4dUCu3Ld1ARa8Kk+N3aaIok=; b=xlOX/SZgDWek5IKkVtKOCVCqfP tZ+D943IqZYWTMtiUO04zSMB4/rp2vZZbpQx8eGpDdWilQmUJfF6xGAOdD6cZ4dikHRhNkUA1nazK BJp3w08UjmyPyRrUdugzfHcGEqutw6Cc5BERYyFaARElq4LeUPP2oH/2DIOjhwdRiGRw=; X-Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from <andrew@lunn.ch>) id 1xWKLA-001RD5-O1; Wed, 25 Nov 2026 22:15:44 +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-2-703175c6340c@gmail.com>