From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR02-AM5-obe.outbound.protection.outlook.com (mail-am5eur02hn0208.outbound.protection.outlook.com [104.47.4.208]) by dpdk.org (Postfix) with ESMTP id 8A7491BB22 for ; Sat, 7 Apr 2018 16:34:37 +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=oRnQZtHHozYrjwYlJHk7lEI0RRCkyepWzOQoczOAx+U=; b=gsXh8l13+DhOB6YFxUhBtjRbdzQANV6XQ/9/OHRPB4n2Zg2kHYffU6z4k8olBXQNmF9Hobo3V4skzVAGWvSBUcqIxup1SUMsZG0t9kh4tZ6S/srssgEBtbLGUoTQ+MbnaFolpViP8NfGXbw/ZD+Qa8SY4CfVwwGx+uncww1ePK4= 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 DB6PR0401MB2424.eurprd04.prod.outlook.com (2603:10a6:4:4a::27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.653.12; Sat, 7 Apr 2018 14:34:35 +0000 From: Nipun Gupta To: thomas@monjalon.net, hemant.agrawal@nxp.com, shreyansh.jain@nxp.com Cc: dev@dpdk.org, Nipun Gupta Date: Sat, 7 Apr 2018 20:03:56 +0530 Message-Id: <1523111645-8076-1-git-send-email-nipun.gupta@nxp.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1519292089-13851-1-git-send-email-nipun.gupta@nxp.com> References: <1519292089-13851-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: PN1PR0101CA0017.INDPRD01.PROD.OUTLOOK.COM (2603:1096:c00:e::27) To DB6PR0401MB2424.eurprd04.prod.outlook.com (2603:10a6:4:4a::27) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 5ca2a58a-4394-4958-252a-08d59c94afdb X-MS-Office365-Filtering-HT: Tenant X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(5600026)(4604075)(48565401081)(4534165)(7168020)(4627221)(201703031133081)(201702281549075)(2017052603328)(7153060)(7193020); SRVR:DB6PR0401MB2424; X-Microsoft-Exchange-Diagnostics: 1; DB6PR0401MB2424; 3:ZzHfizCC3g0WQ8vue53Zsh4AmzeFdoD1iBQp4W41cfxrGUyDnu10V3lVmDHdsYSBGg9gId/IGLchUNrw48sHlmp77vVy1+iC1ad20pgiyJCuKGsa9rYITvpgbvxBSqZxrRFF11DsW178oHCApubbJurIIE5+E4Poz1EI5jCCmImXOvgAuLYIQwVT+h+R5xUlEVSEMk3JtXdUQ+qGPWxBuZ0T3V/yTOgaxP595VmjIaK84YVx3anyljmfPfYNMiud; 25:RZMa9QnBJFu1OgR/45SNitQ1AAcFp0jjJakNQRFDBrUtmQVlEzWRV1QlXSPzprUI4FPU2r8qDOq0XIpVawlaNmF2dwP8OWDQQSvJ+B6JFokpZ4sYFQDBKVzyW133NKVaC9tAnlEH35jH7EeMMSOEeMfKNRPpNWIeIN16C7UUZFvBOCmtAZ+MGrZk74hMAgxYMbLXT6dzLT3oCmOtMUiziRO1RVjH9/tjFAmlamxzBLDNdDQ7CYTkIE9bCn7Jiwc3vya1/6bRa985+35i9vBvGjUvuhXV2zR15D60Ye34HO2Y88aTGJ1J9rwekd3KYq1l+7UVCmTd/qq3BJ+1MQfdig==; 31:dgx/OLPCHaNpgw5oBI6qoFeq6P1ijuJplmhNIR7dpbN+P9vvDfcZrB6xUh/RKR4xDBzuToiJ4wZQzV9BvN4t6TeCK6SfKU70bB74xjJFfMJ772AqTQy+GbyQjDjA4bwwlZY5ZhuKgWWtbkhmigY4aL1RW4CByyL+Sy7mJrAKo43i9E8ZXcHWR7zSv5vZG2R0fb71gBac/tbKNP575P01sogZuJmAsX5cDbAOQZx/Ujc= X-MS-TrafficTypeDiagnostic: DB6PR0401MB2424: X-Microsoft-Exchange-Diagnostics: 1; DB6PR0401MB2424; 20:FreCcE+0z0lVtmh7c0855Ej0vl16tlpq1d76xVxYxnr3zCkYTQ060LRTEcfcpP8b+QsDm4yX/gIXIijqDquGTTYBcC+pKi7UcTbSPueT5oIZglfI+LARZJX8RXXfAo44B5NUeV0Ti/jASaWiNEiKFa1yB6lLprUMQq7QUolfPG9xObN1welLa1QpTnNTlNEhG/ivBSVyQ8PFwvVXkRVI85n/XZLNMqvSOmX/zAJnSYIHd+omxVXVazjLXExzMrJfnySzD4xxmYebENqy79FIjtbySjmqi5n7D2RYHNjgcPtC+vmSRtMUnPB59PQRua4cTKgAYP0AQBuF0SpwcmzPxc9pBqKoF7yaiJH6C05nFawpXEbOW8YFVniJBvFY5Rtly/1l5mKqi38Fsl5CPV2x69sDKc4FsJH/wBsnsz9SccJ+ENWZaiGy+SCpKdx6MhyQ2pretem3RcfJOYybuOhMBLoRVR4YVJY4oSGAkIikNE0a5t54/ElSAfBDfvkU6GKK; 4:S9c91NLULnp5k2ProuTNF/fKxvZqaVcfqFYcheXlRgN0t8+eaFwt422qrT1hNQHnhzK8ivGrP6I/h2piFB91CRZWroBWTaSAp+3M/+TOK6VyuvZKBjN7ucM4vab5DrapiBhOuKfPySvfIKxVsdMgNFRgrHzRWDB8xpuF4wg1671ADpFgr3+nbLhVFruDfGISedP25FKH6XaeZVZ7IJeViPt8F+Us+41ojpaXjuTXoQ/o/edGQU+BMrHypVk2df0i3G1QSNSTqjw3MW2O4j5R2vmUM54r0/x0+PUo3+f9EtY04gXTurpLYvAv85srNcfS2yPDgEtZi3v+dezv8f6sMRTUCg/LM+tpH+TD3D7DK+mD3O0BlRDgkV+/4C+pyeR1 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)(5005006)(8121501046)(3002001)(3231221)(2232076)(944501327)(52105095)(10201501046)(93006095)(93001095)(6055026)(6041310)(20161123558120)(20161123562045)(20161123564045)(20161123560045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(6072148)(201708071742011); SRVR:DB6PR0401MB2424; BCL:0; PCL:0; RULEID:; SRVR:DB6PR0401MB2424; X-Forefront-PRVS: 0635D5275E X-Forefront-Antispam-Report: SFV:SPM; SFS:(10009020)(396003)(39380400002)(366004)(376002)(346002)(39860400002)(189003)(199004)(105586002)(26005)(446003)(5009440100003)(48376002)(50226002)(186003)(16526019)(53936002)(47776003)(50466002)(52116002)(476003)(6486002)(36756003)(76176011)(305945005)(86362001)(66066001)(6512007)(6116002)(2616005)(51416003)(956004)(2906002)(16586007)(3846002)(4326008)(7736002)(8936002)(478600001)(81156014)(81166006)(486006)(11346002)(5660300001)(97736004)(316002)(6636002)(55236004)(6666003)(59450400001)(8676002)(25786009)(386003)(106356001)(6506007)(68736007)(59010400001); DIR:OUT; SFP:1501; SCL:5; SRVR:DB6PR0401MB2424; 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; DB6PR0401MB2424; 23:LWwdvsaSXxQ2TTMWwde+f5kALLSrINTFrdMDg/c?= =?us-ascii?Q?HQmqqRZDjgIHGX1a9xW2hG4DE7nQkdwUPvJrHxQrzdoiNPfm7PgFR7l1sjmq?= =?us-ascii?Q?5Dr1DcxQ5U9JS9RPzoKLM+uLsnihIlvCjsY5xdpB9QHAQYaeeB6Z7gUVWo57?= =?us-ascii?Q?qSNFlsG8oAEJWlnzI7DYKfFhKGFyYrEBrDepf0tXOFZHBY0k38miAZFTp1LD?= =?us-ascii?Q?hX0boOtDKn1XYCM/Px1dWCbbELx1N90En6GbIiNjpfUI4MYJjjct/nAqgAo4?= =?us-ascii?Q?zeeUvH274dWZ9VNYJJMVV5E0boE37Y0weE9wgBgVkf4FF78QGUDM1fwnKqJT?= =?us-ascii?Q?l/9PJo6FobvXaQR5xdNu2Ux7CWkwU9jFBHahxSh73o6aPDccZhijtJ3KcMYV?= =?us-ascii?Q?FjQlwKswt+0cF18SGoMoYWoeldqe7sUOIhLsUzGd8Hzod882RP9P1IjQMcUc?= =?us-ascii?Q?kMWA2YnO4Gg1nTOqBiO3Cukv2e1CHMmT61Sie9oWDTK5u48t88uBbuNun3Kp?= =?us-ascii?Q?AqhePPggHNbngY6SWVP7+gmg/3LyawrmUohNNTyuhfVxr4Wbzp6pwtiTa8kL?= =?us-ascii?Q?EoziQ+wsOozzgDeaPzCjyEYdBTuafGByUmEimyydFP98QW7KgZ4crAY1EjhV?= =?us-ascii?Q?Du1gizQhcwFrgqPTMBFVCXsfjO2esmmXEXnPUIuignNdaMtb+fucpSDiiPtE?= =?us-ascii?Q?ch6lMi3j64G+LYluo5luwY0G4RpFMQS55K7KSDLVuUvR1lyJJJ/TD3223f66?= =?us-ascii?Q?MdVpXvNTgN7aaR6F0xe1/edZuSwDdIef8RAv4eUTniKHL1+eL/JtkN9qrxep?= =?us-ascii?Q?E6sIpghESytIODUnb75khOoanNAGni5ewSZ/mPRCCovSdhG20XFlRtnWv9Oo?= =?us-ascii?Q?T/b+PoQBt3BdENXEbx7QIk2uVK/aodJmjbV8yBwb+y7RXV0sJS4KO8vGtTvn?= =?us-ascii?Q?11Yetb0yc/YBNrm9xvB+Ak5difxC9cBWomWo5BeMe4mDr13EWeiZIW1X5QAS?= =?us-ascii?Q?sl+KY5hNZsrvzPIjRXIrShQkICSqLRng4fef4SPH1lwZZmueETOxOSVe2yzd?= =?us-ascii?Q?ZHekUZz/OheSFmT9HFllmSaeRY+VSBl7Ub0qwrjOyC81DA5pfRUHWtYYbaWx?= =?us-ascii?Q?x3lMDNO9oKmO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uDUwgENwK4Bz8u/IqGCB09QNFBc9uW9xpFEIeHJemJynbCgTJhFi7n5Ekh78jpRzOUg5V1e99B6bgEh0nZ3iVuCgIYvdI1ypnSyoP5ME0B65320VmTVkRtmJde/s4/GUA0H6iQzTlIj+eiRvdjeIb4s8D72DEgeiFzRzrcQdc9YaMXdwRwZguN6SU6aapfTen+x86Ev8iTH1buAsvmSRus1E9bJWDDHKMKxpXovFbyT1gjocKWViTXKxCL/6J; 5:N+YvMqBWAiG35LATEY/dc9n8dq5qn2KgCftnkKxwiPmYMwkBKsf9+pw3oG3l01biay8oJzWWJYH57CUU8EarmwReZQcPJZ5rFXKdNex3m7vaE6hIHu54O+abFMsbbV2RE9icBHKudmTm/Y4xqpDk1mIrEfUKtVJiKTkuY/+CjrQ=; 24:gee/Oh7Wh413Qvp+HHZmCJy1D/W3+YEbxYs2IwmUngXksYQPzH7jjSHwSIaGXnk4Y0if4YZjEeR0M+oWdWg2eg== SpamDiagnosticOutput: 1:22 X-Microsoft-Exchange-Diagnostics: 1; DB6PR0401MB2424; 7:yT2duejuH5qJbXAB3TKuUr/kNpAKOhQB8eAEJRgevvLcifXVBHbW3CZuomRZCGofaCUZv13JDUR4rqrX53zF6ypQOzmdT3Yhon0IWEs4/zSZ6SDg9Xrrcz/L1GqfraWKXdPmYcF1oY4E9cbSSMeCnRQ0XT5qkNrPLJByABzK0j84bRYNvbIWGPktaLi2viFMxjEwIsKraH/eJ1wtdGraElUejbzDke69QD6KNW++HScuM6630GJdJ1QrUxVmWNAu X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 07 Apr 2018 14:34:35.1323 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 5ca2a58a-4394-4958-252a-08d59c94afdb X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB6PR0401MB2424 Subject: [dpdk-dev] [PATCH v2 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: Sat, 07 Apr 2018 14:34:37 -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 Changes in v2: - Move CMDIF compilation to common_linuxapp - Support physical addressing mode 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 | 9 + config/common_base | 1 + 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/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 | 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 | 3 + drivers/raw/dpaa2_cmdif/Makefile | 35 +++ drivers/raw/dpaa2_cmdif/dpaa2_cmdif.c | 300 +++++++++++++++++++++ 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 + 22 files changed, 719 insertions(+), 21 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