From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM03-DM3-obe.outbound.protection.outlook.com (mail-dm3nam03on0073.outbound.protection.outlook.com [104.47.41.73]) by dpdk.org (Postfix) with ESMTP id CF4A42C4F for ; Thu, 29 Dec 2016 06:13:32 +0100 (CET) Received: from BN3PR0301CA0033.namprd03.prod.outlook.com (10.160.180.171) by CY1PR0301MB0746.namprd03.prod.outlook.com (10.160.159.152) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.803.11; Thu, 29 Dec 2016 05:13:30 +0000 Received: from BN1BFFO11FD037.protection.gbl (2a01:111:f400:7c10::1:191) by BN3PR0301CA0033.outlook.office365.com (2a01:111:e400:4000::43) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.803.11 via Frontend Transport; Thu, 29 Dec 2016 05:13:30 +0000 Authentication-Results: spf=fail (sender IP is 192.88.158.2) smtp.mailfrom=nxp.com; nxp.com; dkim=none (message not signed) header.d=none;nxp.com; dmarc=fail action=none header.from=nxp.com;nxp.com; dkim=none (message not signed) header.d=none; Received-SPF: Fail (protection.outlook.com: domain of nxp.com does not designate 192.88.158.2 as permitted sender) receiver=protection.outlook.com; client-ip=192.88.158.2; helo=az84smr01.freescale.net; Received: from az84smr01.freescale.net (192.88.158.2) by BN1BFFO11FD037.mail.protection.outlook.com (10.58.144.100) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.789.10 via Frontend Transport; Thu, 29 Dec 2016 05:13:29 +0000 Received: from Tophie.ap.freescale.net ([10.232.14.87]) by az84smr01.freescale.net (8.14.3/8.14.0) with ESMTP id uBT5DOHg010218; Wed, 28 Dec 2016 22:13:25 -0700 From: Shreyansh Jain To: CC: , , , , , Shreyansh Jain Date: Thu, 29 Dec 2016 10:46:19 +0530 Message-ID: <1482988612-6638-1-git-send-email-shreyansh.jain@nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1482180853-18823-1-git-send-email-hemant.agrawal@nxp.com> References: <1482180853-18823-1-git-send-email-hemant.agrawal@nxp.com> MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit X-EOPAttributedMessage: 0 X-Matching-Connectors: 131274620100900747; (91ab9b29-cfa4-454e-5278-08d120cd25b8); () X-Forefront-Antispam-Report: CIP:192.88.158.2; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(6009001)(336005)(7916002)(39840400002)(39380400002)(39860400002)(39850400002)(39400400002)(39410400002)(39450400003)(2980300002)(1109001)(1110001)(339900001)(199003)(189002)(110136003)(356003)(305945005)(105606002)(4326007)(626004)(85426001)(2906002)(6916009)(86362001)(69596002)(23676002)(92566002)(2950100002)(6666003)(81156014)(50986999)(68736007)(8936002)(50226002)(76176999)(33646002)(2870700001)(47776003)(5820100001)(5660300001)(104016004)(5890100001)(81166006)(8676002)(50466002)(8656002)(36756003)(189998001)(2351001)(77096006)(106466001)(15395725005)(97736004)(38730400001)(7059030); DIR:OUT; SFP:1101; SCL:1; SRVR:CY1PR0301MB0746; H:az84smr01.freescale.net; FPR:; SPF:Fail; PTR:InfoDomainNonexistent; A:1; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BN1BFFO11FD037; 1:yp1dyxkcNNqnjy4q2LaBdIIWJksY2aua29Nf9VpbXDPhvAsj2nQrEAjy2lF0ARQoo/MieBO24QSBWOAoQ9c03nobpfNtSYIaQD0zjY6/JMXgobZfsTOcRL0WaMsizwyM3Dc4vUtvrPJk0Vpn9OBv18hp+eM9TIlisMN5Da51hkCx8I6es6MB0bV4DXztKUIcgHDUE8/9hUUfeP7WdkgCNIHFaBlFOKq+PnSzsTyJsVYCTdk6OEjxyrdb6FOzU5Rx/pQFQbUITFZLKh/mV41sgh51YIK6ONoS3TLHD4HShzwhreimKdj3nmTvvU4+c+kt3OejzUwUPyXPmn9aksx6LcgVMHoxTpz8hzeimlBHE22iwgEc+f0mfWZiqAWXMhndHA73uX9x2n2ILMnaFF7xD0qxd3Pr9IEjWLA0HqUEXcQIPEaWi8zMRuzUscJfbrQwFADDeIt0YjJ7XyuC3tJHgZLfWUgTwJX3T2rsplZDzva/KeSWo+UDQZYdTbnvqeShLKTxczqEg2q+Zt94vCRKcLdUO2kRJ0wv5yiUl4H9FQrvOFl09+2YScJiCltqLWdcOI6jPHhFT4CSihlmjbc0y4s/+o9ExsvFntvzUd/2gh9UmzI4ccaa5sbA3AJAaSdchklW0ga5EwNawS7+ehvnYWsW7bBmI/KlUis2vQEjjiFAUhPS6YN70u/HjGtqf5/BQ9c33586ki8BWlS31gErQy45yRkv0oZwIyC7jpsq08m26+EKTElMQrN8u5T3UvGXJytWPQ0qpItSAQjhKuc6Vg== X-MS-Office365-Filtering-Correlation-Id: f0f499f4-020a-49c2-6c8b-08d42fa96d87 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001); SRVR:CY1PR0301MB0746; X-Microsoft-Exchange-Diagnostics: 1; CY1PR0301MB0746; 3:BudIY2EDp1rwHZ1jKz9lGdUhMKjxMqXT8ab6z4OAjMZEht+gsXu9vdqamCol/wAhlB1N98Uw/q5xvpoCkEvOYr1Wt42BGR2FNQeVMrvG0EzONC2fjsn6qq4cQc+blLK8VZe2QKYyS90JH7keBL1pA8pJaqAmEhI2aq0y/+1NiZsfF1qNjOCmH31Mib0h/lHaS5K798O3P6W4rUd58+25rgjzKev+uOb7mOqK0ESBRCEVTgEONQXmaRssHXAhy5TGW6d9AMZBiHDjhWvSRI3gtA4dTzV4es9E9moiCwewsYrLP6T47yz8/oMthERCJd6b/hUqfyWhUnYI6UZ/8UQzHNdUHlHoCMtsr+NFeWrvXX4=; 25:ucJ91LDDs1to3akI7Lja+IjqKrRN/nSwA1pk7sJ3zTShXHVlgP5Po7q0BBk9oWSU7XMQ41kKhaM6PVBjxsE8C4JjKUdBSqqHdPgdXGHRKYb0t3fVryRExVUA4xaFgWup4OxXClExx2eOreB6g3zB7mp6zDqHigyOcPJ56MRvqa4b+AahS55NTrU0yYm5zopJxDMOjWRigIh3fMbYBY14bintvJBX2kwp951m/ZawrV9E1ykPc++34UndQKXhGPtgSUEQ9lzRIlI4h7dhoyH2OfiZSOVUJNUbK2sX06PLm9D6ToqmKRssEWD87WFBmz3fRymEgTZ+h/91q3pGSj6U/UvppnIN/NTRdihS5cFschCqVg1g9Xg/wH/UUT0yS+mYwUDZnwFMCS8T0RPnsUykX7AU3cgZSqHOn8AqaBwwyTkj3saCRJc1A12BqU3itGiCFVcTSGcBMJT6MhPcw0vv2g== X-Microsoft-Exchange-Diagnostics: 1; CY1PR0301MB0746; 31:OLSDX/iGZuV53x4D9/vk99VYdWoLh0Kz3hSyb1IAFOUydBf+pLoNry3dF/82eqEcykjcRVr5x0Uin36ZQGtITefV+H6xKr1u6QSUy4go/uWfEkvo/PBej1sDi6Wgcc4T2LgGQxeHU7zQwlFtoJqBM6WutaDZvxf/RnHYq/Hw9OnBlkBGPrjwtT9pHnT+g5LtjQcFr4AnJmxxD5IJEuMMHiDF1PC4vwR8wm7Jldz/M8RlWmULV25wFSnX1lh02BD4l6MPAOynYRbdyqeUsJ5n6Q== X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(275809806118684); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6095060)(601004)(2401047)(13024025)(13023025)(13015025)(13017025)(13018025)(8121501046)(5005006)(3002001)(10201501046)(6055026)(6096035)(20161123561025)(20161123559025)(20161123556025)(20161123565025)(20161123563025); SRVR:CY1PR0301MB0746; BCL:0; PCL:0; RULEID:(400006); SRVR:CY1PR0301MB0746; X-Microsoft-Exchange-Diagnostics: 1; CY1PR0301MB0746; 4:LEEkTKpc70lwXNivf0TaxfTeDMU62yWU3OxsyM1NivYl+nhhI6RIXnQRWIA/vOnz5dRFqQFLb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Yi5tkMCMi7M+qd6fS9CmAL+BxU7Msk0shYrc8RI5fFHWlAqGakz30IjY8V5TFaaA== X-MS-Exchange-CrossTenant-OriginalArrivalTime: 29 Dec 2016 05:13:29.7156 (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.158.2]; Helo=[az84smr01.freescale.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY1PR0301MB0746 Subject: [dpdk-dev] [PATCH v3 00/33] NXP DPAA2 PMD 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, 29 Dec 2016 05:13:33 -0000 ** Sending v3 on behalf of Hemant Agrawal ** The patch series adds NXP’s QorIQ-Layerscape DPAA2 Architecture based fsl-mc bus driver and network SoC PMD. This version of the driver supports NXP LS208xA, LS204xA and LS108x families Network SoCs. DPAA2, or Data Path Acceleration Architecture, is a hardware architecture designed for high-speed network packet processing. It uses a bus name ‘fsl-mc’, part of Linux Kernel Staging tree [2], for resource management. A brief description of architecture is given below; detailed description is part of the documentation in the patches itself. DPAA2 contains hardware component called the Management Complex (or MC). It manages the DPAA2 hardware resources. The MC provides an object-based abstraction for software drivers to use the DPAA2 hardware. Some of the key objects are: - DPNI, which refers to the network interface object. - DPBP, which refers to HW based memory pool object - DPIO, refers to processing context for accessing QBMAN Besides the MC, DPAA2 also includes a Hardware based Queue and Buffer Manager called QBMAN. Prime responsibility of QBMAN is to allow lockless access to software/user-space to the queues and buffers implemented in the hardware. The patch series could be logically structured into following sub-areas: 1. (Patch 0001) Enabling crc in armv8 core machine type 2. (Patch 0002) DPAA2 Architecture overview document 3. (Patch 0003) Common dpaa2 hw accelerator drivers for QBMAN. 4. (Patches 0004-0011) introduce fsl-mc bus 5. (Patches 0012-0016) introduce DPAA2 PMD, DPIO and mempool 6. (Patches 0017-0031) Support for DPAA2 Ethernet Device (ethdev) 7. (Patches 0032-0033) Additional functionality in DPAA2 ethdev. The following design decisions are made during development: 1. DPAA2 implements a new bus called "fsl-mc" and some common accelerator drivers. These drivers will be shared with dpaa2 based crypto drivers. - For this, patch series from Shreyansh [1] has been used for creating a bus handler. 2. DPAA2 implements the HW mempool offload with DPBP object. - The new pool is being configured using compile time option and pool name as "dpaa2". 3. It maintains per lcore DPIO objects and affine the DPIO instance to the processing threads accessing the QBMAN HW. Prerequisites: - For running the PMD, NXP's SoC (board) and SDK (software/BSP) is required. Information about obtaining relevant software is available in the docs as part of the patch. - At present the series has limited support for Ethernet functions. But, more functionality would be made available in a phased manner. - This PMD has been validated over the Bus Model [1] Pending Changes/Caveats: 1. VFIO code for fsl-mc bus is different than eal-vfio code for pci bus. This need to be re-worked to make possible re-use of the existing code. 2. For the purpose of this "fsl-mc" bus, rte_dpaa2_device/rte_dpaa2_driver might also be required but they are not part of the first patch series. Currently, rte_device/driver are being directly used. 3. Patch for supported nics web page. Dependencies: [1] http://dpdk.org/ml/archives/dev/2016-December/053315.html References: [2] https://www.kernel.org/doc/readme/drivers-staging-fsl-mc-README.txt [3] http://dpdk.org/ml/archives/dev/2016-October/048949.html --- v3: * rebased over master (eac901ce2) and patches from Shreyansh [1] for Bus Arch. * Fixed comment from John on Patch-0003 for documentation * Removed Patch-0001 for rte_device in rte_eth_dev; Already upstreamed through another series v2: * separated the "fsl-mc" bus from the dpaa2 pmd driver - introduced drivers/bus * separated the "dpaa2" hw mempool from dpaa2 pmd driver - introduced drivers/pool * removed documentation warnings and missing information. * removed arm64 part specific code from driver * changed rte_panic to errors * reduced checkpatch warnings Hemant Agrawal (33): mk/dpaa2: add the crc support to the machine type eal/vfio: adding vfio utility functions in map file doc: add dpaa2 nic details drivers/common/dpaa2: adding qbman driver bus/fslmc: introducing fsl-mc bus driver bus/fslmc: introduce mc object functions bus/fslmc: add mc dpni object support bus/fslmc: add mc dpio object support bus/fslmc: add mc dpbp object support bus/fslmc: add mc dpseci object support bus/fslmc: add vfio support bus/fslmc: scan for net and sec devices net/dpaa2: introducing NXP dpaa2 pmd driver bus/fslmc: add debug log message support drivers/common/dpaa2: dpio portal driver drivers/pool/dpaa2: adding hw offloaded mempool drivers/common/dpaa2: dpio routine to affine to crypto threads net/dpaa2: adding eth ops to dpaa2 net/dpaa2: add rss flow distribution net/dpaa2: configure mac address at init net/dpaa2: attach the buffer pool to dpni net/dpaa2: add support for l3 and l4 checksum offload net/dpaa2: add support for promiscuous mode net/dpaa2: add mtu config support net/dpaa2: add packet rx and tx support net/dpaa2: rx packet parsing and packet type support net/dpaa2: link status update net/dpaa2: basic stats support net/dpaa2: enable stashing for LS2088A devices net/dpaa2: add support for non hw buffer pool packet transmit net/dpaa2: enabling the use of physical addresses bus/fslmc: add support for dmamap to ARM SMMU drivers/common/dpaa2: frame queue based dq storage alloc MAINTAINERS | 8 + config/common_base | 22 + config/defconfig_arm64-dpaa2-linuxapp-gcc | 28 +- doc/guides/nics/dpaa2.rst | 594 ++++++++ doc/guides/nics/features/dpaa2.ini | 18 + doc/guides/nics/index.rst | 1 + doc/guides/rel_notes/release_17_02.rst | 11 + drivers/Makefile | 3 + drivers/bus/Makefile | 38 + drivers/bus/fslmc/Makefile | 75 + drivers/bus/fslmc/fslmc_bus.c | 114 ++ drivers/bus/fslmc/fslmc_logs.h | 76 + drivers/bus/fslmc/fslmc_vfio.c | 629 +++++++++ drivers/bus/fslmc/fslmc_vfio.h | 82 ++ drivers/bus/fslmc/mc/dpbp.c | 230 +++ drivers/bus/fslmc/mc/dpio.c | 272 ++++ drivers/bus/fslmc/mc/dpni.c | 732 ++++++++++ drivers/bus/fslmc/mc/dpseci.c | 527 +++++++ drivers/bus/fslmc/mc/fsl_dpbp.h | 220 +++ drivers/bus/fslmc/mc/fsl_dpbp_cmd.h | 76 + drivers/bus/fslmc/mc/fsl_dpio.h | 275 ++++ drivers/bus/fslmc/mc/fsl_dpio_cmd.h | 114 ++ drivers/bus/fslmc/mc/fsl_dpkg.h | 177 +++ drivers/bus/fslmc/mc/fsl_dpni.h | 1210 ++++++++++++++++ drivers/bus/fslmc/mc/fsl_dpni_cmd.h | 327 +++++ drivers/bus/fslmc/mc/fsl_dpseci.h | 661 +++++++++ drivers/bus/fslmc/mc/fsl_dpseci_cmd.h | 248 ++++ drivers/bus/fslmc/mc/fsl_mc_cmd.h | 231 +++ drivers/bus/fslmc/mc/fsl_mc_sys.h | 98 ++ drivers/bus/fslmc/mc/fsl_net.h | 480 +++++++ drivers/bus/fslmc/mc/mc_sys.c | 107 ++ drivers/bus/fslmc/portal/dpaa2_hw_dpbp.c | 137 ++ drivers/bus/fslmc/portal/dpaa2_hw_dpio.c | 441 ++++++ drivers/bus/fslmc/portal/dpaa2_hw_dpio.h | 70 + drivers/bus/fslmc/portal/dpaa2_hw_pvt.h | 247 ++++ drivers/bus/fslmc/rte_fslmc.h | 119 ++ drivers/bus/fslmc/rte_pmd_fslmcbus_version.map | 62 + drivers/common/Makefile | 45 + drivers/common/dpaa2/Makefile | 36 + drivers/common/dpaa2/qbman/Makefile | 58 + drivers/common/dpaa2/qbman/include/compat.h | 405 ++++++ .../common/dpaa2/qbman/include/fsl_qbman_base.h | 157 ++ .../common/dpaa2/qbman/include/fsl_qbman_portal.h | 1090 ++++++++++++++ drivers/common/dpaa2/qbman/qbman_portal.c | 1492 ++++++++++++++++++++ drivers/common/dpaa2/qbman/qbman_portal.h | 274 ++++ drivers/common/dpaa2/qbman/qbman_private.h | 167 +++ drivers/common/dpaa2/qbman/qbman_sys.h | 380 +++++ drivers/common/dpaa2/qbman/qbman_sys_decl.h | 70 + .../dpaa2/qbman/rte_pmd_dpaa2_qbman_version.map | 27 + drivers/net/Makefile | 2 +- drivers/net/dpaa2/Makefile | 72 + drivers/net/dpaa2/base/dpaa2_hw_dpni.c | 344 +++++ drivers/net/dpaa2/base/dpaa2_hw_dpni_annot.h | 257 ++++ drivers/net/dpaa2/dpaa2_ethdev.c | 1057 ++++++++++++++ drivers/net/dpaa2/dpaa2_ethdev.h | 83 ++ drivers/net/dpaa2/dpaa2_rxtx.c | 421 ++++++ drivers/net/dpaa2/rte_pmd_dpaa2_version.map | 4 + drivers/pool/Makefile | 38 + drivers/pool/dpaa2/Makefile | 67 + drivers/pool/dpaa2/dpaa2_hw_mempool.c | 352 +++++ drivers/pool/dpaa2/dpaa2_hw_mempool.h | 95 ++ drivers/pool/dpaa2/rte_pmd_dpaa2_pool_version.map | 8 + lib/librte_eal/linuxapp/eal/rte_eal_version.map | 3 + mk/machine/dpaa2/rte.vars.mk | 5 +- mk/rte.app.mk | 6 + 65 files changed, 15771 insertions(+), 4 deletions(-) create mode 100644 doc/guides/nics/dpaa2.rst create mode 100644 doc/guides/nics/features/dpaa2.ini create mode 100644 drivers/bus/Makefile create mode 100644 drivers/bus/fslmc/Makefile create mode 100644 drivers/bus/fslmc/fslmc_bus.c create mode 100644 drivers/bus/fslmc/fslmc_logs.h create mode 100644 drivers/bus/fslmc/fslmc_vfio.c create mode 100644 drivers/bus/fslmc/fslmc_vfio.h create mode 100644 drivers/bus/fslmc/mc/dpbp.c create mode 100644 drivers/bus/fslmc/mc/dpio.c create mode 100644 drivers/bus/fslmc/mc/dpni.c create mode 100644 drivers/bus/fslmc/mc/dpseci.c create mode 100644 drivers/bus/fslmc/mc/fsl_dpbp.h create mode 100644 drivers/bus/fslmc/mc/fsl_dpbp_cmd.h create mode 100644 drivers/bus/fslmc/mc/fsl_dpio.h create mode 100644 drivers/bus/fslmc/mc/fsl_dpio_cmd.h create mode 100644 drivers/bus/fslmc/mc/fsl_dpkg.h create mode 100644 drivers/bus/fslmc/mc/fsl_dpni.h create mode 100644 drivers/bus/fslmc/mc/fsl_dpni_cmd.h create mode 100644 drivers/bus/fslmc/mc/fsl_dpseci.h create mode 100644 drivers/bus/fslmc/mc/fsl_dpseci_cmd.h create mode 100644 drivers/bus/fslmc/mc/fsl_mc_cmd.h create mode 100644 drivers/bus/fslmc/mc/fsl_mc_sys.h create mode 100644 drivers/bus/fslmc/mc/fsl_net.h create mode 100644 drivers/bus/fslmc/mc/mc_sys.c create mode 100644 drivers/bus/fslmc/portal/dpaa2_hw_dpbp.c create mode 100644 drivers/bus/fslmc/portal/dpaa2_hw_dpio.c create mode 100644 drivers/bus/fslmc/portal/dpaa2_hw_dpio.h create mode 100644 drivers/bus/fslmc/portal/dpaa2_hw_pvt.h create mode 100644 drivers/bus/fslmc/rte_fslmc.h create mode 100644 drivers/bus/fslmc/rte_pmd_fslmcbus_version.map create mode 100644 drivers/common/Makefile create mode 100644 drivers/common/dpaa2/Makefile create mode 100644 drivers/common/dpaa2/qbman/Makefile create mode 100644 drivers/common/dpaa2/qbman/include/compat.h create mode 100644 drivers/common/dpaa2/qbman/include/fsl_qbman_base.h create mode 100644 drivers/common/dpaa2/qbman/include/fsl_qbman_portal.h create mode 100644 drivers/common/dpaa2/qbman/qbman_portal.c create mode 100644 drivers/common/dpaa2/qbman/qbman_portal.h create mode 100644 drivers/common/dpaa2/qbman/qbman_private.h create mode 100644 drivers/common/dpaa2/qbman/qbman_sys.h create mode 100644 drivers/common/dpaa2/qbman/qbman_sys_decl.h create mode 100644 drivers/common/dpaa2/qbman/rte_pmd_dpaa2_qbman_version.map create mode 100644 drivers/net/dpaa2/Makefile create mode 100644 drivers/net/dpaa2/base/dpaa2_hw_dpni.c create mode 100644 drivers/net/dpaa2/base/dpaa2_hw_dpni_annot.h create mode 100644 drivers/net/dpaa2/dpaa2_ethdev.c create mode 100644 drivers/net/dpaa2/dpaa2_ethdev.h create mode 100644 drivers/net/dpaa2/dpaa2_rxtx.c create mode 100644 drivers/net/dpaa2/rte_pmd_dpaa2_version.map create mode 100644 drivers/pool/Makefile create mode 100644 drivers/pool/dpaa2/Makefile create mode 100644 drivers/pool/dpaa2/dpaa2_hw_mempool.c create mode 100644 drivers/pool/dpaa2/dpaa2_hw_mempool.h create mode 100644 drivers/pool/dpaa2/rte_pmd_dpaa2_pool_version.map -- 2.7.4