[v3,00/15] Upgrade DPAA2 FW and other feature/bug fixes
Message ID | 20181012100426.29349-1-shreyansh.jain@nxp.com (mailing list archive) |
---|---|
Headers |
Return-Path: <dev-bounces@dpdk.org> X-Original-To: patchwork@dpdk.org Delivered-To: patchwork@dpdk.org Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 0B89D1B1C6; Fri, 12 Oct 2018 12:05:43 +0200 (CEST) Received: from EUR01-HE1-obe.outbound.protection.outlook.com (mail-he1eur01on0068.outbound.protection.outlook.com [104.47.0.68]) by dpdk.org (Postfix) with ESMTP id E19661B134 for <dev@dpdk.org>; Fri, 12 Oct 2018 12:05:41 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=50Qy9T9AKzXjC9kgW74CKm4DVeF4Ol+JK+taZfIAyxM=; b=Qaf0Jf6u2KCW6xrYT9hbUAAAjEkxO7fPDMJfH3l/v1T9x6LrUHDTdFg80D/rg5BtPmMi3kWKBQ4oReQ1YeZrw6T26RnTLbY3dK1YBZlXOc6CbklAHdddeqthzVVaxJlN0uysRzwUGxjuG20os0sWCEi5V62fGe3WuOcqewVFdvA= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=shreyansh.jain@nxp.com; Received: from Tophie.ap.freescale.net (14.142.187.166) by AM0PR04MB4676.eurprd04.prod.outlook.com (2603:10a6:208:75::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1228.25; Fri, 12 Oct 2018 10:05:39 +0000 From: Shreyansh Jain <shreyansh.jain@nxp.com> To: thomas@monjalon.net Cc: ferruh.yigit@intel.com, dev@dpdk.org, Shreyansh Jain <shreyansh.jain@nxp.com> Date: Fri, 12 Oct 2018 15:34:11 +0530 Message-Id: <20181012100426.29349-1-shreyansh.jain@nxp.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180926180440.31726-1-shreyansh.jain@nxp.com> References: <20180926180440.31726-1-shreyansh.jain@nxp.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [14.142.187.166] X-ClientProxiedBy: BMXPR01CA0004.INDPRD01.PROD.OUTLOOK.COM (2603:1096:b00:d::14) To AM0PR04MB4676.eurprd04.prod.outlook.com (2603:10a6:208:75::18) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: c83c49a0-c165-44f3-ce7f-08d6302a43bc X-MS-Office365-Filtering-HT: Tenant X-Microsoft-Antispam: BCL:0; PCL:0; RULEID:(7020095)(4652040)(8989299)(4534185)(7168020)(4627221)(201703031133081)(201702281549075)(8990200)(5600074)(711020)(4618075)(2017052603328)(7153060)(7193020); SRVR:AM0PR04MB4676; X-Microsoft-Exchange-Diagnostics: 1; AM0PR04MB4676; 3:+VbdmcW/T9rXI6qBEGDGcBe8Xy15NkzIN6wcQz9EZBRu4Vfi7zCRUNXDqTzvZq1lGHBbFkf6KLSNkyOWLTYcxC9J4RzrskzrqJmX2PQu4xK2wAWgaC8Vk3k9O68ITUs19ojhYSW7SAFntW6hPkxE24XG3ihNC7ooyDvpQserhoo41lbXwbzexpd1ZN9SYTect/SWUn8oLyjJTzgkqT7TLqrPL7DXmrKhU6w2S9xIMeG8bBylSAD7k7CMD9c2SdQO; 25:Sd2UqTaQWlFC+waEO7EOcb5PxU0FbNbj/yf/Elu0IWolcaa/ZKGdi2BZlSp7shDFCw92dplC3MuJc55mxbmdxuywbDJaRxcUjesBeQfcxyDGHZ4vMyjCkM/0jkRbcGNvWlRhjgT72xEXq82GlA4fX5cG/CfYyQgoaUCTHgm6kZ5PdntV+/eXPwWQsVbs/+mmgJcVq/859d+4ckJuCd2TKCu8WMvnDwl4MYq3y2C8pg+7RCuLi++ma7GWjj7DnhSs25RrN0mbHxO/8A2zvQASGLJ+KqrkNkn+y4w2TuZSgiEeCuPfW2rgUrtXl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uflNtL55EtuHzD7Et3ucUBSXVVDxNhkefyFJ32NpUZ5gvQPbxIBh1D5bH2soJNehR0VQbJB6YeBFy+ImsjIybuaM/njlvwCzUJPCZkHGfRabAsmtxq6n49EGQOhLknZ21cvIQ4= X-Microsoft-Antispam-PRVS: <AM0PR04MB4676AC237573149F97EAC14F90E20@AM0PR04MB4676.eurprd04.prod.outlook.com> X-Exchange-Antispam-Report-Test: UriScan:(227817650892897)(275809806118684); X-MS-Exchange-SenderADCheck: 1 X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(5005006)(8121501046)(93006095)(93001095)(10201501046)(3002001)(3231355)(944501410)(4982022)(52105095)(6055026)(149066)(150057)(6041310)(20161123558120)(20161123562045)(20161123564045)(20161123560045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(201708071742011)(7699051); SRVR:AM0PR04MB4676; BCL:0; PCL:0; RULEID:; SRVR:AM0PR04MB4676; X-Forefront-PRVS: 0823A5777B X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(376002)(396003)(346002)(366004)(136003)(39860400002)(199004)(189003)(2906002)(52116002)(16526019)(14444005)(53936002)(8676002)(966005)(347745004)(478600001)(186003)(386003)(446003)(105586002)(7736002)(106356001)(6512007)(6306002)(6116002)(86362001)(3846002)(81156014)(50226002)(68736007)(1076002)(47776003)(5660300001)(6506007)(8936002)(78486009)(36756003)(316002)(26005)(66066001)(6666004)(25786009)(55236004)(81166006)(11346002)(48376002)(76176011)(44832011)(2361001)(956004)(51416003)(2616005)(97736004)(1006002)(50466002)(486006)(476003)(305945005)(16586007)(6916009)(4326008)(6486002)(2351001)(110426005); DIR:OUT; SFP:1101; SCL:1; SRVR:AM0PR04MB4676; H:Tophie.ap.freescale.net; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; Received-SPF: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii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2ggixJDLG0x2uK7/fBY0Oi2gzqJQlSpoF9P/W8i+X2nRzWddnSsG/rRuxvtvSoQ8ZsrUgdqvj4GUtrsWhxN8gm74DTuK/GzcRtK0YIHur5sFi+TOSqa3NY02Rij2sxq08LlinzINbHApg0rvA8oGjziBGgTWJqJeYjrq8xsTPlA==; 5:6ZiErf9j48Nxx/HmopGNRaOkXaXoWNujjIlHRhKgHj3XC29LK9U5vVrIaqtJRh+RDlUvMESbSUgZmfxzGHzzMn28ppnY8h6hq4pjoNQ/3PoeQfpvj0OynpEC/LUle2YIYBBlP+vxP+Q7DXXBb++lpIOvpjznAIc233CNtkwBnLU=; 7:eKDXVdD7D/Z1s/TQeYtHejEVkkwqzI7xn5Iiqd+tS3qAfo22be26iOPg4YbmEwPqGo8N55IGpM6jwGeCOmN1zMXMl46i1fkN9z64kh2KZJYSE0Rea9GiJ3iytHNmiCS1BKn7K1pNsWSTBDvjaGaA2n1HxiDkdfqv4FOVXvh6ysR6ASO+vWvVaLodMDI2IVBMVh8r77+Ukpl/hHGnedDb9wRaqsnejNDpzBlwvA3Fs2G4OqDRUTcwbHjayQBJi6PT SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Oct 2018 10:05:39.2743 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: c83c49a0-c165-44f3-ce7f-08d6302a43bc X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR04MB4676 Subject: [dpdk-dev] [PATCH v3 00/15] Upgrade DPAA2 FW and other feature/bug fixes X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions <dev.dpdk.org> List-Unsubscribe: <https://mails.dpdk.org/options/dev>, <mailto:dev-request@dpdk.org?subject=unsubscribe> List-Archive: <http://mails.dpdk.org/archives/dev/> List-Post: <mailto:dev@dpdk.org> List-Help: <mailto:dev-request@dpdk.org?subject=help> List-Subscribe: <https://mails.dpdk.org/listinfo/dev>, <mailto:dev-request@dpdk.org?subject=subscribe> Errors-To: dev-bounces@dpdk.org Sender: "dev" <dev-bounces@dpdk.org> |
Message
Shreyansh Jain
Oct. 12, 2018, 10:04 a.m. UTC
About the series: This series of patches upgrades the DPAA2 driver firmware to v10.10.10 (MC Firmware). As the bus/fslmc is modified, it is a dependent object for other drivers like net/crypto/qdma. Also, the changes are mostly tightly linked - thus, the patches include upgrade as well as sequential changes to driver. Once done, it would imply that DPAA2 driver won't work with any MC FW lower than 10.10.10. Support for this new firmware is available in publically available LSDK (Layerscape SDK) release [1]. Besides the FW change, there are other subtle changes as well: - Support reading the MAC address from NIC device, rather than using a default MAC - Adding support for QBMan 5.0 FW APIs - Some patches for NXP's LX2 platform specific features - And some bug fixes. Dependency: * These patches are based on net-next/master 58c3b609699a8c * Series [1] is logically related to this, but has no git/patch related dependency. It is series for upgrade of DPAA. [1] https://lsdk.github.io/index.html [2] http://patches.dpdk.org/project/dpdk/list/?series=1090&state=* Version History: v2->v3: - Rebased over master (662e382244) v1->v2: - Bumped up the version of the libraries (pmd/bus/crypto/event) as the first set of patches (MC firmware update) breaks the internal ABI - Added support for ordered processing APIs. These APIs are expected to be used in subseqent feature updates on DPAA2 ethernet driver. - Some internal bug fixes. (Patches increased from 11~15) Hemant Agrawal (9): net/dpaa2: fix VLAN filter enablement bus/fslmc: upgrade mc FW APIs to 10.10.0 net/dpaa2: upgrade dpni to mc FW APIs to 10.10.0 crypto/dpaa2_sec: upgarde mc FW APIs to 10.10.0 net/dpaa2: update RSS value in mbuf for lx2 platform net/dpaa2: optimize the fd reset in Tx path net/dpaa2: enhance the queue memory cleanup routines net/dpaa2: support MBUF VLAN tci population from HW parser net/dpaa2: support Rx checksum offload in slow parsing Nipun Gupta (4): net/dpaa2: fix IOVA conversion for congestion memory bus/fslmc: support memory backed portals with QBMAN 5.0 bus/fslmc: support 32 enq and deq for LX2 platform bus/fslmc: disable annotation prefetch for LX2 Shreyansh Jain (2): net/dpaa2: read hardware provided MAC for DPNI devices net/dpaa2: add per queue stats get and reset support drivers/bus/fslmc/mc/dpbp.c | 10 + drivers/bus/fslmc/mc/dpci.c | 197 +++++ drivers/bus/fslmc/mc/dpcon.c | 30 + drivers/bus/fslmc/mc/dpdmai.c | 14 + drivers/bus/fslmc/mc/dpio.c | 9 + drivers/bus/fslmc/mc/fsl_dpbp.h | 1 + drivers/bus/fslmc/mc/fsl_dpbp_cmd.h | 16 +- drivers/bus/fslmc/mc/fsl_dpci.h | 47 +- drivers/bus/fslmc/mc/fsl_dpci_cmd.h | 62 +- drivers/bus/fslmc/mc/fsl_dpcon.h | 19 + drivers/bus/fslmc/mc/fsl_dpdmai.h | 5 + drivers/bus/fslmc/mc/fsl_dpdmai_cmd.h | 20 +- drivers/bus/fslmc/mc/fsl_dpmng.h | 2 +- drivers/bus/fslmc/mc/fsl_dpopr.h | 85 ++ drivers/bus/fslmc/portal/dpaa2_hw_dpio.c | 197 +++-- drivers/bus/fslmc/portal/dpaa2_hw_dpio.h | 4 + drivers/bus/fslmc/portal/dpaa2_hw_pvt.h | 32 +- drivers/bus/fslmc/qbman/include/compat.h | 3 +- .../fslmc/qbman/include/fsl_qbman_portal.h | 33 +- drivers/bus/fslmc/qbman/qbman_portal.c | 764 +++++++++++++++--- drivers/bus/fslmc/qbman/qbman_portal.h | 30 +- drivers/bus/fslmc/qbman/qbman_sys.h | 100 ++- drivers/bus/fslmc/qbman/qbman_sys_decl.h | 4 + drivers/bus/fslmc/rte_bus_fslmc_version.map | 12 + drivers/crypto/dpaa2_sec/Makefile | 2 +- drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c | 8 +- drivers/crypto/dpaa2_sec/mc/dpseci.c | 128 ++- drivers/crypto/dpaa2_sec/mc/fsl_dpseci.h | 25 +- drivers/crypto/dpaa2_sec/mc/fsl_dpseci_cmd.h | 73 +- drivers/crypto/dpaa2_sec/meson.build | 2 + drivers/event/dpaa2/Makefile | 2 +- drivers/event/dpaa2/dpaa2_eventdev.c | 4 +- drivers/event/dpaa2/meson.build | 2 + drivers/mempool/dpaa2/Makefile | 2 +- drivers/mempool/dpaa2/meson.build | 2 + drivers/net/dpaa2/Makefile | 2 +- drivers/net/dpaa2/base/dpaa2_hw_dpni_annot.h | 40 + drivers/net/dpaa2/dpaa2_ethdev.c | 173 +++- drivers/net/dpaa2/dpaa2_rxtx.c | 95 ++- drivers/net/dpaa2/mc/dpni.c | 134 ++- drivers/net/dpaa2/mc/fsl_dpkg.h | 71 +- drivers/net/dpaa2/mc/fsl_dpni.h | 378 +++++---- drivers/net/dpaa2/mc/fsl_dpni_cmd.h | 87 +- drivers/net/dpaa2/mc/fsl_net.h | 2 +- drivers/net/dpaa2/meson.build | 2 + drivers/raw/dpaa2_cmdif/Makefile | 2 +- drivers/raw/dpaa2_cmdif/meson.build | 2 + drivers/raw/dpaa2_qdma/Makefile | 2 +- drivers/raw/dpaa2_qdma/dpaa2_qdma.c | 14 +- drivers/raw/dpaa2_qdma/dpaa2_qdma.h | 6 +- drivers/raw/dpaa2_qdma/meson.build | 2 + 51 files changed, 2374 insertions(+), 584 deletions(-) create mode 100644 drivers/bus/fslmc/mc/fsl_dpopr.h