>-----Original Message-----
>From: Intel-wired-lan <[email protected]> On Behalf Of
>Zaremba, Larysa
>Sent: Wednesday, July 24, 2024 10:19 PM
>To: [email protected]
>Cc: Drewek, Wojciech <[email protected]>; Fijalkowski, Maciej
><[email protected]>; Jesper Dangaard Brouer <[email protected]>;
>Daniel Borkmann <[email protected]>; Zaremba, Larysa
><[email protected]>; [email protected]; John Fastabend
><[email protected]>; Alexei Starovoitov <[email protected]>; linux-
>[email protected]; Eric Dumazet <[email protected]>; Kubiak,
>Michal <[email protected]>; Nguyen, Anthony L
><[email protected]>; Nambiar, Amritha
><[email protected]>; Keller, Jacob E <[email protected]>;
>Jakub Kicinski <[email protected]>; [email protected]; Paolo Abeni
><[email protected]>; David S. Miller <[email protected]>; Karlsson,
>Magnus <[email protected]>
>Subject: [Intel-wired-lan] [PATCH iwl-net v2 3/6] ice: check for XDP rings
>instead of bpf program when unconfiguring
>
>If VSI rebuild is pending, .ndo_bpf() can attach/detach the XDP program on VSI
>without applying new ring configuration. When unconfiguring the VSI, we can
>encounter the state in which there is an XDP program but no XDP rings to
>destroy or there will be XDP rings that need to be destroyed, but no XDP
>program to indicate their presence.
>
>When unconfiguring, rely on the presence of XDP rings rather then XDP
>program, as they better represent the current state that has to be destroyed.
>
>Reviewed-by: Wojciech Drewek <[email protected]>
>Signed-off-by: Larysa Zaremba <[email protected]>
>---
> drivers/net/ethernet/intel/ice/ice_lib.c  | 4 ++--
>drivers/net/ethernet/intel/ice/ice_main.c | 4 ++--
>drivers/net/ethernet/intel/ice/ice_xsk.c  | 6 +++---
> 3 files changed, 7 insertions(+), 7 deletions(-)
>

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

Reply via email to