From 91a861e54164b5cc0201fd52aec7013a253694c9 Mon Sep 17 00:00:00 2001 From: Jerin Jacob Date: Sat, 18 Jan 2020 00:44:00 +0530 Subject: [PATCH] config: disable Linux kernel modules by default Based on the techboard meeting held on 2019-11-06, It's been decided to disable all kmods by default from v20.02. http://mails.dpdk.org/archives/dev/2019-November/151763.html Signed-off-by: Jerin Jacob --- config/common_linux | 2 -- doc/guides/rel_notes/release_20_02.rst | 6 ++++++ meson_options.txt | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/config/common_linux b/config/common_linux index c5cf3d6628..583efadc7d 100644 --- a/config/common_linux +++ b/config/common_linux @@ -8,9 +8,7 @@ CONFIG_RTE_EXEC_ENV_LINUX=y CONFIG_RTE_EXEC_ENV_LINUXAPP=y CONFIG_RTE_EAL_NUMA_AWARE_HUGEPAGES=y -CONFIG_RTE_EAL_IGB_UIO=y CONFIG_RTE_EAL_VFIO=y -CONFIG_RTE_KNI_KMOD=y CONFIG_RTE_LIBRTE_KNI=y CONFIG_RTE_LIBRTE_PMD_KNI=y CONFIG_RTE_LIBRTE_VHOST=y diff --git a/doc/guides/rel_notes/release_20_02.rst b/doc/guides/rel_notes/release_20_02.rst index a65227eaf1..6b639878a6 100644 --- a/doc/guides/rel_notes/release_20_02.rst +++ b/doc/guides/rel_notes/release_20_02.rst @@ -150,6 +150,12 @@ Removed Items Also, make sure to start the actual text at the margin. ========================================================= +* **Disabled building all the Linux kernel modules by default.** + + In order to remove the build time dependency with Linux kernel, + the Technical Board decided to disable all the kernel modules + by default from 20.02 version. + API Changes ----------- diff --git a/meson_options.txt b/meson_options.txt index bc369d06c9..53dfe13c30 100644 --- a/meson_options.txt +++ b/meson_options.txt @@ -6,7 +6,7 @@ option('drivers_install_subdir', type: 'string', value: 'dpdk/pmds-', description: 'Subdirectory of libdir where to install PMDs. Defaults to using a versioned subdirectory.') option('enable_docs', type: 'boolean', value: false, description: 'build documentation') -option('enable_kmods', type: 'boolean', value: true, +option('enable_kmods', type: 'boolean', value: false, description: 'build kernel modules') option('examples', type: 'string', value: '', description: 'Comma-separated list of examples to build by default') -- 2.20.1