diff options
author | David S. Miller <davem@davemloft.net> | 2018-03-04 13:34:19 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-03-04 13:34:19 -0500 |
commit | 413033149c65421ced8760a89ed807a8934439a8 (patch) | |
tree | af056020b5dbecea1e4fc30f37e50a32ae747576 /drivers/net/dsa/qca8k.c | |
parent | efab163bbc19e5dbd2b7756c1f26defc9c27d6ba (diff) | |
parent | cda9f4aae3dceed192442807b70a5d34a13c478b (diff) | |
download | linux-413033149c65421ced8760a89ed807a8934439a8.tar.bz2 |
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 'drivers/net/dsa/qca8k.c')
-rw-r--r-- | drivers/net/dsa/qca8k.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/dsa/qca8k.c b/drivers/net/dsa/qca8k.c index 9df22ebee822..600d5ad1fbde 100644 --- a/drivers/net/dsa/qca8k.c +++ b/drivers/net/dsa/qca8k.c @@ -631,7 +631,7 @@ qca8k_get_ethtool_stats(struct dsa_switch *ds, int port, } static int -qca8k_get_sset_count(struct dsa_switch *ds) +qca8k_get_sset_count(struct dsa_switch *ds, int port) { return ARRAY_SIZE(ar8327_mib); } |