> 
> On Thu, 28 Aug 2025 10:23:05 +0000
> Ciara Loftus <ciara.lof...@intel.com> wrote:
> 
> > Introduce the boolean restore_link_state devarg for the ice driver. When
> > set, when the ice port is stopped, the physical link will be restored to
> > the state it was in when the device was started.
> >
> > Prior to this patch the default behaviour was to always restore the link
> > to its original 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.lof...@intel.com>
> > ---
> 
> Device specific devargs should be discouraged. Seems like the same
> issue occurs across multiple drivers.

I had considered creating a generic ethdev API for this rather than a
device specific devarg. However when I looked into it I wasn't sure
there would be much appetite for it, as most drivers bring the link
down on close as standard behaviour.
I'll submit that patch as RFC and if it gets traction and acceptance
we can drop this devarg.

Reply via email to