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 26A23532C for ; Fri, 2 Feb 2018 04:09:38 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga107.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 01 Feb 2018 19:09:38 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.46,445,1511856000"; d="scan'208";a="24106397" Received: from fmsmsx106.amr.corp.intel.com ([10.18.124.204]) by orsmga003.jf.intel.com with ESMTP; 01 Feb 2018 19:09:37 -0800 Received: from fmsmsx152.amr.corp.intel.com (10.18.125.5) by FMSMSX106.amr.corp.intel.com (10.18.124.204) with Microsoft SMTP Server (TLS) id 14.3.319.2; Thu, 1 Feb 2018 19:09:37 -0800 Received: from shsmsx151.ccr.corp.intel.com (10.239.6.50) by FMSMSX152.amr.corp.intel.com (10.18.125.5) with Microsoft SMTP Server (TLS) id 14.3.319.2; Thu, 1 Feb 2018 19:09:37 -0800 Received: from shsmsx102.ccr.corp.intel.com ([169.254.2.124]) by SHSMSX151.ccr.corp.intel.com ([169.254.3.116]) with mapi id 14.03.0319.002; Fri, 2 Feb 2018 11:09:35 +0800 From: "Zhao, MeijuanX" To: "Liu, Yong" , "dts@dpdk.org" Thread-Topic: [dts] [PATCH V1] tests/vf_offload : enable hw vlan Thread-Index: AQHTm9IKLWtjgNZkLkiDRrelxK+7KqOQbi1Q Date: Fri, 2 Feb 2018 03:09:34 +0000 Message-ID: <9866F1E5CE768A45B24F6603C6EF54DE012EA4E3@shsmsx102.ccr.corp.intel.com> References: <1517539635-38714-1-git-send-email-meijuanx.zhao@intel.com> <86228AFD5BCD8E4EBFD2B90117B5E81E62F7FBBD@SHSMSX103.ccr.corp.intel.com> In-Reply-To: <86228AFD5BCD8E4EBFD2B90117B5E81E62F7FBBD@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/vf_offload : 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: Fri, 02 Feb 2018 03:09:40 -0000 on the basis of yao lei's email yesterday : 1.=09 In previous, testpmd will enable DEV_RX_OFFLOAD_VLAN_FILTER and DEV_RX_OFF= LOAD_VLAN_STRIP by default. Now, they are default off. We need declare them in the testpmd parameter b= y adding: --enable-hw-vlan-filter --enable-hw-vlan-strip =20 2. Following four testpmd parameter are dropped now because the vlan rx off= load are default off.=20 --disable-hw-vlan --disable-hw-vlan-filter --disable-hw-vlan-strip --disable-hw-vlan-extend Instead, four new parameter are added. --enable-hw-vlan --enable-hw-vlan-filter --enable-hw-vlan-strip --enable-hw-vlan-extend -----Original Message----- From: Liu, Yong=20 Sent: Friday, February 2, 2018 11:01 AM To: Zhao, MeijuanX ; dts@dpdk.org Cc: Zhao, MeijuanX Subject: RE: [dts] [PATCH V1] tests/vf_offload : enable hw vlan Meijuan, Why change the default setting for RX VLAN offloading? Previous setting is = disable and why you enabled it? Thanks, Marvin > -----Original Message----- > From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of zhao,meijuan > Sent: Friday, February 02, 2018 10:47 AM > To: dts@dpdk.org > Cc: Zhao, MeijuanX > Subject: [dts] [PATCH V1] tests/vf_offload : enable hw vlan >=20 > need enable hw vlan when setup testpmd, you can refer to dpdk commit=20 > 8b9bd0ef >=20 > Signed-off-by: zhao,meijuan > --- > tests/TestSuite_vf_offload.py | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) >=20 > diff --git a/tests/TestSuite_vf_offload.py=20 > b/tests/TestSuite_vf_offload.py index c1983ca..dbae6f9 100644 > --- a/tests/TestSuite_vf_offload.py > +++ b/tests/TestSuite_vf_offload.py > @@ -208,7 +208,7 @@ class TestVfOffload(TestCase): > verify forwarded packets have correct checksum > """ > self.vm0_testpmd.start_testpmd(VM_CORES_MASK, "--portmask=3D%s "= % > - (self.portMask) + "--disable-hw- > vlan --enable-rx-cksum " + "" + > + (self.portMask) +=20 > + "--enable-hw-vlan > --enable-rx-cksum " + "" + > "--port-topology=3Dloop") > self.vm0_testpmd.execute_cmd('set fwd csum') >=20 > @@ -258,7 +258,7 @@ class TestVfOffload(TestCase): > """ >=20 > self.vm0_testpmd.start_testpmd(VM_CORES_MASK, "--portmask=3D%s "= % > - (self.portMask) + "--disable-hw- > vlan --enable-rx-cksum " + > + (self.portMask) +=20 > + "--enable-hw-vlan > --enable-rx-cksum " + > "--port-topology=3Dloop") > self.vm0_testpmd.execute_cmd('set fwd csum') >=20 > -- > 1.9.3