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 8CA9758CB for ; Thu, 17 Sep 2015 10:35:14 +0200 (CEST) Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga101.fm.intel.com with ESMTP; 17 Sep 2015 01:35:13 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.17,545,1437462000"; d="scan'208";a="791549139" Received: from unknown (HELO dpdk-fedora20.icx.intel.com) ([10.238.55.12]) by fmsmga001.fm.intel.com with ESMTP; 17 Sep 2015 01:35:13 -0700 From: changru To: dts@dpdk.org Date: Thu, 17 Sep 2015 16:30:56 +0800 Message-Id: <1442478656-42619-1-git-send-email-changrux.fan@intel.com> X-Mailer: git-send-email 1.9.3 Subject: [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:35:15 -0000 If enable the CRC stripping mode. On 1G NICs, the packet received has the same length with the packet sent. Signed-off-by: changru --- tests/TestSuite_shutdown_api.py | 3 +++ 1 file changed, 3 insertions(+) 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 == pktSize, "Wrong RX bytes CRC strip: p1_rx=%d, pktSize=%d" % (p1rx_bytes, pktSize)) + elif self.nic in ["powerville", "springville", "kawela_4"]: + self.verify(p1rx_bytes == pktSize, + "Wrong RX bytes CRC strip: p1_rx=%d, pktSize=%d" % (p1rx_bytes, pktSize)) else: self.verify(p1rx_bytes == pktSize - 4, "Wrong RX bytes CRC strip: p1_rx=%d, pktSize=%d" % (p1rx_bytes, pktSize)) -- 2.1.0