From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM01-BY2-obe.outbound.protection.outlook.com (mail-by2nam01on0069.outbound.protection.outlook.com [104.47.34.69]) by dpdk.org (Postfix) with ESMTP id 27616199A9 for ; Wed, 18 Oct 2017 14:40:33 +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=dQCV3F9CIl67QDayDIpOVpxYA3jk6ESMjLRSNVnE6pw=; b=J4+o/DTjLFYy/sAGmJ+HnT4oHKCoEcAyHHpmQN4nzgK1w1VRKYlu0azd4Ra8b5al7hQg3BfM+u/H8nEa6aMq+ZGgRJvvtppvFD8AhFI/Cui2nj7GMs0sho8vFtfxSmuqoHQyKAtXFDUEbyJ+okV+GLMsN4qevc0FY7osT+VBKBI= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Pavan.Bhagavatula@cavium.com; Received: from PBHAGAVATULA-LT.caveonetworks.com (111.93.218.67) by DM5PR07MB3467.namprd07.prod.outlook.com (10.164.153.22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.77.7; Wed, 18 Oct 2017 12:40:28 +0000 From: Pavan Nikhilesh To: 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, jerin.jacob@caviumnetworks.com Cc: dev@dpdk.org, Pavan Nikhilesh Date: Wed, 18 Oct 2017 18:09:08 +0530 Message-Id: <1508330348-30060-9-git-send-email-pbhagavatula@caviumnetworks.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1508330348-30060-1-git-send-email-pbhagavatula@caviumnetworks.com> References: <1508330348-30060-1-git-send-email-pbhagavatula@caviumnetworks.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [111.93.218.67] X-ClientProxiedBy: BMXPR01CA0040.INDPRD01.PROD.OUTLOOK.COM (10.174.214.26) To DM5PR07MB3467.namprd07.prod.outlook.com (10.164.153.22) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 581d8b1d-ff6a-41ad-bf46-08d516256bad X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(2017030254152)(2017052603199)(201703131423075)(201703031133081)(201702281549075); SRVR:DM5PR07MB3467; X-Microsoft-Exchange-Diagnostics: 1; DM5PR07MB3467; 3:NC2LKeKsZZUcEwhBwM+n59NOI6JjArH8hAo6sv00qFBVtIhCV2CuGDD3HLryZXzYpGGLaQsZHFZRROGAXpnX7h5pYj43kkItkMaYI/6sLN2+PHK7Zounp+rvnsUCqfNpROozPwzZGBXh0z+l7NwHaS4y/cRh0e7aAF4Wf8uUwwORP6oqvvb2bJAWRZR3/PJ9SRbCRf1whjsM2/lGuHtJ4+k9AuZjxDPzVC+UZEekvVikB0tuUoY2CdV/hOPLSLSH; 25:retuGdZhmOwpuvtRKn5xNvHveLVA8t1iJSWU0gGLcFcZlIKzaZqR5UvibvxV2HzUEyOR2NkYiNr5PM5f3mBCv+gbuL6X6f3MnI9uEijNXdjslVH+HVUYzobOG8cNBxmTZ4BG7GXRKGbYgkOBNUh00Dtft87Bg8YutvC3hVbon/LmuWpg5BVr8Hd7WPRciJKjz1d0vkCfqzIdX/YSlxFJmHhpAv0+9ceEuJpqZMMBHehbSwoUUpMa3B1e/s0WNfuAZWeChiodo7sHhU7+1fS8cPupOMncFmS2jZCN8RKpbbYyFNbrYhzUEy2qzJdRjXs/CsS/htFetyIfemr25r//yg==; 31:N+BG4tFYl9lRYW868Uncy0cIDrbfnZW3v4ooU68gesKVR1f3gSQyxnnzu6AacycRJmF4rPrlTNbNYNQWdW6cRAu6zHdSMY2SnNZMaD9QCFsLQMsSl34rjSEFUfKnW1L7W7mFEduyBkizvuzxh6Aq/UffQEdDhkKEP7r/2gMPis5LMVxM7xz8UJULdXyjKe2TXupCfcqhI/LSJU23ARVm6BHvRoymrTZnpvb5eshsQdM= X-MS-TrafficTypeDiagnostic: DM5PR07MB3467: X-Microsoft-Exchange-Diagnostics: 1; DM5PR07MB3467; 20:eUerplXcvVUdTwBE8IFDu0gPdS8nI00WC06OkwerQGngoHnV8vAqS270h5y+VYLcpAk3SzLGml9tJV3yP3OpY1rvMmZ6QOOQlSrQ79TcFXXkVJL2LBcBUh8J2PQw71gKbzvQPeIJiBdLOH6XFwd6N8VJBQg0PGCY8tSG3A3iJjvpF63L2KX9vJmA7ZmlXUHzydgpJzHQhvpbycu0wkJud+/XDrh29LmftjdzvCrt2puVPvB6TLPSzJ28jnxMErmiNNPNLhxPJTw03zHprzCStpJ0ngyjT7SFmiKlTz5OtPF6tEKM/ejny2oXnv8iN34YPR42NhzQoSp/wuqQyAHj6eGaqbQxxS0nQaT6J8Yk2u+XMdUSIVp27pratdxQ30DWamRPha114gp4BLHjqAEzaWkPh48IM10bCuJp0qopMOvn62TWYIZQZORaPa3QzADmJBQN2WSucixg3A3/F3+yhmB5Rcr3Y8lBg3rA62nmouaRZxzHWSB8Grylm7BEMnKOHYsLTePOxCxIM+Li2Uo4EpvCDJkYugGU8Y8L0Lh1G2FEU13ZMJdXy+2K73IIMcO0s3IZ++g8QuuLrXG0CcZCLFRD3AjAFNtgjwVJ6YEz91s=; 4:VE3IhrWO3HejtZBUtTaYkiNsK1zVScCp5LiVuiuidiDS19w7fOzpB0dqSxGWX7VrEF9h7+Mq8i3idX8iTW8wAlRodWIxc4w+3MxF7DzpdQh6ZERT0mirUtFhCAH6Yii4qvSQR9+1UJX/cubwLI5nGJgxeXkw9LoW9P8ELVHxuY23YQlG74zTMJYFDaRjRpDH76/3l+D+9FM4LxKRObNMktjGjAA+bkFfYrq/zHamC/AcYVBx3Dv9MwblnANTOYqF X-Exchange-Antispam-Report-Test: UriScan:; X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(2401047)(5005006)(8121501046)(93006095)(100000703101)(100105400095)(10201501046)(3002001)(6041248)(20161123558100)(20161123562025)(20161123564025)(20161123555025)(20161123560025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(6072148)(201708071742011)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:DM5PR07MB3467; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:DM5PR07MB3467; X-Forefront-PRVS: 0464DBBBC4 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(6009001)(346002)(376002)(199003)(189002)(36756003)(316002)(72206003)(478600001)(48376002)(16586007)(106356001)(25786009)(53936002)(107886003)(6666003)(50226002)(8656005)(6636002)(105586002)(2950100002)(42882006)(8656005)(50466002)(5003940100001)(6512007)(6506006)(101416001)(189998001)(6116002)(33646002)(4326008)(5660300001)(2906002)(81166006)(7736002)(5009440100003)(6486002)(3846002)(97736004)(305945005)(53416004)(81156014)(66066001)(76176999)(8676002)(8936002)(16526018)(68736007)(50986999)(47776003)(15650500001)(69596002)(42262002); DIR:OUT; SFP:1101; SCL:1; SRVR:DM5PR07MB3467; H:PBHAGAVATULA-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; DM5PR07MB3467; 23:yN0fSfTA9y9d24PK3zjAwmBoGKZKlvV2sHMzDVO18?= =?us-ascii?Q?ubUl1r89bq8EVwn0URGBzH0dpsBxR56GhMv1pZhgPZ0gp2PhyIEa/Nj/CGjy?= =?us-ascii?Q?qDqRhzG8Q7dpWrr6QiS1awCkoNgUxyNYshjjQAgHAGut8CcRi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nv7VeoVL4io9YM3v9d7CyjEruoN7Y5eIZGsSsLpvtSKw2af0QZILJlt9Sj3cO775ZUSnPbaG6J3D1vg5QZcU+u1RVpYD4oy35Y+FCqdS9CXE0v61/4k4ewWJSQj/zFdDNw= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 18 Oct 2017 12:40:28.7067 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 711e4ccf-2e9b-4bcf-a551-4094005b6194 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR07MB3467 Subject: [dpdk-dev] [PATCH 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: Wed, 18 Oct 2017 12:40:34 -0000 Update documentation about new --prod_type_ethdev option in app/eventdev. Signed-off-by: Pavan Nikhilesh --- 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 34b1c31..44b71bc 100644 --- a/doc/guides/tools/testeventdev.rst +++ b/doc/guides/tools/testeventdev.rst @@ -150,6 +150,9 @@ The following are the application command-line options: Enable queue priority. +* ``--prod_type_ethdev`` + + Use ethernet device as producer. Eventdev Tests -------------- @@ -352,6 +355,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 ^^^^^^^^^^^^^^^^^^^ @@ -371,6 +378,7 @@ Supported application command line options are following:: --worker_deq_depth --fwd_latency --queue_priority + --prod_type_ethdev Example ^^^^^^^ @@ -382,6 +390,12 @@ Example command to run perf queue test: sudo build/app/dpdk-test-eventdev --vdev=event_sw0 -- \ --test=perf_queue --slcore=1 --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 ~~~~~~~~~~~~~~~ @@ -449,6 +463,7 @@ Supported application command line options are following:: --nb_pkts --worker_deq_depth --fwd_latency + --prod_type_ethdev Example ^^^^^^^ -- 2.7.4