[dts] [PATCH V1] tests/kernelpf_iavf:vlan_insertion add filter on and rx_vlan

Tu, Lijuan lijuan.tu at intel.com
Fri Feb 21 03:02:59 CET 2020


Applied, thanks

> -----Original Message-----
> From: dts [mailto:dts-bounces at dpdk.org] On Behalf Of Zeng Xiaoxiao
> Sent: Thursday, February 20, 2020 10:28 AM
> To: dts at dpdk.org
> Cc: Zeng, XiaoxiaoX <xiaoxiaox.zeng at intel.com>
> Subject: [dts] [PATCH V1] tests/kernelpf_iavf:vlan_insertion add filter on and
> rx_vlan
> 
> Signed-off-by: Zeng Xiaoxiao <xiaoxiaox.zeng at intel.com>
> ---
>  tests/TestSuite_kernelpf_iavf.py | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/tests/TestSuite_kernelpf_iavf.py
> b/tests/TestSuite_kernelpf_iavf.py
> index 578b9cc..63cd8e9 100644
> --- a/tests/TestSuite_kernelpf_iavf.py
> +++ b/tests/TestSuite_kernelpf_iavf.py
> @@ -491,6 +491,8 @@ class TestKernelpfIavf(TestCase):
>          self.vm_testpmd.execute_cmd("vlan set strip off 0")
>          self.vm_testpmd.execute_cmd("port stop all")
>          self.vm_testpmd.execute_cmd("tx_vlan set 0 %s" % random_vlan)
> +        self.vm_testpmd.execute_cmd("vlan set filter on 0")
> +        self.vm_testpmd.execute_cmd("rx_vlan add %s 0" % random_vlan)
>          self.vm_testpmd.execute_cmd("port start all")
>          self.vm_testpmd.execute_cmd("set fwd mac")
>          self.vm_testpmd.execute_cmd("set verbose 1")
> --
> 1.8.3.1



More information about the dts mailing list