From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM02-CY1-obe.outbound.protection.outlook.com (mail-cys01nam02on0068.outbound.protection.outlook.com [104.47.37.68]) by dpdk.org (Postfix) with ESMTP id A12DA1CB38 for ; Thu, 5 Apr 2018 13:54:06 +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=+PW73WqW5/YMlF6RoN7Yh0iveNJ7Km3QUhioYITCmC0=; b=WyCkTEJQTD9op15veOWtrscE6aYaEzxr70DHAoQz9fAKBuj/XcQAEWdNNhzc0qiyFksChzqu3Px4ppsi010lCnuRNYV6Md1Y2wBlQKJ41E0pK8h03Pw8dke2HJP3C+H14YPBUBhpS/YrN3PX4UMkMsHlxfSmsXad+jb6RLycRbs= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Pavan.Bhagavatula@cavium.com; Received: from ltp-pvn.caveonetworks.com (111.93.218.67) by BN6PR07MB3458.namprd07.prod.outlook.com (2603:10b6:405:64::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.653.12; Thu, 5 Apr 2018 11:54:03 +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: Thu, 5 Apr 2018 17:23:29 +0530 Message-Id: <20180405115329.22372-4-pbhagavatula@caviumnetworks.com> X-Mailer: git-send-email 2.16.3 In-Reply-To: <20180405115329.22372-1-pbhagavatula@caviumnetworks.com> References: <20180318131216.11699-1-pbhagavatula@caviumnetworks.com> <20180405115329.22372-1-pbhagavatula@caviumnetworks.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [111.93.218.67] X-ClientProxiedBy: PN1PR0101CA0053.INDPRD01.PROD.OUTLOOK.COM (2603:1096:c00:d::15) To BN6PR07MB3458.namprd07.prod.outlook.com (2603:10b6:405:64::21) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 9c0a4f47-5c6b-4f16-0dc6-08d59aebee70 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(5600026)(4604075)(2017052603328)(7153060)(7193020); SRVR:BN6PR07MB3458; X-Microsoft-Exchange-Diagnostics: 1; BN6PR07MB3458; 3:F/e4iwsVEICfku1MhR9Mb1m9fKgzPxDOBqpXYPnE3KRSM5dyes5cH9FXeDY2nb2JezM3iukDhbRfL69heW6HZ9q51iPnuwam+X2Hqi79DFb1Np1n8MZ/caXZ+5R08//Yfxa85j+aO5UxQFhF37/2m+DndJlwAzM11lnRagPOpjKPebUwCSIsuvoZzbxz8+AXsxixIFNflltqjYJ6bP0zDGL6qQdxuo/is3MozzuLdPufnR+7fZuNpKAXryonufoZ; 25:oZAFDqnQre6L4uLj9t0IdvF0IWTfM/dRsW4M934v0QGmzE6bTru2uuPpT8bvRdj/h7dIrIYoPt4/htWVdLJdPvt2N+1eGybBs9DgKMoTfu2KeYrmi9IUgewK3C/KqX8Kq1ylU9ddaFwOe8/skCw8gmhsm4vzoO8rg7v0abgzW4BHM66ZUlEzXsDXrVhkEp9RU5T7+347A0gDN6R7IPIFQuaMo9o3ivvwcZXpYczaYtNoPgi/fkR6fAAP0ltCay4ZhKBuUPpwkCkEMdQHC09UXh8IbRb1PoYzItolnIUcvAV0S0qsEpz7rN/Ip0pcJNL3qruHdLf8fn7WHcv5d7m/Ig==; 31:/Y/FGaBHg9W0U3Vp5imDVHTs4y6lI9//oGhMogCoeyVQNd9wf8R3kZiTgLhnTJJgoMGWVLVk8ANyuGDZmketC1XaGjRLlvLNc8MLTxEHTBeTLQRJHvpCEy0mJot6VrUFlklV8kOmvEJS+N2lHgeepUlp8XgZW/e4SvcKnC0JfKrO4KqtuwuAoW2wR6j2RWf7qCNLJCFTOBldFvdJV+vfRJMcHnLCwEHQv0ypBbD7CdI= X-MS-TrafficTypeDiagnostic: BN6PR07MB3458: X-Microsoft-Exchange-Diagnostics: 1; BN6PR07MB3458; 20:NORRmV45ZBI9y6qnnbx+2oee3+Bv2lfCjgMgJoQTHAIN8EJCvhHZC8PedB2YDtANKF9SULBsCPnTJJ8pTXkfIO1Coc+YXbMDfAtzMTkPVzZQ2H+W3Op9/7Vx8gCHiCK+OF4oTNI/OBvzhogDLl6xsROGhfMvIc6rs/xQaOvAtle4mhA9OsKBT4H9O5WFFCfwgqkD7MOtNPIMdAn/NJKa1Ta07n/QMjiJ2H7Xp6R3XNHtAcqsw8dkS6Copmhr5cp/6NTO8BYVY64sVRqpefehh69kH6CQIxSjbXHrOaKSoqKXuRLVGeAB3xg3NslRVUdKMSE04T0d7WjDjVhosYTXlZDcb1RfvKqs8AaakvVUYD6V9QQD/zJfPtcRc/9Pn+CwLkMPAkRHUjpZY/KGCCo3LaEqOF//AcSz/3gM60qG7ny5boyZ9bZ+Ibigi2W5uxZ74hB+N/6UBy3gIRcYKXc97e5jmU0t9Kty8Hv2w+H4FePiy9KhLUePHoY1YciNRQoDiXPnGcRAjUiTeyp1UBYbUx6w2KtUwEtC1bZ3yzMsLho3NqHugIebJOVfgf1zadrIElEsGLnz302pyfFm9m/qxnev3wncMqH1fk7ANUIeNwo=; 4:BqE++bO8xytNPotNozICYG/Fa/Ea/t/Ustge5GGHyUXh169KAaN+Pl50dpgb3IfLm0Xi7tCxKtRJMKp6vH/kQy/Q7pjx1HYU+QBSZXnVlRj28JWIbKIM97efoUf60L0h5oAq8hacuhIlF+UDDFdKoJta0Q1BFr/dB29Bi7NibIgIe8Nma85VtYx6flGIRFEiADe0yXA7L5ssml5DH4HJh2NkPIZ+y7XBZXDvbjcx3LEJmJ3I9UK/llYDsIXlNpSDZ4IzluajUE/3E90P1M6cnw== X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(5005006)(8121501046)(93006095)(10201501046)(3002001)(3231221)(944501327)(52105095)(6041310)(20161123564045)(20161123558120)(20161123560045)(20161123562045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(6072148)(201708071742011); SRVR:BN6PR07MB3458; BCL:0; PCL:0; RULEID:; SRVR:BN6PR07MB3458; X-Forefront-PRVS: 06339BAE63 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(346002)(366004)(39380400002)(376002)(396003)(39860400002)(189003)(199004)(956004)(72206003)(42882007)(476003)(53936002)(2616005)(50226002)(2906002)(486006)(15650500001)(68736007)(4326008)(52116002)(6486002)(76176011)(107886003)(11346002)(25786009)(6512007)(51416003)(6506007)(81166006)(81156014)(446003)(69596002)(8676002)(386003)(8936002)(59450400001)(316002)(3846002)(16586007)(1857600001)(7736002)(106356001)(1076002)(26005)(6116002)(97736004)(50466002)(48376002)(36756003)(5660300001)(66066001)(6666003)(105586002)(53416004)(47776003)(5009440100003)(305945005)(478600001)(16526019)(42262002); DIR:OUT; SFP:1101; SCL:1; SRVR:BN6PR07MB3458; 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; BN6PR07MB3458; 23:zmaCnv5zldtKwyTtqqaDIarP26YkBkMHYTK1okq8E?= =?us-ascii?Q?1qjwQfW75Q1MLqbNfjEzDNckf0yvIsE+PK0Hcb8MhlPVrGCqLuAhlUcKhHaG?= =?us-ascii?Q?mtpHmXhOhwByP2wKLdybhNz0N0atr8jL37pgxtDK+2IG8fZRWz9mL/ah0dVV?= =?us-ascii?Q?u/vcG/mFM8dKKM6YDxVh+/nijtSggHyA7Rsn2XRKQdgfjcsW9Xh/pZmPbMvd?= =?us-ascii?Q?e/98c460i6cBBW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P0k3uvrIZBj8RZBe8XM3PEPucc2QNNhdsJ3r6Gb+Lk/sERgVLzaEbcwyMWOEzD9S6wLVvt14Iy0lNbFqenfIsyWh/n/jg633tmN7fwNewflCFb+F3UIY3ATwJd4NsT9h5y72VQDT2vyFY1l5xV5g7aCic8q1/6fiaH3jc=; 24:RgtM5iBHXdk1XdZhEiNCfHmMLlotUjIbQHY/qGCJqRvEsc5jVHmZ4XonkfLTEe1IrBkbQpT+GqCueykAm0ZJM2IM8LT5YiiYGVXJEXs72Bk= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; BN6PR07MB3458; 7:Ay6vnavSYhtJ1zTm7VATs5uA1htbr7GdpAxRf9WkySy9By6CiY331zwsMjuHkIkbbNBh0BPHxC7bsxfAzNpYT5ll1SksOcwR3UNbvSUTuZZKz4auQc+0q18azIQr5SRQBPU9sFBbnrbmd0IPpVbWuV/hTnrrxFK1lG1VjTbg7NOTzUcT+LYBPcQzLpvCa/PJz+8UUEVL8Hl0HnJnEuXyun7Za+ok8qXsEwFLFraqP5vP46u7E07rwmLa7va9RmUn X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 05 Apr 2018 11:54:03.5245 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 9c0a4f47-5c6b-4f16-0dc6-08d59aebee70 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 v3 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: Thu, 05 Apr 2018 11:54:07 -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..eb3bc3ae5 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 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 + --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