ixgbe: fix build of standard Rx with vectorized Tx
authorCunming Liang <cunming.liang@intel.com>
Thu, 26 Jun 2014 06:53:30 +0000 (14:53 +0800)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Thu, 26 Jun 2014 10:18:51 +0000 (12:18 +0200)
commitb23dad37f0c745b6cab1c90f8e136584c4c8d15b
tree28d3ef09605665ce199a6f4966752980529d0def
parent6f77410723a432f48941694b27b7dc906a7a7e03
ixgbe: fix build of standard Rx with vectorized Tx

The vpmd RX routine won't be used if RTE_LIBRTE_IXGBE_RX_ALLOW_BULK_ALLOC
is not defined or its condition check fail.
The case RTE_LIBRTE_IXGBE_RX_ALLOC_BULK_ALLOC=n and RTE_IXGBE_INC_VECTOR=y
may exist when choose to use standard RX and optimized TX
(ixgbe_xmit_pkts_vec/ixgbe_xmit_pkts_simple).

Signed-off-by: Cunming Liang <cunming.liang@intel.com>
Acked-by: Bruce Richardson <bruce.richardson@intel.com>
Acked-by: Yong Liu <yong.liu@intel.com>
Tested-by: Zhaochen Zhan <zhaochen.zhan@intel.com>
lib/librte_pmd_ixgbe/ixgbe_rxtx.h