From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH] ixgbe: fix compilation issue when IXGBE_RX_ALLOW_BULK_ALLOC is disabled Date: Wed, 22 Jul 2015 11:58:14 +0200 Message-ID: <1801112.NAORdJLOC0@xps13> References: <1437558611-11952-1-git-send-email-pablo.de.lara.guarch@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org To: Pablo de Lara Return-path: Received: from mail-wi0-f171.google.com (mail-wi0-f171.google.com [209.85.212.171]) by dpdk.org (Postfix) with ESMTP id 8FCCE255 for ; Wed, 22 Jul 2015 11:59:27 +0200 (CEST) Received: by wibud3 with SMTP id ud3so164093436wib.0 for ; Wed, 22 Jul 2015 02:59:27 -0700 (PDT) In-Reply-To: <1437558611-11952-1-git-send-email-pablo.de.lara.guarch@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-07-22 10:50, Pablo de Lara: > ixgbe_recv_pkts_lro uses field rx_free_trigger > in structure ixgbe_rx_queue, but that field is only defined > if IXGBE_RX_ALLOW_BULK_ALLOC is enabled, so even though > that field is not used when it is disabled, > compiler complains about it. > Therefore, the lines of code that use that field > have been ifdef. > > Fixes: 8eecb329 ("ixgbe: add LRO support") > > Signed-off-by: Pablo de Lara Applied, thanks