X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;ds=sidebyside;f=drivers%2Fnet%2Fenic%2Fmeson.build;h=6716cdaf32a35483e02d846314842e010a3236e8;hb=4182ee7f0239563916b1f730d5a58f534769ee5e;hp=064487118e9e4512a3bac6613e3df1dd73a25e6d;hpb=8a6ff33d6d36ba5f0231ce4261546298a6d2af72;p=dpdk.git diff --git a/drivers/net/enic/meson.build b/drivers/net/enic/meson.build index 064487118e..6716cdaf32 100644 --- a/drivers/net/enic/meson.build +++ b/drivers/net/enic/meson.build @@ -6,7 +6,6 @@ sources = files( 'base/vnic_dev.c', 'base/vnic_intr.c', 'base/vnic_rq.c', - 'base/vnic_rss.c', 'base/vnic_wq.c', 'enic_clsf.c', 'enic_ethdev.c', @@ -19,13 +18,13 @@ deps += ['hash'] includes += include_directories('base') # The current implementation assumes 64-bit pointers -if dpdk_conf.has('RTE_MACHINE_CPUFLAG_AVX2') and cc.sizeof('void *') == 8 +if dpdk_conf.has('RTE_MACHINE_CPUFLAG_AVX2') and dpdk_conf.get('RTE_ARCH_64') sources += files('enic_rxtx_vec_avx2.c') # Build the avx2 handler if the compiler supports it, even though 'machine' # does not. This is to support users who build for the min supported machine # and need to run the binary on newer CPUs too. # This part is from i40e meson.build -elif cc.has_argument('-mavx2') and cc.sizeof('void *') == 8 +elif cc.has_argument('-mavx2') and dpdk_conf.get('RTE_ARCH_64') enic_avx2_lib = static_library('enic_avx2_lib', 'enic_rxtx_vec_avx2.c', dependencies: [static_rte_ethdev, static_rte_bus_pci],