From mboxrd@z Thu Jan 1 00:00:00 1970 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) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:user-agent:in-reply-to :references:mime-version:content-transfer-encoding; bh=beq8roy/zDYiywDWKgIRrCAth+ztLSWYJ49qaKHO6Uo=; b=LXSHFz8vkIv82YoiLYp/DlFb8gOU8a0trqXB5L5UZAz/e9YGrtE0B4WSstm7MiIZIf 0ljpJBumEUb2W1AdpMnbPMAuhvuQfMso8X16v3nm4icTtflQlJ7UfpSyLQtFeOZCF9s2 DXPUDYrmPCWWAKtkwVqeuU0EUT+yZ6OSta1g9dnHJcx11E3qrL+0txC39LN8i86TrE0f P60dw8uN/MWtYybUHInLWGjNvHLPFB9/727dX8pwce+frJNuJqaoa2i0WekhOI44uspx Zxld0DsPXdfhrxlZmTy0MJNfVfnK9bN6tmPPr85ZLxVP3RG09sjto63ytpu64CMcd6Kh LmOg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:user-agent :in-reply-to:references:mime-version:content-transfer-encoding; bh=beq8roy/zDYiywDWKgIRrCAth+ztLSWYJ49qaKHO6Uo=; b=TCxn42HGuPju8cEFoh8E753aM8kEuVX+GatSBuLtWm+nqobSy3wvsuc+l9vjSNQjF7 uilVtIHif2Z5VDPxVJqhLpGCasNTCE0+KYcrr1sQByoFix6XB16aKkpwmC+59Z1LJJfT ZVodqQrOAzVlUlEzdqIeDox0IHS10FNPrVLpRT4eroH/Merz/ebscYBpGcwwfYeD2Rvg IzupKavnrqkpsvmyQ4+79C9IIlvyXTQDLkpu5cv/8xnBAfTLPwSSJtHJWNednLwqecVi pDiJ++RgYCwcIPHY7VpJ9CZJ8gx/oP4CqvnSMzrBHNKQ/c7VoNWPBuD2EmfbOhExr54/ d/Ug== X-Gm-Message-State: AA6/9RmYb8PIYHWF1D22N1l0E5zmqRerh4dgJuQMwoO7FnAwUjDKhrgt1KAh5HKn1n7UjKDO X-Received: by 10.194.94.101 with SMTP id db5mr4185298wjb.110.1476306413704; Wed, 12 Oct 2016 14:06:53 -0700 (PDT) Received: from xps13.localnet (184.203.134.77.rev.sfr.net. [77.134.203.184]) by smtp.gmail.com with ESMTPSA id jt8sm15994870wjc.33.2016.10.12.14.06.52 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 12 Oct 2016 14:06:52 -0700 (PDT) From: Thomas Monjalon To: Jasvinder Singh Cc: dev@dpdk.org, cristian.dumitrescu@intel.com Date: Wed, 12 Oct 2016 23:06:51 +0200 Message-ID: <1805494.rkS6TrLdbT@xps13> User-Agent: KMail/4.14.10 (Linux/4.5.4-1-ARCH; KDE/4.14.11; x86_64; ; ) In-Reply-To: <1472724664-1400-1-git-send-email-jasvinder.singh@intel.com> References: <1472724664-1400-1-git-send-email-jasvinder.singh@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH] examples/qos_sched: fix packets dequeue operation from ring X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Oct 2016 21:06:54 -0000 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