From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by dpdk.org (Postfix) with ESMTP id 1D0432BDE for ; Fri, 26 Feb 2016 08:02:15 +0100 (CET) Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga104.fm.intel.com with ESMTP; 25 Feb 2016 23:02:15 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.22,498,1449561600"; d="scan'208";a="753588683" Received: from unknown (HELO dpdk-fedora20.icx.intel.com) ([10.238.55.12]) by orsmga003.jf.intel.com with ESMTP; 25 Feb 2016 23:02:13 -0800 From: Lijuan Tu To: yong.liu@intel.com, dts@dpdk.org, yulong.pei@intel.com, qian.q.xu@intel.com Date: Fri, 26 Feb 2016 14:57:40 +0800 Message-Id: <1456469860-14673-1-git-send-email-lijuanx.a.tu@intel.com> X-Mailer: git-send-email 1.9.3 Subject: [dts] [PATCH]tests vf_packet_rxtx: turn on crc-strip 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: Fri, 26 Feb 2016 07:02:16 -0000 kernel driver turn on crc-strip as default Signed-off-by: Lijuan Tu --- tests/TestSuite_vf_packet_rxtx.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/TestSuite_vf_packet_rxtx.py b/tests/TestSuite_vf_packet_rxtx.py index def7816..a632a44 100644 --- a/tests/TestSuite_vf_packet_rxtx.py +++ b/tests/TestSuite_vf_packet_rxtx.py @@ -110,6 +110,9 @@ class TestVfPacketRxtx(TestCase): port_id_0 = 0 self.vm0_testpmd = PmdOutput(self.vm_dut_0) self.vm0_testpmd.start_testpmd(VM_CORES_MASK) + self.vm0_testpmd.execute_cmd('port stop all') + self.vm0_testpmd.execute_cmd('port config all crc-strip on') + self.vm0_testpmd.execute_cmd('port start all') self.vm0_testpmd.execute_cmd('show port info all') pmd_vf0_mac = self.vm0_testpmd.get_port_mac(port_id_0) self.vm0_testpmd.execute_cmd('set fwd mac') -- 2.5.0