Home
last modified time | relevance | path

Searched hist:e27d785e60b6b1d4a53ec632db2e8c5b16bd6cd6 (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/net/ethernet/mscc/
H A Docelot.cdiff e27d785e60b6b1d4a53ec632db2e8c5b16bd6cd6 Sun Feb 13 13:12:51 CST 2022 Colin Foster <colin.foster@in-advantage.com> 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>