From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM01-BY2-obe.outbound.protection.outlook.com (mail-by2nam01on0075.outbound.protection.outlook.com [104.47.34.75]) by dpdk.org (Postfix) with ESMTP id E0C001B831 for ; Tue, 3 Apr 2018 18:02:03 +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=fnJMMpsAuUKnjHcC0Qk2EsUTajF2TBSPxrLic4zBrNo=; b=Z4J5XgoeaZpqHnuL/JXCJpFHJlm69MbiFUBMR5v2AsFtHQ/NuE/lzHjJBcNR2N/WPaL2akzppLwVmxSvgOfhZ7VfqY6G1XV+XkqwNAs9eM9Hx9EDPG+Ut1J4bDe+k7r8UxmOOiBHBEqZceMQtkaCOcJM1Rt/z5NQOrH9uTXSoM0= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Pavan.Bhagavatula@cavium.com; Received: from ltp-pvn.caveonetworks.com (111.93.218.67) by DM5PR07MB3465.namprd07.prod.outlook.com (2603:10b6:4:67::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.631.10; Tue, 3 Apr 2018 16:02:00 +0000 From: Pavan Nikhilesh To: jerin.jacob@caviumnetworks.com, santosh.shukla@caviumnetworks.com, erik.g.carrillo@intel.com Cc: dev@dpdk.org, Pavan Nikhilesh Date: Tue, 3 Apr 2018 21:31:34 +0530 Message-Id: <20180403160134.27355-4-pbhagavatula@caviumnetworks.com> X-Mailer: git-send-email 2.16.3 In-Reply-To: <20180403160134.27355-1-pbhagavatula@caviumnetworks.com> References: <20180318131216.11699-1-pbhagavatula@caviumnetworks.com> <20180403160134.27355-1-pbhagavatula@caviumnetworks.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [111.93.218.67] X-ClientProxiedBy: CO2PR04CA0090.namprd04.prod.outlook.com (2603:10b6:104:6::16) To DM5PR07MB3465.namprd07.prod.outlook.com (2603:10b6:4:67::20) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 431b9525-6b3f-40f5-5520-08d5997c3d1d X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(5600026)(4604075)(2017052603328)(7153060)(7193020); SRVR:DM5PR07MB3465; X-Microsoft-Exchange-Diagnostics: 1; DM5PR07MB3465; 3:biyOROiHTzY5Ygeq3+F8HF+ukNUJpauKfP24QMSMEpm0aqluOmDF7ja1jUa7mKu91+38tbUgqqWpasTBL3wDwx98hp4/bBqQh2YIUz2cCw/30dzGEIIh7qIVnS58TQthN5KfRlnRH/i9HBnGorETYya9JwdGjXMiE4h0a4r3dDEbeeXue4zf/JTT2kaKqnGDuUfFNtsFoNaekOUoiO7QSc14t3PyhbtNBD+azxk2D17LcVUARN/enmCaCwEPjhdy; 25:nJ0DKLVZdQZ0nhIvAmJBvnCJ8Kdi10KjacoV7dn14X7cScFLdejU3CKCJvDrT5LDflw1e4nK4NpDaJYM95evOz3cFPdlMMGCB5rJo8syocusqV4cuh4el82tjwnoSDo0i3CgTQHkmUHlzOK9UMOddZJMbz/hEvA3pE/m/5jXs0uPp/nMsD/Ry/seGYIa8NBuEiuumkGPnIxvrpFEdfQ+3I78UXGKvM8V/5j3q049G09krOUgu4dEBCfL6pujo1nxIP9GHTBhcInAtiwvQXvH1CTQ0moBoQTa+xtorfcuJSdcOoYSM7wfISmLyWEJFxCG4RYGqEM2/qeTDM0bt9VCzg==; 31:a0TYDsrD5rXjlOtmZbCVP96bXikBR3kM7J3gjMGA922q3IgYXq4Qfyo+fVEJ3M3fRWf1HS66SS1jgJGz+LChxTwu48tEKUB3ChXxvDjW8rW8FPRqiLtj8txy7KHZDs7QuqvU5RVhKKtm9wxCz6FSq+VogFmTCcBA3cRFkThY9lf/yTJYarLYbkP7JJERIg+1q1thW0ZuIJ9FIYIB2BuUmKkr78An6MZh0b3yT212L6c= X-MS-TrafficTypeDiagnostic: DM5PR07MB3465: X-Microsoft-Exchange-Diagnostics: 1; DM5PR07MB3465; 20:WRzQ82SXRZkFoqM7/zEliuazTrYzqLLzyu/PU7RZdum1cTfyHJ85DCEGJQtbQwMOCBqzHzwcrTlT39prtHoByiXu13D/5TKq/vbQL7gqgKCgRgTgJTq87b8my21VjEyaAdNCaaoViCwa7yibfzPhR2kHY4Z7lU5V/n6ucIgbyt1xZZ8eVIiq6Aa/hvoav5XuO0JpTBSkc88R9Azgxi+cNBUVan8lW2RYtnT8Aukp2JObMbj+elo6ScP0L1NYUfEU/DJl//tqRGe6Ix4677lgCpwCGIWSggYg/fg7n6KyWnN4cDt2xzScHsxUGg2S255Wfn1FTEhVrvMfPcGNdLmbkgoo9rjtI2X/6CBvdao3GpTPSoZNHKHFaAgjz+fLHFrfDLplAwcb+kGnr7EvaQ++uafqpaM9+8zk3IBQGCDMe+awrhFHjHBNfQek8qSzckDIROa+qpdMJPp3hdjCGXotnNu/JxoT4VFn6pvbgEsQMeyEy3pI9/zpmJ9n+3GnZcC8kzurXwjuW219UBdlY6SmXWR29B3TbMD4fUI+PYY+LGPys3E+wQcfahRb6e2x3EtZ7VmkRYS1STrY0871OJDruYf77Xj193iKyqidiRaqwnE=; 4:5wmV6/HbBxGnQmHzRapWdBXxq8jvYcq7Wl3lKTphvHNJKTU9GKa7T0W8V6RvbQHErVOG9KxanTRHusEO6VfOe4MGOvdjHTNcHih0Kf7++mHoDkskz0TZZfC9SuTSkL7R9wY0mUyOOEcDZLV0LCRcXMvZtn/wWRI8+0T25aapwhhaYPJoAa0noKnvRPC7RMefrwFh5jSTVw5GbfoWXuPUn1dDllJVqgyi46Oo0OeKjGdEHMJfGG/kOCRrJc+oi8+0UVyAhtfxQcXt+V6JCjIA/w== X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(5005006)(8121501046)(93006095)(3002001)(10201501046)(3231221)(944501327)(52105095)(6041310)(20161123558120)(20161123564045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123560045)(20161123562045)(6072148)(201708071742011); SRVR:DM5PR07MB3465; BCL:0; PCL:0; RULEID:; SRVR:DM5PR07MB3465; X-Forefront-PRVS: 0631F0BC3D X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(376002)(39860400002)(39380400002)(366004)(396003)(346002)(189003)(199004)(52116002)(50466002)(386003)(6506007)(5009440100003)(1076002)(6666003)(42882007)(6486002)(48376002)(2906002)(16526019)(25786009)(69596002)(59450400001)(51416003)(76176011)(446003)(4326008)(81166006)(81156014)(11346002)(106356001)(105586002)(68736007)(7736002)(5660300001)(53936002)(478600001)(6512007)(316002)(66066001)(47776003)(36756003)(97736004)(305945005)(1857600001)(72206003)(476003)(956004)(2616005)(8676002)(486005)(6116002)(3846002)(486005)(8936002)(16586007)(26005)(50226002)(53416004)(15650500001)(107886003)(42262002); DIR:OUT; SFP:1101; SCL:1; SRVR:DM5PR07MB3465; H:ltp-pvn.caveonetworks.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; Received-SPF: None (protection.outlook.com: cavium.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; DM5PR07MB3465; 23:vzhbGxSgdnBTMnEdAz/B5FAYLQUnhM3H3RtQIrNNC?= =?us-ascii?Q?K3f8ztfZErwJEbcBovbzejijZva4K1qmAnzbwTvICYz+HqbtVZpqxt3N1LmD?= =?us-ascii?Q?3+y2cw1EomG+mAbaAUeO1ajos3mHzJp7JfGGrhCuCaxgJ2oqI+/RJ6igSjy2?= =?us-ascii?Q?Ddr/4wp1yTsBYbcHHc9MDc/o+nlpFvpi9+b60s8v02iHMltvtzP3M6x9fXYu?= =?us-ascii?Q?rX7/CuSyGt7mdcJShSKO/gPqig9VWpuVmfQ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DORw==; 5:mxc6Ij5vDMlUa906BTIiA8ijv9EB0M+PmuirY32M3yDp3FOMkSqhjCkQI8goWhc8n8lkhvgCD+4k29FWSbXRNdevW0vl4bSivRo/BekFCi+7jDABEpDdQccdW9bWvaJwf1z4ebRWgKAydVyUAfkuRmjMgmj8XVJV7gg8Meopb7I=; 24:ZyqXQsb8lI3C6F/45kQnxsysj9Oba9yzE+YnT6NtDl0tHsRCiAiBmcWCVN3qTV7pJ+r2GgPqKLFDSJfC72Hox+4FV4I9CUIhivIKTtk1N9E= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; DM5PR07MB3465; 7:NTDRB6b7phS6RRfOeJA1wWym/3+aKGMxN6Lsm5rt5L6Gl/1m9xxD9orPi3jI7uKuN+o0iRrzFQd0y2D3gc2sWcwMeztIYKAqCpApgXVSD6erkSK1hnDxdsTNudCxIxxYt1ltOZYSi/0bNsXrF9CnkX9Kwv3IAnfo9+pwDaHygrob9/0WPAkOv56mwfgI6wATvHsxlb/ELtptrTCOftfgXJWxxRHKx+KSF6ahYgkAfXe1WA5raruNpiMIsl9uhLcO X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 03 Apr 2018 16:02:00.3369 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 431b9525-6b3f-40f5-5520-08d5997c3d1d X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 711e4ccf-2e9b-4bcf-a551-4094005b6194 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR07MB3465 Subject: [dpdk-dev] [PATCH v2 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: Tue, 03 Apr 2018 16:02:04 -0000 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..ab07c0284 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`. + + * ``--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. + + * ``--nb_timers`` + + Number of event timers each producer cores 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 + --max_tmo_nsec + --nb_bkt_tcks + --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 + --max_tmo_nsec + --nb_bkt_tcks + --nb_timers + --nb_timer_adptrs Example ^^^^^^^ @@ -442,6 +494,14 @@ Example command to run perf ``all types queue`` test: sudo build/app/dpdk-test-eventdev --vdev=event_octeontx -- \ --test=perf_atq --plcores=2 --wlcore=3 --stlist=p --nb_pkts=0 +Example command to run perf ``all types queue`` test with event timer adapter: + +.. code-block:: console + + sudo build/app/dpdk-test-eventdev --vdev="event_octeontx" -- \ + --wlcores 4 --plcores 12 --test perf_atq --verbose 20 \ + --stlist=a --prod_type_timerdev --fwd_latency + PIPELINE_QUEUE Test ~~~~~~~~~~~~~~~~~~~ -- 2.16.2