From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by dpdk.org (Postfix) with ESMTP id 00A421BADC for ; Wed, 4 Apr 2018 03:59:22 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga007.jf.intel.com ([10.7.209.58]) by orsmga106.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 03 Apr 2018 18:59:21 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.48,404,1517904000"; d="scan'208";a="30507213" Received: from fmsmsx105.amr.corp.intel.com ([10.18.124.203]) by orsmga007.jf.intel.com with ESMTP; 03 Apr 2018 18:59:21 -0700 Received: from fmsmsx151.amr.corp.intel.com (10.18.125.4) by FMSMSX105.amr.corp.intel.com (10.18.124.203) with Microsoft SMTP Server (TLS) id 14.3.319.2; Tue, 3 Apr 2018 18:59:21 -0700 Received: from fmsmsx115.amr.corp.intel.com ([169.254.4.26]) by FMSMSX151.amr.corp.intel.com ([169.254.7.243]) with mapi id 14.03.0319.002; Tue, 3 Apr 2018 18:59:21 -0700 From: "Carrillo, Erik G" To: Pavan Nikhilesh , "jerin.jacob@caviumnetworks.com" , "santosh.shukla@caviumnetworks.com" CC: "dev@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH v3 05/12] event/octeontx: add event timer stats get and reset Thread-Index: AQHTy11KXilvqhxPWUaHQE9VohZY4qPv2bJw Date: Wed, 4 Apr 2018 01:59:20 +0000 Message-ID: References: <20180216213700.3415-1-pbhagavatula@caviumnetworks.com> <20180403150514.24201-1-pbhagavatula@caviumnetworks.com> <20180403150514.24201-6-pbhagavatula@caviumnetworks.com> In-Reply-To: <20180403150514.24201-6-pbhagavatula@caviumnetworks.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-version: 11.0.0.116 dlp-reaction: no-action x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiNzQ1YTA2ZDMtNDg5ZS00MTcxLWE1ODMtNTUzMTAyM2ZhN2YyIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjIuNS4xOCIsIlRydXN0ZWRMYWJlbEhhc2giOiJHelhZUXgyNmlyeWhKcGNyeEVlakxnd3BWRXNMT1YxMFIrQmQ4TTMzajliQVd5Zzd4YThOMkJmTGlGcWQ1RjNKIn0= x-ctpclassification: CTP_NT x-originating-ip: [10.1.200.106] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH v3 05/12] event/octeontx: add event timer stats get and reset X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Apr 2018 01:59:23 -0000 > -----Original Message----- > From: Pavan Nikhilesh [mailto:pbhagavatula@caviumnetworks.com] > Sent: Tuesday, April 3, 2018 10:05 AM > To: jerin.jacob@caviumnetworks.com; > santosh.shukla@caviumnetworks.com; Carrillo, Erik G > > Cc: dev@dpdk.org; Pavan Nikhilesh > Subject: [dpdk-dev] [PATCH v3 05/12] event/octeontx: add event timer stat= s > get and reset >=20 > Add functions to get and reset event timer adapter stats. >=20 > Signed-off-by: Pavan Nikhilesh > --- <...snipped...> > --- a/drivers/event/octeontx/timvf_evdev.h > +++ b/drivers/event/octeontx/timvf_evdev.h > @@ -145,6 +145,7 @@ struct timvf_meta { > struct tim_mem_bucket *bkt; > void *chunk_pool; > uint64_t tck_int; > + volatile uint64_t tim_arm_cnt; =20 It seems like the count could be incorrect if multiple threads arm timers c= oncurrently. Is that the case? Thanks, Gabriel > }; >=20 > struct timvf_ring { > -- > 2.16.3