From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [BUG] ixgbe vector cannot compile without bulk alloc Date: Mon, 01 Dec 2014 09:22:28 -0800 (PST) Message-ID: <1953153.vMxMoL6Atb@xps13> References: <5418900.qsIIdEyxOF@xps13> <20141201171854.GH4856@bricha3-MOBL3> Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Cc: dev-VfR2kkLFssw@public.gmane.org To: Bruce Richardson Return-path: In-Reply-To: <20141201171854.GH4856@bricha3-MOBL3> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces-VfR2kkLFssw@public.gmane.org Sender: "dev" 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