From patchwork Thu Jun 23 06:53:36 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lingli Chen X-Patchwork-Id: 113318 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 58EADA00C3; Thu, 23 Jun 2022 09:29:24 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 5430242802; Thu, 23 Jun 2022 09:29:24 +0200 (CEST) Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by mails.dpdk.org (Postfix) with ESMTP id 6AC354067B for ; Thu, 23 Jun 2022 09:29:22 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1655969362; x=1687505362; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=h8PCseHa/buxMgkkR5xV1TaqUt2byifUSI/Vpb4HNgg=; b=Sn4mXEBAvQ2XMjHGBrlX5NdRgbrQEJ8rZ5tB5HHBf9I9fIfOIpXf4ECD EyQ6DkzB5pdTpIY87NWlrrkSyFvtS+mNsQI5UDUL+a5mxTYMBp5wc3NiU olREq1Zc0CirhCwckHbOp2yw03BkLuLAceQWSvRR8iMF5mdiACYuSWfz8 iDBxkqbubh1BF0HHuIUdSRXt3dghsfSAFYN/6OQx28CUcIvgldAo5uBJ/ ksbhvd5fZYqYx1iUu1cCyQl03Re13wES1eKnylgSKDiUumau/bwiBsy9T 4BqhAOiJwuYpvvt9jjE/YMXtRpwjXIrj/pAnTCLB85gyULuuVr3kU2d/q Q==; X-IronPort-AV: E=McAfee;i="6400,9594,10386"; a="280697723" X-IronPort-AV: E=Sophos;i="5.92,215,1650956400"; d="scan'208";a="280697723" Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Jun 2022 00:29:21 -0700 X-IronPort-AV: E=Sophos;i="5.92,215,1650956400"; d="scan'208";a="592582616" Received: from unknown (HELO localhost.localdomain) ([10.239.252.99]) by fmsmga007-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Jun 2022 00:29:19 -0700 From: Lingli Chen To: dts@dpdk.org Cc: zhiminx.huang@intel.com, Lingli Chen Subject: [dts][PATCH V1 4/4] tests/queue_start_stop: modify script according to dpdk code change Date: Thu, 23 Jun 2022 02:53:36 -0400 Message-Id: <20220623065336.21482-5-linglix.chen@intel.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20220623065336.21482-1-linglix.chen@intel.com> References: <20220623065336.21482-1-linglix.chen@intel.com> 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 According to dpdk commit 3c4426db54fc(app/testpmd: do not poll stopped queues) after set “port 0 txq 0 stop”, no print in testpmd Signed-off-by: Lingli Chen --- tests/TestSuite_queue_start_stop.py | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/tests/TestSuite_queue_start_stop.py b/tests/TestSuite_queue_start_stop.py index 1df59a1b..f5028e8b 100644 --- a/tests/TestSuite_queue_start_stop.py +++ b/tests/TestSuite_queue_start_stop.py @@ -134,21 +134,9 @@ class TestQueueStartStop(TestCase): self.dut.send_expect("port 0 txq 0 stop", "testpmd>") self.dut.send_expect("start", "testpmd>") self.check_forwarding([0, 0], self.nic, received=False) - out = self.dut.get_session_output() except Exception as e: raise IOError("queue start/stop forward failure: %s" % e) - if self.nic == "cavium_a063": - self.verify( - "ports 0 queue 0 receive 4 packages" in out, - "start queue revice package failed, out = %s" % out, - ) - else: - self.verify( - "ports 0 queue 0 receive 1 packages\r\n" * 4 in out, - "start queue revice package failed, out = %s" % out, - ) - try: # start tx queue test print("test start rx and tx queue")