From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR01-DB5-obe.outbound.protection.outlook.com (mail-db5eur01hn0206.outbound.protection.outlook.com [104.47.2.206]) by dpdk.org (Postfix) with ESMTP id 90B4DDED for ; Thu, 3 May 2018 18:34:16 +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; bh=TsVU/ucq4OtM6CC/HeQh1oBSbEG8eN8q2gStSzarpyg=; b=Ho2vivS6VKpEe3WAlLuv/sGqj29dFBk30gpn9o8oiqmiGEG4OYY+YSr/l/Mkkn8vbXyIR8kyKkGCsWNcb/Rn6bLsZAxNVr0c2VDfqVriLAoi7FzET8dPR27jCbcikwBNdYZxt088Vc7uLDTwxfsEV8jQ0NAnzHc5DyWbLTBdwVg= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=nipun.gupta@nxp.com; Received: from b27504-OptiPlex-790.ap.freescale.net (14.142.187.166) 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.715.18; Thu, 3 May 2018 16:34:14 +0000 From: Nipun Gupta To: thomas@monjalon.net, hemant.agrawal@nxp.com, shreyansh.jain@nxp.com Cc: dev@dpdk.org, Nipun Gupta Date: Thu, 3 May 2018 22:03:46 +0530 Message-Id: <1525365233-5956-1-git-send-email-nipun.gupta@nxp.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1525281329-27984-1-git-send-email-nipun.gupta@nxp.com> References: <1525281329-27984-1-git-send-email-nipun.gupta@nxp.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [14.142.187.166] X-ClientProxiedBy: PN1PR0101CA0071.INDPRD01.PROD.OUTLOOK.COM (2603:1096:c00:d::33) To HE1PR0401MB2425.eurprd04.prod.outlook.com (2603:10a6:3:25::22) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(48565401081)(5600026)(4534165)(7168020)(4627221)(201703031133081)(201702281549075)(2017052603328)(7153060)(7193020); SRVR:HE1PR0401MB2425; X-Microsoft-Exchange-Diagnostics: 1; HE1PR0401MB2425; 3:jizdtyCCEDMKkb5Mkt8yBXqCxH6J36FrJOf9m3k2EAZQ2N2dBtD1hciZqk+B1FEZanmODXR8Bt+zcvK5W1LFsPIUJvm0a7DKEP22vTbwFYcGWc47OijQ+ZeaODp4O5vRz1a/3CVHGyzwXOYiko+4Nd3MVS8IUYp79w+hNdBi9dg7QOb0mH6+65WKD8ACxgLzYMzZA6dWmgaQOx2eVrQpmSKkBR/EOUYd5Gx7nQpwOEcKOf3j8j0BlUdO8nwZRRXk; 25:0UUS0z4GizftqRU98Cq/ZW8HjQMEdhuJhpytsus+0/KGMXFwBoTyZIz2+DoYUXuJ90mjsvGksnEnE+albO85AgV8rk+YuRtcOrd3QgbzGP2x8JoXhvTnGrWFGrOesX5C0EgpisThK9UpWl4HrIOOpeR4rSPsIZIKY07/qFvD5uGMN/+G7Cp6wRGMoaGwLE/nv5R97U0MfywSmll5+RWxaUNa9DpeIWwxerrRSUErpf9SoLLpidrlsz4qGtFJxEEO2ozfW203PQY/wi8dLKAp6LTmVKJbpxEDyO3FPWhI0Lx0uqVta595dqwLxpNSlFdvhpnbO/oki8gE1nd9vCNMvQ==; 31:QYe8dTlNgo5OwrTBNzZYGHW5ADftgm11qfVfakKDt1vpDSb3N0AEdsikXc9Ns/eVUo9N6tITkiY5DziFkK/TofBV+oXRapIBdl3/HX3Xdyc3exrqoVppPRkiwyyqbLq1dhQVj1QXeZubuJbFsmsmWQl0d5HfHrxZ/ckYyi7Jf52x/h706wHS7Yq7HKSu5mDQgP8Epw1je7s2LJdncZk/OCkF+RyOGrhubCqlRQc/Xpw= X-MS-TrafficTypeDiagnostic: HE1PR0401MB2425: X-Microsoft-Exchange-Diagnostics: 1; HE1PR0401MB2425; 20:mJEtLfvLQlhXOB2jDoDfxCIjpyuISE06olqA5nD6uVGc7eKKDGZLq8oRU8AoNKfP3BS3HKyicfIBJu34KWnYhcktSE2OQwHWWzpmBngh28S2bUt21VEBzBTO49GS8JIRWuSlwS6JKbqjXuEFdPn956xP3NdAVtdl6ei+QDVMitFlqOECWGDdW/1ajdAaBU+eiXPpxDPCbS7GawxtEgVvFAf2sllg1iSxsLfxIPZ+TWDw6Raqkmq34oYaUAfgkERHG2i9bP90bZ6SZRFoVoj24ZOpk9llexSQ9R7L0i+yXlPMNza0UhO9b2lMsNm6FCpOwuG6DbpYk57Pqtrz/3GGYC9ANPXdACTHhp64uHGyGVdMz3jMS/Ehc1/LIlPXsJ+ppOdvYCyp5xYju0ISJE1Li9JzyAdAESN6nfPHKeMaOzs9ZdfHW6xTtCzNEvh7HtbfTd8I0IHoyJ6SnMfO8AMO58FXobxZeq9L9w6UJb69u1LvkIVR4sWl6CVBlhSvxDGQ; 4:W+a/hA03CCCm/rKGnfO7W/otS22WojHyRLChsCP3K3adQCBYOlhTi+7o+Y08kkZ+CKtNlzBa3h3wM2sOwHTGbMXgFOy4WDr031WpHL7UnPY8qiPEHyqiEhhbCYqQ3AA0nhjhv+s016mPtPv3lFEABzp5/cRgnYDUiL+Bore/yqh/LmBiHKFP1NGCtAZHkXnRG69Frk9JfIY52vAFcxxC4ndmou54RBh98+xuNSBd1H+Y5ytF9TDEmhIEV6Wc6O6+oe5QfYh2I/BqWLMhr3el5/6++pWvAZR9HSSjMHzavZlXTws/VAP7XEbVohO/Ct92lXw3tDml8JdAADuB86cxskMQW37P51TPyV+Hf3FQffcxcvk1tCFxfcFgIvPLIHzq X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(278428928389397)(66839620246622)(275809806118684); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(93006095)(93001095)(3231254)(2232076)(944501410)(52105095)(10201501046)(3002001)(6055026)(6041310)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123558120)(20161123564045)(20161123560045)(20161123562045)(6072148)(201708071742011); SRVR:HE1PR0401MB2425; BCL:0; PCL:0; RULEID:; SRVR:HE1PR0401MB2425; X-Forefront-PRVS: 066153096A X-Forefront-Antispam-Report: SFV:SPM; SFS:(10009020)(366004)(39380400002)(396003)(39860400002)(346002)(376002)(189003)(199004)(86362001)(97736004)(6486002)(68736007)(478600001)(5009440100003)(316002)(16586007)(6512007)(5660300001)(4326008)(966005)(48376002)(106356001)(105586002)(53936002)(6306002)(25786009)(8936002)(36756003)(81156014)(81166006)(47776003)(305945005)(8676002)(26005)(2906002)(66066001)(956004)(50226002)(7736002)(50466002)(6666003)(6636002)(11346002)(59450400001)(2616005)(386003)(6116002)(6506007)(186003)(55236004)(3846002)(76176011)(52116002)(486006)(16526019)(446003)(51416003)(44832011)(476003)(59010400001); DIR:OUT; SFP:1501; SCL:5; SRVR:HE1PR0401MB2425; H:b27504-OptiPlex-790.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; HE1PR0401MB2425; 23:nas8xzv0lteF2I2jzLJC+3CVR8LBN6wGfPNLRpG?= =?us-ascii?Q?BJa5bPh0JbsJcoIfGHAQbXW9y2ilfR5CWOqh+QkLolBrbpQoWkW5yhm0ENTG?= =?us-ascii?Q?+yTJXbIp/WcRk+RKbL3gSPQ8RMs3PvbFxDxUbVUJVoZ/C/Nu2ToxrlmkWiSC?= =?us-ascii?Q?ZlMzXeEDLuzaEdrqY2CmR1tyu/N2o9ORn97UKnTIHXJxbg8rZEgbbPNsA5TW?= =?us-ascii?Q?Stm85VfY/zwb14X72Nqj1vDUB1UwvhPylbpvgC1eErGi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V3RqhBtzXL7ih/BrIbpVCS1J1R5HLP8Cj0u94Ss7dcTTNtEKecBM0dtYrYw01kxQe/E88hlxIFh1Hjo8W2hkCTjSjAEkPdVdGaGhQJOocqyAKoh++rCd9A5nJWwkHbpyr1jLrqYCx5WZrrhNZ3sskt3FiIGL5IQK5QHQda/mKR9ElMkkXkk/fPpXjDAXCqjnyFbWBFAwzNkboCmpLlhnBR7nMZVWb2jMvKE8X/oNvXsobdOpyS/jbz67G9P7RDU9uoI2hdg6WW2YnN9B6OdFC1X/JS26S3Si0b3adP4s/qnOlV6p0JK6Nk7mkEnb2Z+HktDAukmA+5SRk1SoosZYkDJYDJPhPXtcQK+dTaJD85KlhtAo; 5:NvbzSwJlxYQRwOPiT52Tb3oExIjY+r9RVuGpHvfMXSCRsZVcBsuJnCzEy26M/WajzlrwfAUMCHi6vjpXbewbDsvyl5zC43LQyeomMRgBsvdiOrho1u7rbqrvzhbfHtRHfLELRKCbPKROZxeeiIdND3y5cS128T9SvBJQsCbljbg=; 24:VSgNhVpOJv6klKBs8rxPtzHUjHewvBtKRare14dL+pq6G9FTfYBRmCQRaYBWWq4QEVynwO9VrSYpY7jvS57Meg== SpamDiagnosticOutput: 1:22 X-Microsoft-Exchange-Diagnostics: 1; HE1PR0401MB2425; 7:N1SF+VNXC22dTUHHY+k3/U1j143b73t8WGQuWTMa3kqJ34LI88IAc+/jw1hFwApehH4Ukvea7CpiBY1cEnR1tE3sHcBhxv8ysuQ19HdPzBhxuqQMbNjplJuvvXd+z5dqKuf7B87IZhraiFMR7J5iVeiJbrUw6usPf4W1gS9ztnG4A0UHLikl3y2Udl0r9kSh/LTcGpgLWEes4Va/YtigRHjPa0frtlMyqpEI7QArFqVl8xbpjFUzJEKD+YVf81+4 X-MS-Office365-Filtering-Correlation-Id: 911e15ec-9a58-4e8e-cff9-08d5b113b5a3 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 03 May 2018 16:34:14.0981 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 911e15ec-9a58-4e8e-cff9-08d5b113b5a3 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 v5 0/7] 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, 03 May 2018 16:34:16 -0000 This patch set introduces DPAA2 based Command Interface device driver. This driver is provides communication between the GPP and AIOP Firmware. This patchset is based on top of: https://dpdk.org/dev/patchwork/patch/39246/ Patches 1-3: Makes necessary changes and fixes in the DPAA2 bus and mempool region Patches 4-6: Add the DPAA2 CMDIF driver Patches 7: Update the respective documentation Changes in v2: - Move CMDIF compilation to common_linuxapp - Support physical addressing mode Changes in v3: - Rebased over DPAA2 QDMA patches - Updated logging adding Data Path logs too - Fix up error handling in patch 3 - Merged the two separate doc patches (patch 7) Changes in v4: - Added meson build support Changes in v5: - Fixed shared build for x86 Nipun Gupta (7): 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 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 MAINTAINERS | 5 + config/common_base | 5 + config/common_linuxapp | 1 + doc/api/doxy-api-index.md | 2 + doc/api/doxy-api.conf | 2 + doc/guides/rawdevs/dpaa2_cmdif.rst | 144 ++++++++++ doc/guides/rawdevs/index.rst | 1 + doc/guides/rel_notes/release_18_05.rst | 11 + drivers/bus/fslmc/portal/dpaa2_hw_dpci.c | 86 ++++-- drivers/bus/fslmc/portal/dpaa2_hw_pvt.h | 3 +- drivers/bus/fslmc/rte_bus_fslmc_version.map | 1 + 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 | 36 +++ drivers/raw/dpaa2_cmdif/dpaa2_cmdif.c | 300 +++++++++++++++++++++ drivers/raw/dpaa2_cmdif/dpaa2_cmdif_logs.h | 46 ++++ drivers/raw/dpaa2_cmdif/meson.build | 9 + drivers/raw/dpaa2_cmdif/rte_pmd_dpaa2_cmdif.h | 35 +++ .../dpaa2_cmdif/rte_pmd_dpaa2_cmdif_version.map | 4 + drivers/raw/meson.build | 2 +- mk/rte.app.mk | 1 + 25 files changed, 768 insertions(+), 30 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/meson.build 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