[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240806145531.GW2636630@kernel.org>
Date: Tue, 6 Aug 2024 15:55:31 +0100
From: Simon Horman <horms@...nel.org>
To: Wojciech Drewek <wojciech.drewek@...el.com>
Cc: netdev@...r.kernel.org, intel-wired-lan@...ts.osuosl.org,
anthony.l.nguyen@...el.com, edumazet@...gle.com, kuba@...nel.org,
pabeni@...hat.com, przemyslaw.kitszel@...el.com
Subject: Re: [PATCH iwl-next v2] ice: Implement ethtool reset support
On Mon, Aug 05, 2024 at 02:46:51PM +0200, Wojciech Drewek wrote:
> 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@...ux.intel.com>
> Reviewed-by: Marcin Szycik <marcin.szycik@...ux.intel.com>
> Signed-off-by: Wojciech Drewek <wojciech.drewek@...el.com>
> ---
> .../device_drivers/ethernet/intel/ice.rst | 28 +++++++
> drivers/net/ethernet/intel/ice/ice_ethtool.c | 77 +++++++++++++++++++
> 2 files changed, 105 insertions(+)
>
> diff --git a/Documentation/networking/device_drivers/ethernet/intel/ice.rst b/Documentation/networking/device_drivers/ethernet/intel/ice.rst
> index 934752f675ba..c043164bfacc 100644
> --- a/Documentation/networking/device_drivers/ethernet/intel/ice.rst
> +++ b/Documentation/networking/device_drivers/ethernet/intel/ice.rst
> @@ -102,6 +102,34 @@ rx_bytes as "X", then ethtool (hardware statistics) will display rx_bytes as
> "X+40" (4 bytes CRC x 10 packets).
>
>
> +ethtool reset
> +-------------
> +The driver supports 3 types of resets:
> +- PF reset - resets only components associated with the given PF, does not
> + impact other PFs
> +- CORE reset - whole adapter is affected, reset all PFs
> +- GLOBAL reset - same as CORE but mac and phy components are also reinitialized
Hi Wojciech,
I'm not sure, but I think that Sphinx wants blank likes between these list
items.
Flagged by make: htmldocs SPHINXDIRS=networking
...
Powered by blists - more mailing lists