mbox series

[V2,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

Message ID 20221130023932.80934-1-ke1.xu@intel.com (mailing list archive)
Headers
Series update test plans and tests to support represented port action and port representor action from deprecated vf action in ice_dcf_switch_filter |

Message

Ke Xu Nov. 30, 2022, 2:39 a.m. UTC
  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       | 666 +++++++++---------
 tests/TestSuite_ice_dcf_switch_filter.py      | 635 +++++++++--------
 2 files changed, 651 insertions(+), 650 deletions(-)