From patchwork Thu Mar 30 03:15:38 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Weiyuan Li X-Patchwork-Id: 125615 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 18ECC4286B; Thu, 30 Mar 2023 05:15:18 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 1017940E5A; Thu, 30 Mar 2023 05:15:18 +0200 (CEST) Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by mails.dpdk.org (Postfix) with ESMTP id 49B8D40685 for ; Thu, 30 Mar 2023 05:15:17 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1680146117; x=1711682117; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=YTqSzDsLFCdfN2hhK8qg/nMaF90X3fRgsRJS0h+uhZM=; b=X65TQadtXGC6Rhi2xYP+P9GEOn+DJgur5jhBXW6VG5kMRz0dDMr/GHox oOBBmkeOSXjCRp6CbYhVBm3+A0OuJTjPkNP0Gm8/fCkPqhIyGRludkinJ IPbtVAZIx0w6D6+mpEdPwlj05d89lx3ggqygT/UTQJPM4l66ZxOfTigVs MEytLvu5wA77p+g7h0wmGNW2FqwIBuuodj/He9qNUyh+da26YFeDQm9Xq MksorbK+6OCEMsY2ASTw3Si6Hvp+i0UfbhfoF3MrME9wfvwZQeS8w/aAJ Jni6AM5uvuXm5fFdWd18dVe7mXUO9dunNtiIjVJMNrArgKzT6UDI9rpgE Q==; X-IronPort-AV: E=McAfee;i="6600,9927,10664"; a="320710726" X-IronPort-AV: E=Sophos;i="5.98,301,1673942400"; d="scan'208";a="320710726" Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 29 Mar 2023 20:15:16 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10664"; a="684523054" X-IronPort-AV: E=Sophos;i="5.98,301,1673942400"; d="scan'208";a="684523054" Received: from unknown (HELO localhost.localdomain) ([10.239.252.248]) by orsmga002-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 29 Mar 2023 20:15:14 -0700 From: Weiyuan Li To: dts@dpdk.org Cc: Weiyuan Li Subject: [dts][PATCH V1] tests/i40_rss_input: update dts code for dpdk query RSS changes Date: Thu, 30 Mar 2023 11:15:38 +0800 Message-Id: <20230330031538.4050-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 According to dpdk commit f958bbe221 (app/testpmd: display RSS hash key of flow rule) modify the script adapt to this changes. Signed-off-by: Weiyuan Li Reviewed-by: Lijuan Tu --- tests/TestSuite_i40e_rss_input.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/TestSuite_i40e_rss_input.py b/tests/TestSuite_i40e_rss_input.py index 4a88af1b..716800d9 100644 --- a/tests/TestSuite_i40e_rss_input.py +++ b/tests/TestSuite_i40e_rss_input.py @@ -5743,7 +5743,7 @@ class TestI40ERssInput(TestCase): "testpmd> ", ) - rexp = r"flow query 0 (\d) rss\r\r\nRSS:\r\n queues: ([\S\s]+?)\r\n function: (\S+?)\r\n types:\r\n ([\s\S]+)" + rexp = r"flow query 0 (\d) rss\r\r\nRSS:\r\n queues: ([\S\s]+?)\r\n function: (\S+?)\r\n RSS key:\r\n [\s\S]+\r\n types:\r\n ([\s\S]+)" out0 = self.dut.send_expect("flow query 0 0 rss", "testpmd> ") m0 = re.match(rexp, out0.strip()) self.verify(