[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <d7f85aa5-6edb-45b2-9c8d-04874b720f8b@intel.com>
Date: Wed, 15 Oct 2025 13:22:19 -0700
From: Jacob Keller <jacob.e.keller@...el.com>
To: Vadim Fedorenko <vadim.fedorenko@...ux.dev>, <mkubecek@...e.cz>
CC: Jakub Kicinski <kuba@...nel.org>, <netdev@...r.kernel.org>
Subject: Re: [PATCH ethtool-next v2] netlink: fec: add errors histogram
statistics
On 10/14/2025 2:20 PM, Vadim Fedorenko wrote:
> Linux 6.18 has FEC errors histogram statistics API added. Add support
> for extra attributes in ethtool.
>
> # ethtool -I --show-fec eni8np1
> FEC parameters for eni8np1:
> Supported/Configured FEC encodings: None
> Active FEC encoding: None
> Statistics:
> corrected_blocks: 123
> uncorrectable_blocks: 4
> fec_symbol_err_0: 445 [ per_lane: 125, 120, 100, 100 ]
> fec_symbol_err_1_to_3: 12
> fec_symbol_err_4_to_7: 2
>
> # ethtool -j -I --show-fec eni8np1
> [ {
> "ifname": "eni8np1",
> "config": [ "None" ],
> "active": [ "None" ],
> "statistics": {
> "corrected_blocks": {
> "total": 123
> },
> "uncorrectable_blocks": {
> "total": 4
> },
> "hist": [ {
> "bin_low": 0,
> "bin_high": 0,
> "total": 445,
> "lanes": [ 125,120,100,100 ]
> },{
> "bin_low": 1,
> "bin_high": 3,
> "total": 12
> },{
> "bin_low": 4,
> "bin_high": 7,
> "total": 2
> } ]
> }
> } ]
>
> Signed-off-by: Vadim Fedorenko <vadim.fedorenko@...ux.dev>
> ---
Reviewed-by: Jacob Keller <jacob.e.keller@...el.com>
Download attachment "OpenPGP_signature.asc" of type "application/pgp-signature" (237 bytes)
Powered by blists - more mailing lists