From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM03-CO1-obe.outbound.protection.outlook.com (mail-co1nam03on0053.outbound.protection.outlook.com [104.47.40.53]) by dpdk.org (Postfix) with ESMTP id 69A1D100F for ; Sat, 21 Jan 2017 18:34:43 +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=lPjwfwg1+oIaDbAvU4DL6Kd62zUzjDeQLCFPZzOXns4=; b=bY7nhGZiAiN+gKU6UAcQGpMF8/ejjyih8UodJieh+j8GHychE31lmUExBeV1Vvr0Y3s/dWINFzs/Ruxugr0eQlJjCioFNcKi2BnaTYW3XsEHcaTvw9J4nIYHVQ1P5EVXsSZjNFr1U9jIf/B0IYf8CE6hITr6S/10wC2FvnaN3jM= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Jerin.Jacob@cavium.com; Received: from localhost.localdomain (122.171.62.83) by BLUPR0701MB1713.namprd07.prod.outlook.com (10.163.85.14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.845.12; Sat, 21 Jan 2017 17:34:38 +0000 Date: Sat, 21 Jan 2017 23:04:21 +0530 From: Jerin Jacob To: Harry van Haaren CC: , Bruce Richardson Message-ID: <20170121173420.GA12841@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: [122.171.62.83] X-ClientProxiedBy: MA1PR01CA0031.INDPRD01.PROD.OUTLOOK.COM (10.164.117.38) To BLUPR0701MB1713.namprd07.prod.outlook.com (10.163.85.14) X-MS-Office365-Filtering-Correlation-Id: f4550eeb-3831-4142-bc52-08d44223c764 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001); SRVR:BLUPR0701MB1713; X-Microsoft-Exchange-Diagnostics: 1; BLUPR0701MB1713; 3:mEtF5HQTJLyhcxvzjpjaLthBIWBYFs7gyh76qEVK0eYpKW0PJdrd53nsQrZbDPulszPgXjWN9KvD2trRngo/fNMW+kPEFda9pDrNBBP/ykutwym5FoIaY+JL25yezSGvDWikRxXA70JGhXOvQkVVGP8XlkpnnMKKk3vaiwAjPnBbQ/vJtCdd+535+QKiMEfRM2U1AfDtLnB+CjFPqoLpc03X0M5BxCnegdonl1xPfy9cOfMG5mMzZzeR3tgl5vWT1to6Ia0IaN/VNlf/gAXxiQ==; 25:3HklmSvh3uy2xY5hKeYBOG5sJNkBNHTNL3lS9iwSJ+w9Ygs3Q/hd4dJKx7OZ17yvB8lkGGAcwx7diUOek5pTDpsvNVxa/7AH6oBxNew6OfBgpP8xZ+23RbCpzxHFxFsv7Opjm30zYlmsq5FUQcLcdCtQb90TTXpc2J2uGCsjYQnMGiO3rnTJ1GLqm2p7igWocbAiIhEpmysi3y5lC9XcIm4tC9RebXhVrKmXgzQVQ4cMkskms8k/6mzg8gXl/LWKtIT97pufLyT6TiioAHval9ZyH6Hh9iZkuLy1PeDcUXSAQEFk/igMDvkwM23pKfCiBLFRGHdClYfTecTM9ZvLBYVfdcslBoAEIVYo4jCbtQZlnI/ADvuWBeiH4jCrZjkc2TmBoAS3G8lj2E3UJyzMofb6jxuNfDU0XtVVYrLU+IBROnfrU3IKsyumK1Du+Av3URrN2aVnc+33oPdbooDyFQ== X-Microsoft-Exchange-Diagnostics: 1; BLUPR0701MB1713; 31:MN6YvjEQao/qWcITA3YOxZx8WkHmfaJiU3UPRUTzn+AtNwaE3ILaV0zIY0MKQ9B9S6g5pT6MmddRiqqc8zlXR3XRkW7RxxNHnyFVcQMpmXFU+oyQDeu0xu2IDjUylP1ERfqzMIyBzjPWOrHGssRobXcQspruKvTR1Vco+0TIFcY65ZXJWus2X8nWrkS8dykddTvvQ7BNlgzIZ15MALaiVnDs3hvK30qw/vua7wrrZ5VHOOBazXn47L/8WqgjL8VyBqaIW6H6ol9HcyLRqumwPQ==; 20:tWfcvYlcs3/ftPoKgYujgMUfSOgTurChxDXfP9GPL4LBlbYn5bOPoTJILDWMj7l2ZlkfMLvITbZVGok840UJ0aS+qMrcljT0NljlC8x/QIQetM1tWyamfoMIPMDu0vX8FUkp7aRiYTPXsr4ijgwZM2kOL4gwFgPYgza/xK93Hv9n5YUWkjb+6mVhiuCQmUWsYCmVOomdmzC7OLn7A+tTRWZ0EXQrZaXOY1TksUa5lZQVwzurMf9jPWf8Ed4ipysuyae7H8H9694r6T/kLB8/AuA+sKr9I+6nclCM4dO5hiQVEJDL/dhYhAGeOt+uFfC7Kv3vwvzmi/mPBSJLO018JjYc19b7Xm/SxtmyeUbJ9qc7JjeMfcx+t+2CEzh3GS5N1PA9GA5vfMEQS5A6zG9Tlw1Tpq91aaljkMamjwtQxqisYvme/kPwK0NxGEGdNRr7D+OQnRYqql+bcJb0p4weGo2RXYdrQ4gg/IsvR/HSTHYAwDiSeORcLrufpRjPwlcUEyWBG38Ig/bueDa5NpSr84BB08bd6Vd9Oko6B3HpeIYArmLD2N7H4KfRSokjMAupAtO13iOTUx9c58rjWYQa8elJ/LJYbI0w1AQY4VOicpg= 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)(20161123558021)(20161123562025)(20161123564025)(20161123560025)(20161123555025)(6072148); SRVR:BLUPR0701MB1713; BCL:0; PCL:0; RULEID:; SRVR:BLUPR0701MB1713; X-Microsoft-Exchange-Diagnostics: 1; BLUPR0701MB1713; 4:pLwkKymx+Lyt7350U2JQmlbbeQ8Yn/gADkOlNtxKI1C9txFofEdXOSSjyifZZMYkVpkg6ZoMqjtthLZSlWqOzAXEqIYLl3HyRNl8wsi2CrymCo+wkL1FwpEsiR7hBF4WRRssqQ4IBuKej0oayvdVg4O/Jb9vla+VUFRbF7XItDdU0TX7OKAC3XiEaRhpem8NDMv/3gfePZRCeZ0uZC1v/u1TXEIr9mgvBniyxleyTK0Bk2gEUROm8t4/Tiyic3VsMabpo/k0p4sq0AjBECG/XgooWJ1FIhTUOhTXL+uZ5GKczSZnvYLPWblFMvoQe3ehu0K3TUKQwKIfuabgNo7a9Hls4aFtQcUT/rnUhVyhGnwcg7vRdIuy/NG0Jm2+trCp1eMoJjjsNC0bBSUEQc0sL8AlBfFAKF6t6rZJo74jq/VXDvZMJsG9qptyXmA6iQaY1ydGBbQY54c7A1FX7UnhXOv6O3qcdHIlI9MVMEbzgTG45uviVFvoEQ7zIPxXwF5y53hK/p33Bosq5165Iu3ygG8vxdsxGl65AKRTGKS/QPoztauLNn4yGheroOTwErhaYeuSRVxhOFrpkEy4KDx9+mZyy7whlIrxz2mVGGs63admSPwbjzw6gjlcRTzoCzB2tVQ0Jd8ziaAxjkChWty7E7gU3JR4/nEuObClhWxzluqfUSi+rB96qL4rqnH4ugQW X-Forefront-PRVS: 01949FE337 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4630300001)(6069001)(6009001)(7916002)(39450400003)(189002)(24454002)(199003)(101416001)(110136003)(50986999)(81166006)(97756001)(68736007)(81156014)(92566002)(189998001)(9686003)(8676002)(4001350100001)(76176999)(97736004)(46406003)(5660300001)(54356999)(83506001)(25786008)(53936002)(50466002)(6506006)(66066001)(105586002)(38730400001)(6666003)(106356001)(2906002)(3846002)(4326007)(47776003)(1076002)(2950100002)(229853002)(55016002)(54906002)(42882006)(33656002)(6916009)(61506002)(305945005)(7736002)(42186005)(23726003)(6116002)(18370500001); DIR:OUT; SFP:1101; SCL:1; SRVR:BLUPR0701MB1713; H:localhost.localdomain; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A: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; BLUPR0701MB1713; 23:Sg7K4jCBINP/ox7UZwaZCZIOqDs9IJhtgqd+Hxz?= =?us-ascii?Q?nyb4zNYWRh2tga7MDdV4x/H0+wrDzQxgTfIwCDMy6+bRMiAjgcYc+5dSUNxd?= =?us-ascii?Q?6vzOInbCFLDohgpqvx7UuZilI3TpxIQ4VKc4Zn/NuP5uejoq+wzxIZR4YvPI?= =?us-ascii?Q?YpZF6n+QunvAsOVtefpDWFfQZH8Y7UbIfaEiA3JhjUEtn2AnxCGrebb3UNZM?= =?us-ascii?Q?HeAg/AVBZrkVZ77AkUIE8tHjNWj0vBP1T8KYCsM0Jr/Gh/aPHnVIHPJIqiyw?= =?us-ascii?Q?oxM0BPT6z63RQ12iAyX9g7i/6qIGW/BoxgssJoVDACM4UVb9GOOzLGl3WZxk?= =?us-ascii?Q?CbJ2h6T1QxLCmW94d6p0sQ5VHFGc8XVA+4JytlXPXfcTsYm8x5moi2vQE72V?= =?us-ascii?Q?hqxsMWJZfcvk1QUlZB+wBVvucAQt529poou5cZsdTZqCvpvYSNMqAdM4iWp0?= =?us-ascii?Q?Ab+LRMjSAr5nQwrVNOuj8j4wjHXp0wTydaccQd17Q0qYzjpjbUY13MhoybOK?= =?us-ascii?Q?lqQ//EB1y1oYaYsNnp24mN0MT4sKBHUvYGN8DSOa4edEB7mWjmJX3Lk8xqaU?= =?us-ascii?Q?nWJRyFVxfur/wCmdwiS5AnU6CHRcG1prZjFENDbDcGomL0ByjohYMJQRdq2d?= =?us-ascii?Q?Bsw8cBPrpgBWwKD4vm8uiG7wufPjyGzEqpEknajRmDtdw5q7b4PN35U6ukXa?= =?us-ascii?Q?AuiUEMO20Sa9OK79xbBZrctQbhlOkGdu+YVZPw8Y9j1YiIph8hMv566KLou3?= =?us-ascii?Q?xkY4t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X0Dl7coNvfp/f0YLiLO+76uHbL7GvF8CebH9urExE2wWEygc+NzuVR2KsI1Jg=; 5:zory1pakrwCT+AqRsPCSZQXsR0ZLgVDnmzdrvgjpxFTKv2J/q1gEYz55HtZuEdZ4E9PRNOHqpG2LqcEzGdR0h/joY+jy17KWYRSjo9asX26TgsFZmDkhSCdgMM223a0I+tcIU8HjgPUeyKDDecYSirgcrAmngH+mvDzBLBSIkt0=; 24:sZM0No+Y/32VY9e2/7OOBDM6Gqy/CHRh9Op0ii/sW+rW6QBHzSiXKwfdpz499eNFf00InjtwK2/3PCYGoRg71VmY0okZawdXnW8AZobMtdo= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; BLUPR0701MB1713; 7:cS8SsbsaxxROF5mDUWsu/wJBjZruHQJQjlcQcqXQs6Cr3w4rPpcLOjCXQY1xJFa8IiD1PfoF4RLZI8USnYeKPbYfSr2As7L50Eo3B6E9j2wWJ4QPl9UN5lg3Vle8KO/rQhsmBhBDjZjwxxmZHTa40bFM/4TyM6NhOwALrb/q9QK7PVp67XKg1xnKvpFO1otVJYKHUtu6ifkCYn4tVu1mNVeU/28qajW4zT0I8fhOrXxeSUGchNoHw83O/1RiRRhgdZTv+P3aNEvzRf0izVvlJSBky7L8MNk/dcvx5q16wOVo0wkHuLsd8ImbY+yyzQx6ROaE+Sy0MO4xxpWkZFCnSBVv8BnDt5kMCYdaA0A0mg029DqFyquTpPrPg+WJGma6VYgRmYgPMORg64SxW8m6Jc2S4OU99acRuWTFvPtKYajfJySjdmYaA+ja3E07Ykj9ShD9Qg0isfDl+L7F2rRQUg== X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 Jan 2017 17:34:38.6075 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: BLUPR0701MB1713 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: Sat, 21 Jan 2017 17:34:44 -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 Acked-by: Jerin Jacob > --- > 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 */ > > /* Event device capability bitmap flags */ > #define RTE_EVENT_DEV_CAP_QUEUE_QOS (1ULL << 0) > -- > 2.7.4 >