From patchwork Wed Jul 26 17:02:49 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Shahaf Shuler X-Patchwork-Id: 27229 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 D91A47D2C; Wed, 26 Jul 2017 19:03:10 +0200 (CEST) Received: from EUR01-DB5-obe.outbound.protection.outlook.com (mail-db5eur01on0079.outbound.protection.outlook.com [104.47.2.79]) by dpdk.org (Postfix) with ESMTP id 5954E7D24 for ; Wed, 26 Jul 2017 19:03:07 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Mellanox.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=jMw1uMCaWzyZYHXNeyn5q9w/ycXCtN7tKFeP14/gB5I=; b=FZGjLcaNx8+zLYLoJ7wjaeWPuk+DUfMD9WnT/kd1TuVV3A7wacQmVkgPidokTPCD3DEjnd53BIdknjm1SjISlnxg6mhEnDNpnykhVFkK9RI0z0bGdyvvXcOS2DRQ54enI6Z87BSwDEvorNlQeCjXx5WbXvQKKd+Xe+mvKvbndxo= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=shahafs@mellanox.com; Received: from mellanox.com (82.166.227.17) by HE1PR05MB3148.eurprd05.prod.outlook.com (2603:10a6:7:36::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1282.10; Wed, 26 Jul 2017 17:03:05 +0000 From: Shahaf Shuler To: thomas@monjalon.net Cc: dev@dpdk.org Date: Wed, 26 Jul 2017 20:02:49 +0300 Message-Id: <3051d9dfa6df6e4951886ed743a6c7eba8f0e70e.1501088435.git.shahafs@mellanox.com> X-Mailer: git-send-email 2.12.0 In-Reply-To: <50a96ef776aa322a707a558e01b46920f273fa99.1501051600.git.shahafs@mellanox.com> References: <50a96ef776aa322a707a558e01b46920f273fa99.1501051600.git.shahafs@mellanox.com> MIME-Version: 1.0 X-Originating-IP: [82.166.227.17] X-ClientProxiedBy: DB6PR1001CA0007.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:4:b7::17) To HE1PR05MB3148.eurprd05.prod.outlook.com (2603:10a6:7:36::18) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: c5984b6d-3b93-448d-f2e2-08d4d4482f2a X-MS-Office365-Filtering-HT: Tenant X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(300000500095)(300135000095)(300000501095)(300135300095)(22001)(300000502095)(300135100095)(48565401081)(300000503095)(300135400095)(201703131423075)(201703031133081)(300000504095)(300135200095)(300000505095)(300135600095)(300000506095)(300135500095); SRVR:HE1PR05MB3148; X-Microsoft-Exchange-Diagnostics: 1; HE1PR05MB3148; 3:c2ffnk/9DRjuZqRsd03wU+CD5v5G17BXsV1gXp0+eGcu5eOa4GKOlTPKthCnciJ/vi4aUoW+829eBIx5PbV8NLXb6b1yDc5mRNa1guB9DRw9clKuiVIKmnzskR7TVf7gy8mUNDjSCz68L1xinb/x2Y9Es/c1Kag9hU83+XNPPP5BbJr5lzhabF6MI6pPqdkBplwtbfQYwr7/1Zy/Iq8nNprLViZDEDmBPXFudX8HoOtPkZsJSmNAggTBYa0RFlyZRCByc3is6H1T9h6jXKZg2+tU2lVe+XpOESgJ7bs5FB+9CwtLu4lLu0woYFpZQESeGSLb3YmNaksaXL91a+URfeZHso1OPJ7B50y7IY/PsX2jsS+OReB8QcLzyGovhk+WtAE9y1nHDyrahFYNDeHcwi+Mr2dkOP7CfoQxn8W7iak4lzL3/bWU53DFXocmpf7V7kYBhPe2mpHkndqZ+vLAdbIZQtmkAVeArJ0dd9aqCvBBZB6/2kfQPtYSMJ6kjFgmPWKiq7JJ2OkFmCZOfxRnM1vAU5e0C10jSLQNWEcB0cRQByTuSPY62zc0qtMhdUffc8SUu6gMrbr28RymopZEoKfZl3xQNimqDDSa3EXLOl4fYNBDkM7E5KpC/6cUe56QK7i4I+Psbbpvvp/hwVR44Ka0eW5275hCweNAGYjIP3z0HLoAiqzwzQRNCY5b7UQFngBoxzC0kPYSMZ2RJBfr8hfEEzqtmkgVO5O6szUUtoosjYkp/O8UN/SjFv6b4SfcZXu8BW/mds4ZQfyyXwcnSQ== X-MS-TrafficTypeDiagnostic: HE1PR05MB3148: X-Microsoft-Exchange-Diagnostics: 1; HE1PR05MB3148; 25:jXxrvE6roQIFcRhoTTnYI/O3PQMaMwCd9qx8C5DliCdkti5zvvikYChujVk7XGDTN1CRz1JNlhUJakQZFTqo38sS1bv20dcVaRdHd5QZVREOjec/YzYuTVtlYRpHUfWtuBra7/QN4wJa4WDuiiu3W19A+KD7zkaM0s9+ZBO2bN4L/oxf9VrF5UeT5urrfyVbNFEgZblmWfdFjovM7HOAKFlPt2VgluM2G7XqOxxLwZ+JGDgzFO5sfnEkw/gkukSb2UC2VR3PLU2rtugcT84vEKpfaNbTotmlJPJCrEwEE1peYPbhIcGz1CPUugbwHsCAJRK6+9yzaq70iPVrKkiXvJbgY945NFDjtYdKkVW7skKwyahD4yHCGm079q5uSDvblYiaTIP83zczQBSgomK+tC8k67Eu7YUc2T181l2SXJzHrh2cEy2eNuzXv0vppkJzZNCovW1ie8QBTcO5zy4OWVXz44gU7EcIZV5aD4viphL/LstKRdS66Ov5kxiGApNay9Z+jR/UBsOSWPxoyUs69g4CMRcBlox3FGSiY5nqnj9om8USqqyBWLevNJwS30Fu2CG6FufuS2zsNcuqpORwE7azsQAeDt+lAIIw5nYI4ZSKp+HIQ+jmTXxEm8M9BJtUnNGh6mAr+BU1tdkMkRCE5RWkn2lmukwjGKOYLX613Daa39fJnerE3jiqom/qA+1IqAJS081eClCHsU2BgOZfYPvgaUXXi9xZXCqKgGSWELrDbreegwt73/26y7RhC8B2pb0X/JYflMpq7BuGw01aUbhsoyhn5vhcfcKTG7L2Odw3D9FwXExggg+EgrnOAR9emdSmAVKZjUM6aS4tRiYnRdOf5yQ3SpKzUt3UmhYpVUYbkL/bzXKDD6LgV1B72GQ9MBhN1jJySvOup0kR9hF+7UNFqD+oQ1cb1Q6c7d240NM= X-LD-Processed: a652971c-7d2e-4d9b-a6a4-d149256f461b,ExtAddr X-Microsoft-Exchange-Diagnostics: 1; HE1PR05MB3148; 31:UhZJkbU7BLe56UpGZuQ44Qz9W3Fox050Jh6is17GmCD30rLiEq0v/Gh1JDF5Xyrm7K2s92DDe9bPnZ2MxZdNqbYt1wqmbZw93FQcLnh8UL6+TM42nNwMl2p6ha5NrTUSKHtxPzV76xhLfcTVUcLMFYor67h236xFIqsFHjKW+Rrya7gBTGBLCQBBFykGlbZ8V1t2K4sOGV9bNA61P5VcmLu+fa+mVuS9hBxRFv1rzaTKakWY345tT/xu2SVZgL/x5lscg/seL/mfhr/nEytP6hkCjPYWqsVWPFyZuv4KAc9H4LqwCwtShAMRNBgOyP5tznFJ892C8KhNWKCBdU8DBMvEt9GZFxRQjDZdgZUXhg4yixtz+I++y0CfCjdggoyt3iTMbNJSavmP/+7P2sI+pbGF7w0cETn10RhOMxG96utzy7/LnWPEH5n5z0zPIItOBd31CXNI7T7usl9eESiSljiK0Ma7b0HH03vkVNK4//JgMSNyJpzZLDCTojKBZdwcSrPi2NM1PIOsFYph79gJezgdWQxIELsh5dwYDOrMTOyv+w7oY/AZ6meHyszsxCcFUPturp0s4T/cKHlI5udgZQU/HpTW0xWTCEVPuzcvAF4H7jZK26vPkSubH7FmJbcLbgsFFyaS1CCyjBblIkqbGRgdTQw6c6O1fnsYnf0+iccfCJfuDMAa+ncl0Btz/G8q X-Microsoft-Exchange-Diagnostics: 1; HE1PR05MB3148; 20:ft2kSLFtV2IdEhWMBBSqiIE1z3tuKNp+QPkXuSQON5A3HX+yNQDULpAxcX8weQHyrkOJpCwCCMDR+ERg+VGt5wbEAChBmHmGscst2BWr9GY2TpCr4OvXrxdV8LDrrlK2/OralJ0FtbbNlPTW/aTWw4UzqsFYnRNJx8yHs8lSga1tkCSLrFqbdHP2NhiLSu+XaOzzcv1VIPRNdeH3Vdcls6D3pl8t+cwXBpuVeg5Jex+yNq88gcMFhjpuUYfl9JMn913QdSiEThXZk9+czI5lOC3vtX9o2SwrSqRkWPn3Bve+d2/5ADbyGvcXX7Ex8rMtYQ1on7fYR07gHgvMR+2SvkntuACghCfH9dfCvmNiUmS4kfI/M9YI09/2h0B3pjFiII7JWZWaNKIxvRvk8hkJ3cASnVOxQg5Mxp0Gje32VEvlVQki5nkiSmgUVCli3lT1hbUTh5g2rpluAI/gBanSg0AF6j9ke9YOTP5kYWUExbHKHPhHyi3RdVYpHgLz0+RX X-Exchange-Antispam-Report-Test: UriScan:(158342451672863)(278428928389397); X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(601004)(2401047)(8121501046)(5005006)(100000703101)(100105400095)(93006095)(93001095)(10201501046)(3002001)(6055026)(6041248)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123564025)(20161123555025)(20161123562025)(20161123560025)(20161123558100)(6072148)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:HE1PR05MB3148; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:HE1PR05MB3148; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; HE1PR05MB3148; 4:k1acX5O5aA7qJhwJAtyukyhSkwlRED5IOteZm/nzga?= Ej81UCMZ9LFdcbj/C/cFKoZPpOxEbQWE2RwijLyRIG3YBEfk3fMO9Bhv8M9MGSOwRlcyHD0Z4fDRHiLvtm7LVGJEZaoshFpRWjNRFZ/IJ2wSUyH0PHXBBgGxuwGnyLqYSzEn/e0DAa4A+9KmHqd3NTzMETW2C33PjdlHbe6p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 038002787A X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4630300001)(7370300001)(6009001)(39860400002)(39840400002)(39450400003)(39400400002)(39410400002)(39850400002)(199003)(189002)(2950100002)(3846002)(478600001)(6916009)(6116002)(25786009)(2906002)(6666003)(47776003)(86362001)(69596002)(15650500001)(21086003)(7350300001)(118296001)(4326008)(36756003)(110136004)(55016002)(42186005)(189998001)(106356001)(97736004)(68736007)(38730400002)(105586002)(2361001)(2351001)(33646002)(101416001)(50466002)(50226002)(7736002)(8676002)(81166006)(66066001)(53936002)(48376002)(33026002)(5660300001)(81156014)(305945005)(76176999)(50986999)(5003940100001)(21314002); DIR:OUT; SFP:1101; SCL:1; SRVR:HE1PR05MB3148; H:mellanox.com; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX:1; LANG:en; Received-SPF: None (protection.outlook.com: mellanox.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; HE1PR05MB3148; 23:oqIvnQIF8P7brO+95NoNUNk2rqZIeno1P9MQJtgYN?= E8rZ1KeWMPUUltGKcMOu/cCxe119qzh5eLb/KHydErvUq1MShCy0zojZnrz38gYQxaA2Dnuf/kteP2vOdQIKOIvDcovYMXkF10lPiEGo6sopWuzN8JwfkZdQRUIB18fiPIqF6fxCnthZJc4KNJlLGwOk85cob4j8iTCzogh9S19+DdtZQ2LQbeQ7ENDjP78p7bSFNjSNFXG/ulpMwBVx8qlwgftHBLOgCtYmt/OR7J692iCU1C4QJJxHidlpXsVEmL+RW8BMT6eJLBYqnV5QYpnSyu6VyDPvyy2lHhj5oX2U+w58A5cM0/Tw1ZvccLkjv/schZPba+R0uuPbWSi6X15GdvcMokCPk5OylsYBaAxpzhwxkO8PgvAja1pHz7FmquWUqM5LJdzmFb/nFLk8lQ92OKOGOU97g7JeF3h/3Udmivu/XJC2mHWv3vydchB/o+LbL8zc6zt4tRQ4gHkmeZsrPCdcm3+LrmIEFG9cU01N4LV/PUHhPwMG693fpIVD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a0dZb4tR7C4V9OMHUYr5HNAP9xjGFeHA1RPGTSduHG6F71f63o06eiDkDlNoTjyHM9QFzgaHGb3/ZyrYWLXLaofqcwwaPTr2XM98yMqByDjz4zrevwpDAdsQTaRmWNGRW8xkFFZ56NzgWEKGQRcyHg05LzDWsUMW8sw+xYRjDRHr7N3CJvIIadnAKTHxcaAhQ7LIoSImNLGer8lNouzppg00O+mGyBw7c9bxtZXR/+UOY= X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Jul 2017 17:03:05.5006 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR05MB3148 Subject: [dpdk-dev] [PATCH v4 3/3] doc: update mlx guides 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" Update the guides with: * New supported features. * Supported OFED and FW versions. * Quick start guide. * Performance tunning guide. Signed-off-by: Shahaf Shuler Acked-by: Nelio Laranjeiro Acked-by: Adrien Mazarguil --- On v4: - Fixed missing "." and ":". - Fixed header underline length. On v3: - Changed Limitiation and Known issues to Limitation only. - Reference to DPDK building system made internal. - More grammer and spelling fixes. On v2: - Fixed grammer and spelling. - Changed limitations and Known issues location. -- doc/guides/nics/mlx4.rst | 139 ++++++++++++++++++++++++++++++- doc/guides/nics/mlx5.rst | 207 +++++++++++++++++++++++++++++++++++++++++------ 2 files changed, 318 insertions(+), 28 deletions(-) diff --git a/doc/guides/nics/mlx4.rst b/doc/guides/nics/mlx4.rst index f1f26d4f9..0c27e1320 100644 --- a/doc/guides/nics/mlx4.rst +++ b/doc/guides/nics/mlx4.rst @@ -1,5 +1,6 @@ .. BSD LICENSE Copyright 2012-2015 6WIND S.A. + Copyright 2015 Mellanox Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions @@ -76,6 +77,7 @@ Compiling librte_pmd_mlx4 causes DPDK to be linked against libibverbs. Features -------- +- Multi arch support: x86_64 and POWER8. - RSS, also known as RCA, is supported. In this mode the number of configured RX queues must be a power of two. - VLAN filtering is supported. @@ -87,6 +89,7 @@ Features - 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. +- RX interrupts. Limitations ----------- @@ -244,9 +247,8 @@ DPDK and must be installed separately: Currently supported by DPDK: -- Mellanox OFED **4.0-2.0.0.0**. -- Firmware version **2.40.7000**. -- Supported architectures: **x86_64** and **POWER8**. +- Mellanox OFED **4.1**. +- Firmware version **2.36.5000** and above. Getting Mellanox OFED ~~~~~~~~~~~~~~~~~~~~~ @@ -273,6 +275,137 @@ Supported NICs * Mellanox(R) ConnectX(R)-3 Pro 40G MCX354A-FCC_Ax (2*40G) +Quick Start Guide +----------------- + +1. Download latest Mellanox OFED. 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: + + For bare metal use: + + .. code-block:: console + + ./mlnxofedinstall + + For SR-IOV hypervisors use: + + .. code-block:: console + + ./mlnxofedinstall --enable-sriov -hypervisor + + For SR-IOV virtual machine use: + + .. code-block:: console + + ./mlnxofedinstall --guest + +3. Verify the firmware is the correct one: + + .. code-block:: console + + ibv_devinfo + +4. Set all ports links to Ethernet, follow instructions on the screen: + + .. code-block:: console + + connectx_port_config + + Or in the manual way: + + .. code-block:: console + + PCI= + echo eth > "/sys/bus/pci/devices/$PCI/mlx4_port0" + echo eth > "/sys/bus/pci/devices/$PCI/mlx4_port1" + +5. In case of bare metal or hypervisor, configure optimized steering mode + by adding the following line to ``/etc/modprobe.d/mlx4_core.conf``: + + .. code-block:: console + + options mlx4_core log_num_mgm_entry_size=-7 + + .. note:: + + If VLAN filtering is used, set log_num_mgm_entry_size=-1. + Performance degradation can occur on this case. + +6. Restart the driver: + + .. code-block:: console + + /etc/init.d/openibd restart + or: + + .. code-block:: console + + service openibd restart + +7. Compile DPDK and you are ready to go. See instructions on + :ref:`Development Kit Build System ` + +Performance tuning +------------------ + +1. Verify the optimized steering mode is configured: + + .. code-block:: console + + cat /sys/module/mlx4_core/parameters/log_num_mgm_entry_size + +2. Use environment variable MLX4_INLINE_RECV_SIZE=64 to get maximum + performance for 64B messages. + +3. Use the CPU near local NUMA node to which the PCIe adapter is connected, + for better performance. For VMs, verify that the right CPU + and NUMA node are pinned according to the above. Run: + + .. code-block:: console + + lstopo-no-graphics + + to identify the NUMA node to which the PCIe adapter is connected. + +4. If more than one adapter is used, and root complex capabilities allow + to put both adapters on the same NUMA node without PCI bandwidth degradation, + it is recommended to locate both adapters on the same NUMA node. + This in order to forward packets from one to the other without + NUMA performance penalty. + +5. Disable pause frames: + + .. code-block:: console + + ethtool -A rx off tx off + +6. Verify IO non-posted prefetch is disabled by default. This can be checked + via the BIOS configuration. Please contact you server provider for more + information about the settings. + +.. hint:: + + On some machines, depends on the machine integrator, it is beneficial + to set the PCI max read request parameter to 1K. This can be + done in the following way: + + To query the read request size use: + + .. code-block:: console + + setpci -s 68.w + + If the output is different than 3XXX, set it by: + + .. code-block:: console + + setpci -s 68.w=3XXX + + The XXX can be different on different systems. Make sure to configure + according to the setpci output. + Usage example ------------- diff --git a/doc/guides/nics/mlx5.rst b/doc/guides/nics/mlx5.rst index a68b7adc0..bbd649661 100644 --- a/doc/guides/nics/mlx5.rst +++ b/doc/guides/nics/mlx5.rst @@ -1,5 +1,6 @@ .. BSD LICENSE Copyright 2015 6WIND S.A. + Copyright 2015 Mellanox Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions @@ -64,6 +65,9 @@ physical memory (or memory that does not belong to the current process). This capability allows the PMD to coexist with kernel network interfaces which remain functional, although they stop receiving unicast packets as long as they share the same MAC address. +This means legacy linux control tools (for example: ethtool, ifconfig and +more) can operate on the same network interfaces that owned by the DPDK +application. Enabling librte_pmd_mlx5 causes DPDK applications to be linked against libibverbs. @@ -71,6 +75,7 @@ libibverbs. Features -------- +- Multi arch support: x86_64, POWER8, ARMv8. - Multiple TX and RX queues. - Support for scattered TX and RX frames. - IPv4, IPv6, TCPv4, TCPv6, UDPv4 and UDPv6 RSS on any number of queues. @@ -92,6 +97,8 @@ Features - RSS hash result is supported. - Hardware TSO. - Hardware checksum TX offload for VXLAN and GRE. +- RX interrupts. +- Statistics query including Basic, Extended and per queue. Limitations ----------- @@ -100,6 +107,22 @@ Limitations - Port statistics through software counters only. - Hardware checksum RX offloads for VXLAN inner header are not supported yet. - Secondary process RX is not supported. +- Flow pattern without any specific vlan will match for vlan packets as well: + + When VLAN spec is not specified in the pattern, the matching rule will be created with VLAN as a wild card. + Meaning, the flow rule:: + + flow create 0 ingress pattern eth / vlan vid is 3 / ipv4 / end ... + + Will only match vlan packets with vid=3. and the flow rules:: + + flow create 0 ingress pattern eth / ipv4 / end ... + + Or:: + + flow create 0 ingress pattern eth / vlan / ipv4 / end ... + + Will match any ipv4 packet (VLAN included). Configuration ------------- @@ -156,13 +179,12 @@ Run-time configuration - ``rxq_cqe_comp_en`` parameter [int] A nonzero value enables the compression of CQE on RX side. This feature - allows to save PCI bandwidth and improve performance at the cost of a - slightly higher CPU usage. Enabled by default. + allows to save PCI bandwidth and improve performance. Enabled by default. Supported on: - - x86_64 with ConnectX4 and ConnectX4 LX - - Power8 with ConnectX4 LX + - x86_64 with ConnectX-4, ConnectX-4 LX and ConnectX-5. + - POWER8 and ARMv8 with ConnectX-4 LX and ConnectX-5. - ``txq_inline`` parameter [int] @@ -170,8 +192,8 @@ Run-time configuration Can improve PPS performance when PCI back pressure is detected and may be useful for scenarios involving heavy traffic on many queues. - It is not enabled by default (set to 0) since the additional software - logic necessary to handle this mode can lower performance when back + Because additional software logic is necessary to handle this mode, this + option should be used with care, as it can lower performance when back pressure is not expected. - ``txqs_min_inline`` parameter [int] @@ -181,6 +203,15 @@ Run-time configuration This option should be used in combination with ``txq_inline`` above. + On ConnectX-4, ConnectX-4 LX and ConnectX-5 without Enhanced MPW: + + - Disabled by default. + - In case ``txq_inline`` is set recommendation is 4. + + On ConnectX-5 with Enhanced MPW: + + - Set to 8 by default. + - ``txq_mpw_en`` parameter [int] A nonzero value enables multi-packet send (MPS) for ConnectX-4 Lx and @@ -221,9 +252,7 @@ Run-time configuration A nonzero value enables hardware TSO. When hardware TSO is enabled, packets marked with TCP segmentation - offload will be divided into segments by the hardware. - - Disabled by default. + offload will be divided into segments by the hardware. Disabled by default. Prerequisites ------------- @@ -279,13 +308,13 @@ DPDK and must be installed separately: Currently supported by DPDK: -- Mellanox OFED version: **4.0-2.0.0.0** +- Mellanox OFED version: **4.1**. - firmware version: - - ConnectX-4: **12.18.2000** - - ConnectX-4 Lx: **14.18.2000** - - ConnectX-5: **16.19.1200** - - ConnectX-5 Ex: **16.19.1200** + - ConnectX-4: **12.20.1010** and above. + - ConnectX-4 Lx: **14.20.1010** and above. + - ConnectX-5: **16.20.1010** and above. + - ConnectX-5 Ex: **16.20.1010** and above. Getting Mellanox OFED ~~~~~~~~~~~~~~~~~~~~~ @@ -330,25 +359,153 @@ Supported NICs * Mellanox(R) ConnectX(R)-5 100G MCX556A-ECAT (2x100G) * Mellanox(R) ConnectX(R)-5 Ex EN 100G MCX516A-CDAT (2x100G) -Known issues ------------- +Quick Start Guide +----------------- -* **Flow pattern without any specific vlan will match for vlan packets as well.** +1. Download latest Mellanox OFED. For more info check the `prerequisites`_. - When VLAN spec is not specified in the pattern, the matching rule will be created with VLAN as a wild card. - Meaning, the flow rule:: - flow create 0 ingress pattern eth / vlan vid is 3 / ipv4 / end ... +2. Install the required libraries and kernel modules either by installing + only the required set, or by installing the entire Mellanox OFED: - Will only match vlan packets with vid=3. and the flow rules:: + .. code-block:: console - flow create 0 ingress pattern eth / ipv4 / end ... + ./mlnxofedinstall - Or:: +3. Verify the firmware is the correct one: - flow create 0 ingress pattern eth / vlan / ipv4 / end ... + .. code-block:: console - Will match any ipv4 packet (VLAN included). + ibv_devinfo + +4. Verify all ports links are set to Ethernet: + + .. code-block:: console + + mlxconfig -d query | grep LINK_TYPE + LINK_TYPE_P1 ETH(2) + LINK_TYPE_P2 ETH(2) + + Link types may have to be configured to Ethernet: + + .. code-block:: console + + mlxconfig -d set LINK_TYPE_P1/2=1/2/3 + + * LINK_TYPE_P1=<1|2|3> , 1=Infiniband 2=Ethernet 3=VPI(auto-sense) + + For hypervisors verify SR-IOV is enabled on the NIC: + + .. code-block:: console + + mlxconfig -d query | grep SRIOV_EN + SRIOV_EN True(1) + + If needed, set enable the set the relevant fields: + + .. code-block:: console + + mlxconfig -d set SRIOV_EN=1 NUM_OF_VFS=16 + mlxfwreset -d reset + +5. Restart the driver: + + .. code-block:: console + + /etc/init.d/openibd restart + or: + + .. code-block:: console + + service openibd restart + + If link type was changed, firmware must be reset as well: + + .. code-block:: console + + mlxfwreset -d reset + + For hypervisors, after reset write the sysfs number of virtual functions + needed for the PF. + + To dynamically instantiate a given number of virtual functions (VFs): + + .. code-block:: console + + echo [num_vfs] > /sys/class/infiniband/mlx5_0/device/sriov_numvfs + +6. Compile DPDK and you are ready to go. See instructions on + :ref:`Development Kit Build System ` + +Performance tuning +------------------ + +1. Configure aggressive CQE Zipping for maximum performance: + + .. code-block:: console + + mlxconfig -d s CQE_COMPRESSION=1 + + To set it back to the default CQE Zipping mode use: + + .. code-block:: console + + mlxconfig -d s CQE_COMPRESSION=0 + +2. In case of virtualization: + + - Make sure that hypervisor kernel is 3.16 or newer. + - Configure boot with ``iommu=pt``. + - Use 1G huge pages. + - Make sure to allocate a VM on huge pages. + - Make sure to set CPU pinning. + +3. Use the CPU near local NUMA node to which the PCIe adapter is connected, + for better performance. For VMs, verify that the right CPU + and NUMA node are pinned according to the above. Run: + + .. code-block:: console + + lstopo-no-graphics + + to identify the NUMA node to which the PCIe adapter is connected. + +4. If more than one adapter is used, and root complex capabilities allow + to put both adapters on the same NUMA node without PCI bandwidth degradation, + it is recommended to locate both adapters on the same NUMA node. + This in order to forward packets from one to the other without + NUMA performance penalty. + +5. Disable pause frames: + + .. code-block:: console + + ethtool -A rx off tx off + +6. Verify IO non-posted prefetch is disabled by default. This can be checked + via the BIOS configuration. Please contact you server provider for more + information about the settings. + +.. hint:: + + On some machines, depends on the machine integrator, it is beneficial + to set the PCI max read request parameter to 1K. This can be + done in the following way: + + To query the read request size use: + + .. code-block:: console + + setpci -s 68.w + + If the output is different than 3XXX, set it by: + + .. code-block:: console + + setpci -s 68.w=3XXX + + The XXX can be different on different systems. Make sure to configure + according to the setpci output. Notes for testpmd -----------------