test suite reviews and discussions
 help / color / mirror / Atom feed
From: Ke Xu <ke1.xu@intel.com>
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	[thread overview]
Message-ID: <20221202024552.29489-1-ke1.xu@intel.com> (raw)

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


             reply	other threads:[~2022-12-02  2:47 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-12-02  2:45 Ke Xu [this message]
2022-12-02  2:45 ` [DTS][PATCH V3 1/2] test_plans/ice_dcf_switch_filter: update test plan to support represented port action from deprecated vf action Ke Xu
2022-12-02  2:45 ` [DTS][PATCH V3 2/2] tests/ice_dcf_switch_filter: " Ke Xu

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20221202024552.29489-1-ke1.xu@intel.com \
    --to=ke1.xu@intel.com \
    --cc=dts@dpdk.org \
    --cc=lijuan.tu@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).