alx: add alx_get_stats64 operation
[cascardo/linux.git] / drivers / net / ethernet / atheros / alx / alx.h
index d71103d..8fc93c5 100644 (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;