Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1702578

Re: [PATCH net-next] net: dsa: Add support for 64-bit statistics

From David Miller <davem@davemloft.net>
Newsgroups linux.kernel
Subject Re: [PATCH net-next] net: dsa: Add support for 64-bit statistics
Date 2017-08-03 01:50 +0200
Message-ID <uabyN-8qn-13@gated-at.bofh.it> (permalink)
References <u9Nwt-1j6-11@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


From: Florian Fainelli <f.fainelli@gmail.com>
Date: Tue,  1 Aug 2017 15:00:36 -0700

> DSA slave network devices maintain a pair of bytes and packets counters
> for each directions, but these are not 64-bit capable. Re-use
> pcpu_sw_netstats which contains exactly what we need for that purpose
> and update the code path to report 64-bit capable statistics.
> 
> Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>

Applied, thanks.

I would run ethtool -S and ifconfig under perf to see where it is
spending so much time.

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH net-next] net: dsa: Add support for 64-bit statistics Florian Fainelli <f.fainelli@gmail.com> - 2017-08-02 00:10 +0200
  Re: [PATCH net-next] net: dsa: Add support for 64-bit statistics Florian Fainelli <f.fainelli@gmail.com> - 2017-08-02 00:50 +0200
  Re: [PATCH net-next] net: dsa: Add support for 64-bit statistics David Miller <davem@davemloft.net> - 2017-08-03 01:50 +0200
    Re: [PATCH net-next] net: dsa: Add support for 64-bit statistics Florian Fainelli <f.fainelli@gmail.com> - 2017-08-03 19:40 +0200
      Re: [PATCH net-next] net: dsa: Add support for 64-bit statistics Andrew Lunn <andrew@lunn.ch> - 2017-08-03 20:20 +0200
        Re: [PATCH net-next] net: dsa: Add support for 64-bit statistics Florian Fainelli <f.fainelli@gmail.com> - 2017-08-03 21:50 +0200

csiph-web