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 76209A034C; Fri, 30 Sep 2022 07:47:37 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 7051740FAE; Fri, 30 Sep 2022 07:47:37 +0200 (CEST) Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by mails.dpdk.org (Postfix) with ESMTP id 79DE140E5A for ; Fri, 30 Sep 2022 07:47:35 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1664516855; x=1696052855; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=c4xC3hgl79xkvt1Z7AECBR0LJI3cDG/CAn63+9KVxbs=; b=Il9mM2qIY3I9RBVvDm1HlJemuMz+dolMPSx2Gfv98qghAOcLtFPdxJym k/MI0TxijyNP9sUCOgm8DVK29LyBP6q1A5q1Y9tGVe6G4LG0sspw6+ULm LEuEfglMccSYT7Z6tMnImM2DD2oanIjsKp04e1cKdt/szuidnLQGSr3jr zoMXLgHjuaNlFgtYniNTurXWhVaCCrFqsYm4XXM/X84QPfSSlHUY1OAGP R6Wx5vCSadh5QDHIu7sJ23Ekkml7oNScQdq6KpDreH9lyikzWnbSBYWEt r4mBFKAxpqAMatwDLHv46lDCNdRVWF63oeiINYhT3s9BZ1BZWQNppCQUn Q==; X-IronPort-AV: E=McAfee;i="6500,9779,10485"; a="281822330" X-IronPort-AV: E=Sophos;i="5.93,357,1654585200"; d="scan'208";a="281822330" Received: from orsmga004.jf.intel.com ([10.7.209.38]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 29 Sep 2022 22:47:34 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10485"; a="748116308" X-IronPort-AV: E=Sophos;i="5.93,357,1654585200"; d="scan'208";a="748116308" Received: from bmca4bf0170a856.sh.intel.com (HELO DPDK-XUKE-LAB.sh.intel.com) ([10.67.115.115]) by orsmga004.jf.intel.com with ESMTP; 29 Sep 2022 22:47:33 -0700 From: Ke Xu To: dts@dpdk.org Cc: qi.fu@intel.com, lijuan.tu@intel.com, Ke Xu Subject: [DTS][PATCH V1 0/4] update existing cases and add new sub-cases to validate port representor action and represented port action Date: Fri, 30 Sep 2022 05:46:43 +0000 Message-Id: <20220930054647.545932-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 commit 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 | 1060 +++++++++++++---- tests/TestSuite_ice_dcf_switch_filter.py | 662 ++++++---- 2 files changed, 1268 insertions(+), 454 deletions(-) -- 2.25.1