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] [thread-next>] [day] [month] [year] [list]
Date:   Thu, 9 Mar 2017 15:56:31 +0200
From:   Tariq Toukan <tariqt@...lanox.com>
To:     Eric Dumazet <edumazet@...gle.com>,
        "David S . Miller" <davem@...emloft.net>
CC:     netdev <netdev@...r.kernel.org>,
        Tariq Toukan <tariqt@...lanox.com>,
        Saeed Mahameed <saeedm@...lanox.com>,
        Willem de Bruijn <willemb@...gle.com>,
        Jesper Dangaard Brouer <brouer@...hat.com>,
        Alexei Starovoitov <ast@...nel.org>,
        Eric Dumazet <eric.dumazet@...il.com>
Subject: Re: [PATCH v4 net-next 09/13] mlx4: add rx_alloc_pages counter in
 ethtool -S



On 08/03/2017 6:17 PM, Eric Dumazet wrote:
> This new counter tracks number of pages that we allocated for one port.
>
> lpaa24:~# ethtool -S eth0 | egrep 'rx_alloc_pages|rx_packets'
>      rx_packets: 306755183
>      rx_alloc_pages: 932897
>
> Signed-off-by: Eric Dumazet <edumazet@...gle.com>
> ---
>  drivers/net/ethernet/mellanox/mlx4/en_ethtool.c |  2 +-
>  drivers/net/ethernet/mellanox/mlx4/en_port.c    |  2 ++
>  drivers/net/ethernet/mellanox/mlx4/en_rx.c      | 11 +++++++----
>  drivers/net/ethernet/mellanox/mlx4/mlx4_en.h    |  1 +
>  drivers/net/ethernet/mellanox/mlx4/mlx4_stats.h |  2 +-
>  5 files changed, 12 insertions(+), 6 deletions(-)
>
Acked-by: Tariq Toukan <tariqt@...lanox.com>

Thanks.

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ