[dpdk-dev] [PATCH] skeleton app: Very simple code for l2fwding

Richardson, Bruce bruce.richardson at intel.com
Thu Jun 26 23:00:28 CEST 2014


> -----Original Message-----
> From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Vincent JARDIN
> Sent: Thursday, June 26, 2014 1:57 PM
> To: dev at dpdk.org
> Subject: Re: [dpdk-dev] [PATCH] skeleton app: Very simple code for l2fwding
> 
> > +#ifdef RTE_EXEC_ENV_BAREMETAL
> >>+#define MAIN _main
> >>+#else
> >>+#define MAIN main
> >>+#endif
> >>+
> >>+int MAIN(int argc, char *argv[]);
> >>+
> >>+#endif /* ifndef_MAIN_H_  */
> 
> why keeping the baremetal? It was dropped for a while.
> 
Inertia :-)
Almost every other app does it this way so I kept the same styling. A separate cleanup commit would be to get rid of all this stuff.


More information about the dev mailing list