From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM03-CO1-obe.outbound.protection.outlook.com (mail-co1nam03on0077.outbound.protection.outlook.com [104.47.40.77]) by dpdk.org (Postfix) with ESMTP id 96DDF7D0F for ; Tue, 4 Jul 2017 06:55:15 +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=OP2LbZ+RynvKl4uRn8hpuqXjTe2jIF5Kz25dnT3nsAE=; b=iCveYKjEmGGhIRR/GqZ3nK2jl7LANX6r046s3RnEmQa8VQL3Aizp0EoNgxSQ8Yh0HPYxKEcJ7To4Be4FKFYyXwweZexMGV/aFLrRTe7slyOEaXEuIuFfj51MZY3blwAJvzf40roB2QHE8asgVW/l7ahf4LfU+Bx/HBEvRP0kPNc= Authentication-Results: dpdk.org; dkim=none (message not signed) header.d=none;dpdk.org; dmarc=none action=none header.from=caviumnetworks.com; Received: from jerin.domain.name (106.200.206.49) by BLUPR0701MB1714.namprd07.prod.outlook.com (10.163.85.140) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1220.11; Tue, 4 Jul 2017 04:55:10 +0000 From: Jerin Jacob To: dev@dpdk.org Cc: harry.van.haaren@intel.com, bruce.richardson@intel.com, hemant.agrawal@nxp.com, gage.eads@intel.com, nipun.gupta@nxp.com, narender.vangati@intel.com, nikhil.rao@intel.com, gprathyusha@caviumnetworks.com, Jerin Jacob Date: Tue, 4 Jul 2017 10:23:14 +0530 Message-Id: <20170704045329.24711-20-jerin.jacob@caviumnetworks.com> X-Mailer: git-send-email 2.13.2 In-Reply-To: <20170704045329.24711-1-jerin.jacob@caviumnetworks.com> References: <20170703191402.3638-1-jerin.jacob@caviumnetworks.com> <20170704045329.24711-1-jerin.jacob@caviumnetworks.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [106.200.206.49] X-ClientProxiedBy: BM1PR01CA0106.INDPRD01.PROD.OUTLOOK.COM (10.174.208.22) To BLUPR0701MB1714.namprd07.prod.outlook.com (10.163.85.140) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 8f77768a-7a6b-4940-8e5e-08d4c298db5a X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(300000500095)(300135000095)(300000501095)(300135300095)(22001)(300000502095)(300135100095)(300000503095)(300135400095)(201703131423075)(201703031133081)(300000504095)(300135200095)(300000505095)(300135600095)(300000506095)(300135500095); SRVR:BLUPR0701MB1714; X-Microsoft-Exchange-Diagnostics: 1; BLUPR0701MB1714; 3:V+6SgBaN24qwTZ97vNlKB4zyp0yhKWhVuX37QL+Zv/gUP6WqzaruYTucEBqYibk3UNoOf6gGRtT4rUSKWUZO0EpqlD8Ih5GnNqkzP/Lt4N94gdCg3k/sFhw/VwFzGLFJoOoQvmiFhRWXPm/HjWR5L0U6TymI8ghYl8qXKviovl6FC25hEz716ZmMYOp9XDzE4UjwKPa3lxZiFCeB6TfES5hd9B55ZA+vOoFiOKFmiDLFCkrJ5scwFQLu7XGFJb3kgGDCnY8g9BVt2N0BA+ofb3BEIGF5bkyLxoCzk8SWIWwl3zNtk21VVrdVCAJ63VnxQsDQsfj7j0WHytQm/M8nRueZap1KFa6XI14R6mDni4w18hcopxjjc9M2V9bWDZ3P0Nxb+j003afsivuWmi/6lPVfxV36ZifA946QKkLNKptqDfGynuiPoOMK0bXHzxQOqcuA1Jtcic+DTsyHJVZBdLbSotDaowU3QE1NoP+JHrIhX85VVpjGE1TAwDXRLQ8GJtT8TpUhEGOfMQVYlLngwxzi9U714iNLsnNQbwI4CSf1Nqc7JIKpevPSEucB+toyKGu/p7p62LCPOkNx+LYGWrhEcJNGjT1AQiyyp+tJ9CwpL0XTyS4UGrxnh7eG91DmfQocq/dVxweKSvgY5HieE7pvDzF8XPBxo22Olka1wtpm6Yv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s+ZK27Z4RcLHkZcKGhfYmajhfMCEuSI3b69We0M2KBD3DGebKKFzKZ4q6jSebO5wUn7lEwbQgT2JATjn+gFNFiE3CU6SDnTgTv514arjtcS2JOo3VRkVi1k7IbmEe+AiGeOUtX0W2FwFSLz4TcuBSpx2fn+mqb8ZcSxJe+w8OGh+AYRLq1I7dwGYYdBFNRjIIcMN/J94NjJVklqIfgicwO+N1zGFeuNse8wvs3LYIKMZUwTb6Y9OUdGoaC7BR6/ZgT7jPaEBY+uTPsTSl8+cwoFNQQpsHp365Bro0+p8wey/zetZdmnYB/XtJC++dz6rLKUc= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(236129657087228)(148574349560750)(158140799945019)(228905959029699); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(601004)(2401047)(8121501046)(5005006)(100000703101)(100105400095)(93006095)(10201501046)(3002001)(6041248)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123562025)(20161123555025)(20161123560025)(20161123564025)(20161123558100)(6072148)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:BLUPR0701MB1714; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:BLUPR0701MB1714; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BLUPR0701MB1714; 4:PMMyAdrUUl+4R2LHZU1CI7duApM4uqNMX34ZVGzI?= =?us-ascii?Q?UsThQypnN4UDg+2F73eYVdMMLz0mH0yp6ZrYbr7SizmAgP9bbddELTpjQcxD?= =?us-ascii?Q?8dxZkUswwmEtZq4oAyTVBbvzjlmUugjHYuZGR8ScFBi6rxkwnPJ+h7McsxKY?= =?us-ascii?Q?jDyFA25RONZiKS9vm22boRhm/ODKop/1WMIh0S1ZjwhrwGWKgQVZ1mpdgwS1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5WSpr2od1zlh80S8IBf0UnJ/ohIH1lxjT?= =?us-ascii?Q?TPhQg7j605qI0CiG8FoF89irMcKXsMUg8EeAyBvUll220hsoFV524Igk3Pw9?= =?us-ascii?Q?wAV0VkLD9MENIN1wUCZ/dxA+36crXEGpTDX45iK2vtREXneSkASC1ZZBQRKO?= =?us-ascii?Q?yRJfcKJXvWqQchaqUFubGRo0cYKzh0aleadPg/78?= X-Forefront-PRVS: 0358535363 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4630300001)(6009001)(39850400002)(39400400002)(39840400002)(39410400002)(39450400003)(4326008)(107886003)(38730400002)(6512007)(42186005)(6486002)(8656002)(6506006)(33646002)(53936002)(25786009)(6116002)(6916009)(1076002)(5003940100001)(3846002)(42882006)(47776003)(2950100002)(478600001)(2906002)(66066001)(8676002)(50226002)(48376002)(81166006)(7736002)(110136004)(2361001)(2351001)(5009440100003)(189998001)(5660300001)(305945005)(72206003)(53416004)(50986999)(76176999)(50466002)(36756003); DIR:OUT; SFP:1101; SCL:1; SRVR:BLUPR0701MB1714; H:jerin.domain.name; FPR:; SPF:None; MLV:sfv; LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BLUPR0701MB1714; 23:DR2RM4bIxP0XtO9Uo7U/LgqdySmbhLvtT73ekhZ?= =?us-ascii?Q?/7YNdQxox8F4XTkNdiuCSmwmgnjpC0n6giqPuRCjK1veB01ggnWh390RYXyM?= =?us-ascii?Q?2VZc8haHIBT+s8lNlqjigw3Sr+jSW3MdSqtjin32z0yGMJBwC2qJbegG3Cvw?= =?us-ascii?Q?4OJmbcsJz4t+U9IwKknVwSMgNNtSAReh8ZSvi6qw2UaQaiSHmJwbGZypII8C?= =?us-ascii?Q?9O3kPSC1ECR4vb3vaf4tok9b/4hu0xwAkZYmEg9EuJ0MwD/lOk2jBZfhXGWO?= =?us-ascii?Q?4gFVcj6P4JVxlYsLGuXRTTnY01fDPJTRt/H9ao2j9pohHA7EpVyW+yIyYI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fJDXoDb82VKUnOWVNhiWQP9w2cQSx6XeipL8gEfsF?= =?us-ascii?Q?k1XQKedEf3evq7YgcZN9AzImqJQieIsoH/0RgV2NmPHxcwZ5wkLTsA1uV8x9?= =?us-ascii?Q?NaU5TWX5KRRJrIx18N/9e4k5Y1EQ9v7d6XKJYargWYMRr7JNAW1QoG8Wwl4P?= =?us-ascii?Q?tFo=3D?= X-Microsoft-Exchange-Diagnostics: 1; BLUPR0701MB1714; 5:jbE3lbxZZZFlYt3iZSo86E7chPUA+XG+qqISxdKJE1vPYUizNCsAhHorovBMaj9+U3Tt2HDAjtLOpsCqqI47mSxNR7jeXq7MiFuyQsb7nG7xfPfC2Wzu8aDylCz3PI4e2PL/BOp8G/4mAv7PxZohpDdtVpeQdPI57OYCp9u6QAoJyJyY2qbjL/R5k86+2qqAGbWSMeYYqMZ9WVkSmIvvmIa/3T2oy3MkW0bCvI25YPr+ktGPJYoSYmXgyra3uGtxVvO9kurc5WvtNkimlDur+2abChzrcnjZxo5Pwy+06H4lUWMJzL+EBr3/MlFHYKZZ2oWoaMeDDkWb64L3u274P9c6GznYPASMnSn1G7uNZCKV+goxgEn7E+Vh6/xpaV9sdEsTqtKq9ghWDpC3VVzFS7S3emDSEiKxn1ZI2V7v+kxd+8gdR3Eo5F9JVT8Ta2KhTkQP4C8MfSGMaaM8ozof55EBzvfv2/ONDZkuRizcUplD+MhgN8rM7GT3yCaN1ist; 24:TRqQcIHUZ+4rQVsJVN8laCHFPWEYMFiZgxj0C9QJ5ZpUBfPFwqQswUW8N2w/ePOJXATv6a+PmobOGjuwxgb/h7P/+L/OKTQh7qwiA09yt6U= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; BLUPR0701MB1714; 7:pcXfXFgVM/3Q0A6t11iq0e1HZFHJUPeUwnwub4MLPJFEydNnjK+OIlilBEac6MsHTgWN4olq6MB6is3cOlFeMzLWUzAzfSANZDr3rR9ZfEfhwYRKlyUW6uXJBFYxDk157BTKh/qzpTCt/D2B5pKnPj4fzqjVOqZzs3tFaAJ5SkMw9mJVDU89u58fxBDQp2hfCbwKa/3DTnz8MmWpAtoPck6vheezcyJMdS0mus/n2z14eUWZv6ex1zRCrxocEFe9hjEAVfW7qjTmWd9CStNYRgo+rQ8DQ9/iTKcvGvg8jLG0Sok5BIMY2NS8hz29irnU76QT9ZOFhJXpZYDIAWARqfTFnRCkqpnf2oMsupmrS9guJET+Qu+IlpOiQq14bs7Vpwb8MJ5c/HB1Jm50vHoZxlKC5Poz1iDvVIo9SBhwe2edxeMHnrdgFPBtYVOkWi8B+8RkoeUyfvKUeSPjq4v8PKxNnevbws6//cewLZaJfz4QqVMeCo2OSAN8+57VwlQTq6fUUe1X4unuqdJ2UvWGG7zf3ZnVR6+ZJRyzsukgvhmc7HiWH7kN6F0fG59nXDJa/R14tHtBl7cAR1bjXgGG9K2tgd9UvX5raXxLKb4jzJFBmT6ov+PKDp1n37rJ3nx+ikCL4hx69j/6l7JKc8gWHn34fSmxR8TvvfWpdn7k7PQ0vHb/5+uKIRdDbLXGDBgw090ZwMKxlNdozyrEjpFEOUm5hzphM0juQIJaYRuHzHxh6b7lmKhpuyrlQfwXHiOrSfrc+TTGQQ3ZjWYrx/4QMnluI/6HYnDveC7nffY62Rg= X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Jul 2017 04:55:10.3754 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: BLUPR0701MB1714 Subject: [dpdk-dev] [PATCH v3 19/34] app/testeventdev: perf: add test setup and destroy 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, 04 Jul 2017 04:55:16 -0000 perf test has the queue and all types queue variants. Introduce test_perf_common* to share the common code between those tests. Signed-off-by: Jerin Jacob Acked-by: Harry van Haaren --- app/test-eventdev/Makefile | 2 + app/test-eventdev/test_perf_common.c | 71 +++++++++++++++++++++++++++++ app/test-eventdev/test_perf_common.h | 88 ++++++++++++++++++++++++++++++++++++ 3 files changed, 161 insertions(+) create mode 100644 app/test-eventdev/test_perf_common.c create mode 100644 app/test-eventdev/test_perf_common.h diff --git a/app/test-eventdev/Makefile b/app/test-eventdev/Makefile index 93c36e510..242d3eeac 100644 --- a/app/test-eventdev/Makefile +++ b/app/test-eventdev/Makefile @@ -47,4 +47,6 @@ SRCS-y += test_order_common.c SRCS-y += test_order_queue.c SRCS-y += test_order_atq.c +SRCS-y += test_perf_common.c + include $(RTE_SDK)/mk/rte.app.mk diff --git a/app/test-eventdev/test_perf_common.c b/app/test-eventdev/test_perf_common.c new file mode 100644 index 000000000..d95eb6252 --- /dev/null +++ b/app/test-eventdev/test_perf_common.c @@ -0,0 +1,71 @@ +/* + * BSD LICENSE + * + * Copyright (C) Cavium 2017. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * + * * Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * * Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in + * the documentation and/or other materials provided with the + * distribution. + * * Neither the name of Cavium networks nor the names of its + * contributors may be used to endorse or promote products derived + * from this software without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR + * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT + * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT + * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, + * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY + * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE + * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + */ + +#include "test_perf_common.h" + + +int +perf_test_setup(struct evt_test *test, struct evt_options *opt) +{ + void *test_perf; + + test_perf = rte_zmalloc_socket(test->name, sizeof(struct test_perf), + RTE_CACHE_LINE_SIZE, opt->socket_id); + if (test_perf == NULL) { + evt_err("failed to allocate test_perf memory"); + goto nomem; + } + test->test_priv = test_perf; + + struct test_perf *t = evt_test_priv(test); + + t->outstand_pkts = opt->nb_pkts * evt_nr_active_lcores(opt->plcores); + t->nb_workers = evt_nr_active_lcores(opt->wlcores); + t->done = false; + t->nb_pkts = opt->nb_pkts; + t->nb_flows = opt->nb_flows; + t->result = EVT_TEST_FAILED; + t->opt = opt; + memcpy(t->sched_type_list, opt->sched_type_list, + sizeof(opt->sched_type_list)); + return 0; +nomem: + return -ENOMEM; +} + +void +perf_test_destroy(struct evt_test *test, struct evt_options *opt) +{ + RTE_SET_USED(opt); + + rte_free(test->test_priv); +} diff --git a/app/test-eventdev/test_perf_common.h b/app/test-eventdev/test_perf_common.h new file mode 100644 index 000000000..ab5c082f5 --- /dev/null +++ b/app/test-eventdev/test_perf_common.h @@ -0,0 +1,88 @@ +/* + * BSD LICENSE + * + * Copyright (C) Cavium 2017. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * + * * Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * * Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in + * the documentation and/or other materials provided with the + * distribution. + * * Neither the name of Cavium networks nor the names of its + * contributors may be used to endorse or promote products derived + * from this software without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR + * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT + * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT + * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, + * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY + * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE + * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + */ + +#ifndef _TEST_PERF_COMMON_ +#define _TEST_PERF_COMMON_ + +#include +#include +#include + +#include +#include +#include +#include +#include +#include + +#include "evt_common.h" +#include "evt_options.h" +#include "evt_test.h" + +struct test_perf; + +struct worker_data { + uint64_t processed_pkts; + uint64_t latency; + uint8_t dev_id; + uint8_t port_id; + struct test_perf *t; +} __rte_cache_aligned; + +struct prod_data { + uint8_t dev_id; + uint8_t port_id; + uint8_t queue_id; + struct test_perf *t; +} __rte_cache_aligned; + +struct test_perf { + /* Don't change the offset of "done". Signal handler use this memory + * to terminate all lcores work. + */ + int done; + uint64_t outstand_pkts; + uint8_t nb_workers; + enum evt_test_result result; + uint32_t nb_flows; + uint64_t nb_pkts; + struct rte_mempool *pool; + struct prod_data prod[EVT_MAX_PORTS]; + struct worker_data worker[EVT_MAX_PORTS]; + struct evt_options *opt; + uint8_t sched_type_list[EVT_MAX_STAGES] __rte_cache_aligned; +} __rte_cache_aligned; + +int perf_test_setup(struct evt_test *test, struct evt_options *opt); +void perf_test_destroy(struct evt_test *test, struct evt_options *opt); + +#endif /* _TEST_PERF_COMMON_ */ -- 2.13.2