From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by dpdk.space (Postfix) with ESMTP id D0AB5A00E6 for ; Mon, 10 Jun 2019 12:10:39 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 899C91BFDA; Mon, 10 Jun 2019 12:10:39 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by dpdk.org (Postfix) with ESMTP id E34CC1BFCB for ; Mon, 10 Jun 2019 12:10:37 +0200 (CEST) Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x5AAAbh4021770; Mon, 10 Jun 2019 03:10:37 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; h=from : to : cc : subject : date : message-id : references : in-reply-to : content-type : content-transfer-encoding : mime-version; s=pfpt0818; bh=7y005sLT6iG3LHyyTk1loJrYCDjIf6Gi2LcAiitzA8s=; b=uvEN4yZoIrQ7rd/oDvqLkRzwjPDQqFXjBuNa78KFAn+67V6BomKGtQmfi4WoGBpU8Esv gcZBgA7f67wzCXOj//tKUYTvZM7QtxuJeoactjQjg4ZvUjD6DNROhbP02MGNPSOpQxqK Oj3SPOlBrziaWWIx3uXIrHRWMwBVhQmyUuQ2befl/JEUPvvxJo1cwz4rs9Fkz4hpXsYI hbHFHLfTcHyQbgVqPNIaT4C2r2b0SeyT7ShxWtCUMXn4KRSS8pW5VE7mYxYoEwVDZKIa wR2L1ZWzNmbdgKLk4iQe+CnnrHfN1oQXp/+9bFUxdj9H6TQQ6o9ZrxW7RGVhl2epoH6J Yg== Received: from sc-exch02.marvell.com ([199.233.58.182]) by mx0a-0016f401.pphosted.com with ESMTP id 2t1hk6gu3p-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Mon, 10 Jun 2019 03:10:36 -0700 Received: from SC-EXCH04.marvell.com (10.93.176.84) by SC-EXCH02.marvell.com (10.93.176.82) with Microsoft SMTP Server (TLS) id 15.0.1367.3; Mon, 10 Jun 2019 03:10:36 -0700 Received: from NAM01-BY2-obe.outbound.protection.outlook.com (104.47.34.56) by SC-EXCH04.marvell.com (10.93.176.84) with Microsoft SMTP Server (TLS) id 15.0.1367.3 via Frontend Transport; Mon, 10 Jun 2019 03:10:36 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.onmicrosoft.com; s=selector2-marvell-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=7y005sLT6iG3LHyyTk1loJrYCDjIf6Gi2LcAiitzA8s=; b=UqaUboRPShemSDrINBDdkf0g+Z8Ejm5R4wZqPuUhnHCeUPC/8Toh+W5LWSxuLSEunAhjR4DyY38OM/O8aLtEH079NflbkQNjLV4VoDLvoY5Jhyd0nUkjbYyen7zKkEyYb1zIb7swgg/A+8Sv60Nc8ibsj4baWulMbwYWYW6Eo/Y= Received: from BYAPR18MB2424.namprd18.prod.outlook.com (20.179.91.149) by BYAPR18MB2965.namprd18.prod.outlook.com (20.179.59.209) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1965.17; Mon, 10 Jun 2019 10:10:31 +0000 Received: from BYAPR18MB2424.namprd18.prod.outlook.com ([fe80::1ce4:557d:eeb8:843c]) by BYAPR18MB2424.namprd18.prod.outlook.com ([fe80::1ce4:557d:eeb8:843c%7]) with mapi id 15.20.1965.017; Mon, 10 Jun 2019 10:10:31 +0000 From: Jerin Jacob Kollanukkaran To: Anoob Joseph , Nikhil Rao , "Erik Gabriel Carrillo" , Abhinandan Gujjar , Bruce Richardson , Pablo de Lara CC: Anoob Joseph , Narayana Prasad Raju Athreya , "dev@dpdk.org" , Lukas Bartosik , Pavan Nikhilesh Bhagavatula , Hemant Agrawal , "Nipun Gupta" , Harry van Haaren , =?iso-8859-1?Q?Mattias_R=F6nnblom?= , Liang Ma Thread-Topic: [PATCH 14/39] eventdev: add files for eventmode helper Thread-Index: AQHVGjLENegajwA++0SiyyzewHJ7dKaUs/zA Date: Mon, 10 Jun 2019 10:10:31 +0000 Message-ID: References: <1559583160-13944-1-git-send-email-anoobj@marvell.com> <1559583160-13944-15-git-send-email-anoobj@marvell.com> In-Reply-To: <1559583160-13944-15-git-send-email-anoobj@marvell.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [14.140.231.66] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: ae7e0aaf-9997-4808-3ba0-08d6ed8bdec5 x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(7168020)(4627221)(201703031133081)(201702281549075)(8990200)(5600148)(711020)(4605104)(1401327)(2017052603328)(7193020); SRVR:BYAPR18MB2965; x-ms-traffictypediagnostic: BYAPR18MB2965: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:6790; x-forefront-prvs: 0064B3273C x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(979002)(376002)(39850400004)(346002)(136003)(396003)(366004)(189003)(13464003)(199004)(73956011)(66946007)(81166006)(54906003)(2906002)(8936002)(66476007)(8676002)(66556008)(66446008)(64756008)(7416002)(7736002)(74316002)(305945005)(110136005)(76116006)(68736007)(81156014)(3846002)(71190400001)(26005)(229853002)(186003)(86362001)(71200400001)(6116002)(52536014)(66066001)(99286004)(476003)(33656002)(55236004)(14444005)(4326008)(486006)(76176011)(11346002)(102836004)(256004)(66574012)(6246003)(53546011)(6506007)(446003)(53936002)(25786009)(14454004)(316002)(7696005)(5660300002)(9686003)(478600001)(6436002)(55016002)(969003)(989001)(999001)(1009001)(1019001); DIR:OUT; SFP:1101; SCL:1; SRVR:BYAPR18MB2965; H:BYAPR18MB2424.namprd18.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; received-spf: None (protection.outlook.com: marvell.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: wnLhj7Z3MDh7n7UTGJe9zkXN6LHv5am56sbHu5QElgKw8ancOMamG+DVBF7Amvx5v9jgIt7EhlKKZeceWRHoLEA2L0+jBakOVYJn63ZYzcFvhmOBvJ5xlpKaKaW2DEXHDvfJ/pIPCzGMSPfstNn61FL50MSKdwydNfvge/8tP5JDUUFJDnRQjVK98IlMppEwflb89osE0fTd0n7pvEWiQAblrW/BwX6Y39S4zfzssJpxwemvrAWLe15YddmArUtXs/6YB1N5ViHrLz+LlMI82rOw4AEE6ySYrhiUXfa+s7Uo25bnFLCTio8UUiVX1XYtz++z00N/L6Qpku2cJxkcK84QhrmK9o5dHEmnJeix/L7KsFT86YHkH7oeU0aqpAOCqVWFDGFApITdv0XguiyTpRuXFXtO2UrL0BWlrJKo0qo= Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: ae7e0aaf-9997-4808-3ba0-08d6ed8bdec5 X-MS-Exchange-CrossTenant-originalarrivaltime: 10 Jun 2019 10:10:31.0970 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 70e1fb47-1155-421d-87fc-2e58f638b6e0 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: jerinj@marvell.com X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR18MB2965 X-OriginatorOrg: marvell.com X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:, , definitions=2019-06-10_05:, , signatures=0 Subject: Re: [dpdk-dev] [PATCH 14/39] 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: , Errors-To: dev-bounces@dpdk.org Sender: "dev" > -----Original Message----- > From: Anoob Joseph > Sent: Monday, June 3, 2019 11:02 PM > To: Jerin Jacob Kollanukkaran ; Nikhil Rao > ; Erik Gabriel Carrillo = ; > Abhinandan Gujjar ; Bruce Richardson > ; Pablo de Lara > > Cc: Anoob Joseph ; Narayana Prasad Raju Athreya > ; dev@dpdk.org; Lukas Bartosik > ; Pavan Nikhilesh Bhagavatula > ; Hemant Agrawal > ; Nipun Gupta ; Harry > van Haaren ; Mattias R=F6nnblom > ; Liang Ma > Subject: [PATCH 14/39] eventdev: add files for eventmode helper >=20 > Adding files for eventmode helper >=20 > Signed-off-by: Anoob Joseph > Signed-off-by: Lukasz Bartosik > --- > lib/librte_eventdev/Makefile | 5 +++-- > lib/librte_eventdev/meson.build | 2 ++ > lib/librte_eventdev/rte_eventmode_helper.c | 7 +++++++ > lib/librte_eventdev/rte_eventmode_helper.h | 15 +++++++++++++++ s/rte_eventmode_helper/rte_event_helper/gc. See below > lib/librte_eventdev/rte_eventmode_helper_internal.h | 6 ++++++ > 5 files changed, 33 insertions(+), 2 deletions(-) create mode 100644 > lib/librte_eventdev/rte_eventmode_helper.c > +#ifndef _RTE_EVENTMODE_HELPER_H_ > +#define _RTE_EVENTMODE_HELPER_H_ In order to shortened the macros, enums, APIs, I think, We can change to rte_event_helper from rte_eventmode_here. > + > +#ifdef __cplusplus > +extern "C" { > +#endif > + > +#ifdef __cplusplus > +} > +#endif > + > +#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..0da7003 > --- /dev/null > +++ b/lib/librte_eventdev/rte_eventmode_helper_internal.h > @@ -0,0 +1,6 @@ > +/* SPDX-License-Identifier: BSD-3-Clause > + * Copyright (C) 2019 Marvell International Ltd. > + */ > +#ifndef _RTE_EVENTMODE_HELPER_INTERNAL_H_ #define Please have this patch for Helper API definition(spec) and remaining patche= s for implementation. That would help contract between helper and application= . > +_RTE_EVENTMODE_HELPER_INTERNAL_H_ > +#endif /* _RTE_EVENTMODE_HELPER_INTERNAL_H_ */ > -- > 2.7.4