From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM03-DM3-obe.outbound.protection.outlook.com (mail-dm3nam03on0068.outbound.protection.outlook.com [104.47.41.68]) by dpdk.org (Postfix) with ESMTP id E38914F90 for ; Sun, 18 Mar 2018 14:13:08 +0100 (CET) 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=LCG+TgTwAMQT/PZ+ydEhgQo1P7pVeD+uS4C6wIue/8+haPh4JFvZTt7QhZonGC7TsdZvx3By9aQ+QZDf9AIjG4hJ2lAe9S9UTorYBo210aQLHkFT1+seronGudV5b1/hfzHC+M/HPstLs5UKn+f+rsdw+PrZDGJWJC7LUTq+zTU= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Pavan.Bhagavatula@cavium.com; Received: from localhost.localdomain (111.93.218.67) by MWHPR07MB3469.namprd07.prod.outlook.com (2603:10b6:301:63::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.588.14; Sun, 18 Mar 2018 13:13:06 +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: Sun, 18 Mar 2018 18:42:16 +0530 Message-Id: <20180318131216.11699-4-pbhagavatula@caviumnetworks.com> X-Mailer: git-send-email 2.16.2 In-Reply-To: <20180318131216.11699-1-pbhagavatula@caviumnetworks.com> References: <20180318131216.11699-1-pbhagavatula@caviumnetworks.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [111.93.218.67] X-ClientProxiedBy: SG2PR0401CA0016.apcprd04.prod.outlook.com (2603:1096:3:1::26) To MWHPR07MB3469.namprd07.prod.outlook.com (2603:10b6:301:63::20) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 982e06f4-375f-4dbd-604b-08d58cd1fde8 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(5600026)(4604075)(2017052603328)(7153060)(7193020); SRVR:MWHPR07MB3469; X-Microsoft-Exchange-Diagnostics: 1; MWHPR07MB3469; 3:Ougdvx+IWDdg/y0c4Uvee26nzf/4444BLQpC8xvkCWNjeANP7GLVYUD3C8txjF3qYHnuMvYHunYYNBRKBMxNlxPAMeRo2mxjJf13EBEAXdXSpOW6yFoRp8/19o2tnzp08f9Of1G1cDtQtT/sXbFZ5sR88E90S44bGPu8s/7lT2en74s44pF28HTvqu8PqDheS2DTb7WpW4wRGEWzXJjAbSktRq6FcAl5TrV/o9z+aK9C1GqZWywP2EHTOVhwSAUt; 25:7rN5o+GVaiUM1haRDlIWIJKqZCgyfGsZUgPJuwTaAd8b9IQD43ApuSumoVdmAOouNOn80nmf+fhAivKd5ja6jGApMyMOj4erkEY4O/QU+ghCMSowm5ERrw3nLMVKNOHX2ChxixUoAXhTHoeijc/clxlKO0NGjpPgtixdIr1ad6rmbpMfz1MB4+WsRlX6YzpkgT4FZZxYupvsJ3pbTQHGnUOmVgwKfY/vNHTFFFtIKIrssLJQwcWgwg70GrIwISjnSNExnBkkzSIN8HUUSEUXerYO9vd7NLERe1D0NwMrWboH5ORibG0EsxrsW3S7VITDK76h/pSdj6LuGVBaTQBw0Q==; 31:y+Qh2vRKTrvOLpqcN9jsJA20iHV4xd2grKR2aPS4gkQVHRDD9pPRVhQn+zq8mXC0chCx8wcm9D8V8z5qeZupxAKIdW69e2AadMV/8C7y7kSv6owAGzyL6lT6U9FuCowycFFWLzHNgSC5oKaEVPY90oFA/CnsgWy985BlMlhRceK9/WNQSRIDctUc6kO8UxwoGHV6/tzrbkagUcpO0FoeSNz1i9xUwdzAUM1R0UubYs8= X-MS-TrafficTypeDiagnostic: MWHPR07MB3469: X-Microsoft-Exchange-Diagnostics: 1; MWHPR07MB3469; 20:4kRX86p31jwOSq8CCZrFlpkXyzO0TmRLtOKE8d/idz8tW+5a3VF1qgQcnHZa65M5+5QiS/yhS4FVMghPUtXSOBFASrJB3jj8cGJzH2Ibgg1z4FDx7sGSUF+vChYzzeCmxZLf552ZNIeQ3A0hzzmv1QnXGdiUkiqihbpVQ3dn+UGj4wNnpYzFbiqBS/TYoFkBhtt/zuoLMCC0V3TW1IACCaTvOQo4F2jXLFdLCSnyicvczR8ss4F0kbITCWDjZqyxBz1APS32L/CYNk8nK2KSEPGUxNLe0HAWirCKAe75oxrnnD0Ihv71OYC33GZr83TGKRnjvKFsbmJSZ1bXg2MXx/jrPts3AeOJ7yJINYNEWVxd5IhawY9Mrm4cE1eP1ZcwGNadxDy+uxBINf80lGHtRzTzC11KWw46h3iLuNiErFlASNvthAz4kscN3QULaCiUS65mDF7tYNBKoCDbJgTCVXshYkEX6U8Aw2apDRt7EpTNPlDpxxM5xPHVXokbvc35Efpw/CEh6vOUavA8HeFdg4J/8G0BBnegTwOhti9Eiw/rQoVR2Km9yb9Nv2SSmSHmMZCtdtBnz5OBDSHD03O1I78fzXBMUJUIOtBUK8fuhXI=; 4:mYolm/PTJPWDKpu4vpFmik53jtuMF/6jueg1mLhffw5Onezxu+T0usy19VVinMerRwTdaSQF+befzjGPeXUYig9gaYctJH8WIw49FzI4I1QB2p/0PIYcI+E0CJSUBRzODBqEYPNM/nM5UHxNrMtbH3YjefkzfDdqKc4Z/SKL90ThqpbX+3pUFt1K+pWzFoW8bLmFA50+tiFlGhs0kBH6cwoN0AZH2c+Tl3qKsb0tIakJNYvMX7xV3pCkvK42YeQ3Fn7v4+RUEFD2ZRHHUN4FZw== X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(93006095)(3002001)(3231221)(944501244)(52105095)(10201501046)(6041310)(20161123560045)(20161123564045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123562045)(20161123558120)(6072148)(201708071742011); SRVR:MWHPR07MB3469; BCL:0; PCL:0; RULEID:; SRVR:MWHPR07MB3469; X-Forefront-PRVS: 06157D541C X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(6069001)(39850400004)(346002)(376002)(39380400002)(396003)(366004)(189003)(199004)(50466002)(81156014)(5660300001)(316002)(105586002)(6486002)(7736002)(305945005)(42882007)(6512007)(8676002)(50226002)(2906002)(68736007)(48376002)(6666003)(478600001)(16586007)(53936002)(5009440100003)(106356001)(72206003)(2950100002)(1857600001)(16526019)(66066001)(386003)(6506007)(59450400001)(47776003)(4326008)(52116002)(97736004)(36756003)(107886003)(81166006)(8936002)(15650500001)(25786009)(26005)(51416003)(76176011)(3846002)(6116002)(1076002)(42262002); DIR:OUT; SFP:1101; SCL:1; SRVR:MWHPR07MB3469; H:localhost.localdomain; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A:1; LANG:en; Received-SPF: None (protection.outlook.com: cavium.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; MWHPR07MB3469; 23:n/Q76WSIjRo+mCmWbTgwrBXXohRziVq+M7xxWGM9U?= =?us-ascii?Q?1ta3TUvTO6t+PAdzzIzbGNAHrMXEVlJIMkxGXqc05aCqRnyEtEPWl7a9pKPp?= =?us-ascii?Q?7voh+kPUKAjLHw+wFGiyy4FN2SFeZ2jwRrT0rLyg+quxzAFru0AOAGbzq1SV?= =?us-ascii?Q?okEeaoLT9KLW47L9oyUDaP5OkLEWl96qhHmi3X+k5zpxVOfuAB0+LePloHZP?= =?us-ascii?Q?q2nTXPe29NySyECoRSPzD/m4l1KRmU9AnQhGjxMX7m0b7nWFgAJoPglvo0dH?= =?us-ascii?Q?ZWAxCpGveIufyMl6JsGVZubWNSHXLzHNz9eIR90ECkTxT3x5VbhrSvZIM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w5tVwXCwbx8uW8Qr+c6x+AD823WzgG1RuontOR9EcjsZcOkb56M5FTDh+xwfqJ2Aup/A5gDsHrmAZR9lSNVAO6QinTZy5E3TRArrA59HHp2n4hL6dZZGvJHBCRIX+GCYFwko9Gf02SFFrkLngk8Em8xWX8J1yEXFQimOgzt+adRdYAEGj094E1dPIb/U1 SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 18 Mar 2018 13:13:06.1054 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 982e06f4-375f-4dbd-604b-08d58cd1fde8 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 711e4ccf-2e9b-4bcf-a551-4094005b6194 X-MS-Exchange-Transport-CrossTenantHeadersStamped: MWHPR07MB3469 Subject: [dpdk-dev] [PATCH 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: Sun, 18 Mar 2018 13:13:09 -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