From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 516F3A0548; Mon, 26 Apr 2021 19:44:55 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 2054F41104; Mon, 26 Apr 2021 19:44:55 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by mails.dpdk.org (Postfix) with ESMTP id E594A4069F for ; Mon, 26 Apr 2021 19:44:52 +0200 (CEST) Received: from pps.filterd (m0045851.ppops.net [127.0.0.1]) by mx0b-0016f401.pphosted.com (8.16.0.43/8.16.0.43) with SMTP id 13QHiqZY030116 for ; Mon, 26 Apr 2021 10:44:52 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-transfer-encoding : content-type; s=pfpt0220; bh=Dpf2NXsIjWYMIq6yt59bXtDLVLYzdHkSc9sqfbLO/+U=; b=JdvBIKrAbHQG9yFgh3Dw0Iylzi8IS+UDu8v/B1UOfEfCVaX7Qs5RamncnmPy1nJScMUM OV3wapTdWQ98+MhHLvbTg4dPnMxYziSmLdR87cnrdUTbAfPNnczEScXI6ED7+cJQh4bS z9+ckDJbE7okHU5qNx/fKA7nogVNhk7zxFuy5/ChmipBgnHn2QknkGOpWW6wlICYdVrL q+QJ4/2RCxC73mKkLigHY1u29yPlZg2Z7NT5/gnh+AEzyN1lWbuLbTvsEwLwu1bShjcV ZUzkOGWGKn/TVwnyPnunTZgFuCU/LRqFBdVLQD8wg7uGme9A161kqOcYPcYZ/6muQNA+ Ug== Received: from dc5-exch01.marvell.com ([199.233.59.181]) by mx0b-0016f401.pphosted.com with ESMTP id 385tvvhdc8-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT) for ; Mon, 26 Apr 2021 10:44:52 -0700 Received: from DC5-EXCH02.marvell.com (10.69.176.39) by DC5-EXCH01.marvell.com (10.69.176.38) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Mon, 26 Apr 2021 10:44:50 -0700 Received: from maili.marvell.com (10.69.176.80) by DC5-EXCH02.marvell.com (10.69.176.39) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Mon, 26 Apr 2021 10:44:50 -0700 Received: from BG-LT7430.marvell.com (BG-LT7430.marvell.com [10.28.177.176]) by maili.marvell.com (Postfix) with ESMTP id 9DAB45B6C97; Mon, 26 Apr 2021 10:44:48 -0700 (PDT) From: To: CC: , Pavan Nikhilesh Date: Mon, 26 Apr 2021 23:14:07 +0530 Message-ID: <20210426174441.2302-1-pbhagavatula@marvell.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20210306162942.6845-1-pbhagavatula@marvell.com> References: <20210306162942.6845-1-pbhagavatula@marvell.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Proofpoint-GUID: N_gi3HHD1--XMEgK9t-FhOM87-RjFojt X-Proofpoint-ORIG-GUID: N_gi3HHD1--XMEgK9t-FhOM87-RjFojt X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.391, 18.0.761 definitions=2021-04-26_09:2021-04-26, 2021-04-26 signatures=0 Subject: [dpdk-dev] [PATCH v2 00/33] Marvell CNXK Event device Driver X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 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 support for Marvell CN106XX SoC based on 'common/cnxk' driver. In future, CN9K a.k.a octeontx2 will also be supported by same driver when code is ready and 'event/octeontx2' will be deprecated. v2 Changes: - Split Rx/Tx adapter into seperate patch set to remove dependency on net/cnxk - Add missing xStats patch. - Fix incorrect head wait operation. Pavan Nikhilesh (16): event/cnxk: add build infra and device setup event/cnxk: add platform specific device probe event/cnxk: add common configuration validation event/cnxk: allocate event inflight buffers event/cnxk: add devargs to configure getwork mode event/cnxk: add SSO HW device operations event/cnxk: add SSO GWS fastpath enqueue functions event/cnxk: add SSO GWS dequeue fastpath functions event/cnxk: add SSO selftest and dump event/cnxk: add event port and queue xstats event/cnxk: add devargs to disable NPA event/cnxk: allow adapters to resize inflights event/cnxk: add TIM bucket operations event/cnxk: add timer arm routine event/cnxk: add timer arm timeout burst event/cnxk: add timer cancel function Shijith Thotton (17): event/cnxk: add device capabilities function event/cnxk: add platform specific device config event/cnxk: add event queue config functions event/cnxk: add devargs for inflight buffer count event/cnxk: add devargs to control SSO HWGRP QoS event/cnxk: add port config functions event/cnxk: add event port link and unlink event/cnxk: add device start function event/cnxk: add device stop and close functions event/cnxk: support event timer event/cnxk: add timer adapter capabilities event/cnxk: create and free timer adapter event/cnxk: add timer adapter info function event/cnxk: add devargs for chunk size and rings event/cnxk: add timer stats get and reset event/cnxk: add timer adapter start and stop event/cnxk: add devargs to control timer adapters MAINTAINERS | 6 + app/test/test_eventdev.c | 14 + doc/guides/eventdevs/cnxk.rst | 162 ++ doc/guides/eventdevs/index.rst | 1 + drivers/common/cnxk/roc_sso.c | 63 + drivers/common/cnxk/roc_sso.h | 19 + drivers/event/cnxk/cn10k_eventdev.c | 509 ++++++ drivers/event/cnxk/cn10k_worker.c | 115 ++ drivers/event/cnxk/cn10k_worker.h | 175 +++ drivers/event/cnxk/cn9k_eventdev.c | 578 +++++++ drivers/event/cnxk/cn9k_worker.c | 236 +++ drivers/event/cnxk/cn9k_worker.h | 297 ++++ drivers/event/cnxk/cnxk_eventdev.c | 647 ++++++++ drivers/event/cnxk/cnxk_eventdev.h | 253 +++ drivers/event/cnxk/cnxk_eventdev_adptr.c | 67 + drivers/event/cnxk/cnxk_eventdev_selftest.c | 1570 +++++++++++++++++++ drivers/event/cnxk/cnxk_eventdev_stats.c | 289 ++++ drivers/event/cnxk/cnxk_tim_evdev.c | 538 +++++++ drivers/event/cnxk/cnxk_tim_evdev.h | 275 ++++ drivers/event/cnxk/cnxk_tim_worker.c | 191 +++ drivers/event/cnxk/cnxk_tim_worker.h | 601 +++++++ drivers/event/cnxk/cnxk_worker.h | 101 ++ drivers/event/cnxk/meson.build | 23 + drivers/event/cnxk/version.map | 3 + drivers/event/meson.build | 1 + 25 files changed, 6734 insertions(+) create mode 100644 doc/guides/eventdevs/cnxk.rst create mode 100644 drivers/event/cnxk/cn10k_eventdev.c create mode 100644 drivers/event/cnxk/cn10k_worker.c create mode 100644 drivers/event/cnxk/cn10k_worker.h create mode 100644 drivers/event/cnxk/cn9k_eventdev.c create mode 100644 drivers/event/cnxk/cn9k_worker.c create mode 100644 drivers/event/cnxk/cn9k_worker.h create mode 100644 drivers/event/cnxk/cnxk_eventdev.c create mode 100644 drivers/event/cnxk/cnxk_eventdev.h create mode 100644 drivers/event/cnxk/cnxk_eventdev_adptr.c create mode 100644 drivers/event/cnxk/cnxk_eventdev_selftest.c create mode 100644 drivers/event/cnxk/cnxk_eventdev_stats.c create mode 100644 drivers/event/cnxk/cnxk_tim_evdev.c create mode 100644 drivers/event/cnxk/cnxk_tim_evdev.h create mode 100644 drivers/event/cnxk/cnxk_tim_worker.c create mode 100644 drivers/event/cnxk/cnxk_tim_worker.h create mode 100644 drivers/event/cnxk/cnxk_worker.h create mode 100644 drivers/event/cnxk/meson.build create mode 100644 drivers/event/cnxk/version.map -- 2.17.1