From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM01-SN1-obe.outbound.protection.outlook.com (mail-sn1nam01on0051.outbound.protection.outlook.com [104.47.32.51]) by dpdk.org (Postfix) with ESMTP id 52AC4A49C for ; Fri, 12 Jan 2018 16:07:56 +0100 (CET) Received: from BN6PR03CA0053.namprd03.prod.outlook.com (10.173.137.15) by CY4PR03MB2694.namprd03.prod.outlook.com (10.173.43.137) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.386.5; Fri, 12 Jan 2018 15:07:54 +0000 Received: from BL2FFO11FD042.protection.gbl (2a01:111:f400:7c09::141) by BN6PR03CA0053.outlook.office365.com (2603:10b6:404:4c::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.407.7 via Frontend Transport; Fri, 12 Jan 2018 15:07:54 +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 BL2FFO11FD042.mail.protection.outlook.com (10.173.161.138) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.20.345.12 via Frontend Transport; Fri, 12 Jan 2018 15:07:53 +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 w0CF7oOu020468; Fri, 12 Jan 2018 08:07:50 -0700 From: Nipun Gupta To: CC: , , Nipun Gupta Date: Sat, 13 Jan 2018 02:52:55 +0530 Message-ID: <1515792181-11836-1-git-send-email-nipun.gupta@nxp.com> X-Mailer: git-send-email 1.9.1 X-EOPAttributedMessage: 0 X-Matching-Connectors: 131602432735129537; (91ab9b29-cfa4-454e-5278-08d120cd25b8); () X-Forefront-Antispam-Report: CIP:192.88.168.50; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(346002)(376002)(396003)(39380400002)(39860400002)(2970300002)(1110001)(1109001)(339900001)(189003)(199004)(54906003)(5660300001)(316002)(16586007)(296002)(2906002)(68736007)(36756003)(86362001)(6916009)(305945005)(356003)(104016004)(53936002)(8656006)(498600001)(4326008)(2351001)(8676002)(106466001)(81156014)(81166006)(105606002)(6306002)(97736004)(8936002)(50226002)(77096006)(50466002)(48376002)(85426001)(47776003)(51416003)(966005); DIR:OUT; SFP:1101; SCL:1; SRVR:CY4PR03MB2694; H:tx30smr01.am.freescale.net; FPR:; SPF:Fail; PTR:InfoDomainNonexistent; MX:3; A:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BL2FFO11FD042; 1:pNOKAWP+q+GrH7lF6FK67mEzJ38/TBcJxCKTT0aXkaUdiolO01vFnX7yqXc4COwUuhXZcAhnNU0QfOMswV0wabn+S1dY4a9vtAtenxxatW12Dn5c4AU7YtM+k07I2/pZ MIME-Version: 1.0 Content-Type: text/plain X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 63b3a534-6720-4eb1-2fc1-08d559ce4138 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020083)(5600026)(4604075)(2017052603307); SRVR:CY4PR03MB2694; X-Microsoft-Exchange-Diagnostics: 1; CY4PR03MB2694; 3:jzLUrnwRTgK1OK+UCUk9GypX+mDUcIZgBSVIqFVrZ2sfWxM5k7YYpfdBmTj9YyiqvFBUh4QBH8JO3LwGesoed6/GFUkb5Mg2n/scgBTAxx9MyZgmvOpuGCSQnqGUE1IdudUzHPLQ1tIGniaGcYr+PGxdA2oNgAtV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OSVsY6vBn2F3iuv5yMZr+fNCwICnpqW4pXKXtfptjoq0vdXtvYM8SQe41L5+vOb6DuPCGKmTU/JsL69vlX2jrs95lA9W8R0F6qOxRqhtQvzlXzEVkpG7d5u439SvbtQ== X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(788757137089)(275809806118684); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6095135)(2401047)(8121501046)(5005006)(10201501046)(3231023)(944501144)(3002001)(93006095)(93001095)(6055026)(6096035)(20161123559100)(201703131430075)(201703131520075)(201703131448075)(201703131433075)(201703151042153)(20161123565025)(20161123563025)(20161123556025)(20161123561025)(201708071742011); SRVR:CY4PR03MB2694; BCL:0; PCL:0; RULEID:(100000803101)(100110400095)(400006); SRVR:CY4PR03MB2694; X-Forefront-PRVS: 0550778858 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; CY4PR03MB2694; 23:YG8L3gLTReu2rzgVr1P1+526EyOvMQOZEHoZdpgYb?= =?us-ascii?Q?pckHfxSS1IcmNdLBDNCP0o5e70Jf9kJVc75vYQPHcXRHtQzgAZ5nU9KORwYp?= =?us-ascii?Q?Zdxplk7ji01d83/M6tlvihaxvWMVccEGhiBSsXfE/M+I3YQbPLyKmPIfkTVx?= =?us-ascii?Q?Eo1kW9/WDuU5sbHBg/sIUMBS9W1dqfvqr/r9J3dG3liaKfN8+XUJ7a4vfyxS?= =?us-ascii?Q?w2rhakN5ThU34ftZlg8hP/6pXp1dQreHM5RbFGyjZfHd3KEKJCgn2IFecwbV?= =?us-ascii?Q?23hZBJC1vJfUs2govQxXWUQTrESrlxHdNSik9qdedfMKurlBiJoqyMdNtZlo?= =?us-ascii?Q?GSKVfLlZRQpAbzx/Gqrikal+FwY73q2dUYVqemeq85Lf85Toyur6Rva2jgbq?= =?us-ascii?Q?ycT9eCFiThBKSJ+i5sT9cJ5jSjqx/KyCmZw8V8xZT0sTbgrOBWvHmu+m+odS?= =?us-ascii?Q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o7wBW/PBbQPM5AQX/njymMSsC3yummnpkSzrrvK4xt1ZgWNCSOz3NI4iiDdcV/r5sVgLH2ZI=; 5:t5NXkRiUoEbdAjKiD4pED5etBvKmg4kgxxba5gu8FTNfROOIj0J0Y4ff5HkM7myIHpQhoB5DARrgs8wlxFJHFRcw+t6Q34geQ4gGNJLe2t3xdHFJ8BNz8hMO40YHjFTVXkf3BubOjSyW0WdFDk9tC4lncxFGmyvnV+ZdBv6AwSI=; 24:6S2Z+XOZfjj6TzafPKwAYeYTa+sYIumSGWskcl7xThphv3hEnpeyDJjKN92myg5KH4l3D+6h2nTGbOmx1Z9H4+moWeCz0Mrw2uA5FYhV8BQ=; 7:cib3vpxOXO0BEZf35AfY0X+3p8mznOEqWyT7IE2Bgrl55vHZO41jwWVRjiXZuN2UzXCaRpUFiVwhgsf8XhEOK7EYtbYvbnM45qguoW2bFYWp6nJySPZli8T2sriEVJVqocb1kBgFkyFGT/uCK4ivKHfyL8dAE05I0vgvV2FkFkeVJuhYoAPwaqG/cY3SIuq2sCkAv1twAGnIsFJDjZXynMVqBPHdLXavrVC3tUxCNyEEOIM2Dn2uAoHlfOeo6CvP SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Jan 2018 15:07:53.3569 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 63b3a534-6720-4eb1-2fc1-08d559ce4138 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: CY4PR03MB2694 Subject: [dpdk-dev] [PATCH 0/6 v2] 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: Fri, 12 Jan 2018 15:07:56 -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://dpdk.org/dev/patchwork/patch/31997/ Changes in v2: Rebase on top of net-next branch (because of dependency on DPAA2 series [1]) 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 | 15 +++ 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, 199 insertions(+), 70 deletions(-) create mode 100644 drivers/event/dpaa2/dpaa2_eventdev_logs.h -- 1.9.1