[DTS][PATCH V4 2/2] tests/ice_dcf_switch_filter: update test plan to support represented port action from deprecated vf action

Li, HongboX hongbox.li at intel.com
Mon Dec 12 10:47:24 CET 2022



> -----Original Message-----
> From: Ke Xu <ke1.xu at intel.com>
> Sent: 2022年12月6日 18:44
> To: dts at dpdk.org
> Cc: Tu, Lijuan <lijuan.tu at intel.com>; Fu, Qi <qi.fu at intel.com>; Xu, Ke1
> <ke1.xu at intel.com>
> Subject: [DTS][PATCH V4 2/2] tests/ice_dcf_switch_filter: update test plan to
> support represented port action from deprecated vf action
> 
> A new API is introduced to replace the VF actions in DPDK 22.11. To support
> This
>  new API, several modifications are made.
> 
> Methods set_up_all, tear_down_all, setup_1pf_vfs_env and
> create_testpmd_command
>  are modified to support 2 PF 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.
> 
> 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.
> 
> Signed-off-by: Ke Xu <ke1.xu at intel.com>
> ---
Tested-by: Hongbo Li < hongbox.li at intel.com>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ICEDCFSwitchFilterTest.log
Type: application/octet-stream
Size: 1900785 bytes
Desc: ICEDCFSwitchFilterTest.log
URL: <http://mails.dpdk.org/archives/dts/attachments/20221212/903921b7/attachment.obj>


More information about the dts mailing list