From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bruce Richardson Subject: Re: [PATCH v2 02/16] fm10k/base: add macro definitions that are needed Date: Tue, 16 Feb 2016 10:52:19 +0000 Message-ID: <20160216105218.GD21696@bricha3-MOBL3> References: <1453372561-11431-16-git-send-email-xiao.w.wang@intel.com> <1453866647-16215-1-git-send-email-xiao.w.wang@intel.com> <1453866647-16215-3-git-send-email-xiao.w.wang@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Cc: dev@dpdk.org To: Wang Xiao W Return-path: Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by dpdk.org (Postfix) with ESMTP id 1C5DE37A6 for ; Tue, 16 Feb 2016 11:52:22 +0100 (CET) Content-Disposition: inline In-Reply-To: <1453866647-16215-3-git-send-email-xiao.w.wang@intel.com> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On Wed, Jan 27, 2016 at 11:50:33AM +0800, Wang Xiao W wrote: > Some macros such as FM10K_RXINT_TIMER_SHIFT are removed in the share > code drop, but they are needed in dpdk/fm10k. This patch put all these > necessary macros into fm10k_osdep.h >=20 > Signed-off-by: Wang Xiao W > --- > drivers/net/fm10k/base/fm10k_osdep.h | 30 ++++++++++++++++++++++++++++= ++ > 1 file changed, 30 insertions(+) >=20 Compilation fails with this patch applied. Each patch of the set must lea= ve the repository in a compilable state. Please do a V3 patchset to fix. Thanks, /Bruce CC fm10k_ethdev.o In file included from /home/bruce/next-net/dpdk-next-net/drivers/net/fm10= k/fm10k.h:43:0, from /home/bruce/next-net/dpdk-next-net/drivers/net/fm= 10k/fm10k_ethdev.c:41: /home/bruce/next-net/dpdk-next-net/drivers/net/fm10k/base/fm10k_type.h:90= 4:6: error: nested redefiniti on of =E2=80=98enum fm10k_rdesc_pkt_type=E2= =80=99 enum fm10k_rdesc_pkt_type { ^ compilation terminated due to -Wfatal-errors. /home/bruce/next-net/dpdk-next-net/mk/internal/rte.compile-pre.mk:126: re= cipe for target 'fm10k_ethdev .o' failed make[5]: *** [fm10k_ethdev.o] Error 1