]> www.infradead.org Git - users/jedix/linux-maple.git/commit
net: txgbe: Fix pending interrupt
authorJiawen Wu <jiawenwu@trustnetic.com>
Mon, 12 May 2025 10:06:52 +0000 (18:06 +0800)
committerJakub Kicinski <kuba@kernel.org>
Tue, 13 May 2025 22:38:26 +0000 (15:38 -0700)
commit904c6ad822b6dc115cbef2c1a119b89149fc5add
tree3df6bb75a1fc718c07a45469568b73b0e4132728
parentc20219ee62340a5744b6d8cab709e1eba8f58a80
net: txgbe: Fix pending interrupt

For unknown reasons, sometimes the value of MISC interrupt is 0 in the
IRQ handle function. In this case, wx_intr_enable() is also should be
invoked to clear the interrupt. Otherwise, the next interrupt would
never be reported.

Fixes: a9843689e2de ("net: txgbe: add sriov function support")
Signed-off-by: Jiawen Wu <jiawenwu@trustnetic.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Link: https://patch.msgid.link/F4F708403CE7090B+20250512100652.139510-1-jiawenwu@trustnetic.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/wangxun/txgbe/txgbe_irq.c