From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM03-CO1-obe.outbound.protection.outlook.com (mail-co1nam03on0042.outbound.protection.outlook.com [104.47.40.42]) by dpdk.org (Postfix) with ESMTP id 2EA8ECF66 for ; Fri, 17 Mar 2017 13:47:31 +0100 (CET) Received: from DM2PR03CA0047.namprd03.prod.outlook.com (10.141.96.46) by BY2PR03MB190.namprd03.prod.outlook.com (10.242.36.141) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.977.11; Fri, 17 Mar 2017 12:47:29 +0000 Received: from BY2FFO11OLC002.protection.gbl (2a01:111:f400:7c0c::108) by DM2PR03CA0047.outlook.office365.com (2a01:111:e400:2428::46) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.977.11 via Frontend Transport; Fri, 17 Mar 2017 12:47:28 +0000 Authentication-Results: spf=fail (sender IP is 192.88.168.50) smtp.mailfrom=nxp.com; intel.com; dkim=none (message not signed) header.d=none;intel.com; dmarc=fail action=none header.from=nxp.com; Received-SPF: Fail (protection.outlook.com: domain of nxp.com does not designate 192.88.168.50 as permitted sender) receiver=protection.outlook.com; client-ip=192.88.168.50; helo=tx30smr01.am.freescale.net; Received: from tx30smr01.am.freescale.net (192.88.168.50) by BY2FFO11OLC002.mail.protection.outlook.com (10.1.15.178) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.977.7 via Frontend Transport; Fri, 17 Mar 2017 12:47:27 +0000 Received: from bf-netperf1.idc ([10.232.134.28]) by tx30smr01.am.freescale.net (8.14.3/8.14.0) with ESMTP id v2HClOJG000805; Fri, 17 Mar 2017 05:47:25 -0700 From: Hemant Agrawal To: , CC: , , Date: Fri, 17 Mar 2017 18:17:17 +0530 Message-ID: <1489754838-1455-1-git-send-email-hemant.agrawal@nxp.com> X-Mailer: git-send-email 1.9.1 X-EOPAttributedMessage: 0 X-Matching-Connectors: 131342284481106958; (91ab9b29-cfa4-454e-5278-08d120cd25b8); () X-Forefront-Antispam-Report: CIP:192.88.168.50; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(6009001)(336005)(39450400003)(39840400002)(39860400002)(39380400002)(39850400002)(39400400002)(39410400002)(2980300002)(1109001)(1110001)(3190300001)(339900001)(189002)(199003)(9170700003)(4326008)(356003)(6306002)(105606002)(53936002)(50986999)(8676002)(106466001)(8936002)(81156014)(47776003)(5003940100001)(53376002)(38730400002)(81166006)(966004)(189998001)(305945005)(36756003)(6666003)(33646002)(5660300001)(8656002)(54906002)(85426001)(50226002)(50466002)(48376002)(86362001)(2906002)(77096006)(104016004); DIR:OUT; SFP:1101; SCL:1; SRVR:BY2PR03MB190; H:tx30smr01.am.freescale.net; FPR:; SPF:Fail; MLV:ovrnspm; MX:1; A:1; PTR:InfoDomainNonexistent; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BY2FFO11OLC002; 1:Lf2/+TnO0Dn0E3T6fzc1m7mFBdLRRFnRhnaP3SJXIU86t/qzE+hsewdlnnSRjS3wwNaCF4xDr0YXaVh9i+3k7sWI6WZCmBnSINIGHnVfN0oSQo6tCj5azIVRn8syG0QbPpkHUo3LdWFel/6LNzs4iw+P8O4adsLilwXZ9wSBUXQzqFdDEk/rDuV3KwsvkNUuAGnvX1oJBaMSKaZ3c0csJ+CVwrNfYK+cZobe83Ytj5udl6qwEr/+IrAI9LMsEWpnMrngVsAktLOtuOGUIsaJwc7kgQ7MfbHwWDAug6Ef+qpwWP/zd+d4EL5J9lVVoN4xhNsMbKMyQU5Rb7d5gD6ps2f1ux96pi0PInVX7SY478NxsXPsmhER1RvteX+vNs6wyKdvtOkUNR04huZ8Ey+zvU0rqVo+ISCqdLjxfD3XGj1nNZ3uScaBye3MCjObn1F4/iQz82JOmc18dJ7E6d4Ae26XGhKgsaNk6rnOvMkv48v0+afto96i0UPGTB5jEqjXaBBn029DQVvKH0lvMFzjcM6dQ9SRUAmJqWXIqd2FraKXJ5WSvvto8mWbRCLevhAoG5bTVcsCXcM7IMhP5SE87fuleFL1vnc/X6lNHgJHWEdUyAWT7ef64Sb73YoKyhjc65egHcI1LyHTHpOqgxHTVZxExK1iC2KUT9PmHWtohag= MIME-Version: 1.0 Content-Type: text/plain X-MS-Office365-Filtering-Correlation-Id: 91926573-0b91-41ba-b2ae-08d46d33c4f0 X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(22001);SRVR:BY2PR03MB190; X-Microsoft-Exchange-Diagnostics: 1; BY2PR03MB190; 3:s3eec4DB1wZRdAe3vAJ3Rp2PXOA1XIoSPi3DrQ+w8dX+UaTQDHvzA0ayYXIFnBc7HF9m5G5F3Tu7pugJKvDIbzz+Z0Ye4+Dh4qkdPT7CaRrF85KnKA+bDdJ3ySvzNTFo0ZZrxCQYAFq4zEo9hu5xBesW4UtnY4err9s2MTQUGuDM6njsAWX7s7m9fd2WiNlPFOEsExNpsLnT65xmOMCwrCdjSbgDUM/UEe9OGv454m6pGOI8SlQOmCsdR44+DUw/3evZeq2mpd3BlzAtE2Dv48YjhqhFvduOk7VpXWGu9hpPAkXwWwtI4oUxfOWrEujKg/cC0luWGk4jsQJCkbfOrSRv2ljrQA6hnjLAstH8v8pC4ohSfYDnXxBNTl8T4qda; 25:0ZOcOw5/TlF00lKLq18hiSqSAWbBZT43kARUs96sLSRZDI0I0LEg7Oo4qVS3J5Ay/5LrClqJuPBIGaq40ZwIqD60p0ipJxebS9qAfX3eA8sli1d9ouK6z+kR8VtQkX9BjSA48mvE8qFaZaM19er+9LCBFPjBMePGaNfbo1jPTj3bai/GNEHAQBxBVZiC5oHiLAhiiLdud8v9Q1wL4zqfRz/rTlqtbUXejaKQxPKOtGLbl0DpB/hf/ipCI0NftBwxkwGjKrG1h3q8E14S7lxjCyfwfdSh/PikJ5G+21vbdBfXuDYyHU7/uggxLt4qjiDnF/+4cQA5dRHIi0XrDE+xI6GHMdGZcx0G3p7i4BO9LirEbDR4TCT6LepcRl3Uu4r+jHnFHp0vqczzzU2Kq3aOc01vhSuvzurtOfbEdyf13cJeFtkPiySVQtOBP5Pgjdq6d/XuEZkzAgTEHgh+xNSsvA== X-Microsoft-Exchange-Diagnostics: 1; BY2PR03MB190; 31:KO8nlud4oyHs+Gs+MNSAFf455IyvbwcSCu7LQAG0GHjj9Wn0vgL7fuDW9cZbmE01zeuyKI+vh56v7yvbc2aMvycfK+S+6FUlMNBy6biYJCuKPm0jACK1PFEsGzLC+CIZItVAyMrTxnzjTowxkF2Hwl0r6qgtlRQnZoYAJjlWlvK9UzDripfh15raA1/1OPcDrUO8prhqTiu1GUlaIP2s27ZodwgegJ9fwxaYw+dcQfl1hMod1LnnP7Dw4VBt+7t0lbwQhv7gEqomx0k9GE17IQ== X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6095060)(601004)(2401047)(13015025)(5005006)(13018025)(8121501046)(13017025)(13024025)(13023025)(3002001)(10201501046)(6055026)(6096035)(20161123565025)(20161123561025)(20161123556025)(20161123559025)(20161123563025); SRVR:BY2PR03MB190; BCL:0; PCL:0; RULEID:(400006); SRVR:BY2PR03MB190; X-Microsoft-Exchange-Diagnostics: 1; BY2PR03MB190; 4:N7CjBfh4jKYpYU1bRFJBSXpYxk6yksK2YpjkjEU2h534lqlEvVs9e8WAf39F/KfmmnOIhi8JV3P9qnOaibyzRgeXdua4ihdymEEBrbMhuz7rx3I+Q5deYMQfIEu7uAQotS1H3FEpJ6K6nSVHb+jw0Cqk1WdaCiOhUFkIzhAx5E4vuJeVXusqQm7H95Cueevje47K0bqc3imMiRFMFgQLNSG0dY4SARCsbJ/gIcux+2SWbb6CgoGqrc3w4sUlTt2JjxkDR7gL2TxFADxVeWicxW3OS9T2lA4H1MaRRhtyw13R5LRqVsU1BhbppuJuNUWsGhg0Jo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4H2CBKx4ZNqbBDh84sLekB7zW7wpbQ+o+a5Athu?= =?us-ascii?Q?s8cMR5sKgtHnXTAYyVZB68S81ttLlW/YwN3si/GCt6DIoVZx4b9su9qotzkY?= =?us-ascii?Q?r9gjW270wnO0PCWjfXgWotjLQIJs1L1QJHvVGomfWq/++MJD7OhgNEB4QciA?= =?us-ascii?Q?tPovVkbM8gw16ExoiIubdNcx7YTax8P2zvUGColEWX53NsUnLRq/S8aahu7C?= =?us-ascii?Q?Unk8b65C8sa+IlQReXGP9OYTn7OQK//XcedKrwjiLTQVNZPxkSU5IdebuX/V?= =?us-ascii?Q?EZLLRsCqalL0FpPkK/UDbpH1qcosZOFmLN0EW01keJxgXQ6HJNXetZ5FaAS4?= =?us-ascii?Q?jtZeIzdT2AhK6jcmZTcquaB0UOmZ/rMuYooDs0aN34qbe6Z14J8Fx1rOf3qp?= =?us-ascii?Q?AJo86vLKX0LR0Q3ylctoC24RFj557O1q/jlRgk+HU3jzLpNpE0wwKqjHmI/0?= =?us-ascii?Q?83vC6HkudgnNs6mth8FOx8+uTwhJgp8m5WdCSqwTMQ1JnTUP5oC8fX9Gcw49?= =?us-ascii?Q?TRH36U+YNyexhHWBeiL8HZbiimoil1O8wM/ASz9YzgNF3qdwpsSgUM0cGfwx?= =?us-ascii?Q?oOIp40uYd5a+ifTtV+DIRlPYCDHtGU/G9dB91qbJATzwjmTnE+VP1Woag3Ut?= =?us-ascii?Q?6ry6wbMpw0EXpyujmFHfe8qe2SFis3EI6mDHU7BR3VqkR+X8sZ4OPbEVE6GY?= =?us-ascii?Q?lspop9GVsr8apnhzzlnrAQkj/vs0Xe8tbj?= X-Microsoft-Exchange-Diagnostics: 1; BY2PR03MB190; 6:BPcrYnnOr3gtq9062Xtj7xbt2R51lQE8rW2yiqmBmWI/VZwswzOfivYKmQKjaTCfBa2zskrkwCbtWGRSQMmM74Lwg4bk7dJ6a5Pce/mpTTmWzqC6sR+rmquenRmkOqmbBh+RPmuYZDScloXDwH6GBOOh1gPXwCNL361SRf+daYByyvGCjsLzT5vZUImTYQNs2WY6bQWnUE8vc4g5/Z0Z+IIgf4HyE1qov7c1Zq3e+rwDzFddj8Ztxj2Pzdu4WnqLINQmW5b9Y0VpeOSST/KlSQ76QRbLcP3z/wtH/KhwdU3NnYoM6mnG8PNr5TzZtWJPSwISpUkEJ4H5dO4nPFLKVHJkf9aDZCo1yTMtfdU4BIp/TWqs7zcf7bOwO3csKKu8jlBdUmaq70W6crL9b/2E1qv48HfoxG4kb7rISls0/IQ=; 5:txqw1tFQ5FSt0fDiw9VRpw0wrIo55L0WG6i5ntV3hzsihGh2yc+wcGbnYGAU5pK/sG9+Y69by4bEi1/acqiJN/ab7GQnQHmzyPnIqLpxcZBclzPGGeRPkYO7ypg9wcmm4fAHawJAzKn0CRU8u6f7YySInFHza5PgtKega6yYao+K9aAbshpzbZeYPFzWv3xg; 24:p7zf4DEK7GMbalLpbofUvk/rOPEGu/VCssPNDTkTfVpVj5j0/9GlcyANZyz200SrZjKR0ce17NrQZsM2kKMT1cZH0U/CXOeVkSlBPWaFjLk= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; BY2PR03MB190; 7:XkZ7QR57E5+GxrCwRaX3eJ0dUfxExP1jIDKOVyB/UnA8/TMPSE6OOZFsFAP1pPD/7GTt+11AKnQHRkrMEP4c81UqQNj2LUErz2soJzWg43ZYgsDQD68ATb4Ifan3RDwqdvTlrslgDzWsu2YJ/jQlwCeof7KkUE9tzL9KHNjPvU/coBuTESddvqN8MdZ8hMv/etcK0NpEN6UPTCRtKDgMdT2i+yVLeZ+kidby1ilPP2CzeClGpjB6ppi4wiSXHIC6+T1cpunY+YK1vy32KW3VDXKFy8WhDscCWqWpH2f6H0uSMWGLIjTMmCTGCAB5rkIvvY4hzKJ1UwkV4myy3utzTA== X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Mar 2017 12:47:27.9078 (UTC) X-MS-Exchange-CrossTenant-Id: 5afe0b00-7697-4969-b663-5eab37d5f47e X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=5afe0b00-7697-4969-b663-5eab37d5f47e; Ip=[192.88.168.50]; Helo=[tx30smr01.am.freescale.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY2PR03MB190 Subject: [dpdk-dev] [PATCH v1] NXP DPAA2 External Mempool Driver 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, 17 Mar 2017 12:47:31 -0000 (This patches has been split from DPAA2 PMD v8 series [1] as per comments received on ML [2].) This patch implements the HW mempool offload driver for packets buffers using the FSLMC provided DPBP object. The new pool is being configured using compile time option and pool name as "dpaa2". Dependency: This patchset is based on "NXP DPAA2 FSLMC Bus Driver" patchset [3]. References: [1] http://dpdk.org/ml/archives/dev/2017-March/059000.html [2] http://dpdk.org/ml/archives/dev/2017-March/059789.html [3] http://dpdk.org/ml/archives/dev/2017-March/060453.html Hemant Agrawal (1): mempool/dpaa2: add DPAA2 hardware offloaded mempool MAINTAINERS | 1 + config/common_base | 5 + config/defconfig_arm64-dpaa2-linuxapp-gcc | 8 + drivers/Makefile | 1 + drivers/bus/Makefile | 2 + drivers/mempool/Makefile | 40 +++ drivers/mempool/dpaa2/Makefile | 72 ++++ drivers/mempool/dpaa2/dpaa2_hw_mempool.c | 374 +++++++++++++++++++++ drivers/mempool/dpaa2/dpaa2_hw_mempool.h | 91 +++++ .../mempool/dpaa2/rte_mempool_dpaa2_version.map | 8 + 10 files changed, 602 insertions(+) create mode 100644 drivers/mempool/Makefile create mode 100644 drivers/mempool/dpaa2/Makefile create mode 100644 drivers/mempool/dpaa2/dpaa2_hw_mempool.c create mode 100644 drivers/mempool/dpaa2/dpaa2_hw_mempool.h create mode 100644 drivers/mempool/dpaa2/rte_mempool_dpaa2_version.map -- 1.9.1