[dpdk-dev] [PATCH 1/2] net/sfc: destroy event queue when Rx queue is released

Andrew Rybchenko arybchenko at solarflare.com
Wed Mar 29 10:25:40 CEST 2017


Fixes: ce35b05c635e ("net/sfc: implement Rx queue setup release operations")
Cc: stable at dpdk.org

Signed-off-by: Andrew Rybchenko <arybchenko at solarflare.com>
---
 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 eef4ce0..403e991 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.9.3



More information about the dev mailing list