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 AA90BA05D3 for ; Sun, 24 Mar 2019 19:39:37 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 62ED92674; Sun, 24 Mar 2019 19:39:37 +0100 (CET) Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id E834D25D9 for ; Sun, 24 Mar 2019 19:39:34 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga008.jf.intel.com ([10.7.209.65]) by orsmga103.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 24 Mar 2019 11:39:33 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.60,256,1549958400"; d="scan'208";a="128270269" Received: from fmsmsx105.amr.corp.intel.com ([10.18.124.203]) by orsmga008.jf.intel.com with ESMTP; 24 Mar 2019 11:39:33 -0700 Received: from fmsmsx156.amr.corp.intel.com (10.18.116.74) by FMSMSX105.amr.corp.intel.com (10.18.124.203) with Microsoft SMTP Server (TLS) id 14.3.408.0; Sun, 24 Mar 2019 11:39:33 -0700 Received: from shsmsx151.ccr.corp.intel.com (10.239.6.50) by fmsmsx156.amr.corp.intel.com (10.18.116.74) with Microsoft SMTP Server (TLS) id 14.3.408.0; Sun, 24 Mar 2019 11:39:32 -0700 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.158]) by SHSMSX151.ccr.corp.intel.com ([169.254.3.26]) with mapi id 14.03.0415.000; Mon, 25 Mar 2019 02:39:30 +0800 From: "Tu, Lijuan" To: "Yao, BingX Y" , "dts@dpdk.org" CC: "Yao, BingX Y" Thread-Topic: [dts] [PATCH V1] tests/pmdrss_hash:forbidden packet Thread-Index: AQHU3Ta9nwxfjK6uckuiQi3Z4Nc456YbJxrw Date: Sun, 24 Mar 2019 18:39:29 +0000 Message-ID: <8CE3E05A3F976642AAB0F4675D0AD20E0BA45C21@SHSMSX101.ccr.corp.intel.com> References: <1552878231-39129-1-git-send-email-bingx.y.yao@intel.com> In-Reply-To: <1552878231-39129-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: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiNDU2ZmVlNDQtMDFjMi00Y2EyLTg3MmEtYTA2OWE2MDZhYzc0IiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiZTNENURWSUkwRVV6Nk9mQ1V2RFRlZk1NU0ZvOUdtWjY3dGRNOEV4dHFZRVpMSjc1TFwvYkJcL1lMenNnMFMrQ3NJIn0= 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/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" Hi bing, Fail to apply due to code base changed by your patch: [dts] [PATCH V2] test= s/pmdrss_hash:change hard code Could you please kindly to rework it? thanks > -----Original Message----- > From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of yaobing > Sent: Sunday, March 17, 2019 8:04 PM > To: dts@dpdk.org > Cc: Yao, BingX Y > Subject: [dts] [PATCH V1] tests/pmdrss_hash:forbidden packet >=20 > There will be some miscellaneous packetss appearing on the receiving port= , and > setting up command "set promisc all off" > to forbidden packets. >=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 60c9819..2daca36 100644 > --- a/tests/TestSuite_pmdrss_hash.py > +++ b/tests/TestSuite_pmdrss_hash.py > @@ -483,6 +483,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 > @@ -520,6 +521,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 > @@ -565,6 +567,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 > @@ -603,6 +606,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 > @@ -633,6 +637,7 @@ class TestPmdrssHash(TestCase): > "NIC Unsupported: " + str(self.nic)) >=20 > self.dut.send_expect("./%s/app/testpmd -c f -n 4 -- -i" % self.t= arget, > "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