From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id 1DD712A61 for ; Thu, 17 Sep 2015 10:48:56 +0200 (CEST) Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga101.fm.intel.com with ESMTP; 17 Sep 2015 01:48:55 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.17,545,1437462000"; d="scan'208";a="563417527" Received: from pgsmsx106.gar.corp.intel.com ([10.221.44.98]) by FMSMGA003.fm.intel.com with ESMTP; 17 Sep 2015 01:48:53 -0700 Received: from shsmsx104.ccr.corp.intel.com (10.239.4.70) by PGSMSX106.gar.corp.intel.com (10.221.44.98) with Microsoft SMTP Server (TLS) id 14.3.224.2; Thu, 17 Sep 2015 16:48:51 +0800 Received: from shsmsx103.ccr.corp.intel.com ([169.254.4.110]) by SHSMSX104.ccr.corp.intel.com ([169.254.5.210]) with mapi id 14.03.0248.002; Thu, 17 Sep 2015 16:48:50 +0800 From: "Liu, Yong" To: "Fan, ChangruX" , "dts@dpdk.org" Thread-Topic: [dts] [PATCH] Fix reconfigure_ports failed issue Thread-Index: AQHQ8SPbB+Q9rS6cgUWv8Ack2qAGup5AaPfA Date: Thu, 17 Sep 2015 08:48:49 +0000 Message-ID: <86228AFD5BCD8E4EBFD2B90117B5E81E10EF58B4@SHSMSX103.ccr.corp.intel.com> References: <1442478656-42619-1-git-send-email-changrux.fan@intel.com> In-Reply-To: <1442478656-42619-1-git-send-email-changrux.fan@intel.com> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: 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] Fix reconfigure_ports failed issue 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, 17 Sep 2015 08:48:57 -0000 Thanks. Applied. > -----Original Message----- > From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of changru > Sent: Thursday, September 17, 2015 4:31 PM > To: dts@dpdk.org > Subject: [dts] [PATCH] Fix reconfigure_ports failed issue >=20 > If enable the CRC stripping mode. On 1G NICs, the packet received has the > same length with the packet sent. >=20 > Signed-off-by: changru > --- > tests/TestSuite_shutdown_api.py | 3 +++ > 1 file changed, 3 insertions(+) >=20 > diff --git a/tests/TestSuite_shutdown_api.py > b/tests/TestSuite_shutdown_api.py > index 92ab67f..1661eea 100644 > --- a/tests/TestSuite_shutdown_api.py > +++ b/tests/TestSuite_shutdown_api.py > @@ -152,6 +152,9 @@ class TestShutdownApi(TestCase): > "powerville", "springville", "hartwell"]= : > self.verify(p1rx_bytes - 4 =3D=3D pktSize, > "Wrong RX bytes CRC strip: p1_rx=3D%d, > pktSize=3D%d" % (p1rx_bytes, pktSize)) > + elif self.nic in ["powerville", "springville", > "kawela_4"]: > + self.verify(p1rx_bytes =3D=3D pktSize, > + "Wrong RX bytes CRC strip: p1_rx=3D%d, > pktSize=3D%d" % (p1rx_bytes, pktSize)) > else: > self.verify(p1rx_bytes =3D=3D pktSize - 4, > "Wrong RX bytes CRC strip: p1_rx=3D%d, > pktSize=3D%d" % (p1rx_bytes, pktSize)) > -- > 2.1.0