[dpdk-dev] [PATCH] rte_sched: release enqueued mbufs on rte_sched_port_free()

Simon Kågström simon.kagstrom at netinsight.net
Tue Nov 17 08:53:17 CET 2015


On 2015-11-04 19:14, Stephen Hemminger wrote:
> On Wed, 28 Oct 2015 10:56:33 +0100
> Simon Kagstrom <simon.kagstrom at netinsight.net> wrote:
> 
>> Otherwise mbufs will leak when the port is destroyed. The
>> rte_sched_port_qbase() and rte_sched_port_qsize() functions are used
>> in free now, so move them up.
>>
>> Signed-off-by: Simon Kagstrom <simon.kagstrom at netinsight.net>
> 
> Overall it looks good, and fixes a long standing bug.
> Maybe good to expose it as a API function rte_sched_port_flush
> to allow use from applications.

I'm sorry, I missed this reply! I will fix the issues you point to and
repost.

// Simon



More information about the dev mailing list