From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 770B1A2EEB for ; Wed, 11 Sep 2019 05:07:54 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 425BE1EBE6; Wed, 11 Sep 2019 05:07:54 +0200 (CEST) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id A81B01EBC1 for ; Wed, 11 Sep 2019 05:07:52 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga102.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 10 Sep 2019 20:07:51 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.64,491,1559545200"; d="scan'208";a="214527942" Received: from unknown (HELO dpdk-wenjielx-KVM193.icx.intel.com) ([10.240.176.193]) by fmsmga002.fm.intel.com with ESMTP; 10 Sep 2019 20:07:51 -0700 From: Wenjie Li To: dts@dpdk.org Cc: Wenjie Li Date: Wed, 11 Sep 2019 12:00:40 +0000 Message-Id: <1568203240-53283-1-git-send-email-wenjiex.a.li@intel.com> X-Mailer: git-send-email 1.9.3 Subject: [dts] [PATCH V1] tests/shutdown_api:change crc-strip command 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: , Errors-To: dts-bounces@dpdk.org Sender: "dts" In dpdk commit e5db17a1e54e419419, "port config all crc-strip|scatter| rx-cksum|rx-timestamp|hw-vlan|hw-vlan-filter|hw-vlan-strip|hw-vlan-extend on|off" was deleted, use "port config [port_id] rx_offload keep_crc off" instead of "port config all crc-strip on". Signed-off-by: Wenjie Li --- tests/TestSuite_shutdown_api.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/TestSuite_shutdown_api.py b/tests/TestSuite_shutdown_api.py index f889e1c..32bb765 100644 --- a/tests/TestSuite_shutdown_api.py +++ b/tests/TestSuite_shutdown_api.py @@ -280,7 +280,8 @@ class TestShutdownApi(TestCase): crc_keep == RX_OFFLOAD_KEEP_CRC, "CRC keeping not enabled properly") self.dut.send_expect("port stop all", "testpmd> ", 100) - self.dut.send_expect("port config all crc-strip on", "testpmd> ") + for i in range(len(self.dut.get_ports())): + self.dut.send_expect("port config %s rx_offload keep_crc off" % i, "testpmd> ") self.dut.send_expect("set fwd mac", "testpmd>") self.dut.send_expect("port start all", "testpmd> ", 100) out = self.dut.send_expect("show config rxtx", "testpmd> ") -- 2.17.1