net/i40e: remove vector config
This config item is not exposed anymore now that we removed make support. Note: all architectures provide vectorised functions. Signed-off-by: David Marchand <david.marchand@redhat.com> Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
This commit is contained in:
parent
36f98ed2e3
commit
c69b702e5f
@ -3529,58 +3529,6 @@ i40e_set_default_pctype_table(struct rte_eth_dev *dev)
|
||||
}
|
||||
}
|
||||
|
||||
#ifndef RTE_LIBRTE_I40E_INC_VECTOR
|
||||
int
|
||||
i40e_rx_vec_dev_conf_condition_check(struct rte_eth_dev __rte_unused *dev)
|
||||
{
|
||||
return -1;
|
||||
}
|
||||
|
||||
uint16_t
|
||||
i40e_recv_pkts_vec(
|
||||
void __rte_unused *rx_queue,
|
||||
struct rte_mbuf __rte_unused **rx_pkts,
|
||||
uint16_t __rte_unused nb_pkts)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
uint16_t
|
||||
i40e_recv_scattered_pkts_vec(
|
||||
void __rte_unused *rx_queue,
|
||||
struct rte_mbuf __rte_unused **rx_pkts,
|
||||
uint16_t __rte_unused nb_pkts)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
int
|
||||
i40e_rxq_vec_setup(struct i40e_rx_queue __rte_unused *rxq)
|
||||
{
|
||||
return -1;
|
||||
}
|
||||
|
||||
int
|
||||
i40e_txq_vec_setup(struct i40e_tx_queue __rte_unused *txq)
|
||||
{
|
||||
return -1;
|
||||
}
|
||||
|
||||
void
|
||||
i40e_rx_queue_release_mbufs_vec(struct i40e_rx_queue __rte_unused*rxq)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
uint16_t
|
||||
i40e_xmit_fixed_burst_vec(void __rte_unused * tx_queue,
|
||||
struct rte_mbuf __rte_unused **tx_pkts,
|
||||
uint16_t __rte_unused nb_pkts)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
#endif /* ifndef RTE_LIBRTE_I40E_INC_VECTOR */
|
||||
|
||||
#ifndef CC_AVX2_SUPPORT
|
||||
uint16_t
|
||||
i40e_recv_pkts_vec_avx2(void __rte_unused *rx_queue,
|
||||
|
@ -26,7 +26,6 @@ deps += ['hash']
|
||||
includes += include_directories('base')
|
||||
|
||||
if arch_subdir == 'x86'
|
||||
dpdk_conf.set('RTE_LIBRTE_I40E_INC_VECTOR', 1)
|
||||
sources += files('i40e_rxtx_vec_sse.c')
|
||||
|
||||
# compile AVX2 version if either:
|
||||
@ -70,10 +69,8 @@ if arch_subdir == 'x86'
|
||||
objs += i40e_avx512_lib.extract_objects('i40e_rxtx_vec_avx512.c')
|
||||
endif
|
||||
elif arch_subdir == 'ppc'
|
||||
dpdk_conf.set('RTE_LIBRTE_I40E_INC_VECTOR', 1)
|
||||
sources += files('i40e_rxtx_vec_altivec.c')
|
||||
elif arch_subdir == 'arm'
|
||||
dpdk_conf.set('RTE_LIBRTE_I40E_INC_VECTOR', 1)
|
||||
sources += files('i40e_rxtx_vec_neon.c')
|
||||
endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user