From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM02-CY1-obe.outbound.protection.outlook.com (mail-cys01nam02hn0215.outbound.protection.outlook.com [104.47.37.215]) by dpdk.org (Postfix) with ESMTP id 9F3E91B16C for ; Mon, 8 Jan 2018 15:04:54 +0100 (CET) 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=+8oEtrp5BFygWrO3NgcCu2/HFRK5Fo3S9GYgr9DYpE8=; b=c13HUzbKxG554OvlIVS2Z67hi1UHJXOVI3OWcET8uDIjb4DO3ivDxy4ODMSEJEER7dzF9bQAcu8pltXrhSdiLysoxMC775i8FkA1jHCUGmDS7KkesrTL3fWNwW2p0ifneqJYEKG9EhUXkwdJK3OCMCd86pBSqZ10c1rghIBVaRg= Received: from jerin (171.61.92.144) by SN2PR07MB2525.namprd07.prod.outlook.com (2603:10b6:804:6::25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.386.5; Mon, 8 Jan 2018 14:04:49 +0000 Date: Mon, 8 Jan 2018 19:34:32 +0530 From: Jerin Jacob To: Pavan Nikhilesh Cc: santosh.shukla@caviumnetworks.com, bruce.richardson@intel.com, harry.van.haaren@intel.com, gage.eads@intel.com, hemant.agrawal@nxp.com, nipun.gupta@nxp.com, liang.j.ma@intel.com, dev@dpdk.org Message-ID: <20180108140431.GA8412@jerin> References: <20171130072406.15605-1-pbhagavatula@caviumnetworks.com> <20171218214405.26763-1-pbhagavatula@caviumnetworks.com> <20171218214405.26763-2-pbhagavatula@caviumnetworks.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20171218214405.26763-2-pbhagavatula@caviumnetworks.com> User-Agent: Mutt/1.9.2 (2017-12-15) X-Originating-IP: [171.61.92.144] X-ClientProxiedBy: PN1PR01CA0073.INDPRD01.PROD.OUTLOOK.COM (2603:1096:c00:1::13) To SN2PR07MB2525.namprd07.prod.outlook.com (2603:10b6:804:6::25) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: c3fed6f9-44d1-42a9-ff20-08d556a0ca3a X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(4534020)(4602075)(4627115)(201703031133081)(201702281549075)(5600026)(4604075)(2017052603307)(7153060)(7193020); SRVR:SN2PR07MB2525; X-Microsoft-Exchange-Diagnostics: 1; SN2PR07MB2525; 3:EHR0GBYd+UGAoZku5ZWv7gg+gDvBjdhgP61Ybk9AjkpQr/IRuuGFceIOEgNvNOs2LsgBuOiDDI67fOYtADMq0DuhsGTs9Fmp5QD2GD3VAnbNK45SrSYgVTpHSpVDnLDlZboD+tcypVqkbOrDlsni0EKRewkbtTORjKsiCvLa4A6Mc5B+pMv/bmJpMGPwFxFe+n/V9hRimq2Meg/QZoYPAhrY6QcENOg+uT635QWwP3pI+qMd4C+asCZ5JcAcLUse; 25:sBQMvSsaJ342Brqdet6XvtiMAfaY/0L+Xd9EbhuGS8j3nzR1vGQ5/SciaK+BIFjwrRAOxM1OlcKr4QsJ7ZR5AT8lln7p99zwfVsNz+dQqYCC4qKPkJom5XkJNlrKZvRRjkaDDOwkEKNLg4p4wwtQRDNc5meHDaVIN683Vki1WQnr90KqefZPhGRgGBRrsiIJvZxbA+kadECRqgArwdedL2X2F2NhaqAazHyf+4LK/6m1kRWqu053xi2gJezl/o/agLL91MILbs7rwWEh6cVoVx1XSLQd5vHVrqsUfVNJD6CXjtEkspgN4xkKLm7XAajvFFt6xKY961x0BQZ4XWpR8w==; 31:LusgPr84gPuqm6/k9i5smJ7dORe7PdFLbSyh4Y1TJC63PNq6WP/QlgBLKFz+0yWJKKvOfqVLNisY/kw64qQnlIeD9vpsvf1UGIffAb9PJr+wagmz7By5kXTd3W22FxZo+7xYd6GfX0gE1a4wnP9PlJYUrEXzy8V8VyA8bRucZRR536LDD3oaZlGWvEVsNaJnAhK9duLnoumapnqSv0qz3/oI4s3Ic5ogshnEzdwrFQQ= X-MS-TrafficTypeDiagnostic: SN2PR07MB2525: Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Jerin.JacobKollanukkaran@cavium.com; X-Microsoft-Exchange-Diagnostics: 1; SN2PR07MB2525; 20:pilI+nzFsxom9iPmLNz3NUIeArLh3SyGnapAC5xFU2zE7A2YjiP3XGzzwO1Pt1ep0jRHTC1EzWeduvjU5YJ5Y+nNzKKdaqfhRV3a8AvvUaytsTWAhasDPSF50w6TMeSGuuvvXosEs86HInjVZns4G9+3WtSHieG72MtWkZ9w8OvhG3AOET/QzCBbOlFYIH1RD5cpaKkfFDzu0cs9g/kpjXT8m/1/yPAPSy59jdNwseYmFwrrqwffLAirrZwiFZwo1i8zhTf6cF42CEgCU21zDVgreG9K7SFTnM1nJyxoEBD977D+ohPnwPSY0Vk4O9xmgNIvq+5+WRa28KBTjxDTiD+C4G9rn60F9hxWL60Zr1uGMUN9dQxxHiGuNtN33+oUjUUj+D139hD2+pM/YNwdEBUw/gtwLmguEIoXDrtBu8AGPFTI5wOF7sIE8etrBHmV/ihRM4kloU9ZEQKpCpCNDo8aZc9xCiKJDNSSzksjbG6uTdXKNzFnKIbWvS3lrRpLtYzow9TNauxbc2ne4oY7ui/yBvtAorYAJDc/Wy8GHXcYzdEbzhoxSdQvChJRL9g5GRptQfe5Sj8vmW4LdSgYa4/vl1XkJQ7rI0Jf8cuo6Lg= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(185117386973197)(66839620246622)(228905959029699); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040470)(2401047)(5005006)(8121501046)(3002001)(93006095)(10201501046)(3231023)(2230046)(2102002)(944501075)(6041268)(20161123560045)(20161123564045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123562045)(20161123558120)(6072148)(201708071742011); SRVR:SN2PR07MB2525; BCL:0; PCL:0; RULEID:(100000803101)(100110400095); SRVR:SN2PR07MB2525; X-Microsoft-Exchange-Diagnostics: 1; SN2PR07MB2525; 4:GljVr7CAXiXZCm5Bwd2x7JttIwM3j9Hw8rjHjVDmXrtwnW/fYreeKCkTkaqpyHIVTuWrEw1F/G8w/UCg4Ljx8zeP9Yd7GOF7lN4o094oblK9cZlgOlB0xPZ2BbJnETrK4itxHmxMc6Pc+M2MISZTZVWs/ip6oDgj/BHO/vBalgv4WZ+VQqTf2tfkaS2bahNkNZBLrfcSeIHHr+MTAEPIJPQefUOMf39d3tIn4tAWL0aooG8PxgdIYkF6TzZ+awPYEw8QOQpocMe8fRsUHrmMY4iRX+D4QLix9Di+y4JiisPOn7Iy+PUHOi+ZuGDqzavPVjs2miQGnFs7ACkB+DQUF05EhehNpHcVUSGSV8hoiE2lAXe0t4adRhHluLGER/Sj X-Forefront-PRVS: 054642504A X-Forefront-Antispam-Report: SFV:SPM; SFS:(10009020)(39850400004)(376002)(366004)(39380400002)(346002)(396003)(13464003)(199004)(189003)(53936002)(25786009)(68736007)(16586007)(5660300001)(81156014)(81166006)(55016002)(8936002)(9686003)(58126008)(76176011)(16526018)(316002)(4326008)(6496006)(8656006)(33716001)(42882006)(2950100002)(33896004)(52116002)(386003)(6666003)(6862004)(59450400001)(83506002)(229853002)(6636002)(47776003)(6246003)(8676002)(105586002)(2906002)(33656002)(66066001)(97736004)(3846002)(106356001)(7736002)(305945005)(72206003)(6116002)(23726003)(50466002)(1076002)(478600001)(50929007)(18370500001); DIR:OUT; SFP:1501; SCL:5; SRVR:SN2PR07MB2525; H:jerin; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX:1; LANG:en; Received-SPF: None (protection.outlook.com: cavium.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; SN2PR07MB2525; 23:28vXALR0NIYNM8n59aZpSdTn0aRJiqgdvKsrW4cZT?= =?us-ascii?Q?dmOD4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mJok0PprlvPpyTEIJeyLwAh?= =?us-ascii?Q?wbPx3GMamsQLtD0uAXmdw9YdPo355UuYBCmxl53Cm1Npk+6Iedut4PhdAGw/?= =?us-ascii?Q?kb7ckk/MrA3PWFF2AjshpWfiwMGv1YzwOQ6zNIpKK0ppa70AfyyABx+H/zP5?= =?us-ascii?Q?E3pFL/hrvg3V7A6vqXhooLVhil0AgWTFWbUk/VxoA6lLVc8Jve/I7prwCvfS?= =?us-ascii?Q?PW8Wq9Yilq+B5uTxQIe0ywj69UwTj7i4piP8u6j+lofh16sFRLJn68F4pvZE?= =?us-ascii?Q?dOE0zLTvIHv9pGRQJ2SBt752NgJh8p6F4HmLs9os0ABOUTrslGj464Judebo?= =?us-ascii?Q?W/VX/YvVDfd+Hj84epnr8eDXxPMQPGva+xnpOdx5QSr48B76ITezpG0sDX0F?= =?us-ascii?Q?CcUhb/+IWBeihV0tZR/lSjEVuxZxNRi3PKOqOkl2yjZcadH++ojhmOKrnfOg?= =?us-ascii?Q?12qDg=3D=3D?= X-Microsoft-Antispam-Message-Info: voccB4Vb8MtwaAnA4d0NEcpR5jYwhGTtOImMiiJJmuN9XVMrmNa/0K7PypgmiLFEBXh2ps4q/QDe922fwIB6EJTUuncoqjAtBZTnRSwouDo1LhqzV2Jldmq7BOUvoOQx X-Microsoft-Exchange-Diagnostics: 1; SN2PR07MB2525; 6:pq2HzbaRiGjx8V4qNnoR+3WPTzBD/949atSHOd67aFQZ2qhtW1MYLS/pG5oIjmtV1LRSXtXL20rAY07mMEj9DKwBYkKyI8866U4zWiMJkrdsiG2v6ZYe+eIycDMinwrl6zCvF6eHGpPG1JC5XRJiTlpNRi4BIMQBxp+1jtqa4KCsKgM5nQaUdEjowJHa0mVTCtogLjHsCZM4Vipqx9f0fji/5NLj4h8rSvwIfBv4ajbWKAS/ANZeL/PSxE0+Y36/4pP32JzDPuTMq0vDLN8RTLYeX3FnQq1cAcldKd0+g5HfSCiFbLauDhFGQNrXRF/idI/HoNtgDQQDGzSqFTX9qMcG1ADJqgU/nRwy+Ywv/lQ=; 5:JSfMrRBHMSkbWJ0IQkBJ07Szdyj+GjZccB4MQg4eI/BWH5OoLfNeBFwyS9Y7HtFIVcdHynZPXoDE6cYAAj2cbdFf7WB5F7wPpRCeQUbTkpHQgMQOGjg97iYmHSggW6r7GhN457sLFRgiHvD4xz5S7xNjbtdXLkdKHtZsXGL5pQE=; 24:1kb/VcW8OqbRyALfKruinmHyxoQ9nBcWRCX6rXem/YnYCuq1nfDKawvRyUdfwYZuUenmaSyiHT4R0SaeO+TT+w==; 7:PylOGnhp0KGVtSeSuquQqBjtt2d10jYZOqV3S85kkBlvh7WcpNgZRtF4H+1IxDAxM3DQOfsNzgS2L53JpmYivK+zqoLpKEJdDKM8jKyIlaq72d+4o+MhIRLpctlsOk9DPtZLl2rmfmRgsJ7huRJDm6N6ANlxhLvIwk/6wNH35PA5dtxd1xqHy9f4oXt/k+BpNQhgoe7cdP6AlzwXQLoIexR5yADukU9BH4ThloSKWzaWvEYJVm58mW4gpJxPRW1z SpamDiagnosticOutput: 1:22 X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 08 Jan 2018 14:04:49.5569 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: c3fed6f9-44d1-42a9-ff20-08d556a0ca3a X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 711e4ccf-2e9b-4bcf-a551-4094005b6194 X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN2PR07MB2525 Subject: Re: [dpdk-dev] [PATCH v2 02/12] app/eventdev: add pipeline 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: Mon, 08 Jan 2018 14:04:55 -0000 -----Original Message----- > Date: Tue, 19 Dec 2017 03:13:55 +0530 > From: Pavan Nikhilesh > To: jerin.jacob@caviumnetworks.com, santosh.shukla@caviumnetworks.com, > bruce.richardson@intel.com, harry.van.haaren@intel.com, > gage.eads@intel.com, hemant.agrawal@nxp.com, nipun.gupta@nxp.com, > liang.j.ma@intel.com > Cc: dev@dpdk.org, Pavan Nikhilesh > Subject: [dpdk-dev] [PATCH v2 02/12] app/eventdev: add pipeline test setup > and destroy > X-Mailer: git-send-email 2.14.1 > > Pipeline test has the queue and all types queue variants. > Introduce test_pipeline_common* to share the common code between those > tests. > > Signed-off-by: Pavan Nikhilesh > --- > app/test-eventdev/Makefile | 2 + > app/test-eventdev/test_pipeline_common.c | 71 +++++++++++++++++++++++++++ > app/test-eventdev/test_pipeline_common.h | 84 ++++++++++++++++++++++++++++++++ > 3 files changed, 157 insertions(+) > create mode 100644 app/test-eventdev/test_pipeline_common.c > create mode 100644 app/test-eventdev/test_pipeline_common.h > > diff --git a/app/test-eventdev/Makefile b/app/test-eventdev/Makefile > index dcb2ac476..f2fb665d8 100644 > --- a/app/test-eventdev/Makefile > +++ b/app/test-eventdev/Makefile > @@ -51,4 +51,6 @@ SRCS-y += test_perf_common.c > SRCS-y += test_perf_queue.c > SRCS-y += test_perf_atq.c > > +SRCS-y += test_pipeline_common.c > + > include $(RTE_SDK)/mk/rte.app.mk > diff --git a/app/test-eventdev/test_pipeline_common.c b/app/test-eventdev/test_pipeline_common.c > new file mode 100644 > index 000000000..6e9088719 > --- /dev/null > +++ b/app/test-eventdev/test_pipeline_common.c > @@ -0,0 +1,71 @@ > +/* > + * BSD LICENSE > + * > + * Copyright (C) Cavium, Inc 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, Inc 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. > + */ > + Use SPDX license plate. With above change: Acked-by: Jerin Jacob