lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <3bcae34c-5236-17e3-b2f7-e377eff33739@nvidia.com>
Date:   Sun, 24 Jul 2022 11:28:09 +0300
From:   Gal Pressman <gal@...dia.com>
To:     Saeed Mahameed <saeed@...nel.org>
Cc:     Jakub Kicinski <kuba@...nel.org>,
        "David S. Miller" <davem@...emloft.net>,
        Paolo Abeni <pabeni@...hat.com>,
        Eric Dumazet <edumazet@...gle.com>,
        Saeed Mahameed <saeedm@...dia.com>, netdev@...r.kernel.org,
        Tariq Toukan <tariqt@...dia.com>
Subject: Re: [net-next 03/14] net/mlx5e: Expose rx_oversize_pkts_buffer
 counter

On 19/07/2022 23:22, Saeed Mahameed wrote:
> On 19 Jul 14:13, Gal Pressman wrote:
>> On 19/07/2022 06:25, Jakub Kicinski wrote:
>>> On Sun, 17 Jul 2022 14:33:41 -0700 Saeed Mahameed wrote:
>>>> From: Gal Pressman <gal@...dia.com>
>>>>
>>>> Add the rx_oversize_pkts_buffer counter to ethtool statistics.
>>>> This counter exposes the number of dropped received packets due to
>>>> length which arrived to RQ and exceed software buffer size
>>>> allocated by
>>>> the device for incoming traffic. It might imply that the device MTU is
>>>> larger than the software buffers size.
>>> Is it counted towards any of the existing stats as well? It needs
>>> to end up in struct rtnl_link_stats64::rx_length_errors somehow.
>
> it is already counted in ethtool->rx_wqe_err, but rx wqe err is more
> general purpose and can include other errors too, the idea is to have a
> better resolution for the error reason.

rx_wqe_err counts error completions, this counter counts packets which
are getting dropped by the device and do not necessarily generate a
completion.

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ