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
app/testpmd: disable Rx VLAN offloads by default
[dpdk.git]
/
doc
/
guides
/
sample_app_ug
/
kernel_nic_interface.rst
diff --git
a/doc/guides/sample_app_ug/kernel_nic_interface.rst
b/doc/guides/sample_app_ug/kernel_nic_interface.rst
index
e050e8b
..
67f2140
100644
(file)
--- a/
doc/guides/sample_app_ug/kernel_nic_interface.rst
+++ b/
doc/guides/sample_app_ug/kernel_nic_interface.rst
@@
-77,35
+77,17
@@
The packet flow through the Kernel NIC Interface application is as shown in the
Kernel NIC Application Packet Flow
Kernel NIC Application Packet Flow
-
Compiling the Application
-------------------------
Compiling the Application
-------------------------
-Compile the application as follows:
-
-#. Go to the example directory:
-
- .. code-block:: console
+To compile the sample application see :doc:`compiling`.
- export RTE_SDK=/path/to/rte_sdk
- cd ${RTE_SDK}/examples/kni
+The application is located in the ``kni`` sub-directory.
-#. Set the target (a default target is used if not specified)
-
- .. note::
+.. note::
This application is intended as a linuxapp only.
This application is intended as a linuxapp only.
- .. code-block:: console
-
- export RTE_TARGET=x86_64-native-linuxapp-gcc
-
-#. Build the application:
-
- .. code-block:: console
-
- make
-
Loading the Kernel Module
-------------------------
Loading the Kernel Module
-------------------------
@@
-199,7
+181,7
@@
and one lcore of kernel thread for each port:
.. code-block:: console
.. code-block:: console
- ./build/kni -l 4-7 -n 4 -- -P -p 0x3 -config="(0,4,6,8),(1,5,7,9)"
+ ./build/kni -l 4-7 -n 4 -- -P -p 0x3 -
-
config="(0,4,6,8),(1,5,7,9)"
KNI Operations
--------------
KNI Operations
--------------