> -----Original Message----- > From: Intel-wired-lan <[email protected]> On Behalf Of Michal > Swiatkowski > Sent: Thursday, June 6, 2024 1:25 PM > To: [email protected] > Cc: [email protected]; Fijalkowski, Maciej <[email protected]>; > [email protected]; Samudrala, Sridhar <[email protected]>; > Polchlopek, Mateusz <[email protected]>; [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 v5 09/15] ice: create port representor > for SF > > Implement attaching and detaching SF port representor. It is done in the same > way as the VF port representor. > > SF port representor is always added or removed with devlink lock taken. > > Reviewed-by: Simon Horman <[email protected]> > Signed-off-by: Michal Swiatkowski <[email protected]> > --- > .../ethernet/intel/ice/devlink/devlink_port.c | 6 +-- > drivers/net/ethernet/intel/ice/ice_eswitch.c | 39 ++++++++++++++ > drivers/net/ethernet/intel/ice/ice_eswitch.h | 11 ++++ > drivers/net/ethernet/intel/ice/ice_repr.c | 52 +++++++++++++++++++ > drivers/net/ethernet/intel/ice/ice_repr.h | 7 ++- > 5 files changed, 111 insertions(+), 4 deletions(-) > > diff --git a/drivers/net/ethernet/intel/ice/devlink/devlink_port.c > b/drivers/net/ethernet/intel/ice/devlink/devlink_port.c > index f06baabd0112..fb3ff68e0666 100644 > --- a/drivers/net/ethernet/intel/ice/devlink/devlink_port.c > +++ b/drivers/net/ethernet/intel/ice/devlink/devlink_port.c > @@ -543,7 +543,7 @@ static void ice_dealloc_dynamic_port(struct
Tested-by: Rafal Romanowski <[email protected]>
