On 7/24/2024 9:48 AM, Larysa Zaremba wrote: > 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 <wojciech.dre...@intel.com> > Signed-off-by: Larysa Zaremba <larysa.zare...@intel.com> > --- Right. When operating on the rings, we should be checking xdp_rings. Ok. Reviewed-by: Jacob Keller <jacob.e.kel...@intel.com>
- Re: [Intel-wired-lan] [PATCH iwl-net v2 1/6] ice: ... Jacob Keller
- Re: [Intel-wired-lan] [PATCH iwl-net v2 1/6] ice: ... Nambiar, Amritha
- Re: [Intel-wired-lan] [PATCH iwl-net v2 1/6] ice: ... Rout, ChandanX
- [Intel-wired-lan] [PATCH iwl-net v2 2/6] ice: protect X... Larysa Zaremba
- Re: [Intel-wired-lan] [PATCH iwl-net v2 2/6] ice: ... Jacob Keller
- Re: [Intel-wired-lan] [PATCH iwl-net v2 2/6] ice: ... Rout, ChandanX
- [Intel-wired-lan] [PATCH iwl-net v2 4/6] ice: check ICE... Larysa Zaremba
- Re: [Intel-wired-lan] [PATCH iwl-net v2 4/6] ice: ... Jacob Keller
- Re: [Intel-wired-lan] [PATCH iwl-net v2 4/6] ice: ... Rout, ChandanX
- [Intel-wired-lan] [PATCH iwl-net v2 3/6] ice: check for... Larysa Zaremba
- Re: [Intel-wired-lan] [PATCH iwl-net v2 3/6] ice: ... Jacob Keller
- Re: [Intel-wired-lan] [PATCH iwl-net v2 3/6] ice: ... Rout, ChandanX
- Re: [Intel-wired-lan] [PATCH iwl-net v2 3/6] ice: ... Maciej Fijalkowski
- Re: [Intel-wired-lan] [PATCH iwl-net v2 3/6] i... Larysa Zaremba
- [Intel-wired-lan] [PATCH iwl-net v2 5/6] ice: remove IC... Larysa Zaremba
- Re: [Intel-wired-lan] [PATCH iwl-net v2 5/6] ice: ... Jacob Keller
- Re: [Intel-wired-lan] [PATCH iwl-net v2 5/6] ice: ... Rout, ChandanX
- Re: [Intel-wired-lan] [PATCH iwl-net v2 5/6] ice: ... Maciej Fijalkowski
- Re: [Intel-wired-lan] [PATCH iwl-net v2 5/6] i... Larysa Zaremba
- Re: [Intel-wired-lan] [PATCH iwl-net v2 5/... Maciej Fijalkowski
- [Intel-wired-lan] [PATCH iwl-net v2 6/6] ice: do not br... Larysa Zaremba