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 CFBB6A04F7; Fri, 27 Dec 2019 13:39:57 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 1D0DF1C012; Fri, 27 Dec 2019 13:39:56 +0100 (CET) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by dpdk.org (Postfix) with ESMTP id 47C521BFFF for ; Fri, 27 Dec 2019 13:39:55 +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 xBRCZOLb014164 for ; Fri, 27 Dec 2019 04:39:54 -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=up1ODqVX29ZB2w5SbMqQb1s06OXzJAoGlyMRSoxxCeU=; b=qVVC07tlbuFXrkTXmUFI1z9JmK25qnnaJ7kcSLQ2xZOchMgFyxXB+1OwvJzHwJto+2gK 36tlyNw4nQPYeb8hsXJXitz9HJdbiaWPmLrfSTolizWNBjTIJ+yOBPhP2yi6d9S53OtY DPQVlFk4NOdQgPGRyorCVk3ouTwLIoRGcGJyDwNKJRarBHTHD//LY7O2ZVBsnWO9pngc NJ00A2ciBa4c8F4YZHEZamkFQlx0O0MOgHcON6RArklDRjeP0r3DWN4+mrJqdczUtJEi jS9Y/dJe1lYNHbXq5Vo8jvL5cqxayVj8T+CDL149gDy2+haHKDlLwjx8yl6AkVWwe75C Ow== Received: from sc-exch03.marvell.com ([199.233.58.183]) by mx0a-0016f401.pphosted.com with ESMTP id 2x3ex493kj-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT) for ; Fri, 27 Dec 2019 04:39:54 -0800 Received: from SC-EXCH03.marvell.com (10.93.176.83) by SC-EXCH03.marvell.com (10.93.176.83) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Fri, 27 Dec 2019 04:39:52 -0800 Received: from maili.marvell.com (10.93.176.43) by SC-EXCH03.marvell.com (10.93.176.83) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Fri, 27 Dec 2019 04:39:52 -0800 Received: from hyd1244.marvell.com (hyd1244.marvell.com [10.29.20.28]) by maili.marvell.com (Postfix) with ESMTP id BED863F703F; Fri, 27 Dec 2019 04:39:50 -0800 (PST) From: Mahipal Challa To: CC: , , , Date: Fri, 27 Dec 2019 18:09:40 +0530 Message-ID: <1577450386-16966-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=2019-12-27_03:2019-12-24,2019-12-27 signatures=0 Subject: [dpdk-dev] [PATCH v2 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. 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 | 164 ++++ 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, 2770 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