From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM02-BL2-obe.outbound.protection.outlook.com (mail-bl2nam02on0074.outbound.protection.outlook.com [104.47.38.74]) by dpdk.org (Postfix) with ESMTP id 7ED381B1B2 for ; Mon, 11 Dec 2017 12:13:32 +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=UQZuIqP9WDzoM9a69N0o924pacCZ8MBMXQJFqfhw/II=; b=Hwxeho/ZO/GE5C2N+4VCgFC3vnFcspqBxrb7xh6i5cyvlYGZFg/KUuGOwrpS8Wns5tqseHFdWMH5OnYoyesmMftfAVIAVVEW73nz4HZLg9gADwDW/oSAVsVoFRLNgX31I6paNfqCXnYa/sgqpexn4yQphoR/XmgNjlVBOA1VUZM= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Pavan.Bhagavatula@cavium.com; Received: from Pavan-LT.caveonetworks.com (111.93.218.67) by BN6PR07MB3458.namprd07.prod.outlook.com (10.161.153.21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.302.9; Mon, 11 Dec 2017 11:13:27 +0000 From: Pavan Nikhilesh To: jerin.jacob@caviumnetworks.com, bruce.richardson@intel.com, harry.van.haaren@intel.com, gage.eads@intel.com, hemant.agrawal@nxp.com, nipun.gupta@nxp.com, nikhil.rao@intel.com, santosh.shukla@caviumnetworks.com Cc: dev@dpdk.org, Pavan Nikhilesh Date: Mon, 11 Dec 2017 16:42:36 +0530 Message-Id: <20171211111236.1331-8-pbhagavatula@caviumnetworks.com> X-Mailer: git-send-email 2.14.1 In-Reply-To: <20171211111236.1331-1-pbhagavatula@caviumnetworks.com> References: <1508330348-30060-1-git-send-email-pbhagavatula@caviumnetworks.com> <20171211111236.1331-1-pbhagavatula@caviumnetworks.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [111.93.218.67] X-ClientProxiedBy: BN6PR1301CA0010.namprd13.prod.outlook.com (10.174.84.151) To BN6PR07MB3458.namprd07.prod.outlook.com (10.161.153.21) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: f720614c-9216-4b1e-3be3-08d5408835e3 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(5600026)(4604075)(4534020)(4602075)(4627115)(201703031133081)(201702281549075)(2017052603307); SRVR:BN6PR07MB3458; X-Microsoft-Exchange-Diagnostics: 1; BN6PR07MB3458; 3:b/AfLE7j8mkRcMCqqD7rYx2Hqj5j0xtTye9PzZseocrNWULqKvQ1lqN3bGg/FO/GKNirJmyUYljDRB2sj49QYlicRI2KRNRlTA4e6DSVGz3pE0gHM32FEwQCwjVewcorAabsPTJBaAi9bHs7D1mAHyknuSmqjKVEqgtzPmqwfS/hkpWnkF6Ppc6skRVX2Iyhq4OAk7YTQymQMZFf3Nyoxpz44b8L2k9Cb0/+jdQdR5o+Y9uKHlK4jK0dQ9sLChfC; 25:lc9rZkxlZ6M1wJRHu0nnJqSLuXDIlFYLlkwaWxIzwVEWTmpu2IXa1mTIAHu/PJxMVywr3ZQx8L3YB0C5Eq3MDViWrUWuSIETyGv6+y6uBBva8khD72R5OLDzhKURH5tVh4S70DZ7aiMQOUywgn+t1B+WB+X+KsClKySDqs+nt4TzXLfe674tsYzaWfZIHT0tpCbiPByZa8vvjy35lffZdkiWjD0UPBAsKM4wERp0d48cMuQB2YeMyGGvZ7kVXtF5XGruWfTG6Hexg8dJWb2+tR7s1KyWomouyjKH4Kt0Z3l8EmWJu5o0/81gW0rGl/stqGNd201fGwbrXRAKRgsZiA==; 31:Fy0HSZ9CIgluepOz/m1GZ2UwbK3APVTN99qVmDg7i93TR1apg4JWHhh93h964ENNWi6FgECNJ6qJ9R/9cXMgdZJWa9AlKiL4RgSj30z9/CergsSFZuXlU1D3fsFhOeuMWMxCZYMejqS5b8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XexKDeFxXwGdEZngcx X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(228905959029699); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040450)(2401047)(5005006)(8121501046)(93006095)(3231022)(10201501046)(3002001)(6041248)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123558100)(20161123555025)(20161123560025)(20161123564025)(20161123562025)(6072148)(201708071742011); SRVR:BN6PR07MB3458; BCL:0; PCL:0; RULEID:(100000803101)(100110400095); SRVR:BN6PR07MB3458; X-Forefront-PRVS: 0518EEFB48 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(346002)(366004)(376002)(189003)(199004)(76176011)(51416003)(105586002)(48376002)(59450400001)(5660300001)(52116002)(6506006)(3846002)(2906002)(50466002)(106356001)(97736004)(66066001)(316002)(25786009)(305945005)(2950100002)(8656006)(478600001)(4326008)(16586007)(16526018)(42882006)(81166006)(6636002)(8676002)(81156014)(72206003)(8936002)(15650500001)(33646002)(107886003)(36756003)(68736007)(69596002)(6486002)(6666003)(50226002)(53936002)(47776003)(6116002)(53416004)(5009440100003)(1076002)(6512007)(7736002)(42262002); DIR:OUT; SFP:1101; SCL:1; SRVR:BN6PR07MB3458; H:Pavan-LT.caveonetworks.com; 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; BN6PR07MB3458; 23:LdQ/cytTudxpApcwrSdrZXAF8DJHnTNIU8ppL/+u3?= =?us-ascii?Q?xUtjaKIOOF1yoKW8aQzKHTctPl+vZwxPNevPwkjx7h06PMucNOrZg0SVDpMm?= =?us-ascii?Q?sW7EyZ7I4kA16wfdRfD8rPCH+sHrytbdTZNc0cnoy1x4/1faivKw9HicVcx6?= =?us-ascii?Q?Yz/DMh6G/xoYpL+2Wa7S/x0xEMCHv4kPN6v6/otAYATilvyT8hLeP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TPlXingGofwHDw21Q894hep1UR3/72oSUytJUwkts0GBiHUYbCLQtqiYpyk5WO25hQuqbcBIcLHlo25uWdFwamf SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Dec 2017 11:13:27.7076 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: f720614c-9216-4b1e-3be3-08d5408835e3 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 711e4ccf-2e9b-4bcf-a551-4094005b6194 X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN6PR07MB3458 Subject: [dpdk-dev] [PATCH v2 8/8] doc: update app eventdev options 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: Mon, 11 Dec 2017 11:13:33 -0000 Update documentation about new --prod_type_ethdev option in app/eventdev. Signed-off-by: Pavan Nikhilesh Acked-by: John McNamara Acked-by: Jerin Jacob --- doc/guides/tools/testeventdev.rst | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/doc/guides/tools/testeventdev.rst b/doc/guides/tools/testeventdev.rst index 5aa2237b5..11e608b74 100644 --- a/doc/guides/tools/testeventdev.rst +++ b/doc/guides/tools/testeventdev.rst @@ -146,6 +146,9 @@ The following are the application command-line options: Enable queue priority. +* ``--prod_type_ethdev`` + + Use ethernet device as producer. Eventdev Tests -------------- @@ -348,6 +351,10 @@ the timestamp in the event on the first stage and then on termination, it updates the number of cycles to forward a packet. The application uses this value to compute the average latency to a forward packet. +When ``--prod_type_ethdev`` command line option is selected, the application +uses the probed ethernet devices as producers by configuring them as Rx +adapters instead of using synthetic producers. + Application options ^^^^^^^^^^^^^^^^^^^ @@ -366,6 +373,7 @@ Supported application command line options are following:: --worker_deq_depth --fwd_latency --queue_priority + --prod_type_ethdev Example ^^^^^^^ @@ -377,6 +385,12 @@ Example command to run perf queue test: sudo build/app/dpdk-test-eventdev -c 0xf -s 0x1 --vdev=event_sw0 -- \ --test=perf_queue --plcores=2 --wlcore=3 --stlist=p --nb_pkts=0 +Example command to run perf queue test with ethernet ports: + +.. code-block:: console + + sudo build/app/dpdk-test-eventdev --vdev=event_sw0 -- \ + --test=perf_queue --plcores=2 --wlcore=3 --stlist=p --prod_type_ethdev PERF_ATQ Test ~~~~~~~~~~~~~~~ @@ -443,6 +457,7 @@ Supported application command line options are following:: --nb_pkts --worker_deq_depth --fwd_latency + --prod_type_ethdev Example ^^^^^^^ -- 2.14.1