[dpdk-stable] patch 'net/af_xdp: remove mempool freeing on umem destruction' has been queued to stable release 19.11.4
luca.boccassi at gmail.com
luca.boccassi at gmail.com
Thu Aug 6 11:53:51 CEST 2020
Hi,
FYI, your patch has been queued to stable release 19.11.4
Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet.
It will be pushed if I get no objections before 08/08/20. So please
shout if anyone has objections.
Also note that after the patch there's a diff of the upstream commit vs the
patch applied to the branch. This will indicate if there was any rebasing
needed to apply to the stable branch. If there were code changes for rebasing
(ie: not only metadata diffs), please double check that the rebase was
correctly done.
Thanks.
Luca Boccassi
---
>From 6bac1007f5e8fdaa3e53eea7c894ba9ea847bcac Mon Sep 17 00:00:00 2001
From: Ciara Loftus <ciara.loftus at intel.com>
Date: Fri, 24 Jul 2020 13:20:32 +0000
Subject: [PATCH] net/af_xdp: remove mempool freeing on umem destruction
[ upstream commit a5a42cb46d38d22c16249e00173458847911e9b0 ]
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")
Signed-off-by: Ciara Loftus <ciara.loftus at intel.com>
---
drivers/net/af_xdp/rte_eth_af_xdp.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/net/af_xdp/rte_eth_af_xdp.c b/drivers/net/af_xdp/rte_eth_af_xdp.c
index d75281c10..f5fca63eb 100644
--- a/drivers/net/af_xdp/rte_eth_af_xdp.c
+++ b/drivers/net/af_xdp/rte_eth_af_xdp.c
@@ -685,7 +685,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);
--
2.20.1
---
Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- - 2020-08-06 10:53:16.703063589 +0100
+++ 0023-net-af_xdp-remove-mempool-freeing-on-umem-destructio.patch 2020-08-06 10:53:15.796597323 +0100
@@ -1,13 +1,14 @@
-From a5a42cb46d38d22c16249e00173458847911e9b0 Mon Sep 17 00:00:00 2001
+From 6bac1007f5e8fdaa3e53eea7c894ba9ea847bcac Mon Sep 17 00:00:00 2001
From: Ciara Loftus <ciara.loftus at intel.com>
Date: Fri, 24 Jul 2020 13:20:32 +0000
Subject: [PATCH] net/af_xdp: remove mempool freeing on umem destruction
+[ upstream commit a5a42cb46d38d22c16249e00173458847911e9b0 ]
+
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 at dpdk.org
Signed-off-by: Ciara Loftus <ciara.loftus at intel.com>
---
@@ -15,10 +16,10 @@
1 file changed, 1 deletion(-)
diff --git a/drivers/net/af_xdp/rte_eth_af_xdp.c b/drivers/net/af_xdp/rte_eth_af_xdp.c
-index d62144fa8..936d4a7d5 100644
+index d75281c10..f5fca63eb 100644
--- 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
+@@ -685,7 +685,6 @@ static void
xdp_umem_destroy(struct xsk_umem_info *umem)
{
#if defined(XDP_UMEM_UNALIGNED_CHUNK_FLAG)
More information about the stable
mailing list