> -----Original Message----- > From: Ke Xu > Sent: 2022年12月6日 18:44 > To: dts@dpdk.org > Cc: Tu, Lijuan ; Fu, Qi ; Xu, Ke1 > > 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 > --- Tested-by: Hongbo Li < hongbox.li@intel.com>