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 9A0F0A0546; Fri, 30 Apr 2021 15:53:44 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 1EBD24014F; Fri, 30 Apr 2021 15:53:44 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by mails.dpdk.org (Postfix) with ESMTP id 11F2C4013F for ; Fri, 30 Apr 2021 15:53:42 +0200 (CEST) Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.16.0.43/8.16.0.43) with SMTP id 13UDoNTF013849 for ; Fri, 30 Apr 2021 06:53:42 -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=y5nLnaKpfI4+o0HPddHvLlM6x7w8oLgFx1zuyhssx84=; b=RbbEg4pUhUwM98A5BHgCNs4qBya9mP9Z9fn2lUrJDXXhOugivPIu6PJxrfMHehvT8Pjd lHV6UIGKBrXoVPmtN19Q6s+lYK/0SWgRxuPIHBkdAX3Re7OY1bpm4qdRIdAlzdO7LPqA y5BCiV0stZgvNHmvWwC+cck2HqFcJtK8xUUMQZyAE3HmxTspDrhtG5M0p1AvEx7TKEi/ UiEofvgH67HN8ul6cqqabCKxoD5i73RE3hF0kZKa4Q4kc2WofAVVFKRl26xvk76aYOic KGruiKGb5fvW94aYpuIc2++FdcaaWB35Wgn7ULxXZIIX0Vb8b9qqwkhOJxOE6DjBT6QR VQ== Received: from dc5-exch01.marvell.com ([199.233.59.181]) by mx0a-0016f401.pphosted.com with ESMTP id 3883jtbfs1-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT) for ; Fri, 30 Apr 2021 06:53:41 -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; Fri, 30 Apr 2021 06:53:40 -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; Fri, 30 Apr 2021 06:53:40 -0700 Received: from BG-LT7430.marvell.com (BG-LT7430.marvell.com [10.28.177.176]) by maili.marvell.com (Postfix) with ESMTP id 171C63F703F; Fri, 30 Apr 2021 06:53:38 -0700 (PDT) From: To: CC: , Pavan Nikhilesh Date: Fri, 30 Apr 2021 19:23:03 +0530 Message-ID: <20210430135336.2749-1-pbhagavatula@marvell.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20210426174441.2302-1-pbhagavatula@marvell.com> References: <20210426174441.2302-1-pbhagavatula@marvell.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Proofpoint-GUID: P0JeB2HNZBBaMRkcSNfrkmyYbPUfit1o X-Proofpoint-ORIG-GUID: P0JeB2HNZBBaMRkcSNfrkmyYbPUfit1o X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.391, 18.0.761 definitions=2021-04-30_08:2021-04-30, 2021-04-30 signatures=0 Subject: [dpdk-dev] [PATCH v3 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. v3 Changes: - Fix documentation, copyright. - Update release notes. 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 + doc/guides/rel_notes/release_21_05.rst | 2 + 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 + 26 files changed, 6736 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