From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR03-VE1-obe.outbound.protection.outlook.com (mail-eopbgr50043.outbound.protection.outlook.com [40.107.5.43]) by dpdk.org (Postfix) with ESMTP id E85981B60B for ; Thu, 9 Nov 2017 18:31:42 +0100 (CET) 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=ce8/UU4IpwAtpoE2pMqi4NY+XpWxab0Aef4rhsh+FY8=; b=LkZTFbSUPXKPYLqCJhUCM6k/RWATlljAlzrCWMle5kZuDnfjktT2XYiMLGQDvXsQQA7O/ivn7LKb+8fxZIH0OE7fX3CNRNUaJjUjCz1DjYEULaWI0NzbW/hvvManlYZaCLY8tmNj6YsqldMOVBBrvDaVZ6+9CGuCJw1hDL7vXEc= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=motih@mellanox.com; Received: from mellanox.com (37.142.13.130) by DB5PR05MB1910.eurprd05.prod.outlook.com (2a01:111:e400:c584::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.197.13; Thu, 9 Nov 2017 17:31:40 +0000 From: Moti Haimovsky To: adrien.mazarguil@6wind.com Cc: dev@dpdk.org, Moti Haimovsky Date: Thu, 9 Nov 2017 19:30:55 +0200 Message-Id: <1510248656-194169-3-git-send-email-motih@mellanox.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1510248656-194169-1-git-send-email-motih@mellanox.com> References: <1510248656-194169-1-git-send-email-motih@mellanox.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [37.142.13.130] X-ClientProxiedBy: VI1P189CA0003.EURP189.PROD.OUTLOOK.COM (2603:10a6:802:2a::16) To DB5PR05MB1910.eurprd05.prod.outlook.com (2a01:111:e400:c584::15) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 4209f7a3-ca5a-48b5-1409-08d52797bd7b X-MS-Office365-Filtering-HT: Tenant X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(48565401081)(4534020)(4602075)(4627115)(201703031133081)(201702281549075)(2017052603199); SRVR:DB5PR05MB1910; X-Microsoft-Exchange-Diagnostics: 1; DB5PR05MB1910; 3:uY3AiB/mqrqy3xKffRYxbAbBDIz0Cn1jopi6dXFHyH+YdTVYielLTsB3raa4vMQClX34kNw7iDISfD1Eq72AfVIrew4QtiVJWcDAteC+pjdZ0LJ1ehxyBPgFSP2IRq2JqnAQG4n9hH+9C+TFMB4TX0mJ+Jsob5TSKKxQFJun34GsetMLNbFUX/I3qxN4COek+GRRW9dz4iISUrlydOmNdRchbgCghSAuKvltd0cGYWhjCxxPupIhC/33LKVUauAD; 25:lGiwLTnLzyWDtyTiNxBVVlR0NVE9gFsGEEOrvc6zJ5rCtytpiz1YUe3rARXhiAHTBnDP/PfjxNqXkdnJiMD2fPnHGptTlBFh7KXJEYusc7Dnn2QdCiUi13j4V9uEngmjlvwNzOIEWUtuuOxgq3QDrwhwtJOfGysJuPBk90VWKME5ebsOb+JdtWy1vjPBAA79k7Z9ddRxpvjBvKx7AMtrnie+MddVcYx0hmXciWHfOoI1BhUh5yPq0PzVuLZI4BACHh0DgzsVaSKPR+jgO9y+tPuPhechdbY7XKmwvDOJdqngfq8THQ9RWp2sqOM2oT5VhHCJLgG8qXZOMckt9Q8Nfw==; 31:PFr8GUJXPkcMUVYNmVU9bxRIF/NPkfviRMAOtJWZFhA5DvTWkMPSDqSzMr3zbU/tT2kSj4dC0SV9FEjB/NxKtBX6UBp0xkbYjMHg+o1n4LsuUzRs1bz4yGFMS0wMtXvgVykQvf+kSGYhmaWlsU/3KgUomW+tyZLKn8M2uXW7MTdUZvcDrtvD71o6F8xCAOYl/3E7jn5gzl1VSZZ3dJMB/JTDww+qeu66jC9JaHinm4g= X-MS-TrafficTypeDiagnostic: DB5PR05MB1910: X-LD-Processed: a652971c-7d2e-4d9b-a6a4-d149256f461b,ExtAddr X-Microsoft-Exchange-Diagnostics: 1; DB5PR05MB1910; 20:HRoM26vXkn0m84DJfq0v5jrgBCIYwBafymginD9syI/+7on5tsOD9YH8Oqic9vH1vkrRnbAFNH8DVPz2CST3L0lIOvPB+Jebf52g29JgKiQ6YwJ4//eWQ/kp3ibrQs+BSkS1JwI/fB1rD7o/lyFF9OqsrWVS6tr6Y21fMIhOGsTXR/3lmY1poqcvkW32P8poalnmJL6OAFG9yb21vOJpR0Wy4pub14gXmE/SDirecp+aBGiZPOa4CkCN/6ZIw/P2k/oOj3BOkxs1gPxNdDzmZ4yzdBMGDTuZd4YIpo6Cv1xsR+PPtcEG6llgZHzySZpDcM3TRkbTreW5DH5tspvpJSif28trz3vI2Yq8PaXJSLjAb7euuFYRratNHBatwZFuomtFLHhn3Uzh+3p+xJ7MWJZQBEOCmk6jvw67oXEW0wHvaBklAN6Iidh+bX6yGClIPAHyd+TVkgdx3ZUm+0IHdAO9uRGT9RkdPTGBUFzLl1/y3vvOhOIT2CXYvzAd6Xb6; 4:7z2d7hFH+gATLLRnA14hx+Y80K3aXlJWgfhcqywWv6FCAWO+XMwAQUzfew1AvFyIWni+JYktV8UY+Tjc9ByuCfJClEFr1fDv6zr5ldtSY+ja7vp0VDtDpx8AkdaXimgYkPfkAXBTg0StUIgR1G5gjWfmxfbAqrTkE8KW2VVYo8KmEXTswUKoHXzixfTFJZqXn6rYczRkrJacQn9RfpurTxR9UpZLHnovh8QWZ2pjI5LtwRwB3WfRTa2r06n4AuG3Hah+uW7hLRiBIoz0wkkuaOmRZjyDBm0wsmZLb3NPQIzwycYrkpsEHEQGIcBkTilb X-Exchange-Antispam-Report-Test: UriScan:(158342451672863); X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(2401047)(8121501046)(5005006)(93006095)(93001095)(100000703101)(100105400095)(3002001)(10201501046)(3231021)(6055026)(6041248)(20161123562025)(20161123558100)(20161123564025)(20161123555025)(20161123560025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(6072148)(201708071742011)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:DB5PR05MB1910; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:DB5PR05MB1910; X-Forefront-PRVS: 0486A0CB86 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(6009001)(346002)(376002)(39860400002)(199003)(189002)(25786009)(50986999)(69596002)(53936002)(76176999)(33026002)(5660300001)(8676002)(8936002)(86362001)(50226002)(68736007)(81166006)(81156014)(305945005)(4326008)(6116002)(48376002)(36756003)(33646002)(16526018)(189998001)(316002)(2351001)(6666003)(105586002)(21086003)(106356001)(2906002)(16586007)(478600001)(3846002)(55016002)(5003940100001)(50466002)(2361001)(4720700003)(107886003)(97736004)(7736002)(101416001)(6916009)(66066001)(2950100002)(47776003); DIR:OUT; SFP:1101; SCL:1; SRVR:DB5PR05MB1910; 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; DB5PR05MB1910; 23:0BcueKxp9rw58RiNORpUnALdW3+y8vGl/52XFyZXz?= =?us-ascii?Q?ArhYfVjP6v+Hj+gCXV7lMInr296FbnnSLtkEdGfiPisPjxpKaSOqXTxfzq1u?= =?us-ascii?Q?gZ8iSoLR3Nj6+fYc37wMKFcffEOeIDrTRw6Az9ELImcvIWCxSGKbzP5lXREq?= =?us-ascii?Q?0P3g6d3w1OepVioLjDdlQwE6VeSKVxzL/GTyb6Zjgei3tQdbyad1l+yfDiw5?= =?us-ascii?Q?4/FneHdisJPg89VF/ZgameerIWlTaqHbWw8oCaKD31vonk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nosticMetadata: NSPM X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Nov 2017 17:31:40.7797 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 4209f7a3-ca5a-48b5-1409-08d52797bd7b X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: a652971c-7d2e-4d9b-a6a4-d149256f461b X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB5PR05MB1910 Subject: [dpdk-dev] [PATCH 2/3] doc: fix mlx4 drop inline receive support 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: , X-List-Received-Date: Thu, 09 Nov 2017 17:31:43 -0000 This commit removes the stale MLX4_INLINE_RECV_SIZE environment variable from the documentation. Fixes: 056eaf2e6d55 ("net/mlx4: drop inline receive support") Signed-off-by: Moti Haimovsky --- doc/guides/nics/mlx4.rst | 20 ++++---------------- 1 file changed, 4 insertions(+), 16 deletions(-) diff --git a/doc/guides/nics/mlx4.rst b/doc/guides/nics/mlx4.rst index be1ba16..7c43177 100644 --- a/doc/guides/nics/mlx4.rst +++ b/doc/guides/nics/mlx4.rst @@ -115,15 +115,6 @@ These options can be modified in the ``.config`` file. This value is always 1 for RX queues since they use a single MP. -Environment variables -~~~~~~~~~~~~~~~~~~~~~ - -- ``MLX4_INLINE_RECV_SIZE`` - - A nonzero value enables inline receive for packets up to that size. May - significantly improve performance in some cases but lower it in - others. Requires careful testing. - Run-time configuration ~~~~~~~~~~~~~~~~~~~~~~ @@ -325,10 +316,7 @@ Performance tuning 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, +2. 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: @@ -338,19 +326,19 @@ Performance tuning 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 +3. 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: +4. 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 +5. 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. -- 1.8.3.1