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:
1af7452
)
net/af_xdp: remove mempool freeing on umem destruction
author
Ciara Loftus
<ciara.loftus@intel.com>
Fri, 24 Jul 2020 13:20:32 +0000
(13:20 +0000)
committer
Ferruh Yigit
<ferruh.yigit@intel.com>
Wed, 29 Jul 2020 22:41:23 +0000
(
00:41
+0200)
Other PMDs may be using the mempool, so don't free it when destroying the
UMEM.
Fixes:
d8a210774e1d
("net/af_xdp: support unaligned umem chunks")
Cc: stable@dpdk.org
Signed-off-by: Ciara Loftus <ciara.loftus@intel.com>
drivers/net/af_xdp/rte_eth_af_xdp.c
patch
|
blob
|
history
diff --git
a/drivers/net/af_xdp/rte_eth_af_xdp.c
b/drivers/net/af_xdp/rte_eth_af_xdp.c
index
d62144f
..
936d4a7
100644
(file)
--- a/
drivers/net/af_xdp/rte_eth_af_xdp.c
+++ b/
drivers/net/af_xdp/rte_eth_af_xdp.c
@@
-688,7
+688,6
@@
static void
xdp_umem_destroy(struct xsk_umem_info *umem)
{
#if defined(XDP_UMEM_UNALIGNED_CHUNK_FLAG)
- rte_mempool_free(umem->mb_pool);
umem->mb_pool = NULL;
#else
rte_memzone_free(umem->mz);