From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM02-SN1-obe.outbound.protection.outlook.com (mail-sn1nam02on0060.outbound.protection.outlook.com [104.47.36.60]) by dpdk.org (Postfix) with ESMTP id DFF221B193 for ; Mon, 11 Dec 2017 16:14:40 +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=czUZyf+OznhmCEjIjUFN05hlP4hB2/Jrvy8ic0/N26it9+eBa+SuoStrlIFSdLTc1va8KDx3448J+IqhqJcH+hPah/9Pzm5LvhUVLOMytQ9myLNi0ACWgmURBGvKBomdhiCJM/HKlRCEinKCGgghscbk5DbnZBP4fMBBIUR/Jmo= Received: from Pavan-LT.caveonetworks.com (111.93.218.67) by CY4PR07MB3463.namprd07.prod.outlook.com (10.171.252.144) 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 15:14:36 +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 20:43:46 +0530 Message-Id: <20171211151346.14405-8-pbhagavatula@caviumnetworks.com> X-Mailer: git-send-email 2.14.1 In-Reply-To: <20171211151346.14405-1-pbhagavatula@caviumnetworks.com> References: <1508330348-30060-1-git-send-email-pbhagavatula@caviumnetworks.com> <20171211151346.14405-1-pbhagavatula@caviumnetworks.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [111.93.218.67] X-ClientProxiedBy: DM5PR13CA0046.namprd13.prod.outlook.com (10.168.240.160) To CY4PR07MB3463.namprd07.prod.outlook.com (10.171.252.144) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 8ae4dc5f-1080-4669-6ab3-08d540a9e5e6 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(5600026)(4604075)(4534020)(4602075)(4627115)(201703031133081)(201702281549075)(2017052603307); SRVR:CY4PR07MB3463; X-Microsoft-Exchange-Diagnostics: 1; CY4PR07MB3463; 3:pQ5oVZ5xdtvCmCfUSm0Ol7YpnYKUNzU0T3axoUPzHyyxarYvLvVD1hS4yrTlbfv4bXRoWXRuqCYZXUA2WEJNqIRnG7j/Cm5VFkG0vqUgZeIabevo24IZ/nBmKtEn/HXCqC2dpztLIZKOLIXuGKhtWR69LZRykRFUAEoipHWR3wtWTm5Et+RJlQMFHYopG6cmFAIw7x3vXnkjCEK3+HnTjdHYxtYYdmvhxhLBYXNVEvy06VKlEcG0a3yaHMRVuXqW; 25:r+JXFngwLiP8rVMoecK8YFk7RyqR4xREWgijbRCj+qoHPkBDX8eW+fgIElzJCSycs7XRpfC1g1kXGZGKHL0rpLl4LvVOqcZtB5N24W+DHwwEFw2VtVzjD43LTSwf7lEO263dDC3Z4ZxVDeYfxThzw1GLePt/eWdKfaiD+w5C1+S+47zffS/pUg/NN1ZbqGY0cUH1GgOwZoOJfd0FvGWNIBfgOjWquTSYDBkEYsD2admbgTBBrBJXjjBXSFsdnPPDfPo1qKyhmSkrCr2/jqSXXiOFWD+rtPM2oPSAhBdcXUQLyHkYzt5500xmyieym2myPUbYi07tVKkMTRfW2ZwwHg==; 31:r6vehNktCAZPr+wMKhU4QQKCX1/yzk8XGdswCmBVQAzOKlsBu/FZ4JucGvd+KTkx65t1qF/AOVxOHUVpCfTX9cAUGwYuowaX0fvwcbeefQqa4FHe+sQ23c4DHSKXLFIfpocgjm29vwvn5CBEGxAPK87z3I+Ud9FGQz4Zia04F43TGmMsOTEKT8hQ3ht0HgZ+5dcKEWmcVKSRVJoj4ejVUizGRjon1tV0FIixXdXIs4U= X-MS-TrafficTypeDiagnostic: CY4PR07MB3463: Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Pavan.Bhagavatula@cavium.com; X-Microsoft-Exchange-Diagnostics: 1; CY4PR07MB3463; 20:Q1CowNY4KvIs0h3Xwc7mUqzFQIDFfON7ac1nKLoQQKirIdAqXb4df0R6BjW8pYsamZwMK+zYobbQ/TLNVPX6+vJaPCVfFT+WHTLe3i/9BfqgSng5tZ8aMjgcrdcMqW7dSUotVEKsUFqri/9+D7fGPakYxwhENdFva4PUZkTZQFKqXHPrYOqZWagsAwrsSI7ilbsFkbTNysThB4CRRpwsPoTDqVqhH/qkqsXLwCBcCxV9nUG8DsRbGTYmCL0C4iiS3oByhR0re0t3FaxM4PNBGjqI7xJKNviXXI0sdv87LZGUA5zhzYwO3oNg9J3YPD+KTsUuqx5LToNMC+RAysAP3r2jad/vpTLvp2gGYqyy5HgDkGS0kWW8K63toh2+KaWKi10BqMwP9dn8N+iuHSXBAtPhEEZOCRci0WEGuAiT72xkRcaoRe0Y9bggK8Jl/W8cHvX69ofdJdjClPQ9NKmyND7KWyUIMk6tIPs4bvS4+4IO7d0892x1OdS6cBKW6vxDT8zdt2g64t9MLZpxC5xK8Ojy1I6HKszAP9Tb4Jd6x3IJ4Etqwgu372sPOihOXIT/mnUGmpt9Vya2KWo5MHdLwdQ+oUUpcZepfWw/Li/SDHQ=; 4:TiUr/6Kpleir2jk6NGivOc57Jvc8ArXmnUAyNJnbouJhsvb8rFfQ5nSvShjxJaO+ncykysvxAB0IlLpcjEo0xW9N/nwzpib+Z0GdMlRoHnWzm9u1oaVnYzxSCmQsdCTreE630WAjCPtJSs78w9DvJdhdoaEimIPwNs9DiefyTKQwaMp1Ag9mmmuy3KNQ7c8I0UFGtVw52XrrJEi1ldO0wTbdVcKnA/x0Lx9oNRj9T11cN19NwQ/XJ1MTHG9hJoTJAdlIz193NYqPUIDJNHzSIodrv6bFbk50gb2o03bplC1aVSzLtZX4s+Wii+kcsKkC 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)(3002001)(10201501046)(3231022)(6041248)(20161123562025)(20161123564025)(20161123560025)(20161123555025)(20161123558100)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(6072148)(201708071742011); SRVR:CY4PR07MB3463; BCL:0; PCL:0; RULEID:(100000803101)(100110400095); SRVR:CY4PR07MB3463; X-Forefront-PRVS: 0518EEFB48 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(366004)(346002)(376002)(199004)(189003)(97736004)(53936002)(53416004)(106356001)(16586007)(105586002)(8676002)(25786009)(1076002)(8936002)(107886003)(15650500001)(81166006)(36756003)(50226002)(69596002)(7736002)(305945005)(66066001)(50466002)(6506006)(4326008)(16526018)(6486002)(81156014)(3846002)(2906002)(2950100002)(5660300001)(42882006)(6636002)(6666003)(6116002)(316002)(68736007)(47776003)(478600001)(72206003)(52116002)(6512007)(8656006)(48376002)(5009440100003)(51416003)(59450400001)(76176011)(42262002); DIR:OUT; SFP:1101; SCL:1; SRVR:CY4PR07MB3463; H:Pavan-LT.caveonetworks.com; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX: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; CY4PR07MB3463; 23:OdJ7+dGi0nBi/eLnVsV857etB0jCBFQHe24f3Qqo6?= =?us-ascii?Q?8Fc8H1Yxg3E9A14bCyU6HTgkvJ30pOz7Q4UtT59ZV/q7OlWyvJE9/ao92VvI?= =?us-ascii?Q?XX5jnMQvw8H1Fd3VKGR/cOMzRqfUjV7k7yU2Xy5UoJ9ke2fIayLj+ByzrBCH?= =?us-ascii?Q?/DeYPFXRBLbdCCDdk3U8LqC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UF2SnZE6t9fugUzE5DyTGCBkBI/uMH7XauC9AWJ8F6GTBaDYoSyNQ4pergUP7Z5qV SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Dec 2017 15:14:36.1183 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 8ae4dc5f-1080-4669-6ab3-08d540a9e5e6 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 711e4ccf-2e9b-4bcf-a551-4094005b6194 X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY4PR07MB3463 Subject: [dpdk-dev] [PATCH v3 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 15:14:41 -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