>-----Original Message-----
>From: Intel-wired-lan <[email protected]> On Behalf Of
>Fijalkowski, Maciej
>Sent: Tuesday, February 6, 2024 6:12 PM
>To: [email protected]
>Cc: Fijalkowski, Maciej <[email protected]>;
>[email protected]; Nguyen, Anthony L <[email protected]>;
>Seth Forshee <[email protected]>; Simon Horman <[email protected]>;
>Karlsson, Magnus <[email protected]>
>Subject: [Intel-wired-lan] [PATCH v2 iwl-net 2/2] i40e: take into account XDP 
>Tx
>queues when stopping rings
>
>Seth reported that on his side XDP traffic can not survive a round of down/up
>against i40e interface. Dmesg output was telling us that we were not able to
>disable the very first XDP ring. That was due to the fact that in
>i40e_vsi_stop_rings() in a pre-work that is done before calling
>i40e_vsi_wait_queues_disabled(), XDP Tx queues were not taken into the
>account.
>
>To fix this, let us distinguish between Rx and Tx queue boundaries and take 
>into
>the account XDP queues for Tx side.
>
>Reported-by: Seth Forshee <[email protected]>
>Closes: https://lore.kernel.org/netdev/ZbkE7Ep1N1Ou17sA@do-x1extreme/
>Fixes: 65662a8dcdd0 ("i40e: Fix logic of disabling queues")
>Tested-by: Seth Forshee <[email protected]>
>Reviewed-by: Simon Horman <[email protected]>
>Signed-off-by: Maciej Fijalkowski <[email protected]>
>---
> drivers/net/ethernet/intel/i40e/i40e_main.c | 14 ++++++++------
> 1 file changed, 8 insertions(+), 6 deletions(-)
>

Tested-by: Chandan Kumar Rout <[email protected]> (A Contingent Worker at 
Intel)

Reply via email to