From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM01-SN1-obe.outbound.protection.outlook.com (mail-sn1nam01on0065.outbound.protection.outlook.com [104.47.32.65]) by dpdk.org (Postfix) with ESMTP id C7E821CF5D for ; Fri, 6 Apr 2018 13:37:28 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=CAVIUMNETWORKS.onmicrosoft.com; s=selector1-cavium-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=mvKLq60+t//ot5fKZ71hoE6yneDC5qTsx9pEHfp8cek=; b=dAAAZWCygCVXpETm07xFqUvuATA7MxEoEFdWw2qSnuB8woYIG7JBpkVNDt7ulxwVJQah6B0PBvDqGDmdsNSpfgQX5chdbFKJhJqbr0IwPq6AQHDOSiOwF7b0NCUQqV2bs578rfP4HJ0QeYnZ4l+1aLV/7P0sYj2O3JUTgosZgrA= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Jerin.JacobKollanukkaran@cavium.com; Received: from jerin (122.178.210.9) by CO2PR07MB2517.namprd07.prod.outlook.com (10.166.200.151) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.631.10; Fri, 6 Apr 2018 11:37:24 +0000 Date: Fri, 6 Apr 2018 17:07:06 +0530 From: Jerin Jacob To: Pavan Nikhilesh Cc: santosh.shukla@caviumnetworks.com, erik.g.carrillo@intel.com, dev@dpdk.org Message-ID: <20180406113705.GE1749@jerin> References: <20180318131216.11699-1-pbhagavatula@caviumnetworks.com> <20180405115329.22372-1-pbhagavatula@caviumnetworks.com> <20180405115329.22372-4-pbhagavatula@caviumnetworks.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180405115329.22372-4-pbhagavatula@caviumnetworks.com> User-Agent: Mutt/1.9.4 (2018-02-28) X-Originating-IP: [122.178.210.9] X-ClientProxiedBy: PN1PR0101CA0006.INDPRD01.PROD.OUTLOOK.COM (10.174.151.16) To CO2PR07MB2517.namprd07.prod.outlook.com (10.166.200.151) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 041210b4-9f72-46ba-bee0-08d59bb2c578 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(5600026)(4604075)(2017052603328)(7153060)(7193020); SRVR:CO2PR07MB2517; X-Microsoft-Exchange-Diagnostics: 1; CO2PR07MB2517; 3:VUCGsusMUZYHfgbpupvuTU/vANDgKtCqJt4sp6ZT8Cd+B6Zdm+B8vnxnU/wd3wIgglYn/2gjNojh0eJrDeXyRaiQjM5QSH4u5bw1zQcsBYvcQ/KtuG7Kfa/5lq+3ffdUZm2+SyQhsERToTlLgXqGVbNvyfuw0M3OhTTShJpfEQ/rpe+JvMMRXyFRGL/6EqromGzWYdYt2+f4N/2Q3LwM/BAvqFpd+hBjRPWSzxhfsEaWOm1VL1ZN1Wv28dj+4dmM; 25:LPstrJqAwWL8rNdO3cwLR0CPcqDZj+aJos6A6IAAKTuYczO2YpbeREyRpZ1cyhLoxsuj0dRW3OXcoyC+FlwoTjvoc6/EqiAaks8t6sTr5qgbVoaKVuOXmOgm8Aby0Cbz26B5rNTk5ilIVVi90TbyMSCFuIh8iHigzzs3AY+zIWafVCGvbuFZ1MDskurNqMAf88PFlETbiNbodV9Zwaq1/M42q3vpls15izLUDHkzeBI/PYlvYDLiyQh5C7j3/0rMuflGQ1n0TOqKsBCwhT+nLY3xKu+x0WPGLZjr2w/ZDoD3GRjJAgJIzL19xM5aP7qFQHgvG/fAh63pLHMcsTrsxw==; 31:CFtia5xKtT5LHMfVKSh0QqsIBih5hO9Aduh8kq0M/6vIEcAEwUn1VYYaGMTtfkxwM7h/ZLO9BPLZHOKYuOpLIwC+F4Ef8SqphkBaOf70Yj9F3wQ6LjynQR0kw9yQLCBWCg0505jRSdiQqQaJU8J8NuTvkXXgHfFASJeyYD6DQKTmROAwDOk2VYfqOVu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exchange-Antispam-Report-Test: UriScan:(228905959029699); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(5005006)(8121501046)(10201501046)(3002001)(93006095)(3231221)(944501327)(52105095)(6041310)(20161123560045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123558120)(20161123564045)(20161123562045)(6072148)(201708071742011); SRVR:CO2PR07MB2517; BCL:0; PCL:0; RULEID:; SRVR:CO2PR07MB2517; X-Forefront-PRVS: 0634F37BFF X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(39850400004)(376002)(396003)(346002)(39380400002)(366004)(13464003)(199004)(189003)(956004)(6116002)(3846002)(316002)(58126008)(305945005)(1076002)(386003)(16526019)(59450400001)(66066001)(23726003)(8936002)(68736007)(2906002)(81156014)(47776003)(476003)(486006)(16586007)(6666003)(81166006)(6636002)(446003)(33716001)(8676002)(6246003)(6862004)(33656002)(26005)(11346002)(7736002)(53936002)(15650500001)(4326008)(229853002)(97736004)(50466002)(5660300001)(42882007)(25786009)(6496006)(76176011)(105586002)(72206003)(52116002)(106356001)(55016002)(9686003)(33896004)(478600001)(18370500001); DIR:OUT; SFP:1101; SCL:1; SRVR:CO2PR07MB2517; H:jerin; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; Received-SPF: None (protection.outlook.com: cavium.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; CO2PR07MB2517; 23:O7BLal4dPdMGC73ztfb39RXtxbufWsTNZ9q0kzFHs?= =?us-ascii?Q?ftG81AEgKFJ13munJ8rKYbf8LR/osnjnoXx0WO4uxeRh3JSt248ijs06bsl9?= =?us-ascii?Q?YmKAtLwI3WTw20VYUhDk+6gnkd+MUQ2X/fum6k3naoNnHOivnkNzhydmePLC?= =?us-ascii?Q?yoGYchlMkrcYiPnSs3PZ+mLdMcorBQvPc/DzRobwWmx64oLmGGnKlwhNJ+Ot?= =?us-ascii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9jgy1xnLSSPH2NDreBkFwGA1VDgqeoCz+8FrZYguLFiTPWhC6/hoY/YoRGGTNfimwVoILdQW1QFY81Lt6j9e7b2uPCcmkDzEHFVL9ZRc+o8JsLev7RPyUhFYUbZXtwJHdwg1mHPfYPEHIx7/2yUcm72pdJwio=; 24:gJSOipXoL0bMcUaYWNaCrULHmJgpWUgNgqmZK2BbSuidKc9P3zNromr2VGm7MFdOLbbXLQ7QDCvphzpHyztnPPlSbjosQC+PCGXqlWS9sfc= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; CO2PR07MB2517; 7:/IayMYxmQejikcpSgVhi4JLcdSFq3HUpu+JDuX1JR3XA4gD26sS5LgLOIqng8JGpvtCZiR8YOOzl9tbNTqMH5j1ogjZvUG2RaGzmaUGDp7MqnlorHaIC4q6FtypfU8/coxRrmTeyWg/mzybYQM5tzEakNE1hwlMG9KrxNEJUdv669Yk1gYkaGIDMUwDbMV3K0YVYNVxwgG52ELqspX+KOXHYuS0sOqa3cYknDvYIJDHEMZTaciLr/WNPtjS9fcBu X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Apr 2018 11:37:24.2145 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 041210b4-9f72-46ba-bee0-08d59bb2c578 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 711e4ccf-2e9b-4bcf-a551-4094005b6194 X-MS-Exchange-Transport-CrossTenantHeadersStamped: CO2PR07MB2517 Subject: Re: [dpdk-dev] [PATCH v3 4/4] doc: update test eventdev documentation 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: Fri, 06 Apr 2018 11:37:29 -0000 -----Original Message----- > Date: Thu, 5 Apr 2018 17:23:29 +0530 > From: Pavan Nikhilesh > To: jerin.jacob@caviumnetworks.com, santosh.shukla@caviumnetworks.com, > erik.g.carrillo@intel.com > Cc: dev@dpdk.org, Pavan Nikhilesh > Subject: [dpdk-dev] [PATCH v3 4/4] doc: update test eventdev documentation > X-Mailer: git-send-email 2.16.3 > > Update documentation to include new options added for using event timer > adapter as a producer. > > Signed-off-by: Pavan Nikhilesh > --- > doc/guides/tools/testeventdev.rst | 60 +++++++++++++++++++++++++++++++++++++++ > 1 file changed, 60 insertions(+) > > diff --git a/doc/guides/tools/testeventdev.rst b/doc/guides/tools/testeventdev.rst > index 77480ffe9..eb3bc3ae5 100644 > --- a/doc/guides/tools/testeventdev.rst > +++ b/doc/guides/tools/testeventdev.rst > @@ -123,6 +123,36 @@ The following are the application command-line options: > > Use ethernet device as producer. > > +* ``--prod_type_timerdev`` > + > + Use event timer adapter as producer. > + > + * ``--prod_type_timerdev_burst`` > + > + Use burst mode event timer adapter as producer. > + > + * ``--bkt_tck_nsec`` > + > + Used to dictate number of nano seconds between bucket traversal of the > + event timer adapter. Refer `rte_event_timer_adapter_conf`. IMO, instead of "bkt_tck_nsec", it makes sense to call it as "resolution" or "timer_tick_ns"(it is the term used in rte_event_timer_adapter_conf spec). If you agree, please change the code and documentation accordingly. > + > + * ``--max_tmo_nsec`` > + > + Used to configure event timer adapter max arm timeout in nano seconds. > + > + * ``--nb_bkt_tcks`` > + > + Dictate the number of bucket ticks after which the event timer expires. IMO, instead of "nb_bkt_tcks", it makes sense to call it as "expiry_ns" or something similar. Please express all configuration option in nano seconds so that user should not know the internals of implementation. > + > + * ``--nb_timers`` > + > + Number of event timers each producer core will generate. > + > + * ``--nb_timer_adptrs`` > + > + Number of event timer adapters to be used. Each adapter is used in > + round robin manner by the producer cores. > + > Eventdev Tests > -------------- > > @@ -347,6 +377,13 @@ Supported application command line options are following:: > --fwd_latency > --queue_priority > --prod_type_ethdev > + --prod_type_timerdev_burst > + --prod_type_timerdev > + --bkt_tck_nsec see above > + --max_tmo_nsec > + --nb_bkt_tcks see above > + --nb_timers > + --nb_timer_adptrs > > Example > ^^^^^^^ > @@ -365,6 +402,14 @@ Example command to run perf queue test with ethernet ports: > sudo build/app/dpdk-test-eventdev --vdev=event_sw0 -- \ > --test=perf_queue --plcores=2 --wlcore=3 --stlist=p --prod_type_ethdev > > +Example command to run perf queue test with event timer adapter: > + > +.. code-block:: console > + > + sudo build/app/dpdk-test-eventdev --vdev="event_octeontx" -- \ > + --wlcores 4 --plcores 12 --test perf_queue --stlist=a \ > + --prod_type_timerdev --fwd_latency > + > PERF_ATQ Test > ~~~~~~~~~~~~~~~ > > @@ -431,6 +476,13 @@ Supported application command line options are following:: > --worker_deq_depth > --fwd_latency > --prod_type_ethdev > + --prod_type_timerdev_burst > + --prod_type_timerdev > + --bkt_tck_nsec see above > + --max_tmo_nsec > + --nb_bkt_tcks see above. > + --nb_timers > + --nb_timer_adptrs With above name changes in documentation and code: Acked-by: Jerin Jacob