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 F2627A046B for ; Wed, 26 Jun 2019 09:36:35 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id E6B2E559A; Wed, 26 Jun 2019 09:36:35 +0200 (CEST) Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by dpdk.org (Postfix) with ESMTP id 7D39A4F98 for ; Wed, 26 Jun 2019 09:36:33 +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 orsmga105.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 26 Jun 2019 00:36:32 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.63,419,1557212400"; d="scan'208";a="163851570" Received: from fmsmsx106.amr.corp.intel.com ([10.18.124.204]) by fmsmga007.fm.intel.com with ESMTP; 26 Jun 2019 00:36:32 -0700 Received: from fmsmsx118.amr.corp.intel.com (10.18.116.18) by FMSMSX106.amr.corp.intel.com (10.18.124.204) with Microsoft SMTP Server (TLS) id 14.3.439.0; Wed, 26 Jun 2019 00:36:32 -0700 Received: from shsmsx105.ccr.corp.intel.com (10.239.4.158) by fmsmsx118.amr.corp.intel.com (10.18.116.18) with Microsoft SMTP Server (TLS) id 14.3.439.0; Wed, 26 Jun 2019 00:36:31 -0700 Received: from shsmsx106.ccr.corp.intel.com ([169.254.10.89]) by SHSMSX105.ccr.corp.intel.com ([169.254.11.72]) with mapi id 14.03.0439.000; Wed, 26 Jun 2019 15:36:29 +0800 From: "Yao, BingX Y" To: "Zhu, WenhuiX" , "dts@dpdk.org" CC: "Zhu, WenhuiX" Thread-Topic: [dts] [PATCH V1] tests/userspace_ethtool:change judgment conditions Thread-Index: AQHVK/HLFKgt+06fr0GoA4CM6wdQ7qati77w Date: Wed, 26 Jun 2019 07:36:29 +0000 Message-ID: <95BCD24840F32441BEA74E0F8A31839E058EFC2D@SHSMSX106.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: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: 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" Tested-by: Yao, BingX Y -----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 condition= s The number of pkts is 4, and the judgment condition is also changed to 4. Signed-off-by: zhuwenhui --- tests/TestSuite_userspace_ethtool.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/TestSuite_userspace_ethtool.py b/tests/TestSuite_userspa= ce_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, IxiaPacketGenerato= r): 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 match = mtu not forwarded as expected") + self.verify(rx_pkts =3D=3D ori_rx_pkts + 4, "Packet match = 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) --=20 2.17.2