test suite reviews and discussions
 help / color / mirror / Atom feed
* [dts][PATCH V1] test_plans/ice_dcf_switch_filter: update test plan to support represented port action from deprecated vf action
@ 2023-04-13  2:04 Yu Jiang
  2023-04-13  2:04 ` [dts][PATCH V1] tests/ice_dcf_switch_filter: sync test_negative_case with testplan Yu Jiang
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Yu Jiang @ 2023-04-13  2:04 UTC (permalink / raw)
  To: ke1.xu, dts; +Cc: Yu Jiang

According to dpdk22.11 commit id:
    776c119736 net/ice: remove deprecated VF flow action
    c0444f6273 net/ice: support represented port flow action
update test plan to support represented port action from deprecated RTE_FLOW TO_VF action

Signed-off-by: Yu Jiang <yux.jiang@intel.com>
---
 test_plans/ice_dcf_switch_filter_test_plan.rst | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/test_plans/ice_dcf_switch_filter_test_plan.rst b/test_plans/ice_dcf_switch_filter_test_plan.rst
index 10364c38..b4d9b968 100644
--- a/test_plans/ice_dcf_switch_filter_test_plan.rst
+++ b/test_plans/ice_dcf_switch_filter_test_plan.rst
@@ -4303,7 +4303,7 @@ Subcase 1:  MAC_IPV4_UDP + L4 MASK + single vf
 ----------------------------------------------
 1. validate a rule::
 
-     testpmd> flow validate 0 priority 0 ingress pattern eth / ipv4 / udp src spec 2152 src mask 0xff00 dst spec 1281 dst mask 0x00ff / end actions vf id 1 / end
+     testpmd> flow validate 0 priority 0 ingress pattern eth / ipv4 / udp src spec 2152 src mask 0xff00 dst spec 1281 dst mask 0x00ff / end actions represented_port ethdev_port_id 1 / end
 
    get the message::
 
@@ -4317,7 +4317,7 @@ Subcase 1:  MAC_IPV4_UDP + L4 MASK + single vf
 
 2. create MAC_IPV4_L2TP_PAY rule::
 
-     testpmd> flow create 0 priority 0 ingress pattern eth / ipv4 / udp src spec 2152 src mask 0xff00 dst spec 1281 dst mask 0x00ff / end actions vf id 1 / end
+     testpmd> flow create 0 priority 0 ingress pattern eth / ipv4 / udp src spec 2152 src mask 0xff00 dst spec 1281 dst mask 0x00ff / end actions represented_port ethdev_port_id 1 / end
      testpmd> flow list 0
 
    check the rule exists in the list.
@@ -4347,7 +4347,7 @@ Subcase 2:  MAC_IPV6_TCP + L4 MASK + single vf
 ----------------------------------------------
 1. validate a rule::
 
-     testpmd> flow validate 0 priority 0 ingress pattern eth / ipv6 / tcp dst spec 3333 dst mask 0x0ff0 / end actions vf id 1 / end
+     testpmd> flow validate 0 priority 0 ingress pattern eth / ipv6 / tcp dst spec 3333 dst mask 0x0ff0 / end actions represented_port ethdev_port_id 1 / end
 
    get the message::
 
@@ -4361,7 +4361,7 @@ Subcase 2:  MAC_IPV6_TCP + L4 MASK + single vf
 
 2. create MAC_IPV4_L2TP_PAY rule::
 
-     testpmd> flow create 0 priority 0 ingress pattern eth / ipv6 / tcp dst spec 3333 dst mask 0x0ff0 / end actions vf id 1 / end
+     testpmd> flow create 0 priority 0 ingress pattern eth / ipv6 / tcp dst spec 3333 dst mask 0x0ff0 / end actions represented_port ethdev_port_id 1 / end
      testpmd> flow list 0
 
    check the rule exists in the list.
@@ -4391,7 +4391,7 @@ Subcase 3:  MAC_IPV4_UDP_VXLAN_MAC_IPV4_UDP + L4 MASK + single vf
 1. validate a rule::
 
      testpmd> rx_vxlan_port add 4789 0
-     testpmd> flow validate 0 priority 0 ingress pattern eth / ipv4 / udp / vxlan / eth / ipv4 / udp src spec 32 src mask 0x0f / end actions vf id 1 / end
+     testpmd> flow validate 0 priority 0 ingress pattern eth / ipv4 / udp / vxlan / eth / ipv4 / udp src spec 32 src mask 0x0f / end actions represented_port ethdev_port_id 1 / end
 
    get the message::
 
@@ -4405,7 +4405,7 @@ Subcase 3:  MAC_IPV4_UDP_VXLAN_MAC_IPV4_UDP + L4 MASK + single vf
 
 2. create MAC_IPV4_L2TP_PAY rule::
 
-     testpmd> flow create 0 priority 0 ingress pattern eth / ipv4 / udp / vxlan / eth / ipv4 / udp src spec 32 src mask 0x0f / end actions vf id 1 / end
+     testpmd> flow create 0 priority 0 ingress pattern eth / ipv4 / udp / vxlan / eth / ipv4 / udp src spec 32 src mask 0x0f / end actions represented_port ethdev_port_id 1 / end
      testpmd> flow list 0
 
    check the rule exists in the list.
@@ -4434,7 +4434,7 @@ Subcase 4:  MAC_IPV4_NVGRE_MAC_IPV4_UDP + L4 MASK + single vf
 -------------------------------------------------------------
 1. validate a rule::
 
-     testpmd> flow validate 0 ingress pattern eth / ipv4 dst is 192.168.0.1 / nvgre tni is 0x8 / eth / ipv4 src is 192.168.0.2 dst is 192.168.0.3 / udp src spec 1280 src mask 0x00ff / end actions vf id 1 / end
+     testpmd> flow validate 0 ingress pattern eth / ipv4 dst is 192.168.0.1 / nvgre tni is 0x8 / eth / ipv4 src is 192.168.0.2 dst is 192.168.0.3 / udp src spec 1280 src mask 0x00ff / end actions represented_port ethdev_port_id 1 / end
 
    get the message::
 
@@ -4448,7 +4448,7 @@ Subcase 4:  MAC_IPV4_NVGRE_MAC_IPV4_UDP + L4 MASK + single vf
 
 2. create MAC_IPV4_L2TP_PAY rule::
 
-     testpmd> flow create 0 ingress pattern eth / ipv4 dst is 192.168.0.1 / nvgre tni is 0x8 / eth / ipv4 src is 192.168.0.2 dst is 192.168.0.3 / udp src spec 1280 src mask 0x00ff / end actions vf id 1 / end
+     testpmd> flow create 0 ingress pattern eth / ipv4 dst is 192.168.0.1 / nvgre tni is 0x8 / eth / ipv4 src is 192.168.0.2 dst is 192.168.0.3 / udp src spec 1280 src mask 0x00ff / end actions represented_port ethdev_port_id 1 / end
      testpmd> flow list 0
 
    check the rule exists in the list.
-- 
2.25.1


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

end of thread, other threads:[~2023-04-26  2:53 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-04-13  2:04 [dts][PATCH V1] test_plans/ice_dcf_switch_filter: update test plan to support represented port action from deprecated vf action Yu Jiang
2023-04-13  2:04 ` [dts][PATCH V1] tests/ice_dcf_switch_filter: sync test_negative_case with testplan Yu Jiang
2023-04-13  4:00   ` Xu, Ke1
2023-04-23  8:53   ` lijuan.tu
2023-04-13  3:57 ` [dts][PATCH V1] test_plans/ice_dcf_switch_filter: update test plan to support represented port action from deprecated vf action Xu, Ke1
2023-04-26  2:53 ` 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).