aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing
diff options
context:
space:
mode:
authorHoratiu Vultur <horatiu.vultur@microchip.com>2022-10-19 10:30:56 +0200
committerJakub Kicinski <kuba@kernel.org>2022-10-20 21:08:54 -0700
commitf8c1c66b99a570c08b9d26e4347276f00e49bba7 (patch)
treeac8a1a93713c52c7feabc1e1cf6d1763ccb99766 /tools/testing
parentnet: netsec: fix error handling in netsec_register_mdio() (diff)
downloadlinux-dev-f8c1c66b99a570c08b9d26e4347276f00e49bba7.tar.xz
linux-dev-f8c1c66b99a570c08b9d26e4347276f00e49bba7.zip
net: lan966x: Fix the rx drop counter
Currently the rx drop is calculated as the sum of multiple HW drop counters. The issue is that not all the HW drop counters were added for the rx drop counter. So if for example you have a police that drops frames, they were not see in the rx drop counter. Fix this by updating how the rx drop counter is calculated. It is required to add also RX_RED_PRIO_* HW counters. Fixes: 12c2d0a5b8e2 ("net: lan966x: add ethtool configuration and statistics") Signed-off-by: Horatiu Vultur <horatiu.vultur@microchip.com> Link: https://lore.kernel.org/r/20221019083056.2744282-1-horatiu.vultur@microchip.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/testing')
0 files changed, 0 insertions, 0 deletions