From patchwork Sat Jun 1 18:53:10 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pavan Nikhilesh Bhagavatula X-Patchwork-Id: 54011 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 5B8A42BD3; Sat, 1 Jun 2019 20:55:39 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by dpdk.org (Postfix) with ESMTP id 6B3E42B9A for ; Sat, 1 Jun 2019 20:55:38 +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 x51ItbNH029526 for ; Sat, 1 Jun 2019 11:55:37 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; h=from : to : cc : subject : date : message-id : mime-version : content-transfer-encoding : content-type; s=pfpt0818; bh=BeLvQNucCy9/9woFMKf8bADRlIwpgJrvsl9kbdOg7D8=; b=sMaItM9jzdfltI4TiKuxJhw4AaLwiC1Ypoowwr+uYdzVHf0Wd9jNG5WtmACBAlu4xxfE 0R5yD/DIJggtWI/bRZfFwVgexTyVmMnCuUEckafCKWIssjY3ETTJoTLdnD/D8sezoQMr mAh6S+udZU3egT9VdWbceq3mJ9dAbDexJT6S+AIrPZa+nIHymPjwTrgLLEvzrHVKyzlY ryHknB/OMexna07usO3ZTFFeG9MePIXx3qVU07+TyUEN0+2hbD9Re7PAZHHKT2TIgbWx 6s305xBVC/YilfYitCcf1BOVOrSn29y/urHaQGSIqdqX1olf72AUvb/X1jXDasfyPIV+ fQ== Received: from sc-exch04.marvell.com ([199.233.58.184]) by mx0a-0016f401.pphosted.com with ESMTP id 2supqksfw6-2 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT) for ; Sat, 01 Jun 2019 11:55:37 -0700 Received: from SC-EXCH01.marvell.com (10.93.176.81) by SC-EXCH04.marvell.com (10.93.176.84) with Microsoft SMTP Server (TLS) id 15.0.1367.3; Sat, 1 Jun 2019 11:55:35 -0700 Received: from maili.marvell.com (10.93.176.43) by SC-EXCH01.marvell.com (10.93.176.81) with Microsoft SMTP Server id 15.0.1367.3 via Frontend Transport; Sat, 1 Jun 2019 11:55:35 -0700 Received: from BG-LT7430.marvell.com (unknown [10.28.17.28]) by maili.marvell.com (Postfix) with ESMTP id 01BA93F70E0; Sat, 1 Jun 2019 11:54:52 -0700 (PDT) From: To: CC: , Pavan Nikhilesh Date: Sun, 2 Jun 2019 00:23:10 +0530 Message-ID: <20190601185355.370-1-pbhagavatula@marvell.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:, , definitions=2019-06-01_13:, , signatures=0 Subject: [dpdk-dev] [PATCH 00/44] OCTEON TX2 event device driver 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" From: Pavan Nikhilesh This patchset adds OCTEON TX2 event device driver and event timer adapter driver. More details can be found in [PATCH 26/44] doc: add Marvell OCTEON TX2 event device [PATCH 44/44] doc: update Marvell OCTEON TX2 eventdev under doc/guides/eventdevs/octeontx2 Depends on the following patch series http://patches.dpdk.org/project/dpdk/list/?series=4844 For convinence this patchset is also available at https://github.com/PavanNikhilesh/dpdk Pavan Nikhilesh (44): 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 doc: add Marvell OCTEON TX2 event device documentation 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 doc: update Marvell OCTEON TX2 eventdev documentation MAINTAINERS | 6 + 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 | 1 + drivers/event/Makefile | 1 + drivers/event/meson.build | 2 +- drivers/event/octeontx2/Makefile | 46 + drivers/event/octeontx2/meson.build | 29 + drivers/event/octeontx2/otx2_evdev.c | 1390 +++++++++++++++ drivers/event/octeontx2/otx2_evdev.h | 251 +++ drivers/event/octeontx2/otx2_evdev_adptr.c | 19 + drivers/event/octeontx2/otx2_evdev_irq.c | 278 +++ drivers/event/octeontx2/otx2_evdev_selftest.c | 1511 +++++++++++++++++ drivers/event/octeontx2/otx2_evdev_stats.h | 286 ++++ drivers/event/octeontx2/otx2_tim_evdev.c | 714 ++++++++ drivers/event/octeontx2/otx2_tim_evdev.h | 238 +++ 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 | 186 ++ drivers/event/octeontx2/otx2_worker_dual.c | 207 +++ drivers/event/octeontx2/otx2_worker_dual.h | 76 + .../rte_pmd_octeontx2_event_version.map | 4 + mk/rte.app.mk | 2 + 26 files changed, 6304 insertions(+), 1 deletion(-) 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 --- 2.21.0