From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 462B1A04AA; Tue, 8 Sep 2020 05:51:38 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 392311C1A2; Tue, 8 Sep 2020 05:51:38 +0200 (CEST) Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id B3FC31C134 for ; Tue, 8 Sep 2020 05:51:36 +0200 (CEST) IronPort-SDR: u3dnAh31DNCpbFXrIE5cm7eP9dvRnon9aHysghfDhcYMw+1f0kZeCBmGv7LgUwMTEb5AnFu7qh Z/MSMf2j8imQ== X-IronPort-AV: E=McAfee;i="6000,8403,9737"; a="158088242" X-IronPort-AV: E=Sophos;i="5.76,404,1592895600"; d="scan'208";a="158088242" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 07 Sep 2020 20:51:36 -0700 IronPort-SDR: DjI8rBBDNCi4Dh+IdL7LpcjgZ2uhVRq8OjW3kDd8OuPPQwRdCfr0c7hAV39taKMNevnXc7/7Np kp+l1amJrCqw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.76,404,1592895600"; d="scan'208";a="407003018" Received: from unknown (HELO localhost.localdomain) ([10.240.183.52]) by fmsmga001.fm.intel.com with ESMTP; 07 Sep 2020 20:51:35 -0700 From: Xiao Qimai To: dts@dpdk.org Cc: Xiao Qimai Date: Tue, 8 Sep 2020 03:26:44 +0000 Message-Id: <20200908032645.11852-7-qimaix.xiao@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200908032645.11852-1-qimaix.xiao@intel.com> References: <20200908032645.11852-1-qimaix.xiao@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dts] [PATCH V1 6/7]tests/TestSuite_vf_packet_rxtx: update argument for stop_send_pkt_bg method 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" Signed-off-by: Xiao Qimai --- tests/TestSuite_vf_packet_rxtx.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/TestSuite_vf_packet_rxtx.py b/tests/TestSuite_vf_packet_rxtx.py index a5963054..e8cdb112 100644 --- a/tests/TestSuite_vf_packet_rxtx.py +++ b/tests/TestSuite_vf_packet_rxtx.py @@ -287,7 +287,7 @@ class TestVfPacketRxtx(TestCase): dst_mac = pmd0_vf0_mac self.vm0_testpmd.execute_cmd('clear port stats all') pkt = Packet("Ether(dst='%s', src='%s')/IP(len=46)" % (dst_mac, self.tester.get_mac(tx_port))) - filename = pkt.send_pkt_bg(crb=self.tester, tx_port=self.tester.get_interface(tx_port), loop=1) + session_bg = pkt.send_pkt_bg(crb=self.tester, tx_port=self.tester.get_interface(tx_port), loop=1) #vf port stop/start can trigger reset action for num in range(1000): @@ -296,7 +296,7 @@ class TestVfPacketRxtx(TestCase): self.vm1_testpmd.execute_cmd('port start all') time.sleep(0.1) - pkt.stop_send_pkt_bg(self.tester, filename) + pkt.stop_send_pkt_bg(session_bg) pmd0_vf0_stats = self.vm0_testpmd.get_pmd_stats(port_id_0) pmd0_vf1_stats = self.vm0_testpmd.get_pmd_stats(port_id_1) -- 2.25.1