diff options
author | Sabrina Dubroca <sd@queasysnail.net> | 2014-01-09 13:09:31 +0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-01-12 08:52:59 +0400 |
commit | b7e6ce18cb361064c35394cdb81def8c293732a0 (patch) | |
tree | 8b7dae6197bfbbc539b6d9a0f390494a516d2562 /drivers/net/ethernet/atheros/alx/hw.h | |
parent | f1b6b1062a546279e3e340524c25029b8c6da385 (diff) | |
download | linux-b7e6ce18cb361064c35394cdb81def8c293732a0.tar.xz |
alx: add stats to ethtool
Signed-off-by: Sabrina Dubroca <sd@queasysnail.net>
Reviewed-by: Ben Hutchings <bhutchings@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/atheros/alx/hw.h')
-rw-r--r-- | drivers/net/ethernet/atheros/alx/hw.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/drivers/net/ethernet/atheros/alx/hw.h b/drivers/net/ethernet/atheros/alx/hw.h index 854d80704f12..15548802d6f8 100644 --- a/drivers/net/ethernet/atheros/alx/hw.h +++ b/drivers/net/ethernet/atheros/alx/hw.h @@ -381,7 +381,12 @@ struct alx_rrd { ALX_ISR_RX_Q6 | \ ALX_ISR_RX_Q7) -/* Statistics counters collected by the MAC */ +/* Statistics counters collected by the MAC + * + * The order of the fields must match the strings in alx_gstrings_stats + * All stats fields should be u64 + * See ethtool.c + */ struct alx_hw_stats { /* rx */ u64 rx_ok; /* good RX packets */ |