From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mellanox.co.il (unknown [193.47.165.129]) by dpdk.org (Postfix) with ESMTP id E179F559C for ; Sat, 12 Dec 2015 17:22:05 +0100 (CET) Received: from Internal Mail-Server by MTLPINE1 (envelope-from olgas@mellanox.com) with ESMTPS (AES256-SHA encrypted); 12 Dec 2015 18:21:56 +0200 Received: from r-vnc07.mtr.labs.mlnx (r-vnc07.mtr.labs.mlnx [10.208.0.119]) by labmailer.mlnx (8.13.8/8.13.8) with ESMTP id tBCGLuf7004850; Sat, 12 Dec 2015 18:21:56 +0200 Received: from r-vnc07.mtr.labs.mlnx (localhost.localdomain [127.0.0.1]) by r-vnc07.mtr.labs.mlnx (8.13.8/8.13.8) with ESMTP id tBCGLteT024739; Sat, 12 Dec 2015 18:21:56 +0200 Received: (from olgas@localhost) by r-vnc07.mtr.labs.mlnx (8.13.8/8.13.8/Submit) id tBCGLsxB024738; Sat, 12 Dec 2015 18:21:54 +0200 From: Olga Shern To: dev@dpdk.org Date: Sat, 12 Dec 2015 18:20:51 +0200 Message-Id: <1449937251-24493-1-git-send-email-olgas@mellanox.com> X-Mailer: git-send-email 1.7.8.2 Subject: [dpdk-dev] [PATCH] mlx4: update documentation X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 12 Dec 2015 16:22:06 -0000 -Split "Features" and "Limitations" sections. -Update limitations with missing information. -Update prerequisites with supported MLNX_OFED release, firmware and CPU architectures. -Enhance usage example with openibd script. Signed-off-by: Olga Shern Signed-off-by: Adrien Mazarguil --- doc/guides/nics/mlx4.rst | 24 +++++++++++++++++++----- 1 files changed, 19 insertions(+), 5 deletions(-) diff --git a/doc/guides/nics/mlx4.rst b/doc/guides/nics/mlx4.rst index 562db06..62f0c31 100644 --- a/doc/guides/nics/mlx4.rst +++ b/doc/guides/nics/mlx4.rst @@ -78,8 +78,8 @@ long as they share the same MAC address. Compiling librte_pmd_mlx4 causes DPDK to be linked against libibverbs. -Features and limitations ------------------------- +Features +--------- - RSS, also known as RCA, is supported. In this mode the number of configured RX queues must be a power of two. @@ -91,11 +91,17 @@ Features and limitations - Scattered packets are supported for TX and RX. - Inner L3/L4 (IP, TCP and UDP) TX/RX checksum offloading and validation. - Outer L3 (IP) TX/RX checksum offloading and validation for VXLAN frames. +- Secondary process TX is supported. -.. break +Limitations +----------- - RSS hash key cannot be modified. +- RSS RETA cannot be configured +- RSS always includes L3 (IPv4/IPv6) and L4 (UDP/TCP). They cannot be + dissociated. - Hardware counters are not implemented (they are software counters). +- Secondary process RX is not supported Configuration ------------- @@ -237,8 +243,9 @@ DPDK and must be installed separately: Currently supported by DPDK: -- Mellanox OFED **3.0**. -- Firmware version **2.34.5000** and higher. +- Mellanox OFED **3.1**. +- Firmware version **2.35.5100** and higher. +- Supported architectures: **x86_64** and **POWER8**. Getting Mellanox OFED ~~~~~~~~~~~~~~~~~~~~~ @@ -272,6 +279,13 @@ devices managed by librte_pmd_mlx4. modprobe -a ib_uverbs mlx4_en mlx4_core mlx4_ib + Alternatively if MLNX_OFED is fully installed, the follwoing script can + be run: + + .. code-block:: console + + /etc/init.d/openibd restart + .. note:: User space I/O kernel modules (uio and igb_uio) are not used and do -- 1.7.8.2