summaryrefslogtreecommitdiff
path: root/include/soc
diff options
context:
space:
mode:
authorColin Foster <colin.foster@in-advantage.com>2022-02-13 22:12:51 +0300
committerDavid S. Miller <davem@davemloft.net>2022-02-14 16:24:29 +0300
commite27d785e60b6b1d4a53ec632db2e8c5b16bd6cd6 (patch)
treee84ed92d54584f6ec78e689f9023abfb6b1c517a /include/soc
parent4cf91f825b2777f81799f98ce32172b829acd1b2 (diff)
downloadlinux-e27d785e60b6b1d4a53ec632db2e8c5b16bd6cd6.tar.xz
net: mscc: ocelot: remove unnecessary stat reading from ethtool
The ocelot_update_stats function only needs to read from one port, yet it was updating the stats for all ports. Update to only read the stats that are necessary. Signed-off-by: Colin Foster <colin.foster@in-advantage.com> Reviewed-by: Vladimir Oltean <vladimir.oltean@nxp.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/soc')
0 files changed, 0 insertions, 0 deletions