alx: add alx_get_stats64 operation

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:
Sabrina Dubroca
2014-01-09 10:09:30 +01:00
committed by David S. Miller
parent 5665dc6488
commit f1b6b1062a
2 changed files with 53 additions and 0 deletions

View File

@@ -106,6 +106,9 @@ struct alx_priv {
u16 msg_enable;
bool msi;
/* protects hw.stats */
spinlock_t stats_lock;
};
extern const struct ethtool_ops alx_ethtool_ops;