]> git.baikalelectronics.ru Git - kernel.git/commit
igc: Avoid transmit queue timeout for XDP
authorKurt Kanzenbach <kurt@linutronix.de>
Wed, 12 Apr 2023 07:36:11 +0000 (09:36 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 27 Jul 2023 06:50:44 +0000 (08:50 +0200)
commitc0268bc0d7adaa7eb11978c7c7d1452c5de41d81
tree7c8c478cdc762a16fe463c43d3208c3a100104c3
parentbb6ae775ff7f7e9d160613fa1896b16bd8cac650
igc: Avoid transmit queue timeout for XDP

[ Upstream commit 95b681485563c64585de78662ee52d06b7fa47d9 ]

High XDP load triggers the netdev watchdog:

|NETDEV WATCHDOG: enp3s0 (igc): transmit queue 2 timed out

The reason is the Tx queue transmission start (txq->trans_start) is not updated
in XDP code path. Therefore, add it for all XDP transmission functions.

Signed-off-by: Kurt Kanzenbach <kurt@linutronix.de>
Tested-by: Naama Meir <naamax.meir@linux.intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Stable-dep-of: 78adb4bcf99e ("igc: Prevent garbled TX queue with XDP ZEROCOPY")
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/net/ethernet/intel/igc/igc_main.c