From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM01-BY2-obe.outbound.protection.outlook.com (mail-by2nam01on0066.outbound.protection.outlook.com [104.47.34.66]) by dpdk.org (Postfix) with ESMTP id 04901A823 for ; Tue, 16 Jan 2018 15:29:01 +0100 (CET) Received: from BN6PR03CA0089.namprd03.prod.outlook.com (10.164.122.155) by CO2PR03MB2359.namprd03.prod.outlook.com (10.166.93.19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.407.7; Tue, 16 Jan 2018 14:29:00 +0000 Received: from BN1AFFO11FD040.protection.gbl (2a01:111:f400:7c10::110) by BN6PR03CA0089.outlook.office365.com (2603:10b6:405:6f::27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.407.7 via Frontend Transport; Tue, 16 Jan 2018 14:28:59 +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 BN1AFFO11FD040.mail.protection.outlook.com (10.58.52.251) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.20.345.12 via Frontend Transport; Tue, 16 Jan 2018 14:28:56 +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 w0GESqAB024963; Tue, 16 Jan 2018 07:28:53 -0700 From: Nipun Gupta To: CC: , , , Nipun Gupta Date: Wed, 17 Jan 2018 02:13:53 +0530 Message-ID: <1516135443-10509-1-git-send-email-nipun.gupta@nxp.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <20171215130828.14218-1-sunil.kori@nxp.com> References: <20171215130828.14218-1-sunil.kori@nxp.com> X-EOPAttributedMessage: 0 X-Matching-Connectors: 131605865392485154; (91ab9b29-cfa4-454e-5278-08d120cd25b8); () X-Forefront-Antispam-Report: CIP:192.88.168.50; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(39860400002)(39380400002)(346002)(376002)(396003)(2980300002)(1109001)(1110001)(339900001)(199004)(189003)(36756003)(77096006)(81156014)(68736007)(8676002)(6916009)(498600001)(356003)(81166006)(2950100002)(47776003)(50226002)(8936002)(26005)(4326008)(97736004)(59450400001)(53936002)(6306002)(51416003)(48376002)(76176011)(305945005)(966005)(16586007)(86362001)(2351001)(8656006)(54906003)(5660300001)(2906002)(85426001)(106466001)(105606002)(296002)(50466002)(104016004)(316002)(50929007); DIR:OUT; SFP:1101; SCL:1; SRVR:CO2PR03MB2359; H:tx30smr01.am.freescale.net; FPR:; SPF:Fail; PTR:InfoDomainNonexistent; A:1; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BN1AFFO11FD040; 1:LnStliO2a3M3QEf8GmXJ284dsdeg0FVy6Ry8aF5zLBwDTSsYsTNK02D1s7HG6ZHEUxq+U+n/AbdGC3UFD8LTtT1W3A2jIdT8TG+K9VmpozGYl/GXUKmulyejTacD1X8S MIME-Version: 1.0 Content-Type: text/plain X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 73bfd0ea-d7c2-47c7-b322-08d55ced7b8a X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(5600026)(4604075)(2017052603307); SRVR:CO2PR03MB2359; X-Microsoft-Exchange-Diagnostics: 1; CO2PR03MB2359; 3:TpGtXmhX+u9M6tWtTxWZSt+6jjEbskroLclHRYYW1Z3GQ633IujRlGJ6siUFaWcNJoh9sce+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8Y0tik1BKBOkmgJSH2UpoyjpwzdDYEqwHO6BY/TpylldSx3IaaOaiPR9imzcaiJVYBhAhudfYj4tu9gYn0QcY/SADef1TSS+Pb2j/EVM6zaCKSXWAugbzY6H4uqOkj9EDX+xfWpKf54QSWQhZma40MtyhG1FR5mIN3Mx7AIwOFprhRC0V9vdjwe0FvQFQV+6Jg1IvcyDcSQmdyqPm6bzbZobfX X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(66839620246622); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6095135)(2401047)(8121501046)(5005006)(10201501046)(3231023)(2232001)(2102002)(944501161)(3002001)(93006095)(93001095)(6055026)(6096035)(20161123561025)(20161123556025)(201703131430075)(201703131520075)(201703131448075)(201703131433075)(201703151042153)(20161123559100)(20161123563025)(20161123565025)(201708071742011); SRVR:CO2PR03MB2359; BCL:0; PCL:0; RULEID:(100000803101)(100110400095)(400006); SRVR:CO2PR03MB2359; X-Forefront-PRVS: 0554B1F54F X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; CO2PR03MB2359; 23:Tlc4eZ6Z2kvAE8fWX/XzvwYTY9ZxLPSjnC0FIL61k?= =?us-ascii?Q?S/yt9JIcynJNLRL8T+RkSG1F8g9+iGHannloQheN0MmGxWhGCnMrXVRvqlNr?= =?us-ascii?Q?WoAHx+wKvvu2Ci0RfZP1W+dc9L+mBrftF9/5TyvZo1et2dIK0ul2U6Bmm0RX?= =?us-ascii?Q?o4W4g6dYTn0GfWMqVi7jdHTJbS2KSTWDrfkRUkNYSPF7MTSg9nBR7Zz8FL4u?= =?us-ascii?Q?e1rbn5i1UXoJ5Z7JeVuEQtaFRpMzQUkcgljQL6x7fpyy2dHhRemnWf66tl7I?= =?us-ascii?Q?Xfn8fKhWxPD2bUHXdt6RZ1O0BUakbYxSeh/CZPtsusQK+U7ctm1/759j2MJe?= =?us-ascii?Q?n9o6G+sZW+y9ucEkTF7/IMdSRqin0GB0Zqk/65Iak94MGHYoI8Bb2DKyk7qu?= =?us-ascii?Q?KGXKHDR1FuqmqjbCKfM09toLzXAtRsB8g/OguRRu4wN8jAImLjHuslYD2DKN?= =?us-ascii?Q?YlSTm0K3egl92z/oP9InJ/8b+7l9mnifEKziVlgztU8gb0iPUHoutImvpqTv?= =?us-ascii?Q?XI38Tl23G7YFlUbu3TdNqiiUAO6fYLaGD9UZRwz2aKU9+H+9OEazua1hSQmE?= =?us-ascii?Q?e8lftBc8a+iN/kF3HRTNnud8+QthpqNrPP41RSLwRDowaTTr4RT4XRgtcjNB?= =?us-ascii?Q?NTHAFokbm82TgxseOWS4re9wvne5PXHiohoVWY9psUj14yXAIb3kWlr7qyYG?= =?us-ascii?Q?6/9Fgsj5Us0nECVqsW3RLXcdBl+Yv0+VBSgBva1doeczV8UjbG78fi/drqVY?= =?us-ascii?Q?pEhzHh2ZK3zAD/1307GMdbmBgV91hcMkzAtPsvn8aqv4utQoHGQTvQndFjzR?= =?us-ascii?Q?N+IkT6ptDsegGYAt18cIpkKANFLc9iQNAzxxNvMzCQ1pOw2CGfF5LEqLlKFy?= =?us-ascii?Q?ZsgCixsvxZFCbKTDmglrPd6E4y34/hiqzMNmw32sLXT4NwAylhPlJ6TC/x6Q?= =?us-ascii?Q?qo98p0XxcBXoGMRMsjE9dAdCJ8mhTJnSZN7lfVpY4ku6w/DRwDGAq/v47oWp?= =?us-ascii?Q?gNnnBoLKLuaeV5LxGaaIxYRxu3ILbYFMobV9RL+Gq6rVprxJMuf4ssPH+Ztg?= =?us-ascii?Q?yFhNKnPUryS/vuoxFgNwrOUP7OTIW9SF9OlJBaLKw2Sx1d6wDEJdqBGkYla4?= =?us-ascii?Q?xd04pBMbfeD3M+SumsxsZVax6H9FCl9r1FyujPul7rzbP4zJexpMA=3D=3D?= X-Microsoft-Antispam-Message-Info: dXKarRQSITpF4SHmdAKFI76GNM3dDz67nxHwkVUM7Xzr4DIGBRQCmmJNuThDm26/wI9iG0pqH3ScTjg4V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Tenant-OriginalArrivalTime: 16 Jan 2018 14:28:56.9708 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 73bfd0ea-d7c2-47c7-b322-08d55ced7b8a 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: CO2PR03MB2359 Subject: [dpdk-dev] [PATCH 00/10 v4] event/dpaa: Support for 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: Tue, 16 Jan 2018 14:29:02 -0000 Event device support for atomic and parallel queues. These patches are based on dpdk-event-next (commit ID fb79a5525fb9) rebased on top of dpdk-net-next, as there is dependency on both the trees for this patchset. on dpdk-event-next this series depends on applied patch: https://dpdk.org/dev/patchwork/patch/33485/ on dpdk-net-next this series depend on DPAA net patches: https://dpdk.org/dev/patchwork/patch/33444/ This patch set includes following changes: 1. Configuration of atomic and parallel queues with given event device. 2. Also maintains previous dequeue method, via poll mode queues. 3. Added Rx functions to dequeue data from portal. 4. DCA consumption logic for atomic queues. 5. Dynamic Logging macros for event device Changes in v2: More logial splitting of the patches Changes in v3: Added new capabilities with DPAA PMD Removed CONFIG_RTE_LIBRTE_PMD_DPAA_EVENTDEV_DEBUG flag from doc. Rebased on dpdk-event-next (which is locally rebased over dpdk-net-next as there are dependencies on both the trees). Added a warning print when eventdev for DPAA is configured with push mode already enabled in DPAA PMD. Changes in v4: Squashed couple of small patches in patch 5: event/dpaa: add eventdev PMD Sunil Kumar Kori (10): config: enabling compilation of DPAA eventdev PMD bus/dpaa: add event dequeue and consumption support bus/dpaa: add dpaa eventdev dynamic log support net/dpaa: ethdev Rx queue configurations with eventdev event/dpaa: add eventdev PMD event/dpaa: add event queue config get/set support event/dpaa: add event port config get/set support event/dpaa: add eth rx adapter queue config support event/dpaa: add eventdev enqueue/dequeue support doc: add DPAA eventdev guide MAINTAINERS | 6 + config/common_base | 3 + config/defconfig_arm64-dpaa-linuxapp-gcc | 3 + doc/guides/eventdevs/dpaa.rst | 140 +++++ doc/guides/eventdevs/index.rst | 1 + drivers/bus/dpaa/base/qbman/qman.c | 91 ++- drivers/bus/dpaa/dpaa_bus.c | 6 + drivers/bus/dpaa/include/fsl_qman.h | 26 +- drivers/bus/dpaa/rte_bus_dpaa_version.map | 6 + drivers/bus/dpaa/rte_dpaa_bus.h | 14 + drivers/bus/dpaa/rte_dpaa_logs.h | 16 + drivers/event/Makefile | 1 + drivers/event/dpaa/Makefile | 37 ++ drivers/event/dpaa/dpaa_eventdev.c | 653 ++++++++++++++++++++++ drivers/event/dpaa/dpaa_eventdev.h | 81 +++ drivers/event/dpaa/rte_pmd_dpaa_event_version.map | 4 + drivers/net/dpaa/Makefile | 2 + drivers/net/dpaa/dpaa_ethdev.c | 115 +++- drivers/net/dpaa/dpaa_ethdev.h | 29 + drivers/net/dpaa/dpaa_rxtx.c | 79 ++- drivers/net/dpaa/rte_pmd_dpaa_version.map | 2 + mk/rte.app.mk | 1 + 22 files changed, 1299 insertions(+), 17 deletions(-) create mode 100644 doc/guides/eventdevs/dpaa.rst create mode 100644 drivers/event/dpaa/Makefile create mode 100644 drivers/event/dpaa/dpaa_eventdev.c create mode 100644 drivers/event/dpaa/dpaa_eventdev.h create mode 100644 drivers/event/dpaa/rte_pmd_dpaa_event_version.map -- 1.9.1