From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR01-VE1-obe.outbound.protection.outlook.com (mail-ve1eur01on0057.outbound.protection.outlook.com [104.47.1.57]) by dpdk.org (Postfix) with ESMTP id A9E8B8DAC for ; Fri, 27 Apr 2018 18:10:02 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=eXiJttyQc8hCZRwk3Bvfq05EIRlAxBuZACutyEr/9nQ=; b=L3AoSlk2Ry7Vot12O3tjNYwyY4bJ6gtTcfWKVN0fLE00oFI8pTgbgJ1TwJNbWTgIxY8nGMLES8PFMS73orfsuOUSDmJH9pHMTlFsBvi9ZXpmJAfgYiUCCXGZRcARpHPUYj9t+Yl8Te7+JvliQEKpa7K7v66qf6PyXmjlYPNN6mo= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=shreyansh.jain@nxp.com; Received: from Tophie.ap.freescale.net (14.142.187.166) by DB6PR0402MB2774.eurprd04.prod.outlook.com (2603:10a6:4:96::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.696.15; Fri, 27 Apr 2018 16:09:57 +0000 From: Shreyansh Jain To: thomas@monjalon.net, dev@dpdk.org Cc: hemant.agrawal@nxp.com, akhil.goyal@nxp.com, anatoly.burakov@intel.com, Shreyansh Jain Date: Fri, 27 Apr 2018 21:55:53 +0530 Message-Id: <20180427162556.22781-1-shreyansh.jain@nxp.com> X-Mailer: git-send-email 2.14.1 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [14.142.187.166] X-ClientProxiedBy: OSAPR01CA0035.jpnprd01.prod.outlook.com (2603:1096:603:14::23) To DB6PR0402MB2774.eurprd04.prod.outlook.com (2603:10a6:4:96::11) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(48565401081)(5600026)(4534165)(7168020)(4627221)(201703031133081)(201702281549075)(2017052603328)(7153060)(7193020); SRVR:DB6PR0402MB2774; X-Microsoft-Exchange-Diagnostics: 1; DB6PR0402MB2774; 3:YC91LmqgGWuTFCHz9kYiNoKkD/fYTRITf+JeMnMvq9qJPDMa8KQUI5o16RK/XiztAZMJ4GLvxfWaKOwAPvRw9V/gOzVqtZzPA4f3pX0yihaL0fbz8jPDIeYs4Ampcq6dSiscBrTHz4NDgl0Bj5aCWISD4FBwwosmxXvGLpi24qPcGWohTTgf5gKIVXWmzp5p1MyWZh740sOJoLL0TX2GBr3Sm/OlpUu5hxfNo66yWgSItiEZsztuvAunPR0UAOV2; 25:KYUAt3XPcix+EdOhxTbf3GCHP6YLCuXJxHPkOfrSecvjhHxN3TttC8StjsEU8fT+2okzlmaYn3CF8z1TBTLYzzXOVWK3wkWnzDPx+qV/m4Bm6z743cuh1eaXfMc0ssXc/6139z48UuopzB36796ZSE0JaBlxHHqMwaKDwo28aAP8YrjfTzAt79Caykdhma8/QhXdH5RPrJ76JxnlmLPKbBKH+oFsk7NfZ8b9IZKAm3pN6OKScMmLWocW1Sane1BW9PTJ+6G7x5Ri0YBX3byz8pbA27w0f1yHbIxVPmVezmUK/cu1gxkNntOQhUSCZtq8JzV+DqU3novlTiMLFJNpZg==; 31:Pas2zsZC8txv0nmAa2b/yqsi3EI9U+gktY3wOLpNjf33rSeluvZ+gME2f6yOmKV0LCq9tMFTCm45WbhqVwFBiKc7ut5P6KFvs1fcW0+C3QVPHYCteT8vYQgpk1LeG9x+BS/Cb4HImEbydYaU3bd/1jWNtTdpSm24zQY0nDkKOtf0eGkBicettDqBGThR1NLfK8SIpHxzw8w8xAhTEvQNzg7nZm4iuXfvcHTaBM9+/RY= X-MS-TrafficTypeDiagnostic: DB6PR0402MB2774: X-Microsoft-Exchange-Diagnostics: 1; DB6PR0402MB2774; 20:IAbZHjd8bSbs0cakRtqVZaBKTiEb1FiIB2pKDk6SyZg8QQ6AjVfxocMkkFj266qJPqVscxHqUZDfq/QERMA3OgVTUue7nJQp8SUj3pTnQoU7iorRHGXaxZt4oUeQut2ryhvdiVe+Mg3VYWXsBEQSgE2XHFxmPHkTZ1RAKrMk4EfMr4TUnvftE4XpCqcLLWmDlmPNi00DWv66z8lAx2fnLL5t0EIRDng1YhZmlX09sLRSKwi296XfepjK8sACjHsn38FgXicVNkc07Cu/AfAu07iHb94SjyMDC68nQxuHcXY/c64nZGU8lcB2SLG9GJwqlQJSztbhbM26pbz8Axld5TuoR0vJkV08SlDMqCjHsS/C86B5DZYmjom/G9+DmTffURS1fCWGNHHltM4xYpv7mbyp9t32HKaY/e1gIIqwx7D4eB+CDUEy3semAqaMr+ADnykBLqyyMIO6YnmuL+dUp/+sdIXZ4WkRVsF5Tyr4vJwCFnz3/G2o0V37rVF/wBs2; 4:4pNokg69H3zZrFBJLkKtcZ2Zz59EyrTujbV1Pms8j5mKgO2s/FJbrlojnJuDWTLvjmVOR1LcobJn6LkPWgsqdqu1i6PyCBuC+IPpCe3sTUHwHD+keSI1Sg6extGhunizARCJbhc/bKN1Yg7oB08gnvwJpTNm3yIwOEbOiieAki2Y/kqp4FurXaOudyJbmi8MA+A79f8Z/MFd/4vfUpsyYWmQXGrxP708gnqJtEGp1N53hK/5e0qZXrQ/hSgy54tplu19HHOfiJ3Tx/woxx6sQfsoaQzLFN1ijK8oKuoq3C2G4y6LerwxZj4ZCbGnzsBV X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(275809806118684); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(5005006)(8121501046)(3002001)(10201501046)(3231232)(944501410)(52105095)(93006095)(93001095)(6055026)(6041310)(20161123562045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123564045)(20161123560045)(20161123558120)(6072148)(201708071742011); SRVR:DB6PR0402MB2774; BCL:0; PCL:0; RULEID:; SRVR:DB6PR0402MB2774; X-Forefront-PRVS: 0655F9F006 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(39860400002)(346002)(366004)(39380400002)(376002)(396003)(189003)(199004)(36756003)(68736007)(478600001)(8676002)(3846002)(5009440100003)(52116002)(8936002)(51416003)(6116002)(16586007)(81166006)(1076002)(105586002)(2906002)(5660300001)(81156014)(106356001)(50226002)(48376002)(50466002)(305945005)(25786009)(6512007)(6486002)(7736002)(316002)(6666003)(2616005)(16526019)(186003)(55236004)(44832011)(26005)(53936002)(486006)(386003)(476003)(956004)(97736004)(66066001)(86362001)(6506007)(4326008)(47776003)(110426005); DIR:OUT; SFP:1101; SCL:1; SRVR:DB6PR0402MB2774; H:Tophie.ap.freescale.net; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; Received-SPF: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; DB6PR0402MB2774; 23:6GqyrWAhEMWBCmHlrRcETsnjXW/8nRowDvZf+L7?= =?us-ascii?Q?HAi8U/YxKOF1tiKaPEeavAbK+iZ70gp4OEMRdEYc0U6yOysWaq3oF/y4CYUX?= =?us-ascii?Q?BBu9LfYIGY6V8mwp5ffqkqRITKnAzQuJP7A9JXeRAx9HQZdWo8oiDAJERLqG?= =?us-ascii?Q?O9L6ocJZAeUgNITvze4p2zS6lCEfoW2R27DuOvw3CuEF8hEpcfzGJfH287wL?= =?us-ascii?Q?Q/ScHa8HG9RA93rAkg9XwMtPCrMjiXn1/mfvyL5BnSjTc1baPbvvUlTdXqqw?= =?us-ascii?Q?3421tsmXWDEuFB17L+1A3r2BH4tJPlEIBhvKLoU1paUNGjWVzyJ3VrSYYn2M?= =?us-ascii?Q?pv6yHYaJ57jJbvaH6qr6Xq5iFgHifPXUMlcPwZOTkiC1PWZmXXd7eyAqkUVj?= =?us-ascii?Q?0EAxrgvEDRq24FQrPDBfYGxGdYaWImqEp2jjU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tGbC3FqP7mQvN6awSOEdi317aPCN1F1Ed0bmsjm1kFGDXuOkcJqf7FcSMcZbHuol1yUiRag8L727oXWT9f8SoGO0ePexrC7OyNLCJrVT81Oz5/j0kBzMBPIQppYhmKTI0yC2tCzG X-Microsoft-Exchange-Diagnostics: 1; DB6PR0402MB2774; 6:VyZ/l9xVTaQv1B9CYDorUYs1YGm4MP3w8hfw82oJHsGxsMhtP9zq/KK0ZkJGs4R8bAHYDZU38qk+2XkyGSIkTnfq4UAV/MJFuk5zqwcSLLKKxrk4WIZrig3Xv73XdyTMy8C3fJwPVSyj8rxsqPEdC4BvEfI/xH3N7Z17pT8m2H2BwYsbQG02ArXc2QF6lVTKxi2mYebiprQobupvjB5E9IrWLHv4rGX/E6PhsgR3F3Tb+a6645/hMUM7gbSCMbOF+l+M83mt3HERxm5GXFqltPk6MaSlSKVo03bKs7x3pwNE8aucTlmuUU/9J4svAGBYLi+IDBXUiCWY84P1cv8XVeN01oEspKmUz9LQ27ZGqfuG2iWI+kFJZdcNgubJb3r8sjMkhvOEWxPqq2ngj2uBQk5mHJkhY1kWtGVUrmMnwu/HxaJCbGbPcU7M0jlN0hewzy6yp6Bk0uluAGAaraSA1A==; 5:oscneSnKWUCISazFqreLzVviIax77kL+SuTtl8L7HfDN5rxbG9kQfEyLdFbKNGJt6sBacjG9kDQdY2Brnnsb8FWCVn/1wJiXUTiz15cRGMd+7O1bmg96vNLF88WJr3CgC24zmie1GhZQT2mzwiR9tnrM79rCqmj0GePAi2W/4mo=; 24:OufvZU7PuhrxX387LWE8LYyLM47uNJsVJq+K+tEabOOgWGdUiedvwJGkB21IExt6Baj8WO5uZHEA8y/9QBISMQ4vgm/TlfH5fu8lS0iZR6o= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; DB6PR0402MB2774; 7:TeDZsQBMSrrHqZq3pmH01Y7agixTfeqomXbxuKAOi7owhvVdrryQpER7w5jLiD2tqxCefBtIJ6zLTswDXptqOoUwJMsqX65m5/5sIok+bPgOlJMGDSa6n4gjkGTLediZf3RIbKEyX9CcrpAzq34ESULNUzwji19X1h8aCqZU3THU1xROnJlS8/OtOXjI7k5i3jPqupdn0/ENwGfog0885R67Wz8Fnga02QjK6e0adFaQpW2W9UQHhL7LlHZf7Krg X-MS-Office365-Filtering-Correlation-Id: 403da148-4dbd-446d-7d48-08d5ac595485 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Apr 2018 16:09:57.8831 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 403da148-4dbd-446d-7d48-08d5ac595485 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB6PR0402MB2774 Subject: [dpdk-dev] [PATCH 0/3] Optimization for DPAA/DPAA2 for PA/VA Addressing 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: Fri, 27 Apr 2018 16:10:02 -0000 Once the hotplugging (6b42f7563) patchset were merged, DPAA2 Physical Addressing mode and DPAA observed drastic performance drop (~95%) This was because of an inherent assumption while doing some memory translation that memsegs would be physically contiguous This series attempts to add a workaround for that - a intermediary one while complete solution is integrated This work around creates a linked list of referenced buffers and attempts to search through it during physical to virtual translations. Shreyansh Jain (3): crypto/dpaa_sec: remove ctx based offset for PA-VA conversion bus/fslmc: optimize physical to virtual address searching bus/dpaa: optimize physical to virtual address searching drivers/bus/dpaa/rte_dpaa_bus.h | 27 +++++++++++++++++- drivers/bus/fslmc/portal/dpaa2_hw_pvt.h | 23 +++++++++++++++ drivers/crypto/dpaa_sec/dpaa_sec.c | 49 +++++++++++++------------------- drivers/mempool/dpaa/dpaa_mempool.c | 33 ++++++++++++++++++++- drivers/mempool/dpaa2/dpaa2_hw_mempool.c | 43 ++++++++++++++++++++++++++++ 5 files changed, 144 insertions(+), 31 deletions(-) -- 2.14.1