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
hash: implement RCU resources reclamation
[dpdk.git]
/
doc
/
guides
/
sample_app_ug
/
vhost.rst
diff --git
a/doc/guides/sample_app_ug/vhost.rst
b/doc/guides/sample_app_ug/vhost.rst
index
b7ed4f8
..
bacf789
100644
(file)
--- a/
doc/guides/sample_app_ug/vhost.rst
+++ b/
doc/guides/sample_app_ug/vhost.rst
@@
-38,7
+38,7
@@
Start the vswitch example
.. code-block:: console
.. code-block:: console
- ./vhost-switch -l 0-3 -n 4 --socket-mem 1024 \
+ ./
dpdk-
vhost-switch -l 0-3 -n 4 --socket-mem 1024 \
-- --socket-file /tmp/sock0 --client \
...
-- --socket-file /tmp/sock0 --client \
...
@@
-78,13
+78,13
@@
could be done by:
.. code-block:: console
modprobe uio_pci_generic
.. code-block:: console
modprobe uio_pci_generic
-
$RTE_SDK
/usertools/dpdk-devbind.py -b uio_pci_generic 0000:00:04.0
+
dpdk
/usertools/dpdk-devbind.py -b uio_pci_generic 0000:00:04.0
Then start testpmd for packet forwarding testing.
.. code-block:: console
Then start testpmd for packet forwarding testing.
.. code-block:: console
- ./
x86_64-native-gcc/app/
testpmd -l 0-1 -- -i
+ ./
<build_dir>/app/dpdk-
testpmd -l 0-1 -- -i
> start tx_first
Inject packets
> start tx_first
Inject packets
@@
-192,11
+192,6
@@
Common Issues
max queue number is larger than 128, device start will fail due to
insufficient mbuf.
max queue number is larger than 128, device start will fail due to
insufficient mbuf.
- Change the default number to make it work as below, just set the number
- according to the NIC's property. ::
-
- make EXTRA_CFLAGS="-DMAX_QUEUES=320"
-
* Option "builtin-net-driver" is incompatible with QEMU
QEMU vhost net device start will fail if protocol feature is not negotiated.
* Option "builtin-net-driver" is incompatible with QEMU
QEMU vhost net device start will fail if protocol feature is not negotiated.