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]>
- [PATCH v4 08/10] net/iavf: remove redundant reset checks ... Anatoly Burakov
- Re: [PATCH v4 08/10] net/iavf: remove redundant rese... Bruce Richardson
- [PATCH v4 05/10] net/iavf: fix generic flow error-path le... Anatoly Burakov
- Re: [PATCH v4 05/10] net/iavf: fix generic flow erro... Bruce Richardson
- [PATCH v4 09/10] net/iavf: fix null engine for egress sec... Anatoly Burakov
- [PATCH v4 10/10] net/iavf: fix IPsec flow metadata leaks Anatoly Burakov
- [PATCH v4 03/10] net/iavf: fix false success on flow vali... Anatoly Burakov
- [PATCH v4 02/10] net/iavf: do not store ethdev pointer Anatoly Burakov
- Re: [PATCH v4 02/10] net/iavf: do not store ethdev p... Bruce Richardson
- [PATCH v4 01/10] net/iavf: keep device stopped if start f... Anatoly Burakov
- Re: [PATCH v4 01/10] net/iavf: keep device stopped i... Bruce Richardson

