This fixes the issue of not freeing memzone in a call to free the
memory for adminq DMA.
Signed-off-by: Helin Zhang
---
doc/guides/rel_notes/release_2_2.rst | 5 +
drivers/net/i40e/base/i40e_osdep.h | 2 +-
drivers/net/i40e/i40e_ethdev.c | 12 +++-
3 files changed, 13 inser
> -Original Message-
> From: Wu, Jingjing
> Sent: Friday, November 6, 2015 1:40 PM
> To: Zhang, Helin; dev at dpdk.org
> Subject: RE: [PATCH] i40e: fix the issue of not freeing memzone
>
> > - static uint64_t id = 0;
> > const struct rte_memzone *mz = NULL;
> > char z_name[RTE_
> - static uint64_t id = 0;
> const struct rte_memzone *mz = NULL;
> char z_name[RTE_MEMZONE_NAMESIZE];
>
> if (!mem)
> return I40E_ERR_PARAM;
>
> - id++;
> - snprintf(z_name, sizeof(z_name), "i40e_dma_%"PRIu64, id);
> + snprintf(z_name, sizeof(z_na
3 matches
Mail list logo