From patchwork Wed Nov 30 03:54:17 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ke Xu X-Patchwork-Id: 120314 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 B8E9FA00C3; Wed, 30 Nov 2022 04:55:37 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id B4EBE40A7F; Wed, 30 Nov 2022 04:55:37 +0100 (CET) Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by mails.dpdk.org (Postfix) with ESMTP id 9B88E42D0B for ; Wed, 30 Nov 2022 04:55:34 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1669780534; x=1701316534; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=BU8MkFDq3Kv+it7nK/5ci1lT+PO+5qVlVC+xIHPUiFU=; b=gOCKXkI+JoAeIzdOwwSLefE78eUP4rQ9N5sr4FS88AnnfnQN/a1O4ZlO e137quToxM+ATTwAwTB/t5pNPI3aESHrTK8gWpQ0YqSdLaH55hU7kaNZT fiTnqKwFWiTV2tjDVOotKEgUXxaVCsjroz2KqxiV1WJz87E5zbg0xWaWG ZS/6GSKCefXB5Leuj3Fro8rOlAQyCc0G2hO9iT7nWxPY5OGgvnb/bU9r2 OvNVGikeJ8U6QE+hmyPM4XwMAjhVR5h4RTcHB/B9USNq2nmS417sZE6rD iW0aKgiPt18GChwKOVMkxMgs+57HZCMQEEs8ZNV9ALWYxwaj7dQnrv+BF A==; X-IronPort-AV: E=McAfee;i="6500,9779,10546"; a="298665557" X-IronPort-AV: E=Sophos;i="5.96,205,1665471600"; d="scan'208";a="298665557" Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 29 Nov 2022 19:55:34 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10546"; a="750160065" X-IronPort-AV: E=Sophos;i="5.96,205,1665471600"; d="scan'208";a="750160065" Received: from dpdk-xuke-lab.sh.intel.com ([10.67.114.198]) by fmsmga002.fm.intel.com with ESMTP; 29 Nov 2022 19:55:33 -0800 From: Ke Xu To: dts@dpdk.org Cc: lijuan.tu@intel.com, Ke Xu Subject: [DTS][PATCH V1 2/2] tests/ice_dcf_data_path: update test plan to support port representor action from deprecated vf action Date: Wed, 30 Nov 2022 11:54:17 +0800 Message-Id: <20221130035417.98620-3-ke1.xu@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20221130035417.98620-1-ke1.xu@intel.com> References: <20221130035417.98620-1-ke1.xu@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 A new API is introduced to replace the VF actions in DPDK 22.11. To support This new API, several modifications are made. In this commit, rule is modified for the old API being deprecated, changing to the new API. Ports id are modified corresponding to the port representors and modified API. Signed-off-by: Ke Xu Acked-by: Lijuan Tu --- tests/TestSuite_ice_dcf_data_path.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/TestSuite_ice_dcf_data_path.py b/tests/TestSuite_ice_dcf_data_path.py index a31681fb..62974e4f 100644 --- a/tests/TestSuite_ice_dcf_data_path.py +++ b/tests/TestSuite_ice_dcf_data_path.py @@ -250,7 +250,7 @@ class DcfDataPathTest(TestCase): % self.wrong_mac ) rule = ( - "flow create 0 ingress pattern eth dst is %s / ipv6 dst is CDCD:910A:2222:5498:8475:1111:3900:2020 tc is 3 / tcp src is 25 dst is 23 / end actions vf original 1 / end" + "flow create 0 ingress pattern eth dst is %s / ipv6 dst is CDCD:910A:2222:5498:8475:1111:3900:2020 tc is 3 / tcp src is 25 dst is 23 / end actions port_representor port_id 0 / end" % self.wrong_mac )