[DTS][PATCH V1 2/2] tests/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:17 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>
---
 tests/TestSuite_ice_dcf_data_path.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/TestSuite_ice_dcf_data_path.py b/tests/TestSuite_ice_dcf_data_path.py
index a31681fb..62974e4f 100644
--- a/tests/TestSuite_ice_dcf_data_path.py
+++ b/tests/TestSuite_ice_dcf_data_path.py
@@ -250,7 +250,7 @@ class DcfDataPathTest(TestCase):
             % self.wrong_mac
         )
         rule = (
-            "flow create 0 ingress pattern eth dst is %s / 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 %s / 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"
             % self.wrong_mac
         )
 
-- 
2.25.1



More information about the dts mailing list