net/pfe: add MAC and host interface initialisation
[dpdk.git] / drivers / net / pfe / meson.build
index fa5dfad..799500b 100644 (file)
@@ -6,4 +6,18 @@ if host_machine.system() != 'linux'
 endif
 deps += ['bus_dpaa']
 
-sources = files('pfe_ethdev.c')
+sources = files('pfe_ethdev.c',
+               'pfe_hal.c',
+               'pfe_hif_lib.c',
+               'pfe_hif.c')
+
+if cc.has_argument('-Wno-pointer-arith')
+       cflags += '-Wno-pointer-arith'
+endif
+
+# Driver uses below experimental APIs
+# rte_mem_iova2virt
+# rte_mem_virt2memseg
+allow_experimental_apis = true
+
+includes += include_directories('base')