Message ID | 20210406151115.1889455-1-asekhar@marvell.com (mailing list archive) |
---|---|
Headers |
Return-Path: <dev-bounces@dpdk.org> X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id D4880A0546; Tue, 6 Apr 2021 17:11:32 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 61D8B1411B8; Tue, 6 Apr 2021 17:11:32 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by mails.dpdk.org (Postfix) with ESMTP id CEB811411B7 for <dev@dpdk.org>; Tue, 6 Apr 2021 17:11:30 +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 136F0RaE015105 for <dev@dpdk.org>; Tue, 6 Apr 2021 08:11:30 -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=cFhSj0lJj/b3YNQThup/SYDn3FD/EKSxnKVCQZaK2yA=; b=aCZYX6+5CQYN0wSxtS/V0XGd/ESA7GTLbHfe8RttTC2n1BJZ+oOOf07aBR/7KWSvHk7M YtKPm/bPvW8J7sXaa66xwKnuQOvQv2ssv7+xhH9B+B9ELvPpSSNA1lsfukgUyVSWIqP4 iU7Q9vkcAmNWVXltZrRy1yiD+nUiF69SopCGBB89sYs1mcuZHhjjVLdycoQv177IroGe qPHBSz3Rab6FtsZhK+hBlShhHvhTHM+ocAmDkgdJQuTXWhn9wnuTpMBXi8vxZ4dVMX0W kzdJ2E3B5TNIdPyQvpt9bfcYy69eg2L+8Ht8Ma1jtqdVZ+32JqaKS3/32LRBpWZaQanL Yg== Received: from dc5-exch01.marvell.com ([199.233.59.181]) by mx0b-0016f401.pphosted.com with ESMTP id 37redma2pc-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT) for <dev@dpdk.org>; Tue, 06 Apr 2021 08:11:30 -0700 Received: from DC5-EXCH01.marvell.com (10.69.176.38) by DC5-EXCH01.marvell.com (10.69.176.38) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Tue, 6 Apr 2021 08:11:28 -0700 Received: from maili.marvell.com (10.69.176.80) by DC5-EXCH01.marvell.com (10.69.176.38) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Tue, 6 Apr 2021 08:11:28 -0700 Received: from lab-ci-142.marvell.com (unknown [10.28.36.142]) by maili.marvell.com (Postfix) with ESMTP id A5A0B3F7041; Tue, 6 Apr 2021 08:11:25 -0700 (PDT) From: Ashwin Sekhar T K <asekhar@marvell.com> To: <dev@dpdk.org> CC: <jerinj@marvell.com>, <skori@marvell.com>, <skoteshwar@marvell.com>, <pbhagavatula@marvell.com>, <kirankumark@marvell.com>, <psatheesh@marvell.com>, <asekhar@marvell.com> Date: Tue, 6 Apr 2021 20:41:04 +0530 Message-ID: <20210406151115.1889455-1-asekhar@marvell.com> X-Mailer: git-send-email 2.31.0 In-Reply-To: <20210305162149.2196166-1-asekhar@marvell.com> References: <20210305162149.2196166-1-asekhar@marvell.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Proofpoint-GUID: QXnIMsDTigP4m5Xh28HXKn4apwodUtIW X-Proofpoint-ORIG-GUID: QXnIMsDTigP4m5Xh28HXKn4apwodUtIW X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.369, 18.0.761 definitions=2021-04-06_04:2021-04-01, 2021-04-06 signatures=0 Subject: [dpdk-dev] [PATCH v3 00/11] Add Marvell CNXK mempool driver X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions <dev.dpdk.org> List-Unsubscribe: <https://mails.dpdk.org/options/dev>, <mailto:dev-request@dpdk.org?subject=unsubscribe> List-Archive: <http://mails.dpdk.org/archives/dev/> List-Post: <mailto:dev@dpdk.org> List-Help: <mailto:dev-request@dpdk.org?subject=help> List-Subscribe: <https://mails.dpdk.org/listinfo/dev>, <mailto:dev-request@dpdk.org?subject=subscribe> Errors-To: dev-bounces@dpdk.org Sender: "dev" <dev-bounces@dpdk.org> |
Series |
Add Marvell CNXK mempool driver
|
|
Message
Ashwin Sekhar T K
April 6, 2021, 3:11 p.m. UTC
This patchset adds the mempool/cnxk driver which provides the support for the integrated mempool device found in Marvell CN10K SoC. The code includes mempool driver functionality for Marvell CN9K SoC as well, but right now it is not enabled. The future plan is to deprecate existing mempool/octeontx2 driver once the 'CNXK' drivers are feature complete for Marvell CN9K SoC. Depends-on: series-16131 ("Add Marvell CNXK common driver") v3: - Change batch op data initialization to plt init callback. - Reserve a memzone for batch op data. - Handle batch op data initialization in secondary process. Ashwin Sekhar T K (11): mempool/cnxk: add build infra and doc mempool/cnxk: add device probe/remove mempool/cnxk: add generic ops mempool/cnxk: register plt init callback mempool/cnxk: add cn9k mempool ops mempool/cnxk: add cn9k optimized mempool enqueue/dequeue mempool/cnxk: add cn10k mempool ops mempool/cnxk: add batch op init mempool/cnxk: add cn10k batch enqueue op mempool/cnxk: add cn10k get count op mempool/cnxk: add cn10k batch dequeue op MAINTAINERS | 6 + doc/guides/mempool/cnxk.rst | 91 +++++++ doc/guides/mempool/index.rst | 1 + doc/guides/platform/cnxk.rst | 3 + drivers/mempool/cnxk/cn10k_mempool_ops.c | 319 +++++++++++++++++++++++ drivers/mempool/cnxk/cn9k_mempool_ops.c | 89 +++++++ drivers/mempool/cnxk/cnxk_mempool.c | 202 ++++++++++++++ drivers/mempool/cnxk/cnxk_mempool.h | 28 ++ drivers/mempool/cnxk/cnxk_mempool_ops.c | 191 ++++++++++++++ drivers/mempool/cnxk/meson.build | 16 ++ drivers/mempool/cnxk/version.map | 3 + drivers/mempool/meson.build | 3 +- 12 files changed, 951 insertions(+), 1 deletion(-) create mode 100644 doc/guides/mempool/cnxk.rst create mode 100644 drivers/mempool/cnxk/cn10k_mempool_ops.c create mode 100644 drivers/mempool/cnxk/cn9k_mempool_ops.c create mode 100644 drivers/mempool/cnxk/cnxk_mempool.c create mode 100644 drivers/mempool/cnxk/cnxk_mempool.h create mode 100644 drivers/mempool/cnxk/cnxk_mempool_ops.c create mode 100644 drivers/mempool/cnxk/meson.build create mode 100644 drivers/mempool/cnxk/version.map
Comments
On Tue, Apr 6, 2021 at 8:41 PM Ashwin Sekhar T K <asekhar@marvell.com> wrote: > > This patchset adds the mempool/cnxk driver which provides the support for the > integrated mempool device found in Marvell CN10K SoC. > > The code includes mempool driver functionality for Marvell CN9K SoC as well, > but right now it is not enabled. The future plan is to deprecate existing > mempool/octeontx2 driver once the 'CNXK' drivers are feature complete for > Marvell CN9K SoC. > > Depends-on: series-16131 ("Add Marvell CNXK common driver") > > v3: > - Change batch op data initialization to plt init callback. > - Reserve a memzone for batch op data. > - Handle batch op data initialization in secondary process. 1) http://patches.dpdk.org/project/dpdk/patch/20210406151115.1889455-12-asekhar@marvell.com/ shows some CI issues, Could you check, Is this valid or not? 2) Common code series has added the following [1] section, Could you add mempool driver update as the second bullet. Rest looks good to me. [1] diff --git a/doc/guides/rel_notes/release_21_05.rst b/doc/guides/rel_notes/release_21_05.rst index 2ffeb92..cc6e53e 100644 --- a/doc/guides/rel_notes/release_21_05.rst +++ b/doc/guides/rel_notes/release_21_05.rst @@ -65,6 +65,15 @@ New Features representor=[[c#]pf#]sf# sf[0,2-1023] /* 1023 SFs. */ representor=[c#]pf# c2pf[0,1] /* 2 PFs on controller 2. */ +* **Added support for Marvell CN10K SoC drivers.** + + Added Marvell CN10K SoC support. Marvell CN10K SoC are based on Octeon 10 + family of ARM64 processors with ARM Neoverse N2 core with accelerators for + packet processing, timers, cryptography, etc. + + * Added common/cnxk driver consisting of common API to be used by + net, crypto and event PMD's. > > Ashwin Sekhar T K (11): > mempool/cnxk: add build infra and doc > mempool/cnxk: add device probe/remove > mempool/cnxk: add generic ops > mempool/cnxk: register plt init callback > mempool/cnxk: add cn9k mempool ops > mempool/cnxk: add cn9k optimized mempool enqueue/dequeue > mempool/cnxk: add cn10k mempool ops > mempool/cnxk: add batch op init > mempool/cnxk: add cn10k batch enqueue op > mempool/cnxk: add cn10k get count op > mempool/cnxk: add cn10k batch dequeue op > > MAINTAINERS | 6 + > doc/guides/mempool/cnxk.rst | 91 +++++++ > doc/guides/mempool/index.rst | 1 + > doc/guides/platform/cnxk.rst | 3 + > drivers/mempool/cnxk/cn10k_mempool_ops.c | 319 +++++++++++++++++++++++ > drivers/mempool/cnxk/cn9k_mempool_ops.c | 89 +++++++ > drivers/mempool/cnxk/cnxk_mempool.c | 202 ++++++++++++++ > drivers/mempool/cnxk/cnxk_mempool.h | 28 ++ > drivers/mempool/cnxk/cnxk_mempool_ops.c | 191 ++++++++++++++ > drivers/mempool/cnxk/meson.build | 16 ++ > drivers/mempool/cnxk/version.map | 3 + > drivers/mempool/meson.build | 3 +- > 12 files changed, 951 insertions(+), 1 deletion(-) > create mode 100644 doc/guides/mempool/cnxk.rst > create mode 100644 drivers/mempool/cnxk/cn10k_mempool_ops.c > create mode 100644 drivers/mempool/cnxk/cn9k_mempool_ops.c > create mode 100644 drivers/mempool/cnxk/cnxk_mempool.c > create mode 100644 drivers/mempool/cnxk/cnxk_mempool.h > create mode 100644 drivers/mempool/cnxk/cnxk_mempool_ops.c > create mode 100644 drivers/mempool/cnxk/meson.build > create mode 100644 drivers/mempool/cnxk/version.map > > -- > 2.31.0 >