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 D87A6A0543; Tue, 6 Dec 2022 11:45:08 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id D3CF74021D; Tue, 6 Dec 2022 11:45:08 +0100 (CET) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by mails.dpdk.org (Postfix) with ESMTP id 235FA40156 for ; Tue, 6 Dec 2022 11:45:07 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1670323508; x=1701859508; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=z+69p+0nWF9Y2qYsCUWekw1guPNHoJu2iCIt8clY9bo=; b=evh1RYYXb7yGFIJfw4J7SA0Zvh1gRcjeYXEipu7Rs8rDZXkn8Px4xUYs 5KxkmXpNXlSJJgNEpuylHReXU9FgPjOLXsXIj4I65mYpePyeLslbYA2Wk CnG3njYs5oj8sd1QKiIRo4IipjrFeAu5RYL3FO1KmKbzkA6ZqRPbg7gl8 LJRrEW+6lWghbqI7rOnBXA1Yy5bm1u/vjATaTbaz7YkZidY8sYR40BvdC AYPAkFxyOGplO13pHcn1d0f0DlRbMedn4RjkjgBeBq/A3BkBNHANfAXtU m3melvzI8GQr4XT/Zh/6/fWte0X6gMldEQ+CteujckXeME2iOqK9RFqg6 A==; X-IronPort-AV: E=McAfee;i="6500,9779,10552"; a="314237177" X-IronPort-AV: E=Sophos;i="5.96,222,1665471600"; d="scan'208";a="314237177" Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 Dec 2022 02:45:07 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10552"; a="734950292" X-IronPort-AV: E=Sophos;i="5.96,222,1665471600"; d="scan'208";a="734950292" Received: from dpdk-xuke-lab.sh.intel.com ([10.67.119.8]) by FMSMGA003.fm.intel.com with ESMTP; 06 Dec 2022 02:45:06 -0800 From: Ke Xu To: dts@dpdk.org Cc: lijuan.tu@intel.com, qi.fu@intel.com, ke1.xu@intel.com Subject: [DTS][PATCH V4 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: Tue, 6 Dec 2022 18:43:34 +0800 Message-Id: <20221206104336.122712-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. Case max_vfs are modified to round port count up to an int powered by 2, to ensure functioning unter special configurations. 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 | 640 +++++++++-------- 2 files changed, 655 insertions(+), 653 deletions(-) -- 2.25.1