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 95AFCA046B for ; Wed, 26 Jun 2019 10:45:39 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 5B4BC2BA5; Wed, 26 Jun 2019 10:45:39 +0200 (CEST) Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by dpdk.org (Postfix) with ESMTP id 401F8A3 for ; Wed, 26 Jun 2019 10:45:37 +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 orsmga105.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 26 Jun 2019 01:45:37 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.63,419,1557212400"; d="scan'208";a="245360471" Received: from fmsmsx106.amr.corp.intel.com ([10.18.124.204]) by orsmga001.jf.intel.com with ESMTP; 26 Jun 2019 01:45:37 -0700 Received: from fmsmsx607.amr.corp.intel.com (10.18.126.87) by FMSMSX106.amr.corp.intel.com (10.18.124.204) with Microsoft SMTP Server (TLS) id 14.3.439.0; Wed, 26 Jun 2019 01:45:37 -0700 Received: from fmsmsx607.amr.corp.intel.com (10.18.126.87) by fmsmsx607.amr.corp.intel.com (10.18.126.87) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Wed, 26 Jun 2019 01:45:36 -0700 Received: from shsmsx151.ccr.corp.intel.com (10.239.6.50) by fmsmsx607.amr.corp.intel.com (10.18.126.87) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.1.1713.5 via Frontend Transport; Wed, 26 Jun 2019 01:45:36 -0700 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.87]) by SHSMSX151.ccr.corp.intel.com ([169.254.3.246]) with mapi id 14.03.0439.000; Wed, 26 Jun 2019 16:45:35 +0800 From: "Tu, Lijuan" To: "Zhu, WenhuiX" , "dts@dpdk.org" CC: "Zhu, WenhuiX" Thread-Topic: [dts] [PATCH V1] tests/userspace_ethtool:change judgment conditions Thread-Index: AQHVK/HL0BwLCSH/dUuR8BKZ/t/yRqatnxtg Date: Wed, 26 Jun 2019 08:45:33 +0000 Message-ID: <8CE3E05A3F976642AAB0F4675D0AD20E0BAC53D9@SHSMSX101.ccr.corp.intel.com> References: <1561534788-72081-1-git-send-email-wenhuix.zhu@intel.com> In-Reply-To: <1561534788-72081-1-git-send-email-wenhuix.zhu@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.600.7 dlp-reaction: no-action x-ctpclassification: CTP_NT x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiNDAyZWJlMWEtMGUyYi00NmVlLWIyODEtMzQyZTgwMGFmMmUxIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoibTVmMkFraDNIWEVRcVc5ZkM2cjFreWRyNWJcL1J0clhVeU1RMk9jODJudGx1SlpMSHJibWltQmtzbTJSOVZUc0cifQ== 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/userspace_ethtool:change judgment conditions 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 zhuwenhui > Sent: Wednesday, June 26, 2019 3:40 PM > To: dts@dpdk.org > Cc: Zhu, WenhuiX > Subject: [dts] [PATCH V1] tests/userspace_ethtool:change judgment > conditions >=20 > The number of pkts is 4, and the judgment condition is also changed to 4. >=20 > Signed-off-by: zhuwenhui > --- > tests/TestSuite_userspace_ethtool.py | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) >=20 > diff --git a/tests/TestSuite_userspace_ethtool.py > b/tests/TestSuite_userspace_ethtool.py > index 71397f6..c774552 100644 > --- a/tests/TestSuite_userspace_ethtool.py > +++ b/tests/TestSuite_userspace_ethtool.py > @@ -567,7 +567,7 @@ class TestUserspaceEthtool(TestCase, > IxiaPacketGenerator): > pkt =3D Packet(pkt_len=3Dpkt_size) > pkt.send_pkt(tx_port=3Dintf, count=3D4) > rx_pkts, _ =3D self.strip_portstats(index) > - self.verify(rx_pkts =3D=3D ori_rx_pkts + 1, "Packet matc= h mtu not > forwarded as expected") > + self.verify(rx_pkts =3D=3D ori_rx_pkts + 4, "Packet matc= h mtu not > forwarded as expected") > pkt =3D Packet(pkt_len=3Dmtu + 1 + HEADER_SIZE['eth']) > pkt.send_pkt(tx_port=3Dintf, count=3D4) > rx_pkts_over, _ =3D self.strip_portstats(index) > -- > 2.17.2