From patchwork Fri Dec 30 06:40:14 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Weiyuan Li X-Patchwork-Id: 121471 Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 1929DA00C3; Fri, 30 Dec 2022 07:40:16 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id DFA6440DD8; Fri, 30 Dec 2022 07:40:15 +0100 (CET) Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by mails.dpdk.org (Postfix) with ESMTP id 563AB4067B for ; Fri, 30 Dec 2022 07:40:13 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1672382413; x=1703918413; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=gCLIZFNf431m5ctYVykW7gyD42a1ZQInE94sHIcsaS8=; b=F6ZVoBIQUSFjT1BHGF87wDb/jegw2kAtyZWtRdi2KOJirWMoAEa2fG2f V7JBUYSftefx7T9WcC6OwM+XTAEtlk0Ktsm9yjhY4uHdhWwlWGmgEEKXj Bl1gekvt2Rk3SS2YeB5P79weK1IE30tno4CS/Nyv8Mv1rnGkH0sQtUWMv ZN/sdktJOi5ms+NsLt3kRWSJ1SE/CVROWmwTK5wkKJVXvJM9c9S9lRxgC UJ9vGSvyF8cULLPBVI6teFJXPWeDjSMKVR2Hltpy8B3F3ALxA/Q0Npw1Y IDiOPFv7YaQ2/zUKjTwMUe+ODlX+IPxsFlMrRVI7T9N9OajnmwuBbUEhm A==; X-IronPort-AV: E=McAfee;i="6500,9779,10575"; a="407432242" X-IronPort-AV: E=Sophos;i="5.96,286,1665471600"; d="scan'208";a="407432242" Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 29 Dec 2022 22:40:12 -0800 X-IronPort-AV: E=McAfee;i="6500,9779,10575"; a="603827236" X-IronPort-AV: E=Sophos;i="5.96,286,1665471600"; d="scan'208";a="603827236" Received: from unknown (HELO localhost.localdomain) ([10.239.252.248]) by orsmga003-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 29 Dec 2022 22:40:10 -0800 From: Weiyuan Li To: dts@dpdk.org Cc: Weiyuan Li Subject: [dts][PATCH V1] tests/vf_interrupt_pmd: Optimize scripts to increase the number of packets sent Date: Fri, 30 Dec 2022 14:40:14 +0800 Message-Id: <20221230064014.12872-1-weiyuanx.li@intel.com> X-Mailer: git-send-email 2.27.0 MIME-Version: 1.0 X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.29 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 The number of packets sent is not enough. Some queues cannot receive packets, which causes verification failure. Therefore, the number of packets sent is increased. Signed-off-by: Weiyuan Li --- tests/TestSuite_vf_interrupt_pmd.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/TestSuite_vf_interrupt_pmd.py b/tests/TestSuite_vf_interrupt_pmd.py index 4fdff601..4f78aea0 100644 --- a/tests/TestSuite_vf_interrupt_pmd.py +++ b/tests/TestSuite_vf_interrupt_pmd.py @@ -345,7 +345,7 @@ class TestVfInterruptPmd(TestCase): ) self.begin_l3fwd_power_multi_queues(self.dut) stroutput = "" - for ip in range(2, 10): + for ip in range(2, 30): self.send_packet_loop(self.vf_mac, self.rx_intf_0, self.dut, ip) stroutput = stroutput + self.out2 for queue in range(self.queues): @@ -397,7 +397,7 @@ class TestVfInterruptPmd(TestCase): ) self.vm0_dut.send_expect(cmd, "Checking link statusdone", 60) stroutput = "" - for ip in range(2, 10): + for ip in range(2, 30): self.send_packet_loop(self.vf0_mac, self.rx_intf_0, self.vm0_dut, ip) stroutput = stroutput + self.out2 self.destroy_vm_env()