From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id 32B435682 for ; Fri, 6 Nov 2015 15:42:17 +0100 (CET) Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga101.fm.intel.com with ESMTP; 06 Nov 2015 06:42:16 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.20,252,1444719600"; d="scan'208";a="679763662" Received: from irsmsx108.ger.corp.intel.com ([163.33.3.3]) by orsmga003.jf.intel.com with ESMTP; 06 Nov 2015 06:42:15 -0800 Received: from irsmsx151.ger.corp.intel.com ([169.254.4.95]) by IRSMSX108.ger.corp.intel.com ([169.254.11.138]) with mapi id 14.03.0248.002; Fri, 6 Nov 2015 14:39:31 +0000 From: "Richardson, Bruce" To: Adrien Mazarguil Thread-Topic: [dpdk-dev] [PATCH v3 2/4] ethdev: move error checking macros to header Thread-Index: AdEYiaXlrvNHb8RAG0uWI1YANX292QABJj+AAARI+jA= Date: Fri, 6 Nov 2015 14:39:31 +0000 Message-ID: <59AF69C657FD0841A61C55336867B5B03597518E@IRSMSX151.ger.corp.intel.com> References: <20151106115244.GB13920@bricha3-MOBL3> <20151106122539.GC4013@6wind.com> In-Reply-To: <20151106122539.GC4013@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.181] Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 Cc: "dev@dpdk.org" Subject: Re: [dpdk-dev] [PATCH v3 2/4] ethdev: move error checking macros to header 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: Fri, 06 Nov 2015 14:42:17 -0000 PiAtLS0tLU9yaWdpbmFsIE1lc3NhZ2UtLS0tLQ0KPiBGc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