[dts] [PATCH V2 08/17]tests/TestSuite_ipgre: add carlsville to support nic of ipgre

Lin, Xueqin xueqin.lin at intel.com
Mon Aug 19 11:41:24 CEST 2019


Strange for the change, you can try below.

+            self.verify(self.nic.startswith("fortville") or self.nic.startswith("carlsville "), "GRE tunnel packet type only support by Fortville and carlsville")

Best regards,
Xueqin


> -----Original Message-----
> From: dts [mailto:dts-bounces at dpdk.org] On Behalf Of qifu
> Sent: Tuesday, August 20, 2019 1:58 AM
> To: dts at dpdk.org
> Cc: Fu, Qi <qi.fu at intel.com>
> Subject: [dts] [PATCH V2 08/17]tests/TestSuite_ipgre: add carlsville to
> support nic of ipgre
> 
> Add carlsville to support nic of ipgre.
> Signed-off-by: qifu <qi.fu at intel.com>
> ---
>  tests/TestSuite_ipgre.py | 5 +++--
>  1 file changed, 3 insertions(+), 2 deletions(-)
> 
> diff --git a/tests/TestSuite_ipgre.py b/tests/TestSuite_ipgre.py index
> 6f465fa..2a66928 100644
> --- a/tests/TestSuite_ipgre.py
> +++ b/tests/TestSuite_ipgre.py
> @@ -63,8 +63,9 @@ class TestIpgre(TestCase):
>          """
>          self.printFlag = self._enable_debug
>          ports = self.dut.get_ports()
> -        self.verify(self.nic.startswith("fortville"),
> -                    "GRE tunnel packet type only support by Fortville")
> +        if self.nic != "carlsville":
> +            self.verify(self.nic.startswith("fortville"),
> +                        "GRE tunnel packet type only support by
> + Fortville and carlsville")
>          self.verify(len(ports) >= 1, "Insufficient ports for testing")
>          valports = [_ for _ in ports if self.tester.get_local_port(_) != -1]
>          # start testpmd
> --
> 2.17.1



More information about the dts mailing list