git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
event/dlb: add infos get and configure
[dpdk.git]
/
doc
/
guides
/
nics
/
mvneta.rst
diff --git
a/doc/guides/nics/mvneta.rst
b/doc/guides/nics/mvneta.rst
index
5f4559c
..
e8abde4
100644
(file)
--- a/
doc/guides/nics/mvneta.rst
+++ b/
doc/guides/nics/mvneta.rst
@@
-13,12
+13,6
@@
Detailed information about SoCs that use PPv2 can be obtained here:
* https://www.marvell.com/embedded-processors/armada-3700/
* https://www.marvell.com/embedded-processors/armada-3700/
-.. Note::
-
- Due to external dependencies, this driver is disabled by default. It must
- be enabled manually by setting relevant configuration option manually.
- Please refer to `Config File Options`_ section for further details.
-
Features
--------
Features
--------
@@
-27,9
+21,18
@@
Features of the MVNETA PMD are:
- Start/stop
- tx/rx_queue_setup
- Start/stop
- tx/rx_queue_setup
+- tx/rx_burst
- Speed capabilities
- Jumbo frame
- Speed capabilities
- Jumbo frame
+- MTU update
+- Promiscuous mode
+- Unicast MAC filter
+- Link status
- CRC offload
- CRC offload
+- L3 checksum offload
+- L4 checksum offload
+- Packet type parsing
+- Basic stats
Limitations
Limitations
@@
-72,20
+75,9
@@
Prerequisites
Follow the DPDK :ref:`Getting Started Guide for Linux <linux_gsg>` to setup
DPDK environment.
Follow the DPDK :ref:`Getting Started Guide for Linux <linux_gsg>` to setup
DPDK environment.
-Pre-Installation Configuration
-------------------------------
-
-Config File Options
-~~~~~~~~~~~~~~~~~~~
-
-The following options can be modified in the ``config`` file.
-
-- ``CONFIG_RTE_LIBRTE_MVNETA_PMD`` (default ``n``)
-
- Toggle compilation of the librte_pmd_mvneta driver.
Runtime options
Runtime options
-~~~~~~~~~~~~~~~
+---------------
The following ``devargs`` options can be enabled at runtime. They must
be passed as part of EAL arguments.
The following ``devargs`` options can be enabled at runtime. They must
be passed as part of EAL arguments.
@@
-98,7
+90,7
@@
be passed as part of EAL arguments.
.. code-block:: console
.. code-block:: console
- ./testpmd --vdev=net_mvneta,iface=eth0,iface=eth1 \
+ ./
dpdk-
testpmd --vdev=net_mvneta,iface=eth0,iface=eth1 \
-c 3 -- -i --p 3 -a
-c 3 -- -i --p 3 -a
@@
-117,16
+109,13
@@
Driver needs precompiled MUSDK library during compilation.
MUSDK will be installed to `usr/local` under current directory.
For the detailed build instructions please consult ``doc/musdk_get_started.txt``.
MUSDK will be installed to `usr/local` under current directory.
For the detailed build instructions please consult ``doc/musdk_get_started.txt``.
-Before the DPDK build process the environmental variable ``LIBMUSDK_PATH`` with
-the path to the MUSDK installation directory needs to be exported.
+The path to the MUSDK installation directory needs to set in meson, shown in the
+following command:
.. code-block:: console
.. code-block:: console
- export LIBMUSDK_PATH=<musdk>/usr/local
- export CROSS=aarch64-linux-gnu-
- make config T=arm64-armv8a-linuxapp-gcc
- sed -ri 's,(MVNETA_PMD=)n,\1y,' build/.config
- make
+ meson -Dlib_musdk_dir=/path/to/musdk build ninja -C build
+
Usage Example
-------------
Usage Example
-------------
@@
-151,7
+140,7
@@
In order to run testpmd example application following command can be used:
.. code-block:: console
.. code-block:: console
- ./testpmd --vdev=net_mvneta,iface=eth0,iface=eth1 -c 3 -- \
+ ./
dpdk-
testpmd --vdev=net_mvneta,iface=eth0,iface=eth1 -c 3 -- \
-i --p 3 -a --txd 256 --rxd 128 --rxq=1 --txq=1 --nb-cores=1
-i --p 3 -a --txd 256 --rxd 128 --rxq=1 --txq=1 --nb-cores=1
@@
-159,4
+148,4
@@
In order to run l2fwd example application following command can be used:
.. code-block:: console
.. code-block:: console
- ./l2fwd --vdev=net_mvneta,iface=eth0,iface=eth1 -c 3 -- -T 1 -p 3
+ ./
dpdk-
l2fwd --vdev=net_mvneta,iface=eth0,iface=eth1 -c 3 -- -T 1 -p 3