[PATCH v2] net/ice: make link state configurable on device close
Bruce Richardson
bruce.richardson at intel.com
Mon Sep 8 13:00:54 CEST 2025
On Fri, Aug 29, 2025 at 09:45:23AM +0000, Ciara Loftus wrote:
> Introduce the device argument link_state_on_close for the ice driver.
> When the device is stopped or closed, the link state will be configured
> as follows for each of the three options:
> 1. down: bring (or keep) the link down
> 2. up: bring (or keep) the link up
> 3. initial: restore the link to the state it was in when the device
> started.
>
> Prior to this commit the default behaviour was to always restore the
> link to its initial state. The new default behaiour is to always bring
> the link down, which is in keeping with most other drivers.
>
> Signed-off-by: Ciara Loftus <ciara.loftus at intel.com>
> ---
Acked-by: Bruce Richardson <bruce.richardson at intel.com>
More information about the dev
mailing list