mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2025-08-24 19:24:47 +00:00
![]() Currently ixgbe driver checks periodically in its watchdog subtask if there is anything to be transmitted (considering both Tx and XDP rings) under state of carrier not being 'ok'. Such event is interpreted as Tx hang and therefore results in interface reset. This is currently problematic for ndo_xdp_xmit() as it is allowed to produce descriptors when interface is going through reset or its carrier is turned off. Furthermore, XDP rings should not really be objects of Tx hang detection. This mechanism is rather a matter of ndo_tx_timeout() being called from dev_watchdog against Tx rings exposed to networking stack. Taking into account issues described above, let us have a two fold fix - do not respect XDP rings in local ixgbe watchdog and do not produce Tx descriptors in ndo_xdp_xmit callback when there is some problem with carrier currently. For now, keep the Tx hang checks in clean Tx irq routine, but adjust it to not execute for XDP rings. Cc: Tobias Böhm <tobias.boehm@hetzner-cloud.de> Reported-by: Marcus Wichelmann <marcus.wichelmann@hetzner-cloud.de> Closes: https://lore.kernel.org/netdev/eca1880f-253a-4955-afe6-732d7c6926ee@hetzner-cloud.de/ Fixes: |
||
---|---|---|
.. | ||
devlink | ||
ixgbe_82598.c | ||
ixgbe_82599.c | ||
ixgbe_common.c | ||
ixgbe_common.h | ||
ixgbe_dcb_82598.c | ||
ixgbe_dcb_82598.h | ||
ixgbe_dcb_82599.c | ||
ixgbe_dcb_82599.h | ||
ixgbe_dcb_nl.c | ||
ixgbe_dcb.c | ||
ixgbe_dcb.h | ||
ixgbe_debugfs.c | ||
ixgbe_e610.c | ||
ixgbe_e610.h | ||
ixgbe_ethtool.c | ||
ixgbe_fcoe.c | ||
ixgbe_fcoe.h | ||
ixgbe_fw_update.c | ||
ixgbe_fw_update.h | ||
ixgbe_ipsec.c | ||
ixgbe_ipsec.h | ||
ixgbe_lib.c | ||
ixgbe_main.c | ||
ixgbe_mbx.c | ||
ixgbe_mbx.h | ||
ixgbe_model.h | ||
ixgbe_phy.c | ||
ixgbe_phy.h | ||
ixgbe_ptp.c | ||
ixgbe_sriov.c | ||
ixgbe_sriov.h | ||
ixgbe_sysfs.c | ||
ixgbe_txrx_common.h | ||
ixgbe_type_e610.h | ||
ixgbe_type.h | ||
ixgbe_x540.c | ||
ixgbe_x540.h | ||
ixgbe_x550.c | ||
ixgbe_x550.h | ||
ixgbe_xsk.c | ||
ixgbe.h | ||
Makefile |