From: Vladimir Oltean <olteanv@gmail.com>
To: Christian Marangi <ansuelsmth@gmail.com>
Cc: Andrew Lunn <andrew@lunn.ch>,
Vivien Didelot <vivien.didelot@gmail.com>,
Florian Fainelli <f.fainelli@gmail.com>,
"David S. Miller" <davem@davemloft.net>,
Eric Dumazet <edumazet@google.com>,
Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>,
Nathan Chancellor <nathan@kernel.org>,
Nick Desaulniers <ndesaulniers@google.com>,
Tom Rix <trix@redhat.com>, Jens Axboe <axboe@kernel.dk>,
Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
linux-kernel@vger.kernel.org, netdev@vger.kernel.org,
llvm@lists.linux.dev
Subject: Re: [net-next PATCH v4 00/14] net: dsa: qca8k: code split for qca8k
Date: Tue, 26 Jul 2022 03:22:10 +0300 [thread overview]
Message-ID: <20220726002210.vprs4qwgz7bucrjb@skbuf> (raw)
In-Reply-To: <20220724201938.17387-1-ansuelsmth@gmail.com>
On Sun, Jul 24, 2022 at 10:19:24PM +0200, Christian Marangi wrote:
> This is needed ad ipq4019 SoC have an internal switch that is
> based on qca8k with very minor changes. The general function is equal.
>
> Because of this we split the driver to common and specific code.
>
> As the common function needs to be moved to a different file to be
> reused, we had to convert every remaining user of qca8k_read/write/rmw
> to regmap variant.
> We had also to generilized the special handling for the ethtool_stats
> function that makes use of the autocast mib. (ipq4019 will have a
> different tagger and use mmio so it could be quicker to use mmio instead
> of automib feature)
> And we had to convert the regmap read/write to bulk implementation to
> drop the special function that makes use of it. This will be compatible
> with ipq4019 and at the same time permits normal switch to use the eth
> mgmt way to send the entire ATU table read/write in one go.
I'm done reviewing v4, from my side you can consider addressing the
style comments as well as the comment on patch 1 from v3 and you can
resend.
prev parent reply other threads:[~2022-07-26 0:22 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-07-24 20:19 Christian Marangi
2022-07-24 20:19 ` [net-next PATCH v4 01/14] net: dsa: qca8k: cache match data to speed up access Christian Marangi
2022-07-24 20:19 ` [net-next PATCH v4 02/14] net: dsa: qca8k: make mib autocast feature optional Christian Marangi
2022-07-24 20:19 ` [net-next PATCH v4 03/14] net: dsa: qca8k: move mib struct to common code Christian Marangi
2022-07-24 20:19 ` [net-next PATCH v4 04/14] net: dsa: qca8k: move qca8k read/write/rmw and reg table " Christian Marangi
2022-07-24 20:19 ` [net-next PATCH v4 05/14] net: dsa: qca8k: move qca8k bulk read/write helper " Christian Marangi
2022-07-24 20:19 ` [net-next PATCH v4 06/14] net: dsa: qca8k: move mib init function " Christian Marangi
2022-07-24 20:19 ` [net-next PATCH v4 07/14] net: dsa: qca8k: move port set status/eee/ethtool stats " Christian Marangi
2022-07-24 20:19 ` [net-next PATCH v4 08/14] net: dsa: qca8k: move bridge functions " Christian Marangi
2022-07-24 20:19 ` [net-next PATCH v4 09/14] net: dsa: qca8k: move set age/MTU/port enable/disable " Christian Marangi
2022-07-26 0:17 ` Vladimir Oltean
2022-07-24 20:19 ` [net-next PATCH v4 10/14] net: dsa: qca8k: move port FDB/MDB function " Christian Marangi
2022-07-24 20:19 ` [net-next PATCH v4 11/14] net: dsa: qca8k: move port mirror functions " Christian Marangi
2022-07-24 20:19 ` [net-next PATCH v4 12/14] net: dsa: qca8k: move port VLAN " Christian Marangi
2022-07-24 20:19 ` [net-next PATCH v4 13/14] net: dsa: qca8k: move port LAG " Christian Marangi
2022-07-24 20:19 ` [net-next PATCH v4 14/14] net: dsa: qca8k: move read_switch_id function " Christian Marangi
2022-07-26 0:22 ` Vladimir Oltean [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220726002210.vprs4qwgz7bucrjb@skbuf \
--to=olteanv@gmail.com \
--cc=andrew@lunn.ch \
--cc=ansuelsmth@gmail.com \
--cc=axboe@kernel.dk \
--cc=davem@davemloft.net \
--cc=edumazet@google.com \
--cc=f.fainelli@gmail.com \
--cc=gregkh@linuxfoundation.org \
--cc=kuba@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=llvm@lists.linux.dev \
--cc=nathan@kernel.org \
--cc=ndesaulniers@google.com \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.com \
--cc=trix@redhat.com \
--cc=vivien.didelot@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®