]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
amd-xgbe: avoid misleading per-packet error log
authorRaju Rangoju <Raju.Rangoju@amd.com>
Wed, 14 Jan 2026 16:30:37 +0000 (22:00 +0530)
committerJakub Kicinski <kuba@kernel.org>
Sat, 17 Jan 2026 23:42:48 +0000 (15:42 -0800)
commitc158f985cf6c2c36c99c4f67af2ff3f5ebe09f8f
tree9839d63222bd0af3df8f9d3843ab08d82a73b154
parentd998b0e5afffa90d0f03770bad31083767079858
amd-xgbe: avoid misleading per-packet error log

On the receive path, packet can be damaged because of buffer
overflow in Rx FIFO. Avoid misleading per-packet error log when
packet->errors is set, this can flood the log. Instead, rely on the
standard rtnl_link_stats64 stats.

Fixes: c5aa9e3b8156 ("amd-xgbe: Initial AMD 10GbE platform driver")
Signed-off-by: Raju Rangoju <Raju.Rangoju@amd.com>
Link: https://patch.msgid.link/20260114163037.2062606-1-Raju.Rangoju@amd.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/amd/xgbe/xgbe-drv.c