From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by dpdk.org (Postfix) with ESMTP id 806235F19 for ; Tue, 20 Mar 2018 10:35:09 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga107.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 20 Mar 2018 02:35:08 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.48,334,1517904000"; d="scan'208";a="29558266" Received: from unknown (HELO dpdk-fedora20.icx.intel.com) ([10.240.176.135]) by fmsmga002.fm.intel.com with ESMTP; 20 Mar 2018 02:35:07 -0700 From: "han,yingya" To: dts@dpdk.org Cc: "han,yingya" Date: Tue, 20 Mar 2018 17:36:22 +0800 Message-Id: <1521538582-89607-1-git-send-email-yingyax.han@intel.com> X-Mailer: git-send-email 1.9.3 Subject: [dts] [PATCH V1]tests/qinq_filter: fix vlan case failure 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: Tue, 20 Mar 2018 09:35:09 -0000 By default vlan offload is disabled, so need enable vlan strip offload for vlan related case. Refer to dpdk commit: 8b9bd0 Signed-off-by: han,yingya --- tests/TestSuite_qinq_filter.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/TestSuite_qinq_filter.py b/tests/TestSuite_qinq_filter.py index 3f9c1ac..d266212 100644 --- a/tests/TestSuite_qinq_filter.py +++ b/tests/TestSuite_qinq_filter.py @@ -150,6 +150,7 @@ class TestQinqFilter(TestCase): --rxq=4 --txq=4 --disable-rss' % (self.target, self.coreMask, self.portMask), "testpmd> ") self.dut.send_expect("vlan set qinq on %s" % dutRxPortId, "testpmd> ") + self.dut.send_expect("vlan set strip on %s" % dutRxPortId, "testpmd> ") self.dut.send_expect("set fwd rxonly", "testpmd> ") self.dut.send_expect("set verbose 1", "testpmd> ") self.dut.send_expect("start", "testpmd> ", 120) -- 1.9.3