From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH] bsdapp: fix missing #define for drivers compile Date: Wed, 04 Nov 2015 18:25:04 +0100 Message-ID: <5149236.6kl2BMLUQZ@xps13> References: <1446656757-17809-1-git-send-email-bruce.richardson@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org To: Bruce Richardson Return-path: Received: from mail-wi0-f176.google.com (mail-wi0-f176.google.com [209.85.212.176]) by dpdk.org (Postfix) with ESMTP id C5B8F8DAA for ; Wed, 4 Nov 2015 18:26:16 +0100 (CET) Received: by wicll6 with SMTP id ll6so94368161wic.0 for ; Wed, 04 Nov 2015 09:26:16 -0800 (PST) In-Reply-To: <1446656757-17809-1-git-send-email-bruce.richardson@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" 2015-11-04 17:05, Bruce Richardson: > The i40e driver was using a #define value for the max number of rxtx interrupts > supported. This value was defined only for linux, giving an error when compiling > on FreeBSD. > > CC i40e_ethdev.o > /usr/home/bruce/dpdk.org/drivers/net/i40e/i40e_ethdev.c:3885:9: fatal error: use of undeclared > identifier 'RTE_MAX_RXTX_INTR_VEC_ID' > > Copying the necessary #define into the FreeBSD EAL header fixes the compile > error. > > Fixes: d37641029ada ("eal/linux: add interrupt vectors") > > Signed-off-by: Bruce Richardson Applied, thanks