From patchwork Mon Jul 24 12:36:37 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Shahaf Shuler X-Patchwork-Id: 27151 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 5CB9C7CAE; Mon, 24 Jul 2017 14:37:01 +0200 (CEST) Received: from EUR01-VE1-obe.outbound.protection.outlook.com (mail-ve1eur01on0069.outbound.protection.outlook.com [104.47.1.69]) by dpdk.org (Postfix) with ESMTP id 5FBE058EC for ; Mon, 24 Jul 2017 14:36:56 +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=sJs0KVYIWKAUAkDiktYDAsqnFmIPTQEf4/a9JxoLuZM=; b=rR5r6olNxjzsxGPGz2NhQAZUrx2JkasiV2x89fkotOk6d2MBRsM7Uk81bkWeOzEC46CSXJJ8e4ZWNIDN0rpJH+r1JByNXb1MB+LMF7qT6/knAX8tzIyFq3nufNN/yqxeBwbF2bRtLmcf91uSxz+YnrUEZY86oGM3lsEZzWQSoms= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=shahafs@mellanox.com; Received: from mellanox.com (82.166.227.17) by AM4PR05MB3137.eurprd05.prod.outlook.com (2603:10a6:205:3::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1282.10; Mon, 24 Jul 2017 12:36:54 +0000 From: Shahaf Shuler To: thomas@monjalon.net Cc: dev@dpdk.org Date: Mon, 24 Jul 2017 15:36:37 +0300 Message-Id: <20170724123637.169827-3-shahafs@mellanox.com> X-Mailer: git-send-email 2.12.0 In-Reply-To: <20170724123637.169827-1-shahafs@mellanox.com> References: <20170724123637.169827-1-shahafs@mellanox.com> MIME-Version: 1.0 X-Originating-IP: [82.166.227.17] X-ClientProxiedBy: AM5PR0201CA0006.eurprd02.prod.outlook.com (2603:10a6:203:3d::16) To AM4PR05MB3137.eurprd05.prod.outlook.com (2603:10a6:205:3::14) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 2b38b39a-54c9-49c9-b505-08d4d290aaa2 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:AM4PR05MB3137; X-Microsoft-Exchange-Diagnostics: 1; AM4PR05MB3137; 3:Ji5CufJxebIMYeS1QdPSqmPxgK4a0L2gXOgwrmqZlmp45JR6zKOQlkO/BAbkJuryanNmrBI9FylK/vXZv/QT1AJ0IM6yv0oXCEJ8m/j6BjP/isdLQF3QfJg5jN0a/GpdGXJDwUdGteWkZ/eoMEuyH+hR8FyZ6/740nq2O2HLVFET9Ixz0HKRGDfzYhcqjYdDgvNzJozStSnWZcODASSuKxNmqXNUe8d8U5+CNLZCCcuXkNc8lQQ7lFSgKwDBbN0rpOnz0hztQaPEf8rMta/wgnjmmL+Lp5wjwisrDI9255BJ6ubwvmbXqnR/UK0Hzyxak9kO7zErDGS6pkCkNRSRgkiS+0itF5txAf/uz7j9omBM0JjNNQPEqSx7Yg72tKYYrJkgXwAd5wy4uyy6foDh2f9uPx0dTD2jwfpw4fjMUM0g7EpDMavoM23de9CSP+Vyv+Lhwn4KxaoJDYPQCddGM0PieJr5ZPFShW79RDjZD6Y2FCl4NdtssODbsJaYgSLwMExMg/Fxks0by52BodsXa8hlNAum+4Qhx8DKN/0PgjvGQsVZJwKddEB5tSzJqsFMRDHBdtQl7Wudxk9D6VcblWkaIRSGKXgdpUOiRfWji1nzDUsJoc4SFW16cONN+0HjoXaiccB2G3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mw4pRCONOkrxNBbHtEhUDUWqBAHczFTOVopobhok2Vj5NKwU6Fqf2u0aPhhY0GnMmhu+0dHqYlLeczG9dKs3AasOgYV9oOKIQohy3dVzGeq89/7ozFZihlZkYu+FRMtpFXnzAV+W/xvMb04AV6tasZE6rGWBXV9nIWqY4i6xpvB0hQyguuD9N+EG5wfApNG2vo98aQ63CdE0gLsxpzNqZCLTiPdr7RhTo3vkkK1JvBzuLdVuo2Q2SvQccsS+6QIDFTNIOiAKiTTHxsfvEaPiCVzNxnhXjX8HhtV0yDqJ+G7MtxzMZ9mL2WVPf0UVjOZ5JOyRplK9wLsO3 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)(3002001)(100000703101)(100105400095)(93006095)(93001095)(10201501046)(6055026)(6041248)(20161123555025)(20161123564025)(20161123560025)(20161123558100)(20161123562025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(6072148)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:AM4PR05MB3137; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:AM4PR05MB3137; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; AM4PR05MB3137; 4:ConTU6kDkKLb1+VZO2U0q7plWWdBBchpWU60ZBWUlp?= Q82a5A4FF22ay0mwpEp1MYrQ/pfJJh2v4oFhPG7wezpm1UtAI26HFFO5n4NF16++owiVnhuEvNlsQENkzW6I5AHXJ1UtiSKppOJogPqUTI/XH8iDm9cyQ1IoisGwZmaacupIl+gf6FqCwDjs0lVgIyovEPwSdKCBO4KEPPRPa+ztuoH2XhYm9QxNM0PNHU4sPPnAFWRG+xL4NXy6X3m6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(39450400003)(39850400002)(39400400002)(39410400002)(39860400002)(39840400002)(199003)(189002)(105586002)(106356001)(189998001)(2361001)(2351001)(478600001)(6116002)(33646002)(38730400002)(3846002)(50986999)(97736004)(50226002)(5003940100001)(15650500001)(305945005)(69596002)(36756003)(53936002)(55016002)(110136004)(7736002)(86362001)(68736007)(33026002)(50466002)(7350300001)(4326008)(8676002)(81156014)(5660300001)(6666003)(81166006)(48376002)(47776003)(42186005)(101416001)(1076002)(66066001)(76176999)(25786009)(2950100002)(21086003)(6916009)(2906002)(21314002)(19627235001); DIR:OUT; SFP:1101; SCL:1; SRVR:AM4PR05MB3137; 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; AM4PR05MB3137; 23:m2QqjLpwm5RnU6ZXKfijRM4aiZmdDTmGp1kCeuWQ6?= /QHmJ1oeqr20IA0QJp76J5Y1WYGqLH11bbZepb/kpfjac3E2aINAH89OzHsvSi8q51WjePoLzQeS3/2j1I0U3t9bHLz4+bAOXb+enUI/cZJatFhiWejc75IQE0xFssiKTxFxfxLcNe6ufO+fbchXyelaCSqxzudQlLmaZTEFPKHHoRhfGA927D4mlV3JU2+DYoKVgQ2QLvB+Ov8a6YQ1sKQaHdBmCnXkiVg5C0nm7uQXnZD5rF5rzp7922ZzWxTnKInfXB3DCQYUNwJv7q2qgk6A5wlIbxJDGzSuEPhUFBOp8gJAycaNy7iG/aSXm+yLhdxtEp6imDKA8BC20Aj0DZyDcOskxsB5xzMvci1BT+xvWSvTYM0kQaBnwAk4BZIoQzVbCMSqXUUyRJnMdm3XkCBr7+mRjv/VRl46kLbMLpeCOkLaTyXFxhi39aSqlGV0Rj6xap2AcAh5FOW1gfq9U4IK/6C1uHTEKVpgGrU5MgXf0gDIRpYbnjfEob1Ik5xZ+XSRsdjhgopWeLGG3Z7IiG50na0G0VGRoYT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fJafot2bd3idUbdlpzVctIpw7iw1soJ+eZs/ECjAwacVDrQ+szGufdWtBBdrq411px3IMtpPuMUXuDSYP3VuYG/n+t97VgtTwzE7JsuB6T6dmoXO9RTIgBqHp2KpD+ipe+96+GtW1BzxiyDDhI5hECLGhcUKALRFSCsD2n0i/nLYOI09Cjj43dJMEg02f26tVFoJNHIph0BaXQ9a6ByyH3JWjjjquNDTN558qdrRC+WRxLUEHuZu/dgJQa65GyZn8eR08pw87fxcKB/JQwSwY; 24:fih2v18a76lp2V55ucbm0nzzTewEh5HcrOEmCq74MkaC9pjlnyau7vYWLud0TxUHNk93rLZmupWOA2l7ChMiHEW/P162SGXKh57kvI83/mA= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; AM4PR05MB3137; 7:F+gcl7OalohrefXSg/l1izbwbHKs2Z/vy1FVlEiC8O8k7MpskdfL/c5yAeGZK2CAb/lQXjRdvYDU4MNE73TQtWvov3hAr3ZANMIbWS6Ii5EQnK47SUbGdKHzWNrwl8eakkT0UrGoX0hkMeIq4QvyANlNdGknmas+phVIXCRtyoy+Dlt51v2b4SM3Gpt/M65tE1CX6MSDgdw13Z97vCSjHs1e0XqBRhKz8+eE1BMtqRvrhejVK+srESyEYTz/qmnWPwAcUj7HXXBJbS6B0jerU8eeh9IcrYuwTs0ZUdoxln6HJlReSbtHygjhiXWZYyTE/JIDZt8GaIgUyUmvjfG2xZv8R1UOPYr1L7rzr39sf2kF/4QefHKom/6w1+RjMyhGu9EaWgmfFdFQ1PcWTLNE+Js8SbPWjl5Z1nPqLZQthwi6dkvv1f/ZWinq4yu/kKebS79GMeDZcwrH9w0e4XcSB3lafHsqjguGXRtKGSeGOaDZvbOxjLDffngEH5Rgv3zpT1ELPIZNp31mk/DMw0Rb2D22GgG/vMPO1h2siMUyetjG1hwtwT+Jr5Lg4xw7+UPzUvJXd0YXvH8osILyb4e0VG0iVtpTpKZVbZq4pSHjiB46ib+U7kwdlkegLjIgvuZnGZsjVkCdVoWj19B6k2+TUbZg3kjwyRa8KIwX1acH61VqM61OXqAY7R9EQ8h/Am551Kvy2Uh6VEx82l/Utny5GgPT15z7rcpl/tSpYQ7PAeEnX9D7M/IL1UJgOEkFXXoO8qZ4aCUckIvdueYlj5f5qoBWn23k6txqdMLECymmCoc= X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Jul 2017 12:36:54.1777 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM4PR05MB3137 Subject: [dpdk-dev] [PATCH 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 --- doc/guides/nics/mlx4.rst | 161 +++++++++++++++++++++++++++++++--- doc/guides/nics/mlx5.rst | 220 +++++++++++++++++++++++++++++++++++++++++------ 2 files changed, 343 insertions(+), 38 deletions(-) diff --git a/doc/guides/nics/mlx4.rst b/doc/guides/nics/mlx4.rst index f1f26d4f9..23e14e52a 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 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,16 +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. - -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. +- Rx interrupts. Configuration ------------- @@ -244,8 +237,8 @@ DPDK and must be installed separately: Currently supported by DPDK: -- Mellanox OFED **4.0-2.0.0.0**. -- Firmware version **2.40.7000**. +- Mellanox OFED **4.1**. +- Firmware version **2.36.5000** and above. - Supported architectures: **x86_64** and **POWER8**. Getting Mellanox OFED @@ -273,6 +266,150 @@ 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 instruction on the screen: + + .. code-block:: console + + connectx_port_config + +5. In case of bare metal or Hypervisor, config the 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. Enable MLX4 PMD on the ``.config`` file: + + .. code-block:: console + + CONFIG_RTE_LIBRTE_MLX4_PMD=y + +8. Compile DPDK and you are ready to go: + + .. code-block:: console + + make config T= + make + + +Limitations and known issues +---------------------------- + +- 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. + +Performance tunning +------------------- + +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 Virtual Machines (VM), verify that the right CPU + and NUMA node are pinned for the VM 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 enables + to put both adapters on the same NUMA node without PCI bandwidth degredation, + 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 intergrator, 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..8accd754b 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, 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,14 +97,8 @@ Features - RSS hash result is supported. - Hardware TSO. - Hardware checksum TX offload for VXLAN and GRE. - -Limitations ------------ - -- Inner RSS for VXLAN frames is not supported yet. -- Port statistics through software counters only. -- Hardware checksum RX offloads for VXLAN inner header are not supported yet. -- Secondary process RX is not supported. +- RX interrupts +- Statistics query including Basic, Extended and per queue. Configuration ------------- @@ -156,13 +155,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-4LX and ConnectX-5. + - Power8 and ARMv8 with ConnectX-4LX and ConnectX-5. - ``txq_inline`` parameter [int] @@ -170,17 +168,26 @@ 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 + Since the additional software logic 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] Enable inline send only when the number of TX queues is greater or equal to this value. - This option should be used in combination with ``txq_inline`` above. + On ConnectX-4/ConnectX-4LX: + + - disabled by default. in case ``txq_inline`` is set recommendation is 4. + + On ConnectX-5: + + - when Enhanced MPW is enabled, it is set to 8 by default. + - otherwise disabled by default. in case ``txq_inline`` is set + use same values as ConnectX-4/ConnectX-4LX. + - ``txq_mpw_en`` parameter [int] A nonzero value enables multi-packet send (MPS) for ConnectX-4 Lx and @@ -221,9 +228,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 +284,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,10 +335,103 @@ 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 +------------------ + +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: + + .. code-block:: console + + ./mlnxofedinstall + +3. Verify the firmware is the correct one: + + .. code-block:: console + + 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) + + If the Links are not in the current protocol move the 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: -* **Flow pattern without any specific vlan will match for vlan packets as well.** + .. 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 port link protocol was changed need to reset the fw as well: + + .. code-block:: console + + mlxfwreset -d reset + + For Hypervisors, after reset write the sysfs number of Virtual Functions + needed for the PF. + The following is an example of a standard Linux kernel generated file that + is available in the new kernels: + + .. code-block:: console + + echo [num_vfs] > /sys/class/infiniband/mlx5_0/device/sriov_numvfs + + +6. Enable MLX5 PMD in the ``.config`` file : + + .. code-block:: console + + CONFIG_RTE_LIBRTE_MLX5_PMD=y + +7. Compile DPDK and you are ready to go: + + .. code-block:: console + + make config T= + make + +Limitations and Known issues +---------------------------- + +- Inner RSS for VXLAN frames is not supported yet. +- 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:: @@ -350,6 +448,76 @@ Known issues Will match any ipv4 packet (VLAN included). +Performance tunning +------------------- + +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 Virtual Machines (VM), verify that the right CPU + and NUMA node are pinned for the VM 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 enables + to put both adapters on the same NUMA node without PCI bandwidth degredation, + 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 intergrator, 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 -----------------