[V1,6/6] test_plans/cvl_dcf_switch_filter remove 1 case
diff mbox series

Message ID 20201120104556.27730-7-qinx.sun@intel.com
State Accepted
Headers show
Series
  • Remove 8 duplicate cases
Related show

Commit Message

Sun, QinX Nov. 20, 2020, 10:45 a.m. UTC
Remove 1 case:

test_max_rule_number

The case has been moved to 'cvl_limit_value_test' suite

Signed-off-by: sunqin <qinx.sun@intel.com>
---
 .../cvl_dcf_switch_filter_test_plan.rst       | 57 -------------------
 1 file changed, 57 deletions(-)

Patch
diff mbox series

diff --git a/test_plans/cvl_dcf_switch_filter_test_plan.rst b/test_plans/cvl_dcf_switch_filter_test_plan.rst
index ff7c4454..55ea726f 100644
--- a/test_plans/cvl_dcf_switch_filter_test_plan.rst
+++ b/test_plans/cvl_dcf_switch_filter_test_plan.rst
@@ -4157,63 +4157,6 @@  will not hang and provide a friendly output.
    check the rules not exist in the list.
    send matched packets, check the packets are not to port 1.
 
-Test case: max rule number
-==========================
-
-Description: 32k switch filter rules can be created on a CVL card,
-and all PFs and VFs share the 32k rules. But the system will first create
-some MAC_VLAN rules in switch table, and as the number of rules increased,
-the hash conflicts in the switch filter table are increased, so we can
-create a total of 32563 switch filter rules on a DCF.
-
-1. create 32563 rules with the same pattern, but different input set::
-
-     testpmd> flow create 0 ingress pattern eth / ipv4 src is 192.168.0.0 / end actions vf id 1 / end
-     testpmd> flow create 0 ingress pattern eth / ipv4 src is 192.168.0.1 / end actions vf id 1 / end
-     ......
-     testpmd> flow create 0 ingress pattern eth / ipv4 src is 192.168.127.177 / end actions vf id 1 / end
-     testpmd> flow list 0
-
-   check the rules exist in the list.
-
-2. create one more rule::
-
-     testpmd> flow create 0 ingress pattern eth / ipv4 src is 192.168.127.178 / end actions vf id 1 / end
-
-   check the rule can not be created successfully, and
-   testpmd provide a friendly output, showing::
-
-     ice_flow_create(): Failed to create flow
-     port_flow_complain(): Caught PMD error type 2 (flow rule (handle)): switch filter create flow fail: Invalid argument
-
-3. check the rule list
-
-     testpmd> flow list 0
-
-   check the rule in step 2 not exists in the list.
-
-4. send 32563 matched packets for rule 0-32562::
-
-     sendp([Ether(dst="68:05:ca:8d:ed:a8")/IP(src="192.168.0.0")/TCP(sport=25,dport=23)/("X"*480)], iface="ens786f0", count=1)
-     sendp([Ether(dst="68:05:ca:8d:ed:a8")/IP(src="192.168.0.1")/TCP(sport=25,dport=23)/("X"*480)], iface="ens786f0", count=1)
-     ......
-     sendp([Ether(dst="68:05:ca:8d:ed:a8")/IP(src="192.168.127.177")/TCP(sport=25,dport=23)/("X"*480)], iface="ens786f0", count=1)
-
-   check port 1 receive the 32563 packets.
-   send 1 mismatched packet::
-
-     sendp([Ether(dst="68:05:ca:8d:ed:a8")/IP(src="192.167.0.1")/TCP(sport=25,dport=23)/("X"*480)], iface="ens786f0", count=1)
-
-   check the packet are not to port 1.
-
-5. verify rules can be destroyed::
-
-     testpmd> flow flush 0
-     testpmd> flow list 0
-
-   check the rules not exist in the list.
-   send 32563 matched packets, check the packets are not to port 1.
-
 Test case: negative cases
 =========================