* [Intel-wired-lan] [net-next] ice: remove comment about not supporting driver reinit
@ 2023-02-27 22:15 Jacob Keller
2023-02-28 5:42 ` Michal Swiatkowski
0 siblings, 1 reply; 2+ messages in thread
From: Jacob Keller @ 2023-02-27 22:15 UTC (permalink / raw)
To: Anthony Nguyen; +Cc: Intel Wired LAN
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>
---
drivers/net/ethernet/intel/ice/ice_devlink.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/net/ethernet/intel/ice/ice_devlink.c b/drivers/net/ethernet/intel/ice/ice_devlink.c
index 05f216af8c81..bc44cc220818 100644
--- a/drivers/net/ethernet/intel/ice/ice_devlink.c
+++ b/drivers/net/ethernet/intel/ice/ice_devlink.c
@@ -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,
base-commit: f75ed9add58c1bca6a615609a0f7f148c257e3c7
--
2.39.1.405.gd4c25cc71f83
_______________________________________________
Intel-wired-lan mailing list
Intel-wired-lan@osuosl.org
https://lists.osuosl.org/mailman/listinfo/intel-wired-lan
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [Intel-wired-lan] [net-next] ice: remove comment about not supporting driver reinit
2023-02-27 22:15 [Intel-wired-lan] [net-next] ice: remove comment about not supporting driver reinit Jacob Keller
@ 2023-02-28 5:42 ` Michal Swiatkowski
0 siblings, 0 replies; 2+ messages in thread
From: Michal Swiatkowski @ 2023-02-28 5:42 UTC (permalink / raw)
To: Jacob Keller; +Cc: Intel Wired LAN, Anthony Nguyen
On Mon, Feb 27, 2023 at 02:15:00PM -0800, Jacob Keller wrote:
> 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>
> ---
> drivers/net/ethernet/intel/ice/ice_devlink.c | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/drivers/net/ethernet/intel/ice/ice_devlink.c b/drivers/net/ethernet/intel/ice/ice_devlink.c
> index 05f216af8c81..bc44cc220818 100644
> --- a/drivers/net/ethernet/intel/ice/ice_devlink.c
> +++ b/drivers/net/ethernet/intel/ice/ice_devlink.c
> @@ -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,
>
> base-commit: f75ed9add58c1bca6a615609a0f7f148c257e3c7
> --
Thanks for fixing it.
Reviewed-by: Michal Swiatkowski <michal.swiatkowski@linux.intel.com>
> 2.39.1.405.gd4c25cc71f83
>
_______________________________________________
Intel-wired-lan mailing list
Intel-wired-lan@osuosl.org
https://lists.osuosl.org/mailman/listinfo/intel-wired-lan
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-02-28 5:43 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-02-27 22:15 [Intel-wired-lan] [net-next] ice: remove comment about not supporting driver reinit Jacob Keller
2023-02-28 5:42 ` Michal Swiatkowski
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox