From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR01-VE1-obe.outbound.protection.outlook.com (mail-ve1eur01hn0248.outbound.protection.outlook.com [104.47.1.248]) by dpdk.org (Postfix) with ESMTP id 3A5842BE5 for ; Thu, 22 Feb 2018 10:35:16 +0100 (CET) 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; bh=tbhyfxOs8LDXvIz268DyM4N/S8R+CYPyQrLrAz337Uw=; b=g7SVBXyGJHR6npTc6byleMmmL5rId3B6LI3PuQ+gog+DAT6eugWp3WcPKrxdrWqYqa+mXGDksBLcnRHlKL/lWRQPGpXy7Dn/agasAt5tvHAkpYqOSkRYPoBShLkt9cvEr9ZaKaWwAY24EwNrEWDbhVA7ozt1ViXK7KPK9Dxu8yY= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=nipun.gupta@nxp.com; Received: from b27504-OptiPlex-790.ap.freescale.net (192.88.169.1) by HE1PR0401MB2425.eurprd04.prod.outlook.com (2603:10a6:3:25::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.527.15; Thu, 22 Feb 2018 09:35:13 +0000 From: Nipun Gupta To: thomas@monjalon.net, hemant.agrawal@nxp.com, shreyansh.jain@nxp.com Cc: dev@dpdk.org, Nipun Gupta Date: Thu, 22 Feb 2018 15:04:40 +0530 Message-Id: <1519292089-13851-1-git-send-email-nipun.gupta@nxp.com> X-Mailer: git-send-email 1.9.1 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [192.88.169.1] X-ClientProxiedBy: BM1PR0101CA0061.INDPRD01.PROD.OUTLOOK.COM (2603:1096:b00:19::23) To HE1PR0401MB2425.eurprd04.prod.outlook.com (2603:10a6:3:25::22) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: 899ee388-2b56-4985-614b-08d579d793f6 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(4534165)(4627221)(201703031133081)(201702281549075)(48565401081)(5600026)(4604075)(2017052603307)(7153060)(7193020); SRVR:HE1PR0401MB2425; X-Microsoft-Exchange-Diagnostics: 1; HE1PR0401MB2425; 3:/2bmMOKD0kJndBPSLedlDIE/v1zkhfQdIWV0vD9LWDJXX/hPZfa/EC5SN4TbqfJ6feMgQ9WTNAqdadzVmqD9Ysz3mnvt+tfNF2y3BNiwZec6JNoWbUHyTj+hhqhePTcmoN6uTkwB9Sax6JprXs/xPcFE2AwJGs49NsSoM0hPHuotIF4hnvM0ePmKo8Ga6f7lnyAWF5ZxIZ69L2MW9/sc8M70KeNcvcZp3tgHBgn6uyi28beq0/rM7L9F8xcDWsyA; 25:cspbI9wb3gH793fh6y1/yYeDI54GWF+dL+EoJYJo4siK/dr/Cn0MlOQrUJnGatMk98kL459BD4TwwtAG0o3BAVm2Kfug6wPlq8pPQGl/nq3Vs8tBiRHaW+Z13RwF8D/uByHJ/eiqvFH0lZxQBbORnn4KJxz9oabjRsq4UDI7ArwTF2gFvLejFaUczSyNGX2m+YZ6SKjcTQECan8iVkDgdT56E1LHWtFtkIxSqELuT/zlb/5MKG085GyDp+NPM9XkGgZEuzjniwihpwf+h26vW8yswxrQjJfT9te0aXKswbAuRuGeLLVmFlhuNrBbkXIGP9zmA4fDz1jvd2mYB+wFWg==; 31:6D3h7snmRHBZWlezQ/DyzINLh6BVqh9EQawPfMTmjFdvOxZpK2fIhLULE1Fmd1BTtcFgvnMdjyOUp0bjomNtZNE9/riojWVU1ztQ6VcPZJ2j9e71ZpBvkjnGMIrM6xMDrkA8UK6b7kt6yy+vOTRyR+mXmEKIIrNZjMJVYREZlFI140tD+dd4H4XWO6KqPzyH5EhZ5op+0tKmnrvtRmfpKX+A6WYrFIF6I9rAKOxaoTY= X-MS-TrafficTypeDiagnostic: HE1PR0401MB2425: X-Microsoft-Exchange-Diagnostics: 1; HE1PR0401MB2425; 20:ZXBn/jc/vFr7CUw3jD+QaevBRU13KYrlRp+GsIaCAk90a6GQZixEqjlzIqHE3KWi8CVWon1weLyAJc02wJW1LG7ICupfMxNRqOw8zGi6A1vdqqDx5jWwRLDsLqsu+HvBVvGh+O5gJZBPbAWlB7tfk6CrsuJ05/+eewvz7qfEbJgvNvmb+8WPbY9aIOG/9tyUPc4DSoQNc2EIRxP85D+2RgzzqCOrq6mR3dvyQ1royvg7KuNo06LkdOHesyYHO6SU0j5vCfeYwbJdPA469MgXyhAglgTA1KH9P+NEG5Vx3pE5drxhogktEhWUNscbG8o/jKdZ81NHp841n+hlS+vWbhKyFmBOui4YT4j3kY90TwMlIuYms5lxxAiTMeSpYnNZS+KC/5Tnp3Hm0IVj4MoEka+op0UjTPnmXyYFnv1CLwNoyCASfoqnOkDanLi3z0a+eRES8W/f5wSN3juLTJrG542WM2TNXMh78S3NfEC4WHFMpPI0e/TrgwqcCn061i5Z; 4:R3/AZ5mFq+CwJzjfjhDa0M2i7cK1W8GG8yQwfMFRWb5Xq4y819M3c0TH+iBciMRfsXaV5vEnlKKICS1iQ/RhPSYsfpcfKtMrLxQv1UDYRuVxDZzHbknC/bJUbSns/qtPXBXoeR/NNrgkyhPhiBzUyx98z1jEHKhAnmGmqI5nxeMmF70XXonlmAQiGiM45tH/iSW7Y9KebJQq5xyGtw4ZxVJUpJpDgk50zK6mg4a0tWDq0E1mA85vgOhiEyPyRcG9Ag6g/Mfz1h5W9PcJ7P9fjZRZLs2GP16V+tghKklSflXsBf+pBhPqgbxocSulKPNjdFUNvRi+G8k6WVF5iU2PetFnnZiGa3HdRHn00IjoAC+lU4F/ZU1bK9F3Dw19u87e X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(278428928389397)(66839620246622)(275809806118684); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(8211001077)(6040501)(2401047)(8121501046)(5005006)(3002001)(10201501046)(93006095)(93001095)(3231101)(2232076)(944501161)(6055026)(6041288)(20161123560045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123564045)(20161123558120)(20161123562045)(6072148)(201708071742011); SRVR:HE1PR0401MB2425; BCL:0; PCL:0; RULEID:; SRVR:HE1PR0401MB2425; X-Forefront-PRVS: 059185FE08 X-Forefront-Antispam-Report: SFV:SPM; SFS:(10009020)(39380400002)(39860400002)(376002)(346002)(366004)(396003)(199004)(189003)(7736002)(66066001)(26005)(316002)(305945005)(16586007)(59450400001)(25786009)(4326008)(97736004)(386003)(6506007)(478600001)(50226002)(6486002)(47776003)(36756003)(105586002)(2906002)(81156014)(8936002)(6666003)(106356001)(81166006)(48376002)(86362001)(52116002)(6512007)(51416003)(53936002)(16526019)(5660300001)(186003)(50466002)(6636002)(6116002)(8676002)(68736007)(3846002)(59010400001); DIR:OUT; SFP:1501; SCL:5; SRVR:HE1PR0401MB2425; H:b27504-OptiPlex-790.ap.freescale.net; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX:1; LANG:en; Received-SPF: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; HE1PR0401MB2425; 23:F6VYvp6GQu0A8398ypUJBr2KjhT34zkjD2D2nW8?= =?us-ascii?Q?V8jdCW/Z3A9BQefIGI51DvFDSLQJvcWTLSek+KQPVxtc+sgeYr4PodSXcJRT?= =?us-ascii?Q?XF9kS3RTGdifZ9hjpxehsOZzSf6axD4DDOweAcuKAwTA/m5tpun/iyTGenox?= =?us-ascii?Q?ixmOowo9s49Wm44y3Z52dsSpxbPam1VQYq3ZYitB6ntMZgQWKNbHMVP0dvhX?= =?us-ascii?Q?fFK5+kbMMPkmlCyeLIrSt7pMJVDnJsnChu7CBzjBB5aKo8Y8qX9XsZS39rID?= =?us-ascii?Q?xSdwscwnwclGkGfP+12CM8yULAk70MYYrCWfWQmqXvquhMAXNTmF0o5UpfRy?= =?us-ascii?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.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 22 Feb 2018 09:35:13.7932 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 899ee388-2b56-4985-614b-08d579d793f6 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR0401MB2425 Subject: [dpdk-dev] [PATCH 0/9] Introduce DPAA2 Command Interface raw driver 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: Thu, 22 Feb 2018 09:35:16 -0000 This patch set introduces DPAA2 based Command Interface device driver. This driver is provides communication between the GPP and AIOP Firmware. Patches 1-4: Makes necessary changes and fixes in the DPAA2 bus and mempool region Patches 5-7: Add the DPAA2 CMDIF driver Patches 8-9: Update the respective documentation Nipun Gupta (9): mempool/dpaa2: add functions exposed to DPDK applications bus/fslmc: expose API to free dpci device bus/fslmc: keep Tx queues information for DPCI devices too bus/fslmc: add preprocessors to get flc and frc from fd raw/dpaa2_cmdif: introduce DPAA2 command interface driver raw/dpaa2_cmdif: add attribute get functionality raw/dpaa2_cmdif: support enqueue dequeue operations doc: add DPAA2 CMDIF rawdev guide doc: add dpaa2 command interface rawdev to release notes MAINTAINERS | 7 + config/common_armv8a_linuxapp | 5 + config/common_base | 5 + config/defconfig_arm64-dpaa2-linuxapp-gcc | 6 + doc/api/doxy-api-index.md | 2 + doc/api/doxy-api.conf | 2 + doc/guides/rawdevs/dpaa2_cmdif.rst | 136 +++++++++ doc/guides/rel_notes/release_18_05.rst | 7 + drivers/bus/fslmc/portal/dpaa2_hw_dpci.c | 57 +++- drivers/bus/fslmc/portal/dpaa2_hw_pvt.h | 12 +- drivers/bus/fslmc/rte_bus_fslmc_version.map | 7 + drivers/event/dpaa2/dpaa2_eventdev.c | 10 +- drivers/mempool/dpaa2/Makefile | 2 + drivers/mempool/dpaa2/dpaa2_hw_mempool.c | 30 ++ drivers/mempool/dpaa2/rte_dpaa2_mempool.h | 53 ++++ .../mempool/dpaa2/rte_mempool_dpaa2_version.map | 8 + drivers/raw/Makefile | 1 + drivers/raw/dpaa2_cmdif/Makefile | 34 +++ drivers/raw/dpaa2_cmdif/dpaa2_cmdif.c | 310 +++++++++++++++++++++ drivers/raw/dpaa2_cmdif/dpaa2_cmdif_logs.h | 35 +++ drivers/raw/dpaa2_cmdif/rte_pmd_dpaa2_cmdif.h | 35 +++ .../dpaa2_cmdif/rte_pmd_dpaa2_cmdif_version.map | 4 + mk/rte.app.mk | 1 + 23 files changed, 749 insertions(+), 20 deletions(-) create mode 100644 doc/guides/rawdevs/dpaa2_cmdif.rst create mode 100644 drivers/mempool/dpaa2/rte_dpaa2_mempool.h create mode 100644 drivers/raw/dpaa2_cmdif/Makefile create mode 100644 drivers/raw/dpaa2_cmdif/dpaa2_cmdif.c create mode 100644 drivers/raw/dpaa2_cmdif/dpaa2_cmdif_logs.h create mode 100644 drivers/raw/dpaa2_cmdif/rte_pmd_dpaa2_cmdif.h create mode 100644 drivers/raw/dpaa2_cmdif/rte_pmd_dpaa2_cmdif_version.map -- 1.9.1