From: Andrew Rybchenko Date: Wed, 29 Mar 2017 08:25:41 +0000 (+0100) Subject: net/sfc: destroy event queue when Tx queue is released X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=940a34faf4bd94cb3968dd2b030260ee1d15ddbf;p=dpdk.git 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 --- 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