From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f51.google.com (mail-wm0-f51.google.com [74.125.82.51]) by dpdk.org (Postfix) with ESMTP id 77E062B98 for ; Mon, 11 Jul 2016 15:35:35 +0200 (CEST) Received: by mail-wm0-f51.google.com with SMTP id o80so51084200wme.1 for ; Mon, 11 Jul 2016 06:35:35 -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=+vjATr5GJDW6B6Lj3mi+Td+sj0Ir6f2YT1jqp6upQ6s=; b=kBy6exG71pNN7o7d53yz7uCA2Q2qISVwCXXteugUA4rbh41mNg/9xH5+m4tEei4RoB kosyYZgOELrgbHfyBHC3lF2fdxreDeeFLTeMEPs+zcf5vT7QTHYtGyxbuMdkn0Y6gLOy V8wb6ubzIX3IR4dOswY+1ps0gRhYoIjonBs5/eR9iXkljbIpJ6FqII+52lsXxLK2yOVF X+hORbq3dkC780WOEc7hoFawO9UWq6QtPvLaraHLTirbZoqTv1raBo0m6cvNBFvQt9fa 19bLnsSA9YF9o2y4H4ecdS8zErkfbJ8UAUWJL5wfQah7KN2mJSBDyYMaWnO4N78ppGzF TFzw== 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=+vjATr5GJDW6B6Lj3mi+Td+sj0Ir6f2YT1jqp6upQ6s=; b=ObOCnSSWa1pgxpX0/M/UQ9BWNAnTYIxbonp454WMONtJbcBzJlrQg1+upIaHHnNAJl ovTJytagk8cWUVbOfP1ykczjJCYi3979tx+uU0+FFm/U/wZl6DyWkKn8IW6712YGQMh3 bVLJEyaAPaZy5LqoIRspHTSXkJr8XqQHqI2I1Fi1HK2Oew08W8IwbxRx5E9Fn4V51JvK W9jlSAiRXri0mqq0Aavqbnp6N5R70OGAjYFF8ePkoogHv+0Pvh2D7iNwws/yi4QGAUtn c6MJ+/WfWsY4h1J7H1+LPlVZsd93WikhdH2r4YFAtaDFojILqT3XhiJRHCsgYH4tRM4N t+0w== X-Gm-Message-State: ALyK8tKLHQaXgzajYtAggP6TwdjtQ2Tw5OuyoXe1LEC69wTKd6IurbenRtuUCSF//A3eStol X-Received: by 10.28.132.149 with SMTP id g143mr15245996wmd.100.1468244135225; Mon, 11 Jul 2016 06:35:35 -0700 (PDT) Received: from xps13.localnet (guy78-3-82-239-227-177.fbx.proxad.net. [82.239.227.177]) by smtp.gmail.com with ESMTPSA id q203sm5970989wmd.24.2016.07.11.06.35.34 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 11 Jul 2016 06:35:34 -0700 (PDT) From: Thomas Monjalon To: "Pattan, Reshma" Cc: dev@dpdk.org, "De Lara Guarch, Pablo" Date: Mon, 11 Jul 2016 15:35:30 +0200 Message-ID: <5758518.cRFqCUBp88@xps13> User-Agent: KMail/4.14.10 (Linux/4.5.4-1-ARCH; KDE/4.14.11; x86_64; ; ) In-Reply-To: References: <1467368896-15633-1-git-send-email-reshma.pattan@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH] app/testpmd: add timer based fwd Rx queue flushing 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: Mon, 11 Jul 2016 13:35:35 -0000 > > Testpmd can stuck inside do while loop of the flush_fwd_rx_queues() > > function. As non-zero packets are returned always by rte_eth_rx_burst() > > function when compiled with no optimizations and if input line rate is > > high. "do while" loop must exit at one stage to proceed further to > > enable packet forwarding and forward the packets. So timer is set to > > exit the do while loop after 1 second. > > > > Fixes: af75078f ("first public release") > > > > Signed-off-by: Reshma Pattan > > Acked-by: Pablo de Lara Applied, thanks