From patchwork Wed Jul 3 03:55:27 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jerin Jacob Kollanukkaran X-Patchwork-Id: 55922 X-Patchwork-Delegate: thomas@monjalon.net Return-Path: X-Original-To: patchwork@dpdk.org Delivered-To: patchwork@dpdk.org Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 283705587; Wed, 3 Jul 2019 05:55:37 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by dpdk.org (Postfix) with ESMTP id 2E5195424 for ; Wed, 3 Jul 2019 05:55:34 +0200 (CEST) Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x633sgBP024033; Tue, 2 Jul 2019 20:55:34 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; h=from : to : cc : subject : date : message-id : content-type : content-transfer-encoding : mime-version; s=pfpt0818; bh=1KW0z9MEiBTCPhMLo/8UDV8B4AKsfszpt/vBTd+7kO4=; b=sqguBtK1eBnZmcU3I/DoM/Y2BgEXxjkSuoodL0evBPvhFykDyoXV5VzHhZBpQbSTbrJJ skXuiXqVtTLWLhobCClTAWcLxlYQyMAoNSlzqJGynMF+EK/8OB6VdKLd4BuC9RjbxoyM k+b/axWeTIIlPl5H9hB101iO+nGK0i7n37WB5P+eWXhltL1NNpBc71plXhwKAeR8iofl vtDyLKhyP3CFEhCHEpmfcbKFkpP98CCru81xpA2RXqRUtPgP1SMPXs8rvY7o/VdhMR3o VCuabERQarLukAgCew4xB4aEyvUpGKwG5uVSzyQLh7MQPQphVEoBVQiJzNZlxihi1fkC oQ== Received: from sc-exch04.marvell.com ([199.233.58.184]) by mx0a-0016f401.pphosted.com with ESMTP id 2tge6q99ux-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Tue, 02 Jul 2019 20:55:33 -0700 Received: from SC-EXCH03.marvell.com (10.93.176.83) by SC-EXCH04.marvell.com (10.93.176.84) with Microsoft SMTP Server (TLS) id 15.0.1367.3; Tue, 2 Jul 2019 20:55:32 -0700 Received: from NAM03-CO1-obe.outbound.protection.outlook.com (104.47.40.51) by SC-EXCH03.marvell.com (10.93.176.83) with Microsoft SMTP Server (TLS) id 15.0.1367.3 via Frontend Transport; Tue, 2 Jul 2019 20:55:32 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.onmicrosoft.com; s=selector2-marvell-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=1KW0z9MEiBTCPhMLo/8UDV8B4AKsfszpt/vBTd+7kO4=; b=GXylszqn2gwDizwc01PB806oGqsXUBiZXd6z/9iUMfvytMdcO43WufTSCcIpsqUUX5UZWI4MKrWGTZ0iME1x7Rlhcw5NdtrttoDuO8O5lKq07UbMg8RI4lDzGAQk5iewDzkvuKWV45CW6BJ9NFw+j8EJqTl00tSVNKsrSPHU9aM= Received: from BYAPR18MB2424.namprd18.prod.outlook.com (20.179.91.149) by BYAPR18MB2663.namprd18.prod.outlook.com (20.179.94.86) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2032.20; Wed, 3 Jul 2019 03:55:28 +0000 Received: from BYAPR18MB2424.namprd18.prod.outlook.com ([fe80::2d42:12b6:aa2e:2862]) by BYAPR18MB2424.namprd18.prod.outlook.com ([fe80::2d42:12b6:aa2e:2862%4]) with mapi id 15.20.2032.019; Wed, 3 Jul 2019 03:55:28 +0000 From: Jerin Jacob Kollanukkaran To: Thomas Monjalon CC: "dev@dpdk.org" Thread-Topic: [dpdk-dev] [pull-request] next-eventdev 19.08 RC1 Thread-Index: AdUxUvdDWo5P+S47Rz6tJ3yXhvuGXg== Date: Wed, 3 Jul 2019 03:55:27 +0000 Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [14.140.231.66] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 8e907be4-594c-4dc6-f943-08d6ff6a4951 x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(7168020)(4627221)(201703031133081)(201702281549075)(8990200)(5600148)(711020)(4605104)(1401327)(2017052603328)(7193020); SRVR:BYAPR18MB2663; x-ms-traffictypediagnostic: BYAPR18MB2663: x-ms-exchange-purlcount: 1 x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:293; x-forefront-prvs: 00872B689F x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(4636009)(136003)(366004)(39860400002)(396003)(346002)(376002)(189003)(199004)(64756008)(66556008)(26005)(66446008)(66946007)(76116006)(66476007)(316002)(6506007)(8936002)(73956011)(3846002)(186003)(102836004)(53376002)(305945005)(74316002)(7736002)(476003)(6436002)(55236004)(33656002)(66066001)(486006)(6116002)(68736007)(6306002)(7696005)(8676002)(6916009)(71200400001)(4326008)(9686003)(256004)(53936002)(966005)(86362001)(81166006)(478600001)(55016002)(71190400001)(14454004)(81156014)(14444005)(2906002)(5660300002)(52536014)(99286004)(25786009); DIR:OUT; SFP:1101; SCL:1; SRVR:BYAPR18MB2663; H:BYAPR18MB2424.namprd18.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; received-spf: None (protection.outlook.com: marvell.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: lXEzWxqPF9onPGeg74pKLZECYeOo1bnaZFUe5OwA1A30t4zfUdJt0qTSWE3vPINAbekIMEYsYEzyJaPqgLIjpNjNdLdPTADQHSIQ6tlksp52dtOFeItrN6/0iv8N03pqcmeaq+1I0DYhU5UplCCjYREFVpy644Cvj0Bik2Q/ETws5uXKXJZCZXjCUEnUEGeKM6bJ/YQ7z5DC94RTvPKPlY/Vb09j6fmBQWU+nk/buQe4wexCcJHO438NRKm09lUM+M95/QTNoM7fyZG6WvYRPyKM4BGwWFFSD8PygA7EFrFinnv0+R84AgMxkiQsxFf2TvmKCaW+1MB2kZlLIDCMMEyYWC+UkojoTmeb+IRVL/1mC8W+obnT96jwG993ZcceKmsDevh3wDhX/wUy572zg5QOE1wSz7iZYhp9Uk1iM6A= MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: 8e907be4-594c-4dc6-f943-08d6ff6a4951 X-MS-Exchange-CrossTenant-originalarrivaltime: 03 Jul 2019 03:55:27.7641 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 70e1fb47-1155-421d-87fc-2e58f638b6e0 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: jerinj@marvell.com X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR18MB2663 X-OriginatorOrg: marvell.com X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:, , definitions=2019-07-03_02:, , signatures=0 Subject: [dpdk-dev] [pull-request] next-eventdev 19.08 RC1 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: , Errors-To: dev-bounces@dpdk.org Sender: "dev" The following changes since commit 19f3f971123429b92fbfaa5175fa29724e94c8c9: mk: fix -march for octeontx2 target (2019-07-02 23:55:35 +0200) are available in the Git repository at: http://dpdk.org/git/next/dpdk-next-eventdev for you to fetch changes up to 22ea5755e1f5bcd151bf99c18e6084b356d6370f: event/octeontx2: add devargs to control adapter parameters (2019-07-03 09:18:33 +0530) ---------------------------------------------------------------- Erik Gabriel Carrillo (1): eventdev: add new software event timer adapter Jerin Jacob (1): eventdev: fix doxygen comment Nikhil Rao (3): eventdev: remove event copy in Rx adapter eventdev: optimize Rx adapter event enqueue eventdev: change Rx adapter callback and stats structure Nipun Gupta (1): event/dpaa2: fix to return correct value for timeout ticks Pavan Nikhilesh (44): app/eventdev: fix order test port creation test/eventdev: fix producer core validity checks event/octeontx2: add build infra and device probe event/octeontx2: add init and fini for octeontx2 SSO object event/octeontx2: add device capabilities function event/octeontx2: add device configure function event/octeontx2: add event queue config functions event/octeontx2: allocate event inflight buffers event/octeontx2: add devargs for inflight buffer count event/octeontx2: add event port config functions event/octeontx2: support linking queues to ports event/octeontx2: support dequeue timeout tick conversion event/octeontx2: add SSO GWS and GGRP IRQ handlers event/octeontx2: add register dump functions event/octeontx2: add xstats support event/octeontx2: add SSO HW device operations event/octeontx2: add worker enqueue functions event/octeontx2: add worker dequeue functions event/octeontx2: add octeontx2 SSO dual workslot mode event/octeontx2: add SSO dual GWS HW device operations event/octeontx2: add worker dual GWS enqueue functions event/octeontx2: add worker dual GWS dequeue functions event/octeontx2: add devargs to force legacy mode event/octeontx2: add device start function event/octeontx2: add devargs to control SSO GGRP QoS event/octeontx2: add device stop and close functions event/octeontx2: add SSO selftest event/octeontx2: add event timer support event/octeontx2: add timer adapter capabilities event/octeontx2: create and free timer adapter event/octeontx2: allow TIM to optimize config event/octeontx2: add devargs to disable NPA event/octeontx2: add devargs to modify chunk slots event/octeontx2: add TIM IRQ handlers event/octeontx2: allow adapters to resize inflight buffers event/octeontx2: add timer adapter info get function event/octeontx2: add TIM bucket operations event/octeontx2: add event timer arm routine event/octeontx2: add event timer arm timeout burst event/octeontx2: add event timer cancel function event/octeontx2: add event timer stats get and reset event/octeontx2: add even timer adapter start and stop event/octeontx2: add devargs to limit timer adapters event/octeontx2: add devargs to control adapter parameters MAINTAINERS | 8 +- app/test-eventdev/test_order_common.c | 32 +- app/test-eventdev/test_perf_common.c | 3 +- app/test/test_eventdev.c | 8 + config/common_base | 5 + doc/guides/eventdevs/index.rst | 1 + doc/guides/eventdevs/octeontx2.rst | 158 ++ doc/guides/platform/octeontx2.rst | 3 + doc/guides/rel_notes/release_19_08.rst | 20 +- drivers/event/Makefile | 1 + drivers/event/dpaa2/dpaa2_eventdev.c | 2 +- drivers/event/meson.build | 2 +- drivers/event/octeontx2/Makefile | 49 + drivers/event/octeontx2/meson.build | 29 + drivers/event/octeontx2/otx2_evdev.c | 1395 ++++++++++++++++++ drivers/event/octeontx2/otx2_evdev.h | 266 ++++ drivers/event/octeontx2/otx2_evdev_adptr.c | 19 + drivers/event/octeontx2/otx2_evdev_irq.c | 272 ++++ drivers/event/octeontx2/otx2_evdev_selftest.c | 1511 ++++++++++++++++++++ drivers/event/octeontx2/otx2_evdev_stats.h | 286 ++++ drivers/event/octeontx2/otx2_tim_evdev.c | 735 ++++++++++ drivers/event/octeontx2/otx2_tim_evdev.h | 249 ++++ drivers/event/octeontx2/otx2_tim_worker.c | 171 +++ drivers/event/octeontx2/otx2_tim_worker.h | 450 ++++++ drivers/event/octeontx2/otx2_worker.c | 270 ++++ drivers/event/octeontx2/otx2_worker.h | 187 +++ drivers/event/octeontx2/otx2_worker_dual.c | 207 +++ drivers/event/octeontx2/otx2_worker_dual.h | 76 + .../octeontx2/rte_pmd_octeontx2_event_version.map | 4 + lib/librte_eventdev/Makefile | 2 +- lib/librte_eventdev/meson.build | 2 +- lib/librte_eventdev/rte_event_eth_rx_adapter.c | 87 +- lib/librte_eventdev/rte_event_eth_rx_adapter.h | 85 +- lib/librte_eventdev/rte_event_timer_adapter.c | 738 ++++------ lib/librte_eventdev/rte_eventdev.h | 5 +- lib/librte_eventdev/rte_eventdev_version.map | 4 +- mk/rte.app.mk | 2 + 37 files changed, 6803 insertions(+), 541 deletions(-) create mode 100644 doc/guides/eventdevs/octeontx2.rst create mode 100644 drivers/event/octeontx2/Makefile create mode 100644 drivers/event/octeontx2/meson.build create mode 100644 drivers/event/octeontx2/otx2_evdev.c create mode 100644 drivers/event/octeontx2/otx2_evdev.h create mode 100644 drivers/event/octeontx2/otx2_evdev_adptr.c create mode 100644 drivers/event/octeontx2/otx2_evdev_irq.c create mode 100644 drivers/event/octeontx2/otx2_evdev_selftest.c create mode 100644 drivers/event/octeontx2/otx2_evdev_stats.h create mode 100644 drivers/event/octeontx2/otx2_tim_evdev.c create mode 100644 drivers/event/octeontx2/otx2_tim_evdev.h create mode 100644 drivers/event/octeontx2/otx2_tim_worker.c create mode 100644 drivers/event/octeontx2/otx2_tim_worker.h create mode 100644 drivers/event/octeontx2/otx2_worker.c create mode 100644 drivers/event/octeontx2/otx2_worker.h create mode 100644 drivers/event/octeontx2/otx2_worker_dual.c create mode 100644 drivers/event/octeontx2/otx2_worker_dual.h create mode 100644 drivers/event/octeontx2/rte_pmd_octeontx2_event_version.map