From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR01-VE1-obe.outbound.protection.outlook.com (mail-ve1eur01on0089.outbound.protection.outlook.com [104.47.1.89]) by dpdk.org (Postfix) with ESMTP id CE3BE1B437 for ; Wed, 26 Sep 2018 20:05:46 +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=PVVwJoFRFEjXhbt7cR9+AcIKjNkNv4wIbPzmJ6j/Oc4=; b=ClEVfngWPTLxDLdGq/ik341O8NLxtQ3uaXoTbD6cBCK0kL6wEP/K2Q50t1QQjr9jvT8Jc35C+IRc/1wt+COPUcl+44RL4A5J/GMLSEX0EZX4qKK3O9HEmEHHDr8zXBi+ExVFGjVA2qsFheiE6tWv5HSHPml2yi8+iaKNAqp8UGQ= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=shreyansh.jain@nxp.com; Received: from Tophie.ap.freescale.net (14.142.187.166) by AM6PR04MB4679.eurprd04.prod.outlook.com (2603:10a6:20b:1c::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1164.22; Wed, 26 Sep 2018 18:05:44 +0000 From: Shreyansh Jain To: dev@dpdk.org, ferruh.yigit@intel.com Cc: thomas@monjalon.net, Shreyansh Jain Date: Wed, 26 Sep 2018 23:34:25 +0530 Message-Id: <20180926180440.31726-1-shreyansh.jain@nxp.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180917103631.32304-1-shreyansh.jain@nxp.com> References: <20180917103631.32304-1-shreyansh.jain@nxp.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [14.142.187.166] X-ClientProxiedBy: MA1PR0101CA0014.INDPRD01.PROD.OUTLOOK.COM (2603:1096:a00:21::24) To AM6PR04MB4679.eurprd04.prod.outlook.com (2603:10a6:20b:1c::18) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: b9c16173-886c-4881-2eec-08d623daae76 X-MS-Office365-Filtering-HT: Tenant X-Microsoft-Antispam: BCL:0; PCL:0; RULEID:(7020095)(4652040)(8989299)(4534165)(7168020)(4627221)(201703031133081)(201702281549075)(8990200)(5600074)(711020)(4618075)(2017052603328)(7153060)(7193020); SRVR:AM6PR04MB4679; X-Microsoft-Exchange-Diagnostics: 1; AM6PR04MB4679; 3:o/2HPqEbNdByXP4ShesthZphDSmLfYs0Vi8EUnMdFaqCN0YFdgF28Kg/VrDtb16bCaB/gczsMq3VC2Wb/HEetpJGnwQktIrPYMm9/0wbFufhHMZ3hmtwF11o7YTGceShVMWOEU++J8ug9S+h5n9WRUhhzZerOjM6+nziomprGWK3yDcyRKRfCLatQZaK5H56ZUd30xwDMUldTjVQdzT+8RFbDDIxzZlD92YOJFbqIOVk/LV58lA1UG6F8xBv0Hbj; 25:vp0esOikOfl5JSDtvnsSKRLtvxUjkEi/F57tkSFwO0INxA0AnFje00P1df/2X9zmqyyeJJlIpNUBfDmeX7d2rsCjGGujTqLkJyTE/incTiB+qvLKE1Cj+XDzwFOoIFkKgkoMXlSPJ+6ACnk0w2tTfTPHIJzAEdcVHGKVpx54/UT17DdftITYe5tWZwM1nOl6NdmgpxOndKDDr02h3EXVqq195XoS+c0klwSzDK0RtqhWYmAnsDIxHh+M0/H6jn+IsL9Cp/Bw78btdtgcWTZ4E27bW34CKv3Hv9iNR/0GluA8A6yxaR6hrNNFYX0ObIU8Fz/3FzbcqmeAUxYE35s3Xw==; 31:qOYB/AuJI6kBuuJfGr7NinQt3cUEixuuRyKVvfIPVySId/80C0vSqz6YLoqt8V5QOHJQOFn7MoPCglv1vSZJMuaPC/yEeBorksMq0r9VWDjz/3whDBguGssgz7hnw5yL1Kxg9oq5aOI3lgWtp8BUPltJnNGZThayQWZKCTFZx4UWD/MBK2+mua01BZFySxTUJBI1GZ0sLf84ghE5EkbpLecfZ+6zg+b/baPvy/jdNxE= X-MS-TrafficTypeDiagnostic: AM6PR04MB4679: X-Microsoft-Exchange-Diagnostics: 1; AM6PR04MB4679; 20:7QxQfrmnebfTCrJVByZt+RjZnIiwDKz+7ybj4ZFPNV9sGlGAbfcKyoUMCdV1Td1bBgEq0c+bJRaxkph6eyIwHZFxA+YXGMtmT3a5QuLVk2QyOvFlujIocZVC2Lb6OLEfdZNZCLzpkJ0Hvj0qKxIcsDX/oLZ9NPREwLG7BIlqbJgCfXUUW98YtQNHbL/+V/SWYEG5/YxWq22BfemFAdeBC5jVxe8w40QVbuXCupC3vqgq5891mGvhWOF4Pfj0axKp+GN8M270hG8aa0/l0qGIhD7k+cedGC61Pul38jxaGvxWqaibAcDxga0WgU358Z7XhW+59iG6ygvGWbdpnQxP1x/6wriJjqvH7byMBAEmC0H8JXFu0HaAZtJA7Ly54Aj7TLD6WE+DYNHlTlWYqccL/ObvtRvKZd6zaL3qzCcFWdg6QMNuwirn1pTKwk+OXSnLIbXm459QB6ocwLEDqU2KYuw7aJRJKZMHEGCviZZj/fiRQctetxkOvGPCAoktK6Dt; 4:pb0NWgVA92cDW3rh2mDW8X5d7cBqEU4yY7Cp9CZuwvujdBWZ523/j+3GcnLbFUPdWEaJfD1Wfbgmqu2qIri0TxNMh7j+cpC881Tfp5ExSS+//53/hwiN9HMv0ACEvmsmkxjJXTGtLQ4l2I9MwynWOpflM86MwL0HfVDslDe5DhF1liIb7KbBRJ62DTrS//dNtBrR8KiVMuSKq1qesClL9/Kgz3PiEsydODuHOL0wrIFtv825wKazSYj/bAwaoZcouiMgaZtW/jkXVBNLf0tMrZ+bfmgcTfTN041hCVrXBSSXdfwU23Wz59J1ih6qqa83EIy9qtZEeNai4qyDDEsvVqFml/A0/h8RFlXw5ZJLXP0= X-Microsoft-Antispam-PRVS: 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)(3231355)(944501410)(52105095)(3002001)(6055026)(149066)(150057)(6041310)(20161123564045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123562045)(20161123558120)(20161123560045)(201708071742011)(7699051); SRVR:AM6PR04MB4679; BCL:0; PCL:0; RULEID:; SRVR:AM6PR04MB4679; X-Forefront-PRVS: 08076ABC99 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(376002)(136003)(396003)(346002)(366004)(39860400002)(189003)(199004)(11346002)(50226002)(446003)(47776003)(44832011)(956004)(476003)(106356001)(486006)(2616005)(6306002)(6512007)(66066001)(305945005)(7736002)(6486002)(105586002)(347745004)(36756003)(86362001)(966005)(478600001)(8936002)(16526019)(81166006)(50466002)(186003)(26005)(25786009)(8676002)(55236004)(48376002)(81156014)(4326008)(3846002)(6116002)(1076002)(6666003)(52116002)(34290500001)(5009440100003)(2906002)(16586007)(51416003)(316002)(97736004)(6506007)(76176011)(5660300001)(386003)(68736007)(14444005)(53936002)(110426005); DIR:OUT; SFP:1101; SCL:1; SRVR:AM6PR04MB4679; H:Tophie.ap.freescale.net; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; Received-SPF: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; AM6PR04MB4679; 23:h5k0q+MWYx6Mt+FvNhad7euhQDg8/9YrRJvE1sFfq?= =?us-ascii?Q?MtyVNzSCELeR9Ccto8bTLWeDqdRRZojIeqQ9bkjK+2TV1rKIQc1odtFnd7T/?= =?us-ascii?Q?pde/N0T9QBGJUA8KRNtB1j6uOQmpT60BjUh/C8YJLnwJ7BCFwgn3bgpRO1x4?= =?us-ascii?Q?NGA/NItoDEvPofpsBBepRjkRDCF6KQmwxq77I2wfSKxiJlIopYRCM8a0jFPX?= =?us-ascii?Q?9fCmS+rRbU7iI9V0oMR0Z7J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= =?us-ascii?Q?oo4Uvkg3iv0sp84mzrMGFjUk+0rNI3j6rCa04iZLQtyC/0EVlWRDAQH48JJx?= =?us-ascii?Q?2Q/16F8Rqi+UpBosIj4RlkyHmWbYI0X1L9H/4SXLE2EGoyZU4bL1XQjTVQvW?= =?us-ascii?Q?MOa0eBERQFTPIdTY2HXoxwi+tlHIPPMdgGsTWWCX05mvfVEcjS+kFo7fMuBs?= =?us-ascii?Q?Zwnuj+afvAzERLemmmMJBJ9lqXPLxK/NfWo5Y2ltROr3qJCsnJrX8luGEKy2?= =?us-ascii?Q?51N8YSHJip70T94fDj9RVa1ims=3D?= X-Microsoft-Antispam-Message-Info: OKqRx0Jw9n+8yJSglu/emJznAdVbuSzipu3KvKkyBUwE1g2THQAf3JGuG8W+PerKPfI3W2omCWNyfkW6sFzOluSp1P3J885XpsaHgNQVw/uEKYfw/UnDeiqGWaxgFVcu9hT4LMQuLs+QVdldbyegtxv4LNmqyrWeFe1fHM6XR31PYuto/eH1oHhO1CIqGJUbnZp/GhvZNDFDrxgJ3XWNFIRazNcWFBwPdzOnHEv5jIJt2jSQcjMf5sFvTORszDJJHW7MEr4eiu84ODswzZica3+ogWeTuZX+mwB7kVZB6mHjAaIVMIXOCSRO92NTOk6ppG8j/ymCL2g1BHVJOIapAuG5Xu8YajvFzlPQi3QYLZY= X-Microsoft-Exchange-Diagnostics: 1; AM6PR04MB4679; 6:qUibJGZU+aiGOP6kqczc2b4ipNlblbacZz8U/dJjAhm5l4y7xYQVUX5qQ8hdGxkAEpErCUnls52UFcJkB9C7ZvMyB1d0+kTK+OVZW0L6qK6fBRmNYvUitbIKB35a4VQSXgs2esu56nojBxb//77zqZm+m1MsW2vxZjKLqMy3ybRIezdmeiZlYKepWs/5ghskOW6Te6NtbTT9eZSY2Ia5NDguJd5ES/LmRONhO9DhikGdVeH8g2U402Aje9pUeKZkyUodYyvvPf/Au6hKajpZJYyDevYthNhjtdGTkzhoPmWryDoVEH8YWV9EK216lhWzCPu1/iffhTFwWgP8ampnGwF+8GuqbbCpZl55eXuiF6dm23Zd1ArI2ZIha8crD8UP8evxit2av0vlrJ43z01fd30a3Nc9xk+nxEd8BdD2BRQeV6Dh0ke1NeGHCWp5FCVaRqQOOrhfwvryb/ktThZH0Q==; 5:rm6UGcxKroO4crHnVXxwVN32vtLEKjW87Vt+FSykJtSuXdIlw6qjNGi8oc7uC9qLAGW++OhVJ7DNzFsHaQcYCyykHwiff7xi/sYE7uKlNPgv1wDC8ZYQAlxN09RI2NelxXww2Py60BIbxANsBO1igr8egSXW60vIjB3OnY0R/Xk=; 7:fCYRDkmrYOjc2aeIfH2vADyzyjKypzp30uewCYspI8a+GZvU0Y3p+Nimifw2gPzkcuKAlxoEioR2Ra9kWrV+4e4J86r2gLAToM4UivookYuYE02u1/sLxpwRQcyX4vrjHj3CAGIoVF0BtLNZrLUeeqVdnAsusJ8GToZ7qA9VvhR2hTmt+T4rKtsdkWDiP4JTq/wmLuYidpvRTyUNO0Y4aZdJJTenwaEVfkNKganIlexOU0Z/9jEdsh7OiyJnsN5+ SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Sep 2018 18:05:44.0077 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: b9c16173-886c-4881-2eec-08d623daae76 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM6PR04MB4679 Subject: [dpdk-dev] [PATCH v2 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Sep 2018 18:05:47 -0000 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: 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/Makefile | 2 +- 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/meson.build | 2 + 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 + 53 files changed, 2377 insertions(+), 585 deletions(-) create mode 100644 drivers/bus/fslmc/mc/fsl_dpopr.h -- 2.17.1