From patchwork Thu Dec 31 07:22:33 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pradeep Nalla X-Patchwork-Id: 85924 X-Patchwork-Delegate: ferruh.yigit@amd.com Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (xvm-189-124.dc0.ghst.net [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 4FEF1A0A00; Thu, 31 Dec 2020 08:24:53 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 26920140D32; Thu, 31 Dec 2020 08:23:13 +0100 (CET) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by mails.dpdk.org (Postfix) with ESMTP id 2F506140CF3 for ; Thu, 31 Dec 2020 08:23:01 +0100 (CET) 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 0BV7GSr2022257; Wed, 30 Dec 2020 23:22:57 -0800 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-type; s=pfpt0220; bh=y765zdOqlTLMnIkc2vOJPaF79R0TA8kvCz9dRkBsr5U=; b=PU7ZhuFb8RyM0j8pTsq8pxN8ieaFhpgGpvgI9bW3w8y6WjSV39hKF0VvJeLujPo7UUkV rfk5NQjnemzLtgTr6+YL+/oJI3bN88oINXABb0KP4XqpuyTRpRAqyNXW8AhO4z1f8mM2 P0ctl04QsvgRt7flAQwAdT0bSYRYJnHwlkm4jR7m5fQwvjpZIXztsUFKNqhXQxe4WHLP gWncpY+lfGul3osLjovwP4r04W4giPN0kLvBoY8sgjMgHKPE9IGgf/COyHBkFjwvUm5g 8g5y2cqt49kRA1TUwKo3YiuemVPrvHmw1Y19DQvflts0jhbcpYcV7Vu1gj/YgKlz/Z0C zQ== Received: from dc5-exch01.marvell.com ([199.233.59.181]) by mx0a-0016f401.pphosted.com with ESMTP id 35rqgehx53-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Wed, 30 Dec 2020 23:22:56 -0800 Received: from SC-EXCH02.marvell.com (10.93.176.82) by DC5-EXCH01.marvell.com (10.69.176.38) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Wed, 30 Dec 2020 23:22:55 -0800 Received: from DC5-EXCH01.marvell.com (10.69.176.38) by SC-EXCH02.marvell.com (10.93.176.82) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Wed, 30 Dec 2020 23:22:54 -0800 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; Wed, 30 Dec 2020 23:22:55 -0800 Received: from localhost.localdomain (unknown [10.111.145.157]) by maili.marvell.com (Postfix) with ESMTP id C73303F7040; Wed, 30 Dec 2020 23:22:54 -0800 (PST) From: "Nalla, Pradeep" To: Thomas Monjalon , "Nalla, Pradeep" , Radha Mohan Chintakuntla , Veerasenareddy Burru , Ray Kinsella , "Neil Horman" CC: , , Date: Thu, 31 Dec 2020 07:22:33 +0000 Message-ID: <20201231072247.5719-2-pnalla@marvell.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20201231072247.5719-1-pnalla@marvell.com> References: <20201231072247.5719-1-pnalla@marvell.com> MIME-Version: 1.0 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.343, 18.0.737 definitions=2020-12-31_02:2020-12-30, 2020-12-31 signatures=0 Subject: [dpdk-dev] [PATCH 01/15] net/octeontx_ep: add build and doc infrastructure 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" From: "Nalla Pradeep" Adding bare minimum PMD library and doc build infrastructure and claim the maintainership for octeontx end point PMD. Signed-off-by: Nalla Pradeep --- MAINTAINERS | 9 +++++++ doc/guides/nics/features/octeontx_ep.ini | 8 ++++++ doc/guides/nics/index.rst | 1 + doc/guides/nics/octeontx_ep.rst | 32 ++++++++++++++++++++++++ drivers/net/meson.build | 1 + drivers/net/octeontx_ep/meson.build | 8 ++++++ drivers/net/octeontx_ep/otx_ep_ethdev.c | 3 +++ drivers/net/octeontx_ep/version.map | 4 +++ 8 files changed, 66 insertions(+) create mode 100644 doc/guides/nics/features/octeontx_ep.ini create mode 100644 doc/guides/nics/octeontx_ep.rst create mode 100644 drivers/net/octeontx_ep/meson.build create mode 100644 drivers/net/octeontx_ep/otx_ep_ethdev.c create mode 100644 drivers/net/octeontx_ep/version.map diff --git a/MAINTAINERS b/MAINTAINERS index 6787b15dcc..923c92bda2 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -762,6 +762,15 @@ T: git://dpdk.org/next/dpdk-next-crypto F: drivers/common/octeontx2/otx2_sec* F: drivers/net/octeontx2/otx2_ethdev_sec* +Marvell OCTEON TX EP - endpoint +M: Nalla Pradeep +M: Radha Mohan Chintakuntla +M: Veerasenareddy Burru +T: git://dpdk.org/next/dpdk-next-net-mrvl +F: drivers/net/octeontx_ep/ +F: doc/guides/nics/features/octeontx_ep.ini +F: doc/guides/nics/octeontx_ep.rst + Mellanox mlx4 M: Matan Azrad M: Shahaf Shuler diff --git a/doc/guides/nics/features/octeontx_ep.ini b/doc/guides/nics/features/octeontx_ep.ini new file mode 100644 index 0000000000..95d6585222 --- /dev/null +++ b/doc/guides/nics/features/octeontx_ep.ini @@ -0,0 +1,8 @@ +; +; Supported features of the 'octeontx_ep' network poll mode driver. +; +; Refer to default.ini for the full list of available PMD features. +; +[Features] +Linux VFIO = Y +Usage doc = Y diff --git a/doc/guides/nics/index.rst b/doc/guides/nics/index.rst index 3443617755..799697caf0 100644 --- a/doc/guides/nics/index.rst +++ b/doc/guides/nics/index.rst @@ -50,6 +50,7 @@ Network Interface Controller Drivers null octeontx octeontx2 + octeontx_ep pfe qede sfc_efx diff --git a/doc/guides/nics/octeontx_ep.rst b/doc/guides/nics/octeontx_ep.rst new file mode 100644 index 0000000000..dba0847b06 --- /dev/null +++ b/doc/guides/nics/octeontx_ep.rst @@ -0,0 +1,32 @@ +.. SPDX-License-Identifier: BSD-3-Clause + Copyright(C) 2019 Marvell International Ltd. + +OCTEON TX EP Poll Mode driver +=========================== + +The OCTEON TX EP ETHDEV PMD (**librte_pmd_octeontx_ep**) provides poll mode ethdev +driver support for **Marvell OCTEON TX2** and **Cavium OCTEON TX** families of +adapters as well as for their virtual functions (VF) in SR-IOV context. + +More information can be found at `Marvell Official Website +`_. + +Features +-------- + +Features of the OCTEON TX EP Ethdev PMD are: + + +Prerequisites +------------- + +See :doc:`../platform/octeontx2` and `../platform/octeontx` for setup information. + +Compile time Config Options +--------------------------- + +The following options may be modified in the ``config`` file. + +- ``CONFIG_RTE_LIBRTE_OCTEONTX_EP_PMD`` (default ``y``) + + Toggle compilation of the ``librte_pmd_octeontx_ep`` driver. diff --git a/drivers/net/meson.build b/drivers/net/meson.build index 6e4aa6bf3f..87475d8fc3 100644 --- a/drivers/net/meson.build +++ b/drivers/net/meson.build @@ -42,6 +42,7 @@ drivers = ['af_packet', 'null', 'octeontx', 'octeontx2', + 'octeontx_ep', 'pcap', 'pfe', 'qede', diff --git a/drivers/net/octeontx_ep/meson.build b/drivers/net/octeontx_ep/meson.build new file mode 100644 index 0000000000..46462c8efe --- /dev/null +++ b/drivers/net/octeontx_ep/meson.build @@ -0,0 +1,8 @@ +# SPDX-License-Identifier: BSD-3-Clause +# Copyright(C) 2019 Marvell International Ltd. +# + +sources = files( + 'otx_ep_ethdev.c', + ) + diff --git a/drivers/net/octeontx_ep/otx_ep_ethdev.c b/drivers/net/octeontx_ep/otx_ep_ethdev.c new file mode 100644 index 0000000000..d26535deec --- /dev/null +++ b/drivers/net/octeontx_ep/otx_ep_ethdev.c @@ -0,0 +1,3 @@ +/* SPDX-License-Identifier: BSD-3-Clause + * Copyright(C) 2019 Marvell International Ltd. + */ diff --git a/drivers/net/octeontx_ep/version.map b/drivers/net/octeontx_ep/version.map new file mode 100644 index 0000000000..f4db678dd5 --- /dev/null +++ b/drivers/net/octeontx_ep/version.map @@ -0,0 +1,4 @@ +DPDK_20.0 { + + local: *; +};