kernel_samsung_a53x/drivers/net/ethernet/intel
Maciej Fijalkowski 572c16f2e9 ixgbe: {dis, en}able irqs in ixgbe_txrx_ring_{dis, en}able
[ Upstream commit cbf996f52c4e658b3fb4349a869a62fd2d4c3c1c ]

Currently routines that are supposed to toggle state of ring pair do not
take care of associated interrupt with queue vector that these rings
belong to. This causes funky issues such as dead interface due to irq
misconfiguration, as per Pavel's report from Closes: tag.

Add a function responsible for disabling single IRQ in EIMC register and
call this as a very first thing when disabling ring pair during xsk_pool
setup. For enable let's reuse ixgbe_irq_enable_queues(). Besides this,
disable/enable NAPI as first/last thing when dealing with closing or
opening ring pair that xsk_pool is being configured on.

Reported-by: Pavel Vazharov <pavel@x3me.net>
Closes: https://lore.kernel.org/netdev/CAJEV1ijxNyPTwASJER1bcZzS9nMoZJqfR86nu_3jFFVXzZQ4NA@mail.gmail.com/
Fixes: 024aa5800f32 ("ixgbe: added Rx/Tx ring disable/enable functions")
Signed-off-by: Maciej Fijalkowski <maciej.fijalkowski@intel.com>
Acked-by: Magnus Karlsson <magnus.karlsson@intel.com>
Tested-by: Chandan Kumar Rout <chandanx.rout@intel.com> (A Contingent Worker at Intel)
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-11-18 23:19:34 +01:00
..
e1000 Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
e1000e Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
fm10k Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
i40e i40e: Fix waiting for queues of all VSIs to be disabled 2024-11-18 12:13:28 +01:00
iavf Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ice ice: reset first in crash dump kernels 2024-11-08 11:26:08 +01:00
igb igb: Fix potential memory leak in igb_add_ethtool_nfc_entry 2024-11-18 10:58:29 +01:00
igbvf Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
igc igc: Fix ambiguity in the ethtool advertising 2024-11-18 10:58:29 +01:00
ixgb Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ixgbe ixgbe: {dis, en}able irqs in ixgbe_txrx_ring_{dis, en}able 2024-11-18 23:19:34 +01:00
ixgbevf Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
e100.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Kconfig Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Makefile Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00