> -----Original Message-----
> From: Intel-wired-lan <[email protected]> On Behalf Of
> Michal Swiatkowski
> Sent: Monday, May 6, 2024 2:17 PM
> To: [email protected]
> Cc: [email protected]; Fijalkowski, Maciej <[email protected]>;
> Samudrala, Sridhar <[email protected]>; Polchlopek, Mateusz
> <[email protected]>; [email protected]; [email protected];
> Kubiak, Michal <[email protected]>; [email protected];
> Kitszel, Przemyslaw <[email protected]>; Keller, Jacob E
> <[email protected]>; Drewek, Wojciech
> <[email protected]>
> Subject: [Intel-wired-lan] [iwl-next v2 4/4] ice: update representor when VSI
> is ready
>
> In case of reset of VF VSI can be reallocated. To handle this case it should
> be
> properly updated.
>
> Reload representor as vsi->vsi_num can be different than the one stored
> when representor was created.
>
> Instead of only changing antispoof do whole VSI configuration for eswitch.
>
> Signed-off-by: Michal Swiatkowski <[email protected]>
> ---
> drivers/net/ethernet/intel/ice/ice_eswitch.c | 21 +++++++++++++-------
> drivers/net/ethernet/intel/ice/ice_eswitch.h | 4 ++--
> drivers/net/ethernet/intel/ice/ice_vf_lib.c | 2 +-
> 3 files changed, 17 insertions(+), 10 deletions(-)
>
Tested-by: Sujai Buvaneswaran <[email protected]>