[dpdk-dev] [PATCH] event/sw: fix credit return on invalid queue id
Thomas Monjalon
thomas at monjalon.net
Thu Apr 20 00:27:24 CEST 2017
18/04/2017 12:11, Hunt, David:
> On 18/4/2017 10:58 AM, Harry van Haaren wrote:
> > This patch returns a credit when an rte_event is
> > enqueued with an invalid queue_id. Previously a
> > credit was leaked from the system.
> >
> > Note that the eventdev instance does not attempt
> > to free any resources that the rte_event owns. As
> > a result, resources owned by the rte_event are leaked.
> > Eg. if the rte_event represents an rte_mbuf, the mbuf
> > will not be freed, and causes a leak from the mempool.
> >
> > Fixes: 656af9180014 ("event/sw: add worker core functions")
> >
> > Signed-off-by: Harry van Haaren <harry.van.haaren at intel.com>
>
> Acked-by: David Hunt <david.hunt at intel.com>
Applied, thanks
More information about the dev
mailing list