> -----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 15/15] ice: allow to activate and > deactivate subfunction > > From: Piotr Raczynski <[email protected]> > > Use previously implemented SF aux driver. It is probe during SF activation and > remove after deactivation. > > Reviewed-by: Simon Horman <[email protected]> > Signed-off-by: Piotr Raczynski <[email protected]> > Signed-off-by: Michal Swiatkowski <[email protected]> > --- > .../ethernet/intel/ice/devlink/devlink_port.c | 173 ++++++++++++++++++ > .../ethernet/intel/ice/devlink/devlink_port.h | 7 + > drivers/net/ethernet/intel/ice/ice_sf_eth.c | 107 +++++++++++ > drivers/net/ethernet/intel/ice/ice_sf_eth.h | 3 + > 4 files changed, 290 insertions(+) > > diff --git a/drivers/net/ethernet/intel/ice/devlink/devlink_port.c > b/drivers/net/ethernet/intel/ice/devlink/devlink_port.c > index 4cfd90581d92..4abdc40d345e 100644 > --- a/drivers/net/ethernet/intel/ice/devlink/devlink_port.c > +++ b/drivers/net/ethernet/intel/ice/devlink/devlink_port.c > @@ -530,6 +530,42 @@ void ice_devlink_destroy_sf_dev_port(struct ice_sf_dev
Tested-by: Rafal Romanowski <[email protected]>
