From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR01-HE1-obe.outbound.protection.outlook.com (mail-he1eur01on0065.outbound.protection.outlook.com [104.47.0.65]) by dpdk.org (Postfix) with ESMTP id 5EF561B25C for ; Tue, 31 Oct 2017 19:21:55 +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=yPP5dIWTht/P3HSNCH1y8mwvH3cipNBPGB4wyOCDl+A=; b=uWUSNeNMjznJXEllBqXb80DQvN8AUTOxf4pB9Ngshz2gW8k095RBARVMjrM2QzqPmfr5bUkJg7d1iYkbuX8R9hnVgMmshV+Vm3YNztBs9T4MoLE7vS1IUfdX3bSqX1ftJwmxPbvJCqF0jQXPL5MKJBr8RNx8L8N2vyyJugsoKRs= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=matan@mellanox.com; Received: from mellanox.com (37.142.13.130) by VI1PR0502MB3664.eurprd05.prod.outlook.com (2603:10a6:803:f::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.178.6; Tue, 31 Oct 2017 18:21:52 +0000 From: Matan Azrad To: Adrien Mazarguil Cc: dev@dpdk.org, Ophir Munk Date: Tue, 31 Oct 2017 18:21:25 +0000 Message-Id: <1509474093-31388-1-git-send-email-matan@mellanox.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1509358049-18854-1-git-send-email-matan@mellanox.com> References: <1509358049-18854-1-git-send-email-matan@mellanox.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [37.142.13.130] X-ClientProxiedBy: VI1PR0801CA0074.eurprd08.prod.outlook.com (2603:10a6:800:7d::18) To VI1PR0502MB3664.eurprd05.prod.outlook.com (2603:10a6:803:f::23) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: a9ba947d-ef0e-4c03-912b-08d5208c42bd X-MS-Office365-Filtering-HT: Tenant X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(48565401081)(4534020)(4602075)(2017052603199); SRVR:VI1PR0502MB3664; X-Microsoft-Exchange-Diagnostics: 1; VI1PR0502MB3664; 3:eZEv5d2bg2MIcf2AjTO7f4E1ImcNMYU90JM6Dqx3cPO3EoAmIcRrPFQhYVnlc9aUEdjmXAu48w1ZxvQfr2IEX6ApPAcsYXzJg2/6grHxhpUAJPuIwiCwxCM7WXT4tDcakbtpKdpnzarPR68mgUMzPmrOtKHUSSvf+ZCeV59avb98SF7NPlKK536DB7EkD/DlJu61zUqH3kQHwp692oXUROQndewkRSD+wpi++nDJtOzGYXKyY8dIBd4exF2Kgvgf; 25:uyZVyyfrZJhVcbtMdSsLfeXtWmiF9S0pDJqc2lkAKAzxQq1ipb/Oi/Lve+X1SCRUrzHP/mrYmhH7oIZYaqLWLIUZYOHX1Zj0lkmWtgLqfqz9TGXL2rAQk8MWn9pnT9r/vGIWs4t1bGr0hQ2n/S18tGrbXVh9FVZRVUKDIS7iK3mPQbxscBzyadX2Jjp8AoGpFes0OL8ZQsilJ0B0BpReXH2Nmx8gzHV2PeDgBvLfHGNBwQROxxOcsdHQcynF186JznhBYIGvGv8mO1J6hEFbRfdH1B5bzVsRKsHOyqMpvzMZzKVuL0w1SMDEvlN8CTm7F+dkFnuib3Yyk3CbgeL+4g==; 31:d34Vzv6s9AdJcbEP9N7fCaNHnYBLLYOVLUNBQDOR6MH4UicjJduPbfpCfbqkfK3UYTOjE6rW3QTmqaJChEXTbLdyKW+1qT2WF949/htPcl4dRaDRSk7vQi6CB+T2VnXQiaF3XJ6hJK/TE8kftYYRy44RyxBZhawEuGmYjZtCj/97gLaAcALtodrkTYFta8InOJQpOw7Xoly1e2FpM1LoVbg+2AQW8LSwcjL9x+YgG30= X-MS-TrafficTypeDiagnostic: VI1PR0502MB3664: X-LD-Processed: a652971c-7d2e-4d9b-a6a4-d149256f461b,ExtAddr X-Microsoft-Exchange-Diagnostics: 1; VI1PR0502MB3664; 20:OoDOo1g9xVQhW34MhpxgjYzfgbJyds/W4h/no0wXAMltYBUUn4Ln6qktsJM6GhFK8rlp5aid/S9WZTleCT31WX+IKaIiSTRqF2waVt5/I2hu3HHdFBJhnm3J5CvSe5qIpeeVqdD2J2+Wm76z2u2VRFw/fsK+nx7H4VnwEimLkaN2ZqG37KsBWH0m49KvLUZqrS669eQC48CXO8NtFfSjnID77k00XVcRdiBKIW/mhMecdpIJzhYSUWKbPcvg4ZMwGWZt16espHMPeKNRAr+RAlW073jn9lL52ZOOgg+NF6LvPEvfrMBhD9Mr7DDGtDmViy24lUfN5KZPu6PPHylL8mTXRaebisSTTq9Hc0wgTYLOQK6zCdMuZNo0ooac0D8l/1cCNEzd4xsq/oZjZm6LiCoT1bsGGqL5j5E+kvOkKoCc5tZSFk8d5eLSXGcJM5S8aY21CnEZj4oljaKyRcqXPnifP6DrZe7bLpsVjc3TQNa7MlXN1s0/UiIRh4aniJtK; 4:TWyPZZzMAcBWEap+UUmUNp6KLhSp93ueiJz9UX9PSZJgy5PdthCMbRDkoWniErKSjmqvzVInwwoI3dzv9wQ+fOX4pGg3ZA60IYvf0qnooF9tKDdc3GgKV/RxYEZTLnfTpb5DzB1LYlr4iS0wgo5wfVRd9AIAkKNhcw7cTRgVIUgeLZxI4EWVJBZO+99QFAYGUdmyetPuBUPfT9Iur61V+x60o8OjU+rwV49OrX8hF//l58B6NM3mfokYg4fGEMzfVSyvaax3kAnFwL00/RmF+Q== 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)(20161123555025)(20161123558100)(20161123564025)(20161123560025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123562025)(6072148)(201708071742011)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:VI1PR0502MB3664; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:VI1PR0502MB3664; X-Forefront-PRVS: 04772EA191 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(6009001)(346002)(39860400002)(376002)(189002)(199003)(50466002)(97736004)(66066001)(478600001)(189998001)(36756003)(33026002)(25786009)(7736002)(316002)(107886003)(16586007)(4326008)(86362001)(50226002)(53936002)(16526018)(101416001)(106356001)(5660300001)(2906002)(5003940100001)(69596002)(47776003)(6116002)(3846002)(68736007)(105586002)(81156014)(8936002)(81166006)(21086003)(305945005)(55016002)(4720700003)(2950100002)(76176999)(50986999)(6916009)(6666003)(48376002)(8676002)(33646002); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR0502MB3664; H:mellanox.com; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A: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; VI1PR0502MB3664; 23:wJmr2SNo+WiMcX24bPRp8i0lLvI/r7ZJwqqNPYH?= =?us-ascii?Q?S5+Z0CE0gVkwrFlzcgA+2T4oihr/M0HdeOTGn5/12PuS17MhYc82y1pCqx6e?= =?us-ascii?Q?Bhypax5/ZqVOeVyFPdyvq9AwFPNqxGKDecO5qCf0mREuGuzVFK79AZGxZGvM?= =?us-ascii?Q?+7OeBgQuEJZ18YxGlr6MfSdRLtjEqbWGul2Ugt1k/e/7wtU+2neYg1aKXvh4?= =?us-ascii?Q?cJZFS4Mpp+8e6hQ9WM6pDToOwFDs0M+XU4Zs6qOijNOnh0Sq2NIGI13xomrU?= =?us-ascii?Q?OfdUh265Gf6IcQ1xEPpThDfW2ngFQqmdt/grvZSXd2MlS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exchange-Diagnostics: 1; VI1PR0502MB3664; 6:hcVXJ+5AmPObfCasOZNKNA2IDK6dovtCJOz+AU6cvkt58fbE+T2dQMHa9/7RLFl6BPfx5Rl22QCmQNPNEwt2fecRbMrxv7FFBRe7zyfTvpkChM4Hai4yg/iPQBObf1nA03SWAIpd2RIh8VqaGQLbm1uOssZmlzPUR9ZsuSxhZrJFYw4tDmxSuw9u4k+ZTRbPTe97XlnU07oAtgoyWOCMNIV7GCTMGYTbu0yPS7dgbN7nJ0nX3QK7rOkO+mcwpgNlt6uKXodeWGm4eAnVV8TUFzOPyYjkxzyfQ/6px0CaTo9mmwvXruCeheGUBrHgzIEGE8ZCM0wLzUSQEaHsEP7eAxcbcFf5/NrjzF2wE4mKSFg=; 5:D8GfuQcMlFC5nY8gAhxuHrLeHOOMY0RkvY3BYEN9aHjeKk7JaGQE3vuaktwYaLFWV6IXxdwY5LlMD41uPRp+zsp6U7SdYdqV1T65spxcpcSnYTk96Awz9v0j6uvQL0JCYqam3HIOwLw4h+3KjBiquY7ZjneSMF3laEDhka6iM2g=; 24:YbX0t/eHwp0lPlHRT0464va7Qgnet9n0q9LY9dfRTg1p7OEvG1gFfYV4PoIpHNcXXaDKVwcvaCvFRievp3/XIGzetMFck3J3jyr0NMKwGyE=; 7:Sr27UnGFh8tI19nY/s9J2FuRZT8d2gUHlpR6Ow4dxdLrslL/ciQkP+hvAgzgulpWoDBaUGKEDPiust6Jcf43sL+ZQoXuJ4TZPoCrdKg3XQ3o4ygpZhQm+0LotxLkMKvIJt+VMQ5ph5JRB2gzU7DAGyGB2kJ5YIsRa2NmifMMOUvymXDniR46duvURp7irP8SDcWVRxKuCTu2jwctv4SUCHMSw+2P9jzg7h2e0lLpkn88S31xCsqRR7HgMSc2NB9n SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 31 Oct 2017 18:21:52.4241 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: a9ba947d-ef0e-4c03-912b-08d5208c42bd X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: a652971c-7d2e-4d9b-a6a4-d149256f461b X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0502MB3664 Subject: [dpdk-dev] [PATCH v4 0/8] net/mlx4: 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: Tue, 31 Oct 2017 18:21:55 -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. v4: Remove "net/mlx4: remove empty Tx segment support" patch. Add "fix ring wraparound compiler hint" patch. Add "fix HW memory optimizations careless" patch. Remove unnecessary IO memory barrier in completion function. Remove inline declaration of completion function. Fix unnecessary empty lines. Fix indetations. Move max=0 check removal to patch "remove duplicate handling in Tx burst" and rename the patch. Add performace improvement in patch "mitigate Tx path memory barriers" Matan Azrad (7): net/mlx4: remove error flows from Tx fast path net/mlx4: fix ring wraparound compiler hint net/mlx4: merge Tx path functions net/mlx4: remove duplicate handling in Tx burst net/mlx4: separate Tx segment cases net/mlx4: fix HW memory optimizations careless net/mlx4: mitigate Tx path memory barriers 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 | 47 +++++ drivers/net/mlx4/mlx4_prm.h | 18 +- drivers/net/mlx4/mlx4_rxtx.c | 397 +++++++++++++++++++++---------------------- drivers/net/mlx4/mlx4_rxtx.h | 31 +++- 5 files changed, 281 insertions(+), 214 deletions(-) -- 1.8.3.1