netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Eric Dumazet <eric.dumazet@gmail.com>
To: Kinley Dorji <kinleyd@gmail.com>
Cc: Stephen Hemminger <stephen@networkplumber.org>,
	netdev@vger.kernel.org, Johannes Berg <johannes@sipsolutions.net>
Subject: Re: Bug: alx: Atheros AR8131/AR8151/AR8152/AR8161 Ethernet driver
Date: Tue, 06 Aug 2013 03:43:19 -0700	[thread overview]
Message-ID: <1375785799.4457.81.camel@edumazet-glaptop> (raw)
In-Reply-To: <CACtZaF+nTHiZ03uebya92b=UVLBXAk9jnM-=Pp3GQ6oSNv8ndA@mail.gmail.com>

On Tue, 2013-08-06 at 12:05 +0600, Kinley Dorji wrote:
> No sure what conky is using to read them. This is what I get
> 
> $ ip -s -d li show dev eth0
> 2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast
> state UP mode DEFAULT qlen 1000
>     link/ether 90:2b:34:da:42:fd brd ff:ff:ff:ff:ff:ff promiscuity 0
>     RX: bytes  packets  errors  dropped overrun mcast
>     0          0        0       62      0       0
>     TX: bytes  packets  errors  dropped carrier collsns
>     0          0        0       0       0       0
> 
> $ ethtool -S eth0
> no stats available

It seems alx driver does not support stats.

(No ndo_get_stats() and no changes on netdev->stats embedded stats)


drivers/net/ethernet/atheros/atl1c/atl1c_main.c provides
atl1c_get_stats() gathering hardware counters

CC Johannes Berg, let see if he has plan to add them on alx

  reply	other threads:[~2013-08-06 10:43 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-06  5:31 Bug: alx: Atheros AR8131/AR8151/AR8152/AR8161 Ethernet driver Kinley Dorji
2013-08-06  5:57 ` Stephen Hemminger
2013-08-06  6:05   ` Kinley Dorji
2013-08-06 10:43     ` Eric Dumazet [this message]
2013-08-06 11:32       ` Johannes Berg
2013-08-06 12:07         ` Eric Dumazet
2013-08-07  6:32           ` Kinley Dorji
2014-01-08 22:53             ` Sam
2013-08-06  6:23   ` Kinley Dorji

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1375785799.4457.81.camel@edumazet-glaptop \
    --to=eric.dumazet@gmail.com \
    --cc=johannes@sipsolutions.net \
    --cc=kinleyd@gmail.com \
    --cc=netdev@vger.kernel.org \
    --cc=stephen@networkplumber.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).