From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <dev-bounces@dpdk.org>
Received: from dpdk.org (dpdk.org [92.243.14.124])
	by inbox.dpdk.org (Postfix) with ESMTP id 0E157A051C;
	Fri, 17 Jan 2020 20:13:36 +0100 (CET)
Received: from [92.243.14.124] (localhost [127.0.0.1])
	by dpdk.org (Postfix) with ESMTP id D2A542C58;
	Fri, 17 Jan 2020 20:13:34 +0100 (CET)
Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com
 [67.231.148.174]) by dpdk.org (Postfix) with ESMTP id 2C3BB2C58;
 Fri, 17 Jan 2020 20:13:33 +0100 (CET)
Received: from pps.filterd (m0045849.ppops.net [127.0.0.1])
 by mx0a-0016f401.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id
 00HJDWNm000473; Fri, 17 Jan 2020 11:13:32 -0800
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com;
 h=from : to : cc :
 subject : date : message-id : in-reply-to : references : mime-version :
 content-transfer-encoding : content-type; s=pfpt0818;
 bh=avhVAGzjSQ80GkbWBCoHh8y7Mg+7R7BD7wS2om40FSo=;
 b=Bw3B8yzSq0v8aePCIcw0NyGOET4+u0Ha0GFH4k+JJAXGHA4nqdP+XHtxHmHegr3lcrwH
 +T9AAZcTD0J5pgK6cGEgwYU4ClYiLDfZC4yzxK018qGP3aqFVy8bsoJIwLLCX9gxkFKI
 +AXElXw73Pt35112VKPSXqiAew40oegUdgsDHgy4+TM2G9ehEzB4IbhQu1AbHZzaPDTO
 tCcRjPUTo/yRHxhxbRVhKIx6QQ3y1Gnb4U6G1idAI3F2AOekVAKpHZl9tbT1EB1AVpoa
 AmWPcFyLYmf3s/TKWbLZV3wrGj7ge7CMstR10xbwBV9OvD2SGaEVISi/IbruBPdWzcJO og== 
Received: from sc-exch04.marvell.com ([199.233.58.184])
 by mx0a-0016f401.pphosted.com with ESMTP id 2xk0s4ky3y-1
 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT);
 Fri, 17 Jan 2020 11:13:32 -0800
Received: from SC-EXCH03.marvell.com (10.93.176.83) by SC-EXCH04.marvell.com
 (10.93.176.84) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Fri, 17 Jan
 2020 11:13:30 -0800
Received: from maili.marvell.com (10.93.176.43) by SC-EXCH03.marvell.com
 (10.93.176.83) with Microsoft SMTP Server id 15.0.1497.2 via Frontend
 Transport; Fri, 17 Jan 2020 11:13:30 -0800
Received: from jerin-lab.marvell.com (jerin-lab.marvell.com [10.28.34.14])
 by maili.marvell.com (Postfix) with ESMTP id A29473F703F;
 Fri, 17 Jan 2020 11:13:28 -0800 (PST)
From: <jerinj@marvell.com>
To: <dev@dpdk.org>, Thomas Monjalon <thomas@monjalon.net>, John McNamara
 <john.mcnamara@intel.com>, Marko Kovacevic <marko.kovacevic@intel.com>,
 "Bruce Richardson" <bruce.richardson@intel.com>
CC: <techboard@dpdk.org>, Jerin Jacob <jerinj@marvell.com>
Date: Sat, 18 Jan 2020 00:44:00 +0530
Message-ID: <20200117191400.893118-1-jerinj@marvell.com>
X-Mailer: git-send-email 2.24.1
In-Reply-To: <20191212131302.1626130-1-jerinj@marvell.com>
References: <20191212131302.1626130-1-jerinj@marvell.com>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Content-Type: text/plain
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.138, 18.0.572
 definitions=2020-01-17_05:2020-01-16,
 2020-01-17 signatures=0
Subject: [dpdk-dev] [PATCH v2] config: disable all kmods by default from
	v20.02
X-BeenThere: dev@dpdk.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: DPDK patches and discussions <dev.dpdk.org>
List-Unsubscribe: <https://mails.dpdk.org/options/dev>,
 <mailto:dev-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://mails.dpdk.org/archives/dev/>
List-Post: <mailto:dev@dpdk.org>
List-Help: <mailto:dev-request@dpdk.org?subject=help>
List-Subscribe: <https://mails.dpdk.org/listinfo/dev>,
 <mailto:dev-request@dpdk.org?subject=subscribe>
Errors-To: dev-bounces@dpdk.org
Sender: "dev" <dev-bounces@dpdk.org>

From: Jerin Jacob <jerinj@marvell.com>

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 <jerinj@marvell.com>
---
v2:
- Updated meson config file to disable the kmods by default(Maxime)
- Updated the release notes(Honnappa)

I am not sure, in which section, we need to update the release notes for
this specific case.I have updated on the "New Features" section.
Thoughts ?

 config/common_linux                    | 2 --
 doc/guides/rel_notes/release_20_02.rst | 5 +++++
 meson_options.txt                      | 2 +-
 3 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/config/common_linux b/config/common_linux
index c5cf3d662..583efadc7 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 9cc257168..afd645e7a 100644
--- a/doc/guides/rel_notes/release_20_02.rst
+++ b/doc/guides/rel_notes/release_20_02.rst
@@ -61,6 +61,11 @@ New Features
   A new API has been added to wait for a memory location to be updated with a
   16-bit, 32-bit, 64-bit value.
 
+* **Disabled all the Linux kernel modules build by default.**
+
+  In order to remove the build time dependency with Linux kernel,
+  The techboard decided to disable all the kernel modules build by
+  default from v20.02 version.
 
 Removed Items
 -------------
diff --git a/meson_options.txt b/meson_options.txt
index bc369d06c..53dfe13c3 100644
--- a/meson_options.txt
+++ b/meson_options.txt
@@ -6,7 +6,7 @@ option('drivers_install_subdir', type: 'string', value: 'dpdk/pmds-<VERSION>',
 	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.24.1