[PATCH v2] net/ice: make link state configurable on device close
Bruce Richardson
bruce.richardson at intel.com
Mon Sep 8 13:05:18 CEST 2025
On Mon, Sep 08, 2025 at 12:00:54PM +0100, Bruce Richardson wrote:
> 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>
>
Applied to dpdk-next-net-intel, thanks.
Hopefully we can get rid of this devarg in future if/when the proposed
ethdev setting for this behaviour is finalized and merged.
/Bruce
More information about the dev
mailing list