From patchwork Fri Jul 5 08:37:57 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jerin Jacob Kollanukkaran X-Patchwork-Id: 56116 Return-Path: X-Original-To: patchwork@dpdk.org Delivered-To: patchwork@dpdk.org Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 2C1ED1B9B3; Fri, 5 Jul 2019 10:37:53 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by dpdk.org (Postfix) with ESMTP id 948F91B9AA for ; Fri, 5 Jul 2019 10:37:51 +0200 (CEST) Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x658ZhHo029583; Fri, 5 Jul 2019 01:37:50 -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=pfpt0818; bh=JYkI0oRSwjK9NCqXXTSHuBL/LalIeWGtjNtIMTc1viw=; b=xW7U0tQy9DKt9AwkgIdw1kxhHz4l/OXlDENbMuNUf2Q2XQ5KsRPFfTQY5FVspSzbJ4Ri t1wlxxjV4cdZcZqdlN9Ey2EhOE8ikn9GBTMzfWYBc0fz+HqMDK1oK2g1nA78HjSrlpp+ bMV4dHEn+ny9sPMhqkRx2t6e85sJ6yeonIk3ac/YlZorABzFg+6pV0y7cSoS7EsD479m ZyIS/97SF8mkjkPkKDfxpSNQgHWH13Qlzp8YA1t0B5GMCqcb3AUehL0+CAc1BrBEeTrX +FCmOfHahxo6C1d4DUTWStMEZZJ7QXYmwCrzk61IWIHN4ztH8sgLDwpnbuEpf+6OR9Xq 2Q== Received: from sc-exch04.marvell.com ([199.233.58.184]) by mx0a-0016f401.pphosted.com with ESMTP id 2thv9p1cpp-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Fri, 05 Jul 2019 01:37:50 -0700 Received: from SC-EXCH01.marvell.com (10.93.176.81) by SC-EXCH04.marvell.com (10.93.176.84) with Microsoft SMTP Server (TLS) id 15.0.1367.3; Fri, 5 Jul 2019 01:37:49 -0700 Received: from maili.marvell.com (10.93.176.43) by SC-EXCH01.marvell.com (10.93.176.81) with Microsoft SMTP Server id 15.0.1367.3 via Frontend Transport; Fri, 5 Jul 2019 01:37:49 -0700 Received: from jerin-lab.marvell.com (jerin-lab.marvell.com [10.28.34.14]) by maili.marvell.com (Postfix) with ESMTP id B40E13F703F; Fri, 5 Jul 2019 01:37:48 -0700 (PDT) From: To: CC: , Jerin Jacob Date: Fri, 5 Jul 2019 14:07:57 +0530 Message-ID: <20190705083805.29519-1-jerinj@marvell.com> X-Mailer: git-send-email 2.22.0 In-Reply-To: <20190601182030.8282-1-jerinj@marvell.com> References: <20190601182030.8282-1-jerinj@marvell.com> MIME-Version: 1.0 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:, , definitions=2019-07-05_03:, , signatures=0 Subject: [dpdk-dev] [PATCH v2 0/8] OCTEON TX2 DMA driver X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 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: Jerin Jacob This patchset adds support for OCTEON TX2 DMA driver as DPDK rawdevice. v2: # Moved maintainers file to the first patch # removed reference to to v19.05 # Makefile/Meson CFLAGS moved to specific patches # Squshed Documentation updates to specific patches # Sync with Bruce's usertools/dpdk-devbind.py script change where octeontx2 dma will be classified as Misc device. # Update to latest dpdk.org master (as of 5-July) Jerin Jacob (2): raw/octeontx2_dma: add build infra and device probe usertools: add octeontx2 DMA device binding Satha Rao (6): raw/octeontx2_dma: update probe function raw/octeontx2_dma: add device configuration raw/octeontx2_dma: add device close operation raw/octeontx2_dma: add enqueue operation raw/octeontx2_dma: add dequeue and device control operations raw/octeontx2_dma: add driver self test MAINTAINERS | 6 + config/common_base | 5 + doc/guides/platform/octeontx2.rst | 5 + doc/guides/rawdevs/index.rst | 1 + doc/guides/rawdevs/octeontx2_dma.rst | 115 +++++ drivers/raw/Makefile | 1 + drivers/raw/meson.build | 1 + drivers/raw/octeontx2_dma/Makefile | 36 ++ drivers/raw/octeontx2_dma/meson.build | 18 + drivers/raw/octeontx2_dma/otx2_dpi_msg.c | 105 +++++ drivers/raw/octeontx2_dma/otx2_dpi_rawdev.c | 437 ++++++++++++++++++ drivers/raw/octeontx2_dma/otx2_dpi_rawdev.h | 196 ++++++++ drivers/raw/octeontx2_dma/otx2_dpi_test.c | 217 +++++++++ .../rte_pmd_octeontx2_dma_version.map | 4 + mk/rte.app.mk | 2 + usertools/dpdk-devbind.py | 4 +- 16 files changed, 1152 insertions(+), 1 deletion(-) create mode 100644 doc/guides/rawdevs/octeontx2_dma.rst create mode 100644 drivers/raw/octeontx2_dma/Makefile create mode 100644 drivers/raw/octeontx2_dma/meson.build create mode 100644 drivers/raw/octeontx2_dma/otx2_dpi_msg.c create mode 100644 drivers/raw/octeontx2_dma/otx2_dpi_rawdev.c create mode 100644 drivers/raw/octeontx2_dma/otx2_dpi_rawdev.h create mode 100644 drivers/raw/octeontx2_dma/otx2_dpi_test.c create mode 100644 drivers/raw/octeontx2_dma/rte_pmd_octeontx2_dma_version.map