doc: fix tap guide
Corrected one typo and IP address according RFC5735.
Fixes: de96fe68ae
("net/tap: add basic flow API patterns and actions")
Cc: stable@dpdk.org
Signed-off-by: Andrzej Ostruszka <aostruszka@marvell.com>
Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
This commit is contained in:
parent
54aedfe1c0
commit
781088dad5
@ -76,7 +76,7 @@ Please change the IP addresses as you see fit.
|
||||
|
||||
If routing is enabled on the host you can also communicate with the DPDK App
|
||||
over the internet via a standard socket layer application as long as you
|
||||
account for the protocol handing in the application.
|
||||
account for the protocol handling in the application.
|
||||
|
||||
If you have a Network Stack in your DPDK application or something like it you
|
||||
can utilize that stack to handle the network protocols. Plus you would be able
|
||||
@ -132,9 +132,9 @@ As rules are translated to TC, it is possible to show them with something like::
|
||||
Examples of testpmd flow rules
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
Drop packets for destination IP 192.168.0.1::
|
||||
Drop packets for destination IP 192.0.2.1::
|
||||
|
||||
testpmd> flow create 0 priority 1 ingress pattern eth / ipv4 dst is 1.1.1.1 \
|
||||
testpmd> flow create 0 priority 1 ingress pattern eth / ipv4 dst is 192.0.2.1 \
|
||||
/ end actions drop / end
|
||||
|
||||
Ensure packets from a given MAC address are received on a queue 2::
|
||||
|
Loading…
Reference in New Issue
Block a user