From mboxrd@z Thu Jan 1 00:00:00 1970 From: Santosh Shukla Subject: [PATCH v1 00/11] Cavium Octeontx external mempool driver Date: Thu, 24 Aug 2017 18:58:52 +0530 Message-ID: <20170824132903.32057-1-santosh.shukla@caviumnetworks.com> Mime-Version: 1.0 Content-Type: text/plain Cc: thomas@monjalon.net, jerin.jacob@caviumnetworks.com, hemant.agrawal@nxp.com, Santosh Shukla To: olivier.matz@6wind.com, dev@dpdk.org Return-path: Received: from NAM01-SN1-obe.outbound.protection.outlook.com (mail-sn1nam01hn0201.outbound.protection.outlook.com [104.47.32.201]) by dpdk.org (Postfix) with ESMTP id 9148C7D46 for ; Thu, 24 Aug 2017 15:29:50 +0200 (CEST) List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Patch implements the HW mempool offload driver for packets buffer. This HW mempool offload driver has dependency on: - IOVA infrastrucure [1]. - Dynamically configure mempool handle (ie.. --mbuf-pool-ops eal arg) [2]. - Infrastructure to support octeontx HW mempool manager [3]. Mempool driver based on v17.11-rc0. Series has dependency on upstream patches [1],[2],[3]. A new pool handle called "octeontx_fpavf" introduced and is being configured using eal arg ----mbuf-pool-ops="octeontx_fpavf", Note that this --eal arg is under review. Or Can be configured statically like below: CONFIG_RTE_MBUF_DEFAULT_MEMPOOL_OPS="octeontx_fpavf" A new mempool driver specific CONFIG_RTE_LIBRTE_OCTEONTX_MEMPOOL config is introduced. Refer doc patch [10/11] for build and run steps. Patch summary: - [0/11] : add mempool offload HW block definition. - [1/11] : support for build and log infra, needed for pmd driver. - [2/11] : probe mempool PCIe vf device - [3/11] : support pool alloc - [4/11] : support pool free - [5/11] : support pool enq and deq - [6/11] : support pool get count - [7/11] : support pool get capability - [8/11] : support pool update range - [9/11] : translate pool handle to pool index - [10/11] : doc and release info Checkpatch status: - Noticed false positive line over 80 char debug warning - asm_ false +ve error. Thanks. [1] http://dpdk.org/ml/archives/dev/2017-August/072871.html [2] http://dpdk.org/ml/archives/dev/2017-August/072910.html [3] http://dpdk.org/ml/archives/dev/2017-August/072892.html Santosh Shukla (11): mempool/octeontx: add HW constants mempool/octeontx: add build and log infrastructure mempool/octeontx: probe fpavf pcie devices mempool/octeontx: implement pool alloc mempool/octeontx: implement pool free mempool/octeontx: implement pool enq and deq mempool/octeontx: implement pool get count mempool/octeontx: implement pool get capability mempool/octeontx: implement pool update range mempool/octeontx: translate handle to pool doc: add mempool and octeontx mempool device MAINTAINERS | 6 + config/common_base | 6 + doc/guides/index.rst | 1 + doc/guides/mempool/index.rst | 40 + doc/guides/mempool/octeontx.rst | 127 ++++ drivers/Makefile | 5 +- drivers/mempool/Makefile | 2 + drivers/mempool/octeontx/Makefile | 74 ++ drivers/mempool/octeontx/octeontx_fpavf.c | 835 +++++++++++++++++++++ drivers/mempool/octeontx/octeontx_fpavf.h | 145 ++++ drivers/mempool/octeontx/rte_mempool_octeontx.c | 246 ++++++ .../octeontx/rte_mempool_octeontx_version.map | 7 + mk/rte.app.mk | 1 + 13 files changed, 1493 insertions(+), 2 deletions(-) create mode 100644 doc/guides/mempool/index.rst create mode 100644 doc/guides/mempool/octeontx.rst create mode 100644 drivers/mempool/octeontx/Makefile create mode 100644 drivers/mempool/octeontx/octeontx_fpavf.c create mode 100644 drivers/mempool/octeontx/octeontx_fpavf.h create mode 100644 drivers/mempool/octeontx/rte_mempool_octeontx.c create mode 100644 drivers/mempool/octeontx/rte_mempool_octeontx_version.map -- 2.11.0