From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 4E915A0A03; Mon, 18 Jan 2021 10:38:09 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 5FE31140D75; Mon, 18 Jan 2021 10:37:18 +0100 (CET) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by mails.dpdk.org (Postfix) with ESMTP id 5892D140D1E for ; Mon, 18 Jan 2021 10:37:09 +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 10I9QnZm007585; Mon, 18 Jan 2021 01:37:05 -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=pfpt0220; bh=gplFmsmYdu1t4uk9e9I3x4WiLwFlhN/8AdTWVddINLM=; b=Ps+lM/C3ldndshnL3AV8Ha+w2SDT1uD9VAISUuOK403AMfwyKIqXD0NvH9aT5vU+c9eT wdAY5jONbSzELKHPIDtNqy7Utn1bu3RtY5b0uIlI9wSiqkjA4yK9iGQa0vEAmruzcVxP z0zyX8u/YQG8DM6axP28OaGHVcR3G+i2QPRNlxzdYKmI7up67yyQBlRcrsGkPwGVWfpC 6xcyyMbXCwkSu7v0f9gE6/7T5SrnNY6XEW0kQ6VnaVk0X/MyOQyBZ4m/X2rNXfPyuxmI 5DyLFnOA6sDmVApgg/BtcRwS86Pc4ulI7D2Q/8XjhSVw3+L3aVhr8/22I2YX3APEf7dj SA== Received: from dc5-exch01.marvell.com ([199.233.59.181]) by mx0a-0016f401.pphosted.com with ESMTP id 363xcub8p7-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Mon, 18 Jan 2021 01:37:05 -0800 Received: from DC5-EXCH01.marvell.com (10.69.176.38) by DC5-EXCH01.marvell.com (10.69.176.38) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Mon, 18 Jan 2021 01:37:04 -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; Mon, 18 Jan 2021 01:37:04 -0800 Received: from localhost.localdomain (unknown [10.111.145.157]) by maili.marvell.com (Postfix) with ESMTP id B7E273F7043; Mon, 18 Jan 2021 01:37:03 -0800 (PST) From: Nalla Pradeep To: Thomas Monjalon , Nalla Pradeep , Radha Mohan Chintakuntla , Veerasenareddy Burru , Ray Kinsella , Neil Horman CC: , , Date: Mon, 18 Jan 2021 09:35:52 +0000 Message-ID: <20210118093602.5449-1-pnalla@marvell.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 Content-Type: text/plain X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.343, 18.0.737 definitions=2021-01-18_07:2021-01-15, 2021-01-18 signatures=0 Subject: [dpdk-dev] [PATCH v2 01/11] 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" 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 76ed473e44..5a095df77d 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..d194896093 --- /dev/null +++ b/doc/guides/nics/octeontx_ep.rst @@ -0,0 +1,32 @@ +.. SPDX-License-Identifier: BSD-3-Clause + Copyright(C) 2020 Marvell. + +OCTEON TX EP Poll Mode driver +=========================== + +The OCTEON TX EP ETHDEV PMD (**librte_pmd_octeontx_ep**) provides poll mode +ethdev driver support for the virtual functions (VF) of **Marvell OCTEON TX2** +and **Cavium OCTEON TX** families of adapters 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 4948500aef..007f6d889b 100644 --- a/drivers/net/meson.build +++ b/drivers/net/meson.build @@ -39,6 +39,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..83ffbad7b6 --- /dev/null +++ b/drivers/net/octeontx_ep/meson.build @@ -0,0 +1,8 @@ +# SPDX-License-Identifier: BSD-3-Clause +# Copyright(C) 2020 Marvell. +# + +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..2b2d684a0b --- /dev/null +++ b/drivers/net/octeontx_ep/otx_ep_ethdev.c @@ -0,0 +1,3 @@ +/* SPDX-License-Identifier: BSD-3-Clause + * Copyright(C) 2020 Marvell. + */ 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: *; +}; -- 2.17.1