[Intel-wired-lan] [PATCH iwl-next v3] ice: Implement ethtool reset support

Pucha, HimasekharX Reddy himasekharx.reddy.pucha at intel.com
Sun Aug 11 03:38:33 UTC 2024


> -----Original Message-----
> From: Intel-wired-lan <intel-wired-lan-bounces at osuosl.org> On Behalf Of Wojciech Drewek
> Sent: Wednesday, August 7, 2024 4:05 PM
> To: netdev at vger.kernel.org
> Cc: Nguyen, Anthony L <anthony.l.nguyen at intel.com>; kuba at kernel.org; intel-wired-lan at lists.osuosl.org; horms at kernel.org; Kitszel, Przemyslaw <przemyslaw.kitszel at intel.com>
> Subject: [Intel-wired-lan] [PATCH iwl-next v3] ice: Implement ethtool reset support
>
> Enable ethtool reset support. Ethtool reset flags are mapped to the
> E810 reset type:
> PF reset:
>   $ ethtool --reset <ethX> irq dma filter offload CORE reset:
>   $ ethtool --reset <ethX> irq-shared dma-shared filter-shared \
>     offload-shared ram-shared
> GLOBAL reset:
>   $ ethtool --reset <ethX> irq-shared dma-shared filter-shared \
>     offload-shared mac-shared phy-shared ram-shared
>
> Calling the same set of flags as in PF reset case on port representor triggers VF reset.
> 
> Reviewed-by: Michal Swiatkowski <michal.swiatkowski at linux.intel.com>
> Reviewed-by: Marcin Szycik <marcin.szycik at linux.intel.com>
> Reviewed-by: Przemek Kitszel <przemyslaw.kitszel at intel.com>
> Acked-by: Jakub Kicinski <kuba at kernel.org>
> Signed-off-by: Wojciech Drewek <wojciech.drewek at intel.com>
> ---
> v2: remap ethtool flags to ice resets
> v3: resend, add changelog, rebase, fix doc
> ---
>  .../device_drivers/ethernet/intel/ice.rst     | 31 ++++++++
>  drivers/net/ethernet/intel/ice/ice_ethtool.c  | 77 +++++++++++++++++++
>  2 files changed, 108 insertions(+)
>

Tested-by: Pucha Himasekhar Reddy <himasekharx.reddy.pucha at intel.com> (A Contingent worker at Intel)



More information about the Intel-wired-lan mailing list