[dpdk-dev] [PATCH 10/20] event/dpaa2: add initialization of event device

Jerin Jacob jerin.jacob at caviumnetworks.com
Thu Jun 1 12:39:09 CEST 2017


-----Original Message-----
> Date: Thu, 1 Jun 2017 10:25:02 +0000
> From: Nipun Gupta <nipun.gupta at nxp.com>
> To: Jerin Jacob <jerin.jacob at caviumnetworks.com>
> CC: "dev at dpdk.org" <dev at dpdk.org>, Hemant Agrawal <hemant.agrawal at nxp.com>,
>  "harry.van.haaren at intel.com" <harry.van.haaren at intel.com>,
>  "bruce.richardson at intel.com" <bruce.richardson at intel.com>,
>  "gage.eads at intel.com" <gage.eads at intel.com>, Shreyansh Jain
>  <shreyansh.jain at nxp.com>
> Subject: RE: [PATCH 10/20] event/dpaa2: add initialization of event device
> 
> 
> 
> > -----Original Message-----
> > From: Jerin Jacob [mailto:jerin.jacob at caviumnetworks.com]
> > Sent: Wednesday, May 31, 2017 20:40
> > To: Nipun Gupta <nipun.gupta at nxp.com>
> > Cc: dev at dpdk.org; Hemant Agrawal <hemant.agrawal at nxp.com>;
> > harry.van.haaren at intel.com; bruce.richardson at intel.com;
> > gage.eads at intel.com; Shreyansh Jain <shreyansh.jain at nxp.com>
> > Subject: Re: [PATCH 10/20] event/dpaa2: add initialization of event device
> > 
> > -----Original Message-----
> > > Date: Thu, 25 May 2017 23:37:41 +0530
> > > From: Nipun Gupta <nipun.gupta at nxp.com>
> > > To: dev at dpdk.org
> > > CC: hemant.agrawal at nxp.com, jerin.jacob at caviumnetworks.com,
> > >  harry.van.haaren at intel.com, bruce.richardson at intel.com,
> > >  gage.eads at intel.com, shreyansh.jain at nxp.com, Nipun Gupta
> > >  <nipun.gupta at nxp.com>
> > > Subject: [PATCH 10/20] event/dpaa2: add initialization of event device
> > > X-Mailer: git-send-email 1.9.1
> > >
> > > Signed-off-by: Nipun Gupta <nipun.gupta at nxp.com>
> > > ---
> > >  drivers/event/dpaa2/dpaa2_eventdev.c | 153
> > ++++++++++++++++++++++++++++++++++-
> > >  drivers/event/dpaa2/dpaa2_eventdev.h |  22 +++++
> > >  2 files changed, 171 insertions(+), 4 deletions(-)
> > >
> > > diff --git a/drivers/event/dpaa2/dpaa2_eventdev.c
> > b/drivers/event/dpaa2/dpaa2_eventdev.c
> > > index 191901e..7fa17f2 100644
> > > --- a/drivers/event/dpaa2/dpaa2_eventdev.c
> > > +++ b/drivers/event/dpaa2/dpaa2_eventdev.c
> > > @@ -30,17 +30,164 @@
> > >   *   OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
> > DAMAGE.
> > >   */
> > >
> > > +#include <assert.h>
> > > +#include <stdio.h>
> > > +#include <stdbool.h>
> > > +#include <errno.h>
> > > +#include <stdint.h>
> > > +#include <string.h>
> > > +#include <stdint.h>
> > > +#include <sys/epoll.h>
> > > +
> > > +#include <rte_byteorder.h>
> > > +#include <rte_common.h>
> > > +#include <rte_debug.h>
> > > +#include <rte_dev.h>
> > >  #include <rte_eal.h>
> > > +#include <rte_log.h>
> > > +#include <rte_memory.h>
> > > +#include <rte_memzone.h>
> > > +#include <rte_malloc.h>
> > > +#include <rte_pci.h>
> > > +#include <rte_lcore.h>
> > >  #include <rte_vdev.h>
> > > +#include <rte_fslmc.h>
> > > +#include <rte_atomic.h>
> > 
> > Maintain alphabetical order in header inclusion.
> 
> Thank you for the review.
> 
> Regarding this I check most of the c files in DPDK and do not see that alphabetical
> being maintained in the header file inclusions. Are you suggesting to have an alphabetical
> order here across all inclusions of rte* as well as gcc standard header files (combined) or
> to have them ordered separately?

Just the rte_*.h header files in the new files.


More information about the dev mailing list