From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR01-VE1-obe.outbound.protection.outlook.com (mail-ve1eur01hn0217.outbound.protection.outlook.com [104.47.1.217]) by dpdk.org (Postfix) with ESMTP id 749C6559A for ; Thu, 26 Apr 2018 12:15:20 +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=jzw9D7hZxWNdhgV4F7s3ISU1OqLuKgpV70WLnB+ZkF8=; b=DTVDILFN9UKTRr5DOCr7extrwIgrBX1D1vGPzTMo+KrHfSU8CytOlN8cLY/9PEWddsrI7v6KfCig1zBKBIGYDGKEITrcsD2dfmZEYqkOJ91o6lJgsJutCUBJIu4uBOTnQX3BEEbxW2/SOO1oQZRoZUUYkEsuwm3TAW92XUSPsYA= 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 VI1PR0401MB2432.eurprd04.prod.outlook.com (2603:10a6:800:2a::25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.696.13; Thu, 26 Apr 2018 10:15:17 +0000 From: Nipun Gupta To: shreyansh.jain@nxp.com, thomas@monjalon.net, hemant.agrawal@nxp.com Cc: dev@dpdk.org, Nipun Gupta Date: Thu, 26 Apr 2018 15:44:49 +0530 Message-Id: <1524737696-3145-1-git-send-email-nipun.gupta@nxp.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1523111645-8076-1-git-send-email-nipun.gupta@nxp.com> References: <1523111645-8076-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: PN1PR01CA0089.INDPRD01.PROD.OUTLOOK.COM (2603:1096:c00:1::29) To VI1PR0401MB2432.eurprd04.prod.outlook.com (2603:10a6:800:2a::25) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(48565401081)(5600026)(2017052603328)(7153060)(7193020); SRVR:VI1PR0401MB2432; X-Microsoft-Exchange-Diagnostics: 1; VI1PR0401MB2432; 3:+IMsoMz6SQPQVFyuA+3qU52gDJVNboFve20cVED5+f307qFC+zoaNlFNoNhXt1uF+LORuyxMxFGwWaAf5DJrf+C9/5Xns85x3NQqkWLUWZcB8ZvHSn0sZ4v2WuFRS3OCRYwbPs/e/8mSZRxZV4IlN8SYZYcs55Hka4z7QIK4hD8PD9q50pcng/ztgcMoRPp2X2mGIVvessgmyTrPXRvUXx5k5WrVopyX/Trg1sTkYIVBWAMzAL8FpFWsk92+OOw2; 25:zYnRA1UMdCpxH2yLdFd6ILOTWls0zyhgcwUP19rlnwm4L/ejvDOIw7mBxATSPgl7CSDTbLV/vyu8mrItJg7d/qsWH0sPx0GLS3fEbTy+7E5/c0/A8m6+NYgJc/FFBFGpI8y09u1UtKxKwngsV8tV18WUNuxDgl0bHLFkI2vN6aBgTGkJP4Q4k0YnbEiCtVsWS+axlvSzgsaa/tViPtO4ucHzsULxEjEaWN1tksg4EAYmHA07H/h/dXDjcnS3y0937WhhStPvos2quwbJ9s5L5BaxRlJLF1XFls458MQ1MbC3w0udRA02pgOICiS/xNyVbIJka4AI/a8Ao9oBLIWQww==; 31:s+jpnu6RRnI9n2pctjwjOHU0dEa5QrQUvkpoUJBo0CYy/2SMLJfMl9hBUKXPTcHw07dwpYUxj433uVuz0HPPvTMYntxPI/HAhR4WDRksqN7VseigIOnGDCze5r0c1DADxfchKrylM8BqgcEtVxIot4pylhmZ4EjO/F1BZ8LYDrACEOFZj3YpFwG9Sh3/XsnB4FUwSHqnKXI9q/Q+N1W/I0CxUx4O5kH2+ethu+GV0+g= X-MS-TrafficTypeDiagnostic: VI1PR0401MB2432: X-Microsoft-Exchange-Diagnostics: 1; VI1PR0401MB2432; 20:9iSulhPc0A/iJCfSdzWN4k7JiUt/74ebfC6GiDEISQ4oJo+UGRR2cm7MCbGgKhl5LdeLeJQn8/GhLSGmyQJaO5aVJf4OFb5MsbgDp5Hlk3LrfuaIbs3KgPUmAPlbWTwKjMpMjCzfnL7LxI6LxX1kkkJ2rduuMHc23I9r8YpoxIz9t1o2bLBvHXsyqVxw+2nA0vMQuRvyzY4QrrDB9CXC5I/tafwY9MpD+S12FeWEhPCCnybk64SamCmzikzO3JWUQnwB7gFkfOa58r4ooBFDxB9g5lCcuNN/ce9EsjwZN8VxCgIn0rXSa9rdFtDBDShsn2AjjmVWCWY3fewGkjZ8kJCnUjk1ZOTwkDgbhxmI+EVeye3jQkT4VMX7kQzy46D5J0Wi8fN+xFNe/cFQCF9zrpNXsjUWNKMyi0DtYl5OKwpmEngvkpfDJevf2XvyBMI2UB6wnVb+Di+YWu89DjNzG1ZBfEWprPvHlcJa7e4ox/VZJdKu1DfuxBO/IhJuHxGW; 4:4QM/+HML5BKO2Jl/25zipNFMYyjXlpoyORnWBqTv8lQIUTuBOpT9X6GeJqEbyCCFYt3mURGM7F/pl1mohz8BJ8e4Z5q9VQgi9tv9roBeAsdRfCjz9S54IpHd7n8Tp8xyfMCoXSZ8ibaSqtNVbrMawEpSLrZ21+Z3TE0+Q2L/m+chxY1V4zwaYM/hFM51TVKCAo3vrji8Xo0wkU9D/kCaSTK+a+N6Pe+qMVVXw7JqiCa4yTP1dWTBtk624beUVeVZ/TWVnTESTnEIN4hu/fgO67f3KGK/tW0o6Hcybp7T6LEc5pwYkRvVZVkVFI2TYGkxeR9RgNA5vEiq9b0cLTqgAg1UmJroGYlk/L1v3gY4105jcfT8hqfjfa0edsJggkaz 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)(10201501046)(93006095)(93001095)(3231232)(2232076)(944501410)(52105095)(3002001)(6055026)(6041310)(20161123558120)(20161123560045)(20161123564045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123562045)(6072148)(201708071742011); SRVR:VI1PR0401MB2432; BCL:0; PCL:0; RULEID:; SRVR:VI1PR0401MB2432; X-Forefront-PRVS: 0654257CF5 X-Forefront-Antispam-Report: SFV:SPM; SFS:(10009020)(39380400002)(376002)(366004)(39860400002)(346002)(396003)(199004)(189003)(106356001)(2906002)(3846002)(5009440100003)(6512007)(86362001)(6306002)(478600001)(44832011)(36756003)(7736002)(5660300001)(6116002)(486006)(97736004)(4326008)(11346002)(956004)(476003)(6486002)(2616005)(966005)(446003)(386003)(6506007)(16586007)(53936002)(25786009)(81156014)(59450400001)(47776003)(52116002)(16526019)(66066001)(51416003)(6636002)(105586002)(316002)(50226002)(6666003)(8936002)(50466002)(8676002)(26005)(68736007)(305945005)(48376002)(81166006)(76176011)(59010400001); DIR:OUT; SFP:1501; SCL:5; SRVR:VI1PR0401MB2432; H:b27504-OptiPlex-790.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?Q?1; VI1PR0401MB2432; 23:fP5yf/o5RwwWERSUdXGK0gW62Ma8J3El9JFMJum?= =?us-ascii?Q?PWLsGxol3s+ozmZOhxjqSTlQ9P/kqfQW55esSKRLUwHzehBUt3bR0XXLsp5R?= =?us-ascii?Q?+eWoH11+Ttg/78G6gc9C2EfWUfhf61EpzeOxAwC5a1ewZkdslpBUw9jYX09j?= =?us-ascii?Q?ATVSplF7dvfjGFrGpvyoYC5+IftgxsFBrgLgAfsCI7g+ykT6eHpqfZe+Cka0?= =?us-ascii?Q?meZa6x8ODrpGELGHVg1MTjBdbYDvzWBFbGmvzEx+5DYwMuPCzCUixc/ZUt/a?= =?us-ascii?Q?krlM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s?= =?us-ascii?Q?PI7V/0DG95o5HwHrKEP3N7ra77EWUPPh+19RnHECacGAP81X7QawaCd67Do7?= =?us-ascii?Q?gUxaqz0oZx5aAI7S6PGm8NQarY8SLsuufUoMu6tNCOrnpVxeJGd7CGA65dIA?= =?us-ascii?Q?7HvqLEwnAeRKrbCgedXeXgG33R46HKQdi5tZEHPOu3fcu?= X-Microsoft-Antispam-Message-Info: 9fldTOyJVZUIr401+3IO6tVzr9kSwxDdksUk6dKiEIoXL9OzmlIRek8cchEW4l2rAE88JFUNEvsTMZXx4kEV7jbr7gN2DGy89WEP1jLhVj5aFLGcKC6pzB78TOg7bsXC9HbIh+rUAl7qY/xVLUDR/xRpnDq4hc42WB88am2Mh4hxMNhwxAz/lJCop9QEkzufyi/mPDoY+rsjyPUtDpj/UrySbWjr38ZlGMusOpItjWvTITXNz5ItyAorLwOlP66EeCTCe1GfVBj+XrU2hbJ56DtvnPFIUVKmJm3MEWsX5N31BAUZt4qpOMGmKuTt3Yto+G1pUxGc/cBNbvUdACwHB1NcX93eu+jQPC47weeHhxjmvys+pEPfMf8s7nMSu0KEctxl2Cd/9jWr0PoGeswFMLUHMzGgPeIfcoumJybZheF9q6cZCrNkMUEo/6FkLmjJ1VEpRP802EYGd04UjIJEqlv9sL5VagB+ChV0LV6UiOEKzR7gVy6TkWlF1PMYM1OHCaJ+QPXAclee5Yo3iGgWsjgEobzVM48UNcMB6TBrt/o= X-Microsoft-Exchange-Diagnostics: 1; VI1PR0401MB2432; 6:fhJM0tZZ13ZIOtIgd1Onz1dex0tFv9vys7bfHrPUhG4G222Q9jMskMIRSkVMUXgZQNz9WgI0fuxAogKnfhChGnI3RdQ3DauyPkb/UgSHiq2gh/tlFxNmdvveG3H7Xn3GW+ZETsrdUYlmdNH1csRwBE3YKYERXgPImpdiXZ5V4HZz94ShUtB05GfJrIab0xohsSg/Z5TI3aXvgPIvtBG8Qiunil0w7lx6Yq1w/cT0/gp9SXWLy2jyYKIy9e/SMQc+aySlJHY4BftUBoCKQVnzlJ15TScPeL8VaemMZb5LaBfKH3Rs2yQPq5IHS9MW5ENgiIZh6PtiVmbwnXI/r+H4/ewZluUkc8Tr4dTRngEirAcEAqXiPFvGH0xtaSb18seCG2crjSjsv1Gngv6OWnLxFjrDH+h3Y/dEM9h+NCRyv8tOZj3zxx89DGpvkT2+dunzCuleqNlNtiMhPPdYXXZzuQHx4R4phUqoyUOAam185/ngVW/Uy/P4iy7xUbxjQ9Uu; 5:4TJsxeZexpuMlrszIgb0fDLyYPBx6r9jRugEvdxW3bae2aSuVxVbOnAMT+ApQ1yDjaKIwhYplh1tBFMDkV6kHdjpGHE0r/y/5A0raUSJCk1yvUVaP02GeCNVvKMJ4iB6TMB+soelzzWzJP92ckfW0iKWzrb+mHWVZnUT1TYFDBU=; 24:L+glkDjuy85SFhaUBTkgFjsneb0Tdi8ah3cglPyC7MLcdYRIL19lt2tNS3dJHxrT4Q+iEkL57iRTWOc3sJb2Wg== SpamDiagnosticOutput: 1:22 X-Microsoft-Exchange-Diagnostics: 1; VI1PR0401MB2432; 7:qCr9yfFduTMKaWVSj0HJIu26Ol430DRRJ3en3ToFvIeTnwRJ7AaRN4keod6amghJYMd3KceH5l+m7jag0txm3yDXSGI+2ZZ3aiGTlxWB4ULDe43n7l5j6CFuohOSnRIPBdgr+C12bZlCCaXTVovehZT1eB8mby8znBhTzYpKz/wtmtcG/NPmeLMJkxvRSG9Xn8WZbdZtMVsEejLyT4z1jQkx6ZxVcpWTgsDb3Sos2j7RtdxMjpNS+goVHiPFulPi X-MS-Office365-Filtering-Correlation-Id: 9491006c-0eda-4613-5526-08d5ab5e9cd9 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Apr 2018 10:15:17.8776 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 9491006c-0eda-4613-5526-08d5ab5e9cd9 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0401MB2432 Subject: [dpdk-dev] [PATCH 0/7 v3] 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, 26 Apr 2018 10:15:20 -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/38798/ 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) 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 | 132 +++++++++ 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 | 35 +++ drivers/raw/dpaa2_cmdif/dpaa2_cmdif.c | 300 +++++++++++++++++++++ drivers/raw/dpaa2_cmdif/dpaa2_cmdif_logs.h | 46 ++++ 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, 745 insertions(+), 29 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