From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM02-BL2-obe.outbound.protection.outlook.com (mail-bl2nam02on0059.outbound.protection.outlook.com [104.47.38.59]) by dpdk.org (Postfix) with ESMTP id 28F437CB3 for ; Mon, 3 Jul 2017 21:15:03 +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=G/5ADowOI8h1//3QgZG7QpYDtJIBoRwiEGLFtd19n8k=; b=NjPKg9ZPvOwpH3YLv03ieEuiKw5KJQRcsd07a9zHRGVhgejDC580ZuNiUMWz+Wx+W3rDz5xtq9z7jDpSEHfuULUaqQ24eW6ER7o8kpHMdaKGUbgv3lBtvyJtybm/nbz1z682onj90+TJTwJ8WM1CS074fNJ970I7Jx+uJofwTFM= 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 (111.93.218.67) by BLUPR0701MB1716.namprd07.prod.outlook.com (10.163.85.142) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1220.11; Mon, 3 Jul 2017 19:14:58 +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 00:43:34 +0530 Message-Id: <20170703191402.3638-7-jerin.jacob@caviumnetworks.com> X-Mailer: git-send-email 2.13.2 In-Reply-To: <20170703191402.3638-1-jerin.jacob@caviumnetworks.com> References: <20170528195854.6064-1-jerin.jacob@caviumnetworks.com> <20170703191402.3638-1-jerin.jacob@caviumnetworks.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [111.93.218.67] X-ClientProxiedBy: PN1PR01CA0103.INDPRD01.PROD.OUTLOOK.COM (10.174.144.19) To BLUPR0701MB1716.namprd07.prod.outlook.com (10.163.85.142) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: c618be7e-12ed-43ed-bd91-08d4c247ce16 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:BLUPR0701MB1716; X-Microsoft-Exchange-Diagnostics: 1; BLUPR0701MB1716; 3:ex1cdVQIQQqDGdhlnqfdlxLvZzO0QlYA70xhmLkkeAUizUPorjuLecFv94CbbPgYZ9HK7At8HuOq6uJwO46EH2iiV7gF3C/mvZIMuk8IDGjPL2W/TiFqVG1jPFJpLRnYrIbQ8YGwo0xy0X0iUuuJeeF/WSqvkE/Xv4ztDnFa3Y5jMhj4U973O3Jed78KITdEZrriDn8oVux7akGqjKRmDPeVglQz/9AEZjwQkY8iP4YO0mONYgkoAy+alWwl1pXqqX+eIYzDyDleekcnaPJTjWPv+chy9O9mW/ptlIyw8Qygp36gPfa1kfwJUOdlzWfIfd21zWtm2O8x0/4ujp0ebB8itVbhhjVO0ltKUekxllNlJoj5O6022f/uamkzMBS5e3mkp62tZxa1wytTApRHVuKjIiKsVuJ5prlF/zd1jVpWxFmfz7QrL5/Nm3v2aGzkO5Ogx1/BCQxaWaloudLL3uVb1RCaReyBBHSu1z1W/fFR0mDfWtZcWAVosvm9HRIXUdmo4/0SXT3EoerZrD6IdoGg/KyuPpWJmq5qu5/xOvYZzCnE2HAPbF1YuA/JssJ5EC7klC6l2etZk/ekIc4w+VOZbh/vZFh0/96nBzt/87JblBp1EKOh61ij3+/g0K8LGEzjCQpPEoz9iKd9yGCJ7IoSDSPLO1KAUGsPAEyKMKbZVXPcvo/c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8iZo9ZfgMWIqoMKkBuuqp4IFvazdbnhBZuGqx7zyMOR08VRRjxpZKwPbx9nb6djq1ufjbmMcRjWQGsYOHVbzGri2VTeiDazKKhPwI2DPBzXpCljhuF/ZKh8C+dJeyKfsGhrbjND02Xc4ihKq34IxXVpTKfpClvsSzu13a+9F3/EljTeaKUmBSrgqG1A0kxkNWJ6TzVoZHg2Imj8WB+eg6qFb+pNJwqTk98UwnvPpWHjWK0w/TM9SlzifpPXukiC8VInBiCKttLa34iQq6ZenKrSt2eQOj5gj5buclyYFslIT6lOHfI1NB4osvGpFAA= 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)(93006095)(3002001)(10201501046)(100000703101)(100105400095)(6041248)(20161123562025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123558100)(20161123560025)(20161123555025)(20161123564025)(6072148)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:BLUPR0701MB1716; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:BLUPR0701MB1716; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BLUPR0701MB1716; 4:8SbeQgGzK7rtjRZiVztIRaoBPJVwoJ4ItHXT56g7?= =?us-ascii?Q?WmN2FPb2xuZUSE8S5XhTsB6EwTmZuUILPSUw0cD+JCBasR0xlAhZhcTLghjG?= =?us-ascii?Q?ASp50GVIoTYoK3/IGSec96zB9cx8n4yAXSDBNCb/ib9clfTzzAEXtDSM43G5?= =?us-ascii?Q?p/aYjWNW/zEhGtXDHZCLj2GBYTl3xg7hsgXErcl1eDiHitgl4DKW0hkljY6j?= =?us-ascii?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D4bFD/gadFJ++QIfZpDAoi140KDBu?= =?us-ascii?Q?jGmXjARrGKFzSAOOE8YFmBNkaUAktFr/vrYFCErtKdIqWkNNUEiZXyGGKmmk?= =?us-ascii?Q?inkda4kKihK0f1zrFBi1tESS757fSGpihGYRu81IVc2qjgKgd7H16GTiwTx1?= =?us-ascii?Q?B8jwYPEiDP8UaH6d63bdqxONNUK8IriOALPHdwpE?= X-Forefront-PRVS: 035748864E X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4630300001)(6009001)(39850400002)(39840400002)(39400400002)(39410400002)(39450400003)(7736002)(478600001)(53416004)(72206003)(38730400002)(110136004)(107886003)(42186005)(8656002)(50986999)(76176999)(36756003)(6512007)(53936002)(4326008)(25786009)(5003940100001)(6916009)(42882006)(2950100002)(66066001)(5009440100003)(6666003)(2351001)(2361001)(6486002)(6116002)(189998001)(305945005)(33646002)(5660300001)(81166006)(8676002)(3846002)(47776003)(1076002)(2906002)(50466002)(48376002); DIR:OUT; SFP:1101; SCL:1; SRVR:BLUPR0701MB1716; H:jerin.domain.name; FPR:; SPF:None; MLV:sfv; LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BLUPR0701MB1716; 23:gXru0j5/2UlXEXN8qUI6beAVKql6tFd28xZoB6O?= =?us-ascii?Q?2t4JKRfokY1RhLE8HKcvxd6ggHa3g3gBWiM78ODZqh0jk/dKIHsw8PVgoZKA?= =?us-ascii?Q?ZHecda6u5NcJJ8v7mwgKGw/ON9lnuilpq3bhfHyHcPOvjkUMq9IPbOauSX4V?= =?us-ascii?Q?TspGXOiqRIED+fpQapG1vnglAtgLVoLilJr5pds9x14F5KH13RmsUsieuo35?= =?us-ascii?Q?NO8YhtaItoSN+iIwKgfVdwqRCkO3C7bU4re8Xpcp6VHp5e5ZliPsofR/V5kh?= =?us-ascii?Q?jZdFMi3wGfQGB8fx+YrjxMXIfACEIym7sU4GjP4sbFqnmYC3/ObqNwloJnBZ?= =?us-ascii?Q?8R9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= =?us-ascii?Q?MTyW02CYYEvw1t9dTVUwN2J14mTPgYj3FBsIFOiXr/QYn4vXT9FnZS/cVuV5?= =?us-ascii?Q?dCrRuHS2BSoCgPMp9qq6ixuQclXZWAQq6Dne0ILQLH8ctW6IexZJ56tL5jPD?= =?us-ascii?Q?bIU=3D?= X-Microsoft-Exchange-Diagnostics: 1; BLUPR0701MB1716; 5:D4YfbCIu9eVOuCJu0NzTT9wxYQfr7eh7v7nZw188a0qPnK/xMnreTuKdmNlAWrOBEZynC9Cz09+d7etRpIKXAebaz7TS2XxEqGaLb5jv+Yd0du5hE9kK971ErRolD0ANPhxcMjA7jyXg0lDuV/Mj2eHRHwwuIIob+SGTFsChOaP5Z2zg6FTxFiy0uJISFYLLbHIfPoGk3Msy7o3JtI/IhS3G4BULAuUGCs4Gk6xAmNLI0z/+WF9YKjP9Tj2EIl+WjrYLevjBXHdA2KOY1v75Ww5725+AvdmT+d32grO8mUeMBb1LR02DEBaCifBQ18ZcPES1CHTTTvTj6md1labB6cF6q3/TpHB4QS7mAi+MtnEhhRG4bKT7tUcT+t7T/BJvrraG+rMXAhhoAy41vjoR9dI9v2kjuElBknlU5qQWl8PDnNiG8myzONCE96ljaK5v4/DgVttcl4Me58I2hJ4MhJehdmUm+bPBx0a+4FqpW1CIXjKlnJsf+Ll//rAG718j; 24:MeZ8+hs6GhZO6753FiUfqB9yLw92hTzopngewt6ZoFbdyseGL9/hH+tL3HBdhSibJfzJARpMp6RrS8X+sePgl4naZ8AMsAtgiZbDYDh6NkM= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; BLUPR0701MB1716; 7:8HBHZhA71NX9OaMX/Pzn0gXh9n9u/gFMLopQeYJ6tjXiM/bQSpA9OD3FCHmEfCI4kAPp1AP2uTMhIWq6Kdy12vKFwKtiswx9AdzTvUK3LQ8D67zcgBKPboktnGOuheYPO28UKA1Gp9xEdOh2utwbuW8Y4AnW0jW9QigUpMZ45QNWdIRhZkRpYYsO1iKFBFLlSUEt2IWk+SClX6lA3x/juNq6ANhrW66by4IF7ZcGGDR08fdAShnEit1hlCu0txJ3D+3votYZN5zI88k1DKJpFs6tiok+FgTr3pN89i0b361y5a/stIN4zHlZSYOEbIUY/KAqa5QOGRSIclIJjTVW3jtmidhJKFdtUdWkf1jgYZvD4+SG5eva1vphet7p9RnL+OzGVotRYQfR06H1JMnuioNxxc5Q3d5gR+p2filX2rTYb+MUbP3n6usluGN4edVerBMMR7/VLooiwyLggjwsZBYKrFJzpau8rjrVrnE6GazuNyKgNo71G08gOZKTKePGCXHmP3kjImD2yojzzSPfs0DIeKyMa0pN72o7CFpzOPSF55UsBjLAtA26mVxeXnnyyYZK/W54X+IyocUXiIbcn1lSqbxMHmCpRS/WzNn3LWRIc2QigmheI8FnUtmbFbjoRUq8ffNoRP0xsWTV8Eyz3lBz9q0vPyLWGmFvq4H0yKS745DLWrV9GSLtDEZj9JjEORiySdb1lgcFnXnkUKqxY8D6Glpz7B8ibifgvIM0tzfS9Sq/OEed8Rkpdb4fU8ZHpfuAqCE/9y9fsYTKOH7leMSZtHohY+FvadgzrIk3D3I= X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 03 Jul 2017 19:14:58.9019 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: BLUPR0701MB1716 Subject: [dpdk-dev] [PATCH v2 06/34] app/testeventdev: define the test 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: Mon, 03 Jul 2017 19:15:03 -0000 Define the test options that used across all test cases and fill the default values for the same. Signed-off-by: Jerin Jacob Signed-off-by: Guduri Prathyusha Acked-by: Harry van Haaren --- app/test-eventdev/Makefile | 1 + app/test-eventdev/evt_options.c | 58 ++++++++++++++++++++++++++++++++++++ app/test-eventdev/evt_options.h | 66 +++++++++++++++++++++++++++++++++++++++++ 3 files changed, 125 insertions(+) create mode 100644 app/test-eventdev/evt_options.c create mode 100644 app/test-eventdev/evt_options.h diff --git a/app/test-eventdev/Makefile b/app/test-eventdev/Makefile index 2e552a084..168e56416 100644 --- a/app/test-eventdev/Makefile +++ b/app/test-eventdev/Makefile @@ -39,6 +39,7 @@ CFLAGS += $(WERROR_FLAGS) # all source are stored in SRCS-y # SRCS-y := evt_main.c +SRCS-y += evt_options.c SRCS-y += evt_test.c SRCS-y += parser.c diff --git a/app/test-eventdev/evt_options.c b/app/test-eventdev/evt_options.c new file mode 100644 index 000000000..3e15555a4 --- /dev/null +++ b/app/test-eventdev/evt_options.c @@ -0,0 +1,58 @@ +/* + * 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 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 +#include +#include +#include + +#include +#include +#include + +#include "evt_options.h" +#include "evt_test.h" +#include "parser.h" + +void +evt_options_default(struct evt_options *opt) +{ + memset(opt, 0, sizeof(*opt)); + opt->verbose_level = 1; /* Enable minimal prints */ + opt->dev_id = 0; + strncpy(opt->test_name, "order_queue", EVT_TEST_NAME_MAX_LEN); + opt->nb_flows = 1024; + opt->socket_id = SOCKET_ID_ANY; + opt->pool_sz = 16 * 1024; + opt->wkr_deq_dep = 16; + opt->nb_pkts = (1ULL << 26); /* do ~64M packets */ +} diff --git a/app/test-eventdev/evt_options.h b/app/test-eventdev/evt_options.h new file mode 100644 index 000000000..a8ec91d02 --- /dev/null +++ b/app/test-eventdev/evt_options.h @@ -0,0 +1,66 @@ +/* + * 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 _EVT_OPTIONS_ +#define _EVT_OPTIONS_ + +#include +#include + +#include +#include +#include + +#include "evt_common.h" + +struct evt_options { +#define EVT_TEST_NAME_MAX_LEN 32 + char test_name[EVT_TEST_NAME_MAX_LEN]; + bool plcores[RTE_MAX_LCORE]; + bool wlcores[RTE_MAX_LCORE]; + uint8_t sched_type_list[EVT_MAX_STAGES]; + int slcore; + uint32_t nb_flows; + int socket_id; + int pool_sz; + int nb_stages; + int verbose_level; + uint64_t nb_pkts; + uint16_t wkr_deq_dep; + uint8_t dev_id; + uint32_t fwd_latency:1; + uint32_t q_priority:1; +}; + +void evt_options_default(struct evt_options *opt); + +#endif /* _EVT_OPTIONS_ */ -- 2.13.2