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: > > CONFIG_RTE_LIBRTE_IXGBE_RX_ALLOW_BULK_ALLOC=n > > CONFIG_RTE_IXGBE_INC_VECTOR=y > > Building this config gives this error: > > lib/librte_pmd_ixgbe/ixgbe_rxtx_vec.c:69:24: > > error: ?struct igb_rx_queue? has no member named ?fake_mbuf? > > > > I'd like a confirmation that it will be always incompatible. > > Thanks > > Hi Thomas, > > 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 vector 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 incompatibility, 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. -- Thomas