From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from netronome.com (host-79-78-33-110.static.as9105.net [79.78.33.110]) by dpdk.org (Postfix) with ESMTP id 0AB9DF91C for ; Fri, 13 Jan 2017 12:50:02 +0100 (CET) Received: from netronome.com (localhost [127.0.0.1]) by netronome.com (8.14.4/8.14.4/Debian-4.1ubuntu1) with ESMTP id v0DBo2Uo005237 for ; Fri, 13 Jan 2017 11:50:02 GMT Received: (from alucero@localhost) by netronome.com (8.14.4/8.14.4/Submit) id v0DBo2co005236 for dev@dpdk.org; Fri, 13 Jan 2017 11:50:02 GMT From: Alejandro Lucero To: dev@dpdk.org Date: Fri, 13 Jan 2017 11:50:02 +0000 Message-Id: <1484308202-5198-1-git-send-email-alejandro.lucero@netronome.com> X-Mailer: git-send-email 1.9.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH] config: build nfp pmd support by default X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Jan 2017 11:50:03 -0000 Because using a NFP PMD requires specific BSP installed, the PMD support was not the default option before. This was just for making people aware of such dependency, since there is no need for such a BSP for just compiling DPDK with NFP PMD support. Signed-off-by: Alejandro Lucero --- config/common_base | 2 +- doc/guides/nics/nfp.rst | 10 ++++++---- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/config/common_base b/config/common_base index 8e9dcfa..3fd62d6 100644 --- a/config/common_base +++ b/config/common_base @@ -248,7 +248,7 @@ CONFIG_RTE_LIBRTE_ENIC_DEBUG=n # # Compile burst-oriented Netronome NFP PMD driver # -CONFIG_RTE_LIBRTE_NFP_PMD=n +CONFIG_RTE_LIBRTE_NFP_PMD=y CONFIG_RTE_LIBRTE_NFP_DEBUG=n # diff --git a/doc/guides/nics/nfp.rst b/doc/guides/nics/nfp.rst index 4ef6e02..b643e5b 100644 --- a/doc/guides/nics/nfp.rst +++ b/doc/guides/nics/nfp.rst @@ -68,10 +68,12 @@ Building the software --------------------- Netronome's PMD code is provided in the **drivers/net/nfp** directory. -Because NetronomeĀ“s BSP dependencies the driver is disabled by default -in DPDK build using **common_linuxapp configuration** file. Enabling the -driver or if you use another configuration file and want to have NFP -support, this variable is needed: +Although NFP PMD has NetronomeĀ“s BSP dependencies, it is possible to +compile it along with other DPDK PMDs even if no BSP was installed before. +Of course, a DPDK app will require such a BSP installed for using the +NFP PMD. + +Default PMD configuration is at **common_linuxapp configuration** file: - **CONFIG_RTE_LIBRTE_NFP_PMD=y** -- 1.9.1