mbox series

[v2,iwl-net,0/2] i40e: disable XDP Tx queues on ifdown

Message ID 20240206124132.636342-1-maciej.fijalkowski@intel.com (mailing list archive)
Headers show
Series i40e: disable XDP Tx queues on ifdown | expand

Message

Maciej Fijalkowski Feb. 6, 2024, 12:41 p.m. UTC
Seth reported in [0] that he couldn't get traffic flowing again after a
round of down/up of interface that i40e driver manages.

While looking into fixing Tx disable timeout issue I also noticed that
there is a doubled function call on Rx side which is fixed in patch 1.

Thanks,
Maciej

[0]: https://lore.kernel.org/netdev/ZbkE7Ep1N1Ou17sA@do-x1extreme/

v2:
- include vsi->base_queue when calculating tx_q_end
- add tags from Simon and Seth

Maciej Fijalkowski (2):
  i40e: avoid double calling i40e_pf_rxq_wait()
  i40e: take into account XDP Tx queues when stopping rings

 drivers/net/ethernet/intel/i40e/i40e_main.c | 22 +++++++++------------
 1 file changed, 9 insertions(+), 13 deletions(-)