From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id 8C884530A for ; Fri, 15 Jul 2016 11:58:52 +0200 (CEST) Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga102.fm.intel.com with ESMTP; 15 Jul 2016 02:58:52 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.28,367,1464678000"; d="scan'208";a="995806045" Received: from irsmsx153.ger.corp.intel.com ([163.33.192.75]) by orsmga001.jf.intel.com with ESMTP; 15 Jul 2016 02:58:51 -0700 Received: from irsmsx108.ger.corp.intel.com ([169.254.11.125]) by IRSMSX153.ger.corp.intel.com ([169.254.9.105]) with mapi id 14.03.0248.002; Fri, 15 Jul 2016 10:58:49 +0100 From: "De Lara Guarch, Pablo" To: "Pattan, Reshma" , "dev@dpdk.org" CC: "Pattan, Reshma" Thread-Topic: [dpdk-dev] [PATCH] app/testpmd: fix redundant time update Thread-Index: AQHR3nohvhIRixmWmEKcdqVXVIvwP6AZQR5g Date: Fri, 15 Jul 2016 09:58:49 +0000 Message-ID: References: <1468574350-1275-1-git-send-email-reshma.pattan@intel.com> In-Reply-To: <1468574350-1275-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: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiYTRjNTkwNmItZDZkNy00NDllLTgwZDAtYjNjZGUwZWMzNmE4IiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX0lDIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE1LjkuNi42IiwiVHJ1c3RlZExhYmVsSGFzaCI6Ikk3azlrNWsxejFnK0ZXSllEQURvN2kyZXVMT0YzZkpSSzkxMTJuWjdZaHc9In0= x-ctpclassification: CTP_IC x-originating-ip: [163.33.239.180] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH] app/testpmd: fix redundant time update 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, 15 Jul 2016 09:58:53 -0000 > -----Original Message----- > From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Reshma Pattan > Sent: Friday, July 15, 2016 10:19 AM > To: dev@dpdk.org > Cc: Pattan, Reshma > Subject: [dpdk-dev] [PATCH] app/testpmd: fix redundant time update >=20 > Inside flush_fwd_rx_queues removed redundant prev_tsc update with > cur_tsc, > as prev_tsc value is always updated with rte_rdtsc() in for loop. >=20 > Coverity issue: 127797 >=20 > Fixes: f487715f36f5 ("app/testpmd: add timeout in Rx queue flushing") >=20 > Signed-off-by: Reshma Pattan Acked-by: Pablo de Lara