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 CD386A0548; Sat, 3 Apr 2021 15:45:08 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 4AFFA40696; Sat, 3 Apr 2021 15:45:08 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by mails.dpdk.org (Postfix) with ESMTP id 6E0914067B for ; Sat, 3 Apr 2021 15:45:07 +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 133DhNk8005504 for ; Sat, 3 Apr 2021 06:45:06 -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=/QIdlRVhTuykwRUcfbGeCShK4a7s2pFNR5UJa5H5DWA=; b=PG5Q568gixzy47xeRzQkO+yTV07iX4eVQ/BwyertCkQim9Pk9C0TpbjcDF8V9dFzLR+1 eoHij5RuGyIs8B5uMKn2pG/je/hy0B+OhIHAT1oxW8AkbcCiJGG8m5ktKyKrBCL5XRHX UpCy/jsNr3htPPhEUCdK3LS1J+Sp9tRw0R+04NE1x+KbZHb+evPlqcr6C/OibbneJAuM sPcJ0o0txlZIAn5yhcUeQ2r2m3nuMhFtQZG9sw54vms4h+cBkB4EJ5RkIllORwHMSf+E t3aLmC/otQSGSaZt2UOq+VqbgUKDzDNDT0ERMRdXIvTJy37D7jY3agDUHMAHCYq8BIs0 tQ== Received: from dc5-exch01.marvell.com ([199.233.59.181]) by mx0a-0016f401.pphosted.com with ESMTP id 37pnqqrad1-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT) for ; Sat, 03 Apr 2021 06:45:06 -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; Sat, 3 Apr 2021 06:45:05 -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; Sat, 3 Apr 2021 06:45:05 -0700 Received: from lab-ci-142.marvell.com (unknown [10.28.36.142]) by maili.marvell.com (Postfix) with ESMTP id 0F8393F7055; Sat, 3 Apr 2021 06:45:01 -0700 (PDT) From: Ashwin Sekhar T K To: CC: , , , , , , Date: Sat, 3 Apr 2021 19:14:30 +0530 Message-ID: <20210403134441.134457-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-ORIG-GUID: AZkMycgECY4vMFcec4kQTlT8LUfsbSBP X-Proofpoint-GUID: AZkMycgECY4vMFcec4kQTlT8LUfsbSBP X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.369, 18.0.761 definitions=2021-04-03_05:2021-04-01, 2021-04-03 signatures=0 Subject: [dpdk-dev] [PATCH v2 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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-16059 ("Add Marvell CNXK common driver") v2: - Addressed Jerin's comments in v1. - Splitted mempool ops for cn10k/cn9k into multiple commits. - Added more description in the commit messages. - Moved MAINTAINERS and doc change to first commit. - Moved doc changes into respective commits implementing the change. 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 lf init/fini callbacks 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 | 294 +++++++++++++++++++++++ drivers/mempool/cnxk/cn9k_mempool_ops.c | 89 +++++++ drivers/mempool/cnxk/cnxk_mempool.c | 201 ++++++++++++++++ drivers/mempool/cnxk/cnxk_mempool.h | 29 +++ drivers/mempool/cnxk/cnxk_mempool_ops.c | 199 +++++++++++++++ drivers/mempool/cnxk/meson.build | 16 ++ drivers/mempool/cnxk/version.map | 3 + drivers/mempool/meson.build | 3 +- 12 files changed, 934 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