[Intel-wired-lan] [iwl-next v2 3/4] ice: move VSI configuration outside repr setup

Buvaneswaran, Sujai sujai.buvaneswaran at intel.com
Tue May 14 07:31:36 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 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 <michal.swiatkowski at linux.intel.com>
> ---
>  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 <sujai.buvaneswaran at intel.com>


More information about the Intel-wired-lan mailing list