[V1,2/2] tests/ice_dcf_data_path: update test plan to support port representor action from deprecated vf action

Message ID 20221130035417.98620-3-ke1.xu@intel.com (mailing list archive)
State Accepted
Headers
Series update test plans and tests to support represented port action and port representor action from deprecated vf action in ice_dcf_data_path |

Checks

Context Check Description
ci/Intel-dts-format-test success Testing OK
ci/Intel-dts-pylama-test success Testing OK
ci/Intel-dts-doc-test success Testing OK
ci/Intel-dts-suite-test warning SKIPPED

Commit Message

Ke Xu Nov. 30, 2022, 3:54 a.m. UTC
  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@intel.com>
---
 tests/TestSuite_ice_dcf_data_path.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
  

Comments

Tu, Lijuan Dec. 13, 2022, 6:08 a.m. UTC | #1
On Wed, 30 Nov 2022 11:54:17 +0800, Ke Xu <ke1.xu@intel.com> wrote:
> 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@intel.com>

Acked-by: Lijuan Tu <lijuan.tu@intel.com>
Series applied, thanks
  

Patch

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
         )