From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM02-SN1-obe.outbound.protection.outlook.com (mail-sn1nam02on0064.outbound.protection.outlook.com [104.47.36.64]) by dpdk.org (Postfix) with ESMTP id 033BA108F for ; Mon, 23 Jan 2017 13:00:14 +0100 (CET) Received: from BN3PR03CA0114.namprd03.prod.outlook.com (10.174.66.32) by BN6PR03MB2467.namprd03.prod.outlook.com (10.168.223.21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.860.13; Mon, 23 Jan 2017 12:00:12 +0000 Received: from BY2FFO11FD025.protection.gbl (2a01:111:f400:7c0c::146) by BN3PR03CA0114.outlook.office365.com (2603:10b6:400:4::32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.860.13 via Frontend Transport; Mon, 23 Jan 2017 12:00:12 +0000 Authentication-Results: spf=fail (sender IP is 192.88.168.50) smtp.mailfrom=nxp.com; caviumnetworks.com; dkim=none (message not signed) header.d=none;caviumnetworks.com; dmarc=fail action=none header.from=nxp.com;caviumnetworks.com; dkim=none (message not signed) header.d=none; 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 BY2FFO11FD025.mail.protection.outlook.com (10.1.15.214) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.803.8 via Frontend Transport; Mon, 23 Jan 2017 12:00:12 +0000 Received: from bf-netperf1.idc ([10.232.134.28]) by tx30smr01.am.freescale.net (8.14.3/8.14.0) with ESMTP id v0NC07eO019311; Mon, 23 Jan 2017 05:00:08 -0700 From: Hemant Agrawal To: CC: , , , , , Date: Mon, 23 Jan 2017 17:29:30 +0530 Message-ID: <1485172803-17288-1-git-send-email-hemant.agrawal@nxp.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1484832240-2048-1-git-send-email-hemant.agrawal@nxp.com> References: <1484832240-2048-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: 131296464122113430; (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)(7916002)(336005)(39840400002)(39860400002)(39450400003)(39410400002)(39850400002)(39380400002)(39400400002)(2980300002)(1109001)(1110001)(339900001)(199003)(189002)(6306002)(2351001)(53936002)(54906002)(76176999)(92566002)(6666003)(50986999)(305945005)(189998001)(5890100001)(86362001)(104016004)(8656002)(2950100002)(5820100001)(110136003)(85426001)(105606002)(106466001)(6916009)(97736004)(31430400001)(50226002)(38730400001)(8936002)(23676002)(36756003)(77096006)(5660300001)(8676002)(33646002)(81156014)(81166006)(68736007)(15395725005)(626004)(356003)(47776003)(2870700001)(2906002)(4326007)(50466002); DIR:OUT; SFP:1101; SCL:1; SRVR:BN6PR03MB2467; H:tx30smr01.am.freescale.net; FPR:; SPF:Fail; PTR:InfoDomainNonexistent; A:1; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BY2FFO11FD025; 1:r7YLG3z23qL+GVJvj+WaF7Qaybjs8LiAXLcuJmzbHzUKyqMeoJDpudxOfnKXQrG0RNzXSzjiNcTlQXRGs9+BEcOxo7b9DOTADwgBuNl4sttZsxn8V06AciH9IP5xOIShKRMlCOAtt2o7qqb01jK4EfxeAKegd0MlXgeptOrFJPzFC/V3fgU5CYMeR/VAzQSx2fkS0qAn3UQRnhtiWHLc1UhLqirLv6h2mIXHmJDuS7MHFjS6PdFNNnR7zORbsvSrg+qkkV4uc07oLRol8+lzMj4s/bP91gHuxYmJG86AdaXzu24eH/b0RBzs5ogTSS+W63CvOucupwLT5f3kmoGA4vJWtf/CfeH7+cHV6LUDoXph0bF2IOI4uRzLLiAxL3IAeXjoQuq8WBawczDkLydIyIv2K/G4GuC3n7eLT1IC1Gu1LlhGgSfCciJqctIp4WMDXgn6bYO8AF032n/RES2Ig3uQ6u9Vd59gWlnQKMrqSlNEpT4r+UCc8l3O8nM0du57X3q6DTnFqerR4o2ioKcZoBsw+KzVghQWREAYjkSCxb8PeP4ebjyXfzQpKTn1mgVcbMk0vwlXrzk5ah0Hw8nKi0JMU1tntWXoT1C5/7V54oTPN5/yX31KmfeJ7doojQWOyaRgE3Cg2kNf9IQSIq0VHA== X-MS-Office365-Filtering-Correlation-Id: 22eb7ea5-cde1-4d85-0c39-08d4438762b8 X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(22001);SRVR:BN6PR03MB2467; X-Microsoft-Exchange-Diagnostics: 1; BN6PR03MB2467; 3:p70rI4yUSCOuKf5wIjWUkSLsuEEJzKRQ7IrdeZqc7oEwVTUbktb5k6QLmdeKXrETyMnnj8s94YzsiPiiuvfTi4tXy0sMKSzy0zsFQawxC8EM+A+Tk8Uusv3N2UeN2rpfsYWiqvWZPwQ45vJSwcA5IBIMVWEtpOwyoVf+D4xvUnY+g2gaIUE7q5CVyt7rccesNRUFRLyIS0MxoRi23YoppYDT6FLrXPmInjm/wsb/3CM1b6PoQ8SibwjMw3g5Hk4ekPX5aPju/sZEdVOihauo5sMy5pTCMnOJAGcLpntzXj2X02OFpPkyUmUTULo9tuwnaDteN1c5lXR+6q/cy2frMv4y6GbvQJwqY3t7kB8pKGtsZGYf1MZtoeOin4u2O9QA; 25:gcKEsGmrjIFt35dAsfM5NR5h/3JA34gcgJ4oCadxy2BruHGgfzanL2k28yGtxi1TAhtrOi/dnlkiIoNF9C6BfUPkRn2cWldX4WlMLHbnum6YyZi7vCYwzO9++y1Grqaxly7T6G7XlBn1cm77ZeU0GZJG0v+Anpn/WQucBCqzFzP8BFHZjE+KJP5IHahJ+yKtfQx7RO3jLLV+ZD/lQkclL1jMLyZ1mQPNW/zhFprH1Os0E4rLzb6x2qiieVlbd77L+4Y0H2VWhJGydQCoNZbG8LyQNv5gA1BCrtA28L8ihsOK2JNxwDaHCtPRA7wlLQ9kxd2gDJYmeJusz6DSAB7vNKOEgIFcf2z/0NE6TqIE1qANketpwNO+QIdLOQwSUhh5lqqS928JUVfp7QENw6JMTzOCV4TygmYbfpiQ12JM+hSWP8jJ1yT4BJkhk8ufHr+QfPdEiSO6LPABBvM8IckUww== X-Microsoft-Exchange-Diagnostics: 1; BN6PR03MB2467; 31:d6PnxcHS44id7D2UikJe+c0f6ithx1Mf3d+tIVGoUJpA6j8TyvSKb+NNJFl1cbsndZ2FEhqCyIa73XnIrgaKn9eGsV+XMi8WsF6iDhOLyZ2s3LAOSIaiv2zuTicZLWFQ8Rq3oefAvqzK8c64OG9hr1qjv4T0bNtf1/9g3qzA+HjisJeDvs7OFZHJ3/bv0xHQxaoYV2VuUarqe/03vJnBOU/3M4Lr8BX2vvhkrSMrBHn/aM9pKxYaS/2a4OjIed/ERYYwvwM0FMqwTzGkvWS0e5v1SdYsyB5Vhpo+sl6gGTU= 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)(13015025)(13017025)(13023025)(13024025)(13018025)(5005006)(8121501046)(3002001)(10201501046)(6055026)(6096035)(20161123565025)(20161123563025)(20161123556025)(20161123559025)(20161123561025); SRVR:BN6PR03MB2467; BCL:0; PCL:0; RULEID:(400006); SRVR:BN6PR03MB2467; X-Microsoft-Exchange-Diagnostics: 1; BN6PR03MB2467; 4:RwfVmUdgmwiUZkFHmYgDvlBNrrWbRWXF9Wh1Hkqo1cANgZH2m1FIlTW9V6u/Ln5PFIl3FQ+3uwQCEGhHMueRk8081rCMJpQ7bQoNIXNU9ORlXS5tGkVyBz1zAu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ay6uvHRGOge0XF2vswQ3MYn15IPEk0HJVHWVZ7qRlBLWKtDoRoyid9Fukc+v1E30j9Cn9+yA== X-MS-Exchange-CrossTenant-OriginalArrivalTime: 23 Jan 2017 12:00:12.0085 (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: BN6PR03MB2467 Subject: [dpdk-dev] [PATCHv6 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: Mon, 23 Jan 2017 12:00:14 -0000 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 [3], 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) Common dpaa2 hw accelerator drivers for QBMAN. 3. (Patches 0003-0017) introduce fsl-mc bus, dpaa2 pmd, DPIO and mempool 4. (Patches 0018-0031) Support for DPAA2 Ethernet Device (ethdev) 5. (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. 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. Future 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. shared lib support in case of parallel build fails due to dependency of drivers/common, pool, etc on other driver components. The dependency graph need to be improved to support it. References: [1] http://dpdk.org/dev/patchwork/patch/19557/ [2] https://www.kernel.org/doc/readme/drivers-staging-fsl-mc-README.txt [3] http://dpdk.org/ml/archives/dev/2016-October/048949.html --- v6: * rebased over master (61207d0) * removing DPAA2_COMMON as configurable option * renaming drivers bus, pool libraries removing 'pmd' * Headers of Licenses * exposed variable renaming with *rte_* prefix * handling Ferruh's comment for NXP dpaa2 driver * moving around MAINTAINER and DOC file patches v5: * rebased over master (6818a7f4) v4: * rebased over master (1feda4d8) and patches from Shreyansh [1] for Bus Arch. 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 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 eal/vfio: adding vfio utility functions in map file bus/fslmc: add vfio support bus/fslmc: scan for net and sec devices net/dpaa2: introducing NXP dpaa2 pmd driver doc: add dpaa2 nic details 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 | 21 + config/defconfig_arm64-dpaa2-linuxapp-gcc | 27 +- doc/guides/nics/dpaa2.rst | 593 ++++++++ doc/guides/nics/features/dpaa2.ini | 18 + doc/guides/nics/index.rst | 1 + doc/guides/rel_notes/release_17_02.rst | 12 +- drivers/Makefile | 3 + drivers/bus/Makefile | 38 + drivers/bus/fslmc/Makefile | 79 ++ drivers/bus/fslmc/fslmc_bus.c | 135 ++ 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 | 237 ++++ drivers/bus/fslmc/mc/dpio.c | 279 ++++ drivers/bus/fslmc/mc/dpni.c | 739 ++++++++++ drivers/bus/fslmc/mc/dpseci.c | 534 +++++++ drivers/bus/fslmc/mc/fsl_dpbp.h | 227 +++ drivers/bus/fslmc/mc/fsl_dpbp_cmd.h | 83 ++ drivers/bus/fslmc/mc/fsl_dpio.h | 282 ++++ drivers/bus/fslmc/mc/fsl_dpio_cmd.h | 121 ++ drivers/bus/fslmc/mc/fsl_dpkg.h | 184 +++ drivers/bus/fslmc/mc/fsl_dpni.h | 1217 ++++++++++++++++ drivers/bus/fslmc/mc/fsl_dpni_cmd.h | 334 +++++ drivers/bus/fslmc/mc/fsl_dpseci.h | 668 +++++++++ drivers/bus/fslmc/mc/fsl_dpseci_cmd.h | 255 ++++ drivers/bus/fslmc/mc/fsl_mc_cmd.h | 238 ++++ drivers/bus/fslmc/mc/fsl_mc_sys.h | 105 ++ drivers/bus/fslmc/mc/fsl_net.h | 487 +++++++ drivers/bus/fslmc/mc/mc_sys.c | 114 ++ 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_bus_fslmc_version.map | 61 + drivers/bus/fslmc/rte_fslmc.h | 148 ++ drivers/common/Makefile | 48 + drivers/common/dpaa2/Makefile | 48 + drivers/common/dpaa2/qbman/Makefile | 70 + drivers/common/dpaa2/qbman/include/compat.h | 406 ++++++ .../common/dpaa2/qbman/include/fsl_qbman_base.h | 160 +++ .../common/dpaa2/qbman/include/fsl_qbman_portal.h | 1093 ++++++++++++++ drivers/common/dpaa2/qbman/qbman_portal.c | 1495 ++++++++++++++++++++ drivers/common/dpaa2/qbman/qbman_portal.h | 277 ++++ drivers/common/dpaa2/qbman/qbman_private.h | 170 +++ drivers/common/dpaa2/qbman/qbman_sys.h | 385 +++++ drivers/common/dpaa2/qbman/qbman_sys_decl.h | 73 + .../dpaa2/qbman/rte_common_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 | 1042 ++++++++++++++ drivers/net/dpaa2/dpaa2_ethdev.h | 83 ++ drivers/net/dpaa2/dpaa2_rxtx.c | 422 ++++++ drivers/net/dpaa2/rte_pmd_dpaa2_version.map | 4 + drivers/pool/Makefile | 40 + drivers/pool/dpaa2/Makefile | 71 + drivers/pool/dpaa2/dpaa2_hw_mempool.c | 352 +++++ drivers/pool/dpaa2/dpaa2_hw_mempool.h | 95 ++ drivers/pool/dpaa2/rte_pool_dpaa2_version.map | 8 + lib/librte_eal/bsdapp/eal/rte_eal_version.map | 3 + lib/librte_eal/linuxapp/eal/rte_eal_version.map | 3 + mk/machine/dpaa2/rte.vars.mk | 5 +- mk/rte.app.mk | 4 + 66 files changed, 15984 insertions(+), 5 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_bus_fslmc_version.map create mode 100644 drivers/bus/fslmc/rte_fslmc.h 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_common_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_pool_dpaa2_version.map -- 1.9.1