[dts] [PATCH V1] tests/TestSuite_vxlan.py Stop the port after the csum setting
Liu, Yong
yong.liu at intel.com
Thu Mar 8 10:30:39 CET 2018
Shuai,
I think the dpdk reference commit is 597f9fafe. Has merged your patch with correct information.
Thanks,
Marvin
> -----Original Message-----
> From: dts [mailto:dts-bounces at dpdk.org] On Behalf Of zhu,shuai
> Sent: Thursday, March 08, 2018 3:22 PM
> To: dts at dpdk.org
> Cc: Zhu, ShuaiX <shuaix.zhu at intel.com>
> Subject: [dts] [PATCH V1] tests/TestSuite_vxlan.py Stop the port after the
> csum setting
>
> Need to stop port before configure CSUM offloading.
> Refer to dpdk commit:dbc1960b9e700426013b0f35708df568b8790311
>
>
> Signed-off-by: zhu,shuai <shuaix.zhu at intel.com>
> ---
> tests/TestSuite_vxlan.py | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/tests/TestSuite_vxlan.py b/tests/TestSuite_vxlan.py
> index 17a34d4..ab9f691 100644
> --- a/tests/TestSuite_vxlan.py
> +++ b/tests/TestSuite_vxlan.py
> @@ -657,11 +657,13 @@ class TestVxlan(TestCase, IxiaPacketGenerator):
> self.dut.send_expect('vlan set filter off %d' %self.dut_port,
> "testpmd")
> # enable tx checksum offload
> self.dut.send_expect("set fwd csum", "testpmd>", 10)
> + self.dut.send_expect("port stop all", "testpmd>")
> self.csum_set_type('ip', self.recv_port)
> self.csum_set_type('outer-ip', self.recv_port)
> self.csum_set_type('udp', self.recv_port)
> self.csum_set_type('tcp', self.recv_port)
> self.csum_set_type('sctp', self.recv_port)
> + self.dut.send_expect("port start all", "testpmd>")
> self.dut.send_expect("csum parse_tunnel on %d" %
> self.recv_port, "testpmd>", 10)
>
> --
> 1.9.3
More information about the dts
mailing list