[Intel-wired-lan] [iwl-next v2 4/4] ice: update representor when VSI is ready

Buvaneswaran, Sujai sujai.buvaneswaran at intel.com
Tue May 14 07:32:14 UTC 2024


> -----Original Message-----
> From: Intel-wired-lan <intel-wired-lan-bounces at osuosl.org> On Behalf Of
> Michal Swiatkowski
> Sent: Monday, May 6, 2024 2:17 PM
> To: intel-wired-lan at lists.osuosl.org
> Cc: shayd at nvidia.com; Fijalkowski, Maciej <maciej.fijalkowski at intel.com>;
> Samudrala, Sridhar <sridhar.samudrala at intel.com>; Polchlopek, Mateusz
> <mateusz.polchlopek at intel.com>; netdev at vger.kernel.org; jiri at nvidia.com;
> Kubiak, Michal <michal.kubiak at intel.com>; pio.raczynski at gmail.com;
> Kitszel, Przemyslaw <przemyslaw.kitszel at intel.com>; Keller, Jacob E
> <jacob.e.keller at intel.com>; Drewek, Wojciech
> <wojciech.drewek at intel.com>
> 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 <michal.swiatkowski at linux.intel.com>
> ---
>  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 <sujai.buvaneswaran at intel.com>


More information about the Intel-wired-lan mailing list