[dts] [PATCH V2] tests/nvgre:Modify the syntax error.

zhu,shuai shuaix.zhu at intel.com
Tue Aug 13 07:21:37 CEST 2019


Modify the syntax error.

Signed-off-by: zhu,shuai <shuaix.zhu at intel.com>
---
 tests/TestSuite_nvgre.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/TestSuite_nvgre.py b/tests/TestSuite_nvgre.py
index 62aac3a..d53a521 100644
--- a/tests/TestSuite_nvgre.py
+++ b/tests/TestSuite_nvgre.py
@@ -162,7 +162,7 @@ class NvgreTestConfig(object):
         """
         Return nvgre packet type
         """
-        if (self.nic in ["cavium_a063", "cavium_a064"]):
+        if nic in ["cavium_a063", "cavium_a064"]:
             if self.outer_ip_proto !=47:
                 if self.outer_l3_type == 'IPv4':
                     return 'L3_IPV4'
-- 
2.17.2



More information about the dts mailing list