ice: always return IRQ_WAKE_THREAD in ice_misc_intr()
authorKarol Kolacinski <karol.kolacinski@intel.com>
Thu, 1 Jun 2023 21:15:04 +0000 (14:15 -0700)
committerTony Nguyen <anthony.l.nguyen@intel.com>
Thu, 8 Jun 2023 17:13:44 +0000 (10:13 -0700)
commitd578e618f192f453baf4fd7e32fec88ed7e678b8
tree328a6bb168f2d34210b8704d73585805eac53472
parent6e8b2c88fc8cf95ed09de25946b20b7536c88cd5
ice: always return IRQ_WAKE_THREAD in ice_misc_intr()

Refactor the ice_misc_intr() function to always return IRQ_WAKE_THREAD, and
schedule the service task during the soft IRQ thread function instead of at
the end of the hard IRQ handler.

Remove the duplicate call to ice_service_task_schedule() that happened when
we got a PCI exception.

Signed-off-by: Karol Kolacinski <karol.kolacinski@intel.com>
Signed-off-by: Jacob Keller <jacob.e.keller@intel.com>
Tested-by: Arpana Arland <arpanax.arland@intel.com> (A Contingent worker at Intel)
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
drivers/net/ethernet/intel/ice/ice_main.c