test suite reviews and discussions
 help / color / mirror / Atom feed
* [DTS][PATCH V1 0/2] update test plans and tests to support represented port action and port representor action from deprecated vf action in ice_dcf_data_path
@ 2022-11-30  3:54 Ke Xu
  2022-11-30  3:54 ` [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
  2022-11-30  3:54 ` [DTS][PATCH V1 2/2] tests/ice_dcf_data_path: " Ke Xu
  0 siblings, 2 replies; 4+ messages in thread
From: Ke Xu @ 2022-11-30  3:54 UTC (permalink / raw)
  To: dts; +Cc: lijuan.tu, Ke Xu

A new API is introduced to replace the VF actions in DPDK 22.11.

New API covers deprecated TO_VF action on DCFs by port representor and
 represented port actions. These patches checks the existing use of vf id
 action and vf original action and replace them with new API.

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.

Ke Xu (2):
  test_plans/ice_dcf_data_path: update test plan to support port
    representor action from deprecated vf action
  tests/ice_dcf_data_path: update test plan to support port representor
    action from deprecated vf action

 test_plans/ice_dcf_data_path_test_plan.rst | 2 +-
 tests/TestSuite_ice_dcf_data_path.py       | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

-- 
2.25.1


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [DTS][PATCH V1 1/2] test_plans/ice_dcf_data_path: update test plan to support port representor action from deprecated vf action
  2022-11-30  3:54 [DTS][PATCH V1 0/2] update test plans and tests to support represented port action and port representor action from deprecated vf action in ice_dcf_data_path Ke Xu
@ 2022-11-30  3:54 ` Ke Xu
  2022-11-30  3:54 ` [DTS][PATCH V1 2/2] tests/ice_dcf_data_path: " Ke Xu
  1 sibling, 0 replies; 4+ messages in thread
From: Ke Xu @ 2022-11-30  3:54 UTC (permalink / raw)
  To: dts; +Cc: lijuan.tu, Ke Xu

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>
---
 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


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [DTS][PATCH V1 2/2] tests/ice_dcf_data_path: update test plan to support port representor action from deprecated vf action
  2022-11-30  3:54 [DTS][PATCH V1 0/2] update test plans and tests to support represented port action and port representor action from deprecated vf action in ice_dcf_data_path Ke Xu
  2022-11-30  3:54 ` [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
@ 2022-11-30  3:54 ` Ke Xu
  2022-12-13  6:08   ` lijuan.tu
  1 sibling, 1 reply; 4+ messages in thread
From: Ke Xu @ 2022-11-30  3:54 UTC (permalink / raw)
  To: dts; +Cc: lijuan.tu, Ke Xu

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(-)

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [DTS][PATCH V1 2/2] tests/ice_dcf_data_path: update test plan to support port representor action from deprecated vf action
  2022-11-30  3:54 ` [DTS][PATCH V1 2/2] tests/ice_dcf_data_path: " Ke Xu
@ 2022-12-13  6:08   ` lijuan.tu
  0 siblings, 0 replies; 4+ messages in thread
From: lijuan.tu @ 2022-12-13  6:08 UTC (permalink / raw)
  To: dts, Ke Xu; +Cc: lijuan.tu, Ke Xu

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-12-13  6:08 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-11-30  3:54 [DTS][PATCH V1 0/2] update test plans and tests to support represented port action and port representor action from deprecated vf action in ice_dcf_data_path Ke Xu
2022-11-30  3:54 ` [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
2022-11-30  3:54 ` [DTS][PATCH V1 2/2] tests/ice_dcf_data_path: " Ke Xu
2022-12-13  6:08   ` lijuan.tu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).