From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id 8F4062C8 for ; Fri, 25 May 2018 11:07:40 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by orsmga102.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 25 May 2018 02:07:39 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.49,439,1520924400"; d="scan'208";a="231729991" Received: from fmsmsx105.amr.corp.intel.com ([10.18.124.203]) by fmsmga006.fm.intel.com with ESMTP; 25 May 2018 02:07:39 -0700 Received: from fmsmsx115.amr.corp.intel.com (10.18.116.19) by FMSMSX105.amr.corp.intel.com (10.18.124.203) with Microsoft SMTP Server (TLS) id 14.3.319.2; Fri, 25 May 2018 02:07:39 -0700 Received: from shsmsx104.ccr.corp.intel.com (10.239.4.70) by fmsmsx115.amr.corp.intel.com (10.18.116.19) with Microsoft SMTP Server (TLS) id 14.3.319.2; Fri, 25 May 2018 02:07:38 -0700 Received: from shsmsx103.ccr.corp.intel.com ([169.254.4.210]) by SHSMSX104.ccr.corp.intel.com ([169.254.5.240]) with mapi id 14.03.0319.002; Fri, 25 May 2018 17:07:37 +0800 From: "Liu, Yong" To: "Zhao, MeijuanX" , "dts@dpdk.org" Thread-Topic: [dts] [PATCH V1] tests/vf daemon : open vf filter Thread-Index: AQHT8mEKg8CVl3lHFUaIv0R/RJLfiqRAJYVg//97dQCAAIfeEA== Date: Fri, 25 May 2018 09:07:36 +0000 Message-ID: <86228AFD5BCD8E4EBFD2B90117B5E81E6304B4E1@SHSMSX103.ccr.corp.intel.com> References: <1527057710-24868-1-git-send-email-meijuanx.zhao@intel.com> <86228AFD5BCD8E4EBFD2B90117B5E81E6304B45A@SHSMSX103.ccr.corp.intel.com> <9866F1E5CE768A45B24F6603C6EF54DE01354482@shsmsx102.ccr.corp.intel.com> In-Reply-To: <9866F1E5CE768A45B24F6603C6EF54DE01354482@shsmsx102.ccr.corp.intel.com> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiNzg2ODFkOTUtNjUyNS00NmE5LWEwZGQtM2ZjMWI3NTA4ZmFhIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiY1BkQnJTN1wvRXh1OXVtN0Y0b1ZcL1ZzSzB4MkFqRDNGNWp6blZYamhZTDhKVlwvd1VnNllNZEFpWlFwalZxeUJLaiJ9 x-ctpclassification: CTP_NT dlp-product: dlpe-windows dlp-version: 11.0.200.100 dlp-reaction: no-action 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 daemon : open vf filter 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, 25 May 2018 09:07:41 -0000 Sorry, I missed that. Patch also applied in. Thanks, Marvin > -----Original Message----- > From: Zhao, MeijuanX > Sent: Friday, May 25, 2018 4:54 PM > To: Liu, Yong ; dts@dpdk.org > Cc: Zhao, MeijuanX > Subject: RE: [dts] [PATCH V1] tests/vf daemon : open vf filter >=20 > test_vlan_filter script has vlan filter set >=20 > -----Original Message----- > From: Liu, Yong > Sent: Friday, May 25, 2018 4:50 PM > To: Zhao, MeijuanX ; dts@dpdk.org > Cc: Zhao, MeijuanX > Subject: RE: [dts] [PATCH V1] tests/vf daemon : open vf filter >=20 > Meijuan, > Since vlan filter setting is the prerequisite for vlan strip and filter, > why only vlan_strip case added this setting? > Is it also needed for test_vlan_filter case? >=20 > Thanks, > Marvin >=20 > > -----Original Message----- > > From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of zhao,meijuan > > Sent: Wednesday, May 23, 2018 2:42 PM > > To: dts@dpdk.org > > Cc: Zhao, MeijuanX > > Subject: [dts] [PATCH V1] tests/vf daemon : open vf filter > > > > before set rx_vlan add command, need enable vf filter, before v18.02, > > vf filter default is enable > > > > Signed-off-by: zhao,meijuan > > --- > > tests/TestSuite_vf_daemon.py | 3 ++- > > 1 file changed, 2 insertions(+), 1 deletion(-) > > > > diff --git a/tests/TestSuite_vf_daemon.py > > b/tests/TestSuite_vf_daemon.py index b1ad522..fddfb98 100644 > > --- a/tests/TestSuite_vf_daemon.py > > +++ b/tests/TestSuite_vf_daemon.py > > @@ -622,6 +622,7 @@ class Testvf_daemon(TestCase): > > self.vm0_testpmd.execute_cmd('set verbose 1') > > self.vm0_testpmd.execute_cmd('start') > > for rx_vlan in rx_vlans: > > + self.vm0_testpmd.execute_cmd('vlan set filter on 0') > > self.vm0_testpmd.execute_cmd('rx_vlan add %s 0' % rx_vlan) > > self.dut_testpmd.execute_cmd('set vf vlan stripq 0 0 off') > > time.sleep(3) > > @@ -632,7 +633,7 @@ class Testvf_daemon(TestCase): > > time.sleep(3) > > out =3D self.send_and_vlanstrip(self.vf0_mac,rx_vlan) > > self.verify(rx_vlan not in out, "Failed to disable strip > > vlan!!!") > > - > > + self.vm0_testpmd.execute_cmd('vlan set filter off 0') > > > > def test_vlan_filter(self): > > """ > > -- > > 1.9.3