From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR02-HE1-obe.outbound.protection.outlook.com (mail-eopbgr10089.outbound.protection.outlook.com [40.107.1.89]) by dpdk.org (Postfix) with ESMTP id 810B61B2A0 for ; Mon, 30 Oct 2017 11:07:59 +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=4hZsrXJrMIJWUeXvwpZxBLLhkk+6f+hjWbmtC0h9jQY=; b=xkdyNctlN8z0nd5gKTkob3rAWW6hz10Q0Ny5ekJDHbFBk/1J9Ni+Tx9NDPdH+QxKnq19tl/QE688NcDhlrJc4GEbsBa3Srf6zb3U7WV45CN0GkqyZj13ehJ/4nk9wDD74KqgFM9CCkKRCvqVRNzwIW2p0sSNpM/LH3lYWaFztmA= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=matan@mellanox.com; Received: from mellanox.com (37.142.13.130) by VI1PR0502MB3662.eurprd05.prod.outlook.com (2603:10a6:803:f::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.178.6; Mon, 30 Oct 2017 10:07:56 +0000 From: Matan Azrad To: Adrien Mazarguil Cc: dev@dpdk.org, Ophir Munk Date: Mon, 30 Oct 2017 10:07:22 +0000 Message-Id: <1509358049-18854-1-git-send-email-matan@mellanox.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1508768520-4810-1-git-send-email-ophirmu@mellanox.com> References: <1508768520-4810-1-git-send-email-ophirmu@mellanox.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [37.142.13.130] X-ClientProxiedBy: VI1PR08CA0217.eurprd08.prod.outlook.com (2603:10a6:802:15::26) To VI1PR0502MB3662.eurprd05.prod.outlook.com (2603:10a6:803:f::17) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 22e1a476-3ffb-4dcd-f2e8-08d51f7e1825 X-MS-Office365-Filtering-HT: Tenant X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(48565401081)(4534020)(4602075)(2017052603199); SRVR:VI1PR0502MB3662; X-Microsoft-Exchange-Diagnostics: 1; VI1PR0502MB3662; 3:T7xKRF2hPgFV1MaAmkLgngxN+qqyuJ8xjIUA4lHgGtmbKAptLfcBWTQe+du79LmTxxh5lS1giKxPV0vqpXhxiNUFzvSZEWQjKLqLHI20BdfJ5yYPxofhcNfiAZopGUgj/MP3o8w8QcRRAUtW2wtO5793lx7PNj4T6PuAVNaJNdyQMoSzKkRcO1R03JGZ7zwDcZsuSZz4fClsnahDetl957yn9Jra91YOJmKFgCh2oG5UrxOymZlpoaq2+jW3b1Jx; 25:DZEhML8O7j8Irwjv/GzQ9gZ6J3lLFVoIqry9zfSLfOnNiBUUL0wuL2nnMUy49O5rqMzgzgYf/wYi649gBdmNkvOUWeQYn9lltESb8hsJhC+qfUdwE3/vc0RLpQ/wARvOopATaKReJNAX4YTvmJJqXLlKuhqkNTLT2x3t+igrOAy62LlhqB2IZTNWEyXNRJL3BVxaq6A0D8s4qGCRRXm1q+ywPvfLw+dNDREY/dgqKkgI38d3UkmKWbMJONrgGof1g0W+hGlA4H5zf8cJMnXMTdzaUxCsUEduRVPy74UTcN3Uap9mgn2EW9ORL8dmQQFJlyD8o/hkMz79i5Oi7jntww==; 31:ga7FgGa4EblJ3Lv1z7KjGLNlTXao7COOEETXMuMlwHsrLXy2FwjrYS9Eg4QREVMcERJhTeG0QDHaWITU7F41JrnKPWbrvr6fLA5hFAN+dfft/n4byV04tkzRBqleXVSCbEbmAb4wlUNlgEMX5q0COD3My8WzYfWpctRmyn82012AOPklte/MbO9i/b0uStmgY2Dhkywikda1SRQZ6oXLQhCz99hSqqwgVQdnR/jWMQU= X-MS-TrafficTypeDiagnostic: VI1PR0502MB3662: X-LD-Processed: a652971c-7d2e-4d9b-a6a4-d149256f461b,ExtAddr X-Microsoft-Exchange-Diagnostics: 1; VI1PR0502MB3662; 20:g2h1tEvDqSVU8ChoG9pGrpFGlxvx0atJPr8O6Ev487BF9tywxxs9Ng/Z4NvUePYNujQ+a1/pTmr96r/wxnXWweUUTzFMr57lRso6DY0EOpmA7uaxufDXA1Ij2myiUncKj9R0mPso9xUvWmyeCgfTr9a0HjsY2kYS4bvxPi8jfrmKtRf9AlVtgD8uGSf65iW73FwLg/qJxlR+VP/SkHHGZHHuM+P2Epw1sHUhlCWID4il5kNwLuT5lbqZKQBDX0TCTotdv8gcGIss61eJ5HaxaEYgwNkpFKT9Uwfz9O/d5EXoRPYbPnSHky/k1TCJul/xkZmlTa1L0IB7/p+zSOw3WcnvY4giyGfoN0ilybDQtLEMvHaKavqILjwk068sGjwF9v9sHq1fO+7crBNBsEmBcJtbLUFZfjgUwTwyeMyPq6VU3tsFxA0sE7ASJMzLx0slmgFOgMS80E+cBi5nqocRIcAEpYnV7ROFZN2ibT7LhVsu9TNHoBlWUNgiHAl8aLSz; 4:ALVaLXyhSfl2Xk3VuruTrixkLXrbG1xNzV6DsSgwg/CL2TSRT0bGYEBWE7+nP8iGzucDMr5Vc/E37qUQ+h7yD96e0kXRNxZeZ659W/lt2OM8KkuwOzHBbvYNvFU2qEPtz0fToRLMJyFEd9mrQUDpfxiyBLkETghMuPH3rC7K5EbKKzKxwFSh0ZFaBSsXKkvqTXVoj/rJEfYntHfwo3xMszOYtkcweAVHKJ1hJoPETXAJRvOK/ViWyI5a4sjvZtH+2faHRXSE4rt8umZWG5qzPA== X-Exchange-Antispam-Report-Test: UriScan:; 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)(3002001)(93006095)(93001095)(3231020)(10201501046)(100000703101)(100105400095)(6055026)(6041248)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123558100)(20161123555025)(20161123562025)(20161123560025)(20161123564025)(6072148)(201708071742011)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:VI1PR0502MB3662; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:VI1PR0502MB3662; X-Forefront-PRVS: 0476D4AB88 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(6009001)(39860400002)(376002)(346002)(199003)(189002)(16526018)(97736004)(66066001)(47776003)(21086003)(5660300001)(4326008)(50226002)(316002)(53936002)(55016002)(4720700003)(6666003)(16586007)(6916009)(48376002)(36756003)(50466002)(2906002)(7736002)(305945005)(2950100002)(106356001)(101416001)(6116002)(3846002)(69596002)(68736007)(33026002)(81156014)(81166006)(8676002)(105586002)(189998001)(33646002)(107886003)(478600001)(8936002)(5003940100001)(25786009)(86362001)(76176999)(50986999); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR0502MB3662; 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; VI1PR0502MB3662; 23:pphWG6ZbznpAQSetguSbjH0PFrfYv/EMLCWq9Fl?= =?us-ascii?Q?XXdX0j2mPN1uO9ivSwbigqbqBI9l92cknr8HtKo/VXZBiIPjUvqiHA07bseL?= =?us-ascii?Q?JR/HXbpt3XzFQtNAPR8VB1nOGgnp5D0gK+PAb8P86GIb/VN7qx4IX+nAKjys?= =?us-ascii?Q?rMorPwxoMRK3er95W5UbWrg4jvgZxeUq7TDTPcBtKnsWwPanjRs71/GFnJcv?= =?us-ascii?Q?KjJdemRdMHG/YkC3HazGNe3xu8G+25cBRWTsEpieTr+NUGgQuSg9E6MUZt0/?= =?us-ascii?Q?T4k7KIr5te0PQmFmR5BGSs9IszudleKtZJt0qyGJ0Yyu1zVwgpGT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 1; VI1PR0502MB3662; 6:xuWH12DbAhIJSH6thXbOfBtvWAqzPmrxvGoAoVdgaz4zmMRpsy7QvXGlVdOJIc+8RUZunPF2pW0bzZtqjmmI63aErrLNk7BIpZtCPz3j9q3B6tBcLx1goT5718G0+VDffdPmldMyxpavvmBamJjVqQb4eX3EIdnwukYTUfN2Bi0Pk1XFwn9MIERFbBLY+7lDqAOibek4jWqoXTnBoGxK15m6X/Bf1ray20IxskAP9iaPcIkLXeyPa2ET9iCIa/9cUq0jjOahqf1Y5dFpUAD720lfsUQEDffFmTgIN+UZNRSOv8HSnOq+Zt+Wnmr9sMXruOMKtTNBkxOLFxiJljAfG8h0zjT6bsMuEM+KYYo9jKg=; 5:maD2Hw3aq4S2LBJVsLJx1agBfO/Noy8xWAUtFEtILD9yS/jM5UrzTO8VQVvllDf2ZGKjQQ4AzaVQb5U8vwYV1QGAhVU/ffsUDl/SPego/XPqVfHWjmcJ33PJVA1fXT7R9KvfFmTgnoQBRmuIi85mtPVL6yMQ3ZJPAspHKLaWsN8=; 24:APZegKBqfahv2tq+JPS/1uI3rI55ZCFbql/7F3VPscCFJv3mfMN3OtzpHrxSlBWCh4Jx+hUwYl1crPVWWoJ3+SGp1Ln0kkEKnL4a6521i/4=; 7:oe3coIdTFsUpaqkENlYW8UZy6exDue+FNsqdKiWnYEDR9UFdr/qtmAnI5IWSo2/SBO6IBk0YIR4/WgtwQETQ8DgcY19hlPIzznl+h2Vo8vtKfcfD2qMf2QJW1krVUGFfA0yb9eksTRFTWI1YmhUo+hQtBgXwvgQYcL3athbGkjsfy7DxbivNbwM1nmL4RB8wGByQPirrWgoHSrLlD7GsBlyPyNNYb369qh1FHzuLWw13sgd68CN0YCaXhvGLt428 SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 30 Oct 2017 10:07:56.8492 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 22e1a476-3ffb-4dcd-f2e8-08d51f7e1825 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: a652971c-7d2e-4d9b-a6a4-d149256f461b X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0502MB3662 Subject: [dpdk-dev] [PATCH v3 0/7] Tx path improvements 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: Mon, 30 Oct 2017 10:07:59 -0000 v1: This series is a follow-up of the new datapath implementation introduced in RC1. It is dedicated to Tx and improves the performance. v2: Change uint32_t be_lkey to rte_be32_t lkey v3: Rebase to 17.11-rc2. Remove "net/mlx4: save lkey in big-endian format" patch which degrade performance. Merge separate segment cases patches "net/mlx4: improve performance of one Tx segment" and "net/mlx4: separate Tx for multi-segments". "net/mlx4: inline more Tx functions" renamed to "net/mlx4: associate MR to MP in a short function". Leave bytes counter as old version. Add memory barrier improvement patch. Remove empty segment support. Matan Azrad (6): net/mlx4: remove error flows from Tx fast path net/mlx4: merge Tx path functions net/mlx4: remove completion counter in Tx burst net/mlx4: separate Tx segment cases net/mlx4: mitigate Tx path memory barriers net/mlx4: remove empty Tx segment support Ophir Munk (1): net/mlx4: associate MR to MP in a short function drivers/net/mlx4/mlx4.h | 2 + drivers/net/mlx4/mlx4_mr.c | 46 ++++++ drivers/net/mlx4/mlx4_rxtx.c | 361 +++++++++++++++++++++---------------------- drivers/net/mlx4/mlx4_rxtx.h | 33 +++- 4 files changed, 259 insertions(+), 183 deletions(-) -- 1.8.3.1