[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1495573858-32346-1-git-send-email-andrew@lunn.ch>
Date: Tue, 23 May 2017 23:10:56 +0200
From: Andrew Lunn <andrew@...n.ch>
To: David Miller <davem@...emloft.net>
Cc: Florian Fainelli <f.fainelli@...il.com>,
hayeswang <hayeswang@...ltek.com>,
netdev <netdev@...r.kernel.org>, Andrew Lunn <andrew@...n.ch>
Subject: [PATCH v2 net-next 0/2] Start making stats consistent
It does not appear that the sysfs class net stats have been clearly
defined, resulting in different network interfaces implementing them
slightly different. Define that the rx_bytes and tx_bytes counters
should include the Ethernet header, data and FEC. Modify the r8152 USB
Ethernet driver to include the FEC in its counters.
Andrew Lunn (2):
Documentation: sysfs-class-net-statistics: Clarify rx_bytes and
tx_bytes
net: usb: r8152: Fix rx_bytes/tx_bytes to include FCS
Documentation/ABI/testing/sysfs-class-net-statistics | 6 ++++--
drivers/net/usb/r8152.c | 5 ++---
2 files changed, 6 insertions(+), 5 deletions(-)
--
2.11.0
Powered by blists - more mailing lists