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 3525DA09FF; Thu, 24 Dec 2020 10:08:00 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 04AD4CA0A; Thu, 24 Dec 2020 10:07:59 +0100 (CET) Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id 95DA8CA08 for ; Thu, 24 Dec 2020 10:07:57 +0100 (CET) IronPort-SDR: L6MOeQ5J2o4CxoyxLJ4WQUTCygD4+W24HpcIZdbsT7AQaXUnsr6tvrSiAukRu5jcoS5e9pjGI2 nxFlRU/R83fA== X-IronPort-AV: E=McAfee;i="6000,8403,9844"; a="175352096" X-IronPort-AV: E=Sophos;i="5.78,444,1599548400"; d="scan'208";a="175352096" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 24 Dec 2020 01:07:47 -0800 IronPort-SDR: /8H0oT4VOJme2f++iCZwfACPZ48RSyewHV65l4NzxLJtqrLUAf8GU5gfu1ZBSsMwNYtVwhlU2y xjnw9tyQsbpA== X-IronPort-AV: E=Sophos;i="5.78,444,1599548400"; d="scan'208";a="374318765" Received: from unknown (HELO localhost.localdomain) ([10.240.183.80]) by orsmga008-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 24 Dec 2020 01:07:45 -0800 From: Zhou Jun To: dts@dpdk.org Cc: Zhou Jun Date: Thu, 24 Dec 2020 17:10:13 +0800 Message-Id: <20201224091013.17002-1-junx.w.zhou@intel.com> X-Mailer: git-send-email 2.17.1 Subject: [dts] [PATCH V2] tests/TestSuite_qinq_filter:case qinq_pack_type need use novector start testpmd 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" case qinq_pack_type need use novector start testpmd Signed-off-by: Zhou Jun --- tests/TestSuite_qinq_filter.py | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/tests/TestSuite_qinq_filter.py b/tests/TestSuite_qinq_filter.py index 2d4defde..e19fe0f3 100644 --- a/tests/TestSuite_qinq_filter.py +++ b/tests/TestSuite_qinq_filter.py @@ -40,6 +40,7 @@ Test the support of VLAN Offload Features by Poll Mode Drivers. from test_case import TestCase import utils import time +from pmd_output import PmdOutput class TestQinqFilter(TestCase): @@ -140,12 +141,9 @@ class TestQinqFilter(TestCase): """ Enable receipt of dual VLAN packets """ - - eal_para = self.dut.create_eal_parameters(cores='1S/2C/1T') - self.dut.send_expect(r'%s %s -- -i \ - --portmask=%s --port-topology=loop \ - --rxq=4 --txq=4 --disable-rss' % (self.path, eal_para, self.portMask), - "testpmd> ", 30) + self.logger.info('\r\n-------------------------this case only support novector mode to start testpmd!-------------------------\r\n') + pmd_out = PmdOutput(self.dut) + pmd_out.start_testpmd("1S/2C/1T", eal_param="--force-max-simd-bitwidth=64", param="--portmask=%s --port-topology=loop --rxq=4 --txq=4 --disable-rss" % self.portMask) self.dut.send_expect("vlan set extend on %s" % dutRxPortId, "testpmd> ") self.dut.send_expect("vlan set strip on %s" % dutRxPortId, "testpmd> ") self.dut.send_expect("vlan set qinq_strip on %s" % dutRxPortId, "testpmd> ") -- 2.17.1