net/octeontx_ep: add build and doc infrastructure
authorNalla Pradeep <pnalla@marvell.com>
Fri, 29 Jan 2021 12:45:00 +0000 (04:45 -0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 29 Jan 2021 17:16:12 +0000 (18:16 +0100)
Adding bare minimum PMD library and doc build infrastructure
and claim the maintainership for octeontx end point PMD.

Signed-off-by: Nalla Pradeep <pnalla@marvell.com>
Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
MAINTAINERS
doc/guides/nics/features/octeontx_ep.ini [new file with mode: 0644]
doc/guides/nics/index.rst
doc/guides/nics/octeontx_ep.rst [new file with mode: 0644]
drivers/net/meson.build
drivers/net/octeontx_ep/meson.build [new file with mode: 0644]
drivers/net/octeontx_ep/otx_ep_ethdev.c [new file with mode: 0644]
drivers/net/octeontx_ep/version.map [new file with mode: 0644]

index 3f8b651..77a2273 100644 (file)
@@ -763,6 +763,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 <pnalla@marvell.com>
+M: Radha Mohan Chintakuntla <radhac@marvell.com>
+M: Veerasenareddy Burru <vburru@marvell.com>
+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 <matan@nvidia.com>
 M: Shahaf Shuler <shahafs@nvidia.com>
diff --git a/doc/guides/nics/features/octeontx_ep.ini b/doc/guides/nics/features/octeontx_ep.ini
new file mode 100644 (file)
index 0000000..660fbc2
--- /dev/null
@@ -0,0 +1,10 @@
+;
+; Supported features of the 'octeontx_ep' network poll mode driver.
+;
+; Refer to default.ini for the full list of available PMD features.
+;
+[Features]
+SR-IOV               = Y
+Linux                = Y
+x86-64               = Y
+Usage doc            = Y
index 3443617..799697c 100644 (file)
@@ -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 (file)
index 0000000..b512ccf
--- /dev/null
@@ -0,0 +1,27 @@
+..  SPDX-License-Identifier: BSD-3-Clause
+    Copyright(C) 2021 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
+<https://www.marvell.com/content/dam/marvell/en/public-collateral/embedded-processors/marvell-liquidio-III-solutions-brief.pdf>`_.
+
+
+Prerequisites
+-------------
+
+This driver relies on external kernel PF driver for resources allocations
+and initialization. The following dependencies are not part of DPDK and
+must be installed separately:
+
+- **Kernel module**
+  This module, octeon_drv, drives the physical function, initializes hardware,
+  allocates resources such as number of VFs, input/output queues for itself and
+  the number of i/o queues each VF can use.
+
+See :doc:`../platform/octeontx2` for SDP interface information which provides PCIe endpoint support for a remote host.
index 4cbca96..fb9ff05 100644 (file)
@@ -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 (file)
index 0000000..2ef2222
--- /dev/null
@@ -0,0 +1,8 @@
+# SPDX-License-Identifier: BSD-3-Clause
+# Copyright(C) 2021 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 (file)
index 0000000..603023b
--- /dev/null
@@ -0,0 +1,3 @@
+/* SPDX-License-Identifier: BSD-3-Clause
+ * Copyright(C) 2021 Marvell.
+ */
diff --git a/drivers/net/octeontx_ep/version.map b/drivers/net/octeontx_ep/version.map
new file mode 100644 (file)
index 0000000..6e4fb22
--- /dev/null
@@ -0,0 +1,3 @@
+DPDK_21 {
+        local: *;
+};