There is no way to get statistical information for the AR8161 card (eth0 below). $ cat /proc/net/dev Inter-| Receive | Transmit face |bytes packets errs drop fifo frame compressed multicast|bytes packets errs drop fifo colls carrier compressed eth0: 0 0 0 869 0 0 0 0 0 0 0 0 0 0 0 0 lo: 3145890 29654 0 0 0 0 0 0 3145890 29654 0 0 0 0 0 0 wlan0: 2552698 20410 0 17 0 0 0 0 10192156 21620 0 0 0 0 0 0 $ ifconfig eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 inet xxxxx netmask xxxxx broadcast xxxxx inet6 xxxxx prefixlen 64 scopeid 0x20<link> ether xx:xx:xx:xx:xx:xx txqueuelen 1000 (Ethernet) RX packets 0 bytes 0 (0.0 B) RX errors 0 dropped 869 overruns 0 frame 0 TX packets 0 bytes 0 (0.0 B) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 device interrupt 16
I think you will need to add support to the driver for it.
On Wed, Nov 13, 2013 at 8:09 PM, <bugzilla-daemon@bugzilla.kernel.org> wrote: > I think you will need to add support to the driver for it. Yes, I'm talking about the driver.
Same issue @ 3.10-2-amd64 (LMDE 201303 + UP7) Problem not fixed @ https://www.kernel.org/pub/linux/kernel/projects/backports/2013/11/22/ Why this bug takes long time to fixed...
*** Bug 65581 has been marked as a duplicate of this bug. ***
Still not fixed at https://www.kernel.org/pub/linux/kernel/projects/backports/2013/11/29/
(In reply to Alan from comment #1) > I think you will need to add support to the driver for it. The original ALX driver had support for statistics. The developer who added the driver to the tree, removed that code because he wasn't sure about the quality of the code and as he stated he hadn't a need for network statistics. The problem is that since the ALX code was included in the kernel, the original code stopped being maintained so there isn't an option for us who need statistics. Someone said that it was trivial to add back the stats code but for anyone who doesn't know much about kernel development or C, the task seems impossible. Here is the post where the kernel dev explains why he removed the stats code: http://www.spinics.net/lists/netdev/msg245607.html I hope someone can help us, because network stats are important. Right now we can't even know if our computer downloads or uploads something.
No need for network stat? It's very strange approach. Bad code? Is the any bug reports, related to alx network stats? If not – this code must be returned back. Now kernel is 3.12 but seems alx module remains unchanged and it is very disappointed. Please return our stat! :)
Send patches. Bugzilla is used to track bugs, it's not a work queue for fixing things.
In CentOS 6, Kernel is 2.6.x, I find driver in google, that have stat
Stats have been added if you check the linux-next branch - I compiled the alx driver from there and am using it with 3.12 with no problems.
Confirming. linux-next drivers successfully built against 3.13 sources and does have stats. What should be done to get these to mainline kernel?
Stats are back in 3.14rc1.
(In reply to Hexchain Tong from comment #12) > Stats are back in 3.14rc1. Thanks
(In reply to Marco Belmonte from comment #10) > Stats have been added if you check the linux-next branch - I compiled the > alx driver from there and am using it with 3.12 with no problems. Too