From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by dpdk.org (Postfix) with ESMTP id 639B3239 for ; Fri, 25 May 2018 10:50:26 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga104.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 25 May 2018 01:50:24 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.49,439,1520924400"; d="scan'208";a="58936742" Received: from fmsmsx108.amr.corp.intel.com ([10.18.124.206]) by orsmga001.jf.intel.com with ESMTP; 25 May 2018 01:50:24 -0700 Received: from fmsmsx111.amr.corp.intel.com (10.18.116.5) by FMSMSX108.amr.corp.intel.com (10.18.124.206) with Microsoft SMTP Server (TLS) id 14.3.319.2; Fri, 25 May 2018 01:50:23 -0700 Received: from shsmsx102.ccr.corp.intel.com (10.239.4.154) by fmsmsx111.amr.corp.intel.com (10.18.116.5) with Microsoft SMTP Server (TLS) id 14.3.319.2; Fri, 25 May 2018 01:50:07 -0700 Received: from shsmsx103.ccr.corp.intel.com ([169.254.4.210]) by shsmsx102.ccr.corp.intel.com ([169.254.2.79]) with mapi id 14.03.0319.002; Fri, 25 May 2018 16:50:05 +0800 From: "Liu, Yong" To: "Zhao, MeijuanX" , "dts@dpdk.org" CC: "Zhao, MeijuanX" Thread-Topic: [dts] [PATCH V1] tests/vf daemon : open vf filter Thread-Index: AQHT8mEKg8CVl3lHFUaIv0R/RJLfiqRAJYVg Date: Fri, 25 May 2018 08:50:05 +0000 Message-ID: <86228AFD5BCD8E4EBFD2B90117B5E81E6304B45A@SHSMSX103.ccr.corp.intel.com> References: <1527057710-24868-1-git-send-email-meijuanx.zhao@intel.com> In-Reply-To: <1527057710-24868-1-git-send-email-meijuanx.zhao@intel.com> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiZjdmNjdjNTktMjQyNS00OGI4LTk3YTUtZGU5NzFiNTVjMTM3IiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiRUc2eElhSjRlN0RseHllemttYk5RNDJpM0NoT1R4VzN5NUF1RG5FaHFyUE1hbUtCZ2IxTHZTNjZ0TVN0YnJDZyJ9 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 08:50:27 -0000 Meijuan, Since vlan filter setting is the prerequisite for vlan strip and filter, wh= y only vlan_strip case added this setting? Is it also needed for test_vlan_filter case? Thanks, Marvin > -----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 >=20 > before set rx_vlan add command, need enable vf filter, > before v18.02, vf filter default is enable >=20 > Signed-off-by: zhao,meijuan > --- > tests/TestSuite_vf_daemon.py | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) >=20 > 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') >=20 > def test_vlan_filter(self): > """ > -- > 1.9.3