From mboxrd@z Thu Jan 1 00:00:00 1970 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) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:organization :user-agent:in-reply-to:references:mime-version :content-transfer-encoding:content-type; bh=hMMtI8FmXP7tURI3ioGoJm5JE18OKVTaXAUevYGLXZA=; b=RJe/pPzcKYmEhfZyO1jB0/YmEoWxQUJfg/osxBO8LNRKcE9j8yDU72JkImByus5FPM VDygY1sq+8i6Ffx9NlQZ0icWTDbr+ABcyhyq8NG034bdUsHb6gfJiL/DBwQato5+d63Q bh+9LC4hiHwWh9qS5FA0nE1IgpFM40a7p0mkeD1HfxxWVjEFKqDnP5typQQG9yEBtHeG IgBUSDCv5XKIY15ArON2hMIymteqQmiFQZwp57hDw88yiIF/3fl6M8OGA9BNCZFVW/lA 4g+/OhxrfuR3HFyDnzRaVCseYL40RSsWoSEfgTFdOiaufH4cvSorunKodJIpllHTavma HJBA== X-Gm-Message-State: ALoCoQlJGpAt3rRzFzxxOUaGH+TtvqUxLY2YGtZijjgT7xHeJVqhVqDTyBZQu8kkxPsvtguxrsQu X-Received: by 10.194.112.3 with SMTP id im3mr3453892wjb.54.1437559167432; Wed, 22 Jul 2015 02:59:27 -0700 (PDT) Received: from xps13.localnet (136-92-190-109.dsl.ovh.fr. [109.190.92.136]) by smtp.gmail.com with ESMTPSA id pg9sm1513964wjb.40.2015.07.22.02.59.25 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 22 Jul 2015 02:59:26 -0700 (PDT) From: Thomas Monjalon To: Pablo de Lara Date: Wed, 22 Jul 2015 11:58:14 +0200 Message-ID: <1801112.NAORdJLOC0@xps13> Organization: 6WIND User-Agent: KMail/4.14.8 (Linux/4.0.4-2-ARCH; KDE/4.14.8; x86_64; ; ) In-Reply-To: <1437558611-11952-1-git-send-email-pablo.de.lara.guarch@intel.com> References: <1437558611-11952-1-git-send-email-pablo.de.lara.guarch@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Cc: dev@dpdk.org Subject: Re: [dpdk-dev] [PATCH] ixgbe: fix compilation issue when IXGBE_RX_ALLOW_BULK_ALLOC is disabled 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: Wed, 22 Jul 2015 09:59:27 -0000 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