ice: remove comment about not supporting driver reinit
authorJacob Keller <jacob.e.keller@intel.com>
Mon, 27 Feb 2023 22:15:00 +0000 (14:15 -0800)
committerTony Nguyen <anthony.l.nguyen@intel.com>
Thu, 30 Mar 2023 16:35:07 +0000 (09:35 -0700)
Since commit 31c8db2c4fa7 ("ice: implement devlink reinit action"), the ice
driver does support driver re-initialization via devlink reload. Remove the
stale comment indicating that the driver lacks this support from the
ice_devlink_ops structure.

Signed-off-by: Jacob Keller <jacob.e.keller@intel.com>
Cc: Michal Swiatkowski <michal.swiatkowski@linux.intel.com>
Reviewed-by: Michal Swiatkowski <michal.swiatkowski@linux.intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
drivers/net/ethernet/intel/ice/ice_devlink.c

index 05f216a..bc44cc2 100644 (file)
@@ -1254,7 +1254,6 @@ static const struct devlink_ops ice_devlink_ops = {
        .supported_flash_update_params = DEVLINK_SUPPORT_FLASH_UPDATE_OVERWRITE_MASK,
        .reload_actions = BIT(DEVLINK_RELOAD_ACTION_DRIVER_REINIT) |
                          BIT(DEVLINK_RELOAD_ACTION_FW_ACTIVATE),
-       /* The ice driver currently does not support driver reinit */
        .reload_down = ice_devlink_reload_down,
        .reload_up = ice_devlink_reload_up,
        .port_split = ice_devlink_port_split,