Searched hist:"30108546942 ee14673800e163a7697b4bae610a3" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/net/ethernet/mscc/ |
H A D | ocelot_stats.c | diff 30108546942ee14673800e163a7697b4bae610a3 Wed Dec 13 18:09:01 CST 2023 Vladimir Oltean <vladimir.oltean@nxp.com> net: mscc: ocelot: fix eMAC TX RMON stats for bucket 256-511 and above
[ Upstream commit 52eda4641d041667fa059f4855c5f88dcebd8afe ]
There is a typo in the driver due to which we report incorrect TX RMON counters for the 256-511 octet bucket and all the other buckets larger than that.
Bug found with the selftest at https://patchwork.kernel.org/project/netdevbpf/patch/20231211223346.2497157-9-tobias@waldekranz.com/
Fixes: e32036e1ae7b ("net: mscc: ocelot: add support for all sorts of standardized counters present in DSA") Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com> Reviewed-by: Florian Fainelli <florian.fainelli@broadcom.com> Link: https://lore.kernel.org/r/20231214000902.545625-1-vladimir.oltean@nxp.com Signed-off-by: Jakub Kicinski <kuba@kernel.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
|