ixgbe: fix build without builk alloc
authorKonstantin Ananyev <konstantin.ananyev@intel.com>
Fri, 20 Mar 2015 13:59:37 +0000 (13:59 +0000)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Fri, 20 Mar 2015 21:30:29 +0000 (22:30 +0100)
commit79586d502a14eb3aeca96096a3f064365792d167
treef5764b192b9ef11d00612ab39a9817071949a3b0
parent1e496d6fdf94d7e3d597a6e59a6c16befe0ecd2b
ixgbe: fix build without builk alloc

If RTE_LIBRTE_IXGBE_RX_ALLOW_BULK_ALLOC is disabled in the config file,
RTE_PMD_IXGBE_RX_MAX_BURST macro and ixgbe_recv_pkts_bulk_alloc function
are not declared, and some parts of the ixgbe code were still trying to
use them.

Fixes: 01fa1d6215fa ("ixgbe: unify Rx setup")

Signed-off-by: Konstantin Ananyev <konstantin.ananyev@intel.com>
Acked-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
lib/librte_pmd_ixgbe/ixgbe_rxtx.c
lib/librte_pmd_ixgbe/ixgbe_rxtx.h