sched: fix releasing enqueued packets
authorHiroyuki Mikita <h.mikita89@gmail.com>
Mon, 5 Sep 2016 15:15:14 +0000 (00:15 +0900)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Fri, 23 Sep 2016 19:14:54 +0000 (21:14 +0200)
rte_sched_port_free should release only enqueued packets of all queues.
Previous behavior is that enqueued and already dequeued packets of
only first 4 queues are released.

Fixes: 61383240 ("sched: release enqueued mbufs when freeing port")

Signed-off-by: Hiroyuki Mikita <h.mikita89@gmail.com>
Acked-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com>

No differences found