net/hns3: fix timing in mailbox
[dpdk.git] / drivers / net / mlx5 / meson.build
index e95ce02..f2fafbd 100644 (file)
@@ -15,25 +15,33 @@ sources = files(
        'mlx5_flow.c',
        'mlx5_flow_meter.c',
        'mlx5_flow_dv.c',
-       'mlx5_flow_verbs.c',
+        'mlx5_flow_age.c',
        'mlx5_mac.c',
        'mlx5_mr.c',
        'mlx5_rss.c',
        'mlx5_rxmode.c',
        'mlx5_rxq.c',
        'mlx5_rxtx.c',
-       'mlx5_mp.c',
        'mlx5_stats.c',
        'mlx5_trigger.c',
        'mlx5_txq.c',
+       'mlx5_txpp.c',
        'mlx5_vlan.c',
        'mlx5_utils.c',
+       'mlx5_devx.c',
 )
-if (dpdk_conf.has('RTE_ARCH_X86_64')
-       or dpdk_conf.has('RTE_ARCH_ARM64')
-       or dpdk_conf.has('RTE_ARCH_PPC_64'))
-       sources += files('mlx5_rxtx_vec.c')
+
+if is_linux
+       sources += files(
+               'mlx5_flow_verbs.c',
+       )
+       if (dpdk_conf.has('RTE_ARCH_X86_64')
+               or dpdk_conf.has('RTE_ARCH_ARM64')
+               or dpdk_conf.has('RTE_ARCH_PPC_64'))
+               sources += files('mlx5_rxtx_vec.c')
+       endif
 endif
+
 cflags_options = [
        '-std=c11',
        '-Wno-strict-prototypes',