[PATCH v4 01/10] net/iavf: keep device stopped if start fails
Bruce Richardson
bruce.richardson at intel.com
Thu Oct 22 14:57:13 CEST 2026
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: stable at dpdk.org
>
> Signed-off-by: Anatoly Burakov <anatoly.burakov at intel.com>
> ---
> drivers/net/intel/iavf/iavf_ethdev.c | 9 ++++-----
> 1 file changed, 4 insertions(+), 5 deletions(-)
>
Acked-by: Bruce Richardson <bruce.richardson at intel.com>
More information about the dev
mailing list