[dts] [PATCH 1/1] tests/TestSuite_vlan.py Set promisc off fastlinq adapters.

Tu, Lijuan lijuan.tu at intel.com
Wed Aug 7 08:33:24 CEST 2019


Applied, thanks

> -----Original Message-----
> From: Yash Sharma [mailto:ysharma at marvell.com]
> Sent: Wednesday, July 17, 2019 6:44 PM
> To: dts at dpdk.org; Tu, Lijuan <lijuan.tu at intel.com>
> Cc: shshaikh at marvell.com; psurana at marvell.com; srane at marvell.com; yash
> <ysharma at marvell.com>
> Subject: [PATCH 1/1] tests/TestSuite_vlan.py Set promisc off fastlinq
> adapters.
> 
> From: yash <ysharma at marvell.com>
> 
> Adding support for fastlinq adapters in Testsuite to set promisc off before
> starting the TestCase for Vlan Disable Test, Otherwise it accepts packets
> resulting in failure of Test.
> 
> Signed-off-by: yash <ysharma at marvell.com>
> ---
>  tests/TestSuite_vlan.py | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/tests/TestSuite_vlan.py b/tests/TestSuite_vlan.py index
> c7b4b62..86e7eb5 100644
> --- a/tests/TestSuite_vlan.py
> +++ b/tests/TestSuite_vlan.py
> @@ -75,7 +75,7 @@ class TestVlan(TestCase):
>          self.dut.send_expect("set verbose 1", "testpmd> ")
>          out = self.dut.send_expect("set fwd mac", "testpmd> ")
> 
> -        if self.nic in ["fortville_eagle", "fortville_spirit", "fortville_spirit_single",
> "fortpark_TLV", "fortville_25g", "hi1822"]:
> +        if self.nic in ["fortville_eagle", "fortville_spirit", "fortville_spirit_single",
> "fortpark_TLV", "fortville_25g", "hi1822", "fastlinq_ql41000",
> "fastlinq_ql45000"]:
>              self.dut.send_expect("vlan set filter on %s" % dutRxPortId, "testpmd>
> ")
>              self.dut.send_expect("set promisc all off",  "testpmd> ")
> 
> --
> 1.8.3.1



More information about the dts mailing list