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 5D980A00E6 for ; Wed, 7 Aug 2019 08:33:30 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 4E183375B; Wed, 7 Aug 2019 08:33:30 +0200 (CEST) Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id E3AF42C16 for ; Wed, 7 Aug 2019 08:33:28 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by orsmga102.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 06 Aug 2019 23:33:27 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.64,356,1559545200"; d="scan'208";a="198556020" Received: from fmsmsx107.amr.corp.intel.com ([10.18.124.205]) by fmsmga004.fm.intel.com with ESMTP; 06 Aug 2019 23:33:27 -0700 Received: from fmsmsx605.amr.corp.intel.com (10.18.126.85) by fmsmsx107.amr.corp.intel.com (10.18.124.205) with Microsoft SMTP Server (TLS) id 14.3.439.0; Tue, 6 Aug 2019 23:33:27 -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, 6 Aug 2019 23:33:27 -0700 Received: from shsmsx108.ccr.corp.intel.com (10.239.4.97) 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, 6 Aug 2019 23:33:27 -0700 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.80]) by SHSMSX108.ccr.corp.intel.com ([169.254.8.163]) with mapi id 14.03.0439.000; Wed, 7 Aug 2019 14:33:25 +0800 From: "Tu, Lijuan" To: Yash Sharma , "dts@dpdk.org" CC: "shshaikh@marvell.com" , "psurana@marvell.com" , "srane@marvell.com" Thread-Topic: [PATCH 1/1] tests/TestSuite_vlan.py Set promisc off fastlinq adapters. Thread-Index: AQHVPIyb4RXttKinH0OiaJLEsQvmhKbvWuUQ Date: Wed, 7 Aug 2019 06:33:24 +0000 Message-ID: <8CE3E05A3F976642AAB0F4675D0AD20E0BAFEEB8@SHSMSX101.ccr.corp.intel.com> References: <20190717104401.29176-1-ysharma@marvell.com> In-Reply-To: <20190717104401.29176-1-ysharma@marvell.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-ctpclassification: CTP_NT x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiMjljNzA2YjktNGVmOC00NzEwLTg2NDktNzhjOTg3ZDgxNzA4IiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiQVZiVVptRjVZOUlIcGx6SGhWQit1c09qVHBaOGhmU3BkYWlPdUxXQUZTSFZvVk9nNWxiQ2l2YnZwMHF3dGt2bSJ9 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 1/1] tests/TestSuite_vlan.py Set promisc off fastlinq adapters. 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: Yash Sharma [mailto:ysharma@marvell.com] > Sent: Wednesday, July 17, 2019 6:44 PM > To: dts@dpdk.org; Tu, Lijuan > Cc: shshaikh@marvell.com; psurana@marvell.com; srane@marvell.com; yash > > Subject: [PATCH 1/1] tests/TestSuite_vlan.py Set promisc off fastlinq > adapters. >=20 > From: yash >=20 > Adding support for fastlinq adapters in Testsuite to set promisc off befo= re > starting the TestCase for Vlan Disable Test, Otherwise it accepts packets > resulting in failure of Test. >=20 > Signed-off-by: yash > --- > tests/TestSuite_vlan.py | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) >=20 > diff --git a/tests/TestSuite_vlan.py b/tests/TestSuite_vlan.py index > c7b4b62..86e7eb5 100644 > --- a/tests/TestSuite_vlan.py > +++ b/tests/TestSuite_vlan.py > @@ -75,7 +75,7 @@ class TestVlan(TestCase): > self.dut.send_expect("set verbose 1", "testpmd> ") > out =3D self.dut.send_expect("set fwd mac", "testpmd> ") >=20 > - if self.nic in ["fortville_eagle", "fortville_spirit", "fortvill= e_spirit_single", > "fortpark_TLV", "fortville_25g", "hi1822"]: > + if self.nic in ["fortville_eagle", "fortville_spirit", "fortvill= e_spirit_single", > "fortpark_TLV", "fortville_25g", "hi1822", "fastlinq_ql41000", > "fastlinq_ql45000"]: > self.dut.send_expect("vlan set filter on %s" % dutRxPortId, = "testpmd> > ") > self.dut.send_expect("set promisc all off", "testpmd> ") >=20 > -- > 1.8.3.1