From: Bernard Iremonger Date: Tue, 19 Jan 2021 13:00:52 +0000 (+0000) Subject: doc: fix QinQ flow rules in testpmd guide X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=836cdce48822f31316849adc00086e17131908d7;p=dpdk.git doc: fix QinQ flow rules in testpmd guide In the Testpmd Flow rules management section, correct the TPID values in the Sample QinQ flow rules sub section. Also replace the keyword qinq_strip with extend in the vlan set command. Fixes: bef3bfe7d5f4 ("doc: revise sample testpmd flow commands") Cc: stable@dpdk.org Signed-off-by: Bernard Iremonger Acked-by: Xiaoyun Li --- diff --git a/doc/guides/testpmd_app_ug/testpmd_funcs.rst b/doc/guides/testpmd_app_ug/testpmd_funcs.rst index 3ccc9fc300..a45910b81e 100644 --- a/doc/guides/testpmd_app_ug/testpmd_funcs.rst +++ b/doc/guides/testpmd_app_ug/testpmd_funcs.rst @@ -4434,14 +4434,14 @@ Sample QinQ flow rules Before creating QinQ rule(s) the following commands should be issued to enable QinQ:: testpmd> port stop 0 - testpmd> vlan set qinq_strip on 0 + testpmd> vlan set extend on 0 The above command sets the inner and outer TPID's to 0x8100. To change the TPID's the following commands should be used:: - testpmd> vlan set outer tpid 0xa100 0 - testpmd> vlan set inner tpid 0x9100 0 + testpmd> vlan set outer tpid 0x88A8 0 + testpmd> vlan set inner tpid 0x8100 0 testpmd> port start 0 Validate and create a QinQ rule on port 0 to steer traffic to a VF queue in a VM.