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]
Message-ID: <20170803161604.4d3d5ea1@xeon-e3>
Date:   Thu, 3 Aug 2017 16:16:04 -0700
From:   Stephen Hemminger <stephen@...workplumber.org>
To:     "Jianming.qiao" <jqiaoulk@...il.com>
Cc:     f.fainelli@...il.com, davem@...emloft.net, eric.dumazet@...il.com,
        netdev@...r.kernel.org
Subject: Re: [PATCH v7 net-next] net: systemport: Support 64bit statistics

On Fri,  4 Aug 2017 00:07:45 +0100
"Jianming.qiao" <jqiaoulk@...il.com> wrote:

>  static const struct bcm_sysport_stats bcm_sysport_gstrings_stats[] = {
>  	/* general stats */
> -	STAT_NETDEV(rx_packets),
> -	STAT_NETDEV(tx_packets),
> -	STAT_NETDEV(rx_bytes),
> -	STAT_NETDEV(tx_bytes),
> +	STAT_NETDEV64(rx_packets),
> +	STAT_NETDEV64(tx_packets),
> +	STAT_NETDEV64(rx_bytes),
> +	STAT_NETDEV64(tx_bytes),
>  	STAT_NETDEV(rx_errors),

Please don't duplicate regular statistics (ie netdev) into ethtool.
It is a needless duplication.

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ