From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM01-BN3-obe.outbound.protection.outlook.com (mail-bn3nam01on0045.outbound.protection.outlook.com [104.47.33.45]) by dpdk.org (Postfix) with ESMTP id 632264A59 for ; Sun, 4 Dec 2016 13:43:40 +0100 (CET) Received: from DM2PR03CA0049.namprd03.prod.outlook.com (10.141.96.48) by BN1PR0301MB0737.namprd03.prod.outlook.com (10.160.78.144) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.747.10; Sun, 4 Dec 2016 12:43:38 +0000 Received: from BN1AFFO11FD040.protection.gbl (2a01:111:f400:7c10::100) by DM2PR03CA0049.outlook.office365.com (2a01:111:e400:2428::48) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.721.10 via Frontend Transport; Sun, 4 Dec 2016 12:43:37 +0000 Authentication-Results: spf=fail (sender IP is 192.88.168.50) 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.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 BN1AFFO11FD040.mail.protection.outlook.com (10.58.52.251) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.734.4 via Frontend Transport; Sun, 4 Dec 2016 12:43:37 +0000 X-IncomingTopHeaderMarker: OriginalChecksum:; UpperCasedChecksum:; SizeAsReceived:594; Count:11 Received: from bf-netperf1.idc ([10.232.134.28]) by tx30smr01.am.freescale.net (8.14.3/8.14.0) with ESMTP id uB4ChXb3032240; Sun, 4 Dec 2016 05:43:34 -0700 From: Hemant Agrawal To: CC: , , Date: Sun, 4 Dec 2016 23:46:55 +0530 Message-ID: <1480875447-23680-1-git-send-email-hemant.agrawal@nxp.com> X-Mailer: git-send-email 1.9.1 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit X-IncomingHeaderCount: 11 X-EOPAttributedMessage: 0 X-Matching-Connectors: 131253290176406853; (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)(2980300002)(1109001)(1110001)(339900001)(336004)(189002)(199003)(50466002)(5660300001)(39380400001)(39450400002)(39410400001)(47776003)(77096006)(39400400001)(110136003)(104016004)(97736004)(33646002)(86362001)(356003)(626004)(68736007)(8666005)(5820100001)(7846002)(85426001)(5890100001)(189998001)(2906002)(38730400001)(92566002)(105606002)(6916009)(2870700001)(15395725005)(2351001)(106466001)(36756003)(81156014)(8676002)(305945005)(8936002)(81166006)(6666003)(4326007)(50226002)(50986999)(23676002)(7059030); DIR:OUT; SFP:1101; SCL:1; SRVR:BN1PR0301MB0737; H:tx30smr01.am.freescale.net; FPR:; SPF:Fail; PTR:InfoDomainNonexistent; MX:1; A:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BN1AFFO11FD040; 1:Luj6jNzz5Dxei555tNENraZN+RWiHHVLUGOtFybiTIYZkYhseB3PsubHGk19+LbvAWEsDRjeSTyyMs5+Pol33UkyqTqY9Q2Yw0t+qyX7BdqYuUi/+IdEMSKH8Lpv6A+hoj/+mxM0nsLwbhzoUOSzjdk/pPY8N+jz5Hgig/FOBH9yfoWA56pNGZWjqePE+1ruTLsrBtDERDum4lN0EoApKmWa553zamOwTcPgV8ocRMmJ/9NX9cSr9x7KxoUE1zEWAZ5z8TUdKPOlgj2iLzjBDf0ys6g1jkVDXh2KF/JMoD1f/FMZtGYA8DLczooYfsLpLClLk2cCRRos+E7kqtNRHJ6yDErezlqHSZSXHCNhyS5HJDWN3NWi8bimZ3c80QOAeT0lTCjNe+mzZxWwNflXky3iUjgVia+cQSShQC8DcmdogbGgaV6gUj4+QIzofOrfS/zImOC6hGH4LjIITyYDykSD2f+oUPvjCM3uBBxZ0KSdY2i78EW4pW3ZTQvqcn8PaV+8WXcSWED5LmWTU29Y02yuaq9HtkHXfFYJVDS3/D4kymf0w9O5rwXmep2MzDPbmocHqIerHwnhbUoFCPm0jcBSBKm9M1wP5IzVpEq1HfMcVZ0G6kOUsg0GCKTFU/6jGrABbfHOIArbsq1eYJPn5kmh1lnU9XBY1CTk6QI1j2h0jd62DoQCb8NAF5CQD94zV23bCX8yl8Bj/RTQJYWXRve1QIeZLuj4XW0uNcDwhGHNS7Xb5XUCXgHhE8DrBYRhU2zoS/+UN2+RWMTwliLtTw== X-MS-Office365-Filtering-Correlation-Id: 2055d47b-023a-4e76-78dc-08d41c432af2 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001); SRVR:BN1PR0301MB0737; X-Microsoft-Exchange-Diagnostics: 1; BN1PR0301MB0737; 3:ODAJTwr+Dxg6ZAlWOhYoNtSBAW0oOMqF7XCrcbYHteG3Bhh+7sn3tvenRYj0pj9zX8zk+JWM874ou1h4D6DBthigQC2LyyWbZ5sw54XobaERae57Wq4SsU5Dwm5VteGyzj+ZqTJnEVgF0cXy2lgUuIf45jciDAzfZa0LxPfW/+vTF7GqGdJNovIlQiW2VbPa18X/Vq4etL8e3VwFm5PqZMaJBZjMMVoTv5PI15VpJ18U2ARbQjvCCI1r1toAiOmuUhqwURbcb+hqLd7C7IzeixdwTXZiNVxB4L96/DL0p+LDeQqb1U9niKSHG/rGbhybBn0gnRxuzNTEi0dwg/sQHNris8CK20dS7aQbbcvWy+7UsDQbFNwk5076WUMrKi4L X-Microsoft-Exchange-Diagnostics: 1; BN1PR0301MB0737; 25:TFW3mfDPYn8d6FFfqN1qyaYFqIczKDKRwYXBcRAlr63ogBgriJN+dhk9xcMHoMaLxz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QkeyWtmVMseDyggpXihnjl6bol2cLWjeM3hCbGGhbFhXH2qjG6YNhDWdy6Z4XXGSBUDZxkVAaoy5PN8WN6/ST6zn2kcQlTqLYXg= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6095060)(601004)(2401047)(13018025)(13017025)(13015025)(13023025)(8121501046)(5005006)(13024025)(10201501046)(3002001)(6055026)(6096035)(20161123556025)(20161123565025)(20161123563025)(20161123561025)(20161123559025); SRVR:BN1PR0301MB0737; BCL:0; PCL:0; RULEID:(400006); SRVR:BN1PR0301MB0737; X-Microsoft-Exchange-Diagnostics: 1; BN1PR0301MB0737; 4:SgiSHoRsM3JPcqw7e4jb7QYRPVaer2XqRy3GNHwaC1jmpRvZMS2V5mYODTKrRfTWlrD8w2Zo/Se6HRawqtjgK6rwFGehUuPoXrpscDLcsfEaVfprK31IC8DXU0IErOyCvt+eh4o2bOs/cOp+QYzZfMxl1osM6z4SgO8KROi1yAPwKm0ujswex0orvYM1RxICbr2vl4IWLJSIuHtkQB6rrrcdEYM/FeQV+IMZpOAHDSkCFw6D9FQVg0vCAYy0HGcjXmX0iM1cKjC1Gvt5Ubyyn+bQXOGMJ78Imd/tRZmqri6Nlk86u37bW7JpQNLw7gIrf9U8WxZX4mF04aFSFLCofnkdWT0wquTtX1lGecWONa1AxlI6FAAAct0GRAuelDXdm5uYC/bv00sUv/ewy7pI/iGI3MUUc+4vom53GoiEomKEzN+dr/vj7vCRVFwLTO/+5gwxtynof7h2/mBRgj5Wx8HemfddjvH+gSeMcAF5Lmrna0kMME951LvdOajkbDzFjfRBISryHr2nAlVWCGazinFBBa7ZefKc3UWwd/w5SMc0iam6T5S9c6jPY52H89ENJqYm++kfpP8m/9uoAh5xo57he4WYPgIg3rTc/pVHczxm4xdhyiZOss+d8vTdbTqqXGOfzXTwnqZk1JswlJt09CUIam1JDCfdkHIPsvdPoDGJizgLEk8VjR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xIyMPbHo2mTaW7jA95Km2TY4u2ainQY1etTuSsR/3HIgdHZF/KZQuXTqO5pApt11+/VUtkDBCvKJMsRdMt01k8bdnOn5yIa3Wb/PDrYC3J5CZ3ybpWzSlkN5SJROQD8TaJnuK3nbJ1/DeOdzQw6clrhuzELCRzk8eduoXIL8r40IM/IG49JFTiHBr4IUKXW2Yq4oVU2kxkP0W7YUZ+1I6LBqSywlRLASs4XNrL6FGD5qWlDCFQ== X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Dec 2016 12:43:37.3130 (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: BN1PR0301MB0737 Subject: [dpdk-dev] [PATCH 00/32] 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: Sun, 04 Dec 2016 12:43:40 -0000 The patch series adds NXP’s QorIQ-Layerscape DPAA2 Architecture based 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) DPAA2 Architecture overview document 2. (Patches 0002-0007) Common dpaa2 hw accelerator drivers for MC and QBMAN. 3. (Patch 0008) Enabling crc in armv8 core machine type 4. (Patch 0009) Adding rte_device in rte_eth_dev 5. (Patches 0010-0013) introduce DPAA2 bus and VFIO routines 6. (Patches 0014-0017) dpio and dpbp object drivers 7. (Patches 0018-0027) Support for DPAA2 Ethernet Device (ethdev) 8. (Patches 0028-0032) Additional functionality in DPAA2 ethdev. The following design decisions are made during development: 1. DPAA2 implements a new bus called "dpaa2" 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. - For the purpose of this 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 as a PoC. 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] and SoC Patchset [3] [1] http://dpdk.org/ml/archives/dev/2016-December/051349.html [2] https://www.kernel.org/doc/readme/drivers-staging-fsl-mc-README.txt [3] http://dpdk.org/ml/archives/dev/2016-October/048949.html Hemant Agrawal (32): doc: add dpaa2 nic details drivers/common: introducing dpaa2 mc driver drivers/common/dpaa2: add mc dpni object support drivers/common/dpaa2: add mc dpio object support drivers/common/dpaa2: add mc dpbp object support drivers/common/dpaa2: add mc dpseci object support drivers/common/dpaa2: adding qbman driver mk/dpaa2: add the crc support to the machine type lib/ether: add rte_device in rte_eth_dev net/dpaa2: introducing dpaa2 bus driver for fsl-mc bus net/dpaa2: add dpaa2 vfio support net/dpaa2: vfio scan for net and sec device net/dpaa2: add debug log macros net/dpaa2: dpio object driver net/dpaa2: dpio routine to affine to crypto threads net/dpaa2: dpio add support to check SOC type net/dpaa2: dpbp based mempool hw offload driver net/dpaa2: introducing dpaa2 pmd driver net/dpaa2: adding eth ops to dpaa2 net/dpaa2: add queue configuration support 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: add support for physical address usages net/dpaa2: rx packet parsing and packet type support net/dpaa2: frame queue based dq storage alloc net/dpaa2: add support for non hw buffer pool packet transmit net/dpaa2: enable stashing for LS2088A devices config/defconfig_arm64-dpaa2-linuxapp-gcc | 15 +- doc/guides/nics/dpaa2.rst | 537 +++++++ doc/guides/nics/features/dpaa2.ini | 16 + doc/guides/nics/index.rst | 1 + drivers/Makefile | 1 + drivers/common/Makefile | 36 + drivers/common/dpaa2/Makefile | 37 + drivers/common/dpaa2/mc/Makefile | 57 + drivers/common/dpaa2/mc/dpaa2_mc_version.map | 4 + drivers/common/dpaa2/mc/dpbp.c | 230 +++ drivers/common/dpaa2/mc/dpio.c | 272 ++++ drivers/common/dpaa2/mc/dpni.c | 667 +++++++++ drivers/common/dpaa2/mc/dpseci.c | 527 +++++++ drivers/common/dpaa2/mc/fsl_dpbp.h | 220 +++ drivers/common/dpaa2/mc/fsl_dpbp_cmd.h | 76 + drivers/common/dpaa2/mc/fsl_dpio.h | 275 ++++ drivers/common/dpaa2/mc/fsl_dpio_cmd.h | 114 ++ drivers/common/dpaa2/mc/fsl_dpkg.h | 177 +++ drivers/common/dpaa2/mc/fsl_dpni.h | 1076 ++++++++++++++ drivers/common/dpaa2/mc/fsl_dpni_cmd.h | 301 ++++ drivers/common/dpaa2/mc/fsl_dpseci.h | 661 +++++++++ drivers/common/dpaa2/mc/fsl_dpseci_cmd.h | 248 ++++ drivers/common/dpaa2/mc/fsl_mc_cmd.h | 231 +++ drivers/common/dpaa2/mc/fsl_mc_sys.h | 98 ++ drivers/common/dpaa2/mc/fsl_net.h | 480 +++++++ drivers/common/dpaa2/mc/mc_sys.c | 126 ++ drivers/common/dpaa2/qbman/Makefile | 55 + drivers/common/dpaa2/qbman/dpaa2_qbman_version.map | 4 + drivers/common/dpaa2/qbman/include/compat.h | 550 ++++++++ .../common/dpaa2/qbman/include/fsl_qbman_base.h | 157 +++ .../common/dpaa2/qbman/include/fsl_qbman_portal.h | 1089 +++++++++++++++ drivers/common/dpaa2/qbman/qbman_portal.c | 1476 ++++++++++++++++++++ drivers/common/dpaa2/qbman/qbman_portal.h | 269 ++++ drivers/common/dpaa2/qbman/qbman_private.h | 164 +++ drivers/common/dpaa2/qbman/qbman_sys.h | 375 +++++ drivers/common/dpaa2/qbman/qbman_sys_decl.h | 69 + drivers/net/Makefile | 2 +- drivers/net/dpaa2/Makefile | 73 + drivers/net/dpaa2/base/dpaa2_hw_dpbp.c | 367 +++++ drivers/net/dpaa2/base/dpaa2_hw_dpbp.h | 101 ++ drivers/net/dpaa2/base/dpaa2_hw_dpio.c | 513 +++++++ drivers/net/dpaa2/base/dpaa2_hw_dpio.h | 76 + drivers/net/dpaa2/base/dpaa2_hw_dpni.c | 343 +++++ drivers/net/dpaa2/base/dpaa2_hw_dpni.h | 86 ++ drivers/net/dpaa2/base/dpaa2_hw_dpni_annot.h | 256 ++++ drivers/net/dpaa2/base/dpaa2_hw_pvt.h | 235 ++++ drivers/net/dpaa2/dpaa2_bus.c | 170 +++ drivers/net/dpaa2/dpaa2_ethdev.c | 723 ++++++++++ drivers/net/dpaa2/dpaa2_ethdev.h | 41 + drivers/net/dpaa2/dpaa2_logs.h | 77 + drivers/net/dpaa2/dpaa2_rxtx.c | 419 ++++++ drivers/net/dpaa2/dpaa2_vfio.c | 561 ++++++++ drivers/net/dpaa2/dpaa2_vfio.h | 74 + drivers/net/dpaa2/rte_dpaa2.h | 121 ++ drivers/net/dpaa2/rte_pmd_dpaa2_version.map | 4 + lib/librte_ether/rte_ethdev.h | 1 + mk/machine/dpaa2/rte.vars.mk | 5 +- mk/rte.app.mk | 1 + 58 files changed, 14936 insertions(+), 4 deletions(-) create mode 100644 doc/guides/nics/dpaa2.rst create mode 100644 doc/guides/nics/features/dpaa2.ini create mode 100644 drivers/common/Makefile create mode 100644 drivers/common/dpaa2/Makefile create mode 100644 drivers/common/dpaa2/mc/Makefile create mode 100644 drivers/common/dpaa2/mc/dpaa2_mc_version.map create mode 100644 drivers/common/dpaa2/mc/dpbp.c create mode 100644 drivers/common/dpaa2/mc/dpio.c create mode 100644 drivers/common/dpaa2/mc/dpni.c create mode 100644 drivers/common/dpaa2/mc/dpseci.c create mode 100644 drivers/common/dpaa2/mc/fsl_dpbp.h create mode 100644 drivers/common/dpaa2/mc/fsl_dpbp_cmd.h create mode 100644 drivers/common/dpaa2/mc/fsl_dpio.h create mode 100644 drivers/common/dpaa2/mc/fsl_dpio_cmd.h create mode 100644 drivers/common/dpaa2/mc/fsl_dpkg.h create mode 100644 drivers/common/dpaa2/mc/fsl_dpni.h create mode 100644 drivers/common/dpaa2/mc/fsl_dpni_cmd.h create mode 100644 drivers/common/dpaa2/mc/fsl_dpseci.h create mode 100644 drivers/common/dpaa2/mc/fsl_dpseci_cmd.h create mode 100644 drivers/common/dpaa2/mc/fsl_mc_cmd.h create mode 100644 drivers/common/dpaa2/mc/fsl_mc_sys.h create mode 100644 drivers/common/dpaa2/mc/fsl_net.h create mode 100644 drivers/common/dpaa2/mc/mc_sys.c create mode 100644 drivers/common/dpaa2/qbman/Makefile create mode 100644 drivers/common/dpaa2/qbman/dpaa2_qbman_version.map 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/net/dpaa2/Makefile create mode 100644 drivers/net/dpaa2/base/dpaa2_hw_dpbp.c create mode 100644 drivers/net/dpaa2/base/dpaa2_hw_dpbp.h create mode 100644 drivers/net/dpaa2/base/dpaa2_hw_dpio.c create mode 100644 drivers/net/dpaa2/base/dpaa2_hw_dpio.h create mode 100644 drivers/net/dpaa2/base/dpaa2_hw_dpni.c create mode 100644 drivers/net/dpaa2/base/dpaa2_hw_dpni.h create mode 100644 drivers/net/dpaa2/base/dpaa2_hw_dpni_annot.h create mode 100644 drivers/net/dpaa2/base/dpaa2_hw_pvt.h create mode 100644 drivers/net/dpaa2/dpaa2_bus.c 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_logs.h create mode 100644 drivers/net/dpaa2/dpaa2_rxtx.c create mode 100644 drivers/net/dpaa2/dpaa2_vfio.c create mode 100644 drivers/net/dpaa2/dpaa2_vfio.h create mode 100644 drivers/net/dpaa2/rte_dpaa2.h create mode 100644 drivers/net/dpaa2/rte_pmd_dpaa2_version.map -- 1.9.1