From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR01-DB5-obe.outbound.protection.outlook.com (mail-db5eur01hn0217.outbound.protection.outlook.com [104.47.2.217]) by dpdk.org (Postfix) with ESMTP id 43CC3DD2 for ; Fri, 4 May 2018 12:11:53 +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=q/k8FD3cg4FZbFycYNtoTaBurvcdjdGdA++HHAcG+nk=; b=nAXwTbT8PPR6QQvvaFHN+wahTBXVEHsQGqUDOEGa9t3lE8gj5TNQMNjS1glpNK0vciUwGRnXmHho5WmTYZU/cuf4svdhWJ1Xb35NTgNa/R0U00fu2u2EYZ0Ktvo6F25Cm41OOM82ClAqRHZApP8GhUZHb7ky7eALTnoKybrp8ao= 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 DB6PR0401MB2422.eurprd04.prod.outlook.com (2603:10a6:4:4a::25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.715.24; Fri, 4 May 2018 10:11:51 +0000 From: Nipun Gupta To: thomas@monjalon.net, hemant.agrawal@nxp.com, shreyansh.jain@nxp.com Cc: dev@dpdk.org, Nipun Gupta Date: Fri, 4 May 2018 15:41:22 +0530 Message-Id: <1525428689-8076-1-git-send-email-nipun.gupta@nxp.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1525365233-5956-1-git-send-email-nipun.gupta@nxp.com> References: <1525365233-5956-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: PN1PR01CA0071.INDPRD01.PROD.OUTLOOK.COM (2603:1096:c00:1::11) To DB6PR0401MB2422.eurprd04.prod.outlook.com (2603:10a6:4:4a::25) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(5600026)(48565401081)(4534165)(7168020)(4627221)(201703031133081)(201702281549075)(2017052603328)(7153060)(7193020); SRVR:DB6PR0401MB2422; X-Microsoft-Exchange-Diagnostics: 1; DB6PR0401MB2422; 3:2SUoMC6H5lh7P9GcNIkPKU49mV91Nd9Z4VsrI+jHoll2PR/g8b+Q+4PTbEr7ieXJ5lm/noAQJ2aovLvlOBDji9wqHKDWbLSW0GciyHRpomLhtkNyVNS1JKQBTr7Z/IH2pewFuclLCVBE9RLUu1IM0odg3Uqd06DXWKwy0bLo20Hw9nwFSSyW9V+aFDqPZvA1Ugftga8Yga6QzSfYB/oEudkYNHmQhAEDIzPio+kq1TsXcxnQhoI/jGqS/Ku/XdRB; 25:BKTa/mE5R2cAkzFaCU0b5n0J4Lrt858E4vZ9bcbjgGbOnPzCCLWI7OsnfEdCVv/bMB2anbVeQqiSejhKziE7Ky3D/aU1SEnyLb16+nIF3BHwuwmhB4K5Ouel9uD33hmRdsCB234Bunn3rczDlHTTd3luNK3hdTYXjvOTo7sgPPg7WsFNoTl3jeutxT58pb/oZF7eZQ3WaUsr5OGPlzTjyfEvtcTn8gYtWo5XrOLhKQOOxHvLGzU1El3sb1JGRZNZfNOPlC0MXiJHQoQJT7ykzQMxmXzQontK+urBRx5/HhUxFxOma1odu65kTvXQP5Xz1uGiuBb8Z+n+/5p2U58ZWg==; 31:46joAtxi1YWmkkhN1GvKiaNeYTs5wfV66y1b9usem9+QX0pBUqG4rpay2Pz9WML/+ZKr3DRH6EBcRhUhiBhQh7jdljg6pLFGySGzDZvm6aYVhpBUSpGBENZKgwUiAhRBV3YdKy9/QttBhnl6GvdmIfpaHgtVbuSrCjJOtOBDkVzXFHIeCp6o+oLCyc/+jR9xIifoXCg4cb20ToCN8f6esp0fAot5pabRoVG9iTKT85I= X-MS-TrafficTypeDiagnostic: DB6PR0401MB2422: X-Microsoft-Exchange-Diagnostics: 1; DB6PR0401MB2422; 20:05VweThlRYlk4zgt0MEVcSVMP3F7ra5K7suKrNtWR4Nx1lEFaF3ItsPf5UudKn3h9uVIQGCCc4NJNIi7mO3ctxN/kdYmPht6LkC1irdEmWLDKaTbOMtsGx4aorDZ9l9isldz9SCyeLjuKzZeLDnIXBckSo8lKCiBsVoN6rBqo1EORvugn6p+8yh2wE1z8kO9JpR7U8OIGpjpdEzRw94b+Xl8MrsXm6j92oNb6vGwpAhuZWLljVMpZDxktmiyvRZIaeNkhVuqy6WKSS9pdF5xmbRDOBe9I7GtAFO2tsCFl7EtiyZasPXwG7EbsHg8++jpfPcFuXwUZRjwZJ69+POo0DLUYUGgrMYe2N8ylc3byTHl3xaKgAKF8LOmKp9SvVruU7wPUR/OddrQ6RIvlrWj5mVS0vswlvE/gQCGERkJhCL90TdO4h8lWX6MmMWlyD+gvTrxecBtK3qpS9iYYF8JN+QNkc/FVC2Z7TCkDOqJ+nfyTWIQX/bfXIoaR/t49Pdb; 4:nXAHa0fv1NAXzS7ApXrED8/vR8Gie1HHrydDiR1IIzv9BBi8P2hwnHdvHyBWz1+RDHfL6falMHKkdKGtqridHuODK2+cBP1QYQx/bevAV0DL98Z/sCvaG88QSavkoYz9DZdaE10IvcSuEB7tTX6iKEzpoaDbxAmvDVR1zaMts2GqztqY1PTr4/Ejqu5Zs9MB7MoABiuCvoOc0wgNkr5cLu75KA+y1cbxsPsAC60RaRxOShFqoA/JuFiRixxZ7FCcQOiHWLUA3O52rcf0w6Oljxv0m48LUezMm6YomBbbK0qJOw8FWkt5aBmAFNQAG7k+n2BG6KGGORRH7hqZslIjC+d//1gIr7DckQsrzwcto9HkXNHjxBiv4wP5i4u006X4 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)(3231254)(2232076)(944501410)(52105095)(10201501046)(3002001)(93006095)(93001095)(6055026)(6041310)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123558120)(20161123564045)(20161123560045)(20161123562045)(6072148)(201708071742011); SRVR:DB6PR0401MB2422; BCL:0; PCL:0; RULEID:; SRVR:DB6PR0401MB2422; X-Forefront-PRVS: 06628F7CA4 X-Forefront-Antispam-Report: SFV:SPM; SFS:(10009020)(396003)(39380400002)(376002)(39860400002)(346002)(366004)(199004)(189003)(51416003)(53936002)(59450400001)(52116002)(4326008)(8936002)(105586002)(386003)(305945005)(6506007)(26005)(50226002)(55236004)(446003)(186003)(81156014)(5660300001)(76176011)(8676002)(5009440100003)(11346002)(25786009)(966005)(68736007)(7736002)(44832011)(106356001)(316002)(16526019)(48376002)(478600001)(6666003)(476003)(3846002)(2616005)(6116002)(16586007)(36756003)(6306002)(6636002)(81166006)(486006)(956004)(47776003)(6486002)(2906002)(50466002)(86362001)(6512007)(66066001)(97736004)(59010400001); DIR:OUT; SFP:1501; SCL:5; SRVR:DB6PR0401MB2422; 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; DB6PR0401MB2422; 23:8bzv7z+iYIWxGBlqBcR19NNn+VViVrlSAc/kLGQ?= =?us-ascii?Q?HRpoYnvbfQuwFB5knuzUOo21nIsWGwXNKoqoA0xntZQ8aQuSadUEeUbZFtg7?= =?us-ascii?Q?xhHT0/F0Qh1geYReV7lJrx2KzN+JihvFEJRciB5vgEWsqzqoa0oKTKcXklA2?= =?us-ascii?Q?T1SvYz4+U+HpE86n2ap4ARYw9xwkHB5BiY9IacNC4D3RvrDTLiF0IfNmnHvt?= =?us-ascii?Q?fbttWUY+We5xz2WXGE6Q2ff//jfK+tPdyVLZxkgwsmaK7RT7AkU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SIrc45IUY9YkBejIVfUmfFZHyLTWlA9pL13/4UhKCOU7gKSDimklzdbB6I0F+Pqtnfa+kdcWh+Kj9UUcXDYL5aokMJF2jCpOqjVPP6i40gEt8olQ/GZkqLxbYA3ADEDlsGwg8JWLN8jpKFU68GOAqelQ6P8wXi86QtNUtO1jlIdg7wFdZ6F5xF9fD6BShacWoxBltj1SP3FjLPjNGi6l0F7GWx+GJ7N66rcLMrz/9uddIfYOwzR6rhwEBccGQjMgnKtjQOzjYE2rzqJwNvVk9h8UAMSe4hCO0Na5fbWzjizHQcz85SIZ4M8sKSyJkoqNKixq9ac7FTJxau8BuQo3YR5F+9TUhp7Wj4CahE; 5:2Tw3P3gmNxaExnDZGOi8PXDKLWtPWv3JBbUOnB0VLskhQEK0HOyB3BlQhmK75uSsbtu1hpLvYn10grAoHuGUBr/LntixAqLLvQV0+Nwp6LWsG+Ym/vecmzLzCMVq993ATuIWghVr+yJbuUCB7Px6qbRHxrmV1JJiUYXZW5KHo5s=; 24:nsdPBBuHNB5+/2YCi6SfSn1fyV9A3JhKmk3JUUAlFs6LdvTVu5HKyK6p678B9s+VUwis7SnDq9z0bOA0C2buOg== SpamDiagnosticOutput: 1:22 X-Microsoft-Exchange-Diagnostics: 1; DB6PR0401MB2422; 7:F4h+bfV1t125DLhtGsr9dvRR7q1aIKLJSE6Ocm0cR06/8ZEJ/h7VOat6NUv9dHNnIjenQonLX0CKA0+iEigqJiueVq8n4wUpkDBjPAMUSdmAfixx+tn1wGRaqRVxMsfxgPteDKAb7kCDwCBnD0WmDmAgNrxT5H4EzVic+6bBps/bEOdPrTAiJzxdEVEMz7isxrw+ZA3vLLlbM39VV+s5mqx/M6XbErRz0ou4Sl1lQbqBgsd8LxVJ78NVFZlk5mWY X-MS-Office365-Filtering-Correlation-Id: 8cc5ae28-c4be-4e7c-0e09-08d5b1a774ed X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 May 2018 10:11:51.1046 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 8cc5ae28-c4be-4e7c-0e09-08d5b1a774ed X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB6PR0401MB2422 Subject: [dpdk-dev] [PATCH v6 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: Fri, 04 May 2018 10:11:53 -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 Changes in v6: - Fixed intermediate shared build break (patch 4) 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