From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM01-BY2-obe.outbound.protection.outlook.com (mail-by2nam01on0044.outbound.protection.outlook.com [104.47.34.44]) by dpdk.org (Postfix) with ESMTP id 8EAFB11DE for ; Tue, 17 Jan 2017 10:11:57 +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=B1+pxkP/9DEEwT1s1Wtgebh0ARf2tUogLFKtgsZz384=; b=IE5SeHCnI9LfxCca580GZyLGkvd9u5uRKAEydpQnOGgMWBtZ4ruMF2KdRdM5TObswDD/H0pMCPHiBJynPgDyvelXsAqq0es4i7kgADylLPQ7jImNEhn/8dF0OWzCW4wQ6+gsAVgNgJq9Q6MwirHdhhSzaDehJAP/mMKz/VfJ1pg= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Jerin.Jacob@cavium.com; Received: from localhost.localdomain (111.93.218.67) by BLUPR0701MB1714.namprd07.prod.outlook.com (10.163.85.140) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.845.12; Tue, 17 Jan 2017 09:11:54 +0000 Date: Tue, 17 Jan 2017 14:41:40 +0530 From: Jerin Jacob To: Harry van Haaren CC: , Bruce Richardson Message-ID: <20170117091139.GA17275@localhost.localdomain> References: <1484581255-148720-1-git-send-email-harry.van.haaren@intel.com> <1484581255-148720-2-git-send-email-harry.van.haaren@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <1484581255-148720-2-git-send-email-harry.van.haaren@intel.com> User-Agent: Mutt/1.7.1 (2016-10-04) X-Originating-IP: [111.93.218.67] X-ClientProxiedBy: PN1PR01CA0005.INDPRD01.PROD.OUTLOOK.COM (10.164.137.12) To BLUPR0701MB1714.namprd07.prod.outlook.com (10.163.85.140) X-MS-Office365-Filtering-Correlation-Id: a9c8f14f-8459-4639-f5a1-08d43eb8e23c X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001); SRVR:BLUPR0701MB1714; X-Microsoft-Exchange-Diagnostics: 1; BLUPR0701MB1714; 3:G98AKehVV2cjCrlbGln3A8ajt4/cMnaLvp6Jrl0TiGDW9JU/HtYvtpuaDTc1mj7O8w0Jije09JjHfTA3giB0IsnumXwDA0FqUSg33mDMVcezAluBTYXQ0LPpBDuGUy1jZwo4ETHlIAdzQA22MN0LUXE2p9imQOuVbkvlJ7YO+1mlvsSsoS5GmyJvGWgosr2gkBq9R/wVNHssiQRWoL/mSuVCz1p8ynq87rt9L5M2FPPJIGC6Lcl7uPtzgX/SLMGVMvYybxBwhGqYeJlxpXNkZQ== X-Microsoft-Exchange-Diagnostics: 1; BLUPR0701MB1714; 25:9gwe38yS3xeRFx7432/10kkME3yfuFqxDDrAdhY+3ZQ6vkM2J6onlmMATur4kQR21lPk5yJNjI9l67PGDo8HhRfbu3rAGrBMfM1gJkBdN3mJt2RNfXssad1MGtvJG2Y+nNdCLXUr63fhzLzZTgPIekNQ4GFVwgCZD40Zb1N6AEyE+XZdnDK//JjuH/2jAblNZ3VzcsF7pzRBJWcDUCYKSg//Wbl1Cg32lMa50o16xmHtXzK29RQVqaawXmg+9ICvc6QR47lYpkqHXoCPbDP1IPmzCLNfiTDA/kfqy+8kHTod+830b+O7d0rqecDPa/UFfBS4n14CpBr2vdEQcskUJRwWYTgmVvt+guQwdngwQ4Z//RsgtPxrKbGKEuw3D1PM+BMQGVQTVD3v8VnhAEv0aaibD56Xo7T6LR7pCdGJdjUqNZHkRpI/ouy47zBRF9xlN/OJykKUKHIEE/RP5e4LsjW/M4XOLxJfdiv5HjKydiEPwHZ6JaEs03T+Ym68DNw93G1o/B2OeqapkSgF4IbzgndiIpyEXT3q1Lvn6wStPAD1iwrn4+gI4dJx6MSTLzFdBU9Mj+J10osDkS6sk3bPKe4mahm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kv4Aq508gHbV/wjyDvNu169Ed22Aa+1+4/TWto1/3Xj/fkpHJBq3hDKdVbI5Y9E8eVPiUp/tRXWFKju9zNDFc= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(228905959029699)(17755550239193); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040375)(601004)(2401047)(5005006)(8121501046)(10201501046)(3002001)(6041248)(20161123555025)(20161123560025)(20161123564025)(20161123562025)(6072148); SRVR:BLUPR0701MB1714; BCL:0; PCL:0; RULEID:; SRVR:BLUPR0701MB1714; X-Microsoft-Exchange-Diagnostics: 1; BLUPR0701MB1714; 4:xYF9Ycdd9iJEuWa1rvGT/E1VuEpEr3PEjS4CsmKWA/tpVznel9l0YXM7H03abT4M0IDjNm01aCgABofQp2YJxDN2pQAt+ngnY1VCsQvxT2y/PsHtRQPfLp5DB5GM5+GA4qJbB2mhuJPXlaLRdBasaX6Q0OJI1fDw/jJlOBYF46ivhCW5nrd4EPNypkNsZS3JEoVchD+m0+6BfigiDUbgSgXMm6vAAk2nn06KfzhnokpluU/C31MdivqYmyJlnszCpfO9Wb9R969fckz7GNVn89oHd04kBCb4++0wMXLxU25pVhSnlfFYzbunutq8qR3pwCEYu+um5uWVzVVmJ8Ho/gB2Cwmun/0KizAhU+cdzMsGe7YXVf/jOEGApGIAuoklEroKGwOek26efcda66cibVxAjqgHEn1eNmEzkgE+XQbrNbp63HWqg3hK7W/l5mGR4lSDF6zUtN+8OtUhD18Oo7urP7vdjwnlalNHPBcOaHUrtTYRg+6PpMlrHqqiyUBiINS2iDSF7Ow16WHx5Yc6wXNEAZ41Q9nYx6f4BgipQjsQTnnRlyNkDktGx//guoVhxKagM/RMTEKd5Ls2RfctaYv0xFjUhQorDfjJ0kbkSOZiABrJzoeaqJS3hDwMC7HM6uhycUsoFCN/QqLfXx6eag== X-Forefront-PRVS: 01901B3451 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4630300001)(6069001)(6009001)(7916002)(39450400003)(199003)(24454002)(189002)(2950100002)(83506001)(7736002)(5660300001)(105586002)(76176999)(23726003)(46406003)(54356999)(6916009)(42882006)(4001350100001)(50986999)(189998001)(97756001)(305945005)(54906002)(2906002)(1076002)(4326007)(33656002)(42186005)(9686003)(106356001)(110136003)(6116002)(3846002)(50466002)(5009440100003)(6506006)(55016002)(92566002)(25786008)(38730400001)(229853002)(68736007)(47776003)(66066001)(81156014)(97736004)(6666003)(61506002)(101416001)(8676002)(30001)(81166006)(7099028)(18370500001); DIR:OUT; SFP:1101; SCL:1; SRVR:BLUPR0701MB1714; H:localhost.localdomain; 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; BLUPR0701MB1714; 23:UvX21qpb0YxVpUVu4pbDjG1aMb+0qOelJe/Fsy3?= =?us-ascii?Q?IHxKWPi9+mbC8gTUIvVIBlawZ48IXa8bgNrX9uFPGgggVEKMvlmm9tLZpEMq?= =?us-ascii?Q?CbLQrA4BZr8WOT4a2RbMAGdcehZ6Nj4d6C9ogqgi2otdEjAnAvkCv1xhPq4U?= =?us-ascii?Q?zBUbQkTKNokZHJEE79VwSwz9cxitZq8E5HL8MiJnfIPeDOUZ+8lo24QBH02E?= =?us-ascii?Q?nnBfXqU6W1XtYQrp7Qu+j0PGxQdM2NgXEaI4Jnidv4/J79qbgAA0AoHvVw7B?= =?us-ascii?Q?+yg4g1VdfzgWEhd8Fgw7FCkZaDcLatx7oD9icI3dHMvvk0itzzXWYGSNAxbx?= =?us-ascii?Q?4z02toudq/Sc1AKcRxl5BNvsZXqqbzXg3BhUZTve1QUZOXm1C+Dp3oWfNh8A?= =?us-ascii?Q?Lo1VuCnOvMI/6vMqomOLYQUOxqfTks+ZisNabHo3Yci88Y16W+6iSmZT8Nv5?= =?us-ascii?Q?YhkdhTkxUE/XtuVMasAv2Kau3goAFuUDux+Whank4orW9xPcn2TYzCC4N2LU?= =?us-ascii?Q?59iHXTcSMfv5GuwZsi9Gk5pK+GoKpr6h3ex/pd+SjybYZcUtYuI/TgSELui/?= =?us-ascii?Q?nZ7AxFtabdjjRRKSJ5IhNlFKK9S2ehevSM4t5qqoSj6WBTgK1HRQ/p1lbgEK?= =?us-ascii?Q?imnRoLzt2YqJF2luvj4WLVEJxQh6FWzZeJcO0N2EdLEc9Jm30r6H538BxixA?= =?us-ascii?Q?0Ve9sfm3NjEm8DILP4vqJEMudljLfXL1ONJtUZeL0Kl59FMWuJTLet5dnprj?= =?us-ascii?Q?g38WTbPYekhbQCvS9UNg9iFEAgKrwSndm7MvT6hTh29LOjPyfBmQyb7SF2PX?= =?us-ascii?Q?cXtemOrGlY/apoT2pq4UcJJpqIlsGk3udalKzS6y6yEH/KQ+Az683CygGjnq?= =?us-ascii?Q?y0NNvYslm//LgYRhk/V1fIzs2offWiXiEynazxGBMuvcIgjVxQDNvcIzdLfT?= =?us-ascii?Q?gsSCGhVGu2aSpHWXSvPnyVR4Lkbr6EAOrAEdC0qIo5xjkmIRfNrLDYckYKhW?= =?us-ascii?Q?EmUx59QkBWfnPmC78Pt2BE/tEDIisWeSrR2cL0g1ZzR9YZrA+e1j8x/h+Nzi?= =?us-ascii?Q?ryESo3jy6gFQtHD2r6RUu2KruCHH4hdPv0tXcYxXqxUqdF/7kYi9TIFlGnFc?= =?us-ascii?Q?G47FMW2b0BpkeYgQwRkhHsgUK3Ck9GfH+RIWw8tqjCApUOvuG/Boky2NVRCS?= =?us-ascii?Q?6NIrinuJq3a5uEke2V7/shE+b6yEuD+Epgnmbvk6TRtHzGKRIxrwoMmDMnJo?= =?us-ascii?Q?XijL+P6eULgW3j420PK5Kk/iaeLYXSlY18CcLQpNnMxvmmjfcXk47ZtBpxke?= =?us-ascii?Q?DsUg8hFuo7lMZezcdlPMhkLEZibFSw/Om7zunDY2+iWYq?= X-Microsoft-Exchange-Diagnostics: 1; BLUPR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qHacw0yEMYdb5TmWEGm3c+T3KWRQVmC8+aeKAd9MscCci47PtxZ9hC53TxU1TFNL1L+dnQR1l+o4NjzUfzKHFDEPJPEawEXyZVBIOKzUif1YrWniqswfgXVEtq0f+H5q5D5nC27UXsa5dJIa/cqQkSKI6UqOdmKPfSaz5st9e77yf8Bx+aAPSdJUT+2KGsx+VmAAju2RNv3BwHOlQ== X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Jan 2017 09:11:54.4041 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: BLUPR0701MB1714 Subject: Re: [dpdk-dev] [PATCH 01/15] eventdev: remove unneeded dependencies 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: Tue, 17 Jan 2017 09:11:58 -0000 On Mon, Jan 16, 2017 at 03:40:41PM +0000, Harry van Haaren wrote: > From: Bruce Richardson > > Since eventdev uses event structures rather than working directly on > mbufs, there is no actual dependencies on the mbuf library. The > inclusion of an mbuf pointer element inside the event itself does not > require the inclusion of the mbuf header file. Similarly the pci > header is not needed, but following their removal, rte_memory.h is > needed for the definition of the __rte_cache_aligned macro. > > Signed-off-by: Bruce Richardson > Signed-off-by: Harry van Haaren > --- > lib/librte_eventdev/Makefile | 1 - > lib/librte_eventdev/rte_eventdev.h | 5 +++-- > 2 files changed, 3 insertions(+), 3 deletions(-) > > diff --git a/lib/librte_eventdev/Makefile b/lib/librte_eventdev/Makefile > index dac0663..396e5ec 100644 > --- a/lib/librte_eventdev/Makefile > +++ b/lib/librte_eventdev/Makefile > @@ -52,6 +52,5 @@ EXPORT_MAP := rte_eventdev_version.map > > # library dependencies > DEPDIRS-y += lib/librte_eal > -DEPDIRS-y += lib/librte_mbuf > > include $(RTE_SDK)/mk/rte.lib.mk > diff --git a/lib/librte_eventdev/rte_eventdev.h b/lib/librte_eventdev/rte_eventdev.h > index e1bd05f..c2f9310 100644 > --- a/lib/librte_eventdev/rte_eventdev.h > +++ b/lib/librte_eventdev/rte_eventdev.h > @@ -244,8 +244,9 @@ extern "C" { > #endif > > #include > -#include > -#include > +#include > + > +struct rte_mbuf; /* we just use mbuf pointers; no need to include rte_mbuf.h */ This "struct rte_mbuf" reference is not present in dpdk-next-eventdev tree. Are you planning to rebase to dpdk-next-eventdev? > > /* Event device capability bitmap flags */ > #define RTE_EVENT_DEV_CAP_QUEUE_QOS (1ULL << 0) > -- > 2.7.4 >