ice: subfunction activation and base devlink ops
authorPiotr Raczynski <piotr.raczynski@intel.com>
Tue, 20 Aug 2024 06:58:00 +0000 (08:58 +0200)
committerTony Nguyen <anthony.l.nguyen@intel.com>
Fri, 6 Sep 2024 18:01:24 +0000 (11:01 -0700)
commit13acc5c4cdbeccf3274cbbd4de2e2d316b8c4ce6
tree2c672ef0550c9afa35be9dc9eaf9ca9276dded62
parent0c6a3cb6f181c8edb1246016d12dbd08366eb383
ice: subfunction activation and base devlink ops

Use previously implemented SF aux driver. It is probe during SF
activation and remove after deactivation.

Implement set/get hw_address and set/get state as basic devlink ops for
subfunction.

Reviewed-by: Simon Horman <horms@kernel.org>
Signed-off-by: Piotr Raczynski <piotr.raczynski@intel.com>
Signed-off-by: Michal Swiatkowski <michal.swiatkowski@linux.intel.com>
Tested-by: Rafal Romanowski <rafal.romanowski@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
drivers/net/ethernet/intel/ice/devlink/devlink_port.c
drivers/net/ethernet/intel/ice/devlink/devlink_port.h
drivers/net/ethernet/intel/ice/ice_sf_eth.c
drivers/net/ethernet/intel/ice/ice_sf_eth.h