[dts] [PATCH V1] tests/generic_flow_api:fix issues by tool

Chen,Bo box.c.chen at intel.com
Sat Apr 11 13:20:49 CEST 2020


fix scapy tool issues, abort DPDK-17440

Signed-off-by: Chen,Bo <box.c.chen at intel.com>
---
 tests/TestSuite_generic_flow_api.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/TestSuite_generic_flow_api.py b/tests/TestSuite_generic_flow_api.py
index bb42bf7..1e968eb 100644
--- a/tests/TestSuite_generic_flow_api.py
+++ b/tests/TestSuite_generic_flow_api.py
@@ -580,7 +580,7 @@ class TestGeneric_flow_api(TestCase):
                 if 'vni' in flows:
                     vni = self.generate_random_int(0, MAX_VLAN)
                     flow_str += "vni is %d " % vni
-                    pkt += "/VXLAN(vni=%d)" % vni
+                    pkt += "/VXLAN(vni=%d, flags=8)" % vni
                     extrapacket['vni'] = str(vni)
                 else:
                     pkt += "/VXLAN()"
-- 
2.17.1



More information about the dts mailing list