> -----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 3/4] ice: move VSI configuration
> outside repr setup
>
> It is needed because subfunction port representor shouldn't configure the
> source VSI during representor creation.
>
> Move the code to separate function and call it only in case the VF port
> representor is being created.
>
> Signed-off-by: Michal Swiatkowski <[email protected]>
> ---
> drivers/net/ethernet/intel/ice/ice_eswitch.c | 55 ++++++++++++++------
> drivers/net/ethernet/intel/ice/ice_eswitch.h | 10 ++++
> drivers/net/ethernet/intel/ice/ice_repr.c | 7 +++
> 3 files changed, 57 insertions(+), 15 deletions(-)
>
Tested-by: Sujai Buvaneswaran <[email protected]>