From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR03-AM5-obe.outbound.protection.outlook.com (mail-eopbgr30087.outbound.protection.outlook.com [40.107.3.87]) by dpdk.org (Postfix) with ESMTP id 1C57B1B630 for ; Thu, 2 Nov 2017 17:43:16 +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=/znZ/FtZdQ7fGWFK6amps9leN4aux5Bev5VBxhErrz0=; b=AGjH9srB5d7nDJQCi2j+6rXQYw2ZqD2I5QYMFwSWevWDtIvfDMJekRKyb1IxZkvDqLqrwFKOp1TRiKq2qqv8sVdp8/DgMvJeqoEz04l0aB7RTRDFiuzQjf27sNZsC54GRYMS568koQTngy9+HLHdRc/S/D0tvOokmBE8OTtwIhw= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=matan@mellanox.com; Received: from mellanox.com (37.142.13.130) by HE1PR0502MB3659.eurprd05.prod.outlook.com (2603:10a6:7:85::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.197.13; Thu, 2 Nov 2017 16:43:13 +0000 From: Matan Azrad To: Adrien Mazarguil Cc: dev@dpdk.org, Ophir Munk Date: Thu, 2 Nov 2017 16:42:43 +0000 Message-Id: <1509640971-8637-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: VI1PR0801CA0068.eurprd08.prod.outlook.com (2603:10a6:800:7d::12) To HE1PR0502MB3659.eurprd05.prod.outlook.com (2603:10a6:7:85::17) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 1ecfe43d-a748-4d9b-5867-08d52210cf72 X-MS-Office365-Filtering-HT: Tenant X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(4534020)(4602075)(4627115)(201703031133081)(201702281549075)(48565401081)(2017052603199); SRVR:HE1PR0502MB3659; X-Microsoft-Exchange-Diagnostics: 1; HE1PR0502MB3659; 3:l/EB40Gph8AmajMahrTBZO7zPgxElS3Ri5Qntk/8NnIoLUTT/IOaPuwQO2WO/usnIcIlTFLYVzPsjPC9/rGCAk03mHasV3Lui9SbZOxHS/qpfNltsHO6KtCQt09W9/PZQFC/o2RxfW7tVu1k2fjbDmRMFpobiZepT6ygV2OiXMZcRUMgNI9WESL/BE+u1wN1V2p5mJEOKvEZ/t80ptQCeKmr2Gt9P/swpOpqGCpB8ygzGsgeMcS8tSyjbQQ87vMA; 25:doQiV/7yq06tCGr0z2V1PrYJVLtKOjT2CMHcQK4MK0nfF07YHqmiytsAXNiV5vCQbpKMEmXA3BXyHLKc16Z8upsmOdmJBnRvx8II4JfRhLTfjr2pHVJ4rGYVwzEwx6PccmH8SgWmLHt+x6Lm+uV7D5BCFcHDZX+NCRtifkq6me5s1LJkX+IRgY1NtNQaFZUelrxEcc0ql7XWV7IhbsRZ0ErBad5QsWYcyL7b/tGE6QEkq8Nv3H9QVwnAAAny/nTeYZmfNbMgcVpLwJHCKorq0wBGiHyr3qLCiIqDf+/KkrAjZWZA9YraS9WEyO3AB6Yfwsia4Gd9GuF0+8OhngPaYQ==; 31:eTIvFHq0ECmDCxxXw3h/fCjOWkT1FSjZcQwnP9bR9fSrfjmsETXYAA3aukrPH/DYfbd3Ql0fHbzi2IT1eK+5kcThg8MSRIai8aR/B4aNdO8+3LOZWEYJe4L8Zb+rYPqUjRcUynWbSsxuas6VHtltS93xWQpWhuP1i/NbwRQmsHv53D/x7YBGdgf8mfnnPRM3836P8HVU62TMrjOGoGQ2gGs3VqNqHhavZH4se6Nlbrg= X-MS-TrafficTypeDiagnostic: HE1PR0502MB3659: X-LD-Processed: a652971c-7d2e-4d9b-a6a4-d149256f461b,ExtAddr X-Microsoft-Exchange-Diagnostics: 1; HE1PR0502MB3659; 20:ZOBJ3MckeaEwGT/ZceKoiZlKT1gGSGdr0LL90+gzbCO1GrtpyDjwK5hvjfvnTxvGXAdCpVQTqUukDnyVDoB3TWTu8pZdsn/NYoyOrwx0jxDnSX8rTYc2XxywrwRE7WLHmY1ozWU581SqfjPR0HmADcIIygK4Mhs6ddNfsr1cTatpZquIHamALQjjHsDLsywoh4nyYWB3Big78ebVgTL1k3Rm1cCuqCQt17SIM8tQxv+kexRXxuzIECE9GIbGIBfZsRO+EA8fQAM08bglVuZ7ADN8+PoGq+J1g3GoAqaLO9RbpiqiKAcs43tR5eCfe7jKpXsfN2c72amvpvUX0ZIP4ZZqgQzTOLC9h3aeEsU/PfDnQnu9rNPpRiHwr3T0vCwba6NtmR/UpLGF8S6Fqtgfl3lSfxf/0ErNhCQNwn7vOz793X0HBlImzOKdd98Xc2rhAynKCXWJ3PQnl4wgIl+9JzJQn5k84n/BrqbYj2+s69usRw/PvsSjeGsMSimIc21E; 4:I8yW5kg9mwL20TMF2CSAcUX4P0grrYWZ6X/TeGSJ2E4aaWvH1KdWGPJCjFLLwfKHqy4bqlLHM7LqCVdYuZ0dQxgXsffBEd3Ql7zap5oDcNmNtWl1C0Yx5EP3M8oJhVzCh5o7bYseBQj9SNu4TlvZ0WH1L73T7tuBxpaxBgd939SRbA+uY386nQdkTFS1546lbjoL4ieItFrKYK+BDLrCUO7E1pREYV4ZlrmkdPUfdr6//66O31VPctS74T5THxwa1bB8A6JGvgfuVIMa3bDPxg== 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)(5005006)(8121501046)(10201501046)(3231020)(93006095)(93001095)(3002001)(100000703101)(100105400095)(6055026)(6041248)(20161123560025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123558100)(20161123555025)(20161123564025)(20161123562025)(6072148)(201708071742011)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:HE1PR0502MB3659; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:HE1PR0502MB3659; X-Forefront-PRVS: 047999FF16 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(6009001)(376002)(346002)(39860400002)(189002)(199003)(16586007)(50226002)(316002)(106356001)(105586002)(101416001)(21086003)(25786009)(8936002)(478600001)(4720700003)(8676002)(81156014)(189998001)(36756003)(33026002)(81166006)(97736004)(4326008)(5003940100001)(2906002)(55016002)(68736007)(33646002)(5660300001)(305945005)(107886003)(7736002)(50466002)(53936002)(48376002)(66066001)(16526018)(2950100002)(6916009)(6666003)(50986999)(47776003)(76176999)(3846002)(86362001)(69596002)(6116002); DIR:OUT; SFP:1101; SCL:1; SRVR:HE1PR0502MB3659; 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; HE1PR0502MB3659; 23:QwdxbkXqvwYsGgKa6hHVa0PgvSB4xsZe3FEzAu2?= =?us-ascii?Q?H4XnnIKXH9w2W052WThc6h+xW2ydSUJnCaQ+D6rXLOUZn42Vi22P1Ea/gsBM?= =?us-ascii?Q?xumqUyc/4/MpXlkphw/rYyqxLc6/2gMcNKbRdGGflFJ41dkJT4U2tfVdYOCj?= =?us-ascii?Q?Wgtg7421jc+sV6nrtlnbXjJSIwgcOrpyeng5K1TaVBtBoa580Wwr+blj50dV?= =?us-ascii?Q?V5dpnAofBV4gIdXSEh19EiE7333x4g0P8W+wUHwemKPRIYMI7MqoYlA+v5b3?= =?us-ascii?Q?YSju0EERzaJc1K0vGekfEDhBNIhR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Xg=3D?= =?us-ascii?Q?=3D?= X-Microsoft-Exchange-Diagnostics: 1; HE1PR0502MB3659; 6:g8f3YM2Y0JSxa6NkQWpgSYltitefvfSLSd1jwudUxbs0YXgE+T1Pk8k3yME/H+7/kmCJRDk3v2ndNaCrSdH2wg2ehtQ7tti5SXRhXluRq2cL2ViP6oKVQXRwF71Qisi/QoApmRSPiB+poCFJ5PB8sAN9z8NtN6DYZ2v+A3Ilmk9+A5igjLt07jfJBpNW98krlpdUaBSFD/a9mNg2PIZYAs+BKIJ08Nyp5RrbYhi0Vj42ysGx2XwkyUPi+Vq8BMrtkoQCDxOOOueMYUqL6rlkmVqV2WQnrxNs90xovG0MJE/FmRClfu9NXmM6B80TsISe4i7S4rxxyxZrw7+E/gWUOu0OSYFAyI9Cm0GBkiNiR7E=; 5:CdvLBuqvuUY1iUSMTsf25RRxkWIilkHrl7K8OZZg1SsIL0bbdhYpHLAxiNz7d6DrNYSLtaX86Qj20z6/Z5PcZPtahpWQmg7bjygW/VgGU/Eh6sPr81LWGTyco9QtVjgVw4Fn8YS4EixvVygikxn8/jzM+9CJzI1D0VpIxxIk6Ec=; 24:MMOX+tH8UvtAiKl1XL6zAy+sMBx8FfkwNWkAzWQ9/VgfFuS/QPSAEQqFmNcPMbZyvpK77JZPM80zgj0jLKkS4UG84MLPMLr37dK8ccINDac=; 7:aJW3dE99bgwdnszR8AscGccK8B6oHvkSGZghAaZq2AukkVrJxgl8OxZtq0XiIOqAgY1YfW06XaNzmniX0U9Njpc1WWJVFlpEMCZlHDIlydlJ3xaxtcGOEDc32D/Jq60mF0aAZ4qz4zIScbr2k8xnaHlSqSAuTjCLaUiFhujks0W27OiDcxCor027be9Q7Io6N9GDVcADZiHp2AMSnp74Fc8ImEOM02c5VKCouA7lrT0HAGFscDMEu+ydlPTUVvFf SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 02 Nov 2017 16:43:13.0335 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 1ecfe43d-a748-4d9b-5867-08d52210cf72 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: a652971c-7d2e-4d9b-a6a4-d149256f461b X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR0502MB3659 Subject: [dpdk-dev] [PATCH v5 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: Thu, 02 Nov 2017 16:43:16 -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" v5: Fix compilation issue in debug mode for patch "net/mlx4: associate MR to MP in a short function". Add missing includes in "net/mlx4: associate MR to MP in a short function". Add cq_uar as volatile too in "net/mlx4: fix HW memory optimizations careless". Fix indentation issues in "net/mlx4: separate Tx segment cases". 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 | 50 ++++++ drivers/net/mlx4/mlx4_prm.h | 20 +-- drivers/net/mlx4/mlx4_rxtx.c | 397 +++++++++++++++++++++---------------------- drivers/net/mlx4/mlx4_rxtx.h | 31 +++- 5 files changed, 285 insertions(+), 215 deletions(-) -- 1.8.3.1