From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR01-HE1-obe.outbound.protection.outlook.com (mail-he1eur01on0084.outbound.protection.outlook.com [104.47.0.84]) by dpdk.org (Postfix) with ESMTP id 30FAC1B2FF for ; Tue, 3 Oct 2017 12:49:23 +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=v2Iu+o3Z7iALHmfEzYZv3H+ewHE6JuHDbb2r4we/ejE=; b=SoPSY/yXmc6670Prrc2KoJSWiMoICkvwlyMt/Lk0Jv6HArYVT6Vyjb9vrxNFMolUUY45P8yL8a7O93I1misQQyx4tR9urkYIxhI490Qd33jR4RQqk472TrsHAFiPj9LN/+kWBIU5UPWLbn4EkGbaFUrV7Tn9f4vqX8LZWxwWnFQ= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=matan@mellanox.com; Received: from mellanox.com (37.142.13.130) by AM5PR0502MB3042.eurprd05.prod.outlook.com (2603:10a6:203:a1::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.77.7; Tue, 3 Oct 2017 10:49:21 +0000 From: Matan Azrad To: Adrien Mazarguil Cc: dev@dpdk.org, Moti Haimovsky Date: Tue, 3 Oct 2017 10:48:25 +0000 Message-Id: <1507027711-879-1-git-send-email-matan@mellanox.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1503590050-196143-1-git-send-email-motih@mellanox.com> References: <1503590050-196143-1-git-send-email-motih@mellanox.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [37.142.13.130] X-ClientProxiedBy: HE1PR09CA0085.eurprd09.prod.outlook.com (2603:10a6:7:3d::29) To AM5PR0502MB3042.eurprd05.prod.outlook.com (2603:10a6:203:a1::18) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 40c263b1-8656-436e-2df9-08d50a4c67d4 X-MS-Office365-Filtering-HT: Tenant X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(2017030254152)(48565401081)(2017052603199)(201703131423075)(201703031133081)(201702281549075); SRVR:AM5PR0502MB3042; X-Microsoft-Exchange-Diagnostics: 1; AM5PR0502MB3042; 3:+dl0uIk+SntEXJBST1GpztHo4Gm4R0Q8SIUA21lymaUtdKpo1ahexMFelFXSc7Gw1wrCfwINf7WHpOFPuq8lx1rVTO8ilE+8Q+acJLX3IIFdHAuyRWLlvmjFp2n2AMSN463DxLqGhkvulFBpBQGWYZPiGk+gXxsKkrgHATPMloJpm20+KaG4PQZEtbLhiq8u1QpvQOsptPOSNSXz0b4bKV5MdRPY8E3Ibb7LsVGZ48h4gmc+u3cQMj9/Zf39f45C; 25:5YUOK89asaXXAOO5Q/FBY3if11CuY9ffFCiSTLtW0hcs1Vs02nfe7h72d5hl+pj4HqX/I3Z14Ck01pbpsQPJ8cmLDmrxNAe1ZtHAwioErlmqGN4wJDDyTg+/sBv/nuC/AITzITMkWUGWX3jBNjZI0EoStIw3Q5hyM3qNe5a0O3jgHfPeLUrtzBNoO2d+/nO2euXRzqfXP0Rotqfcso4RvJvXS1A2t8PvdFeyeJYbufmoylm20dSaVdVZaHWR5xECDD0SN7MxWgP+J+vjVIojVMAUWdLQ8PrrXvrwrDJ5OtGRnZHTUHxUcQGjXWQLKJbkURpFXOIqNGgqGuHYKYwVsg==; 31:aVDd2OyuO3MuReIKHNBLAEM23byYnPfxPo1HcNuHwedjWlWGNKGNbbUVCIxOG46T+dgob15M5ZHJL3ODVSVvruACQgQVNOdM+tqOfRxXFvAJpOLs4bl/v1YyIYAoIPFOVyfG+CXezLz5KpmOSD8vIXFxipgeDSwUhab802GhxGl8fAmv7ZxAl50ZgIthrNTi4rDxG0u3cqItr2SaTupe+lV9DbkW42mMUu92E8xlR7w= X-MS-TrafficTypeDiagnostic: AM5PR0502MB3042: X-LD-Processed: a652971c-7d2e-4d9b-a6a4-d149256f461b,ExtAddr X-Microsoft-Exchange-Diagnostics: 1; AM5PR0502MB3042; 20:7yiuhgpHFa2y1sf3WGE3Eg08ODp1OkZm794rBUqJWjMV0HJd6N9OufEiEsO26mDxcAUHZBFAC/XVR5TnkZ1RtnbsA7wyCjkz3J8IjS4FQr8cm4x6bbwuL4Kk736GN8Sdo86VuN9lJmUTdKhRAi/VlxlBVU6SIopmqX/24xcyFyG1zTkITpAYU6KYEeWXauV7bRD6zOsp6iQGAyEi3pHtKvNqLhemkBeeiGXFWVD+upc2Q2VAkeBpY0eiQD+ZrDGYZkQPy3Ok1M60JzpxOcSkk2N+zMVBiwpyYZcMAFDn7l1392QNV8WYszLzthX9M2ryrVZngMd6yhOBgGPf0tEnVfD8f4C/E5+RUxRasa63qLQ6MgEgw15hBzstv8D5CqeS9EbO6AN0ZRQ1W2nP7wIwWmb/PgJDH9gdCWyaPEy4qd6lBGWl3sKFI0iEhLpgDZ6gibDu86XRAoZri88/ZRy1WrrEzYs2dtKDcQA+PoG/3AGhWIqGXnKkpKrn6f6yygxk; 4:5D/Zlxg1IrmdDox30i4tRT9t4BMyPNzEU8WkzpGXrL3HJknW+bselBIqw5FF3qbQMtZeiAqGpq7yrv/bxX7bPkKDYdZnjmYvPtEtLe5XgpxeGdYMxXvbPp0lBytHyu3cLCU2DuMWlymjYHJvmXytr+eo9VGy0MolQKXehZYLnJhbwbUm2pALYLOmJSGeGUSRVj0Vk2WpG2h/ydtsgcuvPTOV6H8YOJDEVvV+Rmu3jZ+ZHFUWicqhaPk/sur9Fx5tqof5LT2SIdRom8ZfWjWYAY2Wj12OriqnsweEcWMZPd8= X-Exchange-Antispam-Report-Test: UriScan:(66839620246622); 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)(10201501046)(3002001)(100000703101)(100105400095)(6055026)(2002001)(6041248)(20161123560025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123555025)(20161123558100)(20161123562025)(20161123564025)(6072148)(201708071742011)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:AM5PR0502MB3042; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:AM5PR0502MB3042; X-Forefront-PRVS: 044968D9E1 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(6009001)(376002)(346002)(189002)(199003)(33646002)(107886003)(5660300001)(55016002)(105586002)(47776003)(3846002)(53936002)(2906002)(66066001)(50986999)(76176999)(16586007)(86362001)(316002)(101416001)(81156014)(305945005)(8936002)(81166006)(8676002)(33026002)(50226002)(7736002)(16526017)(97736004)(48376002)(69596002)(25786009)(478600001)(50466002)(6116002)(4326008)(106356001)(5003940100001)(36756003)(6916009)(4720700003)(21086003)(2950100002)(68736007)(189998001)(50929005); DIR:OUT; SFP:1101; SCL:1; SRVR:AM5PR0502MB3042; 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; AM5PR0502MB3042; 23:jBKFt6nqw9HBEI+IpPjTlO3M0HmxA7xP+8EXVUk?= =?us-ascii?Q?qqYNEzblMUaIECs6zhEGMHHW/O6R/9xaxBzjfdMtNskcgSFlWwEWV/pBD1GN?= =?us-ascii?Q?m1CCyjh/W+BxJ5yEbnGRhlrvxX+UwRBMXSthzD3yLCY6LVCGBctCi1gpMjgK?= =?us-ascii?Q?/wi/BMzyUlBDI2Uyz7X7M3bplQaI5SgLbxTksWiBQB6dVJVSQ2ejfghh0Wmm?= =?us-ascii?Q?EoObWugi7KsYwQIChWq44Yrj5ydQPy6DJUSyYCZcRYqBR9RXB0irq7vLxJy6?=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soft-Exchange-Diagnostics: 1; AM5PR0502MB3042; 6:wdWrSP/OhkTGJ1utbG2HVOGNuM2SdVdZGRO3n1YF42L/FYPflvMVigBeGsx+3Db95NCx46FRO5rVWJq6JuRDMNvXAFDUiqrddCVuW7VD9NUezZ9S8DyF50t8TV6KMWJhFf7lBHWDlWQ9awsW/R4oa1j0vFnig8uQ2xZtUJXXa1aOXF6wC5gE0ZFXxY90BKkDYPU34OWmW6UZWYx3V7cUJj/iqHp3QKU+ma89eG6gb1Z05RPZVWLQu5506Pxd6/NwXBcXOWfvoeePc6N48aGeOJATwWPQ/5yTLHR4hoY47jbqA0V1Y6B6XPWOtPULSFe8S+xpptJW5Ye2qMEAcjS52g==; 5:F7nC59hI19qLTBjj2kO+8QBgno1z9Q00SfN1gKkhw+0yurAzrZT6ChHRvt2cbJxCHHp49SiLcaLp9voIVfPk96ez/mdN83ulZfYeeeUsNu18JHuD6vPs7TLOudmVZWHnpJuCZqemt4VWSI90gdAJpsV5KXQPp/1RjCVdi9Ehjd4=; 24:NIaRrr2yzFhNxtxJfHXnSG+mpwF0B4KSSP2lk5RcyTUPp0Cbu+6ul+tmt09A6nSX8fIMEbfs3roxXFeiwcOhmUq92vywz3WFnd/7JshoSMQ=; 7:CEI5685cH4GA3kUtc0PAZ3StmvwxtakLh8gY+hbxCs6M7wn/f4szw5wTvo6ndesNWy8vRSFqmWB04pBtR/oAaGnl5so7YvS8p1ptYaDqCqGRLUP6cVIRG4IqVk0P6O0TweAU+8pyKKJpu7VTjwr7W2SB9FWA2ZRVGcIY5U6ZVFUD4SJmzsdhWTVQMgCXGC+n0Hi+wfTGHs7vjJefimIoIxPbYf/WcagxDPDzOIuc2nI= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 03 Oct 2017 10:49:21.0419 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: a652971c-7d2e-4d9b-a6a4-d149256f461b X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM5PR0502MB3042 Subject: [dpdk-dev] [PATCH v2 0/6] new mlx4 datapath bypassing ibverbs 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, 03 Oct 2017 10:49:23 -0000 v2: Rearange patches. Semantics. Enhancements. Fix compilation issues. Moti Haimovsky (6): net/mlx4: add simple Tx bypassing ibverbs net/mlx4: get back Rx flow functionality net/mlx4: support multi-segments Tx net/mlx4: get back Tx checksum offloads net/mlx4: get back Rx checksum offloads net/mlx4: add loopback Tx from VF drivers/net/mlx4/mlx4.c | 11 + drivers/net/mlx4/mlx4.h | 13 +- drivers/net/mlx4/mlx4_ethdev.c | 10 + drivers/net/mlx4/mlx4_prm.h | 129 +++++++ drivers/net/mlx4/mlx4_rxq.c | 181 ++++++---- drivers/net/mlx4/mlx4_rxtx.c | 787 ++++++++++++++++++++++++++++++----------- drivers/net/mlx4/mlx4_rxtx.h | 61 ++-- drivers/net/mlx4/mlx4_txq.c | 104 +++++- drivers/net/mlx4/mlx4_utils.h | 20 ++ mk/rte.app.mk | 2 +- 10 files changed, 989 insertions(+), 329 deletions(-) create mode 100644 drivers/net/mlx4/mlx4_prm.h -- 1.8.3.1