kni: move header file from EAL

Since the kernel module is not part of EAL anymore,
there is no need to have the common KNI header file in EAL.
The file rte_kni_common.h is moved to librte_kni.

Signed-off-by: Thomas Monjalon <thomas@monjalon.net>
Acked-by: Andrew Rybchenko <andrew.rybchenko@oktetlabs.ru>
Acked-by: Bruce Richardson <bruce.richardson@intel.com>
This commit is contained in:
Thomas Monjalon 2020-10-25 19:48:20 +01:00
parent 7b0de673e2
commit 905592f4c4
4 changed files with 2 additions and 3 deletions

View File

@ -18,7 +18,7 @@ custom_target('rte_kni',
'src=' + meson.current_source_dir(),
'MODULE_CFLAGS=-include ' + meson.source_root() + '/config/rte_config.h' +
' -I' + meson.source_root() + '/lib/librte_eal/include' +
' -I' + meson.source_root() + '/lib/librte_eal/linux/include' +
' -I' + meson.source_root() + '/lib/librte_kni' +
' -I' + meson.build_root() +
' -I' + meson.current_source_dir(),
'modules'],

View File

@ -4,6 +4,5 @@
includes += include_directories('.')
headers += files(
'rte_kni_common.h',
'rte_os.h',
)

View File

@ -6,5 +6,5 @@ if not is_linux or not dpdk_conf.get('RTE_ARCH_64')
reason = 'only supported on 64-bit linux'
endif
sources = files('rte_kni.c')
headers = files('rte_kni.h')
headers = files('rte_kni.h', 'rte_kni_common.h')
deps += ['ethdev', 'pci']