From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wg0-f46.google.com (mail-wg0-f46.google.com [74.125.82.46]) by dpdk.org (Postfix) with ESMTP id 6DC487F00 for ; Mon, 1 Dec 2014 18:22:29 +0100 (CET) Received: by mail-wg0-f46.google.com with SMTP id a1so6528504wgh.19 for ; Mon, 01 Dec 2014 09:22:29 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:cc:subject:message-id:organization :user-agent:in-reply-to:references:mime-version :content-transfer-encoding:content-type; bh=4KFlRjfO3IRz/uuy/q6P/lYb/Dq2GaAkb2XUbWQaRSY=; b=OVM+XTzUypKZpk9uki8AGPVXgpFvvcL/66JfSlTiRssMYfUsz8WHwy8HRJ0TBKYfUI immrKPeDwUXoNRDbIzNfZj8rS31ZYg2pKXtZTjawj/QEHj6xq4aIv8XZ8psfx0/TPSw1 ctUkOBMHaSW8wbYx2NUsYXsIU2XCYRrJTPRcrXH0iYK6jj8zATeIH79pjFV7o1RFISB3 rugbKVjNlzKgKSXN5oGST7zXXqJUuPk6VTNQRIIlSaa1/nUCs+gddf1GqhQsYzaEW36A eLYb/VRMikZihohb40F/3Qw3mXgeilkPBxHNbIjk/auvmDTENxLDIhGec5K1xtxSQ7gg IcLw== X-Gm-Message-State: ALoCoQkhcmMIV//botpnipJ4dBRmUGV+5DgUaN+m9+qII4YzUU3Ox+UM7RDTshZDAOkM63yNXhek X-Received: by 10.180.208.112 with SMTP id md16mr83555057wic.37.1417454549056; Mon, 01 Dec 2014 09:22:29 -0800 (PST) Received: from xps13.localnet (guy78-3-82-239-227-177.fbx.proxad.net. [82.239.227.177]) by mx.google.com with ESMTPSA id dg7sm29261208wib.24.2014.12.01.09.22.27 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 01 Dec 2014 09:22:28 -0800 (PST) Date: Mon, 01 Dec 2014 09:22:28 -0800 (PST) X-Google-Original-Date: Mon, 01 Dec 2014 18:22 +0100 From: Thomas Monjalon To: Bruce Richardson Message-ID: <1953153.vMxMoL6Atb@xps13> Organization: 6WIND User-Agent: KMail/4.14.3 (Linux/3.17.4-1-ARCH; KDE/4.14.3; x86_64; ; ) In-Reply-To: <20141201171854.GH4856@bricha3-MOBL3> References: <5418900.qsIIdEyxOF@xps13> <20141201171854.GH4856@bricha3-MOBL3> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Cc: dev@dpdk.org Subject: Re: [dpdk-dev] [BUG] ixgbe vector cannot compile without bulk alloc 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: Mon, 01 Dec 2014 17:22:30 -0000 2014-12-01 17:18, Bruce Richardson: > On Mon, Dec 01, 2014 at 06:10:18PM +0100, Thomas Monjalon wrote: > > These 2 configuration options are incompatible: > > =09CONFIG_RTE_LIBRTE_IXGBE_RX_ALLOW_BULK_ALLOC=3Dn > > =09CONFIG_RTE_IXGBE_INC_VECTOR=3Dy > > Building this config gives this error: > > =09lib/librte_pmd_ixgbe/ixgbe_rxtx_vec.c:69:24: > > =09error: =E2=80=98struct igb_rx_queue=E2=80=99 has no member named= =E2=80=98fake_mbuf=E2=80=99 > >=20 > > I'd like a confirmation that it will be always incompatible. > > Thanks >=20 > Hi Thomas, >=20 > I don't think these options should always be incompatible, though as = you point > out you do need to turn on bulk alloc support in order to use the vec= tor PMD. > Why do you ask? There are no immediate plans to remove the dependency= on our end. I think the compilation shouldn't fail without a proper message. In order to distinguish a real compilation error from an incompatibilit= y, we should add a warning in the makefile. Ideally, the build system should handle dependencies. But waiting this = ideal time, a warning would be graceful. --=20 Thomas