From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by dpdk.org (Postfix) with ESMTP id 3CBAF2BAB for ; Fri, 1 Jul 2016 17:53:22 +0200 (CEST) Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga101.jf.intel.com with ESMTP; 01 Jul 2016 08:53:21 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.26,557,1459839600"; d="scan'208";a="727976847" Received: from irsmsx110.ger.corp.intel.com ([163.33.3.25]) by FMSMGA003.fm.intel.com with ESMTP; 01 Jul 2016 08:53:20 -0700 Received: from irsmsx108.ger.corp.intel.com ([169.254.11.125]) by irsmsx110.ger.corp.intel.com ([163.33.3.25]) with mapi id 14.03.0248.002; Fri, 1 Jul 2016 16:53:19 +0100 From: "De Lara Guarch, Pablo" To: "Pattan, Reshma" , "dev@dpdk.org" CC: "Pattan, Reshma" Thread-Topic: [dpdk-dev] [PATCH] app/testpmd: add timer based fwd Rx queue flushing Thread-Index: AQHR04NZKU/3QP0wP0KIu4iB3uVRAKADukLg Date: Fri, 1 Jul 2016 15:53:18 +0000 Message-ID: References: <1467368896-15633-1-git-send-email-reshma.pattan@intel.com> In-Reply-To: <1467368896-15633-1-git-send-email-reshma.pattan@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiZWQxNWJmYTgtMmQwYy00NWUzLWJmMzktOGNmNjBiZmM2NTc4IiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX0lDIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE1LjkuNi42IiwiVHJ1c3RlZExhYmVsSGFzaCI6ImlBUUplTW9lT1hwK0RpZWdYSEpDWFpuUnBJXC9ZUGllZkVxaHdSdUdDZTNzPSJ9 x-ctpclassification: CTP_IC x-originating-ip: [163.33.239.181] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 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: Fri, 01 Jul 2016 15:53:22 -0000 > -----Original Message----- > From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Reshma Pattan > Sent: Friday, July 01, 2016 11:28 AM > To: dev@dpdk.org > Cc: Pattan, Reshma > Subject: [dpdk-dev] [PATCH] app/testpmd: add timer based fwd Rx queue > flushing >=20 > 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. >=20 > Fixes: af75078f ("first public release") >=20 > Signed-off-by: Reshma Pattan Acked-by: Pablo de Lara