From patchwork Tue Nov 24 10:30:35 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Raslan Darawsheh X-Patchwork-Id: 84502 X-Patchwork-Delegate: thomas@monjalon.net Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 473C7A04B1; Tue, 24 Nov 2020 11:30:56 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id EBDD4C90C; Tue, 24 Nov 2020 11:30:53 +0100 (CET) Received: from hqnvemgate25.nvidia.com (hqnvemgate25.nvidia.com [216.228.121.64]) by dpdk.org (Postfix) with ESMTP id 1CB7CC904 for ; Tue, 24 Nov 2020 11:30:50 +0100 (CET) Received: from hqmail.nvidia.com (Not Verified[216.228.121.13]) by hqnvemgate25.nvidia.com (using TLS: TLSv1.2, AES256-SHA) id ; Tue, 24 Nov 2020 02:30:49 -0800 Received: from nvidia.com (172.20.13.39) by HQMAIL107.nvidia.com (172.20.187.13) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Tue, 24 Nov 2020 10:30:48 +0000 From: Raslan Darawsheh To: CC: Date: Tue, 24 Nov 2020 12:30:35 +0200 Message-ID: <20201124103035.18821-1-rasland@nvidia.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 X-Originating-IP: [172.20.13.39] X-ClientProxiedBy: HQMAIL107.nvidia.com (172.20.187.13) To HQMAIL107.nvidia.com (172.20.187.13) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nvidia.com; s=n1; t=1606213849; bh=jcVgno+RgjSulgYtyRL/S47TYN6MYlGLr3JHaNg0Fa0=; h=From:To:CC:Subject:Date:Message-ID:X-Mailer:MIME-Version: Content-Type:X-Originating-IP:X-ClientProxiedBy; b=Go+sITkXzdOR53giYpix/v5haJpQeAw2J9BTnS0X9/fZZnH0fYtMbpnDV3zKGLuJc J/78Hbk43NTjh+ffBo2U2/LtkbILFUMGHFzfiVDyFrlILmriT53Rdpfh1WxPS7Sjnp OMah5dQBaAjbA459dU2mhMCjs6EQO/Fgi/4j7Kw56htyvqvdmYGrvY4QZeCaEMbU3R M01DUKEBhOrBRhp08xDxVzmiRxL89kF1g46oD4ISwP0K6MrIlgtkzh8xLdgz6Y4CjK ZmmEv8wiMEBA9V9e2aosHQpk6UNF0kW29H6viLEGUIknMKwxgEhYu/8DF4LOqwo0n9 RbTWaOxd3A+pg== Subject: [dpdk-dev] [PATCH] doc: add ConnecX6 Lx and BlueField-2 to mlx5 documentation 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" This adds ConnectX6 Lx and BlueFiled-2 to the list of supported NICs by mlx5 PMD. Signed-off-by: Raslan Darawsheh --- doc/guides/nics/mlx5.rst | 46 +++++++++++++++++++++++----------------- 1 file changed, 26 insertions(+), 20 deletions(-) diff --git a/doc/guides/nics/mlx5.rst b/doc/guides/nics/mlx5.rst index e96aca21eb..366f989f5a 100644 --- a/doc/guides/nics/mlx5.rst +++ b/doc/guides/nics/mlx5.rst @@ -9,9 +9,10 @@ MLX5 poll mode driver The MLX5 poll mode driver library (**librte_net_mlx5**) provides support for **Mellanox ConnectX-4**, **Mellanox ConnectX-4 Lx** , **Mellanox -ConnectX-5**, **Mellanox ConnectX-6**, **Mellanox ConnectX-6 Dx** and -**Mellanox BlueField** families of 10/25/40/50/100/200 Gb/s adapters -as well as their virtual functions (VF) in SR-IOV context. +ConnectX-5**, **Mellanox ConnectX-6**, **Mellanox ConnectX-6 Dx**, **Mellanox +ConnectX-6 Lx**, **Mellanox BlueField** and **Mellanox BlueField 2** families +of 10/25/40/50/100/200 Gb/s adapters as well as their virtual functions (VF) +in SR-IOV context. Information and documentation about these adapters can be found on the `Mellanox website `__. Help is also provided by the @@ -316,7 +317,7 @@ Limitations - CRC: - ``DEV_RX_OFFLOAD_KEEP_CRC`` cannot be supported with decapsulation - for some NICs (such as ConnectX-6 Dx and BlueField 2). + for some NICs (such as ConnectX-6 Dx, ConnectX-6 Lx, and BlueField 2). The capability bit ``scatter_fcs_w_decap_disable`` shows NIC support. - Sample flow: @@ -442,10 +443,10 @@ Driver options Supported on: - - x86_64 with ConnectX-4, ConnectX-4 Lx, ConnectX-5, ConnectX-6, ConnectX-6 Dx - and BlueField. - - POWER9 and ARMv8 with ConnectX-4 Lx, ConnectX-5, ConnectX-6, ConnectX-6 Dx - and BlueField. + - x86_64 with ConnectX-4, ConnectX-4 Lx, ConnectX-5, ConnectX-6, ConnectX-6 Dx, + ConnectX-6 Lx, BlueField and BlueField 2. + - POWER9 and ARMv8 with ConnectX-4 Lx, ConnectX-5, ConnectX-6, ConnectX-6 Dx, + ConnectX-6 Lx, BlueField and BlueField 2. - ``rxq_cqe_pad_en`` parameter [int] @@ -475,10 +476,10 @@ Driver options Supported on: - - x86_64 with ConnectX-4, ConnectX-4 Lx, ConnectX-5, ConnectX-6, ConnectX-6 Dx - and BlueField. - - POWER8 and ARMv8 with ConnectX-4 Lx, ConnectX-5, ConnectX-6, ConnectX-6 Dx - and BlueField. + - x86_64 with ConnectX-4, ConnectX-4 Lx, ConnectX-5, ConnectX-6, ConnectX-6 Dx, + ConnectX-6 Lx, BlueField and BlueField 2. + - POWER8 and ARMv8 with ConnectX-4 Lx, ConnectX-5, ConnectX-6, ConnectX-6 Dx, + ConnectX-6 Lx, BlueField and BlueField 2. - ``mprq_en`` parameter [int] @@ -683,11 +684,12 @@ Driver options - ``txq_mpw_en`` parameter [int] A nonzero value enables Enhanced Multi-Packet Write (eMPW) for ConnectX-5, - ConnectX-6, ConnectX-6 Dx and BlueField. eMPW allows the TX burst function to pack - up multiple packets in a single descriptor session in order to save PCI bandwidth - and improve performance at the cost of a slightly higher CPU usage. When - ``txq_inline_mpw`` is set along with ``txq_mpw_en``, TX burst function copies - entire packet data on to TX descriptor instead of including pointer of packet. + ConnectX-6, ConnectX-6 Dx, ConnectX-6 Lx, BlueField, BlueField 2. eMPW allows + the TX burst function to pack up multiple packets in a single descriptor + session in order to save PCI bandwidth and improve performance at the cost of + a slightly higher CPU usage. When ``txq_inline_mpw`` is set along with + ``txq_mpw_en``, TX burst function copies entire packet data on to TX + descriptor instead of including pointer of packet. The Enhanced Multi-Packet Write feature is enabled by default if NIC supports it, can be disabled by explicit specifying 0 value for ``txq_mpw_en`` option. @@ -749,9 +751,10 @@ Driver options - ``tx_vec_en`` parameter [int] - A nonzero value enables Tx vector on ConnectX-5, ConnectX-6, ConnectX-6 Dx - and BlueField NICs if the number of global Tx queues on the port is less than - ``txqs_max_vec``. The parameter is deprecated and ignored. + A nonzero value enables Tx vector on ConnectX-5, ConnectX-6, ConnectX-6 Dx, + ConnectX-6 Lx, BlueField and BlueField 2 NICs if the number of global Tx + queues on the port is less than ``txqs_max_vec``. The parameter is deprecated + and ignored. - ``rx_vec_en`` parameter [int] @@ -1154,7 +1157,9 @@ The following Mellanox device families are supported by the same mlx5 driver: - ConnectX-5 Ex - ConnectX-6 - ConnectX-6 Dx + - ConnectX-6 Lx - BlueField + - BlueField 2 Below are detailed device names: @@ -1183,6 +1188,7 @@ Below are detailed device names: * Mellanox\ |reg| ConnectX\ |reg|-6 200G MCX654106A-HCAT (2x200G) * Mellanox\ |reg| ConnectX\ |reg|-6 Dx EN 100G MCX623106AN-CDAT (2x100G) * Mellanox\ |reg| ConnectX\ |reg|-6 Dx EN 200G MCX623105AN-VDAT (1x200G) +* Mellanox\ |reg| ConnectX\ |reg|-6 Lx EN 25G MCX631102AN-ADAT (2x25G) Quick Start Guide on OFED/EN ----------------------------