From patchwork Tue Jun 30 09:28:09 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adrien Mazarguil X-Patchwork-Id: 5991 Return-Path: X-Original-To: patchwork@dpdk.org Delivered-To: patchwork@dpdk.org Received: from [92.243.14.124] (localhost [IPv6:::1]) by dpdk.org (Postfix) with ESMTP id 61CBAC51C; Tue, 30 Jun 2015 11:29:47 +0200 (CEST) Received: from mail-wi0-f172.google.com (mail-wi0-f172.google.com [209.85.212.172]) by dpdk.org (Postfix) with ESMTP id B81C3C444 for ; Tue, 30 Jun 2015 11:29:27 +0200 (CEST) Received: by wiar9 with SMTP id r9so29641308wia.1 for ; Tue, 30 Jun 2015 02:29:27 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references; bh=3lCd3VPi56/kPS8wAAPtsFyflkYXYAWwG7pVwFMPc/M=; b=biFpSUCBVqUFG7PS/pPi9/SljQT0GQkH0nHTOaL5eIwhFTfDS2KxYdRMnqLZTr++2V xgKuxkTE4ArWIRL5i7PUo4Zc/x1Y7oI07DOc7dBFWuMTOlRMW9SrTutwtBioMlI4ZvqH V3eNbzFhTDUyxbKnkZJVKcCA51vA0m+ZZg1Wb+vcCjVgHsdeveksbKU6XFAUiOjUIH8A Zvz+7LSr19O48F3hauUAsT6guIl8ipz+lT8EFdn8sOue/zGdKKIwzOaYfnbxcEQnNubO eVuXmnjlB0iBGTYOpHlsyLOxVz+vhrw+u4DCurnrTjOJBCsoXjoUvssVFVmh1oEgP4yK WxnQ== X-Gm-Message-State: ALoCoQlB6TI9l7iK6ENuET7c0BeYoiwA7kRVmwwmx5f5rGHRZi/tG+31V1c1KgyVf7/M6s6lew3e X-Received: by 10.194.220.100 with SMTP id pv4mr39521928wjc.71.1435656567634; Tue, 30 Jun 2015 02:29:27 -0700 (PDT) Received: from 6wind.com (6wind.net2.nerim.net. [213.41.151.210]) by mx.google.com with ESMTPSA id d3sm67962098wjs.21.2015.06.30.02.29.25 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Tue, 30 Jun 2015 02:29:26 -0700 (PDT) From: Adrien Mazarguil To: dev@dpdk.org Date: Tue, 30 Jun 2015 11:28:09 +0200 Message-Id: <1435656489-27986-24-git-send-email-adrien.mazarguil@6wind.com> X-Mailer: git-send-email 2.1.0 In-Reply-To: <1435656489-27986-1-git-send-email-adrien.mazarguil@6wind.com> References: <1433546120-2254-1-git-send-email-adrien.mazarguil@6wind.com> <1435656489-27986-1-git-send-email-adrien.mazarguil@6wind.com> Subject: [dpdk-dev] [PATCH v2 23/23] doc: update mlx4 documentation following MOFED 3.0 changes 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: , Errors-To: dev-bounces@dpdk.org Sender: "dev" - Add RX/TX L3/L4 checksum offloading and validation. - Update kernel module parameters section. - Update prerequisites for MOFED and firmware versions. - Remove optimized external libraries section. MOFED now provides enhanced support directly without having to install modified libraries. Signed-off-by: Adrien Mazarguil --- doc/guides/nics/mlx4.rst | 29 ++++++----------------------- 1 file changed, 6 insertions(+), 23 deletions(-) diff --git a/doc/guides/nics/mlx4.rst b/doc/guides/nics/mlx4.rst index ac2dd56..c33aa38 100644 --- a/doc/guides/nics/mlx4.rst +++ b/doc/guides/nics/mlx4.rst @@ -84,12 +84,13 @@ Features and limitations - All multicast mode is supported. - Multiple MAC addresses (unicast, multicast) can be configured. - 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. .. break - RSS hash key cannot be modified. - Hardware counters are not implemented (they are software counters). -- Checksum offloads are not supported yet. Configuration ------------- @@ -175,9 +176,8 @@ below. - **-1**: force device-managed flow steering (DMFS). - **-7**: configure optimized steering mode to improve performance with the - following limitation: Ethernet frames with the port MAC address as the - destination cannot be received, even in promiscuous mode. Additional MAC - addresses can still be set by ``rte_eth_dev_mac_addr_addr()``. + following limitation: VLAN filtering is not supported with this mode. + This is the recommended mode in case VLAN filter is not needed. Prerequisites ------------- @@ -232,8 +232,8 @@ DPDK and must be installed separately: Currently supported by DPDK: -- Mellanox OFED **2.4-1**. -- Firmware version **2.33.5000** and higher. +- Mellanox OFED **3.0**. +- Firmware version **2.34.5000** and higher. Getting Mellanox OFED ~~~~~~~~~~~~~~~~~~~~~ @@ -255,23 +255,6 @@ required from that distribution. this DPDK release was developed and tested against is strongly recommended. Please check the `prerequisites`_. -Getting libibverbs and libmlx4 from DPDK.org -~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - -Based on Mellanox OFED, optimized libibverbs and libmlx4 versions can be -optionally downloaded from DPDK.org: - -``_ - -Some enhancements are done for better performance with DPDK applications and -are not merged upstream yet. - -Since it is partly achieved by tuning compilation options to disable features -not needed by DPDK, linking these libraries statically and avoid system-wide -installation is the preferred method. - -Installation documentation is available from the above link. - Usage example -------------