From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by dpdk.org (Postfix) with ESMTP id E506C58D1 for ; Fri, 12 May 2017 10:17:02 +0200 (CEST) Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga105.fm.intel.com with ESMTP; 12 May 2017 01:17:00 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.38,328,1491289200"; d="scan'208";a="1129429683" Received: from unknown (HELO dpdk-fedora20.icx.intel.com) ([10.240.176.135]) by orsmga001.jf.intel.com with ESMTP; 12 May 2017 01:16:59 -0700 From: Lijuan Tu To: dts@dpdk.org Cc: Lijuan Tu Date: Fri, 12 May 2017 16:18:12 +0800 Message-Id: <1494577095-45103-6-git-send-email-lijuanx.a.tu@intel.com> X-Mailer: git-send-email 1.9.3 In-Reply-To: <1494577095-45103-1-git-send-email-lijuanx.a.tu@intel.com> References: <1494577095-45103-1-git-send-email-lijuanx.a.tu@intel.com> Subject: [dts] [PATCH V1 5/8] test/vf_rss: remove crc-strip parameter, and check RSS config 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: , X-List-Received-Date: Fri, 12 May 2017 08:17:03 -0000 Signed-off-by: Lijuan Tu --- tests/TestSuite_vf_rss.py | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/tests/TestSuite_vf_rss.py b/tests/TestSuite_vf_rss.py index a08a79d..92d9009 100644 --- a/tests/TestSuite_vf_rss.py +++ b/tests/TestSuite_vf_rss.py @@ -305,10 +305,7 @@ class TestVfRss(TestCase): self.vm_dut_0.kill_all() # test with different rss queues - if self.kdriver == "i40e": - eal_param = '--crc-strip' - else: - eal_param = '' + eal_param = '' for queue in testQueues: self.vm0_testpmd.start_testpmd( @@ -354,10 +351,7 @@ class TestVfRss(TestCase): self.vm_dut_0.kill_all() - if self.kdriver == "i40e": - eal_param = '--crc-strip' - else: - eal_param = '' + eal_param = '' # test with different rss queues for queue in testQueues: @@ -367,7 +361,8 @@ class TestVfRss(TestCase): for iptype,rsstype in iptypes.items(): self.vm_dut_0.send_expect("set verbose 8", "testpmd> ") self.vm_dut_0.send_expect("set fwd rxonly", "testpmd> ") - self.vm_dut_0.send_expect("port config all rss %s" % rsstype, "testpmd> ") + out = self.vm_dut_0.send_expect("port config all rss %s" % rsstype, "testpmd> ") + self.verify("Operation not supported" not in out, "Operation not supported") self.vm_dut_0.send_expect( "set nbcore %d" % (queue + 1), "testpmd> ") -- 1.9.3