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>
This commit is contained in:

committad av
David S. Miller

förälder
f1b6b1062a
incheckning
b7e6ce18cb
@@ -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 */
|
||||
|
Referens i nytt ärende
Block a user