From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id B08D71B6F4 for ; Thu, 8 Feb 2018 08:38:56 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga007.jf.intel.com ([10.7.209.58]) by orsmga103.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 07 Feb 2018 23:38:53 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.46,477,1511856000"; d="scan'208";a="16137249" Received: from fmsmsx107.amr.corp.intel.com ([10.18.124.205]) by orsmga007.jf.intel.com with ESMTP; 07 Feb 2018 23:38:52 -0800 Received: from shsmsx152.ccr.corp.intel.com (10.239.6.52) by fmsmsx107.amr.corp.intel.com (10.18.124.205) with Microsoft SMTP Server (TLS) id 14.3.319.2; Wed, 7 Feb 2018 23:38:51 -0800 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.253]) by SHSMSX152.ccr.corp.intel.com ([169.254.6.130]) with mapi id 14.03.0319.002; Thu, 8 Feb 2018 15:38:50 +0800 From: "Han, YingyaX" To: "Liu, Yong" , "dts@dpdk.org" Thread-Topic: [dts] [PATCH V1]tests/qinq_filter:enable hw vlan Thread-Index: AQHToKLfENNtEkfG4kCux3oOgZDLHqOaE9Kw Date: Thu, 8 Feb 2018 07:38:50 +0000 Message-ID: <9AC1400278453341942179604C2BF126D64C04@SHSMSX101.ccr.corp.intel.com> References: <1517825456-42304-1-git-send-email-yingyax.han@intel.com> <86228AFD5BCD8E4EBFD2B90117B5E81E62F9C397@SHSMSX103.ccr.corp.intel.com> In-Reply-To: <86228AFD5BCD8E4EBFD2B90117B5E81E62F9C397@SHSMSX103.ccr.corp.intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dts] [PATCH V1]tests/qinq_filter:enable hw vlan 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: Thu, 08 Feb 2018 07:38:57 -0000 I checked this case on several different platforms and DEV_RX_OFFLOAD_VLAN = must to be set. Thanks , yingya -----Original Message----- From: Liu, Yong=20 Sent: Thursday, February 8, 2018 2:06 PM To: Han, YingyaX ; dts@dpdk.org Cc: Han, YingyaX Subject: RE: [dts] [PATCH V1]tests/qinq_filter:enable hw vlan Yingya, In test_qinq_pack_type case, testpmd will enable qinq and meanwhile DEV_RX_= OFFLOAD_VLAN_EXTEND flag will be set. Can you check whether DEV_RX_OFFLOAD_VLAN is must for this case? Thanks, Marvin > -----Original Message----- > From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of han,yingya > Sent: Monday, February 05, 2018 6:11 PM > To: dts@dpdk.org > Cc: Han, YingyaX > Subject: [dts] [PATCH V1]tests/qinq_filter:enable hw vlan >=20 > need enable hw vlan parameter,because default value is off > Signed-off-by: han,yingya > --- > tests/TestSuite_qinq_filter.py | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) >=20 > diff --git a/tests/TestSuite_qinq_filter.py=20 > b/tests/TestSuite_qinq_filter.py index 3f9c1ac..d1310a5 100644 > --- a/tests/TestSuite_qinq_filter.py > +++ b/tests/TestSuite_qinq_filter.py > @@ -146,7 +146,7 @@ class TestQinqFilter(TestCase): > """ >=20 > self.dut.send_expect(r'./%s/app/testpmd -c %s -n 4 -- -i \ > - --portmask=3D%s --port-topology=3Dloop \ > + --portmask=3D%s --enable-hw-vlan --port- > topology=3Dloop \ > --rxq=3D4 --txq=3D4 --disable-rss' %=20 > (self.target, self.coreMask, self.portMask), > "testpmd> ") > self.dut.send_expect("vlan set qinq on %s" % dutRxPortId,=20 > "testpmd> ") > -- > 1.9.3