]> git.ipfire.org Git - thirdparty/kernel/stable.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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 30 Jan 2026 09:27:33 +0000 (10:27 +0100)
commit8a8a5a43fef4ee34ff6c9c23be44227e5f20f844
tree35e6e69a1a737ed6262b9c20afc5003be3227cdf
parente7e81abbcc5620c9532080538f9709a6ea382855
amd-xgbe: avoid misleading per-packet error log

[ Upstream commit c158f985cf6c2c36c99c4f67af2ff3f5ebe09f8f ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/net/ethernet/amd/xgbe/xgbe-drv.c