[DTS][PATCH V2 0/4] update existing cases and add new sub-cases to validate port representor action and represented port action

Xu, Ke1 ke1.xu at intel.com
Wed Dec 21 11:38:05 CET 2022


> -----Original Message-----
> From: Xu, Ke1 <ke1.xu at intel.com>
> Sent: Wednesday, December 21, 2022 6:13 PM
> To: dts at dpdk.org
> Cc: Tu, Lijuan <lijuan.tu at intel.com>; Peng, Yuan <yuan.peng at intel.com>; Fu,
> Qi <qi.fu at intel.com>; Xu, Ke1 <ke1.xu at intel.com>
> Subject: [DTS][PATCH V2 0/4] update existing cases and add new sub-cases
> to validate port representor action and represented port action
> 
> Deprecated TO_VF action contains a 'vf original' action which is not covered
> in  previous tests. This patch 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

No different modification from V1 patch. Only commit messages changed.

According to V1 patch record:
https://inbox.dpdk.org/dts/PH8PR11MB71202D1CCB1BD539F504DF849FE09@PH8PR11MB7120.namprd11.prod.outlook.com/

Tested-by: Hongbo Li < hongbox.li at intel.com>

> 
> Ke Xu (4):
>   test_plans/ice_dcf_switch_filter: update existing negative cases to
>     validate represented port action and port representor action
>   test_plans/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 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       | 921 ++++++++++++++----
>  tests/TestSuite_ice_dcf_switch_filter.py      | 692 ++++++++-----
>  2 files changed, 1209 insertions(+), 404 deletions(-)
> 
> --
> 2.25.1



More information about the dts mailing list