diff options
author | Colin Foster <[email protected]> | 2022-02-13 11:12:51 -0800 |
---|---|---|
committer | David S. Miller <[email protected]> | 2022-02-14 13:24:29 +0000 |
commit | e27d785e60b6b1d4a53ec632db2e8c5b16bd6cd6 (patch) | |
tree | e84ed92d54584f6ec78e689f9023abfb6b1c517a /drivers/net/ethernet/intel/ice/ice_main.c | |
parent | 4cf91f825b2777f81799f98ce32172b829acd1b2 (diff) |
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 <[email protected]>
Reviewed-by: Vladimir Oltean <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'drivers/net/ethernet/intel/ice/ice_main.c')
0 files changed, 0 insertions, 0 deletions