DPDK patches and discussions
 help / color / mirror / Atom feed
From: Alejandro Lucero <alejandro.lucero@netronome.com>
To: dev@dpdk.org
Subject: [dpdk-dev] [PATCH] config: build nfp pmd support by default
Date: Fri, 13 Jan 2017 11:50:02 +0000	[thread overview]
Message-ID: <1484308202-5198-1-git-send-email-alejandro.lucero@netronome.com> (raw)

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 <alejandro.lucero@netronome.com>
---
 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

             reply	other threads:[~2017-01-13 11:50 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-01-13 11:50 Alejandro Lucero [this message]
2017-01-16 16:43 ` Ferruh Yigit
2017-01-16 16:48   ` Bruce Richardson
2017-01-16 18:21     ` Alejandro Lucero
2017-01-17 20:55     ` Thomas Monjalon
2017-01-17 23:20 ` Ferruh Yigit
2017-01-17 23:58   ` Ferruh Yigit
2017-01-18 11:13     ` Alejandro Lucero

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1484308202-5198-1-git-send-email-alejandro.lucero@netronome.com \
    --to=alejandro.lucero@netronome.com \
    --cc=dev@dpdk.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).