[dts] [PATCH V1] tests/generic_flow_api:fix issues by tool
Tu, Lijuan
lijuan.tu at intel.com
Mon Apr 20 06:45:18 CEST 2020
Applied, thanks
> -----Original Message-----
> From: dts [mailto:dts-bounces at dpdk.org] On Behalf Of Chen,Bo
> Sent: Saturday, April 11, 2020 7:21 PM
> To: dts at dpdk.org
> Cc: Chen, BoX C <box.c.chen at intel.com>; Chen at dpdk.org
> Subject: [dts] [PATCH V1] tests/generic_flow_api:fix issues by tool
>
> 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