From: [email protected] <[email protected]> Sent: Wednesday, November 11, 2020 10:35 PM To: Nguyen, Anthony L <[email protected]>; Fijalkowski, Maciej <[email protected]>; [email protected] Cc: [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; Penigalapati, Sandeep <[email protected]>; [email protected]; [email protected] Subject: [PATCH v4 6/6] igb: avoid transmit queue timeout in xdp path
From: Sven Auhagen <[email protected]> Since we share the transmit queue with the network stack, it is possible that we run into a transmit queue timeout. This will reset the queue. This happens under high load when XDP is using the transmit queue pretty much exclusively. netdev_start_xmit() sets the trans_start variable of the transmit queue to jiffies which is later utilized by dev_watchdog(), so to avoid timeout, let stack know that XDP xmit happened by bumping the trans_start within XDP Tx routines to jiffies. Acked-by: Maciej Fijalkowski <[email protected]> Signed-off-by: Sven Auhagen <[email protected]> --- drivers/net/ethernet/intel/igb/igb_main.c | 5 +++++ 1 file changed, 5 insertions(+) Tested-by: Sandeep Penigalapati <[email protected]>
