From: Jakub Kicinski <kuba@kernel.org>
To: MD Danish Anwar <danishanwar@ti.com>
Cc: Randy Dunlap <rdunlap@infradead.org>,
Roger Quadros <rogerq@kernel.org>,
Simon Horman <simon.horman@corigine.com>,
Vignesh Raghavendra <vigneshr@ti.com>,
Andrew Lunn <andrew@lunn.ch>,
Richard Cochran <richardcochran@gmail.com>,
Conor Dooley <conor+dt@kernel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>,
Rob Herring <robh+dt@kernel.org>, Paolo Abeni <pabeni@redhat.com>,
Eric Dumazet <edumazet@google.com>,
"David S. Miller" <davem@davemloft.net>, <nm@ti.com>,
<srk@ti.com>, <linux-kernel@vger.kernel.org>,
<devicetree@vger.kernel.org>, <netdev@vger.kernel.org>,
<linux-omap@vger.kernel.org>,
<linux-arm-kernel@lists.infradead.org>
Subject: Re: [PATCH v10 2/2] net: ti: icssg-prueth: Add ICSSG ethernet driver
Date: Wed, 19 Jul 2023 21:35:43 -0700 [thread overview]
Message-ID: <20230719213543.0380e13e@kernel.org> (raw)
In-Reply-To: <20230719082755.3399424-3-danishanwar@ti.com>
The patch is too big to review.
Please break it apart separating into individual features, targeting
around 10 patches in the series. That will make it easier for reviewers
to take a look at the features in which they have expertise.
See two things which jumped out at me immediately below:
On Wed, 19 Jul 2023 13:57:55 +0530 MD Danish Anwar wrote:
> + ICSSG_STATS(rx_crc_error_frames),
> + ICSSG_STATS(rx_max_size_error_frames),
> + ICSSG_STATS(rx_frame_min_size),
> + ICSSG_STATS(rx_min_size_error_frames),
> + ICSSG_STATS(rx_overrun_frames),
> + ICSSG_STATS(rx_64B_frames),
> + ICSSG_STATS(rx_bucket1_frames),
> + ICSSG_STATS(rx_bucket2_frames),
> + ICSSG_STATS(rx_bucket3_frames),
> + ICSSG_STATS(rx_bucket4_frames),
> + ICSSG_STATS(rx_bucket5_frames),
> + ICSSG_STATS(rx_total_bytes),
> + ICSSG_STATS(rx_tx_total_bytes),
> + /* Tx */
> + ICSSG_STATS(tx_good_frames),
> + ICSSG_STATS(tx_broadcast_frames),
> + ICSSG_STATS(tx_multicast_frames),
> + ICSSG_STATS(tx_odd_nibble_frames),
> + ICSSG_STATS(tx_underflow_errors),
> + ICSSG_STATS(tx_frame_max_size),
> + ICSSG_STATS(tx_max_size_error_frames),
> + ICSSG_STATS(tx_frame_min_size),
> + ICSSG_STATS(tx_min_size_error_frames),
> + ICSSG_STATS(tx_bucket1_size),
> + ICSSG_STATS(tx_bucket2_size),
> + ICSSG_STATS(tx_bucket3_size),
> + ICSSG_STATS(tx_bucket4_size),
> + ICSSG_STATS(tx_64B_frames),
> + ICSSG_STATS(tx_bucket1_frames),
> + ICSSG_STATS(tx_bucket2_frames),
> + ICSSG_STATS(tx_bucket3_frames),
> + ICSSG_STATS(tx_bucket4_frames),
> + ICSSG_STATS(tx_bucket5_frames),
> + ICSSG_STATS(tx_total_bytes),
Please use standard stats:
https://docs.kernel.org/next/networking/statistics.html
And do not duplicate those stats in the ethool -S output.
> +static const char emac_ethtool_priv_flags[][ETH_GSTRING_LEN] = {
> + "iet-frame-preemption",
> + "iet-mac-verify",
> +};
What are these? We have a proper ethtool API for frame preemption.
--
pw-bot: cr
next prev parent reply other threads:[~2023-07-20 4:35 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-07-19 8:27 [PATCH v10 0/2] Introduce ICSSG based ethernet Driver MD Danish Anwar
2023-07-19 8:27 ` [PATCH v10 1/2] dt-bindings: net: Add ICSSG Ethernet MD Danish Anwar
2023-07-19 8:27 ` [PATCH v10 2/2] net: ti: icssg-prueth: Add ICSSG ethernet driver MD Danish Anwar
2023-07-20 4:35 ` Jakub Kicinski [this message]
2023-07-20 11:42 ` [EXTERNAL] " Md Danish Anwar
2023-07-20 15:17 ` Jakub Kicinski
2023-07-20 19:41 ` Roger Quadros
2023-07-21 4:52 ` [EXTERNAL] " Md Danish Anwar
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=20230719213543.0380e13e@kernel.org \
--to=kuba@kernel.org \
--cc=andrew@lunn.ch \
--cc=conor+dt@kernel.org \
--cc=danishanwar@ti.com \
--cc=davem@davemloft.net \
--cc=devicetree@vger.kernel.org \
--cc=edumazet@google.com \
--cc=krzysztof.kozlowski+dt@linaro.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-omap@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=nm@ti.com \
--cc=pabeni@redhat.com \
--cc=rdunlap@infradead.org \
--cc=richardcochran@gmail.com \
--cc=robh+dt@kernel.org \
--cc=rogerq@kernel.org \
--cc=simon.horman@corigine.com \
--cc=srk@ti.com \
--cc=vigneshr@ti.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;
as well as URLs for NNTP newsgroup(s).