From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM01-BN3-obe.outbound.protection.outlook.com (mail-bn3nam01on0047.outbound.protection.outlook.com [104.47.33.47]) by dpdk.org (Postfix) with ESMTP id 57ED11C7F8 for ; Fri, 6 Apr 2018 16:56:29 +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=CmDqyGnHiMbPVg2qmpXWvFbj6J+iG9RgnQv6rYVFr3k=; b=ByiCskbd8JhWCo6g3yvyreD4MqECPcvaTBoYpEseLQ9IHlxssHgxSIpkOn9aeGdaz4p7jMLS4FGf9PiHi/HpB6mmBtbmWrKENaZSzUmaf5VIWezwtquwTWwNX1YRsXiqMXLDdqLYCVndjTpgtZ6DAQCJNkXQjP8nJO9E8foXu30= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Pavan.Bhagavatula@cavium.com; Received: from ltp-pvn.caveonetworks.com (111.93.218.67) by MWHPR07MB3471.namprd07.prod.outlook.com (2603:10b6:301:63::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.653.12; Fri, 6 Apr 2018 14:56:26 +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:25:22 +0530 Message-Id: <20180406145522.7775-4-pbhagavatula@caviumnetworks.com> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180406145522.7775-1-pbhagavatula@caviumnetworks.com> References: <20180318131216.11699-1-pbhagavatula@caviumnetworks.com> <20180406145522.7775-1-pbhagavatula@caviumnetworks.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [111.93.218.67] X-ClientProxiedBy: BMXPR01CA0031.INDPRD01.PROD.OUTLOOK.COM (2603:1096:b00:c::17) To MWHPR07MB3471.namprd07.prod.outlook.com (2603:10b6:301:63::22) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: e1361e97-d53e-4c6c-2c53-08d59bce9336 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(5600026)(4604075)(2017052603328)(7153060)(7193020); SRVR:MWHPR07MB3471; X-Microsoft-Exchange-Diagnostics: 1; MWHPR07MB3471; 3:p75YeI39r/NMDL6d+6E0ICaKfVL3LVbdVNXxQdYvmSSAyj9g9ruWJ4ujc62czUhMzivfr268za4xd56AYDWiPn3T6ch3eXsIpg0jm4frbhoHxufrFtsTiwZj6CK0ewUM4r9nSeN3LSDexT0+ZtBjIQIvLix/C8rIkRp9mbZFbhbNLlJ/vdIhcNVrfbXZeUpH7I/+o31mg3mBTMRLIe7/pJ4KR4E1lx+pZTkgKMFsUQZuWCpQV5B0HP6PDkwsgel5; 25:IapjKeLW+/N+bEDxuHvO+7xgN+CwXL3LizwuKniIsQ4zZBg4qfaau/i+66SpdDD8zo0IP89RtIO3Uv5h30oeVW67nvTJHntr3EPtFuSl55PJzqxcOgNCX17GiYC8+bkzNboFo8aFdoGRX10syew1t0W8mFZXYqxYbBxgIxbsUgYFE7dthvfeQ3sUAETYvb505vP0VsEKb/HweFuZJkwxSRmHsGJacPymNPxYHNrsfgg1LfprhUvyt4Y1x56elvOQC+i652sbn70f7Zm3KYRKMnITFZ0rxArurfF21G3dTDtSQMoRpzsDpIzUmFYHCvHA6Mk0Tq6ATUPvmO8zYwELqQ==; 31:9dBGvmQDvKlrfLCzT5ycm+642RhbdANWpuJwykS55ipyk+ad+ng1OhCtDSnH2D+SWPw/dKiP98uAORbv200RZ7PQeJug5/4jeCad8YazoJYbRvb1IxMI46zIoUJbZc4KMCjYDBIbAXhLL5yyxKpvBeXQ6Q1+hCtiaUNk5gyU4DsyK42H8IKDdwj4h3TYRRW2lyUztPrgROkS3FZvY1LqDWE+W93aQpCgLVEgRrR/z8w= X-MS-TrafficTypeDiagnostic: MWHPR07MB3471: X-Microsoft-Exchange-Diagnostics: 1; MWHPR07MB3471; 20:TQCaKq86U6e04ILx3UtoG55EdXAkUhxCAMVvR0Pt8zH8mSzrNr7vb32OeVjH3XeHNL1Sie1ykRxgasWzhqg4Cb8BQmiwFUmSRfowYF1Y6HgldnuGqGnUQO6WoVZx6cVUha0HGkLAutxnTe3kVcv94Je7bOa/rU7RhA8qWevLsaiT3asAjmG5LKeWzGiIMk+66dnkP+XcmWOmSOwQoDnfuGsFrmEWvNkEZJlXXIXd98mr5ODAs26HYXfnAFQnhWuBDiUECDEcO2zTTROE0MFI2w+uOiw4bh8QDd5ZMguYh3CBuZAGfUgZfuu/0eKTxpsGz8HRSC+v+TfoEqEn2sYs5NqVZaRRSznnI7/ZGDVfxtUjAAs39/XGfdcEf28/gp/vtr7mn2pOkFVdE8Go+Hi+CffSmkBibf3uO9s4r32tX8BKjUz6sBeHv3tgRzH6o50CqGFvxSf3MsneYlkdHIi6ob67q7owLrYCmmu16dXWFyCe/hqKClq6zJE9XS1tlDIrWSM51c0Tf0ZkABeguFufhqGK3kXFnyWi0UrliUAQdmJrw4y5monPUlv3uTDarNYqPlIvcUA0CJ8uOmxr8aNtdCkIFcZYSFP3Ctyexpc6jeY=; 4:YTrP1bN4UjN+jPv4EuVqv2KOG37lIPjt2THFma4X+WbDT4XjR3VmBX2u9rYcvh4lkOAh7GumNzO0YdUrEuNvqJEx3gLxqWUfUkb89FkzrRE+3N+apGdBhhMFm4O0FR7P4ONeqhTRqr9TUMUtmXiW3jORrQ+CY7ResKMEpYD4+bjBRSunLzE3XhWmkCkWYEm6UNsI9sDYebewwLr8H7tw8IRddC0MYLgmczCQs9rHFWaBQBSDKFveWO6UdnrLtonMB/RBrUQw6/gabsrPGzu3aQ== 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)(3231221)(944501327)(52105095)(3002001)(10201501046)(6041310)(20161123558120)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123564045)(20161123560045)(20161123562045)(6072148)(201708071742011); SRVR:MWHPR07MB3471; BCL:0; PCL:0; RULEID:; SRVR:MWHPR07MB3471; X-Forefront-PRVS: 0634F37BFF X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(39860400002)(376002)(39380400002)(346002)(396003)(366004)(189003)(199004)(53416004)(106356001)(8676002)(25786009)(68736007)(81166006)(305945005)(48376002)(3846002)(7736002)(6116002)(66066001)(47776003)(478600001)(4326008)(2906002)(8936002)(52116002)(6666003)(50466002)(105586002)(50226002)(69596002)(1076002)(81156014)(5660300001)(1857600001)(51416003)(16586007)(36756003)(6512007)(76176011)(16526019)(97736004)(107886003)(5009440100003)(42882007)(316002)(6486002)(15650500001)(53936002)(72206003)(59450400001)(6506007)(26005)(476003)(486006)(11346002)(956004)(2616005)(446003)(386003)(42262002); DIR:OUT; SFP:1101; SCL:1; SRVR:MWHPR07MB3471; 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; MWHPR07MB3471; 23:gic2VywPEKF+9Zv7eq5ZMuGqISbhteRX7pKMHa9e5?= =?us-ascii?Q?w2UY7WJ8OsyALzN59eyHlPMi1LUHNErFKCAiPwP0P1jzn2jl8H2S1pRAcMfp?= =?us-ascii?Q?ZUTk9uoCFXgMW3cK02AWt4E4mgDqgvnZS+ZeTjeqgmjfwtYxDy54W8wQ01+I?= =?us-ascii?Q?K9oXuCoTTm18bSSwEWxmCxzg9AhT5L9XwPiWJ0H70NyAjUyFzF1Nc829CYby?= =?us-ascii?Q?82zHdpLlDrBRWLq6JIR06LxXT+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LR/kv/QqSxXjNQ51/Tdyr1KGjD6krrmCVoVPsyAbj6pvs/DCPH9M46AD/1vIsUKBFIwHCiY/uXwjYei1b33JvQw9IaHQTeGLNZEDeOJPW7N/0gBP0c6Xw9Ha03Ic4VBMTZ7n/A0e0WFVEmVa2Fh7aCsbGvKG5TtNuVgU=; 24:7/07LBNMwTEN9scIcmWJRWV308Xyg5ZpU4Q3h72comy0x4zMyijrsXOrTFx1z2wLmewDCCEZKaFdzXyKFH3Uah5BQL2MSvhLcJKW++cdVUU= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; MWHPR07MB3471; 7:9XET7GcXB7BLGOJxLMrfg+e86S/vEgJSFOBloxAQMM/O93VmA8kCMYCf0OlQcc0Vh5avOcsz1HI/jLUCxCA70SnLJzv48WdjCb0BODWO1wBTtjAxtaCQ8Mlf7YFHNWEPhHOXSB/Uh6unV0gA2bXL2FRcsJCtxv1lhZZO7sWV0WzbrEJqGn/2DHfsYcVzXqJleiCWexE64Yw69ZGtpaIjJoiOX4q10OK3Op4rTA+vz+LNVjQwZEsZs3eOcCDpCH76 X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Apr 2018 14:56:26.0349 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: e1361e97-d53e-4c6c-2c53-08d59bce9336 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 711e4ccf-2e9b-4bcf-a551-4094005b6194 X-MS-Exchange-Transport-CrossTenantHeadersStamped: MWHPR07MB3471 Subject: [dpdk-dev] [PATCH v4 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 14:56:30 -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..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