]> git.droids-corp.org - dpdk.git/commitdiff
doc: fix ethertype filter example in testpmd guide
authorPablo de Lara <pablo.de.lara.guarch@intel.com>
Wed, 26 Aug 2015 07:43:09 +0000 (08:43 +0100)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Mon, 7 Sep 2015 14:47:09 +0000 (16:47 +0200)
The two examples of ethertype_filter in testpmd documentation
were missing the mac address field, so the example was incorrect.

Signed-off-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
doc/guides/testpmd_app_ug/testpmd_funcs.rst

index 3f076c848395107225bdc5dbc63606ef486b7913..aa77a91599baf3ad798636efa6d4d835d99befe5 100644 (file)
@@ -1469,8 +1469,8 @@ Example, to add/remove an ethertype filter rule:
 
 .. code-block:: console
 
-    testpmd> ethertype_filter 0 add mac_ignr ethertype 0x0806 fwd queue 3
-    testpmd> ethertype_filter 0 del mac_ignr ethertype 0x0806 fwd queue 3
+    testpmd> ethertype_filter 0 add mac_ignr 00:11:22:33:44:55 ethertype 0x0806 fwd queue 3
+    testpmd> ethertype_filter 0 del mac_ignr 00:11:22:33:44:55 ethertype 0x0806 fwd queue 3
 
 2tuple_filter
 ~~~~~~~~~~~~~~~~~