[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20231214105328.3kftoisqieodqlnr@skbuf>
Date: Thu, 14 Dec 2023 12:53:28 +0200
From: Vladimir Oltean <olteanv@...il.com>
To: andrew@...n.ch, Tobias Waldekranz <tobias@...dekranz.com>
Cc: davem@...emloft.net, kuba@...nel.org, f.fainelli@...il.com,
netdev@...r.kernel.org
Subject: Re: [PATCH v3 net-next 6/8] net: dsa: mv88e6xxx: Limit histogram
counters to ingress traffic
On Mon, Dec 11, 2023 at 11:33:44PM +0100, Tobias Waldekranz wrote:
> Chips in this family only has one set of histogram counters, which can
> be used to count ingressing and/or egressing traffic. mv88e6xxx has,
> up until this point, kept the hardware default of counting both
> directions.
>
> In the mean time, standard counter group support has been added to
> ethtool. Via that interface, drivers may report ingress-only and
> egress-only histograms separately - but not combined.
>
> In order for mv88e6xxx to maximalize amount of diagnostic information
> that can be exported via standard interfaces, we opt to limit the
> histogram counters to ingress traffic only. Which will allow us to
> export them via the standard "rmon" group in an upcoming commit.
>
> The reason for choosing ingress-only over egress-only, is to be
> compatible with RFC2819 (RMON MIB).
>
> Signed-off-by: Tobias Waldekranz <tobias@...dekranz.com>
> ---
I guess this needs an ack from Andrew.
Powered by blists - more mailing lists