From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM01-BN3-obe.outbound.protection.outlook.com (mail-bn3nam01on0061.outbound.protection.outlook.com [104.47.33.61]) by dpdk.org (Postfix) with ESMTP id 162112BB5 for ; Tue, 16 Jan 2018 12:43:03 +0100 (CET) Received: from CY1PR03CA0006.namprd03.prod.outlook.com (10.174.128.16) 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.407.7; Tue, 16 Jan 2018 11:43:02 +0000 Received: from BN1AFFO11FD037.protection.gbl (2a01:111:f400:7c10::111) by CY1PR03CA0006.outlook.office365.com (2603:10b6:600::16) 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 11:43:01 +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 BN1AFFO11FD037.mail.protection.outlook.com (10.58.52.241) 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 11:42:59 +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 w0GBgtjK014705; Tue, 16 Jan 2018 04:42:56 -0700 From: Nipun Gupta To: CC: , , , Nipun Gupta Date: Tue, 16 Jan 2018 23:27:53 +0530 Message-ID: <1516125485-28919-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: 131605765814597285; (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)(346002)(39860400002)(39380400002)(396003)(2980300002)(1109001)(1110001)(339900001)(189003)(199004)(86362001)(59450400001)(53936002)(76176011)(4326008)(8656006)(48376002)(5660300001)(6306002)(97736004)(47776003)(106466001)(2950100002)(26005)(54906003)(85426001)(50466002)(296002)(16586007)(6666003)(316002)(6916009)(2351001)(104016004)(81166006)(8936002)(305945005)(81156014)(356003)(2906002)(51416003)(966005)(8676002)(77096006)(68736007)(36756003)(105606002)(50226002)(498600001); 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; BN1AFFO11FD037; 1:nOpzuk3zG3cq0Mz5ME/oXKk6z8hfwGI5LrlufwQ02VlaGTuETRtSdjnv04GnUxU70y0hVJUUjTctVZwYZPbBdZAnYMt8gwJQlv+5uE7J7qgZRZAI/85BDt3Osf9ip/0U MIME-Version: 1.0 Content-Type: text/plain X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 068ffebe-7c2e-4cf0-b6a5-08d55cd64c3c X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(5600026)(4604075)(2017052603307); SRVR:DM5PR03MB2698; X-Microsoft-Exchange-Diagnostics: 1; DM5PR03MB2698; 3:kHrONAnnhZMgzygLVhPagGrtY4PUyscQ/1jCDC7s0rdu2PXF36qxb9/RVyq2b1+qvAl2r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7AOFyBDiVhtYdGKtWsJ7V9jnvgaFpXMlNT/d7EqXPlaD3RnhlmuCZ9axo/HgwPFntB7boOijRsbTMcUt5mWmdAvn5rRCQO9ag9n2uOIqI82JxpYttTcdBPyKSrVUE8ggftg8IaTcp70Cc2s/z+6GCPnudd60lpWJuQ== X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6095135)(2401047)(8121501046)(5005006)(3002001)(3231023)(944501161)(93006095)(93001095)(10201501046)(6055026)(6096035)(20161123563025)(20161123561025)(201703131430075)(201703131520075)(201703131433075)(201703131448075)(201703151042153)(20161123556025)(20161123565025)(20161123559100)(201708071742011); SRVR:DM5PR03MB2698; BCL:0; PCL:0; RULEID:(100000803101)(100110400095)(400006); SRVR:DM5PR03MB2698; X-Forefront-PRVS: 0554B1F54F X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; DM5PR03MB2698; 23:nOyOGK3TanKuCbsoUkrkeZMrafBANciIG96udefu0?= =?us-ascii?Q?WdAWbawxaw2G5kja70nDI6RRnsC/Jeu+JV7UD/EoRVWlxWX3ZuEhNa97xeBG?= =?us-ascii?Q?aOCee9jMUImMHCYa/GXZA6nnNKRCBAh7qSSTqi9Vunr1MEv3Sby3LXVO2unj?= =?us-ascii?Q?vkM//LvZ0xAXDwqGWuKag4BvooUH7Ejuyz/tZyEyYr0kBAmhh69t1r88+QHk?= =?us-ascii?Q?FwvhFGo8D5YD2R4pjroxkrYWowWmocjg+MpES3gvKol3ewyvt37bV4DQOzBo?= =?us-ascii?Q?BJiTJc5Qei1ivYxp6an64DuQc/fFXZVyXo2hLOE8oo1kyW6DJBPflVyNHF5e?= =?us-ascii?Q?fkX9MjIKHyU6Nl/qTQ8ODIHz5K8QaaTuFFJ2zGnOcTGP71N7FLJh9gjyhvo9?= =?us-ascii?Q?P3D9XpTx+hS0lJcV+/iPW4Y1DhSe+eCNJpqhbOfQYPSD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U3wgoCW0ZKPbDsemuF4xpa39k18bdRYPH1qfBJOWlnhvYo9p13eQDStJc1OArErgDxTftixmbnymEysXo6ccJmf9/PGHZsc2udH65sbiiOlGu94TZNp+2B+66jq/MM4sPJCzdkCuG7Jj8CNORmjxNuNUDJ7pl5RQ9YluHq4l5EOhhvHmr2riuGN29J3IaYUkQRk4HZXSFNzVmNlOPL71EL0hwDms0haKV8eXzd+3SILrs=; 5:3QOaM1URlk/MAnNmkL/+gI8vXvv1Vj5OzMbH8IEghaH7lu7U7zT5YLR7lhYFwJGI0MkbQZynq8uELTmEv6/JvPhuLBkptnRosGXuW1FCYMoIrHda94ZR/5kzCBuMcjWv+UJpXtZq3M9Valm/2yi7J0bFTfr4ySALwxBHoNNF9nQ=; 24:Yje0huNWJ1Rb6hThAluiVRRFC2w9wsLE32riU1Or/7MOuMiAt91wUFfTiTBLu0HQD4+tFsJafRsm+lCOuMTgeBuzYqi73DOJdHmXNwVGJ9s=; 7:0j08HKJnWIKUksTZbaaHI4Rq6q6KvsNGRg9dg2q6kIy1XdbPoYN4d6q2/sZlX/Qv1VSYNVrYhDCm1eWZ8Wuwtzl+tIZWuYfRarJLWtwmvy5Qf3E0/Xn71vn56fsdvgs6y5bzycycnzZ7nCoCw3hfsu8XPaHnOP/03Oy9QE3OL8M6aPJozrl2YezAk47ni9TydX7tq+YlrPjLOc2hcdlak9sImFdbu8upbVjqX2JkA9p5bhKHwOJlrZg3vtv9JK2T SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-MS-Exchange-CrossTenant-OriginalArrivalTime: 16 Jan 2018 11:42:59.1820 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 068ffebe-7c2e-4cf0-b6a5-08d55cd64c3c 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 00/12 v3] 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 11:43:03 -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. Sunil Kumar Kori (12): 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 dequeue timeout conversion support event/dpaa: add eth rx adapter queue config support event/dpaa: add eventdev enqueue/dequeue support config: add eventdev library to application 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