From: Ke Xu <ke1.xu@intel.com>
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 [thread overview]
Message-ID: <20221206104336.122712-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.
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
next reply other threads:[~2022-12-06 10:45 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-12-06 10:43 Ke Xu [this message]
2022-12-06 10:43 ` [DTS][PATCH V4 1/2] test_plans/ice_dcf_switch_filter: update test plan to support represented port action from deprecated vf action Ke Xu
2022-12-06 10:43 ` [DTS][PATCH V4 2/2] tests/ice_dcf_switch_filter: " Ke Xu
2022-12-12 9:47 ` Li, HongboX
2022-12-13 6:13 ` lijuan.tu
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=20221206104336.122712-1-ke1.xu@intel.com \
--to=ke1.xu@intel.com \
--cc=dts@dpdk.org \
--cc=lijuan.tu@intel.com \
--cc=qi.fu@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).