From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM03-DM3-obe.outbound.protection.outlook.com (mail-dm3nam03on0079.outbound.protection.outlook.com [104.47.41.79]) by dpdk.org (Postfix) with ESMTP id 68E26A499 for ; Wed, 17 Jan 2018 06:24:13 +0100 (CET) Received: from BN6PR03CA0009.namprd03.prod.outlook.com (10.168.230.147) by DM5PR03MB2698.namprd03.prod.outlook.com (10.168.197.136) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.428.17; Wed, 17 Jan 2018 05:24:12 +0000 Received: from BY2FFO11FD045.protection.gbl (2a01:111:f400:7c0c::111) by BN6PR03CA0009.outlook.office365.com (2603:10b6:404:23::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.407.7 via Frontend Transport; Wed, 17 Jan 2018 05:24:11 +0000 Authentication-Results: spf=fail (sender IP is 192.88.168.50) smtp.mailfrom=nxp.com; NXP1.onmicrosoft.com; dkim=none (message not signed) header.d=none;NXP1.onmicrosoft.com; dmarc=fail action=none header.from=nxp.com; Received-SPF: Fail (protection.outlook.com: domain of nxp.com does not designate 192.88.168.50 as permitted sender) receiver=protection.outlook.com; client-ip=192.88.168.50; helo=tx30smr01.am.freescale.net; Received: from tx30smr01.am.freescale.net (192.88.168.50) by BY2FFO11FD045.mail.protection.outlook.com (10.1.15.177) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.20.345.12 via Frontend Transport; Wed, 17 Jan 2018 05:24:11 +0000 Received: from b27504-OptiPlex-790.ap.freescale.net (b27504-OptiPlex-790.ap.freescale.net [10.232.132.60]) by tx30smr01.am.freescale.net (8.14.3/8.14.0) with ESMTP id w0H5O79n027272; Tue, 16 Jan 2018 22:24:08 -0700 From: Nipun Gupta To: CC: , , Nipun Gupta Date: Wed, 17 Jan 2018 17:09:08 +0530 Message-ID: <1516189154-28331-1-git-send-email-nipun.gupta@nxp.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1515792181-11836-1-git-send-email-nipun.gupta@nxp.com> References: <1515792181-11836-1-git-send-email-nipun.gupta@nxp.com> X-EOPAttributedMessage: 0 X-Matching-Connectors: 131606402515012027; (91ab9b29-cfa4-454e-5278-08d120cd25b8); () X-Forefront-Antispam-Report: CIP:192.88.168.50; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(376002)(39380400002)(39860400002)(346002)(396003)(2980300002)(1109001)(1110001)(339900001)(189003)(199004)(5660300001)(8936002)(966005)(50226002)(68736007)(47776003)(86362001)(6306002)(85426001)(104016004)(26005)(54906003)(296002)(97736004)(316002)(16586007)(53936002)(8656006)(45080400002)(498600001)(106466001)(8676002)(77096006)(51416003)(81156014)(81166006)(36756003)(76176011)(2351001)(2950100002)(6916009)(48376002)(105606002)(305945005)(356003)(4326008)(50466002)(2906002); DIR:OUT; SFP:1101; SCL:1; SRVR:DM5PR03MB2698; H:tx30smr01.am.freescale.net; FPR:; SPF:Fail; PTR:InfoDomainNonexistent; MX:1; A:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BY2FFO11FD045; 1:OCDQG/2U/ZrnQurG/Wv2oMWMrjLObY1KM8mExEn1K6XFOjhqEYFx0UrcWcPm5NnJX2Xsf5bP3GyOW4NLn7EQ4MLo+7jStr/xQr6DykpoLlYz8j4RiCM7TwpCP345VnIQ MIME-Version: 1.0 Content-Type: text/plain X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: e52f49b3-86f2-420f-09bb-08d55d6a8a8a X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(5600026)(4604075)(2017052603307); SRVR:DM5PR03MB2698; X-Microsoft-Exchange-Diagnostics: 1; DM5PR03MB2698; 3:u/lGEIY8vm27TApqCqwLYHBnM1PjooHkkhUeA7ICZDCWAKuoC2amMnNtw+dk+7/M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HxzFcjDKngSpS/UACXSK1H68/5DEPuskTBcNo3Urnzh3toerJei+K/uMYwVa8GKzAr07CPvZHSX3ZwHNmYCIjJViVCGwHnG6LhuTIsExjDwjqLrLQpSD4b6ITY6RSYpWtlAARlShHI99G1V/SOBM+TQ41743rx/JeCNp3QNPx0ydEPpzJaWRA1Yn/mgKxUYMNvr1Y0v6SjVRjOAoqAzs80A65Dod016pjnZ7in8mttHZyiim0X1Rin15ysizj12SoqV6bXyF4wvpAtWhgrT1SWhtf1Nma40cV7JOy6z4hz8= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(189930954265078)(788757137089)(45079756050767)(275809806118684); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6095135)(2401047)(5005006)(8121501046)(10201501046)(3231023)(944501161)(3002001)(93006095)(93001095)(6055026)(6096035)(20161123559100)(201703131430075)(201703131520075)(201703131448075)(201703131433075)(201703151042153)(20161123565025)(20161123556025)(20161123561025)(20161123563025)(201708071742011); SRVR:DM5PR03MB2698; BCL:0; PCL:0; RULEID:(100000803101)(100110400095)(400006); SRVR:DM5PR03MB2698; X-Forefront-PRVS: 0555EC8317 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; DM5PR03MB2698; 23:YfrZA9bARSNB3YMWgywcbR7r3cID+CFcNlOOqTwVP?= =?us-ascii?Q?7jJaOQybzeNPUls/LZtF0oaNzULkxYZ06cj9dl/2Bb8OoyDrK8Sg7xpH4dHv?= =?us-ascii?Q?c3Ga3FhZLpLu395BIexPX3VXoOQ8K3UeuIa/bOExGDpySr83ktdYNvzBBucD?= =?us-ascii?Q?cdJMScOqPbAQ13rEwolaXZYBjnIfwvX5aaclxLk37MkaK/ZRcZk/yH4UrSgF?= =?us-ascii?Q?I5+ksAXkRvEUEXmhCzXRW33hEbayxQteA9iFPF2K7ycivvBi+GQ9tFFhB88p?= =?us-ascii?Q?+6aEvc0Z8YIpsO0VgRWvEt4ORiFJTgW5ie+dU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SbCYNVrUr2DTXlJAfkkW/t9dKd6LVgbs2Rg5pth2ffhBaFrg3T8S+uCjvy9GLH9Mtdz4Rg4DLMbkUMmoEqWKiLcVgRcjIc6DF99GRwCqDfBIudZtLI834zHg9xUu/6fALtKgc8fXaLZ7/ILpAhTq0wHLuZizXNUetqDJkchyRZ/I9EKWSS/lpzL4rhAnNgXGvhcNDyyuGTfLwlRAThViFhMtAZ/Eq2h6ER0VXd1hzgLld2fMnAMTnAFY5R6Eh0ZbAH9d91ySBil/iYquy+qY4SFDpNp40r1ijvf/oo8GJhBUG/MAO0xNqVJJh9FLwrzEla0xcY+3sn/ZPyPLs1dXmZmIylyvhHycRqACd8h9M=; 5:hlYepO5jRf4UocTcRzVOdhpJizXZq5Cq+5Et+tb8VK9kltQH5PpgnbK9H/8Wa23EvUVuZ14x0GOxX26rJWPz5Laj7y8U2eIF4QTxYp2SD2GgvjDrSLub9b6PI0y2DV+nj1pAffbBL5YWKyYfqy+z/lYmUdXoP/7IVTQe1DTFedY=; 24:32AwRGJJ5q3jRbAKmlemWv+tPF5brppTtJti5mDwZuBUoGUvCvIGr04T/RbExYye8c9oLg+GyaWIXTdINeS6kKsRmZ069N/Khwoj0sxLKpg=; 7:/ufmHFBjHF/SfYJDTNdCOYS4Eo9Up9FXTIdHv/8f4d0H/ovoRBBT9ie57uuQyZPKl37a33eUOaTn+k9p59VVpfPPUg+X1s/O5p6z3Ar0SsnrElVI3xF28bsNTnxlAJp2UgM0rGbyhceHfDFhaf8An3a21aNysUWO6EyKWAc0ep0w50GIYDRzaWqkpsMi8qCAYSd/YaWTx0E/QTnM3dPxpVxfbE0GOYL0FR5Ricy5KW+1SE88axwTmT9TbK3nekOH SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Jan 2018 05:24:11.3140 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: e52f49b3-86f2-420f-09bb-08d55d6a8a8a X-MS-Exchange-CrossTenant-Id: 5afe0b00-7697-4969-b663-5eab37d5f47e X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=5afe0b00-7697-4969-b663-5eab37d5f47e; Ip=[192.88.168.50]; Helo=[tx30smr01.am.freescale.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR03MB2698 Subject: [dpdk-dev] [PATCH 0/6 v3] support atomic queues in dpaa2 ethernet with eventdev 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: Wed, 17 Jan 2018 05:24:13 -0000 These patches assume that DPAA2 series is already applied [1]. This patch series supports atomic queues in DPAA2 Ethernet driver with eventdev. Also other changes such as dynamic logging is supported with these changes. Patch 1 - support dynamic logging in eventdev Patch 2,3,4 - Cleanups and performance enhancement for eventdev Patch 5,6 - support atomic queues in DPAA2 ethernet driver [1] https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdpdk.org%2Fdev%2Fpatchwork%2Fpatch%2F31997%2F&data=02%7C01%7Cnipun.gupta%40nxp.com%7C9a89aaced3d3451810aa08d559ce435d%7C686ea1d3bc2b4c6fa92cd99c5c301635%7C0%7C0%7C636513664790745808&sdata=IUnkbDAGOJhK%2FYRpqDCJc7oF%2BUxulGmSl4ykD95JtYc%3D&reserved=0 Changes in v2: Rebase on top of net-next branch (because of dependency on DPAA2 series [1]) Changes in v3: Rebased on top of dpdk-net-next Replaced variable held_bufs with dpaa2_held_bufs Nipun Gupta (6): event/dpaa2: replace static with dynamic logging bus/fslmc: introduce API to consume dqrr using index event/dpaa2: use dqrr index to cosume the DQRR entry event/dpaa2: have separate structure to hold dqrr entries bus/fslmc: add flag to configure DCA in QBMAN multi Tx net/dpaa2: support atomic queues drivers/bus/fslmc/fslmc_bus.c | 2 + drivers/bus/fslmc/portal/dpaa2_hw_pvt.h | 2 - drivers/bus/fslmc/qbman/include/fsl_qbman_portal.h | 12 +++ drivers/bus/fslmc/qbman/qbman_portal.c | 14 +++ drivers/bus/fslmc/rte_bus_fslmc_version.map | 2 + drivers/bus/fslmc/rte_fslmc.h | 18 ++++ drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c | 1 + drivers/event/dpaa2/dpaa2_eventdev.c | 111 +++++++++++---------- drivers/event/dpaa2/dpaa2_eventdev.h | 12 --- drivers/event/dpaa2/dpaa2_eventdev_logs.h | 37 +++++++ drivers/event/dpaa2/dpaa2_hw_dpcon.c | 1 + drivers/mempool/dpaa2/dpaa2_hw_mempool.h | 2 + drivers/net/dpaa2/Makefile | 1 + drivers/net/dpaa2/dpaa2_ethdev.c | 7 ++ drivers/net/dpaa2/dpaa2_ethdev.h | 5 + drivers/net/dpaa2/dpaa2_rxtx.c | 45 ++++++++- 16 files changed, 202 insertions(+), 70 deletions(-) create mode 100644 drivers/event/dpaa2/dpaa2_eventdev_logs.h -- 1.9.1