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 C6634A034C; Wed, 21 Dec 2022 11:15:04 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id C22B240A7A; Wed, 21 Dec 2022 11:15:04 +0100 (CET) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by mails.dpdk.org (Postfix) with ESMTP id 7862A40698 for ; Wed, 21 Dec 2022 11:15:03 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1671617703; x=1703153703; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=7wUwZ+1PpBON4eZf5zZls59Jb0gDs/fw8/nVMm5RFmw=; b=JbbgXo2AblUmX+iZ/DNCkAVMcXbhC4985ON84I319K6V710a9tD+5RH8 RnU057sIRis+IU9lh80r/NDWm9kgPZ4F4nmuvIh2fcu7F5cTrY8XNFf5l /ytQexD/b3+wfsbNBENoQNh/c/6irhvU7ZQQZyypah1Qhh6nK1S9T9m2C gHGcl/p6LKcwaq1k5aLUF2ufPZjFLPL5ow/lNd0kIJ2G42dA+YpHnXoUD NyDV2H6k7BxMISdc5MJUZxzYU+C9sSHAT9+vUtU2g9rd2niCJCQMTCvMt wIdhSvoH07TDevLZd4KUeG/6FfKZNTaxd5TLXwu5nRi81tfp8dCSjNeLA Q==; X-IronPort-AV: E=McAfee;i="6500,9779,10567"; a="317473196" X-IronPort-AV: E=Sophos;i="5.96,262,1665471600"; d="scan'208";a="317473196" Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Dec 2022 02:15:02 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10567"; a="683744010" X-IronPort-AV: E=Sophos;i="5.96,262,1665471600"; d="scan'208";a="683744010" Received: from dpdk-xuke-lab.sh.intel.com ([10.67.119.8]) by orsmga001.jf.intel.com with ESMTP; 21 Dec 2022 02:15:00 -0800 From: Ke Xu To: dts@dpdk.org Cc: lijuan.tu@intel.com, yuan.peng@intel.com, qi.fu@intel.com, Ke Xu Subject: [DTS][PATCH V2 0/4] update existing cases and add new sub-cases to validate port representor action and represented port action Date: Wed, 21 Dec 2022 18:12:48 +0800 Message-Id: <20221221101252.59230-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 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 negative cases to validate represented port action and port representor action test_plans/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 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(-) -- 2.25.1