From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id CCBA2A0350; Wed, 6 May 2020 08:41:11 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 9303C1D6F9; Wed, 6 May 2020 08:41:11 +0200 (CEST) Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by dpdk.org (Postfix) with ESMTP id CD4221D6F8 for ; Wed, 6 May 2020 08:41:09 +0200 (CEST) IronPort-SDR: cn6fbdTEHgHRVjLjufzerM7K7wIdZfhNYn+/ipWMnAhjRMdSM5sCVn1I8QBAAEB82UyxLlFHrQ QndTfkwOR1Sg== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 05 May 2020 23:41:06 -0700 IronPort-SDR: awP9tolXvWcV6QZXdVwZWCG7X3tPhDyVy6SDc1hSbjd/o+JnzbG2ttWkQtpn5lFZ3aKnGvKgKi T9GcE4OugBgg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.73,358,1583222400"; d="scan'208";a="251115788" Received: from fmsmsx108.amr.corp.intel.com ([10.18.124.206]) by fmsmga008.fm.intel.com with ESMTP; 05 May 2020 23:41:06 -0700 Received: from fmsmsx605.amr.corp.intel.com (10.18.126.85) by FMSMSX108.amr.corp.intel.com (10.18.124.206) with Microsoft SMTP Server (TLS) id 14.3.439.0; Tue, 5 May 2020 23:41:05 -0700 Received: from fmsmsx605.amr.corp.intel.com (10.18.126.85) by fmsmsx605.amr.corp.intel.com (10.18.126.85) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Tue, 5 May 2020 23:41:05 -0700 Received: from shsmsx105.ccr.corp.intel.com (10.239.4.158) by fmsmsx605.amr.corp.intel.com (10.18.126.85) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.1.1713.5 via Frontend Transport; Tue, 5 May 2020 23:41:04 -0700 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.225]) by SHSMSX105.ccr.corp.intel.com ([169.254.11.92]) with mapi id 14.03.0439.000; Wed, 6 May 2020 14:41:03 +0800 From: "Tu, Lijuan" To: "Zeng, XiaoxiaoX" , "dts@dpdk.org" CC: "Zeng, XiaoxiaoX" Thread-Topic: [dts] [PATCH V1]tests/kernelpf_iavf: turn off vlan anti-spoof Thread-Index: AQHWI22iPy0gUUb+pEWhXzUcFZi0fKiam7zg Date: Wed, 6 May 2020 06:41:02 +0000 Message-ID: <8CE3E05A3F976642AAB0F4675D0AD20E0BC23217@SHSMSX101.ccr.corp.intel.com> References: <20200506145802.2758-1-xiaoxiaox.zeng@intel.com> In-Reply-To: <20200506145802.2758-1-xiaoxiaox.zeng@intel.com> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-version: 11.2.0.6 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/kernelpf_iavf: turn off vlan anti-spoof 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: , Errors-To: dts-bounces@dpdk.org Sender: "dts" Applied, thanks > -----Original Message----- > From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of Zeng Xiaoxiao > Sent: Wednesday, May 6, 2020 10:58 PM > To: dts@dpdk.org > Cc: Zeng, XiaoxiaoX > Subject: [dts] [PATCH V1]tests/kernelpf_iavf: turn off vlan anti-spoof >=20 > *.according to the "vlan anti-spoof" rule, spoofchk default on. >=20 > Signed-off-by: Zeng Xiaoxiao > --- > tests/TestSuite_kernelpf_iavf.py | 2 ++ > 1 file changed, 2 insertions(+) >=20 > diff --git a/tests/TestSuite_kernelpf_iavf.py > b/tests/TestSuite_kernelpf_iavf.py > index 0b96727..5653d42 100644 > --- a/tests/TestSuite_kernelpf_iavf.py > +++ b/tests/TestSuite_kernelpf_iavf.py > @@ -145,6 +145,8 @@ class TestKernelpfIavf(TestCase): > self.used_dut_port]['vfs_port'] > out =3D self.dut.send_expect('ethtool %s' % self.host_intf, '#') > self.speed =3D re.findall('Speed: (\d*)', out)[0] > + if self.nic.startswith('columbiaville'): > + self.dut.send_expect("ip link set %s vf 0 spoofchk > off" %(self.host_intf), "# ") > if self.running_case =3D=3D "test_vf_multicast": > self.dut.send_expect("ethtool --set-priv-flags %s vf-true-pr= omisc- > support on" %(self.host_intf), "# ") > if set_vf_mac is True: > -- > 2.17.1