projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
alx: add alx_get_stats64 operation
[cascardo/linux.git]
/
drivers
/
net
/
ethernet
/
atheros
/
alx
/
alx.h
diff --git
a/drivers/net/ethernet/atheros/alx/alx.h
b/drivers/net/ethernet/atheros/alx/alx.h
index
d71103d
..
8fc93c5
100644
(file)
--- a/
drivers/net/ethernet/atheros/alx/alx.h
+++ b/
drivers/net/ethernet/atheros/alx/alx.h
@@
-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;