From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 2E56BA00C2; Wed, 30 Nov 2022 03:40:44 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 0653540151; Wed, 30 Nov 2022 03:40:44 +0100 (CET) Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by mails.dpdk.org (Postfix) with ESMTP id 1900C4014F for ; Wed, 30 Nov 2022 03:40:42 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1669776043; x=1701312043; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=3VmqIzLMep7UqkkF4V9eild5pc37mCnqxHflmm4FtLA=; b=ZeiKAiIvfPWkOYGXdJfE5b0qhP+89rgZ5O+r4NCYQgyOQxWj87cCWGQ2 /dwop5BYnLuUluEcw+eU/inT4ZdTnCbrZimxFCW8UDamiTfPvsl1tlV3G jwuA4lzvQpKNUPHJREizDuLLZTHYPY7YkNDJl1ZqB6PsBO/aYsK9TlZTc 3ClPaNHzF6wy8I5UYrM5Pmxplm26/wokAPxHLodM6vipX0Q2T9m7IHRYX N+g7GzWvi7Gd/HWGQfOB9ZxWPbxkDt5j9zwORkCdI0g9MCuFwXfTGw6iu 63nxnB9yFtPiK/87MZW7yApWCncsCb3gnjNlDe6Vi1ifSuvaQzpaCZUbl w==; X-IronPort-AV: E=McAfee;i="6500,9779,10546"; a="294982103" X-IronPort-AV: E=Sophos;i="5.96,204,1665471600"; d="scan'208";a="294982103" Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 29 Nov 2022 18:40:41 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10546"; a="750140444" X-IronPort-AV: E=Sophos;i="5.96,204,1665471600"; d="scan'208";a="750140444" Received: from dpdk-xuke-lab.sh.intel.com ([10.67.114.198]) by fmsmga002.fm.intel.com with ESMTP; 29 Nov 2022 18:40:40 -0800 From: Ke Xu To: dts@dpdk.org Cc: lijuan.tu@intel.com, Ke Xu Subject: [DTS][PATCH V2 0/2] update test plans and tests to support represented port action and port representor action from deprecated vf action in ice_dcf_switch_filter Date: Wed, 30 Nov 2022 10:39:30 +0800 Message-Id: <20221130023932.80934-1-ke1.xu@intel.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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. New API covers deprecated TO_VF action on DCFs by port representor and represented port actions. These patches checks the existing use of vf id action and vf original action and replace them with new API. There are several major modifications to be listed below. Methods set_up_all, tear_down_all, setup_1pf_vfs_env and create_testpmd_command are modified to support 2 PFs VFs setup to support new negative subcases to introduce. Method tear_down and case max_vfs are modified to enable re-compiling Testpmd for supporting extra ports during execution introduced by applying representors. In negative cases, subcase 8: invalid vf id and the corresponding negative validate case is removed for introducing of new API is not using vf id, while new API may introduce invalid port id and that will be covered by a new subcase added in the patch to cover new API. Other than these major modifications, most modifications are text replacing. Testpmd args are modified to support appyling representors for the new API. Rules are modified for the old API being deprecated, changing to the new API. Ports id are modified corresponding to the port representors and modified API. Ke Xu (2): test_plans/ice_dcf_switch_filter: update test plan to support represented port action from deprecated vf action tests/ice_dcf_switch_filter: update test plan to support represented port action from deprecated vf action .../ice_dcf_switch_filter_test_plan.rst | 666 +++++++++--------- tests/TestSuite_ice_dcf_switch_filter.py | 635 +++++++++-------- 2 files changed, 651 insertions(+), 650 deletions(-) -- 2.25.1