[dpdk-dev] [PATCH] examples/qos_sched: fix packets dequeue operation from ring

Thomas Monjalon thomas.monjalon at 6wind.com
Wed Oct 12 23:06:51 CEST 2016


2016-09-01 11:11, Jasvinder Singh:
> The app_worker_thread() and app_mixed_thread() use rte_ring_sc_dequeue_bulk
> to dequeue packets from the ring and this imposes restriction on number of
> packets in software ring to be greater than the specified value to start
> actual dequeue operation, thus, adds latency to those packets. Therefore,
> rte_ring_sc_dequeue_bulk is replaced with rte_ring_sc_dequeue_burst.
> 
> Fixes: de3cfa2c9823 ("sched: initial import")
> 
> Suggested-by: Yang, Tao Y <tao.y.yang at intel.com>
> Signed-off-by: Jasvinder Singh <jasvinder.singh at intel.com>

Applied, thanks



More information about the dev mailing list