From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM03-DM3-obe.outbound.protection.outlook.com (mail-dm3nam03on0066.outbound.protection.outlook.com [104.47.41.66]) by dpdk.org (Postfix) with ESMTP id B08551D25D for ; Fri, 6 Apr 2018 17:14:02 +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=7vHFs1AMT4DfIFx+APZxOjPDWf0qHJ/QS6pRUredSG8=; b=EztDBQ59MaB2xgYDdH8QXuwhWE6kgmbAr0buMVeMOFDi7VeMW+5vG1Ibrdz66d723zHq97GDSBDo5Bw49Ma3lM5UVhYV+uJCS5lCsr7bg5JMhuQiIyfdaBOzajMBrodNyqbxFmcVz82x+isodV7bfH2P29pgwGWQQytV/uRfwls= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Pavan.Bhagavatula@cavium.com; Received: from ltp-pvn.caveonetworks.com (111.93.218.67) by BN6PR07MB3457.namprd07.prod.outlook.com (2603:10b6:405:64::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.653.12; Fri, 6 Apr 2018 15:13:59 +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: Fri, 6 Apr 2018 20:43:24 +0530 Message-Id: <20180406151324.9135-4-pbhagavatula@caviumnetworks.com> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180406151324.9135-1-pbhagavatula@caviumnetworks.com> References: <20180318131216.11699-1-pbhagavatula@caviumnetworks.com> <20180406151324.9135-1-pbhagavatula@caviumnetworks.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [111.93.218.67] X-ClientProxiedBy: PN1PR0101CA0007.INDPRD01.PROD.OUTLOOK.COM (2603:1096:c00:e::17) To BN6PR07MB3457.namprd07.prod.outlook.com (2603:10b6:405:64::20) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: b8ff3f18-c39e-4d56-534c-08d59bd1074a X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(5600026)(4604075)(2017052603328)(7153060)(7193020); SRVR:BN6PR07MB3457; X-Microsoft-Exchange-Diagnostics: 1; BN6PR07MB3457; 3:RMShJ0gdoFRLjFVzy4oEUFOxKCjtyOROetTRZTA6Y+afye/IfP0UagEznAHaaTtVz9MXTRlOLvKM3+DEDjlj7sB3mvDFAEjyMqVXpteWbtgbRZvu40W87GHuyB3kI5ubWA2gaDg4xeiuMmOD2Vpd7ni7gDmk8uuRUsnuqrOrsBtPO8H3woXQ8raVCSaY3kkxU1PGBUr1Ui0/RN79p0Us9YQdmbIg8vxuKgBqHuHi4RTorQGLNKXsqrzPIAF4RUn5; 25:4sYkSQIcjCXuiayEfZoXFTjatvkJLbmfUXLtDr5z1GcKynF5MbCk5RAsV8Qfd+vqQl1QDBRlxQbMpeVfk5ItB+mKyRMNjcTQVaxK/ClvOLGVjD2DzD/yF5X6lr2ZQIhR4dRmbWAORs1XNRuiKSKy8lRAiVZJ29YAddX8msbRXwlDyB/7SY1fKN0aDAQNE77SU87DbINRsX3e68rcpma3CDYLwYS4vAzHwOFpSmikgK99A7fB4si9a0hxZ8Ll4PYlt5uSjFbCXztvHXYvU42oWrG1HB+ewhEfKJpz2AeZ3k0LSQaYOfTn6uJ1imOgRgxda/P4qqNUDZ2MH8xRL2VDGQ==; 31:9XchUMuBWgX4GGUCdctqdEW+vKQFyp5aO6Wab6ymeYwjlW8iLrOq1eHSHKqpKG+i+Tqtg0LXrkUJhhtaAfCoVOcYQ2VPJXq6zal9vMfWKRVVdEDyK/KdjYGDBlj2uCt6udamDcDMWcAshVXVE2KpDwEdXzhUZqFIc03HpFJcvRr2d1t2vpb1tV0bcGRCuSuPozUkbuesQ8ATw721zEjea82XKut+MLXZLBz0afoCVlQ= X-MS-TrafficTypeDiagnostic: BN6PR07MB3457: X-Microsoft-Exchange-Diagnostics: 1; BN6PR07MB3457; 20:HhftPFuKelTJc0yCOw8pAfhgQer+gEEVI+I3+IzZgceOXgO8LCNBBAdeL9dKSI4DkTC7L0UA9aicH4oavKWrL8fi6+v7ee2GDL1jWOqEjqf5Dw7oW8Kf1PZqGqH8FpOZqdXcbBILLtPMPZiXW8w5+ef7ACNXdK7jNZOCY+BWUgGjFUCIzz09FqPDrdm2UPFHYHQgj1TJroKLs5VJl/HgjBSLH0LaHcZHhTLpPTeYI3vAauEix2M6qK7TBCJ5EgoSPHEkZL2g0s005yNU9CJmjSB8R0u9Tw8NMvTLHati4JoMEOC3wSbkF8gcnN/RatHf540qwocTAA2ELi3aqDbhEGfxxbdMVR4PW5UxtZEhPlALX6uXd1eX7mU+RZz3q6TRxskCkdBRdoGaYxKxNClTpEq2cSIQSUinO4upjg2tlxeXwy48e5WDbNNpSSJaeq096Eij2nZIiuyXGq5MErUht7WUlSSP3kwpRsmPl6HxL88oPF32ozzPCacH95vP9FYkvoB5stLmcocn9BDpr2CFG7M/3WBHljRcp3X0/oav4meIgOuNThGbUEBarKYdK7zotfFQgBuMybEMOAJ4kDIlEOsuCkZ9tg4B7NZGvpn8x9A=; 4:6CPQHLcsbulNImLJnHGYlTdqdQ6uWPujUlrKXb0y1fVZr6VT77pEe/MKFWmzscnLdTwlD5it+RWDZWdb4W269gpWer9Tw5nqAcpIkTuRbNjopYWWMeJmiZ64RsFe6Ms3EtAHKRgoqMo9rTFCeOWHqDNmzkRCDNUkXmq0d83GUsvYDqmM878P+gRsHYJNhJfgFzb8s6k+RI8IxKpzc1yts7ZI9TBfwA5kSFGHNKnMf2tBDaba6MOX7yV6IesjSXHkTO3FJd19JP94g+UcbadmNCvC9cBDk//dKx1GlKxHgjAxAozhmBTXv5nmqx3awD18 X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(228905959029699); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(3002001)(3231221)(944501327)(52105095)(10201501046)(93006095)(6041310)(20161123562045)(20161123558120)(20161123564045)(20161123560045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(6072148)(201708071742011); SRVR:BN6PR07MB3457; BCL:0; PCL:0; RULEID:; SRVR:BN6PR07MB3457; X-Forefront-PRVS: 0634F37BFF X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(39380400002)(346002)(376002)(366004)(396003)(39850400004)(189003)(199004)(51416003)(446003)(47776003)(81166006)(2616005)(16526019)(5660300001)(305945005)(11346002)(956004)(16586007)(8936002)(1076002)(72206003)(15650500001)(69596002)(107886003)(81156014)(106356001)(3846002)(476003)(486006)(6512007)(7736002)(4326008)(8676002)(76176011)(1857600001)(48376002)(68736007)(66066001)(97736004)(53416004)(6666003)(52116002)(105586002)(59450400001)(50466002)(316002)(26005)(6506007)(50226002)(53936002)(42882007)(25786009)(5009440100003)(478600001)(36756003)(6486002)(6116002)(386003)(2906002)(42262002); DIR:OUT; SFP:1101; SCL:1; SRVR:BN6PR07MB3457; 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; BN6PR07MB3457; 23:QGs17Iun26hQTmWKiPfLEjx99fSsVTsCJWXEZCpPA?= =?us-ascii?Q?e9B8PNSFSPdY15tb7ZAQRuo5hSJ8gv9WNw52mkrG0f6M46vavKcEE1Q2yF6s?= =?us-ascii?Q?DPz7iHJETDRa7U6p6+z0kegqUxpkK6GTI7CGt2yRHhGmJekt0YR+c55B4oJH?= =?us-ascii?Q?Ok6/SgJZ+G0UAPDjSMeWIdJgVO8d6ZABOEVSt/UH6BYsQvsoNiY5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7B9bSml/xZg==; 5:MKXuR4CfTgTV/Mo/ostygKJFWo94FAjWVOtAvopOuVVqmSDDy3PudQ2TI5ji8uBvCZ3Lv7q5Rj6MmdCmZZTgSwQQXhn//wADys9Pqt97oKgZ9IO7AivfqanbgCbus+YHbzuY8Czl8KeC+AKHXRVIR/c1IkMx+dbSm0Y5PmWcDaE=; 24:CSg701HH/EcLtQ8cX/pB+4SKBeBfe78eL3pgK8VlO3atthR9fD2WiHcIq6Ks/trE5zy8G3iOC77F/nF+6jZCfrOgMMcRo78++xY5lFdSwsM= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; BN6PR07MB3457; 7:GopMI+vuSUnhSddoXGnlovDEANnjElHUhl5fNuqVoffWaAj9G3q1sVANP9DulLqPyal1Trk9+d+tkXseJQJB76u8qpq5lqlvaGhEzpLc+7ms4/3kfaMM5XEb8qlzF0koIFYCNvP7LvIWw3vPI88zXZMkjrGFCy/2OK2j6xjW8M85Af7BQ+ddVFEZyKxZd0lzr5qW57PapLZ9jv9cSEHSx3kq+EBobavkkPl2+aArLzXT0byUTP7bSOt78RhQL2w6 X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Apr 2018 15:13:59.9637 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: b8ff3f18-c39e-4d56-534c-08d59bd1074a X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 711e4ccf-2e9b-4bcf-a551-4094005b6194 X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN6PR07MB3457 Subject: [dpdk-dev] [PATCH v5 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 15:14:03 -0000 Update documentation to include new options added for using event timer adapter as a producer. Signed-off-by: Pavan Nikhilesh Acked-by: Erik Gabriel Carrillo Acked-by: Jerin Jacob --- 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..46effd871 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. + + * ``--timer_tick_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. + + * ``--expiry_nsec`` + + Dictate the number of nano seconds after which the event timer expires. + + * ``--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 + --timer_tick_nsec + --max_tmo_nsec + --expiry_nsec + --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 + --timer_tick_nsec + --max_tmo_nsec + --expiry_nsec + --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.17.0