From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM03-BY2-obe.outbound.protection.outlook.com (mail-by2nam03on0055.outbound.protection.outlook.com [104.47.42.55]) by dpdk.org (Postfix) with ESMTP id C86595F54 for ; Fri, 8 Jun 2018 19:25:04 +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:X-MS-Exchange-SenderADCheck; bh=SpIOCzo67KOrAzPFdJHZEo194DUTcxXOKqe25qwUN4U=; b=D+AyDFWA4YR1wx3URPHhr1ifxuDtGk2k66cb6hs4pBdPFYbFCJYtJjKAZICpz1FkU2fkF/eteRT0HrDuw/jZ5sdDRt3Rcs5XOQbzWtgYjqoOgxUu7Vb0V3qSCvpfBploT192UprVApzZq5g04/azSDb3QORqq6GP4AcGVHttkCQ= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Anoob.Joseph@cavium.com; Received: from ajoseph83.caveonetworks.com.caveonetworks.com (115.113.156.2) by DM6PR07MB4906.namprd07.prod.outlook.com (2603:10b6:5:a3::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.841.17; Fri, 8 Jun 2018 17:25:00 +0000 From: Anoob Joseph To: Bruce Richardson , Jerin Jacob , Pablo de Lara Cc: Anoob Joseph , Hemant Agrawal , Narayana Prasad , Nikhil Rao , Pavan Nikhilesh , Sunil Kumar Kori , dev@dpdk.org Date: Fri, 8 Jun 2018 22:54:00 +0530 Message-Id: <1528478659-15859-2-git-send-email-anoob.joseph@caviumnetworks.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1528478659-15859-1-git-send-email-anoob.joseph@caviumnetworks.com> References: <1528478659-15859-1-git-send-email-anoob.joseph@caviumnetworks.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [115.113.156.2] X-ClientProxiedBy: BM1PR0101CA0050.INDPRD01.PROD.OUTLOOK.COM (2603:1096:b00:19::12) To DM6PR07MB4906.namprd07.prod.outlook.com (2603:10b6:5:a3::11) X-MS-PublicTrafficType: Email X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(5600026)(4534165)(7168020)(4627221)(201703031133081)(201702281549075)(2017052603328)(7153060)(7193020); SRVR:DM6PR07MB4906; X-Microsoft-Exchange-Diagnostics: 1; DM6PR07MB4906; 3:HrumHlURdvkrxqQt1b/KE9W16CnV6e8V5vI1DqMh0T2ifYQHphpc/NrR8HRqLTqUlPSn68sgB9/X1MEQChHJxA5EdX2f9kwoW4kps0Tb6zyE8vIeqMKz0VJtj0sYwb6n/w4lVlwr/peeo+000lV4sFvaZOA4MG/ZKYXD0zLzCtIb9WoHb5I/2GrQMxX/OcjMzrO96x8qou3E3YY2MnzmGbIuDKtIvs4hKgji+sw81uJPlZeWHthI4BDoXcwEoWwq; 25:DCWAFSJyk/MpZ6/1rjYS5E7uLeIcHEcqSQrvfIzLoEWDW1QvQ68j4qzoee5n7deMVttq+KkYwaIBzns6cgvW4mNflSgSQMRkfgy9vVkoyLXUDXjrFTdyVdYIclu5wW+vBslr/2hijAOJhf959wVQRHTSVCMDVVLIOsPPIVAxysAcw2jKgtPDAuz69zyLqwqaancDX55vpt5X2FCO6pW2o86Qjl0zsTtxUG16eZDxciDzVf/oIDdZQk1i0VtcmVqVu2QKhKwRh4TYgO28CBKHh6ruAwy8mDTgS4ywZMYQY7D47YoMZGbZIzr4fUtONzR5UuighYwPzjDf/Qjp1aHAnA==; 31:hjc/Fwny1nDNJC5VOfFqqmUAVD+UbCph07m1T/Nd9hsxUy2hVvJTzekw46fdwR9FjllYGDeKucah6mPsXGrjbUV8dYkd/n74IYLUhEK7covPO3tOQISvCXid+34uUq3carTId9lGQk0IufiMp9UlZ4F18w5wPEH0t5A4kim9hbmz2U9V0wT4PSn/QxDMLx0utSQcYEXrumWgpNgkVFMBIXDBzWIEykccYr2eBE4oGnc= X-MS-TrafficTypeDiagnostic: DM6PR07MB4906: X-Microsoft-Exchange-Diagnostics: 1; DM6PR07MB4906; 20:zleAVqyCJcfhLx/pZXUXWrSU++vERq/OWJrkU235Q+ILRW1wm1RsUdJh3TliaCfNQDxO+2y33aPkJv0lBiGO6ClSrUmndANfCrTUecen/bZrxzxN5g3k2kIr1oyMvDeLp9DQjgrgfKa9JAED9M4GkPh9j9tu1kvhEYysLe6lRUS4JGUM8TgfBrjNZ73fnmhaqOIofRjwJ7Jmoei50nghMiTvbeEtEVFNwGL+h/sL7Bakh+GyjKBattZP+LXQTqeGYtMNkVbVMNeqRwkMpH4184ps8arNS/tegrLFDw6YfhfRMInxX0aUudIgZiZMglCEYovPrurluM83zTOzR5cNeCojIgsDX/fCdFEH7+RI2NHUh5aXkcpPk7J/MRX11GQpVV44y0SYrX33vRyNHxO3tokXhILEjea7TJX3AmRGrKFJ/B08sa9E5H6zYzUFwXuKqolKCqItXURvqDovGph7FaDvlG/lhEX8nDw3xW9ZyjKYVBw2238xytAGRfBPBcMLgEWla15LJhDyunHXVRBNc8DwUI1VhnMp92+Q5uVISsYxXyS2OtldzMqFXG5ovJ4Jqct96Knff/YBtnxuGqGexOg4aYiWyw7qjbSzAaFOPWY=; 4:9GVFGNUoHgBJ+ZLdJ6DtAsUbKSWat9plTohrKJ6soWXoPO40Cf+3W/nVMUXHJ/LA6UeuBo2KJV1JeQma4AqlUEh93CnhQ3px3IadRco7RatfqQaj39MndqzwgB7TwNEOX+cVH5tSnHtT1axbDQToXGrKtnPH/09lG/3yRvTDu8DtPyE02mqt46mRhFzw8GmMzDhVW9cZSLE9NFS0wQXM7sJ8cziWmEs6UKHItsKnzkj+28KCjHY64zVQ+FWm3RoWSEmrLb4n8amg7Gw+HZfl8A== X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-MS-Exchange-SenderADCheck: 1 X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(5005006)(8121501046)(93006095)(3231254)(944501410)(52105095)(10201501046)(3002001)(149027)(150027)(6041310)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123564045)(20161123560045)(20161123562045)(20161123558120)(6072148)(201708071742011)(7699016); SRVR:DM6PR07MB4906; BCL:0; PCL:0; RULEID:; SRVR:DM6PR07MB4906; X-Forefront-PRVS: 06973FFAD3 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(39860400002)(346002)(366004)(376002)(396003)(39380400002)(189003)(199004)(186003)(16526019)(5660300001)(26005)(42882007)(55236004)(66066001)(47776003)(68736007)(305945005)(2906002)(8676002)(7736002)(8936002)(36756003)(52116002)(2616005)(956004)(476003)(446003)(50226002)(81166006)(11346002)(44832011)(6506007)(386003)(486006)(76176011)(51416003)(48376002)(50466002)(97736004)(316002)(6512007)(25786009)(53936002)(6486002)(81156014)(4326008)(3846002)(6116002)(16586007)(54906003)(110136005)(105586002)(106356001)(72206003)(478600001)(8656006); DIR:OUT; SFP:1101; SCL:1; SRVR:DM6PR07MB4906; H:ajoseph83.caveonetworks.com.caveonetworks.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; Received-SPF: None (protection.outlook.com: cavium.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; DM6PR07MB4906; 23:nfVWJX55UHuSQVSDRkd+tM45VYTKUY5JlB/80/3Jx?= =?us-ascii?Q?4oMYvbC0k2pGD5nKoICgHxOnJFoaDmLfPs5Ofnme4Wn6ImobFRztRjJlGKUA?= =?us-ascii?Q?1hjU3QJYWhCzo9iFMwPjSJhTWatAw8Hz0e4jtKf4xNpTeWeyKZ0yBadfJraE?= =?us-ascii?Q?Wd/25DC0HpVMz+fBtsq1zmTDeSTjvHyxutxXtyWVNSwpQktDD/okp4CfZOuq?= =?us-ascii?Q?pBZsx1qbXRwmwag03EuJif6gSPWTjtxQDq2ztje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qcQI2NUTNofc+IOH87VE=; 24:kIlfV2ZYcazY3R/Q6a2YPbx2P2fFaq+tN11IHB6bi4CXTTn52SIYmliJcDirbT+nCfraDNrAiR0cA1BWLdx8WSBb5t48Jq+9vMtHiR2AvTs= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; DM6PR07MB4906; 7:yYmuzqilpz6pZl7G281UmF7LufEnDNHl6IW2TCt8BaCDEi+nVLGunaXQeFakB2T17uq43Nw+4VysACLPPV4iYX94IQ2g+YNU910tAKP8wzMfFQ9tDp0EKt5BOPiO4+oH6z082ToGDu+52niL48JrSXtbN0K+wU8qg0cOO0h68To3cCAZo5CVyjoNo8xf5/SChPO9GZdqAWkzTE+OABqDlebLjwfn0vM4xF507ReRAxCxWHg6gmRE3eN2D/NFz92j X-MS-Office365-Filtering-Correlation-Id: 1c504ac7-475b-4cef-5ec3-08d5cd64c571 X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 08 Jun 2018 17:25:00.7632 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 1c504ac7-475b-4cef-5ec3-08d5cd64c571 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 711e4ccf-2e9b-4bcf-a551-4094005b6194 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR07MB4906 Subject: [dpdk-dev] [PATCH 01/20] eventdev: add files for eventmode helper 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: Fri, 08 Jun 2018 17:25:05 -0000 Signed-off-by: Anoob Joseph --- lib/librte_eventdev/Makefile | 2 ++ lib/librte_eventdev/rte_eventmode_helper.c | 7 +++++++ lib/librte_eventdev/rte_eventmode_helper.h | 6 ++++++ lib/librte_eventdev/rte_eventmode_helper_internal.h | 6 ++++++ 4 files changed, 21 insertions(+) create mode 100644 lib/librte_eventdev/rte_eventmode_helper.c create mode 100644 lib/librte_eventdev/rte_eventmode_helper.h create mode 100644 lib/librte_eventdev/rte_eventmode_helper_internal.h diff --git a/lib/librte_eventdev/Makefile b/lib/librte_eventdev/Makefile index b3e2546..80a5830 100644 --- a/lib/librte_eventdev/Makefile +++ b/lib/librte_eventdev/Makefile @@ -19,6 +19,7 @@ LDLIBS += -lrte_mbuf -lrte_cryptodev # library source files SRCS-y += rte_eventdev.c +SRCS-y += rte_eventmode_helper.c SRCS-y += rte_event_ring.c SRCS-y += rte_event_eth_rx_adapter.c SRCS-y += rte_event_timer_adapter.c @@ -29,6 +30,7 @@ SYMLINK-y-include += rte_eventdev.h SYMLINK-y-include += rte_eventdev_pmd.h SYMLINK-y-include += rte_eventdev_pmd_pci.h SYMLINK-y-include += rte_eventdev_pmd_vdev.h +SYMLINK-y-include += rte_eventmode_helper.h SYMLINK-y-include += rte_event_ring.h SYMLINK-y-include += rte_event_eth_rx_adapter.h SYMLINK-y-include += rte_event_timer_adapter.h diff --git a/lib/librte_eventdev/rte_eventmode_helper.c b/lib/librte_eventdev/rte_eventmode_helper.c new file mode 100644 index 0000000..b7ff056 --- /dev/null +++ b/lib/librte_eventdev/rte_eventmode_helper.c @@ -0,0 +1,7 @@ +/* SPDX-License-Identifier: BSD-3-Clause + * Copyright(c) 2018 Cavium, Inc + */ + +#include + +#include "rte_eventmode_helper_internal.h" diff --git a/lib/librte_eventdev/rte_eventmode_helper.h b/lib/librte_eventdev/rte_eventmode_helper.h new file mode 100644 index 0000000..5d39bd3 --- /dev/null +++ b/lib/librte_eventdev/rte_eventmode_helper.h @@ -0,0 +1,6 @@ +/* SPDX-License-Identifier: BSD-3-Clause + * Copyright(c) 2018 Cavium, Inc + */ +#ifndef _RTE_EVENTMODE_HELPER_H_ +#define _RTE_EVENTMODE_HELPER_H_ +#endif /* _RTE_EVENTMODE_HELPER_H_ */ diff --git a/lib/librte_eventdev/rte_eventmode_helper_internal.h b/lib/librte_eventdev/rte_eventmode_helper_internal.h new file mode 100644 index 0000000..5b08582 --- /dev/null +++ b/lib/librte_eventdev/rte_eventmode_helper_internal.h @@ -0,0 +1,6 @@ +/* SPDX-License-Identifier: BSD-3-Clause + * Copyright(c) 2018 Cavium, Inc + */ +#ifndef _RTE_EVENTMODE_HELPER_INTERNAL_H_ +#define _RTE_EVENTMODE_HELPER_INTERNAL_H_ +#endif /* _RTE_EVENTMODE_HELPER_INTERNAL_H_ */ -- 2.7.4