From patchwork Fri Aug 20 19:47:39 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Huang, ZhiminX" X-Patchwork-Id: 97153 Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 34CEDA0C4B; Fri, 20 Aug 2021 13:15:48 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 2C26D4125A; Fri, 20 Aug 2021 13:15:48 +0200 (CEST) Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by mails.dpdk.org (Postfix) with ESMTP id 7F7804003E for ; Fri, 20 Aug 2021 13:15:46 +0200 (CEST) X-IronPort-AV: E=McAfee;i="6200,9189,10081"; a="238883121" X-IronPort-AV: E=Sophos;i="5.84,337,1620716400"; d="scan'208";a="238883121" Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Aug 2021 04:15:45 -0700 X-IronPort-AV: E=Sophos;i="5.84,337,1620716400"; d="scan'208";a="523571846" Received: from unknown (HELO localhost.localdomain) ([10.240.183.103]) by fmsmga003-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Aug 2021 04:15:44 -0700 From: Zhimin Huang To: dts@dpdk.org Cc: Zhimin Huang Date: Sat, 21 Aug 2021 03:47:39 +0800 Message-Id: <20210820194742.28666-4-zhiminx.huang@intel.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20210820194742.28666-1-zhiminx.huang@intel.com> References: <20210820194742.28666-1-zhiminx.huang@intel.com> Subject: [dts] [PATCH V1 3/6] test_plans/cvl_switch_filter_test_plan:remove test steps X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: test suite reviews and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dts-bounces@dpdk.org Sender: "dts" according to b83d270dff3852f1df0ea9bea5a8740378db0c7c, default rss not support tunnel inner rss, these function will cover by new case,so remove test step in test plan Signed-off-by: Zhimin Huang --- test_plans/cvl_switch_filter_test_plan.rst | 651 +-------------------- 1 file changed, 14 insertions(+), 637 deletions(-) diff --git a/test_plans/cvl_switch_filter_test_plan.rst b/test_plans/cvl_switch_filter_test_plan.rst index b8f7e147..992aa6c8 100644 --- a/test_plans/cvl_switch_filter_test_plan.rst +++ b/test_plans/cvl_switch_filter_test_plan.rst @@ -261,41 +261,6 @@ to queue action check the rule not exists in the list. send matched packets, check the packets are not to queue 3. -to queue group action -..................... - -1. validate a rule:: - - testpmd> flow validate 0 ingress pattern eth / ipv4 dst is 192.168.0.1 / udp / vxlan vni is 2 / eth / ipv4 src is 192.168.0.2 dst is 192.168.0.3 / end actions rss queues 2 3 end / end - - get the message:: - - Flow rule validated - - check the flow list:: - - testpmd> flow list 0 - - check the rule not exists in the list. - -2. create a rule:: - - testpmd> flow create 0 ingress pattern eth / ipv4 dst is 192.168.0.1 / udp / vxlan vni is 2 / eth / ipv4 src is 192.168.0.2 dst is 192.168.0.3 / end actions rss queues 2 3 end / end - testpmd> flow list 0 - - check the rule exists in the list. - -3. send matched packets, check the packets are to queue 2 or 3. - send mismatched packets, check the packets are not to queue 2 and 3. - -4. verify rules can be destroyed:: - - testpmd> flow destroy 0 rule 15360 - testpmd> flow list 0 - - check the rule not exists in the list. - send matched packets, check the packets are not to queue 2 and 3. - drop action ........... @@ -538,48 +503,6 @@ to queue action check the rule not exists in the list. send matched packets, check the packets are not to queue 5. -to queue group action -...................... - -1. validate a rule:: - - testpmd> flow validate 0 ingress pattern eth / ipv4 dst is 192.168.0.1 / udp / vxlan vni is 2 / eth / ipv4 src is 192.168.0.2 dst is 192.168.0.3 / tcp src is 50 dst is 23 / end actions rss queues 4 5 end / end - - get the message:: - - Flow rule validated - - check the flow list:: - - testpmd> flow list 0 - - check the rule not exists in the list. - -2. create a rule:: - - testpmd> flow create 0 ingress pattern eth / ipv4 dst is 192.168.0.1 / udp / vxlan vni is 2 / eth / ipv4 src is 192.168.0.2 dst is 192.168.0.3 / tcp src is 50 dst is 23 / end actions rss queues 4 5 end / end - - get the message:: - - Succeeded to create (2) flow - - check the flow list:: - - testpmd> flow list 0 - - check the rule exists in the list. - -3. send matched packets, check the packets are to queue 4 or 5. - send mismatched packets, check the packets are not to queue 4 and 5. - -4. verify rules can be destroyed:: - - testpmd> flow destroy 0 rule 15360 - testpmd> flow list 0 - - check the rule not exists in the list. - send matched packets, check the packets are not to queue 4 and 5. - drop action ........... @@ -685,48 +608,6 @@ to queue action check the rule not exists in the list. send matched packets, check the packets are not to queue 2. -to queue group action -...................... - -1. validate a rule:: - - testpmd> flow validate 0 ingress pattern eth / ipv4 dst is 192.168.0.1 / udp / vxlan vni is 2 / eth dst is 68:05:ca:8d:ed:a8 / ipv4 src is 192.168.0.2 dst is 192.168.0.3 / end actions rss queues 2 3 end / end - - get the message:: - - Flow rule validated - - check the flow list:: - - testpmd> flow list 0 - - check the rule not exists in the list. - -2. create a rule:: - - testpmd> flow create 0 ingress pattern eth / ipv4 dst is 192.168.0.1 / udp / vxlan vni is 2 / eth dst is 68:05:ca:8d:ed:a8 / ipv4 src is 192.168.0.2 dst is 192.168.0.3 / end actions rss queues 2 3 end / end - - get the message:: - - Succeeded to create (2) flow - - check the flow list:: - - testpmd> flow list 0 - - check the rule exists in the list. - -3. send matched packets, check the packets are to queue 2 or 3. - send mismatched packets, check the packets are not to queue 2 and 3. - -4. verify rules can be destroyed:: - - testpmd> flow destroy 0 rule 15360 - testpmd> flow list 0 - - check the rule not exists in the list. - send matched packets, check the packets are not to queue 2 and 3. - drop action ........... @@ -971,48 +852,6 @@ to queue action check the rule not exists in the list. send matched packets, check the packets are not to queue 1. -to queue group action -...................... - -1. validate a rule:: - - testpmd> flow validate 0 ingress pattern eth / ipv4 dst is 192.168.0.1 / udp / vxlan vni is 2 / eth dst is 68:05:ca:8d:ed:a8 / ipv4 src is 192.168.0.2 dst is 192.168.0.3 / tcp src is 25 dst is 23 / end actions rss queues 1 2 end / end - - get the message:: - - Flow rule validated - - check the flow list:: - - testpmd> flow list 0 - - check the rule not exists in the list. - -2. create a rule:: - - testpmd> flow create 0 ingress pattern eth / ipv4 dst is 192.168.0.1 / udp / vxlan vni is 2 / eth dst is 68:05:ca:8d:ed:a8 / ipv4 src is 192.168.0.2 dst is 192.168.0.3 / tcp src is 25 dst is 23 / end actions rss queues 1 2 end / end - - get the message:: - - Succeeded to create (2) flow - - check the flow list:: - - testpmd> flow list 0 - - check the rule exists in the list. - -3. send matched packets, check the packets are to queue 1 or 2. - send mismatched packets, check the packets are not to queue 1 and 2. - -4. verify rules can be destroyed:: - - testpmd> flow destroy 0 rule 15360 - testpmd> flow list 0 - - check the rule not exists in the list. - send matched packets, check the packets are not to queue 1 and 2. - drop action ........... @@ -1113,48 +952,6 @@ to queue action check the rule not exists in the list. send matched packets, check the packets are not to queue 2. -to queue group action -...................... - -1. validate a rule:: - - testpmd> flow validate 0 priority 0 ingress pattern eth / ipv4 / udp / vxlan / eth / ipv4 src is 192.168.0.2 dst is 192.168.0.3 tos is 4 / end actions rss queues 2 3 end / end - - get the message:: - - Flow rule validated - - check the flow list:: - - testpmd> flow list 0 - - check the rule not exists in the list. - -2. create a rule:: - - testpmd> flow create 0 priority 0 ingress pattern eth / ipv4 / udp / vxlan / eth / ipv4 src is 192.168.0.2 dst is 192.168.0.3 tos is 4 / end actions rss queues 2 3 end / end - - get the message:: - - Succeeded to create (2) flow - - check the flow list:: - - testpmd> flow list 0 - - check the rule exists in the list. - -3. send matched packets, check the packets are to queue 2 or 3. - send mismatched packets, check the packets are not to queue 2 and 3. - -4. verify rules can be destroyed:: - - testpmd> flow destroy 0 rule 0 - testpmd> flow list 0 - - check the rule not exists in the list. - send matched packets, check the packets are not to queue 2 and 3. - drop action ........... @@ -1261,48 +1058,6 @@ to queue action check the rules not exist in the list. send matched packets, check the packets are not to queue 2. -to queue group action -...................... - -1. validate a rule:: - - testpmd> flow validate 0 priority 0 ingress pattern eth / ipv4 / udp / vxlan / eth / ipv4 src is 192.168.0.2 dst is 192.168.0.3 tos is 4 proto is 0x06 / end actions rss queues 2 3 end / end - - get the message:: - - Flow rule validated - - check the flow list:: - - testpmd> flow list 0 - - check the rule not exists in the list. - -2. create a rule:: - - testpmd> flow create 0 priority 0 ingress pattern eth / ipv4 / udp / vxlan / eth / ipv4 src is 192.168.0.2 dst is 192.168.0.3 tos is 4 proto is 0x06 / end actions rss queues 2 3 end / end - - get the message:: - - Succeeded to create (2) flow - - check the flow list:: - - testpmd> flow list 0 - - check the rules exist in the list. - -3. send matched packets, check the packets are to queue 2 or 3. - send mismatched packets, check the packets are not to queue 2 and 3. - -4. verify rules can be destroyed:: - - testpmd> flow destroy 0 rule 0 - testpmd> flow list 0 - - check the rules not exist in the list. - send matched packets, check the packets are not to queue 2 and 3. - drop action ............ @@ -1688,12 +1443,12 @@ to queue action check the rule not exists in the list. send matched packets, check the packets are not to queue 3. -to queue group action -...................... +drop action +........... 1. validate a rule:: - testpmd> flow validate 0 priority 0 ingress pattern eth / ipv4 / udp / vxlan / eth / ipv4 src is 192.168.0.2 dst is 192.168.0.3 tos is 4 / tcp src is 50 dst is 23 / end actions rss queues 4 5 end / end + testpmd> flow validate 0 priority 0 ingress pattern eth / ipv4 / udp / vxlan / eth / ipv4 src is 192.168.0.2 dst is 192.168.0.3 tos is 4 / tcp src is 50 dst is 23 / end actions drop / end get the message:: @@ -1707,7 +1462,7 @@ to queue group action 2. create a rule:: - testpmd> flow create 0 priority 0 ingress pattern eth / ipv4 / udp / vxlan / eth / ipv4 src is 192.168.0.2 dst is 192.168.0.3 tos is 4 / tcp src is 50 dst is 23 / end actions rss queues 4 5 end / end + testpmd> flow create 0 priority 0 ingress pattern eth / ipv4 / udp / vxlan / eth / ipv4 src is 192.168.0.2 dst is 192.168.0.3 tos is 4 / tcp src is 50 dst is 23 / end actions drop / end get the message:: @@ -1719,8 +1474,8 @@ to queue group action check the rule exists in the list. -3. send matched packets, check the packets are to queue 4 or 5. - send mismatched packets, check the packets are not to queue 4 and 5. +3. send matched packets, check the packets are dropped. + send mismatched packets, check the packets are not dropped. 4. verify rules can be destroyed:: @@ -1728,60 +1483,18 @@ to queue group action testpmd> flow list 0 check the rule not exists in the list. - send matched packets, check the packets are not to queue queue 4 and 5. + send matched packets, check the packets are not dropped. -drop action -........... +Test case: NVGRE non-pipeline mode +================================== -1. validate a rule:: +MAC_IPV4_NVGRE_IPV4 +------------------- - testpmd> flow validate 0 priority 0 ingress pattern eth / ipv4 / udp / vxlan / eth / ipv4 src is 192.168.0.2 dst is 192.168.0.3 tos is 4 / tcp src is 50 dst is 23 / end actions drop / end +matched packets:: - get the message:: - - Flow rule validated - - check the flow list:: - - testpmd> flow list 0 - - check the rule not exists in the list. - -2. create a rule:: - - testpmd> flow create 0 priority 0 ingress pattern eth / ipv4 / udp / vxlan / eth / ipv4 src is 192.168.0.2 dst is 192.168.0.3 tos is 4 / tcp src is 50 dst is 23 / end actions drop / end - - get the message:: - - Succeeded to create (2) flow - - check the flow list:: - - testpmd> flow list 0 - - check the rule exists in the list. - -3. send matched packets, check the packets are dropped. - send mismatched packets, check the packets are not dropped. - -4. verify rules can be destroyed:: - - testpmd> flow destroy 0 rule 0 - testpmd> flow list 0 - - check the rule not exists in the list. - send matched packets, check the packets are not dropped. - -Test case: NVGRE non-pipeline mode -================================== - -MAC_IPV4_NVGRE_IPV4 -------------------- - -matched packets:: - - sendp([Ether()/IP(dst="192.168.0.1")/NVGRE(TNI=2)/Ether()/IP(src="192.168.1.2", dst="192.168.1.3")/Raw("x"*80)],iface="enp27s0f2",count=1) - sendp([Ether()/IP(dst="192.168.0.1")/NVGRE(TNI=2)/Ether()/IP(src="192.168.1.2", dst="192.168.1.3" ,frag=5)/Raw("x"*80)],iface="enp27s0f2",count=1) + sendp([Ether()/IP(dst="192.168.0.1")/NVGRE(TNI=2)/Ether()/IP(src="192.168.1.2", dst="192.168.1.3")/Raw("x"*80)],iface="enp27s0f2",count=1) + sendp([Ether()/IP(dst="192.168.0.1")/NVGRE(TNI=2)/Ether()/IP(src="192.168.1.2", dst="192.168.1.3" ,frag=5)/Raw("x"*80)],iface="enp27s0f2",count=1) mismatched packets:: @@ -1836,48 +1549,6 @@ to queue action check the rule not exists in the list. send matched packets, check the packets are not to queue 3. -to queue group action -...................... - -1. validate a rule:: - - testpmd> flow validate 0 ingress pattern eth / ipv4 dst is 192.168.0.1 / nvgre tni is 2 / eth / ipv4 src is 192.168.1.2 dst is 192.168.1.3 / end actions rss queues 2 3 end / end - - get the message:: - - Flow rule validated - - check the flow list:: - - testpmd> flow list 0 - - check the rule not exists in the list. - -2. create a rule:: - - testpmd> flow create 0 ingress pattern eth / ipv4 dst is 192.168.0.1 / nvgre tni is 2 / eth / ipv4 src is 192.168.1.2 dst is 192.168.1.3 / end actions rss queues 2 3 end / end - - get the message:: - - Succeeded to create (2) flow - - check the flow list:: - - testpmd> flow list 0 - - check the rule exists in the list. - -3. send matched packets, check the packets are to queue 2 or 3. - send mismatched packets, check the packets are not to queue 2 and 3. - -4. verify rules can be destroyed:: - - testpmd> flow destroy 0 rule 15360 - testpmd> flow list 0 - - check the rule not exists in the list. - send matched packets, check the packets are not to queue 2 and 3. - drop action ........... @@ -2120,48 +1791,6 @@ to queue action check the rule not exists in the list. send matched packets, check the packets are not to queue 1. -to queue group action -...................... - -1. validate a rule:: - - testpmd> flow validate 0 ingress pattern eth / ipv4 dst is 192.168.0.1 / nvgre tni is 2 / eth / ipv4 src is 192.168.1.2 dst is 192.168.1.3 / tcp src is 25 dst is 23 / end actions rss queues 1 2 end / end - - get the message:: - - Flow rule validated - - check the flow list:: - - testpmd> flow list 0 - - check the rule not exists in the list. - -2. create a rule:: - - testpmd> flow create 0 ingress pattern eth / ipv4 dst is 192.168.0.1 / nvgre tni is 2 / eth / ipv4 src is 192.168.1.2 dst is 192.168.1.3 / tcp src is 25 dst is 23 / end actions rss queues 1 2 end / end - - get the message:: - - Succeeded to create (2) flow - - check the flow list:: - - testpmd> flow list 0 - - check the rule exists in the list. - -3. send matched packets, check the packets are to queue 1 or 2 - send mismatched packets, check the packets are not to queue 1 and 2. - -4. verify rules can be destroyed:: - - testpmd> flow destroy 0 rule 15360 - testpmd> flow list 0 - - check the rule not exists in the list. - send matched packets, check the packets are not to queue 1 and 2. - drop action ............ @@ -2267,48 +1896,6 @@ to queue action check the rule not exists in the list. send matched packets, check the packets are not to queue 3. -to queue group action -...................... - -1. validate a rule:: - - testpmd> flow validate 0 ingress pattern eth / ipv4 dst is 192.168.0.1 / nvgre tni is 2 / eth dst is 68:05:ca:8d:ed:a8 / ipv4 src is 192.168.1.2 dst is 192.168.1.3 / end actions rss queues 2 3 end / end - - get the message:: - - Flow rule validated - - check the flow list:: - - testpmd> flow list 0 - - check the rule not exists in the list. - -2. create a rule:: - - testpmd> flow create 0 ingress pattern eth / ipv4 dst is 192.168.0.1 / nvgre tni is 2 / eth dst is 68:05:ca:8d:ed:a8 / ipv4 src is 192.168.1.2 dst is 192.168.1.3 / end actions rss queues 2 3 end / end - - get the message:: - - Succeeded to create (2) flow - - check the flow list:: - - testpmd> flow list 0 - - check the rule exists in the list. - -3. send matched packets, check the packets are to queue 2 or 3. - send mismatched packets, check the packets are not to queue 2 and 3. - -4. verify rules can be destroyed:: - - testpmd> flow destroy 0 rule 15360 - testpmd> flow list 0 - - check the rule not exists in the list. - send matched packets, check the packets are not to queue 2 and 3. - drop action ............ @@ -2553,48 +2140,6 @@ to queue action check the rule not exists in the list. send matched packets, check the packets are not to queue 3. -to queue group action -...................... - -1. validate a rule:: - - testpmd> flow validate 0 ingress pattern eth / ipv4 dst is 192.168.0.1 / nvgre tni is 2 / eth dst is 68:05:ca:8d:ed:a8 / ipv4 src is 192.168.1.2 dst is 192.168.1.3 / tcp src is 25 dst is 23 / end actions rss queues 2 3 end / end - - get the message:: - - Flow rule validated - - check the flow list:: - - testpmd> flow list 0 - - check the rule not exists in the list. - -2. create a rule:: - - testpmd> flow create 0 ingress pattern eth / ipv4 dst is 192.168.0.1 / nvgre tni is 2 / eth dst is 68:05:ca:8d:ed:a8 / ipv4 src is 192.168.1.2 dst is 192.168.1.3 / tcp src is 25 dst is 23 / end actions rss queues 2 3 end / end - - get the message:: - - Succeeded to create (2) flow - - check the flow list:: - - testpmd> flow list 0 - - check the rule exists in the list. - -3. send matched packets, check the packets are to queue 2 or 3. - send mismatched packets, check the packets are not to queue 2 and 3. - -4. verify rules can be destroyed:: - - testpmd> flow destroy 0 rule 15360 - testpmd> flow list 0 - - check the rule not exists in the list. - send matched packets, check the packets are not to queue 2 and 3. - drop action ............ @@ -2695,48 +2240,6 @@ to queue action check the rule not exists in the list. send matched packets, check the packets are not to queue 3. -to queue group action -...................... - -1. validate a rule:: - - testpmd> flow validate 0 priority 0 ingress pattern eth / ipv4 / nvgre / eth / ipv4 src is 192.168.0.2 dst is 192.168.0.3 tos is 4 / end actions rss queues 2 3 end / end - - get the message:: - - Flow rule validated - - check the flow list:: - - testpmd> flow list 0 - - check the rule not exists in the list. - -2. create a rule:: - - testpmd> flow create 0 priority 0 ingress pattern eth / ipv4 / nvgre / eth / ipv4 src is 192.168.0.2 dst is 192.168.0.3 tos is 4 / end actions rss queues 2 3 end / end - - get the message:: - - Succeeded to create (2) flow - - check the flow list:: - - testpmd> flow list 0 - - check the rule exists in the list. - -3. send matched packets, check the packets are to queue 2 or 3. - send mismatched packets, check the packets are not to queue 2 and 3. - -4. verify rules can be destroyed:: - - testpmd> flow destroy 0 rule 0 - testpmd> flow list 0 - - check the rule not exists in the list. - send matched packets, check the packets are not to queue 2 and 3. - drop action ............ @@ -2843,48 +2346,6 @@ to queue action check the rule not exists in the list. send matched packets, check the packets are not to queue 2. -to queue group action -...................... - -1. validate a rule:: - - testpmd> flow validate 0 priority 0 ingress pattern eth / ipv4 / nvgre / eth / ipv4 src is 192.168.0.2 dst is 192.168.0.3 proto is 0x06 tos is 4 / end actions rss queues 2 3 end / end - - get the message:: - - Flow rule validated - - check the flow list:: - - testpmd> flow list 0 - - check the rule not exists in the list. - -2. create a rule:: - - testpmd> flow create 0 priority 0 ingress pattern eth / ipv4 / nvgre / eth / ipv4 src is 192.168.0.2 dst is 192.168.0.3 proto is 0x06 tos is 4 / end actions rss queues 2 3 end / end - - get the message:: - - Succeeded to create (2) flow - - check the flow list:: - - testpmd> flow list 0 - - check the rule exists in the list. - -3. send matched packets, check the packets are to queue 2 or 3. - send mismatched packets, check the packets are not to queue 2 and 3. - -4. verify rules can be destroyed:: - - testpmd> flow destroy 0 rule 0 - testpmd> flow list 0 - - check the rule not exists in the list. - send matched packets, check the packets are not to queue 2 and 3. - drop action ............ @@ -3129,48 +2590,6 @@ to queue action check the rule not exists in the list. send matched packets, check the packets are not to queue 2. -to queue group action -...................... - -1. validate a rule:: - - testpmd> flow validate 0 priority 0 ingress pattern eth / ipv4 / nvgre / eth / ipv4 src is 192.168.0.2 dst is 192.168.0.3 tos is 4 / udp src is 50 dst is 23 / end actions rss queues 4 5 end / end - - get the message:: - - Flow rule validated - - check the flow list:: - - testpmd> flow list 0 - - check the rule not exists in the list. - -2. create a rule:: - - testpmd> flow create 0 priority 0 ingress pattern eth / ipv4 / nvgre / eth / ipv4 src is 192.168.0.2 dst is 192.168.0.3 tos is 4 / udp src is 50 dst is 23 / end actions rss queues 4 5 end / end - - get the message:: - - Succeeded to create (2) flow - - check the flow list:: - - testpmd> flow list 0 - - check the rule exists in the list. - -3. send matched packets, check the packets are to queue 4 or 5. - send mismatched packets, check the packets are not to queue 4 and 5. - -4. verify rules can be destroyed:: - - testpmd> flow destroy 0 rule 0 - testpmd> flow list 0 - - check the rule not exists in the list. - send matched packets, check the packets are not to queue 4 and 5. - drop action ............ @@ -3270,48 +2689,6 @@ to queue action check the rule not exists in the list. send matched packets, check the packets are not to queue 2. -to queue group action -...................... - -1. validate a rule:: - - testpmd> flow validate 0 priority 0 ingress pattern eth / ipv4 / nvgre / eth / ipv4 src is 192.168.0.2 dst is 192.168.0.3 tos is 4 / tcp src is 50 dst is 23 / end actions rss queues 4 5 end / end - - get the message:: - - Flow rule validated - - check the flow list:: - - testpmd> flow list 0 - - check the rule not exists in the list. - -2. create a rule:: - - testpmd> flow create 0 priority 0 ingress pattern eth / ipv4 / nvgre / eth / ipv4 src is 192.168.0.2 dst is 192.168.0.3 tos is 4 / tcp src is 50 dst is 23 / end actions rss queues 4 5 end / end - - get the message:: - - Succeeded to create (2) flow - - check the flow list:: - - testpmd> flow list 0 - - check the rule exists in the list. - -3. send matched packets, check the packets are to queue 4 or 5. - send mismatched packets, check the packets are not to queue 4 and 5. - -4. verify rules can be destroyed:: - - testpmd> flow destroy 0 rule 0 - testpmd> flow list 0 - - check the rule not exists in the list. - send matched packets, check the packets are not to queue 4 and 5. - drop action ............