]> git.baikalelectronics.ru Git - kernel.git/commit
dpaa_eth: add dropped frames to percpu ethtool stats
authorMadalin Bucur <madalin.bucur@nxp.com>
Thu, 31 Oct 2019 14:37:55 +0000 (16:37 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 31 Oct 2019 19:13:34 +0000 (12:13 -0700)
commit05665f390609f949c9778bdf6f999ad5f0fd07cf
treed348cd83e11faeb9028e0aa3da633dd7eb44768a
parent5cf2a3e0964258289d3d8e964a46bb984d6db530
dpaa_eth: add dropped frames to percpu ethtool stats

Prior to this change, the frames dropped on receive or transmit
were not displayed in the ethtool statistics, leaving the dropped
frames unaccounted for.

Signed-off-by: Madalin Bucur <madalin.bucur@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/freescale/dpaa/dpaa_ethtool.c