examples/qos_sched: fix flow pause after 2M packets
authorYong Liu <yong.liu@intel.com>
Thu, 3 Jul 2014 08:59:36 +0000 (16:59 +0800)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Thu, 3 Jul 2014 14:28:12 +0000 (16:28 +0200)
commitd827c2695e564a378c59d24ec116bf022ca3feda
tree5858aa39b7066f71df3d15b20958c12dc3e20db4
parent91873a652750c591baf5d568ccc38ca9661e56d3
examples/qos_sched: fix flow pause after 2M packets

After enable vector pmd, qos_sched only send 32 packets every burst.
That will cause some packets not transmitted and therefore mempool
will be drain after a while.
App qos_sched now will re-send the packets which failed to send out in
previous tx function.

Signed-off-by: Yong Liu <yong.liu@intel.com>
Acked-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com>
Tested-by: Waterman Cao <waterman.cao@intel.com>
examples/qos_sched/app_thread.c