From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM02-SN1-obe.outbound.protection.outlook.com (mail-sn1nam02hn0200.outbound.protection.outlook.com [104.47.36.200]) by dpdk.org (Postfix) with ESMTP id B7A2C1B308 for ; Tue, 16 Jan 2018 16:41:12 +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=HHI1vl6B7qfDTXx6YTtzCaNYdi7czyM/hQpKuPLddug=; b=mMxdw9X54zKJroxg2KDItGhsnO7h7TrK1vlPLarOVOSsGpEVZaAun4gWSP9cZg6KdhOZ5u/T/+9PQ44wr4piar3jx4CmHkKopbCoX5z3IGoUwA6YZc0JOBj4UUT4/4yxf06Hr/lHPbpHquzBc8ydwI9QZelarcHqsjGtDa3Jgrc= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Pavan.Bhagavatula@cavium.com; Received: from Pavan-LT.caveonetworks.com (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 15:41:08 +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 21:10:00 +0530 Message-Id: <20180116154003.3762-11-pbhagavatula@caviumnetworks.com> X-Mailer: git-send-email 2.14.1 In-Reply-To: <20180116154003.3762-1-pbhagavatula@caviumnetworks.com> References: <20171130072406.15605-1-pbhagavatula@caviumnetworks.com> <20180116154003.3762-1-pbhagavatula@caviumnetworks.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [111.93.218.67] X-ClientProxiedBy: MWHPR02CA0016.namprd02.prod.outlook.com (10.168.209.154) To CY4PR07MB3464.namprd07.prod.outlook.com (10.171.252.145) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 8c2d67de-dfdf-4f72-d1c4-08d55cf79181 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:Sp18Kr10VBCQQIi+iMlR0G++YF7AtYdVchDAwZj8pBwAELkBWULafjLsOUjR0hn24wPEum53xNvWFH+0sw3l3iQZ9XY734PcIc/4iP2wDmjgqZpi0APphBjx1KpS3D/FJXP2xp5hqZv5z7UykMcLkU0VkYqko3B+uskBTMzAOAs9A3VPkhUX1DCiYygVSeXl0HRLcr6DLVPUPSl0dNnixGQC/K2WbZVO+1xtWH8Wm2VqMmcEVyWeQWrDAQo9wc1+; 25:SME3W8i/DbRybeaoTXC20MPMu+n5HAkOyeJjLGFsCSvcfkci+GBNBb6N4SdHP5XSNbcVAAJ2O0JHZYzrM8de4v1aBQyRnolf3p5lvk9+SHSiVYA9WDy9BzOO/pX/r7PKtjuyiGSAfxG3wuk8Jq2iRskUhFDV1s79+ffiZ36S38tw9Lc8Q+cuC6VZ3KiMRL116goUQSx6Izfcg0nAP74KknfgR2Xd7KP5sWw6+9PfqfuIk0wL/qrKT/naCju+qyoZ6Uf723nkymms1HmTc23ZNH17LswtTY4wU15V6KsBr7qmu1EUa8ZqQGBoSdZ8Z+dNe8/4yFIUBwlu4qP7b5NrJA==; 31:AjysN52pXJjSVwuF06V/1IpPLaRtzP1gKT4saoQnlxDigtlie8EbOamr7qYKyYy7VgxGMkC7izU2sJchkSUxOH7BRN/rWQ4mtgzvZGBgqmHLHFI58gBs3poTCaCRu/kYeZe3F4JUxzK9pXyXFBWr0Z74UIauChmOYOw9fzXnPgAZOBRduDU4Jwhash429x8kweJfrBqNfNX84a1tBKvvigBThM8O8PMf1U4CJTcZJcs= X-MS-TrafficTypeDiagnostic: CY4PR07MB3464: X-Microsoft-Exchange-Diagnostics: 1; CY4PR07MB3464; 20:kLl2N4HS3lGYN7kKdKwQ9LyP2nVuoERmFwv228FzVIt431Gim28xcaN1xtpV9z4ClbFihBYHz1hHrOAzYN6zymU/TUu7NezIIByQVg7NzMxbwkokJm5SojzORRmZx6m/DFS82snRzDVVWR8XxHVHj2Ts/KOlhusW3i//bvkRvcwCG8brPu20W9Wv9FzODRu53aZfORcwOOQpqKnS8MBIQE5GWIORzzumWCzv4IeL+WzDPNMT3wWxLdyvvMBhXAp/fCTH+PduU8o5NzBOsL6PfSblmZ6ZoT/DRiKTrooxE++957lZ+3u0eC4mK4mNQurfAtls6M+cPsEn0NLieG9WMCDEH50y7AhlbUr4ry6DvFLfakNfgWCGCLGpRRO/EVQuuDZNJN+kvj4QdZCdc6EubLtfmNPkEafVv9zpPLhBO0bRQyQabZnkB7vZyE/l7w8CJShcn4O+7+Ckseh2BOr9LOBWYSj5yXzmf9N+cZPjSHN0LtgkeqoDkKCIIZetdummMhKZsPRKqMFxvzeri6Xxd7CYcKn7lbxo3UeMVb+QcIkYjNz5GLlvhcZ/eNSw6EpdQK4ZIxPLhGVlKxf8FnUUee3Xz5h3RZvPuQGHqHiBN8k= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(66839620246622)(228905959029699); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040470)(2401047)(5005006)(8121501046)(93006095)(3231023)(2232001)(2102002)(944501161)(10201501046)(3002001)(6041268)(20161123564045)(20161123560045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123558120)(20161123562045)(6072148)(201708071742011); SRVR:CY4PR07MB3464; BCL:0; PCL:0; RULEID:(100000803101)(100110400095); SRVR:CY4PR07MB3464; X-Microsoft-Exchange-Diagnostics: 1; CY4PR07MB3464; 4:GkESidHwg0u/hdrFxxIDF+IlA1NCw03Eg4RhcYuZ3TlvH+KnCR7HvEiSVzNcAEbdJem/zQoKWfLgxg1g6DlWPFAucs6dhLUJ+/a7rnRFI5gVuubq3i97zV7QDrLW1sNKZqeBC++wOWHtFjH+3NYXyHqPh6GfiHs2jywOfg00SqHSKCda0xoiEFRxtnXt/ZICMn5y01nAR/+lQ/NjIl2g5bd+GPa7bEeYIROYCwPlyrLLFXfh1JdQw3TgTqCplyo/+wqLILdozaDYdVo/oHIrdW3fqhS7XIgIrZJX5kMioIMaEC1eGvKFVCMGMMTw519/+H0G28nvSFXveArd/TyKvg== X-Forefront-PRVS: 0554B1F54F X-Forefront-Antispam-Report: SFV:SPM; SFS:(10009020)(39860400002)(366004)(346002)(39380400002)(396003)(376002)(189003)(199004)(81166006)(97736004)(8676002)(6116002)(5009440100003)(52116002)(305945005)(8936002)(107886003)(53376002)(1076002)(51416003)(81156014)(25786009)(8656006)(4326008)(50466002)(19273905006)(50226002)(6486002)(5660300001)(3846002)(7736002)(16526018)(68736007)(69596002)(42882006)(106356001)(26005)(76176011)(6306002)(53936002)(6512007)(59450400001)(47776003)(48376002)(16586007)(386003)(6506007)(66066001)(72206003)(2950100002)(36756003)(966005)(2906002)(478600001)(105586002)(316002)(53416004)(6666003)(50929007)(42262002); DIR:OUT; SFP:1501; SCL:5; SRVR:CY4PR07MB3464; 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; CY4PR07MB3464; 23:HICpRLfAq6wsPIIsG/ADLmgSQP1c0CuQ78od/JMyj?= =?us-ascii?Q?nP9SA/BwLPCUYPGDngiaAV6QmLSaiAJFiCWUzvt3EbETeMgox+HMQ/aiggUe?= =?us-ascii?Q?ztiHUneF+r88cU2cjQo8hfWbi+YTXY53+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EIoM9YblrtGmp+3+qnERT5HI1U+13r1aoFgFVkSwFiXwJbAUshzrQlOMKHFoM4U7bSZiEFwg3TPi2mEmZYp7pRFnbzqf1queLt26RhffArcfHiO4PjFeV3j9f3vEGwt9NIKijSqQDdntL2KftVGIGX/3kGw=; 24:QFWEw6dJUrXfThoeixOm7YOUdN+NGE111JRujd17i4tcOSb0Roi0h5QNXHnz8q03IeiRfjv8K1DO5HInMIrw6A==; 7:nsard9wtDeDYTa5iJvNik1fenGMF5oUEMD9ZRkCgxcvqt9gxoCaOs4TyUu/6VHLIEyz2NMpb9mXOmsXw/UtwMXHswo3jvoXupLKnJYZKmNkWyuK+X9/5QOuGWdIbzMZ/Vxtab3aP5OrcHxJttqBFXA32T2sUQkcUCdaE7J4e80GtqktknKfsdbw0ALFMP058vfMBmkeCX6MlqMulKfvVspyOCN0RBW+QTyJSGZPMtJSw41Nc2HdJ1/P7Ev9DiU3e SpamDiagnosticOutput: 1:22 X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 16 Jan 2018 15:41:08.4737 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 8c2d67de-dfdf-4f72-d1c4-08d55cf79181 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 v6 11/14] app/eventdev: add pipeline atq test 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 15:41:13 -0000 This is a pipeline test case that aims at testing the following with ``all types queue`` eventdev scheme. 1. Measure the end-to-end performance of an event dev with a ethernet dev. 2. Maintain packet ordering from Rx to Tx. 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. Note: The --prod_type_ethdev is mandatory for running the application. Example command to run pipeline atq test: sudo build/app/dpdk-test-eventdev -c 0xf -s 0x8 --vdev=event_sw0 -- \ --test=pipeline_atq --wlcore=1 --prod_type_ethdev --stlist=ao Signed-off-by: Pavan Nikhilesh Acked-by: Harry van Haaren --- app/test-eventdev/Makefile | 1 + app/test-eventdev/test_pipeline_atq.c | 223 ++++++++++++++++++++++++++++++++++ 2 files changed, 224 insertions(+) create mode 100644 app/test-eventdev/test_pipeline_atq.c diff --git a/app/test-eventdev/Makefile b/app/test-eventdev/Makefile index 94b489f41..e600e21c4 100644 --- a/app/test-eventdev/Makefile +++ b/app/test-eventdev/Makefile @@ -27,5 +27,6 @@ SRCS-y += test_perf_atq.c SRCS-y += test_pipeline_common.c SRCS-y += test_pipeline_queue.c +SRCS-y += test_pipeline_atq.c include $(RTE_SDK)/mk/rte.app.mk diff --git a/app/test-eventdev/test_pipeline_atq.c b/app/test-eventdev/test_pipeline_atq.c new file mode 100644 index 000000000..6c9ac6119 --- /dev/null +++ b/app/test-eventdev/test_pipeline_atq.c @@ -0,0 +1,223 @@ +/* + * SPDX-License-Identifier: BSD-3-Clause + * Copyright 2017 Cavium, Inc. + */ + +#include "test_pipeline_common.h" + +/* See http://dpdk.org/doc/guides/tools/testeventdev.html for test details */ + +static __rte_always_inline int +pipeline_atq_nb_event_queues(struct evt_options *opt) +{ + RTE_SET_USED(opt); + + return rte_eth_dev_count(); +} + +static int +worker_wrapper(void *arg) +{ + RTE_SET_USED(arg); + rte_panic("invalid worker\n"); +} + +static int +pipeline_atq_launch_lcores(struct evt_test *test, struct evt_options *opt) +{ + struct test_pipeline *t = evt_test_priv(test); + + if (t->mt_unsafe) + rte_service_component_runstate_set(t->tx_service.service_id, 1); + return pipeline_launch_lcores(test, opt, worker_wrapper); +} + +static int +pipeline_atq_eventdev_setup(struct evt_test *test, struct evt_options *opt) +{ + int ret; + int nb_ports; + int nb_queues; + uint8_t queue; + struct rte_event_dev_info info; + struct test_pipeline *t = evt_test_priv(test); + uint8_t tx_evqueue_id = 0; + uint8_t queue_arr[RTE_EVENT_MAX_QUEUES_PER_DEV]; + uint8_t nb_worker_queues = 0; + + nb_ports = evt_nr_active_lcores(opt->wlcores); + nb_queues = rte_eth_dev_count(); + + /* One extra port and queueu for Tx service */ + if (t->mt_unsafe) { + tx_evqueue_id = nb_queues; + nb_ports++; + nb_queues++; + } + + + rte_event_dev_info_get(opt->dev_id, &info); + + const struct rte_event_dev_config config = { + .nb_event_queues = nb_queues, + .nb_event_ports = nb_ports, + .nb_events_limit = info.max_num_events, + .nb_event_queue_flows = opt->nb_flows, + .nb_event_port_dequeue_depth = + info.max_event_port_dequeue_depth, + .nb_event_port_enqueue_depth = + info.max_event_port_enqueue_depth, + }; + ret = rte_event_dev_configure(opt->dev_id, &config); + if (ret) { + evt_err("failed to configure eventdev %d", opt->dev_id); + return ret; + } + + struct rte_event_queue_conf q_conf = { + .priority = RTE_EVENT_DEV_PRIORITY_NORMAL, + .nb_atomic_flows = opt->nb_flows, + .nb_atomic_order_sequences = opt->nb_flows, + }; + /* queue configurations */ + for (queue = 0; queue < nb_queues; queue++) { + q_conf.event_queue_cfg = RTE_EVENT_QUEUE_CFG_ALL_TYPES; + + if (t->mt_unsafe) { + if (queue == tx_evqueue_id) { + q_conf.event_queue_cfg = + RTE_EVENT_QUEUE_CFG_SINGLE_LINK; + } else { + queue_arr[nb_worker_queues] = queue; + nb_worker_queues++; + } + } + + ret = rte_event_queue_setup(opt->dev_id, queue, &q_conf); + if (ret) { + evt_err("failed to setup queue=%d", queue); + return ret; + } + } + + /* port configuration */ + const struct rte_event_port_conf p_conf = { + .dequeue_depth = opt->wkr_deq_dep, + .enqueue_depth = info.max_event_port_dequeue_depth, + .new_event_threshold = info.max_num_events, + }; + + if (t->mt_unsafe) { + ret = pipeline_event_port_setup(test, opt, queue_arr, + nb_worker_queues, p_conf); + if (ret) + return ret; + + ret = pipeline_event_tx_service_setup(test, opt, tx_evqueue_id, + nb_ports - 1, p_conf); + } else + ret = pipeline_event_port_setup(test, opt, NULL, nb_queues, + p_conf); + + if (ret) + return ret; + + /* + * The pipelines are setup in the following manner: + * + * eth_dev_count = 2, nb_stages = 2, atq mode + * + * Multi thread safe : + * queues = 2 + * stride = 1 + * + * event queue pipelines: + * eth0 -> q0 ->tx + * eth1 -> q1 ->tx + * + * q0, q1 are configured as ATQ so, all the different stages can + * be enqueued on the same queue. + * + * Multi thread unsafe : + * queues = 3 + * stride = 1 + * + * event queue pipelines: + * eth0 -> q0 + * } (q3->tx) Tx service + * eth1 -> q1 + * + * q0,q1 are configured as stated above. + * q3 configured as SINGLE_LINK|ATOMIC. + */ + ret = pipeline_event_rx_adapter_setup(opt, 1, p_conf); + if (ret) + return ret; + + if (!evt_has_distributed_sched(opt->dev_id)) { + uint32_t service_id; + rte_event_dev_service_id_get(opt->dev_id, &service_id); + ret = evt_service_setup(service_id); + if (ret) { + evt_err("No service lcore found to run event dev."); + return ret; + } + } + + ret = rte_event_dev_start(opt->dev_id); + if (ret) { + evt_err("failed to start eventdev %d", opt->dev_id); + return ret; + } + + return 0; +} + +static void +pipeline_atq_opt_dump(struct evt_options *opt) +{ + pipeline_opt_dump(opt, pipeline_atq_nb_event_queues(opt)); +} + +static int +pipeline_atq_opt_check(struct evt_options *opt) +{ + return pipeline_opt_check(opt, pipeline_atq_nb_event_queues(opt)); +} + +static bool +pipeline_atq_capability_check(struct evt_options *opt) +{ + struct rte_event_dev_info dev_info; + + rte_event_dev_info_get(opt->dev_id, &dev_info); + if (dev_info.max_event_queues < pipeline_atq_nb_event_queues(opt) || + dev_info.max_event_ports < + evt_nr_active_lcores(opt->wlcores)) { + evt_err("not enough eventdev queues=%d/%d or ports=%d/%d", + pipeline_atq_nb_event_queues(opt), + dev_info.max_event_queues, + evt_nr_active_lcores(opt->wlcores), + dev_info.max_event_ports); + } + + return true; +} + +static const struct evt_test_ops pipeline_atq = { + .cap_check = pipeline_atq_capability_check, + .opt_check = pipeline_atq_opt_check, + .opt_dump = pipeline_atq_opt_dump, + .test_setup = pipeline_test_setup, + .mempool_setup = pipeline_mempool_setup, + .ethdev_setup = pipeline_ethdev_setup, + .eventdev_setup = pipeline_atq_eventdev_setup, + .launch_lcores = pipeline_atq_launch_lcores, + .eventdev_destroy = pipeline_eventdev_destroy, + .mempool_destroy = pipeline_mempool_destroy, + .ethdev_destroy = pipeline_ethdev_destroy, + .test_result = pipeline_test_result, + .test_destroy = pipeline_test_destroy, +}; + +EVT_TEST_REGISTER(pipeline_atq); -- 2.14.1