From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM03-DM3-obe.outbound.protection.outlook.com (mail-dm3nam03on0072.outbound.protection.outlook.com [104.47.41.72]) by dpdk.org (Postfix) with ESMTP id 725905598 for ; Mon, 3 Jul 2017 21:14:43 +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=s006/8Lo3xEyiJVjAJN9dD+WkbNt0QU52zkZbNIifCw=; b=bWedqLencYcySY6UIE59sFiPjy09MqJ7uLopFTGQ1df/CkHnhNMAygNODP/FOshGxwk5nd64rdccrAX5oyG+EtCAHRzqixoz0O5rm/T0HRuP3LhO7HqVT7FQYUio0B541+HHuVFSKdMOt/vMTSMb1lZMlJq0yJxkj+VRkXlcjJs= 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:38 +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:29 +0530 Message-Id: <20170703191402.3638-2-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: d4ec23b8-9a99-4d04-7a59-08d4c247c228 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:uQR9oCIyvNIYOZRZ2bfQIM44dc6SE5PdNuEG0PXy+XasKKKNDyutFO7ziQwSSvosBEN5GL35rMhzfRNGwcoTMn1tOkEiLPwWegxSiWDjP3c8Jl4EVnWSVHasNChF6OMwXB6rYAi3yEdZhyrdduS2xMq2uWTCQpg0T2857vz3nj88SPX3hpBisIXN0yRSUOGihxTlLCuiQsc569qjB/RHaqhFln+f3YOXiO/GKZJ9y3xfCfgQ47u2vUMGV0fOJmA682Gj0BMP7VC+mfI0xP6wdQ3c4HCiAowGScs1zUyRYbpdLXAwjF/5+hoXHusjSELYcluxxAnzMzxqfERnbpdxLcYuMN5r5Wy5W9xKBo4338QtIPh19gmLOnK12cWoNerHw1mX1mc5JumAoi9a3Du26/hEP7p5jn20QvcSmjEUYYA+/MPksxLy/+TX6sGCzzuZTkZYXyBR+rxbjpwsUO7Oxl2AFTa/jvBoEDUOvlowo7xZBNLGvZEBaaFUFOoqRzteyCNLJKOJFAYfQaunp52bBK5Oh8NArnjUdEKl3u4IqavhsLAHX3GiYuWsOOkYkK8Rompbf4f1gLIjAmxkk6fQCzG4irmgNsCm0tuo8WyATLkcjnYGZ65MS1RjhxocDOAH97cGNydcDyYbc+NLyk23F/FLE6PXhCq5k9Orq4RGPJA0PsyikbndF5gKPB+lDhJnj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lJdYIEEB+Ow+1hcJZ9ufZ/AeNNvoMH/KuTUrXveTl7GjoOfguORkI10uwrc75lKriSIDuLtB2w/eFy8RHwRWTgdyKmI08hAjJbXYcQoojI+huyJoFQo50gy+TNxP6UDTwGsNXUdH3VO5PqU3PqYug6w/o59/JdeRJ/xy5eTIN+CHtxfg7G02DOTh7NG608+Sd87JmruStCoM16jinbcX//GX4tThQHVGyzzJ0HxMCC7WekEgl+bweL/6Adq9TAmukNzjcsqd9Wg6Pf0t/zpc= 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:jIOE8QDrhplkfGyUNJFdkawy9x1l+FtMuDu20P5K?= =?us-ascii?Q?mm1dNNhvcADwvT+Go3c9Cy00P1xDnCYfC5UsWo0xrrS9ejehAduh0YpW6+cq?= =?us-ascii?Q?wSGgSHPr6Iu+uOQXQEH+9n9WkY9GA14xJ3LP8Jtxw4m7bC17/hSkhZgip+zv?= =?us-ascii?Q?/yWE5V+VoBHma4bjTc8b6m0G3RM1PK9Tu/r3vJY5rVl5sU6M9toH8V76uGfi?= =?us-ascii?Q?ki0U9d+OzrMJMqUIrTz5bkHrLpCnEbtcUmk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kc2ind+b+DHIBsSaO2J+uoG4vpaHy1TuJ5d2IPdI9Ng?= =?us-ascii?Q?X5LB6cb3KZy4Nlh1qN4oMIpifMkYgnHdj2qkOF/+wlRRXtlSO8zxti/yt24U?= =?us-ascii?Q?o/Tbi3QBsQkB98oKMRl2cJyoGKhICdMdC//Ig3lA?= 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)(230783001)(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:uo9oZF6AM2eluCl4WzFvhuK7AcigFMLxj+GqlWl?= =?us-ascii?Q?hiLqGR7SCKUCUJxXNJewEeRhxYJzG08tpPuqTeenRH2KoPwjNTbMVSAt/Bsv?= =?us-ascii?Q?JsTQh6hoy25TcMJwnMAaDDgsrkLgu6DRAi7NOkHauh4D2eY63Z176sscUVcn?= =?us-ascii?Q?i57Jt6KOQxNoi+cv/3UZbU0oAHewNAo8WRSobQG1yv6s1u5YGRQlULApQLfz?= =?us-ascii?Q?qyT8uyp25GA73KTu5k0t3m7kpywRqdaXaIc1MeAWfWK1lMkKu6S3Ui8wf8g8?= =?us-ascii?Q?JdqasMnX9RHsezoGfbPvRcM8WxQcKiZCNvx8PtB0PDXNHszcEwJPjt0gSgLW?= =?us-ascii?Q?hoSUsYbmSyNBX1sKMtEBqAYI32fPl6pZyfuysg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TILGpe7ctwGfEFf3ISDh8C7qHx2S0DQEImq3mvFrEsXDIQwvqE?= =?us-ascii?Q?9ijsOb6QQn/87nxxY+zWamkzwRPyQq4r2W7wFHZUG+Sv3TvY4KC2wC1KNcU8?= =?us-ascii?Q?3Zk=3D?= X-Microsoft-Exchange-Diagnostics: 1; BLUPR0701MB1716; 5:AnOsIA95V5nz6uOfe8qWKXh9bm3uXWX77LZMP92TNUX08ibjpKWx4Z0Oy6u70K+qXP83ogV1iM9SbY/rMV7xRkVArB5vdT3oIvZYqdN+FiAyMNxW2j7wNyToRbdqx4A2EMFW2c3oZEN15Xg1NLYatv2TNPGOf92/f98njtN1uqV9DPhfKGpXxR2rz6aVpZSj0YeqSKhmRm7OUQDWDJQN3ec/Pqec1vwRz8CsQP8oLIGHI1lE5jJQ8CfNykVD6OWXqevN33p4H/T2grI2ghjQn0AnUexb4E+abL3o18pcPfr3kMGlINpsVC6S4770R3/HS16LONRuIS2y+DbOdU5A2A0JHVnkOWH8zoZaAPJHULPLadG8Ni1V/iXH6QVSvC0Lzcyro5zpFj8iviZbTiFGnwryOVMWdX9C2+LlWI6kUl0gTHVBiQ7VGZYIXTPmkg06iaaYLIpfwBadWXzUizBEvIqbxG4gLopRKhnAghM42GERHZKdAwqQ2hN2HD1LTvot; 24:LOSu072pBEVZJYgtL9Qf7AyfdX5qR4KhRUNqLDqqzEKwrh6BwAAKaiW1T8kWv4BJ8YFG9OrgtK5Upf0PD4A744YY+Qd08PjH5PvX2rL6dVc= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; BLUPR0701MB1716; 7:XEy55MIzneg641rOLqX16Wf97VS0BoO4/6mkOeAF+/Zn3N4VUmv+Oi9z4tE1gSJxYb+zgpnyv3sawa2nCg5POMAdA0cP4kV9ULOgwi4VUv5Oaqw0Ib7wCD3HCPhph6ZtWXjwc6Jq07GcKlwfwse+L1sfJXwjyEpwtLRnTXMIuRlS6ghCytNuky6oNmbDHHIyVBGJjQneroFeiF8COXyxou2ZYGGYbspTnkbdKIvSyTRVFQJjokO4Oi3+zhHSMmMBqTuTLOLk4PaS9SXXKEpJOMNe3oGJhsoxxHvZ2r+wkk0mEwSdOffO1cH1SF15TZLPX6n6h6dYlkGgpzi0jXtcGNYGXEXFOer93nUEGWEjnjcKxtAXt+3PKHcYEJjIQCjAB8MuoSipSZrvl06JvfxC77p7sbKqa0q8uwdlP5UdDE2yKBavo3nycoexLnmYzLyoLk6gUQxUD0SmNtF+1VGFEQd3QhlxgDdzfe/AVxFJRfBx4yKJPXmGS/kE4VW6xC7fpdhS5mDSIzV8NFdVoQmfZU9zSuqDUq0MuV+esmiMkwympANN8ZhJjx3+OlHPgzZuHOmTakHtAarOnXMRBvAqTrSJLZv/1EFuYhuDje5g8c4EN92LEoLRPtDmSGbybklehHrOFYIcuFDGGv4QD+mx80KBnK9kU+Myx0rnMtu+ZvIs38uvvVFZeooaIw5LT0mKOedpCGxKd6sJcoCqNXxqTNwiTyaOyVw1tY8A00wj90wzGPWAa8Q0MHVAp9C5iP676QjPLjL/WVssd9TOtFw2ls39Zeg+3bGuQcla8N/0GXE= X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 03 Jul 2017 19:14:38.6042 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: BLUPR0701MB1716 Subject: [dpdk-dev] [PATCH v2 01/34] app/testeventdev: introduce dpdk-test-eventdev application 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:44 -0000 The dpdk-test-eventdev tool is a Data Plane Development Kit (DPDK) application that allows exercising various eventdev use cases. This application has a generic framework to add new eventdev based test cases to verify functionality and measure the performance parameters of DPDK eventdev devices. This patch adds the skeleton of the dpdk-test-eventdev application. Signed-off-by: Jerin Jacob Acked-by: Harry van Haaren --- app/Makefile | 4 +++ app/test-eventdev/Makefile | 43 ++++++++++++++++++++++++++++++++ app/test-eventdev/evt_main.c | 58 ++++++++++++++++++++++++++++++++++++++++++++ config/common_base | 5 ++++ 4 files changed, 110 insertions(+) create mode 100644 app/test-eventdev/Makefile create mode 100644 app/test-eventdev/evt_main.c diff --git a/app/Makefile b/app/Makefile index c3aeebf6b..7ea02b01a 100644 --- a/app/Makefile +++ b/app/Makefile @@ -39,4 +39,8 @@ ifeq ($(CONFIG_RTE_LIBRTE_CRYPTODEV),y) DIRS-$(CONFIG_RTE_APP_CRYPTO_PERF) += test-crypto-perf endif +ifeq ($(CONFIG_RTE_LIBRTE_EVENTDEV),y) +DIRS-$(CONFIG_RTE_APP_EVENTDEV) += test-eventdev +endif + include $(RTE_SDK)/mk/rte.subdir.mk diff --git a/app/test-eventdev/Makefile b/app/test-eventdev/Makefile new file mode 100644 index 000000000..4f7c25c38 --- /dev/null +++ b/app/test-eventdev/Makefile @@ -0,0 +1,43 @@ +# BSD LICENSE +# +# Copyright(c) 2017 Cavium. All rights reserved. +# +# 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 $(RTE_SDK)/mk/rte.vars.mk + +APP = dpdk-test-eventdev + +CFLAGS += -O3 +CFLAGS += $(WERROR_FLAGS) + +# +# all source are stored in SRCS-y +# +SRCS-y := evt_main.c + +include $(RTE_SDK)/mk/rte.app.mk diff --git a/app/test-eventdev/evt_main.c b/app/test-eventdev/evt_main.c new file mode 100644 index 000000000..c076cdb62 --- /dev/null +++ b/app/test-eventdev/evt_main.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 + +int +main(int argc, char **argv) +{ + uint8_t evdevs; + int ret; + + ret = rte_eal_init(argc, argv); + if (ret < 0) + rte_panic("invalid EAL arguments\n"); + argc -= ret; + argv += ret; + + evdevs = rte_event_dev_count(); + if (!evdevs) + rte_panic("no eventdev devices found\n"); + + return 0; +} diff --git a/config/common_base b/config/common_base index f6aafd17d..9e3fb4d79 100644 --- a/config/common_base +++ b/config/common_base @@ -733,3 +733,8 @@ CONFIG_RTE_TEST_PMD_RECORD_BURST_STATS=n # Compile the crypto performance application # CONFIG_RTE_APP_CRYPTO_PERF=y + +# +# Compile the eventdev application +# +CONFIG_RTE_APP_EVENTDEV=y -- 2.13.2