From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM03-DM3-obe.outbound.protection.outlook.com (mail-dm3nam03on0053.outbound.protection.outlook.com [104.47.41.53]) by dpdk.org (Postfix) with ESMTP id 455DC1B351 for ; Tue, 16 Jan 2018 18:48:51 +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=4VUXG/4AE56Sq8BnLCt6tCC7e0eN8ZjIFR/5GRT32K8=; b=fJP5whhAUu1Pl29j1FJC30XDXFv5dhZ1oD8vpjf3MbnwQVLmYetEpIbrl9dZY1hmTPSr1BnlVq0uqaBp6GTcujlI1jPUs0LPIMCMolKjU+0LEfntfIY9Xf95szPIx3jc6/R2zpo9rzJffzQvcY4yXx1RsKvSgh0m1DNOZiwGXd0= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Pavan.Bhagavatula@cavium.com; Received: from localhost.localdomain (111.93.218.67) by CY4PR07MB3464.namprd07.prod.outlook.com (10.171.252.145) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.407.7; Tue, 16 Jan 2018 17:48:42 +0000 From: Pavan Nikhilesh To: jerin.jacob@caviumnetworks.com, santosh.shukla@caviumnetworks.com, harry.van.haaren@intel.com, gage.eads@intel.com, hemant.agrawal@nxp.com, nipun.gupta@nxp.com, liang.j.ma@intel.com Cc: dev@dpdk.org, Pavan Nikhilesh Date: Tue, 16 Jan 2018 23:16:06 +0530 Message-Id: <20180116174607.10821-14-pbhagavatula@caviumnetworks.com> X-Mailer: git-send-email 2.14.1 In-Reply-To: <20180116174607.10821-1-pbhagavatula@caviumnetworks.com> References: <20171130072406.15605-1-pbhagavatula@caviumnetworks.com> <20180116174607.10821-1-pbhagavatula@caviumnetworks.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Originating-IP: [111.93.218.67] X-ClientProxiedBy: HK2PR02CA0158.apcprd02.prod.outlook.com (10.171.30.18) To CY4PR07MB3464.namprd07.prod.outlook.com (10.171.252.145) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: acd8bc4b-3101-477c-0e31-08d55d096479 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(5600026)(4604075)(2017052603307)(7153060)(7193020); SRVR:CY4PR07MB3464; X-Microsoft-Exchange-Diagnostics: 1; CY4PR07MB3464; 3:H4mqClI6KWIZNg+634+6PNm3duo5XvJq0oPMPrx0rZuTKoAg1x6mg216XRrXgATFwMxDgAMVb0O3heTjcCzuPIugdcwi6lQnBQSgzoPB/HupZLAX4IBjs4PNTo/lkmtxisu1HmsbKseggE+m8avSPmjjA6/iOKN4qKv705mFFtCKcT41/y+Xri6mBnA7LGDmoM6d6nLv/8T8dlh6uE9Mz087AXKixSzSfvEwsFKuhRb3sH2RKTL3F+sjTeReSX5A; 25:rkxJc5OKL/sUIZ9WJdQlVtGmmLm4HVGKmGB/VhyY+b2KqszT1D3/qffsqpKAcma6hAsiG49SOicfF6cfSBX6anUQ3kJksFfo5sdnszCll5FC1lschmD8T3/n5vtki5GTDsz2kld8aOXA0fWLPzPsXpg5Y/sPojgW4ZatpmOJIq20jUFHYDr9Fi7jpM8x+aSdMkAiJxcqItjXCqMl/PxrZG72xCyVsG0B/vNwBSl4wNk6nsie9P+czerUDVPOoCmFUVCUHE8vY8pMZcqpm1Ows4fFLQhogeWZ6uXvJQce0USddhvtIitS1oo4omFyw9edu98p1ia7XNgJtxyJGPsL5g==; 31:svB/TWLc6EIYSG5m9rX5IbTARQAgVTbjrboOTZ26FU8ohdtUXc2VkLJeD4ImI+U5c5qVR1o1/StE94B9nJQ8IXWg/lK6tjtA19WyO8dSZy1jS2NLbk5xRObyczjxEXV1Bj53bxOspB5xcV5LkgzCWDoGsQjPSnzIFxZsmdcGDrTx9tZajougB8kBLlho4HxPt53LRGf/HGNZxmDyGzoq/eRjBbuNOSTFtfQ/dnnzjI0= X-MS-TrafficTypeDiagnostic: CY4PR07MB3464: X-Microsoft-Exchange-Diagnostics: 1; CY4PR07MB3464; 20:10UDHyzSWjmSy2cOqPYt3KZEHXfGid8L3aB4NiDQy8IKFo7veMcmBPXbdwyu8mGSAAqPOYwDr8DBuQqJctBxYNbXgwxQsd0MZoPGOYscvn0dmPdL2pV2vsvIl4dNy7Md2HyMTfv94HUemswDuKcipj7C8UIgd2Xs6Ad3xXIdroia+qIdRfmyB5kqSQTl3qlrXcE+QU0Z07f4koz7Znn48pnYngGSr60CN2ljJ+WKq+I1Wk1hlF3BV59yq7bmiNDYxACClXGRUjbUvjMpa25OphXiR5qOW+MM7bKdNxOMtGPIbYBCfWLtvn+U/MY4Q5cLUxSxwqN5iB/DOJrNFlnygNkARkDKgVn7p2AVjfXKc8Mkr3hajh+5//8PjnSHRO865VHh7bM8fD6e4K8OjNZMGNzjiVVs4OCi2OAXPCWVz7G1uacuZHOlOmG8FTr8VDaK6ghdXeiEkbpt74ZBgdyvlCjfPmXY5ViOkHMaBeP6QgYp6uhF2iAFqhihn9IWTxY2p1MTiCThhWgnNyp46BIlSQjv6w1d4XBnIihgr1DL9jDgaftE6OkIgCo+iYnHuUJELL2Z5oEBJgfeYftM/xLeCJLeNkjptYIVvVypbQb/KGo= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(145185744447497)(159090696235961)(131327999870524)(42262312472803); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040470)(2401047)(5005006)(8121501046)(3231023)(944501161)(93006095)(3002001)(10201501046)(6041268)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123564045)(20161123560045)(20161123562045)(20161123558120)(6072148)(201708071742011); SRVR:CY4PR07MB3464; BCL:0; PCL:0; RULEID:(100000803101)(100110400095); SRVR:CY4PR07MB3464; X-Microsoft-Exchange-Diagnostics: 1; CY4PR07MB3464; 4:spsrXgMNSl239wq3gHVK5MvSD7C1fJVUCy4G4cqYL08REPG6LOiqOfeEliWdL2O5w5A43TgOgB9f8kLvIukrb7vyaX0fBd+fTyZhK1ZgUePTXESK5RYyvhtgtMJESS3yaj7+8F0d2rJv6beXDp6TqCYkfM1gGIkef2X3tp63jvQot0umrqpLRLPv4kPzrQLO1TgK3r1rAQJiL5wHgAe0qKTbSHzLeVMBHZHjqJ1A8/eZFpIgW6RTQyjaKz9k0dc8qN1FwdrZpETNrz9bAecvKbG0NJ5cfYv7e4bwJnQOgFImZhtiiHmhlha0jScG0DlwPdljijEB/qZ6BAEiyRmkOhFN+jibjsBzWvQgU7j16cmN+FRqO24Q1SHuQn3FyIu0NhmvbyYPKaBnsqvV75Huhpl6kMoRSSKAJ1PeG6FCPAs= X-Forefront-PRVS: 0554B1F54F X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(6069001)(346002)(366004)(39860400002)(376002)(39380400002)(396003)(377424004)(189003)(199004)(81166006)(97736004)(8676002)(6116002)(5009440100003)(52116002)(305945005)(8936002)(107886003)(1076002)(53376002)(81156014)(25786009)(8656006)(4326008)(19273905006)(50466002)(6486002)(5660300001)(3846002)(7736002)(50226002)(16526018)(68736007)(23676004)(106356001)(26005)(76176011)(2870700001)(6306002)(53936002)(6512007)(59450400001)(47776003)(386003)(6506007)(53946003)(16200700003)(66066001)(72206003)(2950100002)(36756003)(2906002)(105586002)(478600001)(316002)(6666003)(42882006)(42262002)(562404015)(569006); DIR:OUT; SFP:1101; SCL:1; SRVR:CY4PR07MB3464; H:localhost.localdomain; 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: =?utf-8?B?MTtDWTRQUjA3TUIzNDY0OzIzOm54WVhjSFVnQSsrN1V2RlhYNjRFOGF2VkI0?= =?utf-8?B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-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 16 Jan 2018 17:48:42.7818 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: acd8bc4b-3101-477c-0e31-08d55d096479 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 711e4ccf-2e9b-4bcf-a551-4094005b6194 X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY4PR07MB3464 Subject: [dpdk-dev] [PATCH v7 14/15] doc: add pipeline atq test in eventdev test guide 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: Tue, 16 Jan 2018 17:48:52 -0000 Signed-off-by: Pavan Nikhilesh --- .../img/eventdev_pipeline_atq_test_generic.svg | 3263 +++++++++++++++++++ .../img/eventdev_pipeline_atq_test_lockfree.svg | 3344 ++++++++++++++++++++ doc/guides/tools/testeventdev.rst | 85 + 3 files changed, 6692 insertions(+) create mode 100644 doc/guides/tools/img/eventdev_pipeline_atq_test_generic.svg create mode 100644 doc/guides/tools/img/eventdev_pipeline_atq_test_lockfree.svg diff --git a/doc/guides/tools/img/eventdev_pipeline_atq_test_generic.svg b/doc/guides/tools/img/eventdev_pipeline_atq_test_generic.svg new file mode 100644 index 000000000..e33367989 --- /dev/null +++ b/doc/guides/tools/img/eventdev_pipeline_atq_test_generic.svg @@ -0,0 +1,3263 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + +   + + + + worker 0 + worker 1 + worker n + port 0 + port 1 + port n + + producer 0 + + q0 + + port n+2 + + test: pipeline_atq + + producer 1 + qs + + port n+3 + + + producer m-1 + q2s + + port n+m + + + + + total queues = number of ethernet dev + 1 + All workers are linked to all stage queues + eth port 1 Rxq 0 + eth port q Rxq 0 + eth port 0 Rxq 0 + + + + eth port 1 Txq 0 + + + + eth port 0 Txq 0 + + + + eth port q Txq 0 + + Event ethRx adptr 0 + Event ethRx adptr 1 + Event ethRx adptr q + + + Tx Serviceport n + 1 + + + + + + + + + + + Single Link Q + + + + (Tx Generic) + + diff --git a/doc/guides/tools/img/eventdev_pipeline_atq_test_lockfree.svg b/doc/guides/tools/img/eventdev_pipeline_atq_test_lockfree.svg new file mode 100644 index 000000000..d7f10de3e --- /dev/null +++ b/doc/guides/tools/img/eventdev_pipeline_atq_test_lockfree.svg @@ -0,0 +1,3344 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + +   + + + + worker 0 + worker 1 + worker n + port 0 + port 1 + port n + + producer 0 + + q0 + + port n+1 + + test: pipeline_atq + + producer 1 + qs + + port n+2 + + + producer m-1 + q2s + + port n+m + + + + + total queues = number of ethernet dev + All workers are linked to all queues + eth port 1 Rxq 0 + eth port q Rxq 0 + eth port 0 Rxq 0 + + + + eth port 1 Txq 0 + + + + eth port 0 Txq 0 + + + + eth port q Txq 0 + + Event ethRx adptr 0 + Event ethRx adptr 1 + Event ethRx adptr q + + + + + + + + + + + + + + (Tx Lock free) + + diff --git a/doc/guides/tools/testeventdev.rst b/doc/guides/tools/testeventdev.rst index 33fe5e730..77480ffe9 100644 --- a/doc/guides/tools/testeventdev.rst +++ b/doc/guides/tools/testeventdev.rst @@ -547,3 +547,88 @@ Example command to run pipeline queue test: sudo build/app/dpdk-test-eventdev -c 0xf -s 0x8 --vdev=event_sw0 -- \ --test=pipeline_queue --wlcore=1 --prod_type_ethdev --stlist=a + + +PIPELINE_ATQ Test +~~~~~~~~~~~~~~~~~~~ + +This is a pipeline test case that aims at testing the following with +``all types queue`` eventdev scheme. + +#. Measure the end-to-end performance of an event dev with a ethernet dev. +#. Maintain packet ordering from Rx to Tx. + +.. _table_eventdev_pipeline_atq_test: + +.. table:: Pipeline atq test eventdev configuration. + + +---+--------------+----------------+-----------------------------------------+ + | # | Items | Value | Comments | + | | | | | + +===+==============+================+=========================================+ + | 1 | nb_queues | nb_producers + | Queues will be configured based on the | + | | | x | user requested sched type list(--stlist)| + | | | | where x = 1 in generic pipeline and 0 | + | | | | in lockfree pipeline | + +---+--------------+----------------+-----------------------------------------+ + | 2 | nb_producers | >= 1 | Producers will be configured based on | + | | | | the number of detected ethernet devices.| + | | | | Each ethdev will be configured as an Rx | + | | | | adapter. | + +---+--------------+----------------+-----------------------------------------+ + | 3 | nb_workers | >= 1 | Selected through --wlcores command line | + | | | | argument | + +---+--------------+----------------+-----------------------------------------+ + | 4 | nb_ports | nb_workers + | Workers use port 0 to port n. | + | | | nb_producers | Producers use port n+1 to port n+m, | + | | | | depending on the Rx adapter capability. | + +---+--------------+----------------+-----------------------------------------+ + +.. _figure_eventdev_pipeline_atq_test_generic: + +.. figure:: img/eventdev_pipeline_atq_test_generic.* + +.. _figure_eventdev_pipeline_atq_test_lockfree: + +.. figure:: img/eventdev_pipeline_atq_test_lockfree.* + + pipeline atq test operation. + +The pipeline atq test configures the eventdev with Q queues and P ports, +where Q and P is a function of the number of workers, the number of producers +and number of stages as mentioned in :numref:`table_eventdev_pipeline_atq_test`. + +The atq queue test functions as same as ``pipeline_queue`` test. The difference +is, It uses, ``all type queue scheme`` instead of separate queues for each +stage and thus reduces the number of queues required to realize the use case. + + +Application options +^^^^^^^^^^^^^^^^^^^ + +Supported application command line options are following:: + + --verbose + --dev + --test + --socket_id + --pool_sz + --wlcores + --stlist + --worker_deq_depth + --prod_type_ethdev + + +.. Note:: + + * The ``--prod_type_ethdev`` is mandatory for running this test. + +Example +^^^^^^^ + +Example command to run pipeline queue test: + +.. code-block:: console + + sudo build/app/dpdk-test-eventdev -c 0xf -s 0x8 --vdev=event_sw0 -- \ + --test=pipeline_atq --wlcore=1 --prod_type_ethdev --stlist=a -- 2.14.1