git.droids-corp.org
/
dpdk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6774b24
)
net/sfc: destroy event queue when Tx queue is released
author
Andrew Rybchenko
<arybchenko@solarflare.com>
Wed, 29 Mar 2017 08:25:41 +0000
(09:25 +0100)
committer
Ferruh Yigit
<ferruh.yigit@intel.com>
Tue, 4 Apr 2017 17:02:58 +0000
(19:02 +0200)
Fixes:
b1b7ad933b39
("net/sfc: set up and release Tx queues")
Cc: stable@dpdk.org
Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com>
drivers/net/sfc/sfc_tx.c
patch
|
blob
|
history
diff --git
a/drivers/net/sfc/sfc_tx.c
b/drivers/net/sfc/sfc_tx.c
index
d1a064e
..
79b900b
100644
(file)
--- 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