DPDK patches and discussions
 help / color / mirror / Atom feed
* [PATCH] net/sfc: fix action order on fail path for the adaptor start
@ 2025-03-18 10:53 Ivan Malov
  0 siblings, 0 replies; only message in thread
From: Ivan Malov @ 2025-03-18 10:53 UTC (permalink / raw)
  To: dev; +Cc: Andrew Rybchenko, stable, Andy Moreton

Having incorrect order leads to an assert in efx_nic_fini().

Fixes: bc712f1c86fc ("net/sfc: support attaching to HW table")
Cc: stable@dpdk.org

Signed-off-by: Ivan Malov <ivan.malov@arknetworks.am>
Reviewed-by: Andy Moreton <andy.moreton@amd.com>
---
 drivers/net/sfc/sfc.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/net/sfc/sfc.c b/drivers/net/sfc/sfc.c
index 2cfff20f47..938c967430 100644
--- a/drivers/net/sfc/sfc.c
+++ b/drivers/net/sfc/sfc.c
@@ -530,12 +530,12 @@ sfc_try_start(struct sfc_adapter *sa)
 fail_rx_start:
 	sfc_port_stop(sa);
 
-fail_tbls_start:
-	sfc_ev_stop(sa);
-
 fail_port_start:
 	sfc_tbls_stop(sa);
 
+fail_tbls_start:
+	sfc_ev_stop(sa);
+
 fail_ev_start:
 	sfc_intr_stop(sa);
 
-- 
2.17.1


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2025-03-18 10:54 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-03-18 10:53 [PATCH] net/sfc: fix action order on fail path for the adaptor start Ivan Malov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).