]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
net: stmmac: est: Drop frames causing HLBS error
authorRohan G Thomas <rohan.g.thomas@altera.com>
Thu, 25 Sep 2025 14:06:13 +0000 (22:06 +0800)
committerJakub Kicinski <kuba@kernel.org>
Tue, 30 Sep 2025 00:49:34 +0000 (17:49 -0700)
commit7ce48d497475d7222bd8258c5c055eb7d928793c
tree9ef7a642dd17bce28532c82646db35e06e3a6d80
parent96ccc93744f8260f62841ee1de7153bb1b8cfd83
net: stmmac: est: Drop frames causing HLBS error

Drop those frames causing Head-of-Line Blocking due to Scheduling
(HLBS) error to avoid HLBS interrupt flooding and netdev watchdog
timeouts due to blocked packets. Tx queues can be configured to drop
those blocked packets by setting Drop Frames causing Scheduling Error
(DFBS) bit of EST_CONTROL register.

Also, add per queue HLBS drop count.

Signed-off-by: Rohan G Thomas <rohan.g.thomas@altera.com>
Reviewed-by: Matthew Gerlach <matthew.gerlach@altera.com>
Reviewed-by: Furong Xu <0x1207@gmail.com>
Link: https://patch.msgid.link/20250925-hlbs_2-v3-1-3b39472776c2@altera.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/stmicro/stmmac/common.h
drivers/net/ethernet/stmicro/stmmac/stmmac_est.c
drivers/net/ethernet/stmicro/stmmac/stmmac_est.h