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 9C3F8A055A for ; Wed, 26 Feb 2020 12:43:42 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 8C0FA1BFAB; Wed, 26 Feb 2020 12:43:42 +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 16F551F1C for ; Wed, 26 Feb 2020 12:43:39 +0100 (CET) X-dD-Source: Outbound Received: from zssg-mailmd101.ddreams.local (zssg-mailmd900.ddreams.local [10.160.172.63]) by zssg-mailou103.ddreams.local (Postfix) with ESMTP id 3CA531200DC; Wed, 26 Feb 2020 20:43:38 +0900 (JST) Received: from zssg-mailmf106.ddreams.local (zssg-mailmf900.ddreams.local [10.160.172.84]) by zssg-mailmd101.ddreams.local (dDREAMS) with ESMTP id <0Q6B00VP54KQHOC0@dDREAMS>; Wed, 26 Feb 2020 20:43:38 +0900 (JST) Received: from zssg-mailmf106.ddreams.local (unknown [127.0.0.1]) by zssg-mailmf106.ddreams.local (Postfix) with ESMTP id 11A337E6034; Wed, 26 Feb 2020 20:43:38 +0900 (JST) Received: from zssg-mailmf106.ddreams.local (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 108198E6042; Wed, 26 Feb 2020 20:43:38 +0900 (JST) Received: from localhost (unknown [127.0.0.1]) by IMSVA (Postfix) with SMTP id 0F68F8E6055; Wed, 26 Feb 2020 20:43:38 +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 8FF108E6042; Wed, 26 Feb 2020 20:43:37 +0900 (JST) Received: from davinci.ntt-tx.co.jp (unknown [10.160.183.139]) by zssg-mailmf106.ddreams.local (Postfix) with ESMTP; Wed, 26 Feb 2020 20:43:37 +0900 (JST) From: x-fn-spp-ml@ntt-tx.co.jp To: ferruh.yigit@intel.com, yasufum.o@gmail.com Cc: spp@dpdk.org Date: Wed, 26 Feb 2020 20:43:26 +0900 Message-id: <20200226114335.3865-3-x-fn-spp-ml@ntt-tx.co.jp> X-Mailer: git-send-email 2.18.0 In-reply-to: <20200226114335.3865-1-x-fn-spp-ml@ntt-tx.co.jp> References: <20200226114335.3865-1-x-fn-spp-ml@ntt-tx.co.jp> X-TM-AS-GCONF: 00 Subject: [spp] [PATCH 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