From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM01-BN3-obe.outbound.protection.outlook.com (mail-bn3nam01on0059.outbound.protection.outlook.com [104.47.33.59]) by dpdk.org (Postfix) with ESMTP id 4E22C952 for ; Fri, 3 Mar 2017 08:13:13 +0100 (CET) Received: from BLUPR0301CA0008.namprd03.prod.outlook.com (10.162.113.146) by BN6PR03MB2946.namprd03.prod.outlook.com (10.175.126.12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.947.12; Fri, 3 Mar 2017 07:13:11 +0000 Received: from BN1BFFO11FD018.protection.gbl (2a01:111:f400:7c10::1:125) by BLUPR0301CA0008.outlook.office365.com (2a01:111:e400:5259::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.947.12 via Frontend Transport; Fri, 3 Mar 2017 07:13:10 +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; 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 BN1BFFO11FD018.mail.protection.outlook.com (10.58.144.81) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.933.11 via Frontend Transport; Fri, 3 Mar 2017 07:13:10 +0000 Received: from bf-netperf1.idc ([10.232.134.28]) by tx30smr01.am.freescale.net (8.14.3/8.14.0) with ESMTP id v237D503005035; Fri, 3 Mar 2017 00:13:06 -0700 From: Hemant Agrawal To: CC: , , , , , Date: Fri, 3 Mar 2017 18:16:17 +0530 Message-ID: <1488545223-25739-1-git-send-email-hemant.agrawal@nxp.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1487205586-6785-1-git-send-email-hemant.agrawal@nxp.com> References: <1487205586-6785-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: 131329987910409802; (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)(39850400002)(39380400002)(39450400003)(39410400002)(39860400002)(39840400002)(39400400002)(2980300002)(1110001)(1109001)(339900001)(199003)(189002)(9170700003)(33646002)(110136004)(53936002)(38730400002)(2351001)(4326008)(105606002)(8936002)(5660300001)(8676002)(81166006)(47776003)(50226002)(6666003)(2950100002)(85426001)(6916009)(77096006)(50466002)(36756003)(50986999)(23676002)(76176999)(106466001)(189998001)(5820100001)(5890100001)(356003)(2870700001)(92566002)(305945005)(2906002)(104016004)(6306002)(8656002)(54906002)(86362001)(626004); DIR:OUT; SFP:1101; SCL:1; SRVR:BN6PR03MB2946; H:tx30smr01.am.freescale.net; FPR:; SPF:Fail; MLV:ovrnspm; A:1; MX:1; PTR:InfoDomainNonexistent; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BN1BFFO11FD018; 1:ji4NTW8Tw1ObRvoXVlEzNGsbm0spSdV3JX0m/2R5rzI4xOWvRFb5qw4R3MiQ+lMdPBhr3GaL3UJWTcJ5LcKBP2m2bc57+k1bZxmDzDvqQQWD0TNILmaIRBIYcVBQvoQ74O/UgYR9GIZs3WVQURvC0cPc3xcDrxKpZPkA5+WrgxXXndRRcjQuZT7Mm/RPUQHM42BjxHV2seXjYAEuh2Nd3LY528afoa0LZGIE0KP3RbVzC2SX7oHqXBQlRJUKrjN3+zMOmK4UULBqucvM4FD2/MpMabp1MlUHdKGVmw/Rl7K2VUQLvlQ2S3x5D5gMQ/bKgJXXEl+iw+4bqG4r+bcU1MPXnce33ZAqwVbearBeZa0erZ8qNSTUChb0thRLJGkpPjvGt+1yWivjD2I+zTZhgLSjIUyA9fqbLYdS7dPbdirnLW+GaBwwcq6sRBwoGSaUFTrDJ3+SCLpi3keyVJPqaXcsqI95VJx9d2nUGb9WutbAnwPBNz8e7Ta1Do42XJzulvUG81HDJEr/j/OH7VK/LCdDsWRrIftnpMVCUhE/EkRvrU5YQf1Hq9IzXIA8aTn1IeeCwFBBRX9VINRtA/pZzhBHsLm613rSAmIl0cRmWyC06k+3kcWz9L4rInhj1uQiEtOEX81j48Ku8lrlJHeVzw== X-MS-Office365-Filtering-Correlation-Id: 5636982b-2c41-4006-32c2-08d46204c023 X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(22001);SRVR:BN6PR03MB2946; X-Microsoft-Exchange-Diagnostics: 1; BN6PR03MB2946; 3:ntn3ErezVYiTYN4dWoWrt0Az0tB+myU5JzEJHhR2Jd7cychBRf4JU4b0OUXjtLNYRx6tIhxA/aZSOZrvxkic2vEMuWOGksI0m8lb/vkKkn7BbNTrbqA5Va8wGVaba3+8xmUHHSJzjT4jUVq7ndmMavru+ews1aHQr5ngmc6qHf9xPwA5RHSg5AiHtmj716z6/jz/mzrczL/Xoh1oDHAvZyQqmGUKb1038K/qu74zRd+GVbKqF/KZVL1g06BLsQUT9joLPctbbmtHNBeYFfGp3iTmm/wAl0P9IXyNH8VkrB58Ga1O84O4Qp8szMyJxVbfqjcnwX8BRyDlQIOWPfUp/xi+Z1/qe9JJ6Zdo7M/oCDy856j8rYIoLjJnMjzd8GAR; 25:N08YpVkIUhhqJUAdTaguvbqiflwoiZrWztXJH4ND/Q1RtQVRxGzdBAEBOuJIjbQuPQ8TdewmcI6Bfz+LbErFE+2XHHATWO+2TlL37wY7T4uIy+u55bhGqzuwvW7mAL3lWw72ODUpE3NvU40EeFp0VF67YQXSBa7JyOK/wqQtXiTibOiM8jI93KD3HJHMC/9fUTmTL9qADcnHOD9H8JHB9FwbgTw+191J5NMpF+OyuH8twsOg9zyEuKd4hw/zTXxkC8OoL4xWOhMPJGjZ6Y4mnL6vJ8285gSasIu3hLdBvxqhF6FCmAHJDyQ6kCVxpDDMgyGkEGzrKbUQUx7SxeTadKeqIOOrLXH+LVgx0weH9saGb+ymq4Lc8c3K+sQKiBZsYj4IsPjS4O3+cotJzgkqXCILsPFGdYE4DTZZZPkemkRJPo3PH/M3Dz8gzmtEJVmQo32ruHbnCc66jhD2csb9Bw== X-Microsoft-Exchange-Diagnostics: 1; BN6PR03MB2946; 31:Ou+PZg8lTBHxzRcAAdL1T8Ps7q6A3wlUFP2fVo/q243naa3Ow9ssI/VPpt0ZJvQKcQgInCCBi4TJ5bkBW2z725WQKrFpuJMsINjMYo6PHyRW5RGDLPFd/Mu4+W3XC3Nh1XmgnMQYK+PIiQ+wU4ONcuFdGhZTbyYrNJFvG9+Rf8afALr+6KZ89WszoF4fEfQpfe4EEzpDEu91e6H2UDkwxTMXmpNchvG41+ZA+vMnOCGfn3HWgwdAAhsQ5b4nXiHb 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)(8121501046)(5005006)(13017025)(13015025)(13024025)(13018025)(13023025)(10201501046)(3002001)(6055026)(6096035)(20161123561025)(20161123559025)(20161123556025)(20161123565025)(20161123563025); SRVR:BN6PR03MB2946; BCL:0; PCL:0; RULEID:(400006); SRVR:BN6PR03MB2946; X-Microsoft-Exchange-Diagnostics: 1; BN6PR03MB2946; 4:uuo4EwuUNiu6fwcBdttrpmGmlYMRHgTpOyt0PELvS02ebCzjYru8LfhUhk4YjSV1sRrY9vLCJVMkKLYheyhl2HCYbTMLvOZH1jkq5VCJYHlOmZRg5L3rtMGw7ACzn1XgrJIKRLbb92UB8u6zfTAopmRjL1OZX30foyoOTQyiBEQuQAszoeJYGXNKh4X6LlJsapkq8vblk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WxcOY4D4MJRY5pbYEJitoSdmrE0brP6X4MLUa0w+Yx2hq783c=; 5:/KQH/tc61uNDngcqYzT1WE4WlKfQFhkZ9cW2VFpJAjAHCeCQjOaAKYNWxMjnntXUALLtbr/vVVmawuMO/8P79ZQOLbTfAbdxSLJYxWweUsizuRUlT8Pv8h8bMKR63cnW10Xa9JWjADhonH48DzN3GseBo99Ras8LqCy1pFr5Uiy64wwA+7bMdQJNGXqXlGNb; 24:OUOIWYDtcoQcDfQcpJfpWVYaJcRLi9Ykgt+j3ay9t58BQfbm4L1qcbS4YUCbZqlFCKv0FZCVpRwpXN/Jxl8vQVr9jungkqFSK7lWJIvDGSM= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; BN6PR03MB2946; 7:3SD3Zs+SNRUAZpyx/71SL3eQ23ZWtTwEyEiqEhTq5eBPAe1ETDrQIjmUyF0L8ePu6enZLRbRi8RKI0rejLmYUyR+iddkbV2LLRUN3pRpgl21S2xb/aiaMEk0eFcUtyytRw9Mhcq7KnInd5jEoWAFDqU4zJZsv2/0XufWlQc0fXFshTOT4CZKg1xV3OyOXcixBPdZpb1n8YJbcivjuo/OM6tMtMaOhVfrr1CH38g5oRt9oikb88zLkMP8lqLTDxAzMeH78Oh/nnXc4S7MT4Sang+AIZMzEkH5WzWE3T6DV7X9KF1pL9exm6fBO3rd9umTfLqclB7/ZwFOXvYi2nU5Ig== X-MS-Exchange-CrossTenant-OriginalArrivalTime: 03 Mar 2017 07:13:10.7134 (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: BN6PR03MB2946 Subject: [dpdk-dev] [PATCHv8 00/46] 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: Fri, 03 Mar 2017 07:13:13 -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 [1], 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. Make file changes for crc in armv8 core machine type and driver dependency 2. Indroducing fsl-mc bus as rte_bus, it's componenets. 3. Introducing dpaa2 pmd driver 4. Introducing dpaa2 mempool 5. Support for DPAA2 Ethernet Device (ethdev) 6. 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) is required. Information about obtaining relevant software is available in the docs as part of the patch. 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. References: [1] https://www.kernel.org/doc/readme/drivers-staging-fsl-mc-README.txt --- v8: * rebased over master (17.02: 35b09d76) * Removed all drivers/common/* code and moved to drivers/bus/fslmc * Updated documentation to remove non-open source dependency * Reduced shared symbols in map files v7: * rebased over master (17.02) * fix the shared lib compilation * re partitiion the patches as per Ferruh comments. * handling Ferruh's comment for NXP dpaa2 driver 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 (45): mk/dpaa2: add the crc support to the machine type bus/fslmc: introducing fsl-mc bus driver bus/fslmc: add QBMAN driver to bus bus/fslmc: introduce MC object functions bus/fslmc: add mc dpio object support bus/fslmc: add mc dpbp object support eal/vfio: adding vfio utility functions in map file bus/fslmc: add vfio support bus/fslmc: scan for net and sec device net/dpaa2: introducing NXP DPAA2 PMD driver doc: add DPAA2 NIC details bus/fslmc: add debug log support net/dpaa2: add debug log support config: enable support for DPAA2 debug logging net/dpaa2: add mc dpni object support bus/fslmc: dpio portal driver bus/fslmc: introduce support for hw mempool object pool/dpaa2: add DPAA2 hardware offloaded mempool bus/fslmc: affine dpio to crypto threads bus/fslmc: define queues for DPAA2 devices net/dpaa2: adding eth ops to dpaa2 net/dpaa2: add RSS flow distribution net/dpaa2: configure MAC address at init bus/fslmc: define hardware annotation area size net/dpaa2: attach the buffer pool to dpni bus/fslmc: introduce true and false macros net/dpaa2: add support for L3 and L4 checksum offload net/dpaa2: add support for promiscuous mode bus/fslmc: define VLAN header length net/dpaa2: add MTU configuration support bus/fslmc: add packet FLE definitions net/dpaa2: enable packet Rx and Tx operations net/dpaa2: support for Rx packet parsing and packet type net/dpaa2: link status update net/dpaa2: basic stats support net/dpaa2: enable stashing for LS2088A devices net/dpaa2: handle non-hardware backed buffer pool bus/fslmc: add physical-virtual address translation helpers pool/dpaa2: enable physical addressing for pool buffers net/dpaa2: enable physical addressing for packet buffers config: add configuration for toggling physical addressing bus/fslmc: add support for DMA mapping for ARM SMMU net/dpaa2: enable DMA Mapping during device scanning bus/fslmc: frame queue based dq storage alloc net/dpaa2: enable frame queue based dequeuing Shreyansh Jain (1): mk: handle intra drivers dependencies for shared build MAINTAINERS | 8 + config/common_base | 21 + config/defconfig_arm64-dpaa2-linuxapp-gcc | 27 +- doc/guides/nics/dpaa2.rst | 614 ++++++++ doc/guides/nics/features/dpaa2.ini | 18 + doc/guides/nics/index.rst | 1 + doc/guides/rel_notes/release_17_02.rst | 12 +- drivers/Makefile | 2 + 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/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_mc_cmd.h | 238 ++++ drivers/bus/fslmc/mc/fsl_mc_sys.h | 105 ++ 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/qbman/include/compat.h | 406 ++++++ drivers/bus/fslmc/qbman/include/fsl_qbman_base.h | 160 +++ drivers/bus/fslmc/qbman/include/fsl_qbman_portal.h | 1093 ++++++++++++++ drivers/bus/fslmc/qbman/qbman_portal.c | 1496 ++++++++++++++++++++ drivers/bus/fslmc/qbman/qbman_portal.h | 277 ++++ drivers/bus/fslmc/qbman/qbman_private.h | 170 +++ drivers/bus/fslmc/qbman/qbman_sys.h | 385 +++++ drivers/bus/fslmc/qbman/qbman_sys_decl.h | 73 + drivers/bus/fslmc/rte_bus_fslmc_version.map | 49 + drivers/bus/fslmc/rte_fslmc.h | 148 ++ drivers/net/Makefile | 2 +- drivers/net/dpaa2/Makefile | 77 + 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 | 1040 ++++++++++++++ drivers/net/dpaa2/dpaa2_ethdev.h | 83 ++ drivers/net/dpaa2/dpaa2_rxtx.c | 422 ++++++ drivers/net/dpaa2/mc/dpni.c | 739 ++++++++++ drivers/net/dpaa2/mc/fsl_dpkg.h | 184 +++ drivers/net/dpaa2/mc/fsl_dpni.h | 1217 ++++++++++++++++ drivers/net/dpaa2/mc/fsl_dpni_cmd.h | 334 +++++ drivers/net/dpaa2/mc/fsl_net.h | 487 +++++++ drivers/net/dpaa2/rte_pmd_dpaa2_version.map | 4 + drivers/pool/Makefile | 40 + drivers/pool/dpaa2/Makefile | 72 + 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 | 3 + mk/rte.lib.mk | 2 +- 60 files changed, 14347 insertions(+), 6 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/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_mc_cmd.h create mode 100644 drivers/bus/fslmc/mc/fsl_mc_sys.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/qbman/include/compat.h create mode 100644 drivers/bus/fslmc/qbman/include/fsl_qbman_base.h create mode 100644 drivers/bus/fslmc/qbman/include/fsl_qbman_portal.h create mode 100644 drivers/bus/fslmc/qbman/qbman_portal.c create mode 100644 drivers/bus/fslmc/qbman/qbman_portal.h create mode 100644 drivers/bus/fslmc/qbman/qbman_private.h create mode 100644 drivers/bus/fslmc/qbman/qbman_sys.h create mode 100644 drivers/bus/fslmc/qbman/qbman_sys_decl.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/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/mc/dpni.c create mode 100644 drivers/net/dpaa2/mc/fsl_dpkg.h create mode 100644 drivers/net/dpaa2/mc/fsl_dpni.h create mode 100644 drivers/net/dpaa2/mc/fsl_dpni_cmd.h create mode 100644 drivers/net/dpaa2/mc/fsl_net.h 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