From patchwork Wed Jan 30 07:53:19 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yongseok Koh X-Patchwork-Id: 50086 X-Patchwork-Delegate: shahafs@mellanox.com Return-Path: X-Original-To: patchwork@dpdk.org Delivered-To: patchwork@dpdk.org Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 705521B201; Wed, 30 Jan 2019 08:53:29 +0100 (CET) Received: from mellanox.co.il (mail-il-dmz.mellanox.com [193.47.165.129]) by dpdk.org (Postfix) with ESMTP id 9D45C1B1FB for ; Wed, 30 Jan 2019 08:53:27 +0100 (CET) Received: from Internal Mail-Server by MTLPINE1 (envelope-from yskoh@mellanox.com) with ESMTPS (AES256-SHA encrypted); 30 Jan 2019 09:53:26 +0200 Received: from scfae-sc-2.mti.labs.mlnx (scfae-sc-2.mti.labs.mlnx [10.101.0.96]) by labmailer.mlnx (8.13.8/8.13.8) with ESMTP id x0U7rOiT031501; Wed, 30 Jan 2019 09:53:24 +0200 From: Yongseok Koh To: thomas@monjalon.net Cc: dev@dpdk.org, olgas@mellanox.com, shahafs@mellanox.com, stable@dpdk.org Date: Tue, 29 Jan 2019 23:53:19 -0800 Message-Id: <20190130075321.24466-1-yskoh@mellanox.com> X-Mailer: git-send-email 2.11.0 Subject: [dpdk-dev] [PATCH 1/3] doc: add mlx5 note for Bluefield build configuration 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: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Fixes: d14e4e976f65 ("config: add Mellanox BlueField armv8 SoC") Cc: stable@dpdk.org Signed-off-by: Yongseok Koh --- doc/guides/nics/mlx5.rst | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/doc/guides/nics/mlx5.rst b/doc/guides/nics/mlx5.rst index 3f168b1613..62de860d0a 100644 --- a/doc/guides/nics/mlx5.rst +++ b/doc/guides/nics/mlx5.rst @@ -221,6 +221,13 @@ These options can be modified in the ``.config`` file. adds additional run-time checks and debugging messages at the cost of lower performance. +.. note:: + + For Bluefield, target should be set to ``arm64-bluefield-linuxapp-gcc``. This + will enable ``CONFIG_RTE_LIBRTE_MLX5_PMD`` and set ``RTE_CACHE_LINE_SIZE`` to + 64. Default armv8a configuration of make build and meson build set it to 128 + then brings performance degradation. + Environment variables ~~~~~~~~~~~~~~~~~~~~~ From patchwork Wed Jan 30 07:53:20 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yongseok Koh X-Patchwork-Id: 50087 X-Patchwork-Delegate: shahafs@mellanox.com Return-Path: X-Original-To: patchwork@dpdk.org Delivered-To: patchwork@dpdk.org Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 0330B1B20A; Wed, 30 Jan 2019 08:53:33 +0100 (CET) Received: from mellanox.co.il (mail-il-dmz.mellanox.com [193.47.165.129]) by dpdk.org (Postfix) with ESMTP id 7B6CB1B1F5 for ; Wed, 30 Jan 2019 08:53:32 +0100 (CET) Received: from Internal Mail-Server by MTLPINE1 (envelope-from yskoh@mellanox.com) with ESMTPS (AES256-SHA encrypted); 30 Jan 2019 09:53:28 +0200 Received: from scfae-sc-2.mti.labs.mlnx (scfae-sc-2.mti.labs.mlnx [10.101.0.96]) by labmailer.mlnx (8.13.8/8.13.8) with ESMTP id x0U7rOiU031501; Wed, 30 Jan 2019 09:53:27 +0200 From: Yongseok Koh To: thomas@monjalon.net Cc: dev@dpdk.org, olgas@mellanox.com, shahafs@mellanox.com Date: Tue, 29 Jan 2019 23:53:20 -0800 Message-Id: <20190130075321.24466-2-yskoh@mellanox.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20190130075321.24466-1-yskoh@mellanox.com> References: <20190130075321.24466-1-yskoh@mellanox.com> Subject: [dpdk-dev] [PATCH 2/3] doc: add Mellanox EN support 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: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Mellanox EN package is supported along with Mellanox OFED. Mellanox EN is distriubuted for Ethernet users. Signed-off-by: Yongseok Koh --- doc/guides/nics/mlx5.rst | 30 ++++++++++++++++-------------- 1 file changed, 16 insertions(+), 14 deletions(-) diff --git a/doc/guides/nics/mlx5.rst b/doc/guides/nics/mlx5.rst index 62de860d0a..af102f15a0 100644 --- a/doc/guides/nics/mlx5.rst +++ b/doc/guides/nics/mlx5.rst @@ -559,7 +559,7 @@ DPDK and must be installed separately: - **Firmware update** - Mellanox OFED releases include firmware updates for + Mellanox OFED/EN releases include firmware updates for ConnectX-4/ConnectX-5/ConnectX-6/Bluefield adapters. Because each release provides new features, these updates must be applied to @@ -574,7 +574,7 @@ Installation ~~~~~~~~~~~~ Either RDMA Core library with a recent enough Linux kernel release -(recommended) or Mellanox OFED, which provides compatibility with older +(recommended) or Mellanox OFED/EN, which provides compatibility with older releases. RMDA Core with Linux Kernel @@ -604,10 +604,10 @@ thanks to these environment variables: - ``EXTRA_LDFLAGS=-L/path/to/rdma-core/build/lib`` - ``PKG_CONFIG_PATH=/path/to/rdma-core/build/lib/pkgconfig`` -Mellanox OFED -^^^^^^^^^^^^^ +Mellanox OFED/EN +^^^^^^^^^^^^^^^^ -- Mellanox OFED version: **4.4, 4.5**. +- Mellanox OFED version: **4.4, 4.5** / Mellanox EN version: **4.5** - firmware version: - ConnectX-4: **12.21.1000** and above. @@ -623,14 +623,16 @@ managers on most distributions, this PMD requires Ethernet extensions that may not be supported at the moment (this is a work in progress). `Mellanox OFED -`__ -includes the necessary support and should be used in the meantime. For DPDK, +`__ and +`Mellanox EN +`__ +include the necessary support and should be used in the meantime. For DPDK, only libibverbs, libmlx5, mlnx-ofed-kernel packages and firmware updates are required from that distribution. .. note:: - Several versions of Mellanox OFED are available. Installing the version + Several versions of Mellanox OFED/EN are available. Installing the version this DPDK release was developed and tested against is strongly recommended. Please check the `prerequisites`_. @@ -670,14 +672,14 @@ Supported NICs * Mellanox(R) ConnectX(R)-5 100G MCX556A-ECAT (2x100G) * Mellanox(R) ConnectX(R)-5 Ex EN 100G MCX516A-CDAT (2x100G) -Quick Start Guide on OFED -------------------------- +Quick Start Guide on OFED/EN +---------------------------- -1. Download latest Mellanox OFED. For more info check the `prerequisites`_. +1. Download latest Mellanox OFED/EN. For more info check the `prerequisites`_. 2. Install the required libraries and kernel modules either by installing - only the required set, or by installing the entire Mellanox OFED: + only the required set, or by installing the entire Mellanox OFED/EN: .. code-block:: console @@ -854,8 +856,8 @@ ConnectX-4/ConnectX-5/ConnectX-6/Bluefield devices managed by librte_pmd_mlx5. modprobe -a ib_uverbs mlx5_core mlx5_ib - Alternatively if MLNX_OFED is fully installed, the following script can - be run: + Alternatively if MLNX_OFED/MLNX_EN is fully installed, the following script + can be run: .. code-block:: console From patchwork Wed Jan 30 07:53:21 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yongseok Koh X-Patchwork-Id: 50088 X-Patchwork-Delegate: shahafs@mellanox.com Return-Path: X-Original-To: patchwork@dpdk.org Delivered-To: patchwork@dpdk.org Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 936A61B213; Wed, 30 Jan 2019 08:53:35 +0100 (CET) Received: from mellanox.co.il (mail-il-dmz.mellanox.com [193.47.165.129]) by dpdk.org (Postfix) with ESMTP id 84BF91B20A for ; Wed, 30 Jan 2019 08:53:32 +0100 (CET) Received: from Internal Mail-Server by MTLPINE1 (envelope-from yskoh@mellanox.com) with ESMTPS (AES256-SHA encrypted); 30 Jan 2019 09:53:30 +0200 Received: from scfae-sc-2.mti.labs.mlnx (scfae-sc-2.mti.labs.mlnx [10.101.0.96]) by labmailer.mlnx (8.13.8/8.13.8) with ESMTP id x0U7rOiV031501; Wed, 30 Jan 2019 09:53:28 +0200 From: Yongseok Koh To: thomas@monjalon.net Cc: dev@dpdk.org, olgas@mellanox.com, shahafs@mellanox.com Date: Tue, 29 Jan 2019 23:53:21 -0800 Message-Id: <20190130075321.24466-3-yskoh@mellanox.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20190130075321.24466-1-yskoh@mellanox.com> References: <20190130075321.24466-1-yskoh@mellanox.com> Subject: [dpdk-dev] [PATCH 3/3] doc: add mlx5 release note 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: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Signed-off-by: Yongseok Koh --- doc/guides/rel_notes/release_19_02.rst | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/doc/guides/rel_notes/release_19_02.rst b/doc/guides/rel_notes/release_19_02.rst index 3372c4de81..027d772763 100644 --- a/doc/guides/rel_notes/release_19_02.rst +++ b/doc/guides/rel_notes/release_19_02.rst @@ -93,6 +93,22 @@ New Features traffic. * Updated documentation and features list of the PMD. +* **Updated mlx5 driver.** + + Updated the mlx5 driver including the following changes: + + * Fixed ``imissed`` counter to be reported through ``rte_eth_stats`` instead + of ``rte_eth_xstats``. + * Added packet header modification through Direct Verbs flow driver. + * Added ConnectX-6 PCI device ID to be proved by ``mlx5`` driver. + * Added flow counter support to Direct Verbs flow driver though DevX. + * Renamed build options for the glue layer to + ``CONFIG_RTE_IBVERBS_LINK_DLOPEN`` for make and ``ibverbs_link`` for meson. + * Added static linkage of ``mlx`` dependency. + * Improved stability of E-Switch flow driver. + * Added new make build configuration to set the cacheline size for Bluefield + correctly - ``arm64-bluefield-linuxapp-gcc``. + * **Updated the enic driver.** * Added support for ``RTE_ETH_DEV_CLOSE_REMOVE`` flag.