From patchwork Tue Dec 13 07:14:27 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ke Xu X-Patchwork-Id: 120794 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 7D3A6A0542; Tue, 13 Dec 2022 08:15:53 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 05C8340A84; Tue, 13 Dec 2022 08:15:53 +0100 (CET) Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by mails.dpdk.org (Postfix) with ESMTP id 482584021D for ; Tue, 13 Dec 2022 08:15:51 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1670915751; x=1702451751; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=iRmY6LfPXO7HY4bSBDKEKxebpKIp8rmO96uBljuaLHM=; b=RaZ8C6OTn4pBz0LwBSRs2VPgOtCAcL7i3PvTphthIs9Nwd9iYCybrce0 BmQ5ABtpryX+x6afs/Ko8pr6m2YdgdOqRpbRHrdqjYAwVYliWpyBI6LlM AwJ2W9e0Pzdj+Tg7CsJyqMW9sQ3JCdGOGn2mQiM+rbx/B32XGWHYmyHBD AHS6kzndLMYxj4D5MnXcjS1d3SsXYRmHzdIF9yweDzlGzgFLktMmKw8Mw ArTbPp/MzAG8ZndICp1MCvpC0DPH5FzyieBhJRwzRr3V+5Z2s7mYnKCCp 3Kvs2KnJqNEFvx7nrrXJTGyJNozYbeEYSwLph1H/KFVy97OOyPY3JbXTX w==; X-IronPort-AV: E=McAfee;i="6500,9779,10559"; a="404321490" X-IronPort-AV: E=Sophos;i="5.96,240,1665471600"; d="scan'208";a="404321490" Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 Dec 2022 23:15:50 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10559"; a="650636847" X-IronPort-AV: E=Sophos;i="5.96,240,1665471600"; d="scan'208";a="650636847" Received: from dpdk-xuke-lab.sh.intel.com ([10.67.119.8]) by fmsmga007.fm.intel.com with ESMTP; 12 Dec 2022 23:15:48 -0800 From: Ke Xu To: dts@dpdk.org Cc: ke1.xu@intel.com, lijuan.tu@intel.com, qi.fu@intel.com Subject: [DTS][PATCH V1 0/4] update existing cases and add new sub-cases to validate port representor action and represented port action Date: Tue, 13 Dec 2022 15:14:27 +0800 Message-Id: <20221213071431.158185-1-ke1.xu@intel.com> X-Mailer: git-send-email 2.25.1 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 Deprecated TO_VF action contains a 'vf original' action which is not covered in previous tests. This patch applys equivilant 'vf original' rule to previous cases for 'vf id' action to cover 'vf original' action. This patch adds the following subcases to cover the negative scenario of 'port representor' action and 'represented port' action replacing 'vf original' action and 'vf id' action. 1. Add second PF with VFs for following cases 2. Add a subcase to validate creating 'represented port' action on a representor 3. Add a subcase to validate creating 'represented port' action on a VF 4. Add a subcase to validate creating 'represented port' action to a VF 5. Add two subcases to validate creating 'represented port' action to DCFs 6. Add a subcase to validate creating 'represented port' action to a representor of another DCF 7. Add a subcase to validate creating 'port representor' action on a representor 8. Add a subcase to validate creating 'port representor' action on a VF 9. Add a subcase to validate creating 'port representor' action to a VF 10. Add a subcase to validate creating 'port representor' action to a representor 11. Add a subcase to validate creating 'port representor' action to another DCF 12. Add a subcase to validate deprecated action 13. Add a subcase to validate using an invalid port id Ke Xu (4): test_plans/ice_dcf_switch_filter: update existing TO_VF action cases to cover port representor action from not covered vf original action test_plans/ice_dcf_switch_filter: update existing negative cases to validate represented port action and port representor action tests/ice_dcf_switch_filter: update existing TO_VF action cases to cover port representor action from not covered vf original action tests/ice_dcf_switch_filter: update existing negative cases to validate represented port action and port representor action .../ice_dcf_switch_filter_test_plan.rst | 921 ++++++++++++++---- tests/TestSuite_ice_dcf_switch_filter.py | 692 ++++++++----- 2 files changed, 1209 insertions(+), 404 deletions(-)