test suite reviews and discussions
 help / color / mirror / Atom feed
* [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
@ 2022-12-06 10:43 Ke Xu
  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
  0 siblings, 2 replies; 5+ messages in thread
From: Ke Xu @ 2022-12-06 10:43 UTC (permalink / raw)
  To: dts; +Cc: lijuan.tu, qi.fu, ke1.xu

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


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2022-12-13  6:13 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-12-06 10:43 [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 Ke Xu
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

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).