From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by dpdk.org (Postfix) with ESMTP id 065FB1B836 for ; Tue, 3 Apr 2018 22:21:57 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga105.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 03 Apr 2018 13:21:56 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.48,402,1517904000"; d="scan'208";a="44628684" Received: from fmsmsx108.amr.corp.intel.com ([10.18.124.206]) by orsmga001.jf.intel.com with ESMTP; 03 Apr 2018 13:21:55 -0700 Received: from fmsmsx151.amr.corp.intel.com (10.18.125.4) by FMSMSX108.amr.corp.intel.com (10.18.124.206) with Microsoft SMTP Server (TLS) id 14.3.319.2; Tue, 3 Apr 2018 13:21:20 -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 13:21:20 -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 v2 1/4] app/eventdev: add event timer adapter as a producer Thread-Index: AQHTy2UiFtuwnyPIuEemkC4WC68MlqPvcrcQ Date: Tue, 3 Apr 2018 20:21:19 +0000 Message-ID: References: <20180318131216.11699-1-pbhagavatula@caviumnetworks.com> <20180403160134.27355-1-pbhagavatula@caviumnetworks.com> In-Reply-To: <20180403160134.27355-1-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: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiNzVkZGVlZjktYjQxOC00NTBlLTlhNTAtZGYyZTcwMjk5NzE3IiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjIuNS4xOCIsIlRydXN0ZWRMYWJlbEhhc2giOiIycTdkZG9kWU4xelN4V29BVkY4VGxPR0dmbkFOSTY1Y001Z2lqUDVvaHQ3UzZ4SlJzYThRMzBFTjZTTzNqZjQxIn0= 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 v2 1/4] app/eventdev: add event timer adapter as a producer 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: Tue, 03 Apr 2018 20:21:58 -0000 Hi Pavan, One comment in-line: > -----Original Message----- > From: Pavan Nikhilesh [mailto:pbhagavatula@caviumnetworks.com] > Sent: Tuesday, April 3, 2018 11:02 AM > To: jerin.jacob@caviumnetworks.com; > santosh.shukla@caviumnetworks.com; Carrillo, Erik G > > Cc: dev@dpdk.org; Pavan Nikhilesh > Subject: [dpdk-dev] [PATCH v2 1/4] app/eventdev: add event timer adapter > as a producer >=20 > Add event timer adapter as producer option that can be selected by passin= g - > -prod_type_timerdev. >=20 > Signed-off-by: Pavan Nikhilesh > --- <...snipped...> > diff --git a/app/test-eventdev/evt_options.h b/app/test- > eventdev/evt_options.h index 46d122229..37debae84 100644 > --- a/app/test-eventdev/evt_options.h > +++ b/app/test-eventdev/evt_options.h > @@ -31,12 +31,14 @@ > #define EVT_FWD_LATENCY ("fwd_latency") > #define EVT_QUEUE_PRIORITY ("queue_priority") > #define EVT_PROD_ETHDEV ("prod_type_ethdev") > +#define EVT_PROD_TIMERDEV ("prod_type_timerdev") > #define EVT_HELP ("help") >=20 > enum evt_prod_type { > EVT_PROD_TYPE_NONE, > EVT_PROD_TYPE_SYNT, /* Producer type Synthetic i.e. CPU. */ > EVT_PROD_TYPE_ETH_RX_ADPTR, /* Producer type Eth Rx Adapter. > */ > + EVT_PROD_TYPE_EVENT_TIMER_ADPTR, /* Producer type Eth Rx > Adapter. */ Comment didn't get updated here. > EVT_PROD_TYPE_MAX, > }; >=20 > @@ -52,11 +54,18 @@ struct evt_options { > int nb_stages; > int verbose_level; > uint64_t nb_pkts; > + uint8_t nb_timer_adptrs; > + uint64_t nb_timers; > + uint64_t bkt_tck_nsec; > + uint64_t optm_bkt_tck_nsec; > + uint64_t max_tmo_nsec; > + uint64_t nb_bkt_tcks; > uint16_t wkr_deq_dep; > uint8_t dev_id; > uint32_t fwd_latency:1; > uint32_t q_priority:1; > enum evt_prod_type prod_type; > + uint8_t timdev_cnt; > }; >=20 > void evt_options_default(struct evt_options *opt); diff --git a/app/test= - > eventdev/test_perf_atq.c b/app/test-eventdev/test_perf_atq.c > index b36b22a77..b3a312722 100644 <...snipped...>