From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM03-CO1-obe.outbound.protection.outlook.com (mail-co1nam03on0064.outbound.protection.outlook.com [104.47.40.64]) by dpdk.org (Postfix) with ESMTP id 04AE45A98 for ; Tue, 4 Jul 2017 06:54:27 +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=C6Kpgm7jkxo3/nRhD4r00Y0fzyBBOxes5JTQ4xdnLBliRfoKVGvrAL3JI3SNYzaIFo7Ok1pH/+yEH5x0ZzF1UnfSUPOXFxSnA4B0ZFOguoDYNuKZQk6/hHqJyy/IEO2xxw8wz85XNQ48A/L/7G87Nhfj7fHCyvMZX7W1i0CTAVs= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Jerin.JacobKollanukkaran@cavium.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:54:22 +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:01 +0530 Message-Id: <20170704045329.24711-7-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: a8139c69-46b7-4f64-284a-08d4c298beca 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:EAyekv+V+NgdAuy/Kyo8nGzJll0RDd6pZmM+Fto9X823Vb36LtkN4fQjmurI5YuSkJOTMmABKlKEyJrkr4YZ9/XIDEBTdJdPNDIH8NeJORJG4u+iNKyXj5ylN+EBsiYw9jZDOT6xrUTUix4rQLIeG9SlKMODu2VvWBEWklt5G0pBLeNaFnNcZWjwmEomY4rTYc4+YsEMCVDnn97+q4/LCuNv1YGhKXJVir2sRDX0haNTryBImSO4xWC+M+XQCi9xFxBh8vRLFZwymy09mO0cnGZRO8k5uw9i/IbpMIXyRfyIYNHM/YinF0gsJ9krh07FUdxfPFrGfOE/Dzd4iGmfZjLencLADcNHTU8tfUvN9aZb8b3hcg7lP/z5BaYaLAEt3zHHl7fIRRD2lD1qy0JK8ysq2hrhIOsrn8OZWTSehjinV8np9xvscOMJWy4uvXOvbm19ItVZWc3tBOgFYvkWmqexDdG0FF97FGo3YBbtABfgLVblS+RLbT2YpmRqx6IuYtyaQmTE+tjyqLyj4ZapCXyGWgMogeiGAjsh1vOaWGGpVje5KwSLiRQX2zuPK1WPllG0V/GV+DG+d/w86cLVSPj89p7S5mzvkIneBMvNxAvwbjmDcH6M2sPtcrEbFDBppW9Kn4RhUEaXPZCCKUQO2FF47iMV5HNobtZ6JUgNYLLOvESPWYjF7RCfx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vrSikIz8rAqjAjWYNNwpUJHpkzpZlAutCTmlQHEF9nj9Enw/76O6xZaUhX6cHtnbSOMmt0o71ZR6etSN88hO3SpSCnuDykAdOcJQoho2zBkz7YNpq1LM5e6fDUS5DCtEXDWrG1rZwFHvu8uOB2yGd0BgSwFsZYBPooTiu8yHet6dgRuN9QQFOGLxY8qKsn0rD32KbkPhAdcInNL5XU/wxYjMpZCEK1iHwd8fcKeqHoXE2+f5dMdde8NaI96w1OAkOmhP+Mj7tSLEp+n5h/Bqod5g7D4t/ij3IlZlPtqa8XUK/1kfKtykZ6BonyQEA= 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:B/HOK5SjzpWfjZLs+SjPHMM0jewkz4VYF1mNn7yr?= =?us-ascii?Q?ghmaF0yW9wpN4fUmcybEoRQ5YCBDziiXmLAfP2//39efcCsrzOxZ5hPA7bEp?= =?us-ascii?Q?nl6UB1srVbIYCSAxhMVzxvdn44fORkwrfypN+9EjYBWK/9hhW6FobOpwoQWK?= =?us-ascii?Q?TkthzokL4pZDgVg4n9kYAl0FKOc6/M2BR2XfoGPmK3mTIMIw+8QKRBkg2xby?= =?us-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728Bem2SpOtgXLKT884txbx?= =?us-ascii?Q?Jhs5clV6NGZnBUShaXCAxCzLXMg1oYVgWUZrBbx9imz88vYWTJw/yLCwV+5y?= =?us-ascii?Q?xY67DTx9BAnrmfKMsgrwdDCxm0yg25d2kp1i5/t8KQoZGsWDiTK8TXxs3w3i?= =?us-ascii?Q?khPICNO4yli0EE6Y7/ic6pVL6aYfMjr04kLqWAJt?= X-Forefront-PRVS: 0358535363 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4630300001)(979002)(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)(6666003)(66066001)(8676002)(50226002)(48376002)(81166006)(7736002)(110136004)(2361001)(2351001)(5009440100003)(189998001)(5660300001)(305945005)(72206003)(53416004)(50986999)(76176999)(50466002)(36756003)(969003)(989001)(999001)(1009001)(1019001); DIR:OUT; SFP:1101; SCL:1; SRVR:BLUPR0701MB1714; H:jerin.domain.name; FPR:; SPF:None; MLV:ovrnspm; PTR:InfoNoRecords; LANG:en; Received-SPF: None (protection.outlook.com: cavium.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BLUPR0701MB1714; 23:gVZnwwNBQHAqgnCIEBXU24+NVz50WABeKA3VyU0?= =?us-ascii?Q?3O/zdouM8wh5GswnL8Z48k9DM0aRBANuOln5jNg91FwuD4R8qys9uXd6aRbh?= =?us-ascii?Q?0oTLRzi0UsEHPEcAW7XDMSYqqCgfHEftWr8qV8MBb3xGgG69q1KN56xeWyG3?= =?us-ascii?Q?FG5NZrov7/Q8SK5YDQEsk6+IW15WyZE5SsBIeShA6BLuhr9DpjE6XXemDDID?= =?us-ascii?Q?WSTRzmrTcCxoJLv6XPwDLahSIKveEgK6DdOPjjKX/8WWQPK+gtb/pzh9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qa2OO9PdkelN41uhVI1PNlcczM?= =?us-ascii?Q?8diohHmKBccDonaKU6dnDfMK7hl09LYu+fJQLZ76SrBW/y4AOB+oVdSbAxXv?= =?us-ascii?Q?sPSLHizRQqXprOfngPMJDfWErVYHnJhTzWL4LzbfJU2SYJRQ9KKu0MXO335q?= =?us-ascii?Q?OYg=3D=3D?= X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BLUPR0701MB1714; 6:RRCX/pQNlKXZVpKJAW1oojazLoTp6KBSUa6STqxq?= =?us-ascii?Q?2UJX/rRTNUSReNOYhrt45seqTclgPnLpsYm81qb1cf5kXKOYg+qQOYc3pav2?= =?us-ascii?Q?PS5Q87XkxWq2FFqeIhMLpv42TcQXDe2XzCUCiGyfUgOFMhYCJP9mzr13o5Gu?= =?us-ascii?Q?eQ4D2uUoA//yo99evUP2BwVvbgRMpKS8CU8gRPqAmDirWR88AtNOluNqpaXB?= =?us-ascii?Q?7WsU45zgllpVRFvVb9nm4wJS5J+djiGtlXHpx2NErylXJMwfXyDVsA5pXPmh?= =?us-ascii?Q?lZ0b2bly+3bvK57yDmTVWAWXOG2JnVEGbUmSsGKMEo9Lpkgtx2DBRqOQ2MUV?= =?us-ascii?Q?GraKaQ/li9qaHtGuM8BovuREsj7i/1ZgBNaKi338IwnOCAq5RUiiLBw/ed+u?= =?us-ascii?Q?YaOhvc3BqWmNKdlaIojDkSXbpRG4PH+1kBg4HLNxpcNuugxUFjE80/o5GiT6?= =?us-ascii?Q?Or59AOykTcAqUL95VTumt3AcOrvPGusNaaYSXQGncaYsyA+mP5Me++6k3jyX?= =?us-ascii?Q?TjXffV65LPK3wweLRS3ct2+WdznK4bt4SSrbBBoSC7+RjlzwcoR/y29mKDx4?= =?us-ascii?Q?y1WO4MLKoclhhUmJHGsChNWNzncIIzci7Ce9xMh2Z/bM0tI44uj0xdYuRzBE?= =?us-ascii?Q?TJRjbRTe56HlaWG796dlkL5EUKzMHpUii4FZZ8TgxrlLAfAqyO7nCp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99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; BLUPR0701MB1714; 7:PtHVeq4ctUB0a983dLQRwF4+TajzAHj28eJbZCpBbhftnORhNU9n1uINe50gckbHdC0wx+E+N+mG7tDL1pfiJchP6GXyAF4MijvT3dL+VgelosfmmzUherNozFtLXOHjpE756f41rA/eOdFv5r+4UCCGhKwfAzuh45Ln3rHE+PA9H7qnl+m+VdTis7jW3p9FeKhCtJmUcUXDJXnL+ma0CBB+CKpqWooGJuRnzMFdYmeRMtwoQXeEJqVWv8IWbPdejdBuV0zmHLTKrRMSECCgdN4bRwYMkZ+ISOTeMm4T7NLPNRAMMq8MZSLUm3oSs/ASJ+2TqObLGw4jevvBMf6WaAMxBcXPnZlkE6y8zmgo077lQRv7wS7NTTcf+PmzrlUIC5ciqmbsXc4VflbbuOaUuAvxtVFNSjDnBAoE699OFN6yZLqQcKeeDgVZ1YBFjdGNf2ODzCZiBkNhPQwhs3Lq3cB+n2c9pu1qVv3O566nDS9yofGc6xkd/RxZAdvXnJnx2v8A3hXCM+Hx3PgXtqRI2dlqOeql8LSjIk6IWgFibJoScgt6MEudeL24BrkqwX9EWp4VrnwxPqdiGVVK4B3m6Riowz46MFuw7feD1DR4C6vFzTGp5RCTXLuyN/koFPTbZD2qWgxQQ1Dh7rP4TupdbhyLoVJvf9grt3i4HB7Xn0hdMlVS5nXo9DhNx8zGvY/PffRRM76WTgO1UVafFanMS3v1T9bpBlqt5XFVifRJDQnbKTdVPz0wKpHBBEtIx4rBv4LY4kNdTVx3s4nQ+wQXsINx7eHknq3Aq5Cz59a/lAc= X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Jul 2017 04:54:22.6501 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: BLUPR0701MB1714 Subject: [dpdk-dev] [PATCH v3 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: Tue, 04 Jul 2017 04:54:29 -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