On Wed, Oct 21, 2026 at 03:25:41PM +0100, Anatoly Burakov wrote:
> Currently, `iavf_dev_start()` clears `adapter->stopped` before several
> operations that can fail. A subsequent `iavf_dev_stop()` then disables
> interrupts and stops and resets queues even though startup did not
> complete.
> 
> Mark the adapter running only after startup succeeds, and return early
> from stop when it is already stopped.
> 
> Fixes: 69dd4c3d0898 ("net/avf: enable queue and device")
> Cc: [email protected]
> 
> Signed-off-by: Anatoly Burakov <[email protected]>
> ---
>  drivers/net/intel/iavf/iavf_ethdev.c | 9 ++++-----
>  1 file changed, 4 insertions(+), 5 deletions(-)
> 
Acked-by: Bruce Richardson <[email protected]>

Reply via email to