From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id D21E5A057C for ; Fri, 27 Mar 2020 05:57:38 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id BB2271C06D; Fri, 27 Mar 2020 05:57:38 +0100 (CET) Received: from dish-sg.nttdocomo.co.jp (dish-sg.nttdocomo.co.jp [202.19.227.74]) by dpdk.org (Postfix) with ESMTP id 812FD1BFD7 for ; Fri, 27 Mar 2020 05:57:36 +0100 (CET) X-dD-Source: Outbound Received: from zssg-mailmd105.ddreams.local (zssg-mailmd900.ddreams.local [10.160.172.63]) by zssg-mailou101.ddreams.local (Postfix) with ESMTP id BC40212013B; Fri, 27 Mar 2020 13:57:35 +0900 (JST) Received: from zssg-mailmf106.ddreams.local (zssg-mailmf900.ddreams.local [10.160.172.84]) by zssg-mailmd105.ddreams.local (dDREAMS) with ESMTP id <0Q7U00VX95RZX940@dDREAMS>; Fri, 27 Mar 2020 13:57:35 +0900 (JST) Received: from zssg-mailmf106.ddreams.local (unknown [127.0.0.1]) by zssg-mailmf106.ddreams.local (Postfix) with ESMTP id 9867E7E6032; Fri, 27 Mar 2020 13:57:35 +0900 (JST) Received: from zssg-mailmf106.ddreams.local (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 9729A8E6061; Fri, 27 Mar 2020 13:57:35 +0900 (JST) Received: from localhost (unknown [127.0.0.1]) by IMSVA (Postfix) with SMTP id 95E158E605A; Fri, 27 Mar 2020 13:57:35 +0900 (JST) X-IMSS-HAND-OFF-DIRECTIVE: localhost:10026 Received: from zssg-mailmf106.ddreams.local (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id BC1378E6055; Fri, 27 Mar 2020 13:57:34 +0900 (JST) Received: from davinci.ntt-tx.co.jp (unknown [10.160.183.139]) by zssg-mailmf106.ddreams.local (Postfix) with ESMTP; Fri, 27 Mar 2020 13:57:34 +0900 (JST) From: x-fn-spp-ml@ntt-tx.co.jp To: spp@dpdk.org, ferruh.yigit@intel.com, yasufum.o@gmail.com Date: Fri, 27 Mar 2020 13:57:23 +0900 Message-id: <20200327045732.18463-3-x-fn-spp-ml@ntt-tx.co.jp> X-Mailer: git-send-email 2.25.1 In-reply-to: <20200226113521.3787-1-x-fn-spp-ml@ntt-tx.co.jp> References: <20200226113521.3787-1-x-fn-spp-ml@ntt-tx.co.jp> MIME-version: 1.0 Content-transfer-encoding: 8bit X-TM-AS-GCONF: 00 Subject: [spp] [PATCH v2 02/11] docs: add support of MLX5 PMD support in DPDK X-BeenThere: spp@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: Soft Patch Panel List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: spp-bounces@dpdk.org Sender: "spp" From: Hideyuki Yamashita This patch adds configuration change of DPDK to support MLX5 PMD in DPDK compilation. Signed-off-by: Hideyuki Yamashita Signed-off-by: Naoki Takada --- docs/guides/gsg/install.rst | 25 +++++-------------------- 1 file changed, 5 insertions(+), 20 deletions(-) diff --git a/docs/guides/gsg/install.rst b/docs/guides/gsg/install.rst index 335a151..2abf330 100644 --- a/docs/guides/gsg/install.rst +++ b/docs/guides/gsg/install.rst @@ -129,29 +129,15 @@ config file ``common_base`` should be changed to ``y`` to enable PCAP. ... CONFIG_RTE_PORT_PCAP=y -Compile DPDK with target environment. - -.. code-block:: console - - $ cd dpdk - $ export RTE_SDK=$(pwd) - $ export RTE_TARGET=x86_64-native-linuxapp-gcc # depends on your env - $ make install T=$RTE_TARGET - +If you use MLX5 NIC, ``CONFIG_RTE_LIBRTE_MLX5_PMD`` defined in +config file ``common_base`` should be changed to ``y``. -PCAP is disabled by default in DPDK configuration, so should be changed -if you use this feature. -``CONFIG_RTE_LIBRTE_PMD_PCAP`` and ``CONFIG_RTE_PORT_PCAP`` defined in -config file ``common_base`` should be changed to ``y`` to enable PCAP. - -.. code-block:: console +.. code-block:: none # dpdk/config/common_base - CONFIG_RTE_LIBRTE_PMD_PCAP=y - ... - CONFIG_RTE_PORT_PCAP=y + CONFIG_RTE_LIBRTE_MLX5_PMD=y -Compile DPDK with options for target environment. +Compile DPDK with target environment. .. code-block:: console @@ -160,7 +146,6 @@ Compile DPDK with options for target environment. $ export RTE_TARGET=x86_64-native-linuxapp-gcc # depends on your env $ make install T=$RTE_TARGET - Pyhton ------ -- 2.17.1