From 940a34faf4bd94cb3968dd2b030260ee1d15ddbf Mon Sep 17 00:00:00 2001 From: Andrew Rybchenko Date: Wed, 29 Mar 2017 09:25:41 +0100 Subject: [PATCH] net/sfc: destroy event queue when Tx queue is released Fixes: b1b7ad933b39 ("net/sfc: set up and release Tx queues") Cc: stable@dpdk.org Signed-off-by: Andrew Rybchenko --- drivers/net/sfc/sfc_tx.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/net/sfc/sfc_tx.c b/drivers/net/sfc/sfc_tx.c index d1a064e597..79b900b336 100644 --- a/drivers/net/sfc/sfc_tx.c +++ b/drivers/net/sfc/sfc_tx.c @@ -241,6 +241,8 @@ sfc_tx_qfini(struct sfc_adapter *sa, unsigned int sw_index) sfc_dma_free(sa, &txq->mem); rte_free(txq); + + sfc_ev_qfini(sa, sfc_evq_index_by_txq_sw_index(sa, sw_index)); } static int -- 2.20.1