[DTS][PATCH V1 1/2] test_plans/ice_dcf_data_path: update test plan to support port representor action from deprecated vf action

Ke Xu ke1.xu at intel.com
Wed Nov 30 04:54:16 CET 2022


A new API is introduced to replace the VF actions in DPDK 22.11. To support This
 new API, several modifications are made.

In this commit, rule is 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>
---
 test_plans/ice_dcf_data_path_test_plan.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test_plans/ice_dcf_data_path_test_plan.rst b/test_plans/ice_dcf_data_path_test_plan.rst
index bc413d69..71c9793b 100644
--- a/test_plans/ice_dcf_data_path_test_plan.rst
+++ b/test_plans/ice_dcf_data_path_test_plan.rst
@@ -207,7 +207,7 @@ Send a packet, check the DCF can't recieve the packet (Dest mac address is not D
 
 Create a rule to DCF ::
 
-    flow create 0 ingress pattern eth dst is 68:05:ca:8d:ed:a8 / ipv6 dst is CDCD:910A:2222:5498:8475:1111:3900:2020 tc is 3 / tcp src is 25 dst is 23 / end actions vf original 1 / end
+    flow create 0 ingress pattern eth dst is 68:05:ca:8d:ed:a8 / ipv6 dst is CDCD:910A:2222:5498:8475:1111:3900:2020 tc is 3 / tcp src is 25 dst is 23 / end actions port_representor port_id 0 / end
 
 Send the packet again, check DCF can recieve the packet ::
 
-- 
2.25.1



More information about the dts mailing list