From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by dpdk.org (Postfix) with ESMTP id A350DB0B3 for ; Thu, 26 Jun 2014 23:00:38 +0200 (CEST) Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga101.jf.intel.com with ESMTP; 26 Jun 2014 14:00:55 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.01,555,1400050800"; d="scan'208";a="564101188" Received: from irsmsx103.ger.corp.intel.com ([163.33.3.157]) by orsmga002.jf.intel.com with ESMTP; 26 Jun 2014 14:00:30 -0700 Received: from irsmsx152.ger.corp.intel.com (163.33.192.66) by IRSMSX103.ger.corp.intel.com (163.33.3.157) with Microsoft SMTP Server (TLS) id 14.3.123.3; Thu, 26 Jun 2014 22:00:29 +0100 Received: from irsmsx103.ger.corp.intel.com ([169.254.3.130]) by IRSMSX152.ger.corp.intel.com ([169.254.6.25]) with mapi id 14.03.0123.003; Thu, 26 Jun 2014 22:00:29 +0100 From: "Richardson, Bruce" To: Vincent JARDIN , "dev@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH] skeleton app: Very simple code for l2fwding Thread-Index: AQHPkXxkx06GpTNu8U6X8uZ6V9XHNZuDyYIAgAAFGYCAABFoAA== Date: Thu, 26 Jun 2014 21:00:28 +0000 Message-ID: <59AF69C657FD0841A61C55336867B5B02CEF89FB@IRSMSX103.ger.corp.intel.com> References: <1403814160-19613-1-git-send-email-bruce.richardson@intel.com> <20140626203844.GA639@localhost.localdomain> <53AC891B.7040609@6wind.com> In-Reply-To: <53AC891B.7040609@6wind.com> Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [163.33.239.182] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH] skeleton app: Very simple code for l2fwding X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Jun 2014 21:00:40 -0000 > -----Original Message----- > From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Vincent JARDIN > Sent: Thursday, June 26, 2014 1:57 PM > To: dev@dpdk.org > Subject: Re: [dpdk-dev] [PATCH] skeleton app: Very simple code for l2fwdi= ng >=20 > > +#ifdef RTE_EXEC_ENV_BAREMETAL > >>+#define MAIN _main > >>+#else > >>+#define MAIN main > >>+#endif > >>+ > >>+int MAIN(int argc, char *argv[]); > >>+ > >>+#endif /* ifndef_MAIN_H_ */ >=20 > why keeping the baremetal? It was dropped for a while. >=20 Inertia :-) Almost every other app does it this way so I kept the same styling. A separ= ate cleanup commit would be to get rid of all this stuff.