From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM03-DM3-obe.outbound.protection.outlook.com (mail-dm3nam03on0069.outbound.protection.outlook.com [104.47.41.69]) by dpdk.org (Postfix) with ESMTP id DA70B325A for ; Mon, 3 Jul 2017 21:14:47 +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=Pg45eJsCe8QzNERKZTj4OWEs4JLDzoxQRUdxg4ls+CE=; b=VMZ6D8Na75ctPiL0yRhYhhq/CuYrohYzGl1/0rA77UOvKz0OUoHCO7KRNkOA+RHFUE9WPM8eR9eo0lX3Um6bW2CoLWELffAKgHtoD4rYgvCK3ky+U5MH54Jr4Lq9IQe2AgiIvbQOY6FC20rsuc8HKlynRVPibU//GOD9sk7sdFQ= 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:42 +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:30 +0530 Message-Id: <20170703191402.3638-3-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: b013f2fb-71da-4434-7826-08d4c247c488 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:rDYXumtshheVL5ikDqPvigbfri4jKOmGG3xgz7PLXXI/7HAutYjPcWTqAz0TTXH33GSXDAV9wZwH3Baq37uFx8MM2oUZC9E8XIBTtHD4GJAdZpQKQp90TUMPuFxeVTmRh4FOF5FkVDBxKkgasOqRK7S8oC3rvEdWRS/fslS48I3LBIc7rREjFtquLQy9HXOSY6rbifpS4KTsptnr1y6d5WeDqxAlHT/yRExZjNycSu3lloSPqM46speE0ZJWQGtHuuGQrmiFj5NurVK6uY1xSN9jxH0dY3KxcnGpyHmLttzhy5NBrAS6q9r2T0SfDrZyRcA7MQCQnVdm8y0L/QlWMxZ4pqN/+ye5uMhA0Jw4ScNr1AS/WA6d6S/ijYP3fqCR+IvY+T5nrupclPUEGyNxiS7iwRlEOy/S9vGeGccpw9E6Jb4E+ViuBaMEwkUcQ4tqXnPz+e+SFvcVKTwPX/jjfdab8a3sVGwWnbT9RtteGQc+MjNNG9i6OO3oCPVA2VcpWFpLvByD/Ka7db3Ndkpvl7F0WDpv8a6zVZ4sOiZ8KtF6k5pILG+PvoAe2BQpmNKG/YysONNRyufJIkgsybpq0yu0VxHl6Rm4HZhQlAc4cEh2GvTQhKd/QJPPjuc7Wmfi8gtEPyhXchmJwrG0ZC48VFrL4bVDXe6Rs33oSBFi1nLZK28Vn0yesBzlKBQBIfVtInyT37GM34A32qt0Ho8AekG6pu+210GnDTL/eREE+NajGkmzBOPV3WQyA33gEtTv X-MS-TrafficTypeDiagnostic: BLUPR0701MB1716: X-Microsoft-Exchange-Diagnostics: 1; BLUPR0701MB1716; 25:rbzdUVuvU+B1WI0uf3eJadFkOQEDjZxauY87oJu7qXVKgezLzXoIBQKSwmv37y4KWDtL1kpctHQq/Qu7e7mcotSA2gr45bOQFnzkUf4n66cvJmoW7HzLhRBXJ6Y9LLn+aiX1wr+DJknTqMqo+x9oNuSgW/BkJ6JPAVZJuj8z8roee4UPK5g8k2qPQ4eDMV0Zm4a05XnbL2274b3RijmSHmMLoLk8lzTqvj4ukuRbc05L+6yQDU93ET68shYNyvC/xDwUm27bmEGSHf8k1d4zh9pUcxU5MlNqKF1K/33fdDrs5E9iRE3toGlcjdv/zM8CFibhnto11SkkJUY3ZEOJZibbHDPAE4yb0D8ibM8NcTdWG3m0oMi8roMoks7FsxdRCoh5R3M9kkMBChwMxZ0hpa5Dch97no5jYLbNeJau22KRc01xTCHuuIk0TqXTlynyYykVdvnjnn7ryToNbPd7I8Ofm2As2f2IAxGL+69zX8+DVoIHBMMumm12G/IomXhRw0JgaJmxr+LkeCuZv59Q91dHtKtSeFN8cXUbq5anT2XT4o0DtMroMlsPqXPcGxiTROtL6WVMCBinVSUjWL39n0EmxebwVFmW9nAKuMp+9kjQGGJdltJ9BKoBQXWgo7bl6GkVuv/8q766zx/JxXSqv6izdG4viMpxTjmoulpbVbD3w/akaBJpK6ff6bUX8G7Ei+Iq5R3bHI4lQ+d7VVpNHl8saf8uboUgSjeShQDwCizOl1bQtuce54rC1UAk7iwCiUaiv9JbOWG+TNygOohz9hLJd8MEshL2okMZ3tIpStzQFi7QZmy5B/nwYKIizVir0b1kcGDwyUA/NDCYHZcOYhxOvf1+V1aiJ3TpKds9zh8FpYJeaZc9Me5P/Th0C5lJIN1/VdGzIf76Srtg846Gr0ojCI2udyi586Ic7MJTstc=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BfMnnQBGLZg6BpjOV9hyK3N4kQnfsQMiC1hXr2PrOoGn34sOOKutZCMsXWdAsSXG99spcXeVT4sw+wncTGfOfeWaq+gTlxbil9H8Ij9ZbaJiQ5+Kv2W935lj8/OMoEMlXoD6j9cbHCPrALn/Z6K1LQDAi6eUHftWCg/5Wh/wP0g7A03EahfX864cUucjqYVOJRlEzAIEy64eFH9ynkToDVAS0gbXk3gv+/P25SHyLrA0IicZH5QjosRYE8NuWlt7w1P0F0Ds7snBtqsi+qTuRTdPN8ggXMSORp6O5FHlLEZRMTlAZkAMASwvtaf/jF85P8N9xxF7CgXE84OQZmQFSiOSdza4A4FZifyO0= 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:9aD1W1ai1HQ4rqAYM4TynOvirQv/z4WfkGui3IGV?= =?us-ascii?Q?dLqGq0IvH8cjzK9yFvs6kGvBdebeVU/idYAXxV+g0OkpUsNiLuXR2+C8Emtj?= =?us-ascii?Q?vUtL14u8NH4P4RE7arL4QJKRx2z6N8ljVNBrAhAJZ33ff+Xft/5ncgFt1AqZ?= =?us-ascii?Q?mhgPSHRJ/FjrNNp4StwafkRVStobMsp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LDv470gDSeAslXw/clPvkk/8ecQK/p7POdEv5itmFhRY8/NxLKGN?= =?us-ascii?Q?XujIzXAg3SDgLu+BFviT09YxESK9HhuQ1vz3w/M9l/avH+8NjITLoEFBIlKM?= =?us-ascii?Q?NpKOl1Wp7bnofj+nNFkN2WKOZ55/opEA0RVYR1EBNQQ/Azif5pvxm5R2FS8y?= =?us-ascii?Q?njEEQhddKMaKTv9OaDFfm1o9ri13uU8Zses5tRmS?= 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:AEBwT3uXhInlyTta8cb+ayPi1vqQLUX0ruaRNNt?= =?us-ascii?Q?PL72bL9vVJW6pT50liB9AhL7zQuIdUBSrXfrIa23yjuhaG5BTYhJZPXHvBRL?= =?us-ascii?Q?X17vs3PWjEbNrHNzt+ScBdrKBd6EJijW0HF9smFHvghLvCw98ES/LyHRAkFd?= =?us-ascii?Q?NMb/Nerhro3D+3N5nKrR4SAPdDoHyRMQe5wYr8/2yVMUUxcP6qAo8Sq9q0+4?= =?us-ascii?Q?fLBBZ67lv5hcjKElw9FO7Mgq3ffi6HQgNCJM+Gbx31jwj5BfAKGEC823Zb7v?= =?us-ascii?Q?o6C/ER5wZzcUGHHdxcwg+UA6HN2EpN1VGWt3xj3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/2UIQYyFRPlhqRYyeAI2Y0J+3B3gsZ1paSPKbVWRpD+NSW4ADV7+Y6U?= =?us-ascii?Q?lC0tjF4a6EZIGJGtXel5huB7CcRPDcoW370VQDEbI2J8F3c/erO8c9nhBkn0?= =?us-ascii?Q?YUMAfzc7aH6MPBfSfiFCZholiiZ0ZK0vtxwAR0vadcPNj8+PTT62i3/041kj?= =?us-ascii?Q?Mdk=3D?= X-Microsoft-Exchange-Diagnostics: 1; BLUPR0701MB1716; 5:TLOLWJlbuOSUHewkesmAGPF4rTMR2I1FX4VvgGolhvC+YKaHPP1wGdnup9dBtfIpShaA7xCs6rhgC0RAaodIXWuWKTdJq0ukankS1UCtI14OTDwxsx31pWjVGVgUC0sctawEO58iyEL6S01U9JDFovu3/1mtttUEgQ+79+RCzK4QLdC1Laiz3nN9LNttRQZUnvUBxyv9IjfTBCGu0Lywb5o11ci6XI87jxlVo7M5v1WBm81IkmMjC5PjCurOPupOrotFmUaaHWEzQico4nO+3CRBGxDe36LaAi0ojbsRrS5aWjGfnAEQ8N3kKfZcquM4u8aNX5urrzpKPJUmXjZkom/sEUNnIvYsdbyCYx1tzpiwsab6gPjWeYx8XaGF7QO0R1gms6AltMR3pUs5uR1ob5liTH3/Egb7yPu7m7CJq1UtE8WomqmH5EGlNWmKp0oPYEjxueFGUpS6kfS7sUpSZH4TNNnFZq1S8tE8TbxFaN8/fTVKLP+n2CYQIeud/G43; 24:eQAriacEwmI30iC8I05M+Y8M9FTxlxlVrj1HIPE5BbIuEMYR3c/2P8MYG5U+Lqu4mRS4YqVwKROvQ8DQ2Wgn+BQ1vjby/RSAI+++IAspb2g= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; BLUPR0701MB1716; 7:ZOFDSKvCFoFJ58FtycOczzhVnOc+FzeCED98zodULZLgL8CVMw1H0v23w4L8j9odZ5LKSuXknBQOmXYNLYA93KfdIzH/kWPA8gJLMBPYniinfygOiPiw0AXuAWhrm1Er430HtEHiR/XUajIuYKM7mdDPoyeOP6+f/Zv1UFHsN/Y4+jAFy40rK+XofHe5shZG7D9FU8OIUeUjh4AW8kU1dpFetyqkIWlnrWo44QCU+H85h+2GFrP0nyxQf24TZWhV449eSdgfKuex8QZtzIAUd/7AYVPDy8Toh5lscZ8j45ddVbRedapZWdoY32wRdNFcIvVFWaF77N0Y/u4ar463Ix1xPW0YKDuv/6Djpx5KvLhG5ApF5+0TQ1SpRIUepVx3bZIcLyvBpkI1S6klK1VynN9yyqJiVksRebLMf+sX/4sPqtclWbUEQE8KhGqxrU5dVEQFYFiRzhZt9CNTUDt2nU4FTJCFrml7gbLlcWRTqSa3wdC8BHf7kq+w0G4pDZKfXaLXnEPS3Jew6wmS2evRlr5/OZJEMgwyJTWyZRJYQbi3HLM+FJe5vRPQBpRUfmfZu6Mzs6wt4ESm/W+eJmsG+4jDytuaX+j1CsefaCpn1Vv9FShBe475sBnJpBzY75k8oz1eZOvCjMSsqBy2gjVHXOwZbUouKX6z4GG2ysVsL3P/KiobzRSlACzKh2MlKgf7ccmncXAMiseRmTwFBwE/d0lCD0/OzhE1yvTKh5C46tEsVfTd/eQ9RgeHTxzrtNgHr3Dy/UdLPs4yA3FYDuwI+91+rmC4pBbm3oZ6qYzH750= X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 03 Jul 2017 19:14:42.7138 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: BLUPR0701MB1716 Subject: [dpdk-dev] [PATCH v2 02/34] app/testeventdev: define eventdev test ops 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:14:48 -0000 In order to extend the test framework to realize different use cases, The ops with function pointer callback scheme has been chosen. This patch defines the callbacks for each test case. Signed-off-by: Jerin Jacob Acked-by: Harry van Haaren --- app/test-eventdev/evt_test.h | 97 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 97 insertions(+) create mode 100644 app/test-eventdev/evt_test.h diff --git a/app/test-eventdev/evt_test.h b/app/test-eventdev/evt_test.h new file mode 100644 index 000000000..5ec7a2e32 --- /dev/null +++ b/app/test-eventdev/evt_test.h @@ -0,0 +1,97 @@ +/* + * 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. + */ + +#ifndef _EVT_TEST_ +#define _EVT_TEST_ + +#include +#include +#include + +#include + +enum evt_test_result { + EVT_TEST_SUCCESS, + EVT_TEST_FAILED, + EVT_TEST_UNSUPPORTED, +}; + +struct evt_test; +struct evt_options; + +typedef bool (*evt_test_capability_check_t)(struct evt_options *opt); +typedef int (*evt_test_options_check_t)(struct evt_options *opt); +typedef void (*evt_test_options_dump_t)(struct evt_options *opt); +typedef int (*evt_test_setup_t) + (struct evt_test *test, struct evt_options *opt); +typedef int (*evt_test_mempool_setup_t) + (struct evt_test *test, struct evt_options *opt); +typedef int (*evt_test_ethdev_setup_t) + (struct evt_test *test, struct evt_options *opt); +typedef int (*evt_test_eventdev_setup_t) + (struct evt_test *test, struct evt_options *opt); +typedef int (*evt_test_launch_lcores_t) + (struct evt_test *test, struct evt_options *opt); +typedef int (*evt_test_result_t) + (struct evt_test *test, struct evt_options *opt); +typedef void (*evt_test_eventdev_destroy_t) + (struct evt_test *test, struct evt_options *opt); +typedef void (*evt_test_ethdev_destroy_t) + (struct evt_test *test, struct evt_options *opt); +typedef void (*evt_test_mempool_destroy_t) + (struct evt_test *test, struct evt_options *opt); +typedef void (*evt_test_destroy_t) + (struct evt_test *test, struct evt_options *opt); + +struct evt_test_ops { + evt_test_capability_check_t cap_check; + evt_test_options_check_t opt_check; + evt_test_options_dump_t opt_dump; + evt_test_setup_t test_setup; + evt_test_mempool_setup_t mempool_setup; + evt_test_ethdev_setup_t ethdev_setup; + evt_test_eventdev_setup_t eventdev_setup; + evt_test_launch_lcores_t launch_lcores; + evt_test_result_t test_result; + evt_test_eventdev_destroy_t eventdev_destroy; + evt_test_ethdev_destroy_t ethdev_destroy; + evt_test_mempool_destroy_t mempool_destroy; + evt_test_destroy_t test_destroy; +}; + +struct evt_test { + const char *name; + void *test_priv; + struct evt_test_ops ops; +}; + +#endif /* _EVT_TEST_ */ -- 2.13.2