diff mbox series

[iwl-next,v1] ice: Extend ethtool reset support

Message ID 20241203125255.115651-1-mateusz.polchlopek@intel.com
State Changes Requested
Delegated to: Anthony Nguyen
Headers show
Series [iwl-next,v1] ice: Extend ethtool reset support | expand

Commit Message

Mateusz Polchlopek Dec. 3, 2024, 12:52 p.m. UTC
Extend the job done in:
commit b699c81af068 ("ice: Implement ethtool reset support")
by adding ethtool reset function for safe mode ops structure.

Suggested-by: Przemek Kitszel <przemyslaw.kitszel@intel.com>
Reviewed-by: Martyna Szapar-Mudlaw <martyna.szapar-mudlaw@linux.intel.com>
Signed-off-by: Mateusz Polchlopek <mateusz.polchlopek@intel.com>
---
 drivers/net/ethernet/intel/ice/ice_ethtool.c | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/drivers/net/ethernet/intel/ice/ice_ethtool.c b/drivers/net/ethernet/intel/ice/ice_ethtool.c
index b552439fc1f9..d338a5ee8ab2 100644
--- a/drivers/net/ethernet/intel/ice/ice_ethtool.c
+++ b/drivers/net/ethernet/intel/ice/ice_ethtool.c
@@ -4841,6 +4841,7 @@  static const struct ethtool_ops ice_ethtool_safe_mode_ops = {
 	.set_ringparam		= ice_set_ringparam,
 	.nway_reset		= ice_nway_reset,
 	.get_channels		= ice_get_channels,
+	.reset			= ice_ethtool_reset,
 };
 
 /**