summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2018-03-04 21:34:19 +0300
committerDavid S. Miller <davem@davemloft.net>2018-03-04 21:34:19 +0300
commit413033149c65421ced8760a89ed807a8934439a8 (patch)
treeaf056020b5dbecea1e4fc30f37e50a32ae747576 /include
parentefab163bbc19e5dbd2b7756c1f26defc9c27d6ba (diff)
parentcda9f4aae3dceed192442807b70a5d34a13c478b (diff)
downloadlinux-413033149c65421ced8760a89ed807a8934439a8.tar.xz
Merge branch 'dsa-serdes-stats'
Andrew Lunn says: ==================== Export SERDES stats via ethtool -S The mv88e6352 family has a SERDES interface which can be used for example to connect to SFF/SFP modules. This interface has a couple of statistics counters. Add support for including these counters in the output of ethtool -S. ==================== Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
-rw-r--r--include/net/dsa.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/dsa.h b/include/net/dsa.h
index 0ad17b63684d..60fb4ec8ba61 100644
--- a/include/net/dsa.h
+++ b/include/net/dsa.h
@@ -359,7 +359,7 @@ struct dsa_switch_ops {
void (*get_strings)(struct dsa_switch *ds, int port, uint8_t *data);
void (*get_ethtool_stats)(struct dsa_switch *ds,
int port, uint64_t *data);
- int (*get_sset_count)(struct dsa_switch *ds);
+ int (*get_sset_count)(struct dsa_switch *ds, int port);
/*
* ethtool Wake-on-LAN