diff options
author | Sabrina Dubroca <sd@queasysnail.net> | 2014-01-09 10:09:31 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-01-11 20:52:59 -0800 |
commit | b7e6ce18cb361064c35394cdb81def8c293732a0 (patch) | |
tree | 8b7dae6197bfbbc539b6d9a0f390494a516d2562 /drivers/net/ethernet/atheros/alx/hw.h | |
parent | f1b6b1062a546279e3e340524c25029b8c6da385 (diff) | |
download | op-kernel-dev-b7e6ce18cb361064c35394cdb81def8c293732a0.zip op-kernel-dev-b7e6ce18cb361064c35394cdb81def8c293732a0.tar.gz |
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 854d807..1554880 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 */ |