From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by dpdk.space (Postfix) with ESMTP id F1B0CA0679 for ; Tue, 2 Apr 2019 22:57:24 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id A89F21B1A0; Tue, 2 Apr 2019 22:57:24 +0200 (CEST) Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id A80581B115 for ; Tue, 2 Apr 2019 22:57:22 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by fmsmga103.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 02 Apr 2019 13:57:21 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.60,302,1549958400"; d="scan'208";a="139587925" Received: from fmsmsx108.amr.corp.intel.com ([10.18.124.206]) by fmsmga007.fm.intel.com with ESMTP; 02 Apr 2019 13:57:21 -0700 Received: from fmsmsx155.amr.corp.intel.com (10.18.116.71) by FMSMSX108.amr.corp.intel.com (10.18.124.206) with Microsoft SMTP Server (TLS) id 14.3.408.0; Tue, 2 Apr 2019 13:57:21 -0700 Received: from shsmsx104.ccr.corp.intel.com (10.239.4.70) by FMSMSX155.amr.corp.intel.com (10.18.116.71) with Microsoft SMTP Server (TLS) id 14.3.408.0; Tue, 2 Apr 2019 13:57:20 -0700 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.164]) by SHSMSX104.ccr.corp.intel.com ([169.254.5.92]) with mapi id 14.03.0415.000; Wed, 3 Apr 2019 04:57:11 +0800 From: "Tu, Lijuan" To: "Yao, BingX Y" , "dts@dpdk.org" CC: "Yao, BingX Y" Thread-Topic: [dts] [PATCH V2] tests/pmdrss_hash:forbidden packet Thread-Index: AQHU4rICoy18AnUvrE6h5HLG0FPcrqYpZ9eA Date: Tue, 2 Apr 2019 20:57:09 +0000 Message-ID: <8CE3E05A3F976642AAB0F4675D0AD20E0BA5AEBC@SHSMSX101.ccr.corp.intel.com> References: <1553480941-81103-1-git-send-email-bingx.y.yao@intel.com> In-Reply-To: <1553480941-81103-1-git-send-email-bingx.y.yao@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.0.400.15 dlp-reaction: no-action x-ctpclassification: CTP_NT x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiZTQ1OGUzMTktYzhkYi00NGNjLTkwYWItMDcyZDgyZjkwZTU3IiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiMTRtc2lHRk5LbDFhdUVMOENwbjB0cUxzTXZzT3h2RXhrVDRsT1ZpSUVZOXZzUld0ME1Zc2dJc0grZnU3eU9oOSJ9 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 V2] tests/pmdrss_hash:forbidden packet 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 yaobing > Sent: Sunday, March 24, 2019 7:29 PM > To: dts@dpdk.org > Cc: Yao, BingX Y > Subject: [dts] [PATCH V2] tests/pmdrss_hash:forbidden packet >=20 > V1: > There will be some miscellaneous packetss appearing on the receiving port= , > and setting up command "set promisc all off" to forbidden packets >=20 > V2: > conflict with patch:[dts] [PATCH V2] tests/pmdrss_hash:change hard code >=20 > Signed-off-by: yaobing > --- > tests/TestSuite_pmdrss_hash.py | 5 +++++ > 1 file changed, 5 insertions(+) >=20 > diff --git a/tests/TestSuite_pmdrss_hash.py > b/tests/TestSuite_pmdrss_hash.py index dd22f91..283a545 100644 > --- a/tests/TestSuite_pmdrss_hash.py > +++ b/tests/TestSuite_pmdrss_hash.py > @@ -484,6 +484,7 @@ class TestPmdrssHash(TestCase): > for iptype, rsstype in iptypes.items(): > self.dut.send_expect("set verbose 8", "testpmd> ") > self.dut.send_expect("set fwd rxonly", "testpmd> ") > + self.dut.send_expect("set promisc all off", "testpmd> ") > self.dut.send_expect( > "set nbcore %d" % (queue + 1), "testpmd> ") >=20 > @@ -521,6 +522,7 @@ class TestPmdrssHash(TestCase): > for iptype, rsstype in iptypes.items(): > self.dut.send_expect("set verbose 8", "testpmd> ") > self.dut.send_expect("set fwd rxonly", "testpmd> ") > + self.dut.send_expect("set promisc all off", "testpmd> ") > self.dut.send_expect( > "set nbcore %d" % (queue + 1), "testpmd> ") >=20 > @@ -566,6 +568,7 @@ class TestPmdrssHash(TestCase): > self.logger.info("***********************%s rss > test********************************" % iptype) > self.dut.send_expect("set verbose 8", "testpmd> ") > self.dut.send_expect("set fwd rxonly", "testpmd> ") > + self.dut.send_expect("set promisc all off", "testpmd> ") > self.dut.send_expect( > "set nbcore %d" % (queue + 1), "testpmd> ") >=20 > @@ -604,6 +607,7 @@ class TestPmdrssHash(TestCase): > for iptype, rsstype in iptypes.items(): > self.dut.send_expect("set verbose 8", "testpmd> ") > self.dut.send_expect("set fwd rxonly", "testpmd> ") > + self.dut.send_expect("set promisc all off", "testpmd> ") > self.dut.send_expect( > "set nbcore %d" % (queue + 1), "testpmd> ") >=20 > @@ -634,6 +638,7 @@ class TestPmdrssHash(TestCase): > "NIC Unsupported: " + str(self.nic)) >=20 > self.dut.send_expect("./%s/app/testpmd -c %s -n %d -- -i" % (sel= f.target, > self.coremask, self.dut.get_memory_channels()), "testpmd> ", 120) > + self.dut.send_expect("set promisc all off", "testpmd> ") > out =3D self.dut.send_expect("create bonded device 3 0", "testpm= d> ", 30) > bond_device_id =3D int(re.search("port \d+", out).group().split(= " ")[- > 1].strip()) >=20 > -- > 2.17.2