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 62A02A0540; Fri, 2 Dec 2022 03:47:21 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 36C8040689; Fri, 2 Dec 2022 03:47:21 +0100 (CET) Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by mails.dpdk.org (Postfix) with ESMTP id 07ECF40687 for ; Fri, 2 Dec 2022 03:47:19 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1669949240; x=1701485240; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=1SgU3aTyY6PxrG6L/4k/Z/JCwrqRkuRmJyVRM2wR/1I=; b=UN3bbjoq4AssJkS/mZg3k1ceMfoqvAueir1UovDN0ekqMTdtn1qYrpc8 9/wBMKAJxXVC9NeC8XKPFxSAvpHssWVBiZr4wW+SK0JNziwzG1K3EYOVs 55kOXsMFCHsl+UOtJja6pFz42BVScReh0XpjXMC+AQ3D3mHTIcpktnFby 9IlTRIzgj9lI1AapOuBxrBVo3bYluZVOaehdqpaa8f5bUZ0DetoRuLzoI rHaYAnkL0Ha0k7pwIucwYKdf8M2Xo0HGZAHtefw+7KkmoE4D+3stJ1G8C alR82im+1+g5hijFC5YRdeJFzTyf54HPZMu6g80emShNOy4boMqG9pKIG A==; X-IronPort-AV: E=McAfee;i="6500,9779,10548"; a="315881343" X-IronPort-AV: E=Sophos;i="5.96,210,1665471600"; d="scan'208";a="315881343" Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 01 Dec 2022 18:47:18 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10548"; a="647000925" X-IronPort-AV: E=Sophos;i="5.96,210,1665471600"; d="scan'208";a="647000925" Received: from unknown (HELO DPDK-XUKE-LAB.sh.intel.com) ([10.67.119.8]) by fmsmga007.fm.intel.com with ESMTP; 01 Dec 2022 18:47:17 -0800 From: Ke Xu To: dts@dpdk.org Cc: lijuan.tu@intel.com, ke1.xu@intel.com Subject: [DTS][PATCH V3 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: Fri, 2 Dec 2022 10:45:50 +0800 Message-Id: <20221202024552.29489-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 | 668 +++++++++--------- tests/TestSuite_ice_dcf_switch_filter.py | 637 +++++++++-------- 2 files changed, 653 insertions(+), 652 deletions(-) -- 2.25.1