[dpdk-dev] ixgbe: forbid building vpmd without Rx bulk alloc
Commit Message
CONFIG_RTE_LIBRTE_IXGBE_RX_ALLOW_BULK_ALLOC is a prerequisite
of CONFIG_RTE_IXGBE_INC_VECTOR.
Reported-by: Alexander Belyakov <abelyako@gmail.com>
Signed-off-by: Thomas Monjalon <thomas.monjalon@6wind.com>
---
lib/librte_pmd_ixgbe/Makefile | 4 ++++
1 file changed, 4 insertions(+)
Comments
2015-01-30 00:31, Thomas Monjalon:
> CONFIG_RTE_LIBRTE_IXGBE_RX_ALLOW_BULK_ALLOC is a prerequisite
> of CONFIG_RTE_IXGBE_INC_VECTOR.
>
> Reported-by: Alexander Belyakov <abelyako@gmail.com>
> Signed-off-by: Thomas Monjalon <thomas.monjalon@6wind.com>
Applied
@@ -114,4 +114,8 @@ DEPDIRS-$(CONFIG_RTE_LIBRTE_IXGBE_PMD) += lib/librte_eal lib/librte_ether
DEPDIRS-$(CONFIG_RTE_LIBRTE_IXGBE_PMD) += lib/librte_mempool lib/librte_mbuf
DEPDIRS-$(CONFIG_RTE_LIBRTE_IXGBE_PMD) += lib/librte_net lib/librte_malloc
+ifeq ($(CONFIG_RTE_IXGBE_INC_VECTOR)$(CONFIG_RTE_LIBRTE_IXGBE_RX_ALLOW_BULK_ALLOC),yn)
+$(error The ixgbe vpmd depends on Rx bulk alloc)
+endif
+
include $(RTE_SDK)/mk/rte.lib.mk