From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH] examples/qos_sched: fix packets dequeue operation from ring Date: Wed, 12 Oct 2016 23:06:51 +0200 Message-ID: <1805494.rkS6TrLdbT@xps13> References: <1472724664-1400-1-git-send-email-jasvinder.singh@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org, cristian.dumitrescu@intel.com To: Jasvinder Singh Return-path: Received: from mail-qk0-f173.google.com (mail-qk0-f173.google.com [209.85.220.173]) by dpdk.org (Postfix) with ESMTP id 485B12B9A for ; Wed, 12 Oct 2016 23:06:54 +0200 (CEST) Received: by mail-qk0-f173.google.com with SMTP id n189so55759454qke.0 for ; Wed, 12 Oct 2016 14:06:54 -0700 (PDT) In-Reply-To: <1472724664-1400-1-git-send-email-jasvinder.singh@intel.com> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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 > Signed-off-by: Jasvinder Singh Applied, thanks