From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by dpdk.org (Postfix) with ESMTP id 3B2184C74 for ; Thu, 8 Mar 2018 10:30:43 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by orsmga105.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 08 Mar 2018 01:30:42 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.47,440,1515484800"; d="scan'208";a="22871458" Received: from fmsmsx107.amr.corp.intel.com ([10.18.124.205]) by fmsmga008.fm.intel.com with ESMTP; 08 Mar 2018 01:30:42 -0800 Received: from shsmsx102.ccr.corp.intel.com (10.239.4.154) by fmsmsx107.amr.corp.intel.com (10.18.124.205) with Microsoft SMTP Server (TLS) id 14.3.319.2; Thu, 8 Mar 2018 01:30:42 -0800 Received: from shsmsx103.ccr.corp.intel.com ([169.254.4.116]) by shsmsx102.ccr.corp.intel.com ([169.254.2.124]) with mapi id 14.03.0319.002; Thu, 8 Mar 2018 17:30:40 +0800 From: "Liu, Yong" To: "Zhu, ShuaiX" , "dts@dpdk.org" CC: "Zhu, ShuaiX" Thread-Topic: [dts] [PATCH V1] tests/TestSuite_vxlan.py Stop the port after the csum setting Thread-Index: AQHTtq34VjLUKEroDEKg9BY5Ybz6iqPGEqgA Date: Thu, 8 Mar 2018 09:30:39 +0000 Message-ID: <86228AFD5BCD8E4EBFD2B90117B5E81E62FAB711@SHSMSX103.ccr.corp.intel.com> References: <1520493706-77254-1-git-send-email-shuaix.zhu@intel.com> In-Reply-To: <1520493706-77254-1-git-send-email-shuaix.zhu@intel.com> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiYzIwNzFhN2QtNjMxNi00OGQ2LWJiZjItMjFmMzU0ODQ3Y2FiIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjIuNS4xOCIsIlRydXN0ZWRMYWJlbEhhc2giOiJETHdDODN4NkJkUjNoQmZqSjJuY29rVG5BMlhzaWNma01nTGtOaDZUQzlqYXR3Y2VlalFJc1Y3V1Y1akVFREYwIn0= x-ctpclassification: CTP_NT x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dts] [PATCH V1] tests/TestSuite_vxlan.py Stop the port after the csum setting X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: test suite reviews and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Mar 2018 09:30:44 -0000 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@dpdk.org] On Behalf Of zhu,shuai > Sent: Thursday, March 08, 2018 3:22 PM > To: dts@dpdk.org > Cc: Zhu, ShuaiX > Subject: [dts] [PATCH V1] tests/TestSuite_vxlan.py Stop the port after th= e > csum setting >=20 > Need to stop port before configure CSUM offloading. > Refer to dpdk commit:dbc1960b9e700426013b0f35708df568b8790311 >=20 >=20 > Signed-off-by: zhu,shuai > --- > tests/TestSuite_vxlan.py | 2 ++ > 1 file changed, 2 insertions(+) >=20 > 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) >=20 > -- > 1.9.3