From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jerin Jacob Subject: Re: [PATCH 01/15] eventdev: remove unneeded dependencies Date: Tue, 17 Jan 2017 16:08:16 +0530 Message-ID: <20170117103816.GA1933@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> <20170117091139.GA17275@localhost.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Cc: "dev@dpdk.org" , "Richardson, Bruce" To: "Van Haaren, Harry" Return-path: Received: from NAM01-BY2-obe.outbound.protection.outlook.com (mail-by2nam01on0084.outbound.protection.outlook.com [104.47.34.84]) by dpdk.org (Postfix) with ESMTP id 12E04DE5 for ; Tue, 17 Jan 2017 11:38:50 +0100 (CET) Content-Disposition: inline In-Reply-To: List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On Tue, Jan 17, 2017 at 09:59:59AM +0000, Van Haaren, Harry wrote: > > From: Jerin Jacob [mailto:jerin.jacob@caviumnetworks.com] > > > > > > #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? > > > The idea was to remove the include of the header file, as we never dereference the mbuf pointer, and hence we shouldn't include a header we don't require. > > The struct rte_mbuf here is just a forward declaration for the actual rte_mbuf. This allows the rte_event to contain a struct rte_mbuf* without the compiler complaining that it doesn't understand the type. > > > The current patches apply to dpdk-next-eventdev HEAD, I don't think I understand what you're asking about rebasing. Thanks for the clarification. It is clear now. I got confused with following comment in the cover-letter. This implementation is based on the previous software eventdev RFC patchset[1], updated to integrate with the latest rte_eventdev.h API. [1] http://dpdk.org/ml/archives/dev/2016-November/050285.html