From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 74F7CA04F6; Tue, 7 Jan 2020 15:23:30 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 09D461D96C; Tue, 7 Jan 2020 15:23:30 +0100 (CET) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by dpdk.org (Postfix) with ESMTP id A0A2E1D68C for ; Tue, 7 Jan 2020 15:23:28 +0100 (CET) Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 007ELKfu004652; Tue, 7 Jan 2020 06:23:25 -0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; h=from : to : cc : subject : date : message-id : mime-version : content-type; s=pfpt0818; bh=cw9ntX+UmsKl6R3KEMWd5CEhsfWssdmlKzUVmICzY/w=; b=Q6Du5kkr7L24ZF+CiiCDrnlOXRZFwtFAUADhwYs3KNRkhkH22fj9isrlOTJsT8OaAsQj yTaNy4pYDpXiEGs24LVVvQb8XcppBfgI4l5EVnlhvR6Hwhd7ntB1JP3//vagndsaH6fC l8DKCbJToDDgPW325+RKpJq+eViP6Tvo5R8ax7zZ34ZsLN9nv26LXiDJdryVzDv4krLV otgGAN7Anu3ln3RJhqH3VGeEGcIomyXg9OH7J5/kXjoKyemhlRBRmwxXXbATr+JSewWJ MBIUVfUd3BhbcTmJ3xBB3f4OTDR7xgGP4BWCpepBzcgU2ICR1TMNIPXlEAXjbEhy0SaR Mw== Received: from sc-exch02.marvell.com ([199.233.58.182]) by mx0a-0016f401.pphosted.com with ESMTP id 2xarxvaq7c-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Tue, 07 Jan 2020 06:23:25 -0800 Received: from SC-EXCH01.marvell.com (10.93.176.81) by SC-EXCH02.marvell.com (10.93.176.82) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Tue, 7 Jan 2020 06:23:17 -0800 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.1497.2 via Frontend Transport; Tue, 7 Jan 2020 06:23:17 -0800 Received: from hyd1244.marvell.com (hyd1244.marvell.com [10.29.20.28]) by maili.marvell.com (Postfix) with ESMTP id 7F46C3F704F; Tue, 7 Jan 2020 06:23:15 -0800 (PST) From: Mahipal Challa To: CC: , , , , Date: Tue, 7 Jan 2020 19:53:02 +0530 Message-ID: <1578406988-29379-1-git-send-email-mchalla@marvell.com> X-Mailer: git-send-email 1.8.3.1 MIME-Version: 1.0 Content-Type: text/plain X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.95,18.0.572 definitions=2020-01-07_05:2020-01-06,2020-01-07 signatures=0 Subject: [dpdk-dev] [PATCH v4 0/6] OCTEON TX2 End Point 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" This patchset adds support for OCTEON TX2 end point mode of operation. The driver implementation uses DPDK rawdevice sub-system. v2: * Updated memory barrior API's as per Gavin Hu suggestion. v3: * Fixed memory leak possibility issues. v4: * Improved error handling in selftest API. Mahipal Challa (6): raw/octeontx2_ep: add build infra and device probe raw/octeontx2_ep: add device configuration raw/octeontx2_ep: add device uninitialization raw/octeontx2_ep: add enqueue operation raw/octeontx2_ep: add dequeue operation raw/octeontx2_ep: add driver self test MAINTAINERS | 5 + config/common_base | 5 + doc/guides/rawdevs/index.rst | 1 + doc/guides/rawdevs/octeontx2_ep.rst | 89 +++ drivers/common/octeontx2/hw/otx2_sdp.h | 184 +++++ drivers/common/octeontx2/otx2_common.c | 9 + drivers/common/octeontx2/otx2_common.h | 4 + .../octeontx2/rte_common_octeontx2_version.map | 6 + drivers/raw/Makefile | 1 + drivers/raw/meson.build | 1 + drivers/raw/octeontx2_ep/Makefile | 44 ++ drivers/raw/octeontx2_ep/meson.build | 9 + drivers/raw/octeontx2_ep/otx2_ep_enqdeq.c | 844 +++++++++++++++++++++ drivers/raw/octeontx2_ep/otx2_ep_enqdeq.h | 52 ++ drivers/raw/octeontx2_ep/otx2_ep_rawdev.c | 361 +++++++++ drivers/raw/octeontx2_ep/otx2_ep_rawdev.h | 499 ++++++++++++ drivers/raw/octeontx2_ep/otx2_ep_test.c | 173 +++++ drivers/raw/octeontx2_ep/otx2_ep_vf.c | 476 ++++++++++++ drivers/raw/octeontx2_ep/otx2_ep_vf.h | 10 + .../rte_rawdev_octeontx2_ep_version.map | 4 + mk/rte.app.mk | 2 + 21 files changed, 2779 insertions(+) create mode 100644 doc/guides/rawdevs/octeontx2_ep.rst create mode 100644 drivers/common/octeontx2/hw/otx2_sdp.h create mode 100644 drivers/raw/octeontx2_ep/Makefile create mode 100644 drivers/raw/octeontx2_ep/meson.build create mode 100644 drivers/raw/octeontx2_ep/otx2_ep_enqdeq.c create mode 100644 drivers/raw/octeontx2_ep/otx2_ep_enqdeq.h create mode 100644 drivers/raw/octeontx2_ep/otx2_ep_rawdev.c create mode 100644 drivers/raw/octeontx2_ep/otx2_ep_rawdev.h create mode 100644 drivers/raw/octeontx2_ep/otx2_ep_test.c create mode 100644 drivers/raw/octeontx2_ep/otx2_ep_vf.c create mode 100644 drivers/raw/octeontx2_ep/otx2_ep_vf.h create mode 100644 drivers/raw/octeontx2_ep/rte_rawdev_octeontx2_ep_version.map -- 1.8.3.1