From: Andrew Rybchenko Date: Wed, 29 Mar 2017 08:25:40 +0000 (+0100) Subject: net/sfc: destroy event queue when Rx queue is released X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=6774b24e287b59a288f4383015379ed8dda8cb28;p=dpdk.git net/sfc: destroy event queue when Rx queue is released Fixes: ce35b05c635e ("net/sfc: implement Rx queue setup release operations") Cc: stable@dpdk.org Signed-off-by: Andrew Rybchenko --- diff --git a/drivers/net/sfc/sfc_rx.c b/drivers/net/sfc/sfc_rx.c index eef4ce021e..403e9915d1 100644 --- a/drivers/net/sfc/sfc_rx.c +++ b/drivers/net/sfc/sfc_rx.c @@ -999,6 +999,8 @@ sfc_rx_qfini(struct sfc_adapter *sa, unsigned int sw_index) sfc_dma_free(sa, &rxq->mem); rte_free(rxq); + + sfc_ev_qfini(sa, sfc_evq_index_by_rxq_sw_index(sa, sw_index)); } #if EFSYS_OPT_RX_SCALE