From 6774b24e287b59a288f4383015379ed8dda8cb28 Mon Sep 17 00:00:00 2001 From: Andrew Rybchenko Date: Wed, 29 Mar 2017 09:25:40 +0100 Subject: [PATCH] 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 --- drivers/net/sfc/sfc_rx.c | 2 ++ 1 file changed, 2 insertions(+) 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 -- 2.20.1