net: txgbe: add extra handle for MSI/INTx into thread irq handle
authorJiawen Wu <jiawenwu@trustnetic.com>
Mon, 1 Jul 2024 07:14:15 +0000 (15:14 +0800)
committerPaolo Abeni <pabeni@redhat.com>
Tue, 2 Jul 2024 14:07:04 +0000 (16:07 +0200)
commit1e1fa1723eb3a293d7d0b1c1a9ad8774c1ef0aa0
treec414ab3ab073589812575709b7545a085800aeb3
parentbd07a98178462e7a02ed2bf7dec90a00944c1da5
net: txgbe: add extra handle for MSI/INTx into thread irq handle

Rename original txgbe_misc_irq_handle() to txgbe_misc_irq_thread_fn()
since it is the handle thread to wake up. And add the primary handler
to deal the case of MSI/INTx, because there is a schedule NAPI poll.

Fixes: aefd013624a1 ("net: txgbe: use irq_domain for interrupt controller")
Signed-off-by: Jiawen Wu <jiawenwu@trustnetic.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
drivers/net/ethernet/wangxun/txgbe/txgbe_irq.c