Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/89309/?format=api
https://patches.dpdk.org/api/patches/89309/?format=api", "web_url": "https://patches.dpdk.org/project/dts/patch/20210317105848.6913-3-weix.xie@intel.com/", "project": { "id": 3, "url": "https://patches.dpdk.org/api/projects/3/?format=api", "name": "DTS", "link_name": "dts", "list_id": "dts.dpdk.org", "list_email": "dts@dpdk.org", "web_url": "", "scm_url": "git://dpdk.org/tools/dts", "webscm_url": "http://git.dpdk.org/tools/dts/", "list_archive_url": "https://inbox.dpdk.org/dts", "list_archive_url_format": "https://inbox.dpdk.org/dts/{}", "commit_url_format": "" }, "msgid": "<20210317105848.6913-3-weix.xie@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dts/20210317105848.6913-3-weix.xie@intel.com", "date": "2021-03-17T10:58:48", "name": "[2/2] test_plans/cvl_switch_filter_pppoe_test_plan: add new test plan", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": false, "hash": "c99f134ea064f95aa0f1176665976c84c931cc6f", "submitter": { "id": 1686, "url": "https://patches.dpdk.org/api/people/1686/?format=api", "name": "Xie, WeiX", "email": "weix.xie@intel.com" }, "delegate": null, "mbox": "https://patches.dpdk.org/project/dts/patch/20210317105848.6913-3-weix.xie@intel.com/mbox/", "series": [ { "id": 15714, "url": "https://patches.dpdk.org/api/series/15714/?format=api", "web_url": "https://patches.dpdk.org/project/dts/list/?series=15714", "date": "2021-03-17T10:58:46", "name": "split the pppoe cases", "version": 1, "mbox": "https://patches.dpdk.org/series/15714/mbox/" } ], "comments": "https://patches.dpdk.org/api/patches/89309/comments/", "check": "pending", "checks": "https://patches.dpdk.org/api/patches/89309/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<dts-bounces@dpdk.org>", "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])\n\tby inbox.dpdk.org (Postfix) with ESMTP id 2B081A054F;\n\tWed, 17 Mar 2021 03:33:52 +0100 (CET)", "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 1E086242A3A;\n\tWed, 17 Mar 2021 03:33:52 +0100 (CET)", "from mga17.intel.com (mga17.intel.com [192.55.52.151])\n by mails.dpdk.org (Postfix) with ESMTP id 2A766242A4B\n for <dts@dpdk.org>; Wed, 17 Mar 2021 03:33:50 +0100 (CET)", "from fmsmga005.fm.intel.com ([10.253.24.32])\n by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 16 Mar 2021 19:33:48 -0700", "from unknown (HELO localhost.localdomain) ([10.240.183.103])\n by fmsmga005-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 16 Mar 2021 19:33:46 -0700" ], "IronPort-SDR": [ "\n 3HRV3UIE9CUatD2eOzGMpK+Tbqt9mDyjl8AbJWrZYWshVluD+gfi/68t9JfnWKVZSnl7YwmUq7\n GxosAeZp3U6Q==", "\n PfEJs7zDERllvBoMkPRHC/2/KSvOlfpDymvTUC/q+HC0e1zqqk3v9U4czm7Himw/dzAM1TLV8w\n 5zcAhWj1D5Mg==" ], "X-IronPort-AV": [ "E=McAfee;i=\"6000,8403,9925\"; a=\"169288424\"", "E=Sophos;i=\"5.81,254,1610438400\"; d=\"scan'208\";a=\"169288424\"", "E=Sophos;i=\"5.81,254,1610438400\"; d=\"scan'208\";a=\"605510245\"" ], "From": "xiewei <weix.xie@intel.com>", "To": "dts@dpdk.org", "Cc": "xiewei <weix.xie@intel.com>", "Date": "Wed, 17 Mar 2021 18:58:48 +0800", "Message-Id": "<20210317105848.6913-3-weix.xie@intel.com>", "X-Mailer": "git-send-email 2.17.1", "In-Reply-To": "<20210317105848.6913-1-weix.xie@intel.com>", "References": "<20210317105848.6913-1-weix.xie@intel.com>", "Subject": "[dts] [PATCH 2/2] test_plans/cvl_switch_filter_pppoe_test_plan: add\n new test plan", "X-BeenThere": "dts@dpdk.org", "X-Mailman-Version": "2.1.29", "Precedence": "list", "List-Id": "test suite reviews and discussions <dts.dpdk.org>", "List-Unsubscribe": "<https://mails.dpdk.org/options/dts>,\n <mailto:dts-request@dpdk.org?subject=unsubscribe>", "List-Archive": "<http://mails.dpdk.org/archives/dts/>", "List-Post": "<mailto:dts@dpdk.org>", "List-Help": "<mailto:dts-request@dpdk.org?subject=help>", "List-Subscribe": "<https://mails.dpdk.org/listinfo/dts>,\n <mailto:dts-request@dpdk.org?subject=subscribe>", "Errors-To": "dts-bounces@dpdk.org", "Sender": "\"dts\" <dts-bounces@dpdk.org>" }, "content": "add new test plan for cvl swicth filter pppoe cases.\n\nSigned-off-by: xiewei <weix.xie@intel.com>\n---\n .../cvl_switch_filter_pppoe_test_plan.rst | 5720 +++++++++++++++++\n 1 file changed, 5720 insertions(+)\n create mode 100644 test_plans/cvl_switch_filter_pppoe_test_plan.rst", "diff": "diff --git a/test_plans/cvl_switch_filter_pppoe_test_plan.rst b/test_plans/cvl_switch_filter_pppoe_test_plan.rst\nnew file mode 100644\nindex 00000000..a2854276\n--- /dev/null\n+++ b/test_plans/cvl_switch_filter_pppoe_test_plan.rst\n@@ -0,0 +1,5720 @@\n+.. Copyright (c) <2019-2020>, Intel Corporation\n+ All rights reserved.\n+\n+ Redistribution and use in source and binary forms, with or without\n+ modification, are permitted provided that the following conditions\n+ are met:\n+\n+ - Redistributions of source code must retain the above copyright\n+ notice, this list of conditions and the following disclaimer.\n+\n+ - Redistributions in binary form must reproduce the above copyright\n+ notice, this list of conditions and the following disclaimer in\n+ the documentation and/or other materials provided with the\n+ distribution.\n+\n+ - Neither the name of Intel Corporation nor the names of its\n+ contributors may be used to endorse or promote products derived\n+ from this software without specific prior written permission.\n+\n+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n+ \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\n+ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS\n+ FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE\n+ COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,\n+ INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES\n+ (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR\n+ SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\n+ HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,\n+ STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)\n+ ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED\n+ OF THE POSSIBILITY OF SUCH DAMAGE.\n+\n+=======================\n+CVL Switch Filter Tests\n+=======================\n+\n+Description\n+===========\n+\n+This document provides the plan for testing switch filter feature of CVL, including:\n+\n+* Enable switch filter for PPPOE in non-pipeline/pipeline mode (comm #1 package)\n+\n+In pipeline mode, a flow can be set at one specific stage by setting parameter ``priority``. Currently,\n+we support two stages: priority = 0 or !0. Flows with priority 0 located at the first pipeline stage\n+which typically be used as a firewall. At this stage, flow rules are created for the device's exact\n+match engine: switch. Flows with priority !0 located at the second stage, typically packets are\n+classified here and be steered to specific queue or queue group. At this stage, flow rules are created\n+for device's flow director engine.\n+\n+In non-pipeline mode, ``priority`` is ignored, a flow rule can be created as a flow director rule or a\n+switch rule depends on its pattern/action. If a rule is supported by switch or fdir at the same time, it\n+will be created in the fdir table first. Therefore, to test switch filter in non-pipeline mode, we need to\n+fill the fdir table first, and then the rules are created in the switch filter table. The capacity of fdir\n+table is 16K, of which 14K is shared by all pfs and vfs, and the remaining 2K is gurantee for pfs. If 4*25G\n+NIC, the gurantee for each pf is 512. If 2*100G NIC, the gurantee of each pf is 1024. so 1 pf can create at\n+most 14848 rules on 4 ports card and 15360 rules on 2 ports card.\n+\n+Pattern and input set\n+---------------------\n+\n+ +---------------------+-------------------------------+---------------------------------------------------------------------------------------+\n+ | | | Input Set |\n+ | Packet Types | Pattern +-------------------------------------------+-------------------------------------------+\n+ | | | non-pipeline mode | pipeline mode |\n+ +=====================+===============================+===========================================+===========================================+\n+ | ethertype filter | ethertype filter_PPPOES | [Ether type] | [Ether type] |\n+ +---------------------+-------------------------------+-------------------------------------------+-------------------------------------------+\n+ | | MAC_VLAN_PPPOE_IPV4_PAY | [Dest MAC], [VLAN], [seid], | [Dest MAC], [VLAN], [seid], |\n+ | | _session_id_proto_id | [pppoe_proto_id] | [pppoe_proto_id] |\n+ | +-------------------------------+-------------------------------------------+-------------------------------------------+\n+ | \t | MAC_VLAN_PPPOE_IPV6_PAY | [Dest MAC], [VLAN], [seid], | [Dest MAC], [VLAN], [seid], |\n+ | | _session_id_proto_id | [pppoe_proto_id] | [pppoe_proto_id] |\n+ | +-------------------------------+-------------------------------------------+-------------------------------------------+\n+ | | MAC_PPPOE_IPV4_PAY_session_id | [Dest MAC], [seid], [pppoe_proto_id] | [Dest MAC], [seid], [pppoe_proto_id] |\n+ | | _proto_id | | |\n+ | +-------------------------------+-------------------------------------------+-------------------------------------------+\n+ | | MAC_PPPOE_IPV6_PAY_session_id | [Dest MAC], [seid], [pppoe_proto_id] | [Dest MAC], [seid], [pppoe_proto_id] |\n+ | | _proto_id | | |\n+ | +-------------------------------+-------------------------------------------+-------------------------------------------+\n+ | | MAC_PPPOE_IPV4_PAY_IP_address | [Source IP], [Dest IP] | [Source IP], [Dest IP] |\n+ | +-------------------------------+-------------------------------------------+-------------------------------------------+\n+ | | MAC_PPPOE_IPV4_UDP_PAY | [Source IP], [Dest IP], | [Source IP], [Dest IP], |\n+ | | | [Source Port], [Dest Port] | [Source Port], [Dest Port] |\n+ | +-------------------------------+-------------------------------------------+-------------------------------------------+\n+ | | MAC_PPPOE_IPV4_UDP_PAY | [Source IP], [Dest IP] | [Source IP], [Dest IP] |\n+ | | _non_src_dst_port | | |\n+ | +-------------------------------+-------------------------------------------+-------------------------------------------+\n+ | | MAC_PPPOE_IPV4_TCP_PAY | [Source IP], [Dest IP], | [Source IP], [Dest IP], |\n+ | | | [Source Port], [Dest Port] | [Source Port], [Dest Port] |\n+ | +-------------------------------+-------------------------------------------+-------------------------------------------+\n+ | | MAC_PPPOE_IPV4_TCP_PAY | [Source IP], [Dest IP] | [Source IP], [Dest IP] |\n+ | | _non_src_dst_port | | |\n+ | +-------------------------------+-------------------------------------------+-------------------------------------------+\n+ | | MAC_PPPOE_IPV6_PAY_IP_address | [Source IP], [Dest IP] | [Source IP], [Dest IP] |\n+ | PPPOES +-------------------------------+-------------------------------------------+-------------------------------------------+\n+ | | MAC_PPPOE_IPV6_UDP_PAY | [Source IP], [Dest IP], | [Source IP], [Dest IP], |\n+ | | | [Source Port], [Dest Port] | [Source Port], [Dest Port] |\n+ | +-------------------------------+-------------------------------------------+-------------------------------------------+\n+ | | MAC_PPPOE_IPV6_UDP_PAY | [Source IP], [Dest IP] | [Source IP], [Dest IP] |\n+ | | _non_src_dst_port | | |\n+ | +-------------------------------+-------------------------------------------+-------------------------------------------+\n+ | | MAC_PPPOE_IPV6_TCP_PAY | [Source IP], [Dest IP], | [Source IP], [Dest IP], |\n+ | | | [Source Port], [Dest Port] | [Source Port], [Dest Port] |\n+ | +-------------------------------+-------------------------------------------+-------------------------------------------+\n+ | | MAC_PPPOE_IPV6_TCP_PAY | [Source IP], [Dest IP], | [Source IP], [Dest IP], |\n+ | | _non_src_dst_port | | |\n+ | +-------------------------------+-------------------------------------------+-------------------------------------------+\n+ | | MAC_VLAN_PPPOE_IPV4_PAY | [VLAN], [Source IP], [Dest IP] | [VLAN], [Source IP], [Dest IP] |\n+ | | _IP_address | | |\n+ | +-------------------------------+-------------------------------------------+-------------------------------------------+\n+ | | MAC_VLAN_PPPOE_IPV4_UDP_PAY | [VLAN], [Source IP], [Dest IP] | [VLAN], [Source IP], [Dest IP] |\n+ | | | [Source Port], [Dest Port] | [Source Port], [Dest Port] |\n+ | +-------------------------------+-------------------------------------------+-------------------------------------------+\n+ | | MAC_VLAN_PPPOE_IPV4_UDP_PAY | [VLAN], [Source IP], [Dest IP] | [VLAN], [Source IP], [Dest IP] |\n+ | | _non_src_dst_port | | |\n+ | +-------------------------------+-------------------------------------------+-------------------------------------------+\n+ | | MAC_VLAN_PPPOE_IPV4_TCP_PAY | [VLAN], [Source IP], [Dest IP] | [VLAN], [Source IP], [Dest IP] |\n+ | | | [Source Port], [Dest Port] | [Source Port], [Dest Port] |\n+ | +-------------------------------+-------------------------------------------+-------------------------------------------+\n+ | | MAC_VLAN_PPPOE_IPV4_TCP_PAY | [VLAN], [Source IP], [Dest IP] | [VLAN], [Source IP], [Dest IP] |\n+ | | _non_src_dst_port | | |\n+ | +-------------------------------+-------------------------------------------+-------------------------------------------+\n+ | | MAC_VLAN_PPPOE_IPV6_PAY | [VLAN], [Source IP], [Dest IP] | [VLAN], [Source IP], [Dest IP] |\n+ | | _IP_address | | |\n+ | +-------------------------------+-------------------------------------------+-------------------------------------------+\n+ | | MAC_VLAN_PPPOE_IPV6_UDP_PAY | [VLAN], [Source IP], [Dest IP] | [VLAN], [Source IP], [Dest IP] |\n+ | | | [Source Port], [Dest Port] | [Source Port], [Dest Port] |\n+ | +-------------------------------+-------------------------------------------+-------------------------------------------+\n+ | | MAC_VLAN_PPPOE_IPV6_UDP_PAY | [VLAN], [Source IP], [Dest IP] | [VLAN], [Source IP], [Dest IP] |\n+ | | _non_src_dst_port | | |\n+ | +-------------------------------+-------------------------------------------+-------------------------------------------+\n+ | | MAC_VLAN_PPPOE_IPV6_TCP_PAY | [VLAN], [Source IP], [Dest IP] | [VLAN], [Source IP], [Dest IP] |\n+ | | | [Source Port], [Dest Port] | [Source Port], [Dest Port] |\n+ | +-------------------------------+-------------------------------------------+-------------------------------------------+\n+ | | MAC_VLAN_PPPOE_IPV6_TCP_PAY | [VLAN], [Source IP], [Dest IP] | [VLAN], [Source IP], [Dest IP] |\n+ | | _non_src_dst_port | | |\n+ | +-------------------------------+-------------------------------------------+-------------------------------------------+\n+ | | MAC_PPPOE_LCP_PAY | [Dest MAC], [seid], [pppoe_proto_id] | [Dest MAC], [seid], [pppoe_proto_id] |\n+ | +-------------------------------+-------------------------------------------+-------------------------------------------+\n+ | | MAC_PPPOE_IPCP_PAY | [Dest MAC], [seid], [pppoe_proto_id] | [Dest MAC], [seid], [pppoe_proto_id] |\n+ | +-------------------------------+-------------------------------------------+-------------------------------------------+\n+ | | MAC_VLAN_PPPOE_LCP_PAY | [Dest MAC], [VLAN], [seid], | [Dest MAC], [VLAN], [seid], |\n+ | | | [pppoe_proto_id] | [pppoe_proto_id] |\n+ | +-------------------------------+-------------------------------------------+-------------------------------------------+\n+ | | MAC_VLAN_PPPOE_IPCP_PAY | [Dest MAC], [VLAN], [seid], | [Dest MAC], [VLAN], [seid], |\n+ | | | [pppoe_proto_id] | [pppoe_proto_id] |\n+ +---------------------+-------------------------------+-------------------------------------------+-------------------------------------------+\n+\n+.. note::\n+\n+ 1. The maximum input set length of a switch rule is 32 bytes, and src ipv6,\n+ dst ipv6 account for 32 bytes. Therefore, for ipv6 cases, if need to test\n+ fields other than src, dst ip, we create rule by removing src or dst ip in\n+ the test plan.\n+\n+ 2. For MAC_IPV4_TUN_IPV4_FRAG/MAC_IPV4_TUN_IPV4_PAY cases and\n+ MAC_IPV4_TUN_MAC_IPV4_FRAG/MAC_IPV4_TUN_MAC_IPV4_PAY cases, the input set\n+ of each pair is the same, so use MAC_IPV4_TUN_IPV4 and MAC_IPV4_TUN_MAC_IPV4\n+ pattern to replace them in the test plan.\n+\n+Supported function type\n+-----------------------\n+\n+* validate\n+* create\n+* destroy\n+* flush\n+* list\n+\n+Supported action type\n+---------------------\n+\n+* to queue\n+* to queue group\n+* drop\n+\n+Prerequisites\n+=============\n+\n+1. Hardware:\n+ columbiaville_25g/columbiaville_100g\n+ design the cases with 2 ports card.\n+\n+2. software:\n+\n+ - dpdk: http://dpdk.org/git/dpdk\n+ - scapy: http://www.secdev.org/projects/scapy/\n+\n+3. Copy comm #1 package to /lib/firmware/intel/ice/ddp/ice.pkg,\n+ then load driver::\n+\n+ rmmod ice\n+ insmod ice.ko\n+\n+4. Compile DPDK::\n+\n+ make -j install T=x86_64-native-linuxapp-gcc\n+\n+5. Bind pf to dpdk driver::\n+\n+ ./usertools/dpdk-devbind.py -b vfio-pci 18:00.2\n+\n+6. Launch dpdk with the following arguments in non-pipeline mode::\n+\n+ ./x86_64-native-linuxapp-gcc/app/testpmd -c 0xf -n 4 -w 0000:18:00.0 --log-level=\"ice,8\" -- -i --txq=16 --rxq=16 --cmdline-file=testpmd_fdir_rules\n+ testpmd> port config 0 rss-hash-key ipv4 1234abcd1234abcd1234abcd1234abcd1234abcd1234abcd1234abcd1234abcd1234abcd1234abcd1234abcd1234abcd1234abcd\n+ testpmd> set fwd rxonly\n+ testpmd> set verbose 1\n+ testpmd> start\n+\n+ If set VXLAN flow rule::\n+\n+ testpmd> rx_vxlan_port add 4789 0\n+\n+ Note: file ``testpmd_fdir_rules`` contains 15,360 fdir rules to make fdir table full.\n+\n+ Launch dpdk in pipeline mode with the following testpmd command line::\n+\n+ ./x86_64-native-linuxapp-gcc/app/testpmd -c 0xf -n 4 -w 0000:18:00.0,pipeline-mode-support=1 --log-level=\"ice,8\" -- -i --txq=16 --rxq=16\n+\n+Test case: Ethertype filter\n+===========================\n+\n+Ethertype filter_PPPOES\n+-----------------------\n+\n+create PPPOE rule to enable RSS for PPPOE packets::\n+\n+ testpmd> flow create 0 ingress pattern eth / pppoes / end actions rss types pppoe end key_len 0 queues end / end\n+\n+matched packets::\n+\n+ sendp([Ether(dst=\"00:11:22:33:44:55\", type=0x8864)/PPPoE(sessionid=3)/Raw(\"x\" *80)],iface=\"ens786f0\",count=1)\n+\n+mismatched packets::\n+\n+ sendp([Ether(dst=\"00:11:22:33:44:55\", type=0x8863)/PPPoED()/Raw(\"x\" *80)],iface=\"ens786f0\",count=1)\n+\n+to queue action\n+................\n+\n+1. validate a rule::\n+\n+ testpmd> flow validate 0 ingress pattern eth type is 0x8864 / end actions queue index 2 / end\n+\n+ get the message::\n+\n+ Flow rule validated\n+\n+ check the flow list::\n+\n+ testpmd> flow list 0\n+\n+ check the rule not exists in the list.\n+\n+2. create a rule::\n+\n+ testpmd> flow create 0 ingress pattern eth type is 0x8864 / end actions queue index 2 / end\n+\n+ get the message::\n+\n+ Succeeded to create (2) flow\n+\n+ check the flow list::\n+\n+ testpmd> flow list 0\n+\n+ check the rule exists in the list.\n+\n+3. send matched packets, check the packets are to queue 2.\n+ send mismatched packets, check the packets are not to queue 2.\n+\n+4. verify rules can be destroyed::\n+\n+ testpmd> flow destroy 0 rule 15360\n+ testpmd> flow list 0\n+\n+ check the rule not exists in the list.\n+ send matched packets, check the packets are not to queue 2.\n+\n+5. check the pattern in pipeline mode\n+\n+ validate a rule::\n+\n+ testpmd> flow validate 0 priority 0 ingress pattern eth type is 0x8864 / end actions queue index 2 / end\n+\n+ create a rule::\n+\n+ testpmd> flow create 0 priority 0 ingress pattern eth type is 0x8864 / end actions queue index 2 / end\n+\n+ repeat step 1-4 to check the pattern in pipeline mode.\n+\n+to queue group action\n+......................\n+\n+1. validate a rule::\n+\n+ testpmd> flow validate 0 ingress pattern eth type is 0x8864 / end actions rss queues 4 5 end / end\n+\n+ get the message::\n+\n+ Flow rule validated\n+\n+ check the flow list::\n+\n+ testpmd> flow list 0\n+\n+ check the rule not exists in the list.\n+\n+2. create a rule::\n+\n+ testpmd> flow create 0 ingress pattern eth type is 0x8864 / end actions rss queues 4 5 end / end\n+\n+ get the message::\n+\n+ Succeeded to create (2) flow\n+\n+ check the flow list::\n+\n+ testpmd> flow list 0\n+\n+ check the rule exists in the list.\n+\n+3. send matched packets, check the packets are to queue 4 or 5.\n+ send mismatched packets, check the packets are not to queue 4 and 5.\n+\n+4. verify rules can be destroyed::\n+\n+ testpmd> flow destroy 0 rule 0\n+ testpmd> flow list 0\n+\n+ check the rule not exists in the list.\n+ send matched packets, check the packets are not to queue 4 and 5.\n+\n+5. check the pattern in pipeline mode\n+\n+ validate a rule::\n+\n+ testpmd> flow validate 0 priority 0 ingress pattern eth type is 0x8864 / end actions rss queues 4 5 end / end\n+\n+ create a rule::\n+\n+ testpmd> flow create 0 priority 0 ingress pattern eth type is 0x8864 / end actions rss queues 4 5 end / end\n+\n+ repeat step 1-4 to check the pattern in pipeline mode.\n+\n+drop action\n+............\n+\n+1. validate a rule::\n+\n+ testpmd> flow validate 0 ingress pattern eth type is 0x8864 / end actions drop / end\n+\n+ get the message::\n+\n+ Flow rule validated\n+\n+ check the flow list::\n+\n+ testpmd> flow list 0\n+\n+ check the rule not exists in the list.\n+\n+2. create a rule::\n+\n+ testpmd> flow create 0 ingress pattern eth type is 0x8864 / end actions drop / end\n+\n+ get the message::\n+\n+ Succeeded to create (2) flow\n+\n+ check the flow list::\n+\n+ testpmd> flow list 0\n+\n+ check the rule exists in the list.\n+\n+3. send matched packets, check the packets are dropped.\n+ send mismatched packets, check the packets are not dropped.\n+\n+4. verify rules can be destroyed::\n+\n+ testpmd> flow destroy 0 rule 15360\n+ testpmd> flow list 0\n+\n+ check the rule not exists in the list.\n+ send matched packets, check the packets are not to dropped.\n+\n+5. check the pattern in pipeline mode\n+\n+ validate a rule::\n+\n+ testpmd> flow validate 0 priority 0 ingress pattern eth type is 0x8864 / end actions drop / end\n+\n+ create a rule::\n+\n+ testpmd> flow create 0 priority 0 ingress pattern eth type is 0x8864 / end actions drop / end\n+\n+ repeat step 1-4 to check the pattern in pipeline mode.\n+\n+Test case: MAC_VLAN_PPPOE_IPV4_PAY_session_id_proto_id\n+======================================================\n+\n+matched packets::\n+\n+ sendp([Ether(dst=\"00:11:22:33:44:55\",type=0x8100)/Dot1Q(vlan=1,type=0x8864)/PPPoE(sessionid=3)/PPP(proto=0x0021)/IP()/Raw(\"x\"*80)],iface=\"ens786f0\",count=1)\n+\n+mismatched packets::\n+\n+ sendp([Ether(dst=\"00:11:22:33:44:54\",type=0x8100)/Dot1Q(vlan=1,type=0x8864)/PPPoE(sessionid=3)/PPP(proto=0x0021)/IP()/Raw(\"x\" * 80)],iface=\"ens786f0\",count=1)\n+ sendp([Ether(dst=\"00:11:22:33:44:55\",type=0x8100)/Dot1Q(vlan=2,type=0x8864)/PPPoE(sessionid=3)/PPP(proto=0x0021)/IP()/Raw(\"x\" * 80)],iface=\"ens786f0\",count=1)\n+ sendp([Ether(dst=\"00:11:22:33:44:55\",type=0x8100)/Dot1Q(vlan=1,type=0x8864)/PPPoE(sessionid=4)/PPP(proto=0x0021)/IP()/Raw(\"x\" * 80)],iface=\"ens786f0\",count=1)\n+ sendp([Ether(dst=\"00:11:22:33:44:55\",type=0x8100)/Dot1Q(vlan=1,type=0x8864)/PPPoE(sessionid=3)/PPP(proto=0x0057)/IPv6()/Raw(\"x\" * 80)],iface=\"ens786f0\",count=1)\n+\n+to queue action\n+---------------\n+\n+1. validate a rule::\n+\n+ testpmd> flow validate 0 ingress pattern eth dst is 00:11:22:33:44:55 / vlan tci is 1 / pppoes seid is 3 / pppoe_proto_id is 0x0021 / end actions queue index 2 / end\n+\n+ get the message::\n+\n+ Flow rule validated\n+\n+ check the flow list::\n+\n+ testpmd> flow list 0\n+\n+ check the rule not exists in the list.\n+\n+2. create a rule::\n+\n+ testpmd> flow create 0 ingress pattern eth dst is 00:11:22:33:44:55 / vlan tci is 1 / pppoes seid is 3 / pppoe_proto_id is 0x0021 / end actions queue index 2 / end\n+\n+ get the message::\n+\n+ Succeeded to create (2) flow\n+\n+ check the flow list::\n+\n+ testpmd> flow list 0\n+\n+ check the rule exists in the list.\n+\n+3. send matched packets, check the packets are to queue 2.\n+ send mismatched packets, check the packets are not to queue 2.\n+\n+4. verify rules can be destroyed::\n+\n+ testpmd> flow destroy 0 rule 15360\n+ testpmd> flow list 0\n+\n+ check the rule not exists in the list.\n+ send matched packets, check the packets are not to queue 2.\n+\n+5. check the pattern in pipeline mode\n+\n+ validate a rule::\n+\n+ testpmd> flow validate 0 priority 0 ingress pattern eth dst is 00:11:22:33:44:55 / vlan tci is 1 / pppoes seid is 3 / pppoe_proto_id is 0x0021 / end actions queue index 2 / end\n+\n+ create a rule::\n+\n+ testpmd> flow create 0 priority 0 ingress pattern eth dst is 00:11:22:33:44:55 / vlan tci is 1 / pppoes seid is 3 / pppoe_proto_id is 0x0021 / end actions queue index 2 / end\n+\n+ repeat step 1-4 to check the pattern in pipeline mode.\n+\n+to queue group action\n+---------------------\n+\n+1. validate a rule::\n+\n+ testpmd> flow validate 0 ingress pattern eth dst is 00:11:22:33:44:55 / vlan tci is 1 / pppoes seid is 3 / pppoe_proto_id is 0x0021 / end actions rss queues 4 5 end / end\n+\n+ get the message::\n+\n+ Flow rule validated\n+\n+ check the flow list::\n+\n+ testpmd> flow list 0\n+\n+ check the rule not exists in the list.\n+\n+2. create a rule::\n+\n+ testpmd> flow create 0 ingress pattern eth dst is 00:11:22:33:44:55 / vlan tci is 1 / pppoes seid is 3 / pppoe_proto_id is 0x0021 / end actions rss queues 4 5 end / end\n+\n+ get the message::\n+\n+ Succeeded to create (2) flow\n+\n+ check the flow list::\n+\n+ testpmd> flow list 0\n+\n+ check the rule exists in the list.\n+\n+3. send matched packets, check the packets are to queue 4 or 5.\n+ send mismatched packets, check the packets are not to queue 4 and 5.\n+\n+4. verify rules can be destroyed::\n+\n+ testpmd> flow destroy 0 rule 15360\n+ testpmd> flow list 0\n+\n+ check the rule not exists in the list.\n+ send matched packets, check the packets are not to queue 4 and 5.\n+\n+5. check the pattern in pipeline mode\n+\n+ validate a rule::\n+\n+ testpmd> flow validate 0 priority 0 ingress pattern eth dst is 00:11:22:33:44:55 / vlan tci is 1 / pppoes seid is 3 / pppoe_proto_id is 0x0021 / end actions rss queues 4 5 end / end\n+\n+ create a rule::\n+\n+ testpmd> flow create 0 priority 0 ingress pattern eth dst is 00:11:22:33:44:55 / vlan tci is 1 / pppoes seid is 3 / pppoe_proto_id is 0x0021 / end actions rss queues 4 5 end / end\n+\n+ repeat step 1-4 to check the pattern in pipeline mode.\n+\n+drop action\n+-----------\n+\n+1. validate a rule::\n+\n+ testpmd> flow validate 0 ingress pattern eth dst is 00:11:22:33:44:55 / vlan tci is 1 / pppoes seid is 3 / pppoe_proto_id is 0x0021 / end actions drop / end\n+\n+ get the message::\n+\n+ Flow rule validated\n+\n+ check the flow list::\n+\n+ testpmd> flow list 0\n+\n+ check the rule not exists in the list.\n+\n+2. create a rule::\n+\n+ testpmd> flow create 0 ingress pattern eth dst is 00:11:22:33:44:55 / vlan tci is 1 / pppoes seid is 3 / pppoe_proto_id is 0x0021 / end actions drop / end\n+\n+ get the message::\n+\n+ Succeeded to create (2) flow\n+\n+ check the flow list::\n+\n+ testpmd> flow list 0\n+\n+ check the rule exists in the list.\n+\n+3. send matched packets, check the packets are dropped.\n+ send mismatched packets, check the packets are not dropped.\n+\n+4. verify rules can be destroyed::\n+\n+ testpmd> flow destroy 0 rule 15360\n+ testpmd> flow list 0\n+\n+ check the rule not exists in the list.\n+ send matched packets, check the packets are not dropped.\n+\n+5. check the pattern in pipeline mode\n+\n+ validate a rule::\n+\n+ testpmd> flow validate 0 priority 0 ingress pattern eth dst is 00:11:22:33:44:55 / vlan tci is 1 / pppoes seid is 3 / pppoe_proto_id is 0x0021 / end actions drop / end\n+\n+ create a rule::\n+\n+ testpmd> flow create 0 priority 0 ingress pattern eth dst is 00:11:22:33:44:55 / vlan tci is 1 / pppoes seid is 3 / pppoe_proto_id is 0x0021 / end actions drop / end\n+\n+ repeat step 1-4 to check the pattern in pipeline mode.\n+\n+Test case: MAC_VLAN_PPPOE_IPV6_PAY_session_id_proto_id\n+======================================================\n+\n+matched packets::\n+\n+ sendp([Ether(dst=\"00:11:22:33:44:55\",type=0x8100)/Dot1Q(vlan=1,type=0x8864)/PPPoE(sessionid=3)/PPP(proto=0x0057)/IPv6()/Raw(\"x\" * 80)],iface=\"ens786f0\",count=1)\n+\n+mismatched packets::\n+\n+ sendp([Ether(dst=\"00:11:22:33:44:54\",type=0x8100)/Dot1Q(vlan=1,type=0x8864)/PPPoE(sessionid=3)/PPP(proto=0x0057)/IPv6()/Raw(\"x\" * 80)],iface=\"ens786f0\",count=1)\n+ sendp([Ether(dst=\"00:11:22:33:44:55\",type=0x8100)/Dot1Q(vlan=2,type=0x8864)/PPPoE(sessionid=3)/PPP(proto=0x0057)/IPv6()/Raw(\"x\" * 80)],iface=\"ens786f0\",count=1)\n+ sendp([Ether(dst=\"00:11:22:33:44:55\",type=0x8100)/Dot1Q(vlan=1,type=0x8864)/PPPoE(sessionid=4)/PPP(proto=0x0057)/IPv6()/Raw(\"x\" * 80)],iface=\"ens786f0\",count=1)\n+ sendp([Ether(dst=\"00:11:22:33:44:55\",type=0x8100)/Dot1Q(vlan=1,type=0x8864)/PPPoE(sessionid=3)/PPP(proto=0x0021)/IP()/Raw(\"x\" * 80)],iface=\"ens786f0\",count=1)\n+\n+to queue action\n+---------------\n+\n+1. validate a rule::\n+\n+ testpmd> flow validate 0 ingress pattern eth dst is 00:11:22:33:44:55 / vlan tci is 1 / pppoes seid is 3 / pppoe_proto_id is 0x0057 / end actions queue index 2 / end\n+\n+ get the message::\n+\n+ Flow rule validated\n+\n+ check the flow list::\n+\n+ testpmd> flow list 0\n+\n+ check the rule not exists in the list.\n+\n+2. create a rule::\n+\n+ testpmd> flow create 0 ingress pattern eth dst is 00:11:22:33:44:55 / vlan tci is 1 / pppoes seid is 3 / pppoe_proto_id is 0x0057 / end actions queue index 2 / end\n+\n+ get the message::\n+\n+ Succeeded to create (2) flow\n+\n+ check the flow list::\n+\n+ testpmd> flow list 0\n+\n+ check the rule exists in the list.\n+\n+3. send matched packets, check the packets are to queue 2.\n+ send mismatched packets, check the packets are not to queue 2.\n+\n+4. verify rules can be destroyed::\n+\n+ testpmd> flow destroy 0 rule 15360\n+ testpmd> flow list 0\n+\n+ check the rule not exists in the list.\n+ send matched packets, check the packets are not to queue 2.\n+\n+5. check the pattern in pipeline mode\n+\n+ validate a rule::\n+\n+ testpmd> flow validate 0 priority 0 ingress pattern eth dst is 00:11:22:33:44:55 / vlan tci is 1 / pppoes seid is 3 / pppoe_proto_id is 0x0057 / end actions queue index 2 / end\n+\n+ create a rule::\n+\n+ testpmd> flow create 0 priority 0 ingress pattern eth dst is 00:11:22:33:44:55 / vlan tci is 1 / pppoes seid is 3 / pppoe_proto_id is 0x0057 / end actions queue index 2 / end\n+\n+ repeat step 1-4 to check the pattern in pipeline mode.\n+\n+to queue group action\n+----------------------\n+\n+1. validate a rule::\n+\n+ testpmd> flow validate 0 ingress pattern eth dst is 00:11:22:33:44:55 / vlan tci is 1 / pppoes seid is 3 / pppoe_proto_id is 0x0057 / end actions rss queues 4 5 end / end\n+\n+ get the message::\n+\n+ Flow rule validated\n+\n+ check the flow list::\n+\n+ testpmd> flow list 0\n+\n+ check the rule not exists in the list.\n+\n+2. create a rule::\n+\n+ testpmd> flow create 0 ingress pattern eth dst is 00:11:22:33:44:55 / vlan tci is 1 / pppoes seid is 3 / pppoe_proto_id is 0x0057 / end actions rss queues 4 5 end / end\n+\n+ get the message::\n+\n+ Succeeded to create (2) flow\n+\n+ check the flow list::\n+\n+ testpmd> flow list 0\n+\n+ check the rule exists in the list.\n+\n+3. send matched packets, check the packets are to queue 4 or 5.\n+ send mismatched packets, check the packets are not to queue 4 and 5.\n+\n+4. verify rules can be destroyed::\n+\n+ testpmd> flow destroy 0 rule 15360\n+ testpmd> flow list 0\n+\n+ check the rule not exists in the list.\n+ send matched packets, check the packets are not to queue 4 and 5.\n+\n+5. check the pattern in pipeline mode\n+\n+ validate a rule::\n+\n+ testpmd> flow validate 0 priority 0 ingress pattern eth dst is 00:11:22:33:44:55 / vlan tci is 1 / pppoes seid is 3 / pppoe_proto_id is 0x0057 / end actions rss queues 4 5 end / end\n+\n+ create a rule::\n+\n+ testpmd> flow create 0 priority 0 ingress pattern eth dst is 00:11:22:33:44:55 / vlan tci is 1 / pppoes seid is 3 / pppoe_proto_id is 0x0057 / end actions rss queues 4 5 end / end\n+\n+ repeat step 1-4 to check the pattern in pipeline mode.\n+\n+drop action\n+-----------\n+\n+1. validate a rule::\n+\n+ testpmd> flow validate 0 ingress pattern eth dst is 00:11:22:33:44:55 / vlan tci is 1 / pppoes seid is 3 / pppoe_proto_id is 0x0057 / end actions drop / end\n+\n+ get the message::\n+\n+ Flow rule validated\n+\n+ check the flow list::\n+\n+ testpmd> flow list 0\n+\n+ check the rule not exists in the list.\n+\n+2. create a rule::\n+\n+ testpmd> flow create 0 ingress pattern eth dst is 00:11:22:33:44:55 / vlan tci is 1 / pppoes seid is 3 / pppoe_proto_id is 0x0057 / end actions drop / end\n+\n+ get the message::\n+\n+ Succeeded to create (2) flow\n+\n+ check the flow list::\n+\n+ testpmd> flow list 0\n+\n+ check the rule exists in the list.\n+\n+3. send matched packets, check the packets are dropped.\n+ send mismatched packets, check the packets are not dropped.\n+\n+4. verify rules can be destroyed::\n+\n+ testpmd> flow destroy 0 rule 15360\n+ testpmd> flow list 0\n+\n+ check the rule not exists in the list.\n+ send matched packets, check the packets are not dropped.\n+\n+5. check the pattern in pipeline mode\n+\n+ validate a rule::\n+\n+ testpmd> flow validate 0 priority 0 ingress pattern eth dst is 00:11:22:33:44:55 / vlan tci is 1 / pppoes seid is 3 / pppoe_proto_id is 0x0057 / end actions drop / end\n+\n+ create a rule::\n+\n+ testpmd> flow create 0 priority 0 ingress pattern eth dst is 00:11:22:33:44:55 / vlan tci is 1 / pppoes seid is 3 / pppoe_proto_id is 0x0057 / end actions drop / end\n+\n+ repeat step 1-4 to check the pattern in pipeline mode.\n+\n+Test case: MAC_PPPOE_IPV4_PAY_session_id_proto_id\n+=================================================\n+\n+matched packets::\n+\n+ sendp([Ether(dst=\"00:11:22:33:44:55\",type=0x8864)/PPPoE(sessionid=3)/PPP(proto=0x0021)/IP()/Raw(\"x\" * 80)],iface=\"ens786f0\",count=1)\n+\n+mismatched packets::\n+\n+ sendp([Ether(dst=\"00:11:22:33:44:54\",type=0x8864)/PPPoE(sessionid=3)/PPP(proto=0x0021)/IP()/Raw(\"x\" * 80)],iface=\"ens786f0\",count=1)\n+ sendp([Ether(dst=\"00:11:22:33:44:55\",type=0x8864)/PPPoE(sessionid=4)/PPP(proto=0x0021)/IP()/Raw(\"x\" * 80)],iface=\"ens786f0\",count=1)\n+ sendp([Ether(dst=\"00:11:22:33:44:55\",type=0x8864)/PPPoE(sessionid=3)/PPP(proto=0x0057)/IPv6()/Raw(\"x\" * 80)],iface=\"ens786f0\",count=1)\n+\n+to queue action\n+---------------\n+\n+1. validate a rule::\n+\n+ testpmd> flow validate 0 ingress pattern eth dst is 00:11:22:33:44:55 / pppoes seid is 3 / pppoe_proto_id is 0x0021 / end actions queue index 2 / end\n+\n+ get the message::\n+\n+ Flow rule validated\n+\n+ check the flow list::\n+\n+ testpmd> flow list 0\n+\n+ check the rule not exists in the list.\n+\n+2. create a rule::\n+\n+ testpmd> flow create 0 ingress pattern eth dst is 00:11:22:33:44:55 / pppoes seid is 3 / pppoe_proto_id is 0x0021 / end actions queue index 2 / end\n+\n+ get the message::\n+\n+ Succeeded to create (2) flow\n+\n+ check the flow list::\n+\n+ testpmd> flow list 0\n+\n+ check the rule exists in the list.\n+\n+3. send matched packets, check the packets are to queue 2.\n+ send mismatched packets, check the packets are not to queue 2.\n+\n+4. verify rules can be destroyed::\n+\n+ testpmd> flow destroy 0 rule 15360\n+ testpmd> flow list 0\n+\n+ check the rule not exists in the list.\n+ send matched packets, check the packets are not to queue 2.\n+\n+5. check the pattern in pipeline mode\n+\n+ validate a rule::\n+\n+ testpmd> flow validate 0 priority 0 ingress pattern eth dst is 00:11:22:33:44:55 / pppoes seid is 3 / pppoe_proto_id is 0x0021 / end actions queue index 2 / end\n+\n+ create a rule::\n+\n+ testpmd> flow create 0 priority 0 ingress pattern eth dst is 00:11:22:33:44:55 / pppoes seid is 3 / pppoe_proto_id is 0x0021 / end actions queue index 2 / end\n+\n+ repeat step 1-4 to check the pattern in pipeline mode.\n+\n+to queue group action\n+---------------------\n+\n+1. validate a rule::\n+\n+ testpmd> flow validate 0 ingress pattern eth dst is 00:11:22:33:44:55 / pppoes seid is 3 / pppoe_proto_id is 0x0021 / end actions rss queues 4 5 end / end\n+\n+ get the message::\n+\n+ Flow rule validated\n+\n+ check the flow list::\n+\n+ testpmd> flow list 0\n+\n+ check the rule not exists in the list.\n+\n+2. create a rule::\n+\n+ testpmd> flow create 0 ingress pattern eth dst is 00:11:22:33:44:55 / pppoes seid is 3 / pppoe_proto_id is 0x0021 / end actions rss queues 4 5 end / end\n+\n+ get the message::\n+\n+ Succeeded to create (2) flow\n+\n+ check the flow list::\n+\n+ testpmd> flow list 0\n+\n+ check the rule exists in the list.\n+\n+3. send matched packets, check the packets are to queue 4 or 5.\n+ send mismatched packets, check the packets are not to queue 4 and 5.\n+\n+4. verify rules can be destroyed::\n+\n+ testpmd> flow destroy 0 rule 15360\n+ testpmd> flow list 0\n+\n+ check the rule not exists in the list.\n+ send matched packets, check the packets are not to queue 4 and 5.\n+\n+5. check the pattern in pipeline mode\n+\n+ validate a rule::\n+\n+ testpmd> flow validate 0 priority 0 ingress pattern eth dst is 00:11:22:33:44:55 / pppoes seid is 3 / pppoe_proto_id is 0x0021 / end actions rss queues 4 5 end / end\n+\n+ create a rule::\n+\n+ testpmd> flow create 0 priority 0 ingress pattern eth dst is 00:11:22:33:44:55 / pppoes seid is 3 / pppoe_proto_id is 0x0021 / end actions rss queues 4 5 end / end\n+\n+ repeat step 1-4 to check the pattern in pipeline mode.\n+\n+drop action\n+------------\n+\n+1. validate a rule::\n+\n+ testpmd> flow validate 0 ingress pattern eth dst is 00:11:22:33:44:55 / pppoes seid is 3 / pppoe_proto_id is 0x0021 / end actions drop / end\n+\n+ get the message::\n+\n+ Flow rule validated\n+\n+ check the flow list::\n+\n+ testpmd> flow list 0\n+\n+ check the rule not exists in the list.\n+\n+2. create a rule::\n+\n+ testpmd> flow create 0 ingress pattern eth dst is 00:11:22:33:44:55 / pppoes seid is 3 / pppoe_proto_id is 0x0021 / end actions drop / end\n+\n+ get the message::\n+\n+ Succeeded to create (2) flow\n+\n+ check the flow list::\n+\n+ testpmd> flow list 0\n+\n+ check the rule exists in the list.\n+\n+3. send matched packets, check the packets are dropped.\n+ send mismatched packets, check the packets are not dropped.\n+\n+4. verify rules can be destroyed::\n+\n+ testpmd> flow destroy 0 rule 15360\n+ testpmd> flow list 0\n+\n+ check the rule not exists in the list.\n+ send matched packets, check the packets are not dropped.\n+\n+5. check the pattern in pipeline mode\n+\n+ validate a rule::\n+\n+ testpmd> flow validate 0 priority 0 ingress pattern eth dst is 00:11:22:33:44:55 / pppoes seid is 3 / pppoe_proto_id is 0x0021 / end actions drop / end\n+\n+ create a rule::\n+\n+ testpmd> flow create 0 priority 0 ingress pattern eth dst is 00:11:22:33:44:55 / pppoes seid is 3 / pppoe_proto_id is 0x0021 / end actions drop / end\n+\n+ repeat step 1-4 to check the pattern in pipeline mode.\n+\n+Test case: MAC_PPPOE_IPV6_PAY_session_id_proto_id\n+=================================================\n+\n+matched packets::\n+\n+ sendp([Ether(dst=\"00:11:22:33:44:55\",type=0x8864)/PPPoE(sessionid=3)/PPP(proto=0x0057)/IPv6()/Raw(\"x\" * 80)],iface=\"ens786f0\",count=1)\n+\n+mismatched packets::\n+\n+ sendp([Ether(dst=\"00:11:22:33:44:54\",type=0x8864)/PPPoE(sessionid=3)/PPP(proto=0x0057)/IPv6()/Raw(\"x\" * 80)],iface=\"ens786f0\",count=1)\n+ sendp([Ether(dst=\"00:11:22:33:44:55\",type=0x8864)/PPPoE(sessionid=4)/PPP(proto=0x0057)/IPv6()/Raw(\"x\" * 80)],iface=\"ens786f0\",count=1)\n+ sendp([Ether(dst=\"00:11:22:33:44:55\",type=0x8864)/PPPoE(sessionid=3)/PPP(proto=0x0021)/IP()/Raw(\"x\" * 80)],iface=\"ens786f0\",count=1)\n+\n+to queue action\n+---------------\n+\n+1. validate a rule::\n+\n+ testpmd> flow validate 0 ingress pattern eth dst is 00:11:22:33:44:55 / pppoes seid is 3 / pppoe_proto_id is 0x0057 / end actions queue index 2 / end\n+\n+ get the message::\n+\n+ Flow rule validated\n+\n+ check the flow list::\n+\n+ testpmd> flow list 0\n+\n+ check the rule not exists in the list.\n+\n+2. create a rule::\n+\n+ testpmd> flow create 0 ingress pattern eth dst is 00:11:22:33:44:55 / pppoes seid is 3 / pppoe_proto_id is 0x0057 / end actions queue index 2 / end\n+\n+ get the message::\n+\n+ Succeeded to create (2) flow\n+\n+ check the flow list::\n+\n+ testpmd> flow list 0\n+\n+ check the rule exists in the list.\n+\n+3. send matched packets, check the packet are distributed to queue 2.\n+ send mismatched packets, check the packets are not to queue 2.\n+\n+4. verify rules can be destroyed::\n+\n+ testpmd> flow destroy 0 rule 15360\n+ testpmd> flow list 0\n+\n+ check the rule not exists in the list.\n+ send matched packets, check the packets are not to queue 2.\n+\n+5. check the pattern in pipeline mode\n+\n+ validate a rule::\n+\n+ testpmd> flow validate 0 priority 0 ingress pattern eth dst is 00:11:22:33:44:55 / pppoes seid is 3 / pppoe_proto_id is 0x0057 / end actions queue index 2 / end\n+\n+ create a rule::\n+\n+ testpmd> flow create 0 priority 0 ingress pattern eth dst is 00:11:22:33:44:55 / pppoes seid is 3 / pppoe_proto_id is 0x0057 / end actions queue index 2 / end\n+\n+ repeat step 1-4 to check the pattern in pipeline mode.\n+\n+to queue group action\n+---------------------\n+\n+1. validate a rule::\n+\n+ testpmd> flow validate 0 ingress pattern eth dst is 00:11:22:33:44:55 / pppoes seid is 3 / pppoe_proto_id is 0x0057 / end actions rss queues 4 5 end / end\n+\n+ get the message::\n+\n+ Flow rule validated\n+\n+ check the flow list::\n+\n+ testpmd> flow list 0\n+\n+ check the rule not exists in the list.\n+\n+2. create a rule::\n+\n+ testpmd> flow create 0 ingress pattern eth dst is 00:11:22:33:44:55 / pppoes seid is 3 / pppoe_proto_id is 0x0057 / end actions rss queues 4 5 end / end\n+\n+ get the message::\n+\n+ Succeeded to create (2) flow\n+\n+ check the flow list::\n+\n+ testpmd> flow list 0\n+\n+ check the rule exists in the list.\n+\n+3. send matched packets, check the packet to queue 4 or 5.\n+ send mismatched packets, check the packet not to queue 4 and 5.\n+\n+4. verify rules can be destroyed::\n+\n+ testpmd> flow destroy 0 rule 15360\n+ testpmd> flow list 0\n+\n+ check the rule not exists in the list.\n+ send matched packets, check the packets are not to queue 4 and 5.\n+\n+5. check the pattern in pipeline mode\n+\n+ validate a rule::\n+\n+ testpmd> flow validate 0 priority 0 ingress pattern eth dst is 00:11:22:33:44:55 / pppoes seid is 3 / pppoe_proto_id is 0x0057 / end actions rss queues 4 5 end / end\n+\n+ create a rule::\n+\n+ testpmd> flow create 0 priority 0 ingress pattern eth dst is 00:11:22:33:44:55 / pppoes seid is 3 / pppoe_proto_id is 0x0057 / end actions rss queues 4 5 end / end\n+\n+ repeat step 1-4 to check the pattern in pipeline mode.\n+\n+drop action\n+-----------\n+\n+1. validate a rule::\n+\n+ testpmd> flow validate 0 ingress pattern eth dst is 00:11:22:33:44:55 / pppoes seid is 3 / pppoe_proto_id is 0x0057 / end actions drop / end\n+\n+ get the message::\n+\n+ Flow rule validated\n+\n+ check the flow list::\n+\n+ testpmd> flow list 0\n+\n+ check the rule not exists in the list.\n+\n+2. create a rule::\n+\n+ testpmd> flow create 0 ingress pattern eth dst is 00:11:22:33:44:55 / pppoes seid is 3 / pppoe_proto_id is 0x0057 / end actions drop / end\n+\n+ get the message::\n+\n+ Succeeded to create (2) flow\n+\n+ check the flow list::\n+\n+ testpmd> flow list 0\n+\n+ check the rule exists in the list.\n+\n+3. send matched packets, check the packet is dropped.\n+ send mismatched packets, check the packets are not dropped.\n+\n+4. verify rules can be destroyed::\n+\n+ testpmd> flow destroy 0 rule 15360\n+ testpmd> flow list 0\n+\n+ check the rule not exists in the list.\n+ send matched packets, check the packets are not dropped.\n+\n+5. check the pattern in pipeline mode\n+\n+ validate a rule::\n+\n+ testpmd> flow validate 0 priority 0 ingress pattern eth dst is 00:11:22:33:44:55 / pppoes seid is 3 / pppoe_proto_id is 0x0057 / end actions drop / end\n+\n+ create a rule::\n+\n+ testpmd> flow create 0 priority 0 ingress pattern eth dst is 00:11:22:33:44:55 / pppoes seid is 3 / pppoe_proto_id is 0x0057 / end actions drop / end\n+\n+ repeat step 1-4 to check the pattern in pipeline mode.\n+\n+Test case: PPPoE data\n+=====================\n+\n+Subcase 1: MAC_PPPOE_IPV4_PAY_IP_address\n+----------------------------------------\n+\n+matched packets::\n+\n+ sendp([Ether(dst=\"00:11:22:33:44:55\",type=0x8864)/PPPoE(sessionid=3)/PPP(proto=0x0021)/IP(src=\"192.168.1.1\", dst=\"192.168.1.2\")/Raw(\"x\"*80)],iface=\"ens786f0\",count=1)\n+\n+mismatched packets::\n+\n+ sendp([Ether(dst=\"00:11:22:33:44:55\",type=0x8864)/PPPoE(sessionid=3)/PPP(proto=0x0021)/IP(src=\"192.168.1.3\", dst=\"192.168.1.2\")/Raw(\"x\"*80)],iface=\"ens786f0\",count=1)\n+ sendp([Ether(dst=\"00:11:22:33:44:55\",type=0x8864)/PPPoE(sessionid=3)/PPP(proto=0x0021)/IP(src=\"192.168.1.1\", dst=\"192.168.1.4\")/Raw(\"x\"*80)],iface=\"ens786f0\",count=1)\n+\n+to queue action\n+................\n+\n+1. validate a rule::\n+\n+ testpmd> flow validate 0 ingress pattern eth / pppoes / ipv4 src is 192.168.1.1 dst is 192.168.1.2 / end actions queue index 2 / end\n+\n+ get the message::\n+\n+ Flow rule validated\n+\n+ check the flow list::\n+\n+ testpmd> flow list 0\n+\n+ check the rule not exists in the list.\n+\n+2. create a rule::\n+\n+ testpmd> flow create 0 ingress pattern eth / pppoes / ipv4 src is 192.168.1.1 dst is 192.168.1.2 / end actions queue index 2 / end\n+\n+ get the message::\n+\n+ Succeeded to create (2) flow\n+\n+ check the flow list::\n+\n+ testpmd> flow list 0\n+\n+ check the rule exists in the list.\n+\n+3. send matched packets, check the packets are to queue 2.\n+ send mismatched packets, check the packets are not to queue 2.\n+\n+4. verify rules can be destroyed::\n+\n+ testpmd> flow destroy 0 rule 15360\n+ testpmd> flow list 0\n+\n+ check the rule not exists in the list.\n+ send matched packets, check the packets are not to queue 2.\n+\n+5. check the pattern in pipeline mode\n+\n+ validate a rule::\n+\n+ testpmd> flow validate 0 priority 0 ingress pattern eth / pppoes / ipv4 src is 192.168.1.1 dst is 192.168.1.2 / end actions queue index 2 / end\n+\n+ create a rule::\n+\n+ testpmd> flow create 0 priority 0 ingress pattern eth / pppoes / ipv4 src is 192.168.1.1 dst is 192.168.1.2 / end actions queue index 2 / end\n+\n+ repeat step 1-4 to check the pattern in pipeline mode.\n+\n+to queue group action\n+......................\n+\n+1. validate a rule::\n+\n+ testpmd> flow validate 0 ingress pattern eth / pppoes / ipv4 src is 192.168.1.1 dst is 192.168.1.2 / end actions rss queues 2 3 end / end\n+\n+ get the message::\n+\n+ Flow rule validated\n+\n+ check the flow list::\n+\n+ testpmd> flow list 0\n+\n+ check the rule not exists in the list.\n+\n+2. create a rule::\n+\n+ testpmd> flow create 0 ingress pattern eth / pppoes / ipv4 src is 192.168.1.1 dst is 192.168.1.2 / end actions rss queues 2 3 end / end\n+\n+ get the message::\n+\n+ Succeeded to create (2) flow\n+\n+ check the flow list::\n+\n+ testpmd> flow list 0\n+\n+ check the rule exists in the list.\n+\n+3. send matched packets, check the packets are to queue 2 or 3.\n+ send mismatched packets, check the packets are not to queue 2 and 3.\n+\n+4. verify rules can be destroyed::\n+\n+ testpmd> flow destroy 0 rule 15360\n+ testpmd> flow list 0\n+\n+ check the rule not exists in the list.\n+ send matched packets, check the packets are not to queue 2 and 3.\n+\n+5. check the pattern in pipeline mode\n+\n+ validate a rule::\n+\n+ testpmd> flow validate 0 priority 0 ingress pattern eth / pppoes / ipv4 src is 192.168.1.1 dst is 192.168.1.2 / end actions rss queues 2 3 end / end\n+\n+ create a rule::\n+\n+ testpmd> flow create 0 priority 0 ingress pattern eth / pppoes / ipv4 src is 192.168.1.1 dst is 192.168.1.2 / end actions rss queues 2 3 end / end\n+\n+ repeat step 1-4 to check the pattern in pipeline mode.\n+\n+drop action\n+............\n+\n+1. validate a rule::\n+\n+ testpmd> flow validate 0 ingress pattern eth / pppoes / ipv4 src is 192.168.1.1 dst is 192.168.1.2 / end actions drop / end\n+\n+ get the message::\n+\n+ Flow rule validated\n+\n+ check the flow list::\n+\n+ testpmd> flow list 0\n+\n+ check the rule not exists in the list.\n+\n+2. create a rule::\n+\n+ testpmd> flow create 0 ingress pattern eth / pppoes / ipv4 src is 192.168.1.1 dst is 192.168.1.2 / end actions drop / end\n+\n+ get the message::\n+\n+ Succeeded to create (2) flow\n+\n+ check the flow list::\n+\n+ testpmd> flow list 0\n+\n+ check the rule exists in the list.\n+\n+3. send matched packets, check the packets are dropped.\n+ send mismatched packets, check the packets are not dropped.\n+\n+4. verify rules can be destroyed::\n+\n+ testpmd> flow destroy 0 rule 15360\n+ testpmd> flow list 0\n+\n+ check the rule not exists in the list.\n+ send matched packets, check the packets are not dropped.\n+\n+5. check the pattern in pipeline mode\n+\n+ validate a rule::\n+\n+ testpmd> flow validate 0 priority 0 ingress pattern eth / pppoes / ipv4 src is 192.168.1.1 dst is 192.168.1.2 / end actions drop / end\n+\n+ create a rule::\n+\n+ testpmd> flow create 0 priority 0 ingress pattern eth / pppoes / ipv4 src is 192.168.1.1 dst is 192.168.1.2 / end actions drop / end\n+\n+ repeat step 1-4 to check the pattern in pipeline mode.\n+\n+Subcase 2: MAC_PPPOE_IPV4_UDP_PAY\n+---------------------------------\n+\n+matched packets::\n+\n+ sendp([Ether(dst=\"00:11:22:33:44:55\",type=0x8864)/PPPoE(sessionid=3)/PPP(proto=0x0021)/IP(src=\"192.168.1.1\", dst=\"192.168.1.2\")/UDP(sport=25,dport=23)/Raw(\"x\" * 80)],iface=\"ens786f0\",count=1)\n+\n+mismatched packets::\n+\n+ sendp([Ether(dst=\"00:11:22:33:44:55\",type=0x8864)/PPPoE(sessionid=3)/PPP(proto=0x0021)/IP(src=\"192.168.1.3\", dst=\"192.168.1.2\")/UDP(sport=25,dport=23)/Raw(\"x\" * 80)],iface=\"ens786f0\",count=1)\n+ sendp([Ether(dst=\"00:11:22:33:44:55\",type=0x8864)/PPPoE(sessionid=3)/PPP(proto=0x0021)/IP(src=\"192.168.1.1\", dst=\"192.168.1.4\")/UDP(sport=25,dport=23)/Raw(\"x\" * 80)],iface=\"ens786f0\",count=1)\n+ sendp([Ether(dst=\"00:11:22:33:44:55\",type=0x8864)/PPPoE(sessionid=3)/PPP(proto=0x0021)/IP(src=\"192.168.1.1\", dst=\"192.168.1.2\")/UDP(sport=27,dport=23)/Raw(\"x\" * 80)],iface=\"ens786f0\",count=1)\n+ sendp([Ether(dst=\"00:11:22:33:44:55\",type=0x8864)/PPPoE(sessionid=3)/PPP(proto=0x0021)/IP(src=\"192.168.1.1\", dst=\"192.168.1.2\")/UDP(sport=25,dport=19)/Raw(\"x\" * 80)],iface=\"ens786f0\",count=1)\n+\n+to queue action\n+................\n+\n+1. validate a rule::\n+\n+ testpmd> flow validate 0 ingress pattern eth / pppoes / ipv4 src is 192.168.1.1 dst is 192.168.1.2 / udp src is 25 dst is 23 / end actions queue index 1 / end\n+\n+ get the message::\n+\n+ Flow rule validated\n+\n+ check the flow list::\n+\n+ testpmd> flow list 0\n+\n+ check the rule not exists in the list.\n+\n+2. create a rule::\n+\n+ testpmd> flow create 0 ingress pattern eth / pppoes / ipv4 src is 192.168.1.1 dst is 192.168.1.2 / udp src is 25 dst is 23 / end actions queue index 1 / end\n+\n+ get the message::\n+\n+ Succeeded to create (2) flow\n+\n+ check the flow list::\n+\n+ testpmd> flow list 0\n+\n+ check the rule exists in the list.\n+\n+3. send matched packets, check the packets are to queue 1.\n+ send mismatched packets, check the packets are not to queue 1.\n+\n+4. verify rules can be destroyed::\n+\n+ testpmd> flow destroy 0 rule 15360\n+ testpmd> flow list 0\n+\n+ check the rule not exists in the list.\n+ send matched packets, check the packets are not to queue 1.\n+\n+5. check the pattern in pipeline mode\n+\n+ validate a rule::\n+\n+ testpmd> flow validate 0 priority 0 ingress pattern eth / pppoes / ipv4 src is 192.168.1.1 dst is 192.168.1.2 / udp src is 25 dst is 23 / end actions queue index 1 / end\n+\n+ create a rule::\n+\n+ testpmd> flow create 0 priority 0 ingress pattern eth / pppoes / ipv4 src is 192.168.1.1 dst is 192.168.1.2 / udp src is 25 dst is 23 / end actions queue index 1 / end\n+\n+ repeat step 1-4 to check the pattern in pipeline mode.\n+\n+to queue group action\n+......................\n+\n+1. validate a rule::\n+\n+ testpmd> flow validate 0 ingress pattern eth / pppoes / ipv4 src is 192.168.1.1 dst is 192.168.1.2 / udp src is 25 dst is 23 / end actions rss queues 7 8 end / end\n+\n+ get the message::\n+\n+ Flow rule validated\n+\n+ check the flow list::\n+\n+ testpmd> flow list 0\n+\n+ check the rule not exists in the list.\n+\n+2. create a rule::\n+\n+ testpmd> flow create 0 ingress pattern eth / pppoes / ipv4 src is 192.168.1.1 dst is 192.168.1.2 / udp src is 25 dst is 23 / end actions rss queues 7 8 end / end\n+\n+ get the message::\n+\n+ Succeeded to create (2) flow\n+\n+ check the flow list::\n+\n+ testpmd> flow list 0\n+\n+ check the rule exists in the list.\n+\n+3. send matched packets, check the packets are to queue 7 or 8.\n+ send mismatched packets, check the packets are not to queue 7 and 8.\n+\n+4. verify rules can be destroyed::\n+\n+ testpmd> flow destroy 0 rule 15360\n+ testpmd> flow list 0\n+\n+ check the rule not exists in the list.\n+ send matched packets, check the packets are not to queue 7 and 8.\n+\n+5. check the pattern in pipeline mode\n+\n+ validate a rule::\n+\n+ testpmd> flow validate 0 priority 0 ingress pattern eth / pppoes / ipv4 src is 192.168.1.1 dst is 192.168.1.2 / udp src is 25 dst is 23 / end actions rss queues 7 8 end / end\n+\n+ create a rule::\n+\n+ testpmd> flow create 0 priority 0 ingress pattern eth / pppoes / ipv4 src is 192.168.1.1 dst is 192.168.1.2 / udp src is 25 dst is 23 / end actions rss queues 7 8 end / end\n+\n+ repeat step 1-4 to check the pattern in pipeline mode.\n+\n+drop action\n+............\n+\n+1. validate a rule::\n+\n+ testpmd> flow validate 0 ingress pattern eth / pppoes / ipv4 src is 192.168.1.1 dst is 192.168.1.2 / udp src is 25 dst is 23 / end actions drop / end\n+\n+ get the message::\n+\n+ Flow rule validated\n+\n+ check the flow list::\n+\n+ testpmd> flow list 0\n+\n+ check the rule not exists in the list.\n+\n+2. create a rule::\n+\n+ testpmd> flow create 0 ingress pattern eth / pppoes / ipv4 src is 192.168.1.1 dst is 192.168.1.2 / udp src is 25 dst is 23 / end actions drop / end\n+\n+ get the message::\n+\n+ Succeeded to create (2) flow\n+\n+ check the flow list::\n+\n+ testpmd> flow list 0\n+\n+ check the rule exists in the list.\n+\n+3. send matched packets, check the packets are dropped.\n+ send mismatched packets, check the packets are not dropped.\n+\n+4. verify rules can be destroyed::\n+\n+ testpmd> flow destroy 0 rule 15360\n+ testpmd> flow list 0\n+\n+ check the rule not exists in the list.\n+ send matched packets, check the packets are not dropped.\n+\n+5. check the pattern in pipeline mode\n+\n+ validate a rule::\n+\n+ testpmd> flow validate 0 priority 0 ingress pattern eth / pppoes / ipv4 src is 192.168.1.1 dst is 192.168.1.2 / udp src is 25 dst is 23 / end actions drop / end\n+\n+ create a rule::\n+\n+ testpmd> flow create 0 priority 0 ingress pattern eth / pppoes / ipv4 src is 192.168.1.1 dst is 192.168.1.2 / udp src is 25 dst is 23 / end actions drop / end\n+\n+ repeat step 1-4 to check the pattern in pipeline mode.\n+\n+Subcase 3: MAC_PPPOE_IPV4_UDP_PAY_non_src_dst_port\n+--------------------------------------------------\n+\n+matched packets::\n+\n+ sendp([Ether(dst=\"00:11:22:33:44:55\",type=0x8864)/PPPoE(sessionid=3)/PPP(proto=0x0021)/IP(src=\"192.168.1.1\", dst=\"192.168.1.2\")/UDP(sport=25,dport=23)/Raw(\"x\" * 80)],iface=\"ens786f0\",count=1)\n+\n+mismatched packets::\n+\n+ sendp([Ether(dst=\"00:11:22:33:44:55\",type=0x8864)/PPPoE(sessionid=3)/PPP(proto=0x0021)/IP(src=\"192.168.1.3\", dst=\"192.168.1.2\")/UDP(sport=25,dport=23)/Raw(\"x\" * 80)],iface=\"ens786f0\",count=1)\n+ sendp([Ether(dst=\"00:11:22:33:44:55\",type=0x8864)/PPPoE(sessionid=3)/PPP(proto=0x0021)/IP(src=\"192.168.1.1\", dst=\"192.168.1.4\")/UDP(sport=25,dport=23)/Raw(\"x\" * 80)],iface=\"ens786f0\",count=1)\n+ sendp([Ether(dst=\"00:11:22:33:44:55\",type=0x8864)/PPPoE(sessionid=3)/PPP(proto=0x0021)/IP(src=\"192.168.1.1\", dst=\"192.168.1.2\")/TCP(sport=25,dport=23)/Raw(\"x\" * 80)],iface=\"ens786f0\",count=1)\n+ sendp([Ether(dst=\"00:11:22:33:44:55\",type=0x8864)/PPPoE(sessionid=3)/PPP(proto=0x0021)/IP(src=\"192.168.1.1\", dst=\"192.168.1.2\")/Raw(\"x\" * 80)],iface=\"ens786f0\",count=1)\n+\n+to queue action\n+................\n+\n+1. validate a rule::\n+\n+ testpmd> flow validate 0 ingress pattern eth / pppoes / ipv4 src is 192.168.1.1 dst is 192.168.1.2 / udp / end actions queue index 2 / end\n+\n+ get the message::\n+\n+ Flow rule validated\n+\n+ check the flow list::\n+\n+ testpmd> flow list 0\n+\n+ check the rule not exists in the list.\n+\n+2. create a rule::\n+\n+ testpmd> flow create 0 ingress pattern eth / pppoes / ipv4 src is 192.168.1.1 dst is 192.168.1.2 / udp / end actions queue index 2 / end\n+\n+ get the message::\n+\n+ Succeeded to create (2) flow\n+\n+ check the flow list::\n+\n+ testpmd> flow list 0\n+\n+ check the rule exists in the list.\n+\n+3. send matched packets, check the packets are to queue 2.\n+ send mismatched packets, check the packets are not to queue 2.\n+\n+4. verify rules can be destroyed::\n+\n+ testpmd> flow destroy 0 rule 15360\n+ testpmd> flow list 0\n+\n+ check the rule not exists in the list.\n+ send matched packets, check the packets are not to queue 2.\n+\n+5. check the pattern in pipeline mode\n+\n+ validate a rule::\n+\n+ testpmd> flow validate 0 priority 0 ingress pattern eth / pppoes / ipv4 src is 192.168.1.1 dst is 192.168.1.2 / udp / end actions queue index 2 / end\n+\n+ create a rule::\n+\n+ testpmd> flow create 0 priority 0 ingress pattern eth / pppoes / ipv4 src is 192.168.1.1 dst is 192.168.1.2 / udp / end actions queue index 2 / end\n+\n+ repeat step 1-4 to check the pattern in pipeline mode.\n+\n+to queue group action\n+......................\n+\n+1. validate a rule::\n+\n+ testpmd> flow validate 0 ingress pattern eth / pppoes / ipv4 src is 192.168.1.1 dst is 192.168.1.2 / udp / end actions rss queues 2 3 end / end\n+\n+ get the message::\n+\n+ Flow rule validated\n+\n+ check the flow list::\n+\n+ testpmd> flow list 0\n+\n+ check the rule not exists in the list.\n+\n+2. create a rule::\n+\n+ testpmd> flow create 0 ingress pattern eth / pppoes / ipv4 src is 192.168.1.1 dst is 192.168.1.2 / udp / end actions rss queues 2 3 end / end\n+\n+ get the message::\n+\n+ Succeeded to create (2) flow\n+\n+ check the flow list::\n+\n+ testpmd> flow list 0\n+\n+ check the rule exists in the list.\n+\n+3. send matched packets, check the packets are to queue 2 or 3.\n+ send mismatched packets, check the packets are not to queue 2 and 3.\n+\n+4. verify rules can be destroyed::\n+\n+ testpmd> flow destroy 0 rule 15360\n+ testpmd> flow list 0\n+\n+ check the rule not exists in the list.\n+ send matched packets, check the packets are not to queue 2 and 3.\n+\n+5. check the pattern in pipeline mode\n+\n+ validate a rule::\n+\n+ testpmd> flow validate 0 priority 0 ingress pattern eth / pppoes / ipv4 src is 192.168.1.1 dst is 192.168.1.2 / udp / end actions rss queues 2 3 end / end\n+\n+ create a rule::\n+\n+ testpmd> flow create 0 priority 0 ingress pattern eth / pppoes / ipv4 src is 192.168.1.1 dst is 192.168.1.2 / udp / end actions rss queues 2 3 end / end\n+\n+ repeat step 1-4 to check the pattern in pipeline mode.\n+\n+drop action\n+............\n+\n+1. validate a rule::\n+\n+ testpmd> flow validate 0 ingress pattern eth / pppoes / ipv4 src is 192.168.1.1 dst is 192.168.1.2 / udp / end actions drop / end\n+\n+ get the message::\n+\n+ Flow rule validated\n+\n+ check the flow list::\n+\n+ testpmd> flow list 0\n+\n+ check the rule not exists in the list.\n+\n+2. create a rule::\n+\n+ testpmd> flow create 0 ingress pattern eth / pppoes / ipv4 src is 192.168.1.1 dst is 192.168.1.2 / udp / end actions drop / end\n+\n+ get the message::\n+\n+ Succeeded to create (2) flow\n+\n+ check the flow list::\n+\n+ testpmd> flow list 0\n+\n+ check the rule exists in the list.\n+\n+3. send matched packets, check the packets are dropped.\n+ send mismatched packets, check the packets are not dropped.\n+\n+4. verify rules can be destroyed::\n+\n+ testpmd> flow destroy 0 rule 15360\n+ testpmd> flow list 0\n+\n+ check the rule not exists in the list.\n+ send matched packets, check the packets are not dropped.\n+\n+5. check the pattern in pipeline mode\n+\n+ validate a rule::\n+\n+ testpmd> flow validate 0 priority 0 ingress pattern eth / pppoes / ipv4 src is 192.168.1.1 dst is 192.168.1.2 / udp / end actions drop / end\n+\n+ create a rule::\n+\n+ testpmd> flow create 0 priority 0 ingress pattern eth / pppoes / ipv4 src is 192.168.1.1 dst is 192.168.1.2 / udp / end actions drop / end\n+\n+ repeat step 1-4 to check the pattern in pipeline mode.\n+\n+Subcase 4: MAC_PPPOE_IPV4_TCP_PAY\n+---------------------------------\n+\n+matched packets::\n+\n+ sendp([Ether(dst=\"00:11:22:33:44:55\",type=0x8864)/PPPoE(sessionid=3)/PPP(proto=0x0021)/IP(src=\"192.168.1.1\", dst=\"192.168.1.2\")/TCP(sport=25,dport=23)/Raw(\"x\" * 80)],iface=\"ens786f0\",count=1)\n+\n+mismatched packets::\n+\n+ sendp([Ether(dst=\"00:11:22:33:44:55\",type=0x8864)/PPPoE(sessionid=3)/PPP(proto=0x0021)/IP(src=\"192.168.1.3\", dst=\"192.168.1.2\")/TCP(sport=25,dport=23)/Raw(\"x\" * 80)],iface=\"ens786f0\",count=1)\n+ sendp([Ether(dst=\"00:11:22:33:44:55\",type=0x8864)/PPPoE(sessionid=3)/PPP(proto=0x0021)/IP(src=\"192.168.1.1\", dst=\"192.168.1.4\")/TCP(sport=25,dport=23)/Raw(\"x\" * 80)],iface=\"ens786f0\",count=1)\n+ sendp([Ether(dst=\"00:11:22:33:44:55\",type=0x8864)/PPPoE(sessionid=3)/PPP(proto=0x0021)/IP(src=\"192.168.1.1\", dst=\"192.168.1.2\")/TCP(sport=27,dport=23)/Raw(\"x\" * 80)],iface=\"ens786f0\",count=1)\n+ sendp([Ether(dst=\"00:11:22:33:44:55\",type=0x8864)/PPPoE(sessionid=3)/PPP(proto=0x0021)/IP(src=\"192.168.1.1\", dst=\"192.168.1.2\")/TCP(sport=25,dport=19)/Raw(\"x\" * 80)],iface=\"ens786f0\",count=1)\n+\n+to queue action\n+................\n+\n+1. validate a rule::\n+\n+ testpmd> flow validate 0 ingress pattern eth / pppoes / ipv4 src is 192.168.1.1 dst is 192.168.1.2 / tcp src is 25 dst is 23 / end actions queue index 1 / end\n+\n+ get the message::\n+\n+ Flow rule validated\n+\n+ check the flow list::\n+\n+ testpmd> flow list 0\n+\n+ check the rule not exists in the list.\n+\n+2. create a rule::\n+\n+ testpmd> flow create 0 ingress pattern eth / pppoes / ipv4 src is 192.168.1.1 dst is 192.168.1.2 / tcp src is 25 dst is 23 / end actions queue index 1 / end\n+\n+ get the message::\n+\n+ Succeeded to create (2) flow\n+\n+ check the flow list::\n+\n+ testpmd> flow list 0\n+\n+ check the rule exists in the list.\n+\n+3. send matched packets, check the packets are to queue 1.\n+ send mismatched packets, check the packets are not to queue 1.\n+\n+4. verify rules can be destroyed::\n+\n+ testpmd> flow destroy 0 rule 15360\n+ testpmd> flow list 0\n+\n+ check the rule not exists in the list.\n+ send matched packets, check the packets are not to queue 1.\n+\n+5. check the pattern in pipeline mode\n+\n+ validate a rule::\n+\n+ testpmd> flow validate 0 priority 0 ingress pattern eth / pppoes / ipv4 src is 192.168.1.1 dst is 192.168.1.2 / tcp src is 25 dst is 23 / end actions queue index 1 / end\n+\n+ create a rule::\n+\n+ testpmd> flow create 0 priority 0 ingress pattern eth / pppoes / ipv4 src is 192.168.1.1 dst is 192.168.1.2 / tcp src is 25 dst is 23 / end actions queue index 1 / end\n+\n+ repeat step 1-4 to check the pattern in pipeline mode.\n+\n+to queue group action\n+......................\n+\n+1. validate a rule::\n+\n+ testpmd> flow validate 0 ingress pattern eth / pppoes / ipv4 src is 192.168.1.1 dst is 192.168.1.2 / tcp src is 25 dst is 23 / end actions rss queues 7 8 end / end\n+\n+ get the message::\n+\n+ Flow rule validated\n+\n+ check the flow list::\n+\n+ testpmd> flow list 0\n+\n+ check the rule not exists in the list.\n+\n+2. create a rule::\n+\n+ testpmd> flow create 0 ingress pattern eth / pppoes / ipv4 src is 192.168.1.1 dst is 192.168.1.2 / tcp src is 25 dst is 23 / end actions rss queues 7 8 end / end\n+\n+ get the message::\n+\n+ Succeeded to create (2) flow\n+\n+ check the flow list::\n+\n+ testpmd> flow list 0\n+\n+ check the rule exists in the list.\n+\n+3. send matched packets, check the packets are to queue 7 or 8.\n+ send mismatched packets, check the packets are not to queue 7 and 8.\n+\n+4. verify rules can be destroyed::\n+\n+ testpmd> flow destroy 0 rule 15360\n+ testpmd> flow list 0\n+\n+ check the rule not exists in the list.\n+ send matched packets, check the packets are not to queue 7 and 8.\n+\n+5. check the pattern in pipeline mode\n+\n+ validate a rule::\n+\n+ testpmd> flow validate 0 priority 0 ingress pattern eth / pppoes / ipv4 src is 192.168.1.1 dst is 192.168.1.2 / tcp src is 25 dst is 23 / end actions rss queues 7 8 end / end\n+\n+ create a rule::\n+\n+ testpmd> flow create 0 priority 0 ingress pattern eth / pppoes / ipv4 src is 192.168.1.1 dst is 192.168.1.2 / tcp src is 25 dst is 23 / end actions rss queues 7 8 end / end\n+\n+ repeat step 1-4 to check the pattern in pipeline mode.\n+\n+drop action\n+............\n+\n+1. validate a rule::\n+\n+ testpmd> flow validate 0 ingress pattern eth / pppoes / ipv4 src is 192.168.1.1 dst is 192.168.1.2 / tcp src is 25 dst is 23 / end actions drop / end\n+\n+ get the message::\n+\n+ Flow rule validated\n+\n+ check the flow list::\n+\n+ testpmd> flow list 0\n+\n+ check the rule not exists in the list.\n+\n+2. create a rule::\n+\n+ testpmd> flow create 0 ingress pattern eth / pppoes / ipv4 src is 192.168.1.1 dst is 192.168.1.2 / tcp src is 25 dst is 23 / end actions drop / end\n+\n+ get the message::\n+\n+ Succeeded to create (2) flow\n+\n+ check the flow list::\n+\n+ testpmd> flow list 0\n+\n+ check the rule exists in the list.\n+\n+3. send matched packets, check the packets are dropped.\n+ send mismatched packets, check the packets are not dropped.\n+\n+4. verify rules can be destroyed::\n+\n+ testpmd> flow destroy 0 rule 15360\n+ testpmd> flow list 0\n+\n+ check the rule not exists in the list.\n+ send matched packets, check the packets are not dropped.\n+\n+5. check the pattern in pipeline mode\n+\n+ validate a rule::\n+\n+ testpmd> flow validate 0 priority 0 ingress pattern eth / pppoes / ipv4 src is 192.168.1.1 dst is 192.168.1.2 / tcp src is 25 dst is 23 / end actions drop / end\n+\n+ create a rule::\n+\n+ testpmd> flow create 0 priority 0 ingress pattern eth / pppoes / ipv4 src is 192.168.1.1 dst is 192.168.1.2 / tcp src is 25 dst is 23 / end actions drop / end\n+\n+ repeat step 1-4 to check the pattern in pipeline mode.\n+\n+Subcase 5: MAC_PPPOE_IPV4_TCP_PAY_non_src_dst_port\n+--------------------------------------------------\n+\n+matched packets::\n+\n+ sendp([Ether(dst=\"00:11:22:33:44:55\",type=0x8864)/PPPoE(sessionid=3)/PPP(proto=0x0021)/IP(src=\"192.168.1.1\", dst=\"192.168.1.2\")/TCP(sport=25,dport=23)/Raw(\"x\" * 80)],iface=\"ens786f0\",count=1)\n+\n+mismatched packets::\n+\n+ sendp([Ether(dst=\"00:11:22:33:44:55\",type=0x8864)/PPPoE(sessionid=3)/PPP(proto=0x0021)/IP(src=\"192.168.1.3\", dst=\"192.168.1.2\")/TCP(sport=25,dport=23)/Raw(\"x\" * 80)],iface=\"ens786f0\",count=1)\n+ sendp([Ether(dst=\"00:11:22:33:44:55\",type=0x8864)/PPPoE(sessionid=3)/PPP(proto=0x0021)/IP(src=\"192.168.1.1\", dst=\"192.168.1.4\")/TCP(sport=25,dport=23)/Raw(\"x\" * 80)],iface=\"ens786f0\",count=1)\n+ sendp([Ether(dst=\"00:11:22:33:44:55\",type=0x8864)/PPPoE(sessionid=3)/PPP(proto=0x0021)/IP(src=\"192.168.1.1\", dst=\"192.168.1.2\")/UDP(sport=25,dport=23)/Raw(\"x\" * 80)],iface=\"ens786f0\",count=1)\n+ sendp([Ether(dst=\"00:11:22:33:44:55\",type=0x8864)/PPPoE(sessionid=3)/PPP(proto=0x0021)/IP(src=\"192.168.1.1\", dst=\"192.168.1.2\")/Raw(\"x\" * 80)],iface=\"ens786f0\",count=1)\n+\n+to queue action\n+................\n+\n+1. validate a rule::\n+\n+ testpmd> flow validate 0 ingress pattern eth / pppoes / ipv4 src is 192.168.1.1 dst is 192.168.1.2 / tcp / end actions queue index 2 / end\n+\n+ get the message::\n+\n+ Flow rule validated\n+\n+ check the flow list::\n+\n+ testpmd> flow list 0\n+\n+ check the rule not exists in the list.\n+\n+2. create a rule::\n+\n+ testpmd> flow create 0 ingress pattern eth / pppoes / ipv4 src is 192.168.1.1 dst is 192.168.1.2 / tcp / end actions queue index 2 / end\n+\n+ get the message::\n+\n+ Succeeded to create (2) flow\n+\n+ check the flow list::\n+\n+ testpmd> flow list 0\n+\n+ check the rule exists in the list.\n+\n+3. send matched packets, check the packets are to queue 2.\n+ send mismatched packets, check the packets are not to queue 2.\n+\n+4. verify rules can be destroyed::\n+\n+ testpmd> flow destroy 0 rule 15360\n+ testpmd> flow list 0\n+\n+ check the rule not exists in the list.\n+ send matched packets, check the packets are not to queue 2.\n+\n+5. check the pattern in pipeline mode\n+\n+ validate a rule::\n+\n+ testpmd> flow validate 0 priority 0 ingress pattern eth / pppoes / ipv4 src is 192.168.1.1 dst is 192.168.1.2 / tcp / end actions queue index 2 / end\n+\n+ create a rule::\n+\n+ testpmd> flow create 0 priority 0 ingress pattern eth / pppoes / ipv4 src is 192.168.1.1 dst is 192.168.1.2 / tcp / end actions queue index 2 / end\n+\n+ repeat step 1-4 to check the pattern in pipeline mode.\n+\n+to queue group action\n+......................\n+\n+1. validate a rule::\n+\n+ testpmd> flow validate 0 ingress pattern eth / pppoes / ipv4 src is 192.168.1.1 dst is 192.168.1.2 / tcp / end actions rss queues 7 8 end / end\n+\n+ get the message::\n+\n+ Flow rule validated\n+\n+ check the flow list::\n+\n+ testpmd> flow list 0\n+\n+ check the rule not exists in the list.\n+\n+2. create a rule::\n+\n+ testpmd> flow create 0 ingress pattern eth / pppoes / ipv4 src is 192.168.1.1 dst is 192.168.1.2 / tcp / end actions rss queues 7 8 end / end\n+\n+ get the message::\n+\n+ Succeeded to create (2) flow\n+\n+ check the flow list::\n+\n+ testpmd> flow list 0\n+\n+ check the rule exists in the list.\n+\n+3. send matched packets, check the packets are to queue 7 or 8.\n+ send mismatched packets, check the packets are not to queue 7 and 8.\n+\n+4. verify rules can be destroyed::\n+\n+ testpmd> flow destroy 0 rule 15360\n+ testpmd> flow list 0\n+\n+ check the rule not exists in the list.\n+ send matched packets, check the packets are not to queue 7 and 8.\n+\n+5. check the pattern in pipeline mode\n+\n+ validate a rule::\n+\n+ testpmd> flow validate 0 priority 0 ingress pattern eth / pppoes / ipv4 src is 192.168.1.1 dst is 192.168.1.2 / tcp / end actions rss queues 7 8 end / end\n+\n+ create a rule::\n+\n+ testpmd> flow create 0 priority 0 ingress pattern eth / pppoes / ipv4 src is 192.168.1.1 dst is 192.168.1.2 / tcp / end actions rss queues 7 8 end / end\n+\n+ repeat step 1-4 to check the pattern in pipeline mode.\n+\n+drop action\n+............\n+\n+1. validate a rule::\n+\n+ testpmd> flow validate 0 ingress pattern eth / pppoes / ipv4 src is 192.168.1.1 dst is 192.168.1.2 / tcp / end actions drop / end\n+\n+ get the message::\n+\n+ Flow rule validated\n+\n+ check the flow list::\n+\n+ testpmd> flow list 0\n+\n+ check the rule not exists in the list.\n+\n+2. create a rule::\n+\n+ testpmd> flow create 0 ingress pattern eth / pppoes / ipv4 src is 192.168.1.1 dst is 192.168.1.2 / tcp / end actions drop / end\n+\n+ get the message::\n+\n+ Succeeded to create (2) flow\n+\n+ check the flow list::\n+\n+ testpmd> flow list 0\n+\n+ check the rule exists in the list.\n+\n+3. send matched packets, check the packets are dropped.\n+ send mismatched packets, check the packets are not dropped.\n+\n+4. verify rules can be destroyed::\n+\n+ testpmd> flow destroy 0 rule 15360\n+ testpmd> flow list 0\n+\n+ check the rule not exists in the list.\n+ send matched packets, check the packets are not dropped.\n+\n+5. check the pattern in pipeline mode\n+\n+ validate a rule::\n+\n+ testpmd> flow validate 0 priority 0 ingress pattern eth / pppoes / ipv4 src is 192.168.1.1 dst is 192.168.1.2 / tcp / end actions drop / end\n+\n+ create a rule::\n+\n+ testpmd> flow create 0 priority 0 ingress pattern eth / pppoes / ipv4 src is 192.168.1.1 dst is 192.168.1.2 / tcp / end actions drop / end\n+\n+ repeat step 1-4 to check the pattern in pipeline mode.\n+\n+Subcase 6: MAC_PPPOE_IPV6_PAY_IP_address\n+----------------------------------------\n+\n+matched packets::\n+\n+ sendp([Ether(src=\"11:22:33:44:55:99\",dst=\"00:11:22:33:44:55\",type=0x8864)/PPPoE(sessionid=3)/PPP(proto=0x0057)/IPv6(src=\"CDCD:910A:2222:5498:8475:1111:3900:1536\", dst=\"CDCD:910A:2222:5498:8475:1111:3900:2022\")/Raw(\"x\"*80)],iface=\"ens786f0\",count=1)\n+\n+mismatched packets::\n+\n+ sendp([Ether(src=\"11:22:33:44:55:99\",dst=\"00:11:22:33:44:55\",type=0x8864)/PPPoE(sessionid=3)/PPP(proto=0x0057)/IPv6(src=\"CDCD:910A:2222:5498:8475:1111:3900:1537\", dst=\"CDCD:910A:2222:5498:8475:1111:3900:2022\")/Raw(\"x\"*80)],iface=\"ens786f0\",count=1)\n+ sendp([Ether(src=\"11:22:33:44:55:99\",dst=\"00:11:22:33:44:55\",type=0x8864)/PPPoE(sessionid=3)/PPP(proto=0x0057)/IPv6(src=\"CDCD:910A:2222:5498:8475:1111:3900:1536\", dst=\"CDCD:910A:2222:5498:8475:1111:3900:2023\")/Raw(\"x\"*80)],iface=\"ens786f0\",count=1)\n+\n+to queue action\n+................\n+\n+1. validate a rule::\n+\n+ testpmd> flow validate 0 ingress pattern eth / pppoes / ipv6 src is CDCD:910A:2222:5498:8475:1111:3900:1536 dst is CDCD:910A:2222:5498:8475:1111:3900:2022 / end actions queue index 1 / end\n+\n+ get the message::\n+\n+ Flow rule validated\n+\n+ check the flow list::\n+\n+ testpmd> flow list 0\n+\n+ check the rule not exists in the list.\n+\n+2. create a rule::\n+\n+ testpmd> flow create 0 ingress pattern eth / pppoes / ipv6 src is CDCD:910A:2222:5498:8475:1111:3900:1536 dst is CDCD:910A:2222:5498:8475:1111:3900:2022 / end actions queue index 1 / end\n+\n+ get the message::\n+\n+ Succeeded to create (2) flow\n+\n+ check the flow list::\n+\n+ testpmd> flow list 0\n+\n+ check the rule exists in the list.\n+\n+3. send matched packets, check the packets are to queue 1.\n+ send mismatched packets, check the packets are not to queue 1.\n+\n+4. verify rules can be destroyed::\n+\n+ testpmd> flow destroy 0 rule 15360\n+ testpmd> flow list 0\n+\n+ check the rule not exists in the list.\n+ send matched packets, check the packets are not to queue 1.\n+\n+5. check the pattern in pipeline mode\n+\n+ validate a rule::\n+\n+ testpmd> flow validate 0 priority 0 ingress pattern eth / pppoes / ipv6 src is CDCD:910A:2222:5498:8475:1111:3900:1536 dst is CDCD:910A:2222:5498:8475:1111:3900:2022 / end actions queue index 1 / end\n+\n+ create a rule::\n+\n+ testpmd> flow create 0 priority 0 ingress pattern eth / pppoes / ipv6 src is CDCD:910A:2222:5498:8475:1111:3900:1536 dst is CDCD:910A:2222:5498:8475:1111:3900:2022 / end actions queue index 1 / end\n+\n+ repeat step 1-4 to check the pattern in pipeline mode.\n+\n+to queue group action\n+......................\n+\n+1. validate a rule::\n+\n+ testpmd> flow validate 0 ingress pattern eth / pppoes / ipv6 src is CDCD:910A:2222:5498:8475:1111:3900:1536 dst is CDCD:910A:2222:5498:8475:1111:3900:2022 / end actions rss queues 2 3 end / end\n+\n+ get the message::\n+\n+ Flow rule validated\n+\n+ check the flow list::\n+\n+ testpmd> flow list 0\n+\n+ check the rule not exists in the list.\n+\n+2. create a rule::\n+\n+ testpmd> flow create 0 ingress pattern eth / pppoes / ipv6 src is CDCD:910A:2222:5498:8475:1111:3900:1536 dst is CDCD:910A:2222:5498:8475:1111:3900:2022 / end actions rss queues 2 3 end / end\n+\n+ get the message::\n+\n+ Succeeded to create (2) flow\n+\n+ check the flow list::\n+\n+ testpmd> flow list 0\n+\n+ check the rule exists in the list.\n+\n+3. send matched packets, check the packets are to queue 2 or 3.\n+ send mismatched packets, check the packets are not to queue 2 and 3.\n+\n+4. verify rules can be destroyed::\n+\n+ testpmd> flow destroy 0 rule 15360\n+ testpmd> flow list 0\n+\n+ check the rule not exists in the list.\n+ send matched packets, check the packets are not to queue 2 and 3.\n+\n+5. check the pattern in pipeline mode\n+\n+ validate a rule::\n+\n+ testpmd> flow validate 0 priority 0 ingress pattern eth / pppoes / ipv6 src is CDCD:910A:2222:5498:8475:1111:3900:1536 dst is CDCD:910A:2222:5498:8475:1111:3900:2022 / end actions rss queues 2 3 end / end\n+\n+ create a rule::\n+\n+ testpmd> flow create 0 priority 0 ingress pattern eth / pppoes / ipv6 src is CDCD:910A:2222:5498:8475:1111:3900:1536 dst is CDCD:910A:2222:5498:8475:1111:3900:2022 / end actions rss queues 2 3 end / end\n+\n+ repeat step 1-4 to check the pattern in pipeline mode.\n+\n+drop action\n+............\n+\n+1. validate a rule::\n+\n+ testpmd> flow validate 0 ingress pattern eth / pppoes / ipv6 src is CDCD:910A:2222:5498:8475:1111:3900:1536 dst is CDCD:910A:2222:5498:8475:1111:3900:2022 / end actions drop / end\n+\n+ get the message::\n+\n+ Flow rule validated\n+\n+ check the flow list::\n+\n+ testpmd> flow list 0\n+\n+ check the rule not exists in the list.\n+\n+2. create a rule::\n+\n+ testpmd> flow create 0 ingress pattern eth / pppoes / ipv6 src is CDCD:910A:2222:5498:8475:1111:3900:1536 dst is CDCD:910A:2222:5498:8475:1111:3900:2022 / end actions drop / end\n+\n+ get the message::\n+\n+ Succeeded to create (2) flow\n+\n+ check the flow list::\n+\n+ testpmd> flow list 0\n+\n+ check the rule exists in the list.\n+\n+3. send matched packets, check the packets are dropped.\n+ send mismatched packets, check the packets are not dropped.\n+\n+4. verify rules can be destroyed::\n+\n+ testpmd> flow destroy 0 rule 15360\n+ testpmd> flow list 0\n+\n+ check the rule not exists in the list.\n+ send matched packets, check the packets are not dropped.\n+\n+5. check the pattern in pipeline mode\n+\n+ validate a rule::\n+\n+ testpmd> flow validate 0 priority 0 ingress pattern eth / pppoes / ipv6 src is CDCD:910A:2222:5498:8475:1111:3900:1536 dst is CDCD:910A:2222:5498:8475:1111:3900:2022 / end actions drop / end\n+\n+ create a rule::\n+\n+ testpmd> flow create 0 priority 0 ingress pattern eth / pppoes / ipv6 src is CDCD:910A:2222:5498:8475:1111:3900:1536 dst is CDCD:910A:2222:5498:8475:1111:3900:2022 / end actions drop / end\n+\n+ repeat step 1-4 to check the pattern in pipeline mode.\n+\n+Subcase 7: MAC_PPPOE_IPV6_UDP_PAY\n+---------------------------------\n+\n+matched packets::\n+\n+ sendp([Ether(src=\"11:22:33:44:55:99\",dst=\"00:11:22:33:44:55\",type=0x8864)/PPPoE(sessionid=3)/PPP(proto=0x0057)/IPv6(src=\"CDCD:910A:2222:5498:8475:1111:3900:1536\", dst=\"CDCD:910A:2222:5498:8475:1111:3900:2022\")/UDP(sport=25,dport=23)/Raw(\"x\" * 80)],iface=\"ens786f0\",count=1)\n+\n+mismatched packets::\n+\n+ sendp([Ether(src=\"11:22:33:44:55:99\",dst=\"00:11:22:33:44:55\",type=0x8864)/PPPoE(sessionid=3)/PPP(proto=0x0057)/IPv6(src=\"CDCD:910A:2222:5498:8475:1111:3900:1536\", dst=\"CDCD:910A:2222:5498:8475:1111:3900:2023\")/UDP(sport=25,dport=23)/Raw(\"x\" * 80)],iface=\"ens786f0\",count=1)\n+ sendp([Ether(src=\"11:22:33:44:55:99\",dst=\"00:11:22:33:44:55\",type=0x8864)/PPPoE(sessionid=3)/PPP(proto=0x0057)/IPv6(src=\"CDCD:910A:2222:5498:8475:1111:3900:1536\", dst=\"CDCD:910A:2222:5498:8475:1111:3900:2022\")/UDP(sport=27,dport=23)/Raw(\"x\" * 80)],iface=\"ens786f0\",count=1)\n+ sendp([Ether(src=\"11:22:33:44:55:99\",dst=\"00:11:22:33:44:55\",type=0x8864)/PPPoE(sessionid=3)/PPP(proto=0x0057)/IPv6(src=\"CDCD:910A:2222:5498:8475:1111:3900:1536\", dst=\"CDCD:910A:2222:5498:8475:1111:3900:2022\")/UDP(sport=25,dport=19)/Raw(\"x\" * 80)],iface=\"ens786f0\",count=1)\n+\n+to queue action\n+................\n+\n+1. validate a rule::\n+\n+ testpmd> flow validate 0 ingress pattern eth / pppoes / ipv6 dst is CDCD:910A:2222:5498:8475:1111:3900:2022 / udp src is 25 dst is 23 / end actions queue index 1 / end\n+\n+ get the message::\n+\n+ Flow rule validated\n+\n+ check the flow list::\n+\n+ testpmd> flow list 0\n+\n+ check the rule not exists in the list.\n+\n+2. create a rule::\n+\n+ testpmd> flow create 0 ingress pattern eth / pppoes / ipv6 dst is CDCD:910A:2222:5498:8475:1111:3900:2022 / udp src is 25 dst is 23 / end actions queue index 1 / end\n+\n+ get the message::\n+\n+ Succeeded to create (2) flow\n+\n+ check the flow list::\n+\n+ testpmd> flow list 0\n+\n+ check the rule exists in the list.\n+\n+3. send matched packets, check the packets are to queue 1.\n+ send mismatched packets, check the packets are not to queue 1.\n+\n+4. verify rules can be destroyed::\n+\n+ testpmd> flow destroy 0 rule 15360\n+ testpmd> flow list 0\n+\n+ check the rule not exists in the list.\n+ send matched packets, check the packets are not to queue 1.\n+\n+5. check the pattern in pipeline mode\n+\n+ validate a rule::\n+\n+ testpmd> flow validate 0 priority 0 ingress pattern eth / pppoes / ipv6 dst is CDCD:910A:2222:5498:8475:1111:3900:2022 / udp src is 25 dst is 23 / end actions queue index 1 / end\n+\n+ create a rule::\n+\n+ testpmd> flow create 0 priority 0 ingress pattern eth / pppoes / ipv6 dst is CDCD:910A:2222:5498:8475:1111:3900:2022 / udp src is 25 dst is 23 / end actions queue index 1 / end\n+\n+ repeat step 1-4 to check the pattern in pipeline mode.\n+\n+to queue group action\n+......................\n+\n+1. validate a rule::\n+\n+ testpmd> flow validate 0 ingress pattern eth / pppoes / ipv6 dst is CDCD:910A:2222:5498:8475:1111:3900:2022 / udp src is 25 dst is 23 / end actions rss queues 4 5 end / end\n+\n+ get the message::\n+\n+ Flow rule validated\n+\n+ check the flow list::\n+\n+ testpmd> flow list 0\n+\n+ check the rule not exists in the list.\n+\n+2. create a rule::\n+\n+ testpmd> flow create 0 ingress pattern eth / pppoes / ipv6 dst is CDCD:910A:2222:5498:8475:1111:3900:2022 / udp src is 25 dst is 23 / end actions rss queues 4 5 end / end\n+\n+ get the message::\n+\n+ Succeeded to create (2) flow\n+\n+ check the flow list::\n+\n+ testpmd> flow list 0\n+\n+ check the rule exists in the list.\n+\n+3. send matched packets, check the packets are to queue 4 or 5.\n+ send mismatched packets, check the packets are not to queue 4 and 5.\n+\n+4. verify rules can be destroyed::\n+\n+ testpmd> flow destroy 0 rule 15360\n+ testpmd> flow list 0\n+\n+ check the rule not exists in the list.\n+ send matched packets, check the packets are not to queue 4 and 5.\n+\n+5. check the pattern in pipeline mode\n+\n+ validate a rule::\n+\n+ testpmd> flow validate 0 priority 0 ingress pattern eth / pppoes / ipv6 dst is CDCD:910A:2222:5498:8475:1111:3900:2022 / udp src is 25 dst is 23 / end actions rss queues 4 5 end / end\n+\n+ create a rule::\n+\n+ testpmd> flow create 0 priority 0 ingress pattern eth / pppoes / ipv6 dst is CDCD:910A:2222:5498:8475:1111:3900:2022 / udp src is 25 dst is 23 / end actions rss queues 4 5 end / end\n+\n+ repeat step 1-4 to check the pattern in pipeline mode.\n+\n+drop action\n+............\n+\n+1. validate a rule::\n+\n+ testpmd> flow validate 0 ingress pattern eth / pppoes / ipv6 dst is CDCD:910A:2222:5498:8475:1111:3900:2022 / udp src is 25 dst is 23 / end actions drop / end\n+\n+ get the message::\n+\n+ Flow rule validated\n+\n+ check the flow list::\n+\n+ testpmd> flow list 0\n+\n+ check the rule not exists in the list.\n+\n+2. create a rule::\n+\n+ testpmd> flow create 0 ingress pattern eth / pppoes / ipv6 dst is CDCD:910A:2222:5498:8475:1111:3900:2022 / udp src is 25 dst is 23 / end actions drop / end\n+\n+ get the message::\n+\n+ Succeeded to create (2) flow\n+\n+ check the flow list::\n+\n+ testpmd> flow list 0\n+\n+ check the rule exists in the list.\n+\n+3. send matched packets, check the packets are dropped.\n+ send mismatched packets, check the packets are not dropped.\n+\n+4. verify rules can be destroyed::\n+\n+ testpmd> flow destroy 0 rule 15360\n+ testpmd> flow list 0\n+\n+ check the rule not exists in the list.\n+ send matched packets, check the packets are not dropped.\n+\n+5. check the pattern in pipeline mode\n+\n+ validate a rule::\n+\n+ testpmd> flow validate 0 priority 0 ingress pattern eth / pppoes / ipv6 dst is CDCD:910A:2222:5498:8475:1111:3900:2022 / udp src is 25 dst is 23 / end actions drop / end\n+\n+ create a rule::\n+\n+ testpmd> flow create 0 priority 0 ingress pattern eth / pppoes / ipv6 dst is CDCD:910A:2222:5498:8475:1111:3900:2022 / udp src is 25 dst is 23 / end actions drop / end\n+\n+ repeat step 1-4 to check the pattern in pipeline mode.\n+\n+Subcase 8: MAC_PPPOE_IPV6_UDP_PAY_non_src_dst_port\n+--------------------------------------------------\n+\n+matched packets::\n+\n+ sendp([Ether(src=\"11:22:33:44:55:99\",dst=\"00:11:22:33:44:55\",type=0x8864)/PPPoE(sessionid=3)/PPP(proto=0x0057)/IPv6(src=\"CDCD:910A:2222:5498:8475:1111:3900:1536\", dst=\"CDCD:910A:2222:5498:8475:1111:3900:2022\")/UDP(sport=25,dport=23)/Raw(\"x\" * 80)],iface=\"ens786f0\",count=1)\n+\n+mismatched packets::\n+\n+ sendp([Ether(src=\"11:22:33:44:55:99\",dst=\"00:11:22:33:44:55\",type=0x8864)/PPPoE(sessionid=3)/PPP(proto=0x0057)/IPv6(src=\"CDCD:910A:2222:5498:8475:1111:3900:1537\", dst=\"CDCD:910A:2222:5498:8475:1111:3900:2022\")/UDP(sport=25,dport=23)/Raw(\"x\" * 80)],iface=\"ens786f0\",count=1)\n+ sendp([Ether(src=\"11:22:33:44:55:99\",dst=\"00:11:22:33:44:55\",type=0x8864)/PPPoE(sessionid=3)/PPP(proto=0x0057)/IPv6(src=\"CDCD:910A:2222:5498:8475:1111:3900:1536\", dst=\"CDCD:910A:2222:5498:8475:1111:3900:2023\")/UDP(sport=25,dport=23)/Raw(\"x\" * 80)],iface=\"ens786f0\",count=1)\n+ sendp([Ether(src=\"11:22:33:44:55:99\",dst=\"00:11:22:33:44:55\",type=0x8864)/PPPoE(sessionid=3)/PPP(proto=0x0057)/IPv6(src=\"CDCD:910A:2222:5498:8475:1111:3900:1536\", dst=\"CDCD:910A:2222:5498:8475:1111:3900:2022\")/TCP(sport=25,dport=23)/Raw(\"x\" * 80)],iface=\"ens786f0\",count=1)\n+ sendp([Ether(src=\"11:22:33:44:55:99\",dst=\"00:11:22:33:44:55\",type=0x8864)/PPPoE(sessionid=3)/PPP(proto=0x0057)/IPv6(src=\"CDCD:910A:2222:5498:8475:1111:3900:1536\", dst=\"CDCD:910A:2222:5498:8475:1111:3900:2022\")/Raw(\"x\" * 80)],iface=\"ens786f0\",count=1)\n+\n+to queue action\n+................\n+\n+1. validate a rule::\n+\n+ testpmd> flow validate 0 ingress pattern eth / pppoes / ipv6 src is CDCD:910A:2222:5498:8475:1111:3900:1536 dst is CDCD:910A:2222:5498:8475:1111:3900:2022 / udp / end actions queue index 1 / end\n+\n+ get the message::\n+\n+ Flow rule validated\n+\n+ check the flow list::\n+\n+ testpmd> flow list 0\n+\n+ check the rule not exists in the list.\n+\n+2. create a rule::\n+\n+ testpmd> flow create 0 ingress pattern eth / pppoes / ipv6 src is CDCD:910A:2222:5498:8475:1111:3900:1536 dst is CDCD:910A:2222:5498:8475:1111:3900:2022 / udp / end actions queue index 1 / end\n+\n+ get the message::\n+\n+ Succeeded to create (2) flow\n+\n+ check the flow list::\n+\n+ testpmd> flow list 0\n+\n+ check the rule exists in the list.\n+\n+3. send matched packets, check the packets are to queue 1.\n+ send mismatched packets, check the packets are not to queue 1.\n+\n+4. verify rules can be destroyed::\n+\n+ testpmd> flow destroy 0 rule 15360\n+ testpmd> flow list 0\n+\n+ check the rule not exists in the list.\n+ send matched packets, check the packets are not to queue 1.\n+\n+5. check the pattern in pipeline mode\n+\n+ validate a rule::\n+\n+ testpmd> flow validate 0 priority 0 ingress pattern eth / pppoes / ipv6 src is CDCD:910A:2222:5498:8475:1111:3900:1536 dst is CDCD:910A:2222:5498:8475:1111:3900:2022 / udp / end actions queue index 1 / end\n+\n+ create a rule::\n+\n+ testpmd> flow create 0 priority 0 ingress pattern eth / pppoes / ipv6 src is CDCD:910A:2222:5498:8475:1111:3900:1536 dst is CDCD:910A:2222:5498:8475:1111:3900:2022 / udp / end actions queue index 1 / end\n+\n+ repeat step 1-4 to check the pattern in pipeline mode.\n+\n+to queue group action\n+......................\n+\n+1. validate a rule::\n+\n+ testpmd> flow validate 0 ingress pattern eth / pppoes / ipv6 src is CDCD:910A:2222:5498:8475:1111:3900:1536 dst is CDCD:910A:2222:5498:8475:1111:3900:2022 / udp / end actions rss queues 2 3 end / end\n+\n+ get the message::\n+\n+ Flow rule validated\n+\n+ check the flow list::\n+\n+ testpmd> flow list 0\n+\n+ check the rule not exists in the list.\n+\n+2. create a rule::\n+\n+ testpmd> flow create 0 ingress pattern eth / pppoes / ipv6 src is CDCD:910A:2222:5498:8475:1111:3900:1536 dst is CDCD:910A:2222:5498:8475:1111:3900:2022 / udp / end actions rss queues 2 3 end / end\n+\n+ get the message::\n+\n+ Succeeded to create (2) flow\n+\n+ check the flow list::\n+\n+ testpmd> flow list 0\n+\n+ check the rule exists in the list.\n+\n+3. send matched packets, check the packets are to queue 2 or 3.\n+ send mismatched packets, check the packets are not to queue 2 and 3.\n+\n+4. verify rules can be destroyed::\n+\n+ testpmd> flow destroy 0 rule 15360\n+ testpmd> flow list 0\n+\n+ check the rule not exists in the list.\n+ send matched packets, check the packets are not to queue 2 and 3.\n+\n+5. check the pattern in pipeline mode\n+\n+ validate a rule::\n+\n+ testpmd> flow validate 0 priority 0 ingress pattern eth / pppoes / ipv6 src is CDCD:910A:2222:5498:8475:1111:3900:1536 dst is CDCD:910A:2222:5498:8475:1111:3900:2022 / udp / end actions rss queues 2 3 end / end\n+\n+ create a rule::\n+\n+ testpmd> flow create 0 priority 0 ingress pattern eth / pppoes / ipv6 src is CDCD:910A:2222:5498:8475:1111:3900:1536 dst is CDCD:910A:2222:5498:8475:1111:3900:2022 / udp / end actions rss queues 2 3 end / end\n+\n+ repeat step 1-4 to check the pattern in pipeline mode.\n+\n+drop action\n+............\n+\n+1. validate a rule::\n+\n+ testpmd> flow validate 0 ingress pattern eth / pppoes / ipv6 src is CDCD:910A:2222:5498:8475:1111:3900:1536 dst is CDCD:910A:2222:5498:8475:1111:3900:2022 / udp / end actions drop / end\n+\n+ get the message::\n+\n+ Flow rule validated\n+\n+ check the flow list::\n+\n+ testpmd> flow list 0\n+\n+ check the rule not exists in the list.\n+\n+2. create a rule::\n+\n+ testpmd> flow create 0 ingress pattern eth / pppoes / ipv6 src is CDCD:910A:2222:5498:8475:1111:3900:1536 dst is CDCD:910A:2222:5498:8475:1111:3900:2022 / udp / end actions drop / end\n+\n+ get the message::\n+\n+ Succeeded to create (2) flow\n+\n+ check the flow list::\n+\n+ testpmd> flow list 0\n+\n+ check the rule exists in the list.\n+\n+3. send matched packets, check the packets are dropped.\n+ send mismatched packets, check the packets are not dropped.\n+\n+4. verify rules can be destroyed::\n+\n+ testpmd> flow destroy 0 rule 15360\n+ testpmd> flow list 0\n+\n+ check the rule not exists in the list.\n+ send matched packets, check the packets are not dropped.\n+\n+5. check the pattern in pipeline mode\n+\n+ validate a rule::\n+\n+ testpmd> flow validate 0 priority 0 ingress pattern eth / pppoes / ipv6 src is CDCD:910A:2222:5498:8475:1111:3900:1536 dst is CDCD:910A:2222:5498:8475:1111:3900:2022 / udp / end actions drop / end\n+\n+ create a rule::\n+\n+ testpmd> flow create 0 priority 0 ingress pattern eth / pppoes / ipv6 src is CDCD:910A:2222:5498:8475:1111:3900:1536 dst is CDCD:910A:2222:5498:8475:1111:3900:2022 / udp / end actions drop / end\n+\n+ repeat step 1-4 to check the pattern in pipeline mode.\n+\n+Subcase 9: MAC_PPPOE_IPV6_TCP_PAY\n+---------------------------------\n+\n+matched packets::\n+\n+ sendp([Ether(src=\"11:22:33:44:55:99\",dst=\"00:11:22:33:44:55\",type=0x8864)/PPPoE(sessionid=3)/PPP(proto=0x0057)/IPv6(src=\"CDCD:910A:2222:5498:8475:1111:3900:1536\", dst=\"CDCD:910A:2222:5498:8475:1111:3900:2022\")/TCP(sport=25,dport=23)/Raw(\"x\" * 80)],iface=\"ens786f0\",count=1)\n+\n+mismatched packets::\n+\n+ sendp([Ether(src=\"11:22:33:44:55:99\",dst=\"00:11:22:33:44:55\",type=0x8864)/PPPoE(sessionid=3)/PPP(proto=0x0057)/IPv6(src=\"CDCD:910A:2222:5498:8475:1111:3900:1536\", dst=\"CDCD:910A:2222:5498:8475:1111:3900:2023\")/TCP(sport=25,dport=23)/Raw(\"x\" * 80)],iface=\"ens786f0\",count=1)\n+ sendp([Ether(src=\"11:22:33:44:55:99\",dst=\"00:11:22:33:44:55\",type=0x8864)/PPPoE(sessionid=3)/PPP(proto=0x0057)/IPv6(src=\"CDCD:910A:2222:5498:8475:1111:3900:1536\", dst=\"CDCD:910A:2222:5498:8475:1111:3900:2022\")/TCP(sport=27,dport=23)/Raw(\"x\" * 80)],iface=\"ens786f0\",count=1)\n+ sendp([Ether(src=\"11:22:33:44:55:99\",dst=\"00:11:22:33:44:55\",type=0x8864)/PPPoE(sessionid=3)/PPP(proto=0x0057)/IPv6(src=\"CDCD:910A:2222:5498:8475:1111:3900:1536\", dst=\"CDCD:910A:2222:5498:8475:1111:3900:2022\")/TCP(sport=25,dport=19)/Raw(\"x\" * 80)],iface=\"ens786f0\",count=1)\n+\n+to queue action\n+................\n+\n+1. validate a rule::\n+\n+ testpmd> flow validate 0 ingress pattern eth / pppoes / ipv6 dst is CDCD:910A:2222:5498:8475:1111:3900:2022 / tcp src is 25 dst is 23 / end actions queue index 1 / end\n+\n+ get the message::\n+\n+ Flow rule validated\n+\n+ check the flow list::\n+\n+ testpmd> flow list 0\n+\n+ check the rule not exists in the list.\n+\n+2. create a rule::\n+\n+ testpmd> flow create 0 ingress pattern eth / pppoes / ipv6 dst is CDCD:910A:2222:5498:8475:1111:3900:2022 / tcp src is 25 dst is 23 / end actions queue index 1 / end\n+\n+ get the message::\n+\n+ Succeeded to create (2) flow\n+\n+ check the flow list::\n+\n+ testpmd> flow list 0\n+\n+ check the rule exists in the list.\n+\n+3. send matched packets, check the packets are to queue 1.\n+ send mismatched packets, check the packets are not to queue 1.\n+\n+4. verify rules can be destroyed::\n+\n+ testpmd> flow destroy 0 rule 15360\n+ testpmd> flow list 0\n+\n+ check the rule not exists in the list.\n+ send matched packets, check the packets are not to queue 1.\n+\n+5. check the pattern in pipeline mode\n+\n+ validate a rule::\n+\n+ testpmd> flow validate 0 priority 0 ingress pattern eth / pppoes / ipv6 dst is CDCD:910A:2222:5498:8475:1111:3900:2022 / tcp src is 25 dst is 23 / end actions queue index 1 / end\n+\n+ create a rule::\n+\n+ testpmd> flow create 0 priority 0 ingress pattern eth / pppoes / ipv6 dst is CDCD:910A:2222:5498:8475:1111:3900:2022 / tcp src is 25 dst is 23 / end actions queue index 1 / end\n+\n+ repeat step 1-4 to check the pattern in pipeline mode.\n+\n+to queue group action\n+......................\n+\n+1. validate a rule::\n+\n+ testpmd> flow validate 0 ingress pattern eth / pppoes / ipv6 dst is CDCD:910A:2222:5498:8475:1111:3900:2022 / tcp src is 25 dst is 23 / end actions rss queues 4 5 end / end\n+\n+ get the message::\n+\n+ Flow rule validated\n+\n+ check the flow list::\n+\n+ testpmd> flow list 0\n+\n+ check the rule not exists in the list.\n+\n+2. create a rule::\n+\n+ testpmd> flow create 0 ingress pattern eth / pppoes / ipv6 dst is CDCD:910A:2222:5498:8475:1111:3900:2022 / tcp src is 25 dst is 23 / end actions rss queues 4 5 end / end\n+\n+ get the message::\n+\n+ Succeeded to create (2) flow\n+\n+ check the flow list::\n+\n+ testpmd> flow list 0\n+\n+ check the rule exists in the list.\n+\n+3. send matched packets, check the packets are to queue 4 or 5.\n+ send mismatched packets, check the packets are not to queue 4 and 5.\n+\n+4. verify rules can be destroyed::\n+\n+ testpmd> flow destroy 0 rule 15360\n+ testpmd> flow list 0\n+\n+ check the rule not exists in the list.\n+ send matched packets, check the packets are not to queue 4 and 5.\n+\n+5. check the pattern in pipeline mode\n+\n+ validate a rule::\n+\n+ testpmd> flow validate 0 priority 0 ingress pattern eth / pppoes / ipv6 dst is CDCD:910A:2222:5498:8475:1111:3900:2022 / tcp src is 25 dst is 23 / end actions rss queues 4 5 end / end\n+\n+ create a rule::\n+\n+ testpmd> flow create 0 priority 0 ingress pattern eth / pppoes / ipv6 dst is CDCD:910A:2222:5498:8475:1111:3900:2022 / tcp src is 25 dst is 23 / end actions rss queues 4 5 end / end\n+\n+ repeat step 1-4 to check the pattern in pipeline mode.\n+\n+drop action\n+............\n+\n+1. validate a rule::\n+\n+ testpmd> flow validate 0 ingress pattern eth / pppoes / ipv6 dst is CDCD:910A:2222:5498:8475:1111:3900:2022 / tcp src is 25 dst is 23 / end actions drop / end\n+\n+ get the message::\n+\n+ Flow rule validated\n+\n+ check the flow list::\n+\n+ testpmd> flow list 0\n+\n+ check the rule not exists in the list.\n+\n+2. create a rule::\n+\n+ testpmd> flow create 0 ingress pattern eth / pppoes / ipv6 dst is CDCD:910A:2222:5498:8475:1111:3900:2022 / tcp src is 25 dst is 23 / end actions drop / end\n+\n+ get the message::\n+\n+ Succeeded to create (2) flow\n+\n+ check the flow list::\n+\n+ testpmd> flow list 0\n+\n+ check the rule exists in the list.\n+\n+3. send matched packets, check the packets are dropped.\n+ send mismatched packets, check the packets are not dropped.\n+\n+4. verify rules can be destroyed::\n+\n+ testpmd> flow destroy 0 rule 15360\n+ testpmd> flow list 0\n+\n+ check the rule not exists in the list.\n+ send matched packets, check the packets are not dropped.\n+\n+5. check the pattern in pipeline mode\n+\n+ validate a rule::\n+\n+ testpmd> flow validate 0 priority 0 ingress pattern eth / pppoes / ipv6 dst is CDCD:910A:2222:5498:8475:1111:3900:2022 / tcp src is 25 dst is 23 / end actions drop / end\n+\n+ create a rule::\n+\n+ testpmd> flow create 0 priority 0 ingress pattern eth / pppoes / ipv6 dst is CDCD:910A:2222:5498:8475:1111:3900:2022 / tcp src is 25 dst is 23 / end actions drop / end\n+\n+ repeat step 1-4 to check the pattern in pipeline mode.\n+\n+Subcase 10: MAC_PPPOE_IPV6_TCP_PAY_non_src_dst_port\n+---------------------------------------------------\n+\n+matched packets::\n+\n+ sendp([Ether(src=\"11:22:33:44:55:99\",dst=\"00:11:22:33:44:55\",type=0x8864)/PPPoE(sessionid=3)/PPP(proto=0x0057)/IPv6(src=\"CDCD:910A:2222:5498:8475:1111:3900:1536\", dst=\"CDCD:910A:2222:5498:8475:1111:3900:2022\")/TCP(sport=25,dport=23)/Raw(\"x\" * 80)],iface=\"ens786f0\",count=1)\n+\n+mismatched packets::\n+\n+ sendp([Ether(src=\"11:22:33:44:55:99\",dst=\"00:11:22:33:44:55\",type=0x8864)/PPPoE(sessionid=3)/PPP(proto=0x0057)/IPv6(src=\"CDCD:910A:2222:5498:8475:1111:3900:1537\", dst=\"CDCD:910A:2222:5498:8475:1111:3900:2022\")/TCP(sport=25,dport=23)/Raw(\"x\" * 80)],iface=\"ens786f0\",count=1)\n+ sendp([Ether(src=\"11:22:33:44:55:99\",dst=\"00:11:22:33:44:55\",type=0x8864)/PPPoE(sessionid=3)/PPP(proto=0x0057)/IPv6(src=\"CDCD:910A:2222:5498:8475:1111:3900:1536\", dst=\"CDCD:910A:2222:5498:8475:1111:3900:2023\")/TCP(sport=25,dport=23)/Raw(\"x\" * 80)],iface=\"ens786f0\",count=1)\n+ sendp([Ether(src=\"11:22:33:44:55:99\",dst=\"00:11:22:33:44:55\",type=0x8864)/PPPoE(sessionid=3)/PPP(proto=0x0057)/IPv6(src=\"CDCD:910A:2222:5498:8475:1111:3900:1536\", dst=\"CDCD:910A:2222:5498:8475:1111:3900:2022\")/UDP(sport=25,dport=23)/Raw(\"x\" * 80)],iface=\"ens786f0\",count=1)\n+ sendp([Ether(src=\"11:22:33:44:55:99\",dst=\"00:11:22:33:44:55\",type=0x8864)/PPPoE(sessionid=3)/PPP(proto=0x0057)/IPv6(src=\"CDCD:910A:2222:5498:8475:1111:3900:1536\", dst=\"CDCD:910A:2222:5498:8475:1111:3900:2022\")/Raw(\"x\" * 80)],iface=\"ens786f0\",count=1)\n+\n+to queue action\n+................\n+\n+1. validate a rule::\n+\n+ testpmd> flow validate 0 ingress pattern eth / pppoes / ipv6 src is CDCD:910A:2222:5498:8475:1111:3900:1536 dst is CDCD:910A:2222:5498:8475:1111:3900:2022 / tcp / end actions queue index 1 / end\n+\n+ get the message::\n+\n+ Flow rule validated\n+\n+ check the flow list::\n+\n+ testpmd> flow list 0\n+\n+ check the rule not exists in the list.\n+\n+2. create a rule::\n+\n+ testpmd> flow create 0 ingress pattern eth / pppoes / ipv6 src is CDCD:910A:2222:5498:8475:1111:3900:1536 dst is CDCD:910A:2222:5498:8475:1111:3900:2022 / tcp / end actions queue index 1 / end\n+\n+ get the message::\n+\n+ Succeeded to create (2) flow\n+\n+ check the flow list::\n+\n+ testpmd> flow list 0\n+\n+ check the rule exists in the list.\n+\n+3. send matched packets, check the packets are to queue 1.\n+ send mismatched packets, check the packets are not to queue 1.\n+\n+4. verify rules can be destroyed::\n+\n+ testpmd> flow destroy 0 rule 15360\n+ testpmd> flow list 0\n+\n+ check the rule not exists in the list.\n+ send matched packets, check the packets are not to queue 1.\n+\n+5. check the pattern in pipeline mode\n+\n+ validate a rule::\n+\n+ testpmd> flow validate 0 priority 0 ingress pattern eth / pppoes / ipv6 src is CDCD:910A:2222:5498:8475:1111:3900:1536 dst is CDCD:910A:2222:5498:8475:1111:3900:2022 / tcp / end actions queue index 1 / end\n+\n+ create a rule::\n+\n+ testpmd> flow create 0 priority 0 ingress pattern eth / pppoes / ipv6 src is CDCD:910A:2222:5498:8475:1111:3900:1536 dst is CDCD:910A:2222:5498:8475:1111:3900:2022 / tcp / end actions queue index 1 / end\n+\n+ repeat step 1-4 to check the pattern in pipeline mode.\n+\n+to queue group action\n+......................\n+\n+1. validate a rule::\n+\n+ testpmd> flow validate 0 ingress pattern eth / pppoes / ipv6 src is CDCD:910A:2222:5498:8475:1111:3900:1536 dst is CDCD:910A:2222:5498:8475:1111:3900:2022 / tcp / end actions rss queues 2 3 end / end\n+\n+ get the message::\n+\n+ Flow rule validated\n+\n+ check the flow list::\n+\n+ testpmd> flow list 0\n+\n+ check the rule not exists in the list.\n+\n+2. create a rule::\n+\n+ testpmd> flow create 0 ingress pattern eth / pppoes / ipv6 src is CDCD:910A:2222:5498:8475:1111:3900:1536 dst is CDCD:910A:2222:5498:8475:1111:3900:2022 / tcp / end actions rss queues 2 3 end / end\n+\n+ get the message::\n+\n+ Succeeded to create (2) flow\n+\n+ check the flow list::\n+\n+ testpmd> flow list 0\n+\n+ check the rule exists in the list.\n+\n+3. send matched packets, check the packets are to queue 2 or 3.\n+ send mismatched packets, check the packets are not to queue 2 and 3.\n+\n+4. verify rules can be destroyed::\n+\n+ testpmd> flow destroy 0 rule 15360\n+ testpmd> flow list 0\n+\n+ check the rule not exists in the list.\n+ send matched packets, check the packets are not to queue 2 and 3.\n+\n+5. check the pattern in pipeline mode\n+\n+ validate a rule::\n+\n+ testpmd> flow validate 0 priority 0 ingress pattern eth / pppoes / ipv6 src is CDCD:910A:2222:5498:8475:1111:3900:1536 dst is CDCD:910A:2222:5498:8475:1111:3900:2022 / tcp / end actions rss queues 2 3 end / end\n+\n+ create a rule::\n+\n+ testpmd> flow create 0 priority 0 ingress pattern eth / pppoes / ipv6 src is CDCD:910A:2222:5498:8475:1111:3900:1536 dst is CDCD:910A:2222:5498:8475:1111:3900:2022 / tcp / end actions rss queues 2 3 end / end\n+\n+ repeat step 1-4 to check the pattern in pipeline mode.\n+\n+drop action\n+............\n+\n+1. validate a rule::\n+\n+ testpmd> flow validate 0 ingress pattern eth / pppoes / ipv6 src is CDCD:910A:2222:5498:8475:1111:3900:1536 dst is CDCD:910A:2222:5498:8475:1111:3900:2022 / tcp / end actions drop / end\n+\n+ get the message::\n+\n+ Flow rule validated\n+\n+ check the flow list::\n+\n+ testpmd> flow list 0\n+\n+ check the rule not exists in the list.\n+\n+2. create a rule::\n+\n+ testpmd> flow create 0 ingress pattern eth / pppoes / ipv6 src is CDCD:910A:2222:5498:8475:1111:3900:1536 dst is CDCD:910A:2222:5498:8475:1111:3900:2022 / tcp / end actions drop / end\n+\n+ get the message::\n+\n+ Succeeded to create (2) flow\n+\n+ check the flow list::\n+\n+ testpmd> flow list 0\n+\n+ check the rule exists in the list.\n+\n+3. send matched packets, check the packets are dropped.\n+ send mismatched packets, check the packets are not dropped.\n+\n+4. verify rules can be destroyed::\n+\n+ testpmd> flow destroy 0 rule 15360\n+ testpmd> flow list 0\n+\n+ check the rule not exists in the list.\n+ send matched packets, check the packets are not dropped.\n+\n+5. check the pattern in pipeline mode\n+\n+ validate a rule::\n+\n+ testpmd> flow validate 0 priority 0 ingress pattern eth / pppoes / ipv6 src is CDCD:910A:2222:5498:8475:1111:3900:1536 dst is CDCD:910A:2222:5498:8475:1111:3900:2022 / tcp / end actions drop / end\n+\n+ create a rule::\n+\n+ testpmd> flow create 0 priority 0 ingress pattern eth / pppoes / ipv6 src is CDCD:910A:2222:5498:8475:1111:3900:1536 dst is CDCD:910A:2222:5498:8475:1111:3900:2022 / tcp / end actions drop / end\n+\n+ repeat step 1-4 to check the pattern in pipeline mode.\n+\n+Subcase 11: MAC_VLAN_PPPOE_IPV4_PAY_IP_address\n+----------------------------------------------\n+\n+matched packets::\n+\n+ sendp([Ether(dst=\"00:11:22:33:44:55\",type=0x8100)/Dot1Q(vlan=1,type=0x8864)/PPPoE(sessionid=3)/PPP(proto=0x0021)/IP(src=\"192.168.1.1\", dst=\"192.168.1.2\")/Raw(\"x\"*80)],iface=\"ens786f0\",count=1)\n+\n+mismatched packets::\n+\n+ sendp([Ether(dst=\"00:11:22:33:44:55\",type=0x8100)/Dot1Q(vlan=2,type=0x8864)/PPPoE(sessionid=3)/PPP(proto=0x0021)/IP(src=\"192.168.1.1\", dst=\"192.168.1.2\")/Raw(\"x\"*80)],iface=\"ens786f0\",count=1)\n+ sendp([Ether(dst=\"00:11:22:33:44:55\",type=0x8100)/Dot1Q(vlan=1,type=0x8864)/PPPoE(sessionid=3)/PPP(proto=0x0021)/IP(src=\"192.168.1.3\", dst=\"192.168.1.2\")/Raw(\"x\"*80)],iface=\"ens786f0\",count=1)\n+ sendp([Ether(dst=\"00:11:22:33:44:55\",type=0x8100)/Dot1Q(vlan=1,type=0x8864)/PPPoE(sessionid=3)/PPP(proto=0x0021)/IP(src=\"192.168.1.1\", dst=\"192.168.1.4\")/Raw(\"x\"*80)],iface=\"ens786f0\",count=1)\n+\n+to queue action\n+................\n+\n+1. validate a rule::\n+\n+ testpmd> flow validate 0 ingress pattern eth / vlan tci is 1 / pppoes / ipv4 src is 192.168.1.1 dst is 192.168.1.2 / end actions queue index 2 / end\n+\n+ get the message::\n+\n+ Flow rule validated\n+\n+ check the flow list::\n+\n+ testpmd> flow list 0\n+\n+ check the rule not exists in the list.\n+\n+2. create a rule::\n+\n+ testpmd> flow create 0 ingress pattern eth / vlan tci is 1 / pppoes / ipv4 src is 192.168.1.1 dst is 192.168.1.2 / end actions queue index 2 / end\n+\n+ get the message::\n+\n+ Succeeded to create (2) flow\n+\n+ check the flow list::\n+\n+ testpmd> flow list 0\n+\n+ check the rule exists in the list.\n+\n+3. send matched packets, check the packets are to queue 2.\n+ send mismatched packets, check the packets are not to queue 2.\n+\n+4. verify rules can be destroyed::\n+\n+ testpmd> flow destroy 0 rule 15360\n+ testpmd> flow list 0\n+\n+ check the rule not exists in the list.\n+ send matched packets, check the packets are not to queue 2.\n+\n+5. check the pattern in pipeline mode\n+\n+ validate a rule::\n+\n+ testpmd> flow validate 0 priority 0 ingress pattern eth / vlan tci is 1 / pppoes / ipv4 src is 192.168.1.1 dst is 192.168.1.2 / end actions queue index 2 / end\n+\n+ create a rule::\n+\n+ testpmd> flow create 0 priority 0 ingress pattern eth / vlan tci is 1 / pppoes / ipv4 src is 192.168.1.1 dst is 192.168.1.2 / end actions queue index 2 / end\n+\n+ repeat step 1-4 to check the pattern in pipeline mode.\n+\n+to queue group action\n+......................\n+\n+1. validate a rule::\n+\n+ testpmd> flow validate 0 ingress pattern eth / vlan tci is 1 / pppoes / ipv4 src is 192.168.1.1 dst is 192.168.1.2 / end actions rss queues 2 3 end / end\n+\n+ get the message::\n+\n+ Flow rule validated\n+\n+ check the flow list::\n+\n+ testpmd> flow list 0\n+\n+ check the rule not exists in the list.\n+\n+2. create a rule::\n+\n+ testpmd> flow create 0 ingress pattern eth / vlan tci is 1 / pppoes / ipv4 src is 192.168.1.1 dst is 192.168.1.2 / end actions rss queues 2 3 end / end\n+\n+ get the message::\n+\n+ Succeeded to create (2) flow\n+\n+ check the flow list::\n+\n+ testpmd> flow list 0\n+\n+ check the rule exists in the list.\n+\n+3. send matched packets, check the packets are to queue 2 or 3.\n+ send mismatched packets, check the packets are not to queue 2 and 3.\n+\n+4. verify rules can be destroyed::\n+\n+ testpmd> flow destroy 0 rule 15360\n+ testpmd> flow list 0\n+\n+ check the rule not exists in the list.\n+ send matched packets, check the packets are not to queue 2 and 3.\n+\n+5. check the pattern in pipeline mode\n+\n+ validate a rule::\n+\n+ testpmd> flow validate 0 priority 0 ingress pattern eth / vlan tci is 1 / pppoes / ipv4 src is 192.168.1.1 dst is 192.168.1.2 / end actions rss queues 2 3 end / end\n+\n+ create a rule::\n+\n+ testpmd> flow create 0 priority 0 ingress pattern eth / vlan tci is 1 / pppoes / ipv4 src is 192.168.1.1 dst is 192.168.1.2 / end actions rss queues 2 3 end / end\n+\n+ repeat step 1-4 to check the pattern in pipeline mode.\n+\n+drop action\n+............\n+\n+1. validate a rule::\n+\n+ testpmd> flow validate 0 ingress pattern eth / vlan tci is 1 / pppoes / ipv4 src is 192.168.1.1 dst is 192.168.1.2 / end actions drop / end\n+\n+ get the message::\n+\n+ Flow rule validated\n+\n+ check the flow list::\n+\n+ testpmd> flow list 0\n+\n+ check the rule not exists in the list.\n+\n+2. create a rule::\n+\n+ testpmd> flow create 0 ingress pattern eth / vlan tci is 1 / pppoes / ipv4 src is 192.168.1.1 dst is 192.168.1.2 / end actions drop / end\n+\n+ get the message::\n+\n+ Succeeded to create (2) flow\n+\n+ check the flow list::\n+\n+ testpmd> flow list 0\n+\n+ check the rule exists in the list.\n+\n+3. send matched packets, check the packets are dropped.\n+ send mismatched packets, check the packets are not dropped.\n+\n+4. verify rules can be destroyed::\n+\n+ testpmd> flow destroy 0 rule 15360\n+ testpmd> flow list 0\n+\n+ check the rule not exists in the list.\n+ send matched packets, check the packets are not dropped.\n+\n+5. check the pattern in pipeline mode\n+\n+ validate a rule::\n+\n+ testpmd> flow validate 0 priority 0 ingress pattern eth / vlan tci is 1 / pppoes / ipv4 src is 192.168.1.1 dst is 192.168.1.2 / end actions drop / end\n+\n+ create a rule::\n+\n+ testpmd> flow create 0 priority 0 ingress pattern eth / vlan tci is 1 / pppoes / ipv4 src is 192.168.1.1 dst is 192.168.1.2 / end actions drop / end\n+\n+ repeat step 1-4 to check the pattern in pipeline mode.\n+\n+Subcase 12: MAC_VLAN_PPPOE_IPV4_UDP_PAY\n+---------------------------------------\n+\n+matched packets::\n+\n+ sendp([Ether(dst=\"00:11:22:33:44:55\",type=0x8100)/Dot1Q(vlan=1,type=0x8864)/PPPoE(sessionid=3)/PPP(proto=0x0021)/IP(src=\"192.168.1.1\", dst=\"192.168.1.2\")/UDP(sport=25,dport=23)/Raw(\"x\" * 80)],iface=\"ens786f0\",count=1)\n+\n+mismatched packets::\n+\n+ sendp([Ether(dst=\"00:11:22:33:44:55\",type=0x8100)/Dot1Q(vlan=2,type=0x8864)/PPPoE(sessionid=3)/PPP(proto=0x0021)/IP(src=\"192.168.1.1\", dst=\"192.168.1.2\")/UDP(sport=25,dport=23)/Raw(\"x\" * 80)],iface=\"ens786f0\",count=1)\n+ sendp([Ether(dst=\"00:11:22:33:44:55\",type=0x8100)/Dot1Q(vlan=1,type=0x8864)/PPPoE(sessionid=3)/PPP(proto=0x0021)/IP(src=\"192.168.1.3\", dst=\"192.168.1.2\")/UDP(sport=25,dport=23)/Raw(\"x\" * 80)],iface=\"ens786f0\",count=1)\n+ sendp([Ether(dst=\"00:11:22:33:44:55\",type=0x8100)/Dot1Q(vlan=1,type=0x8864)/PPPoE(sessionid=3)/PPP(proto=0x0021)/IP(src=\"192.168.1.1\", dst=\"192.168.1.4\")/UDP(sport=25,dport=23)/Raw(\"x\" * 80)],iface=\"ens786f0\",count=1)\n+ sendp([Ether(dst=\"00:11:22:33:44:55\",type=0x8100)/Dot1Q(vlan=1,type=0x8864)/PPPoE(sessionid=3)/PPP(proto=0x0021)/IP(src=\"192.168.1.1\", dst=\"192.168.1.2\")/UDP(sport=27,dport=23)/Raw(\"x\" * 80)],iface=\"ens786f0\",count=1)\n+ sendp([Ether(dst=\"00:11:22:33:44:55\",type=0x8100)/Dot1Q(vlan=1,type=0x8864)/PPPoE(sessionid=3)/PPP(proto=0x0021)/IP(src=\"192.168.1.1\", dst=\"192.168.1.2\")/UDP(sport=25,dport=19)/Raw(\"x\" * 80)],iface=\"ens786f0\",count=1)\n+\n+to queue action\n+................\n+\n+1. validate a rule::\n+\n+ testpmd> flow validate 0 ingress pattern eth / vlan tci is 1 / pppoes / ipv4 src is 192.168.1.1 dst is 192.168.1.2 / udp src is 25 dst is 23 / end actions queue index 1 / end\n+\n+ get the message::\n+\n+ Flow rule validated\n+\n+ check the flow list::\n+\n+ testpmd> flow list 0\n+\n+ check the rule not exists in the list.\n+\n+2. create a rule::\n+\n+ testpmd> flow create 0 ingress pattern eth / vlan tci is 1 / pppoes / ipv4 src is 192.168.1.1 dst is 192.168.1.2 / udp src is 25 dst is 23 / end actions queue index 1 / end\n+\n+ get the message::\n+\n+ Succeeded to create (2) flow\n+\n+ check the flow list::\n+\n+ testpmd> flow list 0\n+\n+ check the rule exists in the list.\n+\n+3. send matched packets, check the packets are to queue 1.\n+ send mismatched packets, check the packets are not to queue 1.\n+\n+4. verify rules can be destroyed::\n+\n+ testpmd> flow destroy 0 rule 15360\n+ testpmd> flow list 0\n+\n+ check the rule not exists in the list.\n+ send matched packets, check the packets are not to queue 1.\n+\n+5. check the pattern in pipeline mode\n+\n+ validate a rule::\n+\n+ testpmd> flow validate 0 priority 0 ingress pattern eth / vlan tci is 1 / pppoes / ipv4 src is 192.168.1.1 dst is 192.168.1.2 / udp src is 25 dst is 23 / end actions queue index 1 / end\n+\n+ create a rule::\n+\n+ flow create 0 priority 0 ingress pattern eth / vlan tci is 1 / pppoes / ipv4 src is 192.168.1.1 dst is 192.168.1.2 / udp src is 25 dst is 23 / end actions queue index 1 / end\n+\n+ repeat step 1-4 to check the pattern in pipeline mode.\n+\n+to queue group action\n+......................\n+\n+1. validate a rule::\n+\n+ testpmd> flow validate 0 ingress pattern eth / vlan tci is 1 / pppoes / ipv4 src is 192.168.1.1 dst is 192.168.1.2 / udp src is 25 dst is 23 / end actions rss queues 7 8 end / end\n+\n+ get the message::\n+\n+ Flow rule validated\n+\n+ check the flow list::\n+\n+ testpmd> flow list 0\n+\n+ check the rule not exists in the list.\n+\n+2. create a rule::\n+\n+ testpmd> flow create 0 ingress pattern eth / vlan tci is 1 / pppoes / ipv4 src is 192.168.1.1 dst is 192.168.1.2 / udp src is 25 dst is 23 / end actions rss queues 7 8 end / end\n+\n+ get the message::\n+\n+ Succeeded to create (2) flow\n+\n+ check the flow list::\n+\n+ testpmd> flow list 0\n+\n+ check the rule exists in the list.\n+\n+3. send matched packets, check the packets are to queue 7 or 8.\n+ send mismatched packets, check the packets are not to queue 7 and 8.\n+\n+4. verify rules can be destroyed::\n+\n+ testpmd> flow destroy 0 rule 15360\n+ testpmd> flow list 0\n+\n+ check the rule not exists in the list.\n+ send matched packets, check the packets are not to queue 7 and 8.\n+\n+5. check the pattern in pipeline mode\n+\n+ validate a rule::\n+\n+ testpmd> flow validate 0 priority 0 ingress pattern eth / vlan tci is 1 / pppoes / ipv4 src is 192.168.1.1 dst is 192.168.1.2 / udp src is 25 dst is 23 / end actions rss queues 7 8 end / end\n+\n+ create a rule::\n+\n+ testpmd> flow create 0 priority 0 ingress pattern eth / vlan tci is 1 / pppoes / ipv4 src is 192.168.1.1 dst is 192.168.1.2 / udp src is 25 dst is 23 / end actions rss queues 7 8 end / end\n+\n+ repeat step 1-4 to check the pattern in pipeline mode.\n+\n+drop action\n+............\n+\n+1. validate a rule::\n+\n+ testpmd> flow validate 0 ingress pattern eth / vlan tci is 1 / pppoes / ipv4 src is 192.168.1.1 dst is 192.168.1.2 / udp src is 25 dst is 23 / end actions drop / end\n+\n+ get the message::\n+\n+ Flow rule validated\n+\n+ check the flow list::\n+\n+ testpmd> flow list 0\n+\n+ check the rule not exists in the list.\n+\n+2. create a rule::\n+\n+ testpmd> flow create 0 ingress pattern eth / vlan tci is 1 / pppoes / ipv4 src is 192.168.1.1 dst is 192.168.1.2 / udp src is 25 dst is 23 / end actions drop / end\n+\n+ get the message::\n+\n+ Succeeded to create (2) flow\n+\n+ check the flow list::\n+\n+ testpmd> flow list 0\n+\n+ check the rule exists in the list.\n+\n+3. send matched packets, check the packets are dropped.\n+ send mismatched packets, check the packets are not dropped.\n+\n+4. verify rules can be destroyed::\n+\n+ testpmd> flow destroy 0 rule 15360\n+ testpmd> flow list 0\n+\n+ check the rule not exists in the list.\n+ send matched packets, check the packets are not dropped.\n+\n+5. check the pattern in pipeline mode\n+\n+ validate a rule::\n+\n+ testpmd> flow validate 0 priority 0 ingress pattern eth / vlan tci is 1 / pppoes / ipv4 src is 192.168.1.1 dst is 192.168.1.2 / udp src is 25 dst is 23 / end actions drop / end\n+\n+ create a rule::\n+\n+ testpmd> flow create 0 priority 0 ingress pattern eth / vlan tci is 1 / pppoes / ipv4 src is 192.168.1.1 dst is 192.168.1.2 / udp src is 25 dst is 23 / end actions drop / end\n+\n+ repeat step 1-4 to check the pattern in pipeline mode.\n+\n+Subcase 13: MAC_VLAN_PPPOE_IPV4_UDP_PAY_non_src_dst_port\n+--------------------------------------------------------\n+\n+matched packets::\n+\n+ sendp([Ether(dst=\"00:11:22:33:44:55\",type=0x8100)/Dot1Q(vlan=1,type=0x8864)/PPPoE(sessionid=3)/PPP(proto=0x0021)/IP(src=\"192.168.1.1\", dst=\"192.168.1.2\")/UDP(sport=25,dport=23)/Raw(\"x\" * 80)],iface=\"ens786f0\",count=1)\n+\n+mismatched packets::\n+\n+ sendp([Ether(dst=\"00:11:22:33:44:55\",type=0x8100)/Dot1Q(vlan=2,type=0x8864)/PPPoE(sessionid=3)/PPP(proto=0x0021)/IP(src=\"192.168.1.1\", dst=\"192.168.1.2\")/UDP(sport=25,dport=23)/Raw(\"x\" * 80)],iface=\"ens786f0\",count=1)\n+ sendp([Ether(dst=\"00:11:22:33:44:55\",type=0x8100)/Dot1Q(vlan=1,type=0x8864)/PPPoE(sessionid=3)/PPP(proto=0x0021)/IP(src=\"192.168.1.3\", dst=\"192.168.1.2\")/UDP(sport=25,dport=23)/Raw(\"x\" * 80)],iface=\"ens786f0\",count=1)\n+ sendp([Ether(dst=\"00:11:22:33:44:55\",type=0x8100)/Dot1Q(vlan=1,type=0x8864)/PPPoE(sessionid=3)/PPP(proto=0x0021)/IP(src=\"192.168.1.1\", dst=\"192.168.1.4\")/UDP(sport=25,dport=23)/Raw(\"x\" * 80)],iface=\"ens786f0\",count=1)\n+ sendp([Ether(dst=\"00:11:22:33:44:55\",type=0x8100)/Dot1Q(vlan=1,type=0x8864)/PPPoE(sessionid=3)/PPP(proto=0x0021)/IP(src=\"192.168.1.1\", dst=\"192.168.1.2\")/TCP(sport=25,dport=23)/Raw(\"x\" * 80)],iface=\"ens786f0\",count=1)\n+ sendp([Ether(dst=\"00:11:22:33:44:55\",type=0x8100)/Dot1Q(vlan=1,type=0x8864)/PPPoE(sessionid=3)/PPP(proto=0x0021)/IP(src=\"192.168.1.1\", dst=\"192.168.1.2\")/Raw(\"x\" * 80)],iface=\"ens786f0\",count=1)\n+\n+to queue action\n+................\n+\n+1. validate a rule::\n+\n+ testpmd> flow validate 0 ingress pattern eth / vlan tci is 1 / pppoes / ipv4 src is 192.168.1.1 dst is 192.168.1.2 / udp / end actions queue index 2 / end\n+\n+ get the message::\n+\n+ Flow rule validated\n+\n+ check the flow list::\n+\n+ testpmd> flow list 0\n+\n+ check the rule not exists in the list.\n+\n+2. create a rule::\n+\n+ testpmd> flow create 0 ingress pattern eth / vlan tci is 1 / pppoes / ipv4 src is 192.168.1.1 dst is 192.168.1.2 / udp / end actions queue index 2 / end\n+\n+ get the message::\n+\n+ Succeeded to create (2) flow\n+\n+ check the flow list::\n+\n+ testpmd> flow list 0\n+\n+ check the rule exists in the list.\n+\n+3. send matched packets, check the packets are to queue 2.\n+ send mismatched packets, check the packets are not to queue 2.\n+\n+4. verify rules can be destroyed::\n+\n+ testpmd> flow destroy 0 rule 15360\n+ testpmd> flow list 0\n+\n+ check the rule not exists in the list.\n+ send matched packets, check the packets are not to queue 2.\n+\n+5. check the pattern in pipeline mode\n+\n+ validate a rule::\n+\n+ testpmd> flow validate 0 priority 0 ingress pattern eth / vlan tci is 1 / pppoes / ipv4 src is 192.168.1.1 dst is 192.168.1.2 / udp / end actions queue index 2 / end\n+\n+ create a rule::\n+\n+ testpmd> flow create 0 priority 0 ingress pattern eth / vlan tci is 1 / pppoes / ipv4 src is 192.168.1.1 dst is 192.168.1.2 / udp / end actions queue index 2 / end\n+\n+ repeat step 1-4 to check the pattern in pipeline mode.\n+\n+to queue group action\n+......................\n+\n+1. validate a rule::\n+\n+ testpmd> flow validate 0 ingress pattern eth / vlan tci is 1 / pppoes / ipv4 src is 192.168.1.1 dst is 192.168.1.2 / udp / end actions rss queues 7 8 end / end\n+\n+ get the message::\n+\n+ Flow rule validated\n+\n+ check the flow list::\n+\n+ testpmd> flow list 0\n+\n+ check the rule not exists in the list.\n+\n+2. create a rule::\n+\n+ testpmd> flow create 0 ingress pattern eth / vlan tci is 1 / pppoes / ipv4 src is 192.168.1.1 dst is 192.168.1.2 / udp / end actions rss queues 7 8 end / end\n+\n+ get the message::\n+\n+ Succeeded to create (2) flow\n+\n+ check the flow list::\n+\n+ testpmd> flow list 0\n+\n+ check the rule exists in the list.\n+\n+3. send matched packets, check the packets are to queue 7 or 8.\n+ send mismatched packets, check the packets are not to queue 7 and 8.\n+\n+4. verify rules can be destroyed::\n+\n+ testpmd> flow destroy 0 rule 15360\n+ testpmd> flow list 0\n+\n+ check the rule not exists in the list.\n+ send matched packets, check the packets are not to queue 7 and 8.\n+\n+5. check the pattern in pipeline mode\n+\n+ validate a rule::\n+\n+ testpmd> flow validate 0 priority 0 ingress pattern eth / vlan tci is 1 / pppoes / ipv4 src is 192.168.1.1 dst is 192.168.1.2 / udp / end actions rss queues 7 8 end / end\n+\n+ create a rule::\n+\n+ testpmd> flow create 0 priority 0 ingress pattern eth / vlan tci is 1 / pppoes / ipv4 src is 192.168.1.1 dst is 192.168.1.2 / udp / end actions rss queues 7 8 end / end\n+\n+ repeat step 1-4 to check the pattern in pipeline mode.\n+\n+drop action\n+............\n+\n+1. validate a rule::\n+\n+ testpmd> flow validate 0 ingress pattern eth / vlan tci is 1 / pppoes / ipv4 src is 192.168.1.1 dst is 192.168.1.2 / udp / end actions drop / end\n+\n+ get the message::\n+\n+ Flow rule validated\n+\n+ check the flow list::\n+\n+ testpmd> flow list 0\n+\n+ check the rule not exists in the list.\n+\n+2. create a rule::\n+\n+ testpmd> flow create 0 ingress pattern eth / vlan tci is 1 / pppoes / ipv4 src is 192.168.1.1 dst is 192.168.1.2 / udp / end actions drop / end\n+\n+ get the message::\n+\n+ Succeeded to create (2) flow\n+\n+ check the flow list::\n+\n+ testpmd> flow list 0\n+\n+ check the rule exists in the list.\n+\n+3. send matched packets, check the packets are dropped.\n+ send mismatched packets, check the packets are not dropped.\n+\n+4. verify rules can be destroyed::\n+\n+ testpmd> flow destroy 0 rule 15360\n+ testpmd> flow list 0\n+\n+ check the rule not exists in the list.\n+ send matched packets, check the packets are not dropped.\n+\n+5. check the pattern in pipeline mode\n+\n+ validate a rule::\n+\n+ testpmd> flow validate 0 priority 0 ingress pattern eth / vlan tci is 1 / pppoes / ipv4 src is 192.168.1.1 dst is 192.168.1.2 / udp / end actions drop / end\n+\n+ create a rule::\n+\n+ testpmd> flow create 0 priority 0 ingress pattern eth / vlan tci is 1 / pppoes / ipv4 src is 192.168.1.1 dst is 192.168.1.2 / udp / end actions drop / end\n+\n+ repeat step 1-4 to check the pattern in pipeline mode.\n+\n+Subcase 14: MAC_VLAN_PPPOE_IPV4_TCP_PAY\n+---------------------------------------\n+\n+matched packets::\n+\n+ sendp([Ether(dst=\"00:11:22:33:44:55\",type=0x8100)/Dot1Q(vlan=1,type=0x8864)/PPPoE(sessionid=3)/PPP(proto=0x0021)/IP(src=\"192.168.1.1\", dst=\"192.168.1.2\")/TCP(sport=25,dport=23)/Raw(\"x\" * 80)],iface=\"ens786f0\",count=1)\n+\n+mismatched packets::\n+\n+ sendp([Ether(dst=\"00:11:22:33:44:55\",type=0x8100)/Dot1Q(vlan=2,type=0x8864)/PPPoE(sessionid=3)/PPP(proto=0x0021)/IP(src=\"192.168.1.1\", dst=\"192.168.1.2\")/TCP(sport=25,dport=23)/Raw(\"x\" * 80)],iface=\"ens786f0\",count=1)\n+ sendp([Ether(dst=\"00:11:22:33:44:55\",type=0x8100)/Dot1Q(vlan=1,type=0x8864)/PPPoE(sessionid=3)/PPP(proto=0x0021)/IP(src=\"192.168.1.3\", dst=\"192.168.1.2\")/TCP(sport=25,dport=23)/Raw(\"x\" * 80)],iface=\"ens786f0\",count=1)\n+ sendp([Ether(dst=\"00:11:22:33:44:55\",type=0x8100)/Dot1Q(vlan=1,type=0x8864)/PPPoE(sessionid=3)/PPP(proto=0x0021)/IP(src=\"192.168.1.1\", dst=\"192.168.1.4\")/TCP(sport=25,dport=23)/Raw(\"x\" * 80)],iface=\"ens786f0\",count=1)\n+ sendp([Ether(dst=\"00:11:22:33:44:55\",type=0x8100)/Dot1Q(vlan=1,type=0x8864)/PPPoE(sessionid=3)/PPP(proto=0x0021)/IP(src=\"192.168.1.1\", dst=\"192.168.1.2\")/TCP(sport=27,dport=23)/Raw(\"x\" * 80)],iface=\"ens786f0\",count=1)\n+ sendp([Ether(dst=\"00:11:22:33:44:55\",type=0x8100)/Dot1Q(vlan=1,type=0x8864)/PPPoE(sessionid=3)/PPP(proto=0x0021)/IP(src=\"192.168.1.1\", dst=\"192.168.1.2\")/TCP(sport=25,dport=19)/Raw(\"x\" * 80)],iface=\"ens786f0\",count=1)\n+\n+to queue action\n+................\n+\n+1. validate a rule::\n+\n+ testpmd> flow validate 0 ingress pattern eth / vlan tci is 1 / pppoes / ipv4 src is 192.168.1.1 dst is 192.168.1.2 / tcp src is 25 dst is 23 / end actions queue index 1 / end\n+\n+ get the message::\n+\n+ Flow rule validated\n+\n+ check the flow list::\n+\n+ testpmd> flow list 0\n+\n+ check the rule not exists in the list.\n+\n+2. create a rule::\n+\n+ testpmd> flow create 0 ingress pattern eth / vlan tci is 1 / pppoes / ipv4 src is 192.168.1.1 dst is 192.168.1.2 / tcp src is 25 dst is 23 / end actions queue index 1 / end\n+\n+ get the message::\n+\n+ Succeeded to create (2) flow\n+\n+ check the flow list::\n+\n+ testpmd> flow list 0\n+\n+ check the rule exists in the list.\n+\n+3. send matched packets, check the packets are to queue 1.\n+ send mismatched packets, check the packets are not to queue 1.\n+\n+4. verify rules can be destroyed::\n+\n+ testpmd> flow destroy 0 rule 15360\n+ testpmd> flow list 0\n+\n+ check the rule not exists in the list.\n+ send matched packets, check the packets are not to queue 1.\n+\n+5. check the pattern in pipeline mode\n+\n+ validate a rule::\n+\n+ testpmd> flow validate 0 priority 0 ingress pattern eth / vlan tci is 1 / pppoes / ipv4 src is 192.168.1.1 dst is 192.168.1.2 / tcp src is 25 dst is 23 / end actions queue index 1 / end\n+\n+ create a rule::\n+\n+ testpmd> flow create 0 priority 0 ingress pattern eth / vlan tci is 1 / pppoes / ipv4 src is 192.168.1.1 dst is 192.168.1.2 / tcp src is 25 dst is 23 / end actions queue index 1 / end\n+\n+ repeat step 1-4 to check the pattern in pipeline mode.\n+\n+to queue group action\n+......................\n+\n+1. validate a rule::\n+\n+ testpmd> flow validate 0 ingress pattern eth / vlan tci is 1 / pppoes / ipv4 src is 192.168.1.1 dst is 192.168.1.2 / tcp src is 25 dst is 23 / end actions rss queues 7 8 end / end\n+\n+ get the message::\n+\n+ Flow rule validated\n+\n+ check the flow list::\n+\n+ testpmd> flow list 0\n+\n+ check the rule not exists in the list.\n+\n+2. create a rule::\n+\n+ testpmd> flow create 0 ingress pattern eth / vlan tci is 1 / pppoes / ipv4 src is 192.168.1.1 dst is 192.168.1.2 / tcp src is 25 dst is 23 / end actions rss queues 7 8 end / end\n+\n+ get the message::\n+\n+ Succeeded to create (2) flow\n+\n+ check the flow list::\n+\n+ testpmd> flow list 0\n+\n+ check the rule exists in the list.\n+\n+3. send matched packets, check the packets are to queue 7 or 8.\n+ send mismatched packets, check the packets are not to queue 7 and 8.\n+\n+4. verify rules can be destroyed::\n+\n+ testpmd> flow destroy 0 rule 15360\n+ testpmd> flow list 0\n+\n+ check the rule not exists in the list.\n+ send matched packets, check the packets are not to queue 7 and 8.\n+\n+5. check the pattern in pipeline mode\n+\n+ validate a rule::\n+\n+ testpmd> flow validate 0 priority 0 ingress pattern eth / vlan tci is 1 / pppoes / ipv4 src is 192.168.1.1 dst is 192.168.1.2 / tcp src is 25 dst is 23 / end actions rss queues 7 8 end / end\n+\n+ create a rule::\n+\n+ testpmd> flow create 0 priority 0 ingress pattern eth / vlan tci is 1 / pppoes / ipv4 src is 192.168.1.1 dst is 192.168.1.2 / tcp src is 25 dst is 23 / end actions rss queues 7 8 end / end\n+\n+ repeat step 1-4 to check the pattern in pipeline mode.\n+\n+drop action\n+............\n+\n+1. validate a rule::\n+\n+ testpmd> flow validate 0 ingress pattern eth / vlan tci is 1 / pppoes / ipv4 src is 192.168.1.1 dst is 192.168.1.2 / tcp src is 25 dst is 23 / end actions drop / end\n+\n+ get the message::\n+\n+ Flow rule validated\n+\n+ check the flow list::\n+\n+ testpmd> flow list 0\n+\n+ check the rule not exists in the list.\n+\n+2. create a rule::\n+\n+ testpmd> flow create 0 ingress pattern eth / vlan tci is 1 / pppoes / ipv4 src is 192.168.1.1 dst is 192.168.1.2 / tcp src is 25 dst is 23 / end actions drop / end\n+\n+ get the message::\n+\n+ Succeeded to create (2) flow\n+\n+ check the flow list::\n+\n+ testpmd> flow list 0\n+\n+ check the rule exists in the list.\n+\n+3. send matched packets, check the packets are dropped.\n+ send mismatched packets, check the packets are not dropped.\n+\n+4. verify rules can be destroyed::\n+\n+ testpmd> flow destroy 0 rule 15360\n+ testpmd> flow list 0\n+\n+ check the rule not exists in the list.\n+ send matched packets, check the packets are not dropped.\n+\n+5. check the pattern in pipeline mode\n+\n+ validate a rule::\n+\n+ testpmd> flow validate 0 priority 0 ingress pattern eth / vlan tci is 1 / pppoes / ipv4 src is 192.168.1.1 dst is 192.168.1.2 / tcp src is 25 dst is 23 / end actions drop / end\n+\n+ create a rule::\n+\n+ testpmd> flow create 0 priority 0 ingress pattern eth / vlan tci is 1 / pppoes / ipv4 src is 192.168.1.1 dst is 192.168.1.2 / tcp src is 25 dst is 23 / end actions drop / end\n+\n+ repeat step 1-4 to check the pattern in pipeline mode.\n+\n+Subcase 15: MAC_VLAN_PPPOE_IPV4_TCP_PAY_non_src_dst_port\n+--------------------------------------------------------\n+\n+matched packets::\n+\n+ sendp([Ether(dst=\"00:11:22:33:44:55\",type=0x8100)/Dot1Q(vlan=1,type=0x8864)/PPPoE(sessionid=3)/PPP(proto=0x0021)/IP(src=\"192.168.1.1\", dst=\"192.168.1.2\")/TCP(sport=25,dport=23)/Raw(\"x\" * 80)],iface=\"ens786f0\",count=1)\n+\n+mismatched packets::\n+\n+ sendp([Ether(dst=\"00:11:22:33:44:55\",type=0x8100)/Dot1Q(vlan=2,type=0x8864)/PPPoE(sessionid=3)/PPP(proto=0x0021)/IP(src=\"192.168.1.1\", dst=\"192.168.1.2\")/TCP(sport=25,dport=23)/Raw(\"x\" * 80)],iface=\"ens786f0\",count=1)\n+ sendp([Ether(dst=\"00:11:22:33:44:55\",type=0x8100)/Dot1Q(vlan=1,type=0x8864)/PPPoE(sessionid=3)/PPP(proto=0x0021)/IP(src=\"192.168.1.3\", dst=\"192.168.1.2\")/TCP(sport=25,dport=23)/Raw(\"x\" * 80)],iface=\"ens786f0\",count=1)\n+ sendp([Ether(dst=\"00:11:22:33:44:55\",type=0x8100)/Dot1Q(vlan=1,type=0x8864)/PPPoE(sessionid=3)/PPP(proto=0x0021)/IP(src=\"192.168.1.1\", dst=\"192.168.1.4\")/TCP(sport=25,dport=23)/Raw(\"x\" * 80)],iface=\"ens786f0\",count=1)\n+ sendp([Ether(dst=\"00:11:22:33:44:55\",type=0x8100)/Dot1Q(vlan=1,type=0x8864)/PPPoE(sessionid=3)/PPP(proto=0x0021)/IP(src=\"192.168.1.1\", dst=\"192.168.1.2\")/UDP(sport=25,dport=23)/Raw(\"x\" * 80)],iface=\"ens786f0\",count=1)\n+ sendp([Ether(dst=\"00:11:22:33:44:55\",type=0x8100)/Dot1Q(vlan=1,type=0x8864)/PPPoE(sessionid=3)/PPP(proto=0x0021)/IP(src=\"192.168.1.1\", dst=\"192.168.1.2\")/Raw(\"x\" * 80)],iface=\"ens786f0\",count=1)\n+\n+to queue action\n+................\n+\n+1. validate a rule::\n+\n+ testpmd> flow validate 0 ingress pattern eth / vlan tci is 1 / pppoes / ipv4 src is 192.168.1.1 dst is 192.168.1.2 / tcp / end actions queue index 2 / end\n+\n+ get the message::\n+\n+ Flow rule validated\n+\n+ check the flow list::\n+\n+ testpmd> flow list 0\n+\n+ check the rule not exists in the list.\n+\n+2. create a rule::\n+\n+ testpmd> flow create 0 ingress pattern eth / vlan tci is 1 / pppoes / ipv4 src is 192.168.1.1 dst is 192.168.1.2 / tcp / end actions queue index 2 / end\n+\n+ get the message::\n+\n+ Succeeded to create (2) flow\n+\n+ check the flow list::\n+\n+ testpmd> flow list 0\n+\n+ check the rule exists in the list.\n+\n+3. send matched packets, check the packets are to queue 2.\n+ send mismatched packets, check the packets are not to queue 2.\n+\n+4. verify rules can be destroyed::\n+\n+ testpmd> flow destroy 0 rule 15360\n+ testpmd> flow list 0\n+\n+ check the rule not exists in the list.\n+ send matched packets, check the packets are not to queue 2.\n+\n+5. check the pattern in pipeline mode\n+\n+ validate a rule::\n+\n+ testpmd> flow validate 0 priority 0 ingress pattern eth / vlan tci is 1 / pppoes / ipv4 src is 192.168.1.1 dst is 192.168.1.2 / tcp / end actions queue index 2 / end\n+\n+ create a rule::\n+\n+ testpmd> flow create 0 priority 0 ingress pattern eth / vlan tci is 1 / pppoes / ipv4 src is 192.168.1.1 dst is 192.168.1.2 / tcp / end actions queue index 2 / end\n+\n+ repeat step 1-4 to check the pattern in pipeline mode.\n+\n+to queue group action\n+......................\n+\n+1. validate a rule::\n+\n+ testpmd> flow validate 0 ingress pattern eth / vlan tci is 1 / pppoes / ipv4 src is 192.168.1.1 dst is 192.168.1.2 / tcp / end actions rss queues 7 8 end / end\n+\n+ get the message::\n+\n+ Flow rule validated\n+\n+ check the flow list::\n+\n+ testpmd> flow list 0\n+\n+ check the rule not exists in the list.\n+\n+2. create a rule::\n+\n+ testpmd> flow create 0 ingress pattern eth / vlan tci is 1 / pppoes / ipv4 src is 192.168.1.1 dst is 192.168.1.2 / tcp / end actions rss queues 7 8 end / end\n+\n+ get the message::\n+\n+ Succeeded to create (2) flow\n+\n+ check the flow list::\n+\n+ testpmd> flow list 0\n+\n+ check the rule exists in the list.\n+\n+3. send matched packets, check the packets are to queue 7 or 8.\n+ send mismatched packets, check the packets are not to queue 7 and 8.\n+\n+4. verify rules can be destroyed::\n+\n+ testpmd> flow destroy 0 rule 15360\n+ testpmd> flow list 0\n+\n+ check the rule not exists in the list.\n+ send matched packets, check the packets are not to queue 7 and 8.\n+\n+5. check the pattern in pipeline mode\n+\n+ validate a rule::\n+\n+ testpmd> flow validate 0 priority 0 ingress pattern eth / vlan tci is 1 / pppoes / ipv4 src is 192.168.1.1 dst is 192.168.1.2 / tcp / end actions rss queues 7 8 end / end\n+\n+ create a rule::\n+\n+ testpmd> flow create 0 priority 0 ingress pattern eth / vlan tci is 1 / pppoes / ipv4 src is 192.168.1.1 dst is 192.168.1.2 / tcp / end actions rss queues 7 8 end / end\n+\n+ repeat step 1-4 to check the pattern in pipeline mode.\n+\n+drop action\n+............\n+\n+1. validate a rule::\n+\n+ testpmd> flow validate 0 ingress pattern eth / vlan tci is 1 / pppoes / ipv4 src is 192.168.1.1 dst is 192.168.1.2 / tcp / end actions drop / end\n+\n+ get the message::\n+\n+ Flow rule validated\n+\n+ check the flow list::\n+\n+ testpmd> flow list 0\n+\n+ check the rule not exists in the list.\n+\n+2. create a rule::\n+\n+ testpmd> flow create 0 ingress pattern eth / vlan tci is 1 / pppoes / ipv4 src is 192.168.1.1 dst is 192.168.1.2 / tcp / end actions drop / end\n+\n+ get the message::\n+\n+ Succeeded to create (2) flow\n+\n+ check the flow list::\n+\n+ testpmd> flow list 0\n+\n+ check the rule exists in the list.\n+\n+3. send matched packets, check the packets are dropped.\n+ send mismatched packets, check the packets are not dropped.\n+\n+4. verify rules can be destroyed::\n+\n+ testpmd> flow destroy 0 rule 15360\n+ testpmd> flow list 0\n+\n+ check the rule not exists in the list.\n+ send matched packets, check the packets are not dropped.\n+\n+5. check the pattern in pipeline mode\n+\n+ validate a rule::\n+\n+ testpmd> flow validate 0 priority 0 ingress pattern eth / vlan tci is 1 / pppoes / ipv4 src is 192.168.1.1 dst is 192.168.1.2 / tcp / end actions drop / end\n+\n+ create a rule::\n+\n+ testpmd> flow create 0 priority 0 ingress pattern eth / vlan tci is 1 / pppoes / ipv4 src is 192.168.1.1 dst is 192.168.1.2 / tcp / end actions drop / end\n+\n+ repeat step 1-4 to check the pattern in pipeline mode.\n+\n+Subcase 16: MAC_VLAN_PPPOE_IPV6_PAY_IP_address\n+----------------------------------------------\n+\n+matched packets::\n+\n+ sendp([Ether(src=\"11:22:33:44:55:99\",dst=\"00:11:22:33:44:55\",type=0x8100)/Dot1Q(vlan=1,type=0x8864)/PPPoE(sessionid=3)/PPP(proto=0x0057)/IPv6(src=\"CDCD:910A:2222:5498:8475:1111:3900:1536\", dst=\"CDCD:910A:2222:5498:8475:1111:3900:2022\")/Raw(\"x\"*80)],iface=\"ens786f0\",count=1)\n+\n+mismatched packets::\n+\n+ sendp([Ether(src=\"11:22:33:44:55:99\",dst=\"00:11:22:33:44:55\",type=0x8100)/Dot1Q(vlan=2,type=0x8864)/PPPoE(sessionid=3)/PPP(proto=0x0057)/IPv6(src=\"CDCD:910A:2222:5498:8475:1111:3900:1536\", dst=\"CDCD:910A:2222:5498:8475:1111:3900:2022\")/Raw(\"x\"*80)],iface=\"ens786f0\",count=1)\n+ sendp([Ether(src=\"11:22:33:44:55:99\",dst=\"00:11:22:33:44:55\",type=0x8100)/Dot1Q(vlan=1,type=0x8864)/PPPoE(sessionid=3)/PPP(proto=0x0057)/IPv6(src=\"CDCD:910A:2222:5498:8475:1111:3900:1537\", dst=\"CDCD:910A:2222:5498:8475:1111:3900:2022\")/Raw(\"x\"*80)],iface=\"ens786f0\",count=1)\n+\n+to queue action\n+................\n+\n+1. validate a rule::\n+\n+ testpmd> flow validate 0 ingress pattern eth / vlan tci is 1 / pppoes / ipv6 src is CDCD:910A:2222:5498:8475:1111:3900:1536 / end actions queue index 1 / end\n+\n+ get the message::\n+\n+ Flow rule validated\n+\n+ check the flow list::\n+\n+ testpmd> flow list 0\n+\n+ check the rule not exists in the list.\n+\n+2. create a rule::\n+\n+ testpmd> flow create 0 ingress pattern eth / vlan tci is 1 / pppoes / ipv6 src is CDCD:910A:2222:5498:8475:1111:3900:1536 / end actions queue index 1 / end\n+\n+ get the message::\n+\n+ Succeeded to create (2) flow\n+\n+ check the flow list::\n+\n+ testpmd> flow list 0\n+\n+ check the rule exists in the list.\n+\n+3. send matched packets, check the packets are to queue 1.\n+ send mismatched packets, check the packets are not to queue 1.\n+\n+4. verify rules can be destroyed::\n+\n+ testpmd> flow destroy 0 rule 15360\n+ testpmd> flow list 0\n+\n+ check the rule not exists in the list.\n+ send matched packets, check the packets are not to queue 1.\n+\n+5. check the pattern in pipeline mode\n+\n+ validate a rule::\n+\n+ testpmd> flow validate 0 priority 0 ingress pattern eth / vlan tci is 1 / pppoes / ipv6 src is CDCD:910A:2222:5498:8475:1111:3900:1536 / end actions queue index 1 / end\n+\n+ create a rule::\n+\n+ testpmd> flow create 0 priority 0 ingress pattern eth / vlan tci is 1 / pppoes / ipv6 src is CDCD:910A:2222:5498:8475:1111:3900:1536 / end actions queue index 1 / end\n+\n+ repeat step 1-4 to check the pattern in pipeline mode.\n+\n+to queue group action\n+......................\n+\n+1. validate a rule::\n+\n+ testpmd> flow validate 0 ingress pattern eth / vlan tci is 1 / pppoes / ipv6 src is CDCD:910A:2222:5498:8475:1111:3900:1536 / end actions rss queues 2 3 end / end\n+\n+ get the message::\n+\n+ Flow rule validated\n+\n+ check the flow list::\n+\n+ testpmd> flow list 0\n+\n+ check the rule not exists in the list.\n+\n+2. create a rule::\n+\n+ testpmd> flow create 0 ingress pattern eth / vlan tci is 1 / pppoes / ipv6 src is CDCD:910A:2222:5498:8475:1111:3900:1536 / end actions rss queues 2 3 end / end\n+\n+ get the message::\n+\n+ Succeeded to create (2) flow\n+\n+ check the flow list::\n+\n+ testpmd> flow list 0\n+\n+ check the rule exists in the list.\n+\n+3. send matched packets, check the packets are to queue 2 or 3.\n+ send mismatched packets, check the packets are not to queue 2 and 3.\n+\n+4. verify rules can be destroyed::\n+\n+ testpmd> flow destroy 0 rule 15360\n+ testpmd> flow list 0\n+\n+ check the rule not exists in the list.\n+ send matched packets, check the packets are not to queue 2 and 3.\n+\n+5. check the pattern in pipeline mode\n+\n+ validate a rule::\n+\n+ testpmd> flow validate 0 priority 0 ingress pattern eth / vlan tci is 1 / pppoes / ipv6 src is CDCD:910A:2222:5498:8475:1111:3900:1536 / end actions rss queues 2 3 end / end\n+\n+ create a rule::\n+\n+ testpmd> flow create 0 priority 0 ingress pattern eth / vlan tci is 1 / pppoes / ipv6 src is CDCD:910A:2222:5498:8475:1111:3900:1536 / end actions rss queues 2 3 end / end\n+\n+ repeat step 1-4 to check the pattern in pipeline mode.\n+\n+drop action\n+............\n+\n+1. validate a rule::\n+\n+ testpmd> flow validate 0 ingress pattern eth / vlan tci is 1 / pppoes / ipv6 src is CDCD:910A:2222:5498:8475:1111:3900:1536 / end actions drop / end\n+\n+ get the message::\n+\n+ Flow rule validated\n+\n+ check the flow list::\n+\n+ testpmd> flow list 0\n+\n+ check the rule not exists in the list.\n+\n+2. create a rule::\n+\n+ testpmd> flow create 0 ingress pattern eth / vlan tci is 1 / pppoes / ipv6 src is CDCD:910A:2222:5498:8475:1111:3900:1536 / end actions drop / end\n+\n+ get the message::\n+\n+ Succeeded to create (2) flow\n+\n+ check the flow list::\n+\n+ testpmd> flow list 0\n+\n+ check the rule exists in the list.\n+\n+3. send matched packets, check the packets are dropped.\n+ send mismatched packets, check the packets are not dropped.\n+\n+4. verify rules can be destroyed::\n+\n+ testpmd> flow destroy 0 rule 15360\n+ testpmd> flow list 0\n+\n+ check the rule not exists in the list.\n+ send matched packets, check the packets are not dropped.\n+\n+5. check the pattern in pipeline mode\n+\n+ validate a rule::\n+\n+ testpmd> flow validate 0 priority 0 ingress pattern eth / vlan tci is 1 / pppoes / ipv6 src is CDCD:910A:2222:5498:8475:1111:3900:1536 / end actions drop / end\n+\n+ create a rule::\n+\n+ testpmd> flow create 0 priority 0 ingress pattern eth / vlan tci is 1 / pppoes / ipv6 src is CDCD:910A:2222:5498:8475:1111:3900:1536 / end actions drop / end\n+\n+ repeat step 1-4 to check the pattern in pipeline mode.\n+\n+Subcase 17: MAC_VLAN_PPPOE_IPV6_UDP_PAY\n+---------------------------------------\n+\n+matched packets::\n+\n+ sendp([Ether(src=\"11:22:33:44:55:99\",dst=\"00:11:22:33:44:55\",type=0x8100)/Dot1Q(vlan=1,type=0x8864)/PPPoE(sessionid=3)/PPP(proto=0x0057)/IPv6(src=\"CDCD:910A:2222:5498:8475:1111:3900:1536\", dst=\"CDCD:910A:2222:5498:8475:1111:3900:2022\")/UDP(sport=25,dport=23)/Raw(\"x\" * 80)],iface=\"ens786f0\",count=1)\n+\n+mismatched packets::\n+\n+ sendp([Ether(src=\"11:22:33:44:55:99\",dst=\"00:11:22:33:44:55\",type=0x8100)/Dot1Q(vlan=2,type=0x8864)/PPPoE(sessionid=3)/PPP(proto=0x0057)/IPv6(src=\"CDCD:910A:2222:5498:8475:1111:3900:1536\", dst=\"CDCD:910A:2222:5498:8475:1111:3900:2022\")/UDP(sport=25,dport=23)/Raw(\"x\" * 80)],iface=\"ens786f0\",count=1)\n+ sendp([Ether(src=\"11:22:33:44:55:99\",dst=\"00:11:22:33:44:55\",type=0x8100)/Dot1Q(vlan=1,type=0x8864)/PPPoE(sessionid=3)/PPP(proto=0x0057)/IPv6(src=\"CDCD:910A:2222:5498:8475:1111:3900:1536\", dst=\"CDCD:910A:2222:5498:8475:1111:3900:2023\")/UDP(sport=25,dport=23)/Raw(\"x\" * 80)],iface=\"ens786f0\",count=1)\n+ sendp([Ether(src=\"11:22:33:44:55:99\",dst=\"00:11:22:33:44:55\",type=0x8100)/Dot1Q(vlan=1,type=0x8864)/PPPoE(sessionid=3)/PPP(proto=0x0057)/IPv6(src=\"CDCD:910A:2222:5498:8475:1111:3900:1536\", dst=\"CDCD:910A:2222:5498:8475:1111:3900:2022\")/UDP(sport=27,dport=23)/Raw(\"x\" * 80)],iface=\"ens786f0\",count=1)\n+ sendp([Ether(src=\"11:22:33:44:55:99\",dst=\"00:11:22:33:44:55\",type=0x8100)/Dot1Q(vlan=1,type=0x8864)/PPPoE(sessionid=3)/PPP(proto=0x0057)/IPv6(src=\"CDCD:910A:2222:5498:8475:1111:3900:1536\", dst=\"CDCD:910A:2222:5498:8475:1111:3900:2022\")/UDP(sport=25,dport=19)/Raw(\"x\" * 80)],iface=\"ens786f0\",count=1)\n+\n+to queue action\n+................\n+\n+1. validate a rule::\n+\n+ testpmd> flow validate 0 ingress pattern eth / vlan tci is 1 / pppoes / ipv6 dst is CDCD:910A:2222:5498:8475:1111:3900:2022 / udp src is 25 dst is 23 / end actions queue index 1 / end\n+\n+ get the message::\n+\n+ Flow rule validated\n+\n+ check the flow list::\n+\n+ testpmd> flow list 0\n+\n+ check the rule not exists in the list.\n+\n+2. create a rule::\n+\n+ testpmd> flow create 0 ingress pattern eth / vlan tci is 1 / pppoes / ipv6 dst is CDCD:910A:2222:5498:8475:1111:3900:2022 / udp src is 25 dst is 23 / end actions queue index 1 / end\n+\n+ get the message::\n+\n+ Succeeded to create (2) flow\n+\n+ check the flow list::\n+\n+ testpmd> flow list 0\n+\n+ check the rule exists in the list.\n+\n+3. send matched packets, check the packets are to queue 1.\n+ send mismatched packets, check the packets are not to queue 1.\n+\n+4. verify rules can be destroyed::\n+\n+ testpmd> flow destroy 0 rule 15360\n+ testpmd> flow list 0\n+\n+ check the rule not exists in the list.\n+ send matched packets, check the packets are not to queue 1.\n+\n+5. check the pattern in pipeline mode\n+\n+ validate a rule::\n+\n+ testpmd> flow validate 0 priority 0 ingress pattern eth / vlan tci is 1 / pppoes / ipv6 dst is CDCD:910A:2222:5498:8475:1111:3900:2022 / udp src is 25 dst is 23 / end actions queue index 1 / end\n+\n+ create a rule::\n+\n+ testpmd> flow create 0 priority 0 ingress pattern eth / vlan tci is 1 / pppoes / ipv6 dst is CDCD:910A:2222:5498:8475:1111:3900:2022 / udp src is 25 dst is 23 / end actions queue index 1 / end\n+\n+ repeat step 1-4 to check the pattern in pipeline mode.\n+\n+to queue group action\n+......................\n+\n+1. validate a rule::\n+\n+ testpmd> flow validate 0 ingress pattern eth / vlan tci is 1 / pppoes / ipv6 dst is CDCD:910A:2222:5498:8475:1111:3900:2022 / udp src is 25 dst is 23 / end actions rss queues 4 5 end / end\n+\n+ get the message::\n+\n+ Flow rule validated\n+\n+ check the flow list::\n+\n+ testpmd> flow list 0\n+\n+ check the rule not exists in the list.\n+\n+2. create a rule::\n+\n+ testpmd> flow create 0 ingress pattern eth / vlan tci is 1 / pppoes / ipv6 dst is CDCD:910A:2222:5498:8475:1111:3900:2022 / udp src is 25 dst is 23 / end actions rss queues 4 5 end / end\n+\n+ get the message::\n+\n+ Succeeded to create (2) flow\n+\n+ check the flow list::\n+\n+ testpmd> flow list 0\n+\n+ check the rule exists in the list.\n+\n+3. send matched packets, check the packets are to queue 4 or 5.\n+ send mismatched packets, check the packets are not to queue 4 and 5.\n+\n+4. verify rules can be destroyed::\n+\n+ testpmd> flow destroy 0 rule 15360\n+ testpmd> flow list 0\n+\n+ check the rule not exists in the list.\n+ send matched packets, check the packets are not to queue 4 and 5.\n+\n+5. check the pattern in pipeline mode\n+\n+ validate a rule::\n+\n+ testpmd> flow validate 0 priority 0 ingress pattern eth / vlan tci is 1 / pppoes / ipv6 dst is CDCD:910A:2222:5498:8475:1111:3900:2022 / udp src is 25 dst is 23 / end actions rss queues 4 5 end / end\n+\n+ create a rule::\n+\n+ testpmd> flow create 0 priority 0 ingress pattern eth / vlan tci is 1 / pppoes / ipv6 dst is CDCD:910A:2222:5498:8475:1111:3900:2022 / udp src is 25 dst is 23 / end actions rss queues 4 5 end / end\n+\n+ repeat step 1-4 to check the pattern in pipeline mode.\n+\n+drop action\n+............\n+\n+1. validate a rule::\n+\n+ testpmd> flow validate 0 ingress pattern eth / vlan tci is 1 / pppoes / ipv6 dst is CDCD:910A:2222:5498:8475:1111:3900:2022 / udp src is 25 dst is 23 / end actions drop / end\n+\n+ get the message::\n+\n+ Flow rule validated\n+\n+ check the flow list::\n+\n+ testpmd> flow list 0\n+\n+ check the rule not exists in the list.\n+\n+2. create a rule::\n+\n+ testpmd> flow create 0 ingress pattern eth / vlan tci is 1 / pppoes / ipv6 dst is CDCD:910A:2222:5498:8475:1111:3900:2022 / udp src is 25 dst is 23 / end actions drop / end\n+\n+ get the message::\n+\n+ Succeeded to create (2) flow\n+\n+ check the flow list::\n+\n+ testpmd> flow list 0\n+\n+ check the rule exists in the list.\n+\n+3. send matched packets, check the packets are dropped.\n+ send mismatched packets, check the packets are not dropped.\n+\n+4. verify rules can be destroyed::\n+\n+ testpmd> flow destroy 0 rule 15360\n+ testpmd> flow list 0\n+\n+ check the rule not exists in the list.\n+ send matched packets, check the packets are not dropped.\n+\n+5. check the pattern in pipeline mode\n+\n+ validate a rule::\n+\n+ testpmd> flow validate 0 priority 0 ingress pattern eth / vlan tci is 1 / pppoes / ipv6 dst is CDCD:910A:2222:5498:8475:1111:3900:2022 / udp src is 25 dst is 23 / end actions drop / end\n+\n+ create a rule::\n+\n+ testpmd> flow create 0 priority 0 ingress pattern eth / vlan tci is 1 / pppoes / ipv6 dst is CDCD:910A:2222:5498:8475:1111:3900:2022 / udp src is 25 dst is 23 / end actions drop / end\n+\n+ repeat step 1-4 to check the pattern in pipeline mode.\n+\n+Subcase 18: MAC_VLAN_PPPOE_IPV6_UDP_PAY_non_src_dst_port\n+--------------------------------------------------------\n+\n+matched packets::\n+\n+ sendp([Ether(src=\"11:22:33:44:55:99\",dst=\"00:11:22:33:44:55\",type=0x8100)/Dot1Q(vlan=1,type=0x8864)/PPPoE(sessionid=3)/PPP(proto=0x0057)/IPv6(src=\"CDCD:910A:2222:5498:8475:1111:3900:1536\", dst=\"CDCD:910A:2222:5498:8475:1111:3900:2022\")/UDP(sport=25,dport=23)/Raw(\"x\" * 80)],iface=\"ens786f0\",count=1)\n+\n+mismatched packets::\n+\n+ sendp([Ether(src=\"11:22:33:44:55:99\",dst=\"00:11:22:33:44:55\",type=0x8100)/Dot1Q(vlan=2,type=0x8864)/PPPoE(sessionid=3)/PPP(proto=0x0057)/IPv6(src=\"CDCD:910A:2222:5498:8475:1111:3900:1536\", dst=\"CDCD:910A:2222:5498:8475:1111:3900:2022\")/UDP(sport=25,dport=23)/Raw(\"x\" * 80)],iface=\"ens786f0\",count=1)\n+ sendp([Ether(src=\"11:22:33:44:55:99\",dst=\"00:11:22:33:44:55\",type=0x8100)/Dot1Q(vlan=1,type=0x8864)/PPPoE(sessionid=3)/PPP(proto=0x0057)/IPv6(src=\"CDCD:910A:2222:5498:8475:1111:3900:1537\", dst=\"CDCD:910A:2222:5498:8475:1111:3900:2022\")/UDP(sport=25,dport=23)/Raw(\"x\" * 80)],iface=\"ens786f0\",count=1)\n+ sendp([Ether(src=\"11:22:33:44:55:99\",dst=\"00:11:22:33:44:55\",type=0x8100)/Dot1Q(vlan=1,type=0x8864)/PPPoE(sessionid=3)/PPP(proto=0x0057)/IPv6(src=\"CDCD:910A:2222:5498:8475:1111:3900:1536\", dst=\"CDCD:910A:2222:5498:8475:1111:3900:2022\")/TCP(sport=25,dport=23)/Raw(\"x\" * 80)],iface=\"ens786f0\",count=1)\n+ sendp([Ether(src=\"11:22:33:44:55:99\",dst=\"00:11:22:33:44:55\",type=0x8100)/Dot1Q(vlan=1,type=0x8864)/PPPoE(sessionid=3)/PPP(proto=0x0057)/IPv6(src=\"CDCD:910A:2222:5498:8475:1111:3900:1536\", dst=\"CDCD:910A:2222:5498:8475:1111:3900:2022\")/Raw(\"x\" * 80)],iface=\"ens786f0\",count=1)\n+\n+to queue action\n+................\n+\n+1. validate a rule::\n+\n+ testpmd> flow validate 0 ingress pattern eth / vlan tci is 1 / pppoes / ipv6 src is CDCD:910A:2222:5498:8475:1111:3900:1536 / udp / end actions queue index 1 / end\n+\n+ get the message::\n+\n+ Flow rule validated\n+\n+ check the flow list::\n+\n+ testpmd> flow list 0\n+\n+ check the rule not exists in the list.\n+\n+2. create a rule::\n+\n+ testpmd> flow create 0 ingress pattern eth / vlan tci is 1 / pppoes / ipv6 src is CDCD:910A:2222:5498:8475:1111:3900:1536 / udp / end actions queue index 1 / end\n+\n+ get the message::\n+\n+ Succeeded to create (2) flow\n+\n+ check the flow list::\n+\n+ testpmd> flow list 0\n+\n+ check the rule exists in the list.\n+\n+3. send matched packets, check the packets are to queue 1.\n+ send mismatched packets, check the packets are not to queue 1.\n+\n+4. verify rules can be destroyed::\n+\n+ testpmd> flow destroy 0 rule 15360\n+ testpmd> flow list 0\n+\n+ check the rule not exists in the list.\n+ send matched packets, check the packets are not to queue 1.\n+\n+5. check the pattern in pipeline mode\n+\n+ validate a rule::\n+\n+ testpmd> flow validate 0 priority 0 ingress pattern eth / vlan tci is 1 / pppoes / ipv6 src is CDCD:910A:2222:5498:8475:1111:3900:1536 / udp / end actions queue index 1 / end\n+\n+ create a rule::\n+\n+ testpmd> flow create 0 priority 0 ingress pattern eth / vlan tci is 1 / pppoes / ipv6 src is CDCD:910A:2222:5498:8475:1111:3900:1536 / udp / end actions queue index 1 / end\n+\n+ repeat step 1-4 to check the pattern in pipeline mode.\n+\n+to queue group action\n+......................\n+\n+1. validate a rule::\n+\n+ testpmd> flow validate 0 ingress pattern eth / vlan tci is 1 / pppoes / ipv6 src is CDCD:910A:2222:5498:8475:1111:3900:1536 / udp / end actions rss queues 2 3 end / end\n+\n+ get the message::\n+\n+ Flow rule validated\n+\n+ check the flow list::\n+\n+ testpmd> flow list 0\n+\n+ check the rule not exists in the list.\n+\n+2. create a rule::\n+\n+ testpmd> flow create 0 ingress pattern eth / vlan tci is 1 / pppoes / ipv6 src is CDCD:910A:2222:5498:8475:1111:3900:1536 / udp / end actions rss queues 2 3 end / end\n+\n+ get the message::\n+\n+ Succeeded to create (2) flow\n+\n+ check the flow list::\n+\n+ testpmd> flow list 0\n+\n+ check the rule exists in the list.\n+\n+3. send matched packets, check the packets are to queue 2 or 3.\n+ send mismatched packets, check the packets are not to queue 2 and 3.\n+\n+4. verify rules can be destroyed::\n+\n+ testpmd> flow destroy 0 rule 15360\n+ testpmd> flow list 0\n+\n+ check the rule not exists in the list.\n+ send matched packets, check the packets are not to queue 2 and 3.\n+\n+5. check the pattern in pipeline mode\n+\n+ validate a rule::\n+\n+ testpmd> flow validate 0 priority 0 ingress pattern eth / vlan tci is 1 / pppoes / ipv6 src is CDCD:910A:2222:5498:8475:1111:3900:1536 / udp / end actions rss queues 2 3 end / end\n+\n+ create a rule::\n+\n+ testpmd> flow create 0 priority 0 ingress pattern eth / vlan tci is 1 / pppoes / ipv6 src is CDCD:910A:2222:5498:8475:1111:3900:1536 / udp / end actions rss queues 2 3 end / end\n+\n+ repeat step 1-4 to check the pattern in pipeline mode.\n+\n+drop action\n+............\n+\n+1. validate a rule::\n+\n+ testpmd> flow validate 0 ingress pattern eth / vlan tci is 1 / pppoes / ipv6 src is CDCD:910A:2222:5498:8475:1111:3900:1536 / udp / end actions drop / end\n+\n+ get the message::\n+\n+ Flow rule validated\n+\n+ check the flow list::\n+\n+ testpmd> flow list 0\n+\n+ check the rule not exists in the list.\n+\n+2. create a rule::\n+\n+ testpmd> flow create 0 ingress pattern eth / vlan tci is 1 / pppoes / ipv6 src is CDCD:910A:2222:5498:8475:1111:3900:1536 / udp / end actions drop / end\n+\n+ get the message::\n+\n+ Succeeded to create (2) flow\n+\n+ check the flow list::\n+\n+ testpmd> flow list 0\n+\n+ check the rule exists in the list.\n+\n+3. send matched packets, check the packets are dropped.\n+ send mismatched packets, check the packets are not dropped.\n+\n+4. verify rules can be destroyed::\n+\n+ testpmd> flow destroy 0 rule 15360\n+ testpmd> flow list 0\n+\n+ check the rule not exists in the list.\n+ send matched packets, check the packets are not dropped.\n+\n+5. check the pattern in pipeline mode\n+\n+ validate a rule::\n+\n+ testpmd> flow validate 0 priority 0 ingress pattern eth / vlan tci is 1 / pppoes / ipv6 src is CDCD:910A:2222:5498:8475:1111:3900:1536 / udp / end actions drop / end\n+\n+ create a rule::\n+\n+ testpmd> flow create 0 priority 0 ingress pattern eth / vlan tci is 1 / pppoes / ipv6 src is CDCD:910A:2222:5498:8475:1111:3900:1536 / udp / end actions drop / end\n+\n+ repeat step 1-4 to check the pattern in pipeline mode.\n+\n+Subcase 19: MAC_VLAN_PPPOE_IPV6_TCP_PAY\n+---------------------------------------\n+\n+matched packets::\n+\n+ sendp([Ether(src=\"11:22:33:44:55:99\",dst=\"00:11:22:33:44:55\",type=0x8100)/Dot1Q(vlan=1,type=0x8864)/PPPoE(sessionid=3)/PPP(proto=0x0057)/IPv6(src=\"CDCD:910A:2222:5498:8475:1111:3900:1536\", dst=\"CDCD:910A:2222:5498:8475:1111:3900:2022\")/TCP(sport=25,dport=23)/Raw(\"x\" * 80)],iface=\"ens786f0\",count=1)\n+\n+mismatched packets::\n+\n+ sendp([Ether(src=\"11:22:33:44:55:99\",dst=\"00:11:22:33:44:55\",type=0x8100)/Dot1Q(vlan=2,type=0x8864)/PPPoE(sessionid=3)/PPP(proto=0x0057)/IPv6(src=\"CDCD:910A:2222:5498:8475:1111:3900:1536\", dst=\"CDCD:910A:2222:5498:8475:1111:3900:2022\")/TCP(sport=25,dport=23)/Raw(\"x\" * 80)],iface=\"ens786f0\",count=1)\n+ sendp([Ether(src=\"11:22:33:44:55:99\",dst=\"00:11:22:33:44:55\",type=0x8100)/Dot1Q(vlan=1,type=0x8864)/PPPoE(sessionid=3)/PPP(proto=0x0057)/IPv6(src=\"CDCD:910A:2222:5498:8475:1111:3900:1536\", dst=\"CDCD:910A:2222:5498:8475:1111:3900:2023\")/TCP(sport=25,dport=23)/Raw(\"x\" * 80)],iface=\"ens786f0\",count=1)\n+ sendp([Ether(src=\"11:22:33:44:55:99\",dst=\"00:11:22:33:44:55\",type=0x8100)/Dot1Q(vlan=1,type=0x8864)/PPPoE(sessionid=3)/PPP(proto=0x0057)/IPv6(src=\"CDCD:910A:2222:5498:8475:1111:3900:1536\", dst=\"CDCD:910A:2222:5498:8475:1111:3900:2022\")/TCP(sport=27,dport=23)/Raw(\"x\" * 80)],iface=\"ens786f0\",count=1)\n+ sendp([Ether(src=\"11:22:33:44:55:99\",dst=\"00:11:22:33:44:55\",type=0x8100)/Dot1Q(vlan=1,type=0x8864)/PPPoE(sessionid=3)/PPP(proto=0x0057)/IPv6(src=\"CDCD:910A:2222:5498:8475:1111:3900:1536\", dst=\"CDCD:910A:2222:5498:8475:1111:3900:2022\")/TCP(sport=25,dport=19)/Raw(\"x\" * 80)],iface=\"ens786f0\",count=1)\n+\n+to queue action\n+................\n+\n+1. validate a rule::\n+\n+ testpmd> flow validate 0 ingress pattern eth / vlan tci is 1 / pppoes / ipv6 dst is CDCD:910A:2222:5498:8475:1111:3900:2022 / tcp src is 25 dst is 23 / end actions queue index 1 / end\n+\n+ get the message::\n+\n+ Flow rule validated\n+\n+ check the flow list::\n+\n+ testpmd> flow list 0\n+\n+ check the rule not exists in the list.\n+\n+2. create a rule::\n+\n+ testpmd> flow create 0 ingress pattern eth / vlan tci is 1 / pppoes / ipv6 dst is CDCD:910A:2222:5498:8475:1111:3900:2022 / tcp src is 25 dst is 23 / end actions queue index 1 / end\n+\n+ get the message::\n+\n+ Succeeded to create (2) flow\n+\n+ check the flow list::\n+\n+ testpmd> flow list 0\n+\n+ check the rule exists in the list.\n+\n+3. send matched packets, check the packets are to queue 1.\n+ send mismatched packets, check the packets are not to queue 1.\n+\n+4. verify rules can be destroyed::\n+\n+ testpmd> flow destroy 0 rule 15360\n+ testpmd> flow list 0\n+\n+ check the rule not exists in the list.\n+ send matched packets, check the packets are not to queue 1.\n+\n+5. check the pattern in pipeline mode\n+\n+ validate a rule::\n+\n+ testpmd> flow validate 0 priority 0 ingress pattern eth / vlan tci is 1 / pppoes / ipv6 dst is CDCD:910A:2222:5498:8475:1111:3900:2022 / tcp src is 25 dst is 23 / end actions queue index 1 / end\n+\n+ create a rule::\n+\n+ testpmd> flow create 0 priority 0 ingress pattern eth / vlan tci is 1 / pppoes / ipv6 dst is CDCD:910A:2222:5498:8475:1111:3900:2022 / tcp src is 25 dst is 23 / end actions queue index 1 / end\n+\n+ repeat step 1-4 to check the pattern in pipeline mode.\n+\n+to queue group action\n+......................\n+\n+1. validate a rule::\n+\n+ testpmd> flow validate 0 ingress pattern eth / vlan tci is 1 / pppoes / ipv6 dst is CDCD:910A:2222:5498:8475:1111:3900:2022 / tcp src is 25 dst is 23 / end actions rss queues 4 5 end / end\n+\n+ get the message::\n+\n+ Flow rule validated\n+\n+ check the flow list::\n+\n+ testpmd> flow list 0\n+\n+ check the rule not exists in the list.\n+\n+2. create a rule::\n+\n+ testpmd> flow create 0 ingress pattern eth / vlan tci is 1 / pppoes / ipv6 dst is CDCD:910A:2222:5498:8475:1111:3900:2022 / tcp src is 25 dst is 23 / end actions rss queues 4 5 end / end\n+\n+ get the message::\n+\n+ Succeeded to create (2) flow\n+\n+ check the flow list::\n+\n+ testpmd> flow list 0\n+\n+ check the rule exists in the list.\n+\n+3. send matched packets, check the packets are to queue 4 or 5.\n+ send mismatched packets, check the packets are not to queue 4 and 5.\n+\n+4. verify rules can be destroyed::\n+\n+ testpmd> flow destroy 0 rule 15360\n+ testpmd> flow list 0\n+\n+ check the rule not exists in the list.\n+ send matched packets, check the packets are not to queue 4 and 5.\n+\n+5. check the pattern in pipeline mode\n+\n+ validate a rule::\n+\n+ testpmd> flow validate 0 priority 0 ingress pattern eth / vlan tci is 1 / pppoes / ipv6 dst is CDCD:910A:2222:5498:8475:1111:3900:2022 / tcp src is 25 dst is 23 / end actions rss queues 4 5 end / end\n+\n+ create a rule::\n+\n+ testpmd> flow create 0 priority 0 ingress pattern eth / vlan tci is 1 / pppoes / ipv6 dst is CDCD:910A:2222:5498:8475:1111:3900:2022 / tcp src is 25 dst is 23 / end actions rss queues 4 5 end / end\n+\n+ repeat step 1-4 to check the pattern in pipeline mode.\n+\n+drop action\n+............\n+\n+1. validate a rule::\n+\n+ testpmd> flow validate 0 ingress pattern eth / vlan tci is 1 / pppoes / ipv6 dst is CDCD:910A:2222:5498:8475:1111:3900:2022 / tcp src is 25 dst is 23 / end actions drop / end\n+\n+ get the message::\n+\n+ Flow rule validated\n+\n+ check the flow list::\n+\n+ testpmd> flow list 0\n+\n+ check the rule not exists in the list.\n+\n+2. create a rule::\n+\n+ testpmd> flow create 0 ingress pattern eth / vlan tci is 1 / pppoes / ipv6 dst is CDCD:910A:2222:5498:8475:1111:3900:2022 / tcp src is 25 dst is 23 / end actions drop / end\n+\n+ get the message::\n+\n+ Succeeded to create (2) flow\n+\n+ check the flow list::\n+\n+ testpmd> flow list 0\n+\n+ check the rule exists in the list.\n+\n+3. send matched packets, check the packets are dropped.\n+ send mismatched packets, check the packets are not dropped.\n+\n+4. verify rules can be destroyed::\n+\n+ testpmd> flow destroy 0 rule 15360\n+ testpmd> flow list 0\n+\n+ check the rule not exists in the list.\n+ send matched packets, check the packets are not dropped.\n+\n+5. check the pattern in pipeline mode\n+\n+ validate a rule::\n+\n+ testpmd> flow validate 0 priority 0 ingress pattern eth / vlan tci is 1 / pppoes / ipv6 dst is CDCD:910A:2222:5498:8475:1111:3900:2022 / tcp src is 25 dst is 23 / end actions drop / end\n+\n+ create a rule::\n+\n+ testpmd> flow create 0 priority 0 ingress pattern eth / vlan tci is 1 / pppoes / ipv6 dst is CDCD:910A:2222:5498:8475:1111:3900:2022 / tcp src is 25 dst is 23 / end actions drop / end\n+\n+ repeat step 1-4 to check the pattern in pipeline mode.\n+\n+Subcase 20: MAC_VLAN_PPPOE_IPV6_TCP_PAY_non_src_dst_port\n+--------------------------------------------------------\n+\n+matched packets::\n+\n+ sendp([Ether(src=\"11:22:33:44:55:99\",dst=\"00:11:22:33:44:55\",type=0x8100)/Dot1Q(vlan=1,type=0x8864)/PPPoE(sessionid=3)/PPP(proto=0x0057)/IPv6(src=\"CDCD:910A:2222:5498:8475:1111:3900:1536\", dst=\"CDCD:910A:2222:5498:8475:1111:3900:2022\")/TCP(sport=25,dport=23)/Raw(\"x\" * 80)],iface=\"ens786f0\",count=1)\n+\n+mismatched packets::\n+\n+ sendp([Ether(src=\"11:22:33:44:55:99\",dst=\"00:11:22:33:44:55\",type=0x8100)/Dot1Q(vlan=2,type=0x8864)/PPPoE(sessionid=3)/PPP(proto=0x0057)/IPv6(src=\"CDCD:910A:2222:5498:8475:1111:3900:1536\", dst=\"CDCD:910A:2222:5498:8475:1111:3900:2022\")/TCP(sport=25,dport=23)/Raw(\"x\" * 80)],iface=\"ens786f0\",count=1)\n+ sendp([Ether(src=\"11:22:33:44:55:99\",dst=\"00:11:22:33:44:55\",type=0x8100)/Dot1Q(vlan=1,type=0x8864)/PPPoE(sessionid=3)/PPP(proto=0x0057)/IPv6(src=\"CDCD:910A:2222:5498:8475:1111:3900:1537\", dst=\"CDCD:910A:2222:5498:8475:1111:3900:2022\")/TCP(sport=25,dport=23)/Raw(\"x\" * 80)],iface=\"ens786f0\",count=1)\n+ sendp([Ether(src=\"11:22:33:44:55:99\",dst=\"00:11:22:33:44:55\",type=0x8100)/Dot1Q(vlan=1,type=0x8864)/PPPoE(sessionid=3)/PPP(proto=0x0057)/IPv6(src=\"CDCD:910A:2222:5498:8475:1111:3900:1536\", dst=\"CDCD:910A:2222:5498:8475:1111:3900:2022\")/UDP(sport=25,dport=23)/Raw(\"x\" * 80)],iface=\"ens786f0\",count=1)\n+ sendp([Ether(src=\"11:22:33:44:55:99\",dst=\"00:11:22:33:44:55\",type=0x8100)/Dot1Q(vlan=1,type=0x8864)/PPPoE(sessionid=3)/PPP(proto=0x0057)/IPv6(src=\"CDCD:910A:2222:5498:8475:1111:3900:1536\", dst=\"CDCD:910A:2222:5498:8475:1111:3900:2022\")/Raw(\"x\" * 80)],iface=\"ens786f0\",count=1)\n+\n+to queue action\n+................\n+\n+1. validate a rule::\n+\n+ testpmd> flow validate 0 ingress pattern eth / vlan tci is 1 / pppoes / ipv6 src is CDCD:910A:2222:5498:8475:1111:3900:1536 / tcp / end actions queue index 1 / end\n+\n+ get the message::\n+\n+ Flow rule validated\n+\n+ check the flow list::\n+\n+ testpmd> flow list 0\n+\n+ check the rule not exists in the list.\n+\n+2. create a rule::\n+\n+ testpmd> flow create 0 ingress pattern eth / vlan tci is 1 / pppoes / ipv6 src is CDCD:910A:2222:5498:8475:1111:3900:1536 / tcp / end actions queue index 1 / end\n+\n+ get the message::\n+\n+ Succeeded to create (2) flow\n+\n+ check the flow list::\n+\n+ testpmd> flow list 0\n+\n+ check the rule exists in the list.\n+\n+3. send matched packets, check the packets are to queue 1.\n+ send mismatched packets, check the packets are not to queue 1.\n+\n+4. verify rules can be destroyed::\n+\n+ testpmd> flow destroy 0 rule 15360\n+ testpmd> flow list 0\n+\n+ check the rule not exists in the list.\n+ send matched packets, check the packets are not to queue 1.\n+\n+5. check the pattern in pipeline mode\n+\n+ validate a rule::\n+\n+ testpmd> flow validate 0 priority 0 ingress pattern eth / vlan tci is 1 / pppoes / ipv6 src is CDCD:910A:2222:5498:8475:1111:3900:1536 / tcp / end actions queue index 1 / end\n+\n+ create a rule::\n+\n+ testpmd> flow create 0 priority 0 ingress pattern eth / vlan tci is 1 / pppoes / ipv6 src is CDCD:910A:2222:5498:8475:1111:3900:1536 / tcp / end actions queue index 1 / end\n+\n+ repeat step 1-4 to check the pattern in pipeline mode.\n+\n+to queue group action\n+......................\n+\n+1. validate a rule::\n+\n+ testpmd> flow validate 0 ingress pattern eth / vlan tci is 1 / pppoes / ipv6 src is CDCD:910A:2222:5498:8475:1111:3900:1536 / tcp / end actions rss queues 2 3 end / end\n+\n+ get the message::\n+\n+ Flow rule validated\n+\n+ check the flow list::\n+\n+ testpmd> flow list 0\n+\n+ check the rule not exists in the list.\n+\n+2. create a rule::\n+\n+ testpmd> flow create 0 ingress pattern eth / vlan tci is 1 / pppoes / ipv6 src is CDCD:910A:2222:5498:8475:1111:3900:1536 / tcp / end actions rss queues 2 3 end / end\n+\n+ get the message::\n+\n+ Succeeded to create (2) flow\n+\n+ check the flow list::\n+\n+ testpmd> flow list 0\n+\n+ check the rule exists in the list.\n+\n+3. send matched packets, check the packets are to queue 2 or 3.\n+ send mismatched packets, check the packets are not to queue 2 and 3.\n+\n+4. verify rules can be destroyed::\n+\n+ testpmd> flow destroy 0 rule 15360\n+ testpmd> flow list 0\n+\n+ check the rule not exists in the list.\n+ send matched packets, check the packets are not to queue 2 and 3.\n+\n+5. check the pattern in pipeline mode\n+\n+ validate a rule::\n+\n+ testpmd> flow validate 0 priority 0 ingress pattern eth / vlan tci is 1 / pppoes / ipv6 src is CDCD:910A:2222:5498:8475:1111:3900:1536 / tcp / end actions rss queues 2 3 end / end\n+\n+ create a rule::\n+\n+ testpmd> flow create 0 priority 0 ingress pattern eth / vlan tci is 1 / pppoes / ipv6 src is CDCD:910A:2222:5498:8475:1111:3900:1536 / tcp / end actions rss queues 2 3 end / end\n+\n+ repeat step 1-4 to check the pattern in pipeline mode.\n+\n+drop action\n+............\n+\n+1. validate a rule::\n+\n+ testpmd> flow validate 0 ingress pattern eth / vlan tci is 1 / pppoes / ipv6 src is CDCD:910A:2222:5498:8475:1111:3900:1536 / tcp / end actions drop / end\n+\n+ get the message::\n+\n+ Flow rule validated\n+\n+ check the flow list::\n+\n+ testpmd> flow list 0\n+\n+ check the rule not exists in the list.\n+\n+2. create a rule::\n+\n+ testpmd> flow create 0 ingress pattern eth / vlan tci is 1 / pppoes / ipv6 src is CDCD:910A:2222:5498:8475:1111:3900:1536 / tcp / end actions drop / end\n+\n+ get the message::\n+\n+ Succeeded to create (2) flow\n+\n+ check the flow list::\n+\n+ testpmd> flow list 0\n+\n+ check the rule exists in the list.\n+\n+3. send matched packets, check the packets are dropped.\n+ send mismatched packets, check the packets are not dropped.\n+\n+4. verify rules can be destroyed::\n+\n+ testpmd> flow destroy 0 rule 15360\n+ testpmd> flow list 0\n+\n+ check the rule not exists in the list.\n+ send matched packets, check the packets are not dropped.\n+\n+5. check the pattern in pipeline mode\n+\n+ validate a rule::\n+\n+ testpmd> flow validate 0 priority 0 ingress pattern eth / vlan tci is 1 / pppoes / ipv6 src is CDCD:910A:2222:5498:8475:1111:3900:1536 / tcp / end actions drop / end\n+\n+ create a rule::\n+\n+ testpmd> flow create 0 priority 0 ingress pattern eth / vlan tci is 1 / pppoes / ipv6 src is CDCD:910A:2222:5498:8475:1111:3900:1536 / tcp / end actions drop / end\n+\n+ repeat step 1-4 to check the pattern in pipeline mode.\n+\n+Test case: PPPoE Control\n+========================\n+\n+create a PPPOE rule to enable RSS for PPPOE_control packets::\n+\n+ testpmd> flow create 0 ingress pattern eth / pppoes / end actions rss types pppoe end key_len 0 queues end / end\n+\n+Subcase 1: MAC_PPPOE_LCP_PAY\n+----------------------------\n+\n+matched packets::\n+\n+ sendp([Ether(src=\"11:22:33:44:55:99\",dst=\"00:11:22:33:44:55\",type=0x8864)/PPPoE(sessionid=3)/PPP(proto=0xc021)/PPP_LCP()/Raw(\"x\" * 80)],iface=\"ens786f0\",count=1)\n+\n+mismatched packets::\n+\n+ sendp([Ether(src=\"11:22:33:44:55:99\",dst=\"00:11:22:33:44:53\",type=0x8864)/PPPoE(sessionid=3)/PPP(proto=0xc021)/PPP_LCP()/Raw(\"x\" * 80)],iface=\"ens786f0\",count=1)\n+ sendp([Ether(src=\"11:22:33:44:55:99\",dst=\"00:11:22:33:44:55\",type=0x8864)/PPPoE(sessionid=4)/PPP(proto=0xc021)/PPP_LCP()/Raw(\"x\" * 80)],iface=\"ens786f0\",count=1)\n+ sendp([Ether(src=\"11:22:33:44:55:99\",dst=\"00:11:22:33:44:55\",type=0x8864)/PPPoE(sessionid=3)/PPP(proto=0x0021)/IP()/Raw(\"x\" * 80)],iface=\"ens786f0\",count=1)\n+\n+to queue action\n+................\n+\n+1. validate a rule::\n+\n+ testpmd> flow validate 0 ingress pattern eth dst is 00:11:22:33:44:55 / pppoes seid is 3 / pppoe_proto_id is 0xc021 / end actions queue index 1 / end\n+\n+ get the message::\n+\n+ Flow rule validated\n+\n+ check the flow list::\n+\n+ testpmd> flow list 0\n+\n+ check the rule not exists in the list.\n+\n+2. create a rule::\n+\n+ testpmd> flow create 0 ingress pattern eth dst is 00:11:22:33:44:55 / pppoes seid is 3 / pppoe_proto_id is 0xc021 / end actions queue index 1 / end\n+\n+ get the message::\n+\n+ Succeeded to create (2) flow\n+\n+ check the flow list::\n+\n+ testpmd> flow list 0\n+\n+ check the rule exists in the list.\n+\n+3. send matched packets, check the packets are to queue 1.\n+ send mismatched packets, check the packets are not to queue 1.\n+\n+4. verify rules can be destroyed::\n+\n+ testpmd> flow destroy 0 rule 15360\n+ testpmd> flow list 0\n+\n+ check the rule not exists in the list.\n+ send matched packets, check the packets are not to queue 1.\n+\n+5. check the pattern in pipeline mode\n+\n+ validate a rule::\n+\n+ testpmd> flow validate 0 priority 0 ingress pattern eth dst is 00:11:22:33:44:55 / pppoes seid is 3 / pppoe_proto_id is 0xc021 / end actions queue index 1 / end\n+\n+ create a rule::\n+\n+ testpmd> flow create 0 priority 0 ingress pattern eth dst is 00:11:22:33:44:55 / pppoes seid is 3 / pppoe_proto_id is 0xc021 / end actions queue index 1 / end\n+\n+ repeat step 1-4 to check the pattern in pipeline mode.\n+\n+to queue group action\n+......................\n+\n+1. validate a rule::\n+\n+ testpmd> flow validate 0 ingress pattern eth dst is 00:11:22:33:44:55 / pppoes seid is 3 / pppoe_proto_id is 0xc021 / end actions rss queues 2 3 end / end\n+\n+ get the message::\n+\n+ Flow rule validated\n+\n+ check the flow list::\n+\n+ testpmd> flow list 0\n+\n+ check the rule not exists in the list.\n+\n+2. create a rule::\n+\n+ testpmd> flow create 0 ingress pattern eth dst is 00:11:22:33:44:55 / pppoes seid is 3 / pppoe_proto_id is 0xc021 / end actions rss queues 2 3 end / end\n+\n+ get the message::\n+\n+ Succeeded to create (2) flow\n+\n+ check the flow list::\n+\n+ testpmd> flow list 0\n+\n+ check the rule exists in the list.\n+\n+3. send matched packets, check the packets are to queue 2 or 3.\n+ send mismatched packets, check the packets are not to queue 2 and 3.\n+\n+4. verify rules can be destroyed::\n+\n+ testpmd> flow destroy 0 rule 15360\n+ testpmd> flow destroy 0 rule 15361\n+ testpmd> flow list 0\n+\n+ check the rule not exists in the list.\n+ send matched packets, check the packets are not to queue 2 and 3.\n+\n+5. check the pattern in pipeline mode\n+\n+ validate a rule::\n+\n+ testpmd> flow validate 0 priority 0 ingress pattern eth dst is 00:11:22:33:44:55 / pppoes seid is 3 / pppoe_proto_id is 0xc021 / end actions rss queues 2 3 end / end\n+\n+ create a rule::\n+\n+ testpmd> flow create 0 priority 0 ingress pattern eth dst is 00:11:22:33:44:55 / pppoes seid is 3 / pppoe_proto_id is 0xc021 / end actions rss queues 2 3 end / end\n+\n+ repeat step 1-4 to check the pattern in pipeline mode.\n+\n+drop action\n+............\n+\n+1. validate a rule::\n+\n+ testpmd> flow validate 0 ingress pattern eth dst is 00:11:22:33:44:55 / pppoes seid is 3 / pppoe_proto_id is 0xc021 / end actions drop / end\n+\n+ get the message::\n+\n+ Flow rule validated\n+\n+ check the flow list::\n+\n+ testpmd> flow list 0\n+\n+ check the rule not exists in the list.\n+\n+2. create a rule::\n+\n+ testpmd> flow create 0 ingress pattern eth dst is 00:11:22:33:44:55 / pppoes seid is 3 / pppoe_proto_id is 0xc021 / end actions drop / end\n+\n+ get the message::\n+\n+ Succeeded to create (2) flow\n+\n+ check the flow list::\n+\n+ testpmd> flow list 0\n+\n+ check the rule exists in the list.\n+\n+3. send matched packets, check the packets are dropped.\n+ send mismatched packets, check the packets are not dropped.\n+\n+4. verify rules can be destroyed::\n+\n+ testpmd> flow destroy 0 rule 15360\n+ testpmd> flow list 0\n+\n+ check the rule not exists in the list.\n+ send matched packets, check the packets are not dropped.\n+\n+5. check the pattern in pipeline mode\n+\n+ validate a rule::\n+\n+ testpmd> flow validate 0 priority 0 ingress pattern eth dst is 00:11:22:33:44:55 / pppoes seid is 3 / pppoe_proto_id is 0xc021 / end actions drop / end\n+\n+ create a rule::\n+\n+ testpmd> flow create 0 priority 0 ingress pattern eth dst is 00:11:22:33:44:55 / pppoes seid is 3 / pppoe_proto_id is 0xc021 / end actions drop / end\n+\n+ repeat step 1-4 to check the pattern in pipeline mode.\n+\n+Subcase 2: MAC_PPPOE_IPCP_PAY\n+-----------------------------\n+\n+matched packets::\n+\n+ sendp([Ether(src=\"11:22:33:44:55:99\",dst=\"00:11:22:33:44:55\",type=0x8864)/PPPoE(sessionid=3)/PPP(proto=0x8021)/PPP_IPCP()/Raw(\"x\" * 80)],iface=\"ens786f0\",count=1)\n+\n+mismatched packets::\n+\n+ sendp([Ether(src=\"11:22:33:44:55:99\",dst=\"00:11:22:33:44:53\",type=0x8864)/PPPoE(sessionid=3)/PPP(proto=0x8021)/PPP_IPCP()/Raw(\"x\" * 80)],iface=\"ens786f0\",count=1)\n+ sendp([Ether(src=\"11:22:33:44:55:99\",dst=\"00:11:22:33:44:55\",type=0x8864)/PPPoE(sessionid=4)/PPP(proto=0x8021)/PPP_IPCP()/Raw(\"x\" * 80)],iface=\"ens786f0\",count=1)\n+ sendp([Ether(src=\"11:22:33:44:55:99\",dst=\"00:11:22:33:44:55\",type=0x8864)/PPPoE(sessionid=3)/PPP(proto=0x0021)/IP()/Raw(\"x\" * 80)],iface=\"ens786f0\",count=1)\n+\n+to queue action\n+................\n+\n+1. validate a rule::\n+\n+ testpmd> flow validate 0 ingress pattern eth dst is 00:11:22:33:44:55 / pppoes seid is 3 / pppoe_proto_id is 0x8021 / end actions queue index 1 / end\n+\n+ get the message::\n+\n+ Flow rule validated\n+\n+ check the flow list::\n+\n+ testpmd> flow list 0\n+\n+ check the rule not exists in the list.\n+\n+2. create a rule::\n+\n+ testpmd> flow create 0 ingress pattern eth dst is 00:11:22:33:44:55 / pppoes seid is 3 / pppoe_proto_id is 0x8021 / end actions queue index 1 / end\n+\n+ get the message::\n+\n+ Succeeded to create (2) flow\n+\n+ check the flow list::\n+\n+ testpmd> flow list 0\n+\n+ check the rule exists in the list.\n+\n+3. send matched packets, check the packets are to queue 1.\n+ send mismatched packets, check the packets are not to queue 1.\n+\n+4. verify rules can be destroyed::\n+\n+ testpmd> flow destroy 0 rule 15360\n+ testpmd> flow list 0\n+\n+ check the rule not exists in the list.\n+ send matched packets, check the packets are not to queue 1.\n+\n+5. check the pattern in pipeline mode\n+\n+ validate a rule::\n+\n+ testpmd> flow validate 0 priority 0 ingress pattern eth dst is 00:11:22:33:44:55 / pppoes seid is 3 / pppoe_proto_id is 0x8021 / end actions queue index 1 / end\n+\n+ create a rule::\n+\n+ testpmd> flow create 0 priority 0 ingress pattern eth dst is 00:11:22:33:44:55 / pppoes seid is 3 / pppoe_proto_id is 0x8021 / end actions queue index 1 / end\n+\n+ repeat step 1-4 to check the pattern in pipeline mode.\n+\n+to queue group action\n+......................\n+\n+1. validate a rule::\n+\n+ testpmd> flow validate 0 ingress pattern eth dst is 00:11:22:33:44:55 / pppoes seid is 3 / pppoe_proto_id is 0x8021 / end actions rss queues 2 3 end / end\n+\n+ get the message::\n+\n+ Flow rule validated\n+\n+ check the flow list::\n+\n+ testpmd> flow list 0\n+\n+ check the rule not exists in the list.\n+\n+2. create a rule::\n+\n+ testpmd> flow create 0 ingress pattern eth dst is 00:11:22:33:44:55 / pppoes seid is 3 / pppoe_proto_id is 0x8021 / end actions rss queues 2 3 end / end\n+\n+ get the message::\n+\n+ Succeeded to create (2) flow\n+\n+ check the flow list::\n+\n+ testpmd> flow list 0\n+\n+ check the rule exists in the list.\n+\n+3. send matched packets, check the packets are to queue 2 or 3.\n+ send mismatched packets, check the packets are not to queue 2 and 3.\n+\n+4. verify rules can be destroyed::\n+\n+ testpmd> flow destroy 0 rule 15360\n+ testpmd> flow destroy 0 rule 15361\n+ testpmd> flow list 0\n+\n+ check the rules not exists in the list.\n+ send matched packets, check the packets are not to queue 2 and 3.\n+\n+5. check the pattern in pipeline mode\n+\n+ validate a rule::\n+\n+ testpmd> flow validate 0 priority 0 ingress pattern eth dst is 00:11:22:33:44:55 / pppoes seid is 3 / pppoe_proto_id is 0x8021 / end actions rss queues 2 3 end / end\n+\n+ create a rule::\n+\n+ testpmd> flow create 0 priority 0 ingress pattern eth dst is 00:11:22:33:44:55 / pppoes seid is 3 / pppoe_proto_id is 0x8021 / end actions rss queues 2 3 end / end\n+\n+ repeat step 1-4 to check the pattern in pipeline mode.\n+\n+drop action\n+............\n+\n+1. validate a rule::\n+\n+ testpmd> flow validate 0 ingress pattern eth dst is 00:11:22:33:44:55 / pppoes seid is 3 / pppoe_proto_id is 0x8021 / end actions drop / end\n+\n+ get the message::\n+\n+ Flow rule validated\n+\n+ check the flow list::\n+\n+ testpmd> flow list 0\n+\n+ check the rule not exists in the list.\n+\n+2. create a rule::\n+\n+ testpmd> flow create 0 ingress pattern eth dst is 00:11:22:33:44:55 / pppoes seid is 3 / pppoe_proto_id is 0x8021 / end actions drop / end\n+\n+ get the message::\n+\n+ Succeeded to create (2) flow\n+\n+ check the flow list::\n+\n+ testpmd> flow list 0\n+\n+ check the rule exists in the list.\n+\n+3. send matched packets, check the packets are dropped.\n+ send mismatched packets, check the packets are not dropped.\n+\n+4. verify rules can be destroyed::\n+\n+ testpmd> flow destroy 0 rule 15360\n+ testpmd> flow list 0\n+\n+ check the rule not exists in the list.\n+ send matched packets, check the packets are not dropped.\n+\n+5. check the pattern in pipeline mode\n+\n+ validate a rule::\n+\n+ testpmd> flow validate 0 priority 0 ingress pattern eth dst is 00:11:22:33:44:55 / pppoes seid is 3 / pppoe_proto_id is 0x8021 / end actions drop / end\n+\n+ create a rule::\n+\n+ testpmd> flow create 0 priority 0 ingress pattern eth dst is 00:11:22:33:44:55 / pppoes seid is 3 / pppoe_proto_id is 0x8021 / end actions drop / end\n+\n+ repeat step 1-4 to check the pattern in pipeline mode.\n+\n+Subcase 3: MAC_VLAN_PPPOE_LCP_PAY\n+---------------------------------\n+\n+matched packets::\n+\n+ sendp([Ether(src=\"11:22:33:44:55:99\",dst=\"00:11:22:33:44:55\",type=0x8100)/Dot1Q(vlan=1,type=0x8864)/PPPoE(sessionid=3)/PPP(proto=0xc021)/PPP_LCP()/Raw(\"x\" * 80)],iface=\"ens786f0\",count=1)\n+\n+mismatched packets::\n+\n+ sendp([Ether(src=\"11:22:33:44:55:99\",dst=\"00:11:22:33:44:53\",type=0x8100)/Dot1Q(vlan=1,type=0x8864)/PPPoE(sessionid=3)/PPP(proto=0xc021)/PPP_LCP()/Raw(\"x\" * 80)],iface=\"ens786f0\",count=1)\n+ sendp([Ether(src=\"11:22:33:44:55:99\",dst=\"00:11:22:33:44:55\",type=0x8100)/Dot1Q(vlan=2,type=0x8864)/PPPoE(sessionid=3)/PPP(proto=0xc021)/PPP_LCP()/Raw(\"x\" * 80)],iface=\"ens786f0\",count=1)\n+ sendp([Ether(src=\"11:22:33:44:55:99\",dst=\"00:11:22:33:44:55\",type=0x8100)/Dot1Q(vlan=1,type=0x8864)/PPPoE(sessionid=4)/PPP(proto=0xc021)/PPP_LCP()/Raw(\"x\" * 80)],iface=\"ens786f0\",count=1)\n+ sendp([Ether(src=\"11:22:33:44:55:99\",dst=\"00:11:22:33:44:55\",type=0x8100)/Dot1Q(vlan=1,type=0x8864)/PPPoE(sessionid=3)/PPP(proto=0x0021)/IP()/Raw(\"x\" * 80)],iface=\"ens786f0\",count=1)\n+\n+to queue action\n+................\n+\n+1. validate a rule::\n+\n+ testpmd> flow validate 0 ingress pattern eth dst is 00:11:22:33:44:55 / vlan tci is 1 / pppoes seid is 3 / pppoe_proto_id is 0xc021 / end actions queue index 1 / end\n+\n+ get the message::\n+\n+ Flow rule validated\n+\n+ check the flow list::\n+\n+ testpmd> flow list 0\n+\n+ check the rule not exists in the list.\n+\n+2. create a rule::\n+\n+ testpmd> flow create 0 ingress pattern eth dst is 00:11:22:33:44:55 / vlan tci is 1 / pppoes seid is 3 / pppoe_proto_id is 0xc021 / end actions queue index 1 / end\n+\n+ get the message::\n+\n+ Succeeded to create (2) flow\n+\n+ check the flow list::\n+\n+ testpmd> flow list 0\n+\n+ check the rule exists in the list.\n+\n+3. send matched packets, check the packets are to queue 1.\n+ send mismatched packets, check the packets are not to queue 1.\n+\n+4. verify rules can be destroyed::\n+\n+ testpmd> flow destroy 0 rule 15360\n+ testpmd> flow list 0\n+\n+ check the rule not exists in the list.\n+ send matched packets, check the packets are not to queue 1.\n+\n+5. check the pattern in pipeline mode\n+\n+ validate a rule::\n+\n+ testpmd> flow validate 0 priority 0 ingress pattern eth dst is 00:11:22:33:44:55 / vlan tci is 1 / pppoes seid is 3 / pppoe_proto_id is 0xc021 / end actions queue index 1 / end\n+\n+ create a rule::\n+\n+ testpmd> flow create 0 priority 0 ingress pattern eth dst is 00:11:22:33:44:55 / vlan tci is 1 / pppoes seid is 3 / pppoe_proto_id is 0xc021 / end actions queue index 1 / end\n+\n+ repeat step 1-4 to check the pattern in pipeline mode.\n+\n+to queue group action\n+......................\n+\n+1. validate a rule::\n+\n+ testpmd> flow validate 0 ingress pattern eth dst is 00:11:22:33:44:55 / vlan tci is 1 / pppoes seid is 3 / pppoe_proto_id is 0xc021 / end actions rss queues 2 3 end / end\n+\n+ get the message::\n+\n+ Flow rule validated\n+\n+ check the flow list::\n+\n+ testpmd> flow list 0\n+\n+ check the rule not exists in the list.\n+\n+2. create a rule::\n+\n+ testpmd> flow create 0 ingress pattern eth dst is 00:11:22:33:44:55 / vlan tci is 1 / pppoes seid is 3 / pppoe_proto_id is 0xc021 / end actions rss queues 2 3 end / end\n+\n+ get the message::\n+\n+ Succeeded to create (2) flow\n+\n+ check the flow list::\n+\n+ testpmd> flow list 0\n+\n+ check the rule exists in the list.\n+\n+3. send matched packets, check the packets are to queue 2 or 3.\n+ send mismatched packets, check the packets are not to queue 2 and 3.\n+\n+4. verify rules can be destroyed::\n+\n+ testpmd> flow destroy 0 rule 15360\n+ testpmd> flow destroy 0 rule 15361\n+ testpmd> flow list 0\n+\n+ check the rules not exist in the list.\n+ send matched packets, check the packets are not to queue 2 and 3.\n+\n+5. check the pattern in pipeline mode\n+\n+ validate a rule::\n+\n+ testpmd> flow validate 0 priority 0 ingress pattern eth dst is 00:11:22:33:44:55 / vlan tci is 1 / pppoes seid is 3 / pppoe_proto_id is 0xc021 / end actions rss queues 2 3 end / end\n+\n+ create a rule::\n+\n+ testpmd> flow create 0 priority 0 ingress pattern eth dst is 00:11:22:33:44:55 / vlan tci is 1 / pppoes seid is 3 / pppoe_proto_id is 0xc021 / end actions rss queues 2 3 end / end\n+\n+ repeat step 1-4 to check the pattern in pipeline mode.\n+\n+drop action\n+............\n+\n+1. validate a rule::\n+\n+ testpmd> flow validate 0 ingress pattern eth dst is 00:11:22:33:44:55 / vlan tci is 1 / pppoes seid is 3 / pppoe_proto_id is 0xc021 / end actions drop / end\n+\n+ get the message::\n+\n+ Flow rule validated\n+\n+ check the flow list::\n+\n+ testpmd> flow list 0\n+\n+ check the rule not exists in the list.\n+\n+2. create a rule::\n+\n+ testpmd> flow create 0 ingress pattern eth dst is 00:11:22:33:44:55 / vlan tci is 1 / pppoes seid is 3 / pppoe_proto_id is 0xc021 / end actions drop / end\n+\n+ get the message::\n+\n+ Succeeded to create (2) flow\n+\n+ check the flow list::\n+\n+ testpmd> flow list 0\n+\n+ check the rule exists in the list.\n+\n+3. send matched packets, check the packets are dropped.\n+ send mismatched packets, check the packets are not dropped.\n+\n+4. verify rules can be destroyed::\n+\n+ testpmd> flow destroy 0 rule 15360\n+ testpmd> flow list 0\n+\n+ check the rule not exists in the list.\n+ send matched packets, check the packets are not dropped.\n+\n+5. check the pattern in pipeline mode\n+\n+ validate a rule::\n+\n+ testpmd> flow validate 0 priority 0 ingress pattern eth dst is 00:11:22:33:44:55 / vlan tci is 1 / pppoes seid is 3 / pppoe_proto_id is 0xc021 / end actions drop / end\n+\n+ create a rule::\n+\n+ testpmd> flow create 0 priority 0 ingress pattern eth dst is 00:11:22:33:44:55 / vlan tci is 1 / pppoes seid is 3 / pppoe_proto_id is 0xc021 / end actions drop / end\n+\n+ repeat step 1-4 to check the pattern in pipeline mode.\n+\n+Subcase 4: MAC_VLAN_PPPOE_IPCP_PAY\n+----------------------------------\n+\n+matched packets::\n+\n+ sendp([Ether(src=\"11:22:33:44:55:99\",dst=\"00:11:22:33:44:55\",type=0x8100)/Dot1Q(vlan=1,type=0x8864)/PPPoE(sessionid=3)/PPP(proto=0x8021)/PPP_IPCP()/Raw(\"x\" * 80)],iface=\"ens786f0\",count=1)\n+\n+mismatched packets::\n+\n+ sendp([Ether(src=\"11:22:33:44:55:99\",dst=\"00:11:22:33:44:53\",type=0x8100)/Dot1Q(vlan=1,type=0x8864)/PPPoE(sessionid=3)/PPP(proto=0x8021)/PPP_IPCP()/Raw(\"x\" * 80)],iface=\"ens786f0\",count=1)\n+ sendp([Ether(src=\"11:22:33:44:55:99\",dst=\"00:11:22:33:44:55\",type=0x8100)/Dot1Q(vlan=2,type=0x8864)/PPPoE(sessionid=3)/PPP(proto=0x8021)/PPP_IPCP()/Raw(\"x\" * 80)],iface=\"ens786f0\",count=1)\n+ sendp([Ether(src=\"11:22:33:44:55:99\",dst=\"00:11:22:33:44:55\",type=0x8100)/Dot1Q(vlan=1,type=0x8864)/PPPoE(sessionid=4)/PPP(proto=0x8021)/PPP_IPCP()/Raw(\"x\" * 80)],iface=\"ens786f0\",count=1)\n+ sendp([Ether(src=\"11:22:33:44:55:99\",dst=\"00:11:22:33:44:55\",type=0x8100)/Dot1Q(vlan=1,type=0x8864)/PPPoE(sessionid=3)/PPP(proto=0x0021)/IP()/Raw(\"x\" * 80)],iface=\"ens786f0\",count=1)\n+\n+to queue action\n+................\n+\n+1. validate a rule::\n+\n+ testpmd> flow validate 0 ingress pattern eth dst is 00:11:22:33:44:55 / vlan tci is 1 / pppoes seid is 3 / pppoe_proto_id is 0x8021 / end actions queue index 1 / end\n+\n+ get the message::\n+\n+ Flow rule validated\n+\n+ check the flow list::\n+\n+ testpmd> flow list 0\n+\n+ check the rule not exists in the list.\n+\n+2. create a rule::\n+\n+ testpmd> flow create 0 ingress pattern eth dst is 00:11:22:33:44:55 / vlan tci is 1 / pppoes seid is 3 / pppoe_proto_id is 0x8021 / end actions queue index 1 / end\n+\n+ get the message::\n+\n+ Succeeded to create (2) flow\n+\n+ check the flow list::\n+\n+ testpmd> flow list 0\n+\n+ check the rule exists in the list.\n+\n+3. send matched packets, check the packets are to queue 1.\n+ send mismatched packets, check the packets are not to queue 1.\n+\n+4. verify rules can be destroyed::\n+\n+ testpmd> flow destroy 0 rule 15360\n+ testpmd> flow list 0\n+\n+ check the rule not exists in the list.\n+ send matched packets, check the packets are not to queue 1.\n+\n+5. check the pattern in pipeline mode\n+\n+ validate a rule::\n+\n+ testpmd> flow validate 0 priority 0 ingress pattern eth dst is 00:11:22:33:44:55 / vlan tci is 1 / pppoes seid is 3 / pppoe_proto_id is 0x8021 / end actions queue index 1 / end\n+\n+ create a rule::\n+\n+ testpmd> flow create 0 priority 0 ingress pattern eth dst is 00:11:22:33:44:55 / vlan tci is 1 / pppoes seid is 3 / pppoe_proto_id is 0x8021 / end actions queue index 1 / end\n+\n+ repeat step 1-4 to check the pattern in pipeline mode.\n+\n+to queue group action\n+......................\n+\n+1. validate a rule::\n+\n+ testpmd> flow validate 0 ingress pattern eth dst is 00:11:22:33:44:55 / vlan tci is 1 / pppoes seid is 3 / pppoe_proto_id is 0x8021 / end actions rss queues 2 3 end / end\n+\n+ get the message::\n+\n+ Flow rule validated\n+\n+ check the flow list::\n+\n+ testpmd> flow list 0\n+\n+ check the rule not exists in the list.\n+\n+2. create a rule::\n+\n+ testpmd> flow create 0 ingress pattern eth dst is 00:11:22:33:44:55 / vlan tci is 1 / pppoes seid is 3 / pppoe_proto_id is 0x8021 / end actions rss queues 2 3 end / end\n+\n+ get the message::\n+\n+ Succeeded to create (2) flow\n+\n+ check the flow list::\n+\n+ testpmd> flow list 0\n+\n+ check the rule exists in the list.\n+\n+3. send matched packets, check the packets are to queue 2 or 3.\n+ send mismatched packets, check the packets are not to queue 2 and 3.\n+\n+4. verify rules can be destroyed::\n+\n+ testpmd> flow destroy 0 rule 15360\n+ testpmd> flow destroy 0 rule 15361\n+ testpmd> flow list 0\n+\n+ check the rule not exists in the list.\n+ send matched packets, check the packets are not to queue 2 and 3.\n+\n+5. check the pattern in pipeline mode\n+\n+ validate a rule::\n+\n+ testpmd> flow validate 0 priority 0 ingress pattern eth dst is 00:11:22:33:44:55 / vlan tci is 1 / pppoes seid is 3 / pppoe_proto_id is 0x8021 / end actions rss queues 2 3 end / end\n+\n+ create a rule::\n+\n+ testpmd> flow create 0 priority 0 ingress pattern eth dst is 00:11:22:33:44:55 / vlan tci is 1 / pppoes seid is 3 / pppoe_proto_id is 0x8021 / end actions rss queues 2 3 end / end\n+\n+ repeat step 1-4 to check the pattern in pipeline mode.\n+\n+drop action\n+............\n+\n+1. validate a rule::\n+\n+ testpmd> flow validate 0 ingress pattern eth dst is 00:11:22:33:44:55 / vlan tci is 1 / pppoes seid is 3 / pppoe_proto_id is 0x8021 / end actions drop / end\n+\n+ get the message::\n+\n+ Flow rule validated\n+\n+ check the flow list::\n+\n+ testpmd> flow list 0\n+\n+ check the rule not exists in the list.\n+\n+2. create a rule::\n+\n+ testpmd> flow create 0 ingress pattern eth dst is 00:11:22:33:44:55 / vlan tci is 1 / pppoes seid is 3 / pppoe_proto_id is 0x8021 / end actions drop / end\n+\n+ get the message::\n+\n+ Succeeded to create (2) flow\n+\n+ check the flow list::\n+\n+ testpmd> flow list 0\n+\n+ check the rule exists in the list.\n+\n+3. send matched packets, check the packets are dropped.\n+ send mismatched packets, check the packets are not dropped.\n+\n+4. verify rules can be destroyed::\n+\n+ testpmd> flow destroy 0 rule 15360\n+ testpmd> flow list 0\n+\n+ check the rule not exists in the list.\n+ send matched packets, check the packets are not dropped.\n+\n+5. check the pattern in pipeline mode\n+\n+ validate a rule::\n+\n+ testpmd> flow validate 0 priority 0 ingress pattern eth dst is 00:11:22:33:44:55 / vlan tci is 1 / pppoes seid is 3 / pppoe_proto_id is 0x8021 / end actions drop / end\n+\n+ create a rule::\n+\n+ testpmd> flow create 0 priority 0 ingress pattern eth dst is 00:11:22:33:44:55 / vlan tci is 1 / pppoes seid is 3 / pppoe_proto_id is 0x8021 / end actions drop / end\n+\n+ repeat step 1-4 to check the pattern in pipeline mode.\n+\n+Test case: negative cases\n+=========================\n+Note: some of the error messages may be differernt.\n+\n+Subcase 1: invalid parameters of queue index\n+--------------------------------------------\n+\n+1. create a rule with invalid queue index::\n+\n+ testpmd> flow create 0 priority 0 ingress pattern eth / ipv4 src is 192.168.0.20 dst is 192.168.0.21 ttl is 2 tos is 4 / end actions queue index 16 / end\n+\n+ Failed to create flow, report message::\n+\n+ Invalid action type or queue number: Invalid argument\n+\n+2. check the flow list::\n+\n+ testpmd> flow list 0\n+\n+ check the rule not exists in the list.\n+\n+Subcase 2: invalid parameters of rss queues\n+-------------------------------------------\n+\n+1. Invalid number of queues::\n+\n+ testpmd> flow create 0 priority 0 ingress pattern eth / ipv4 src is 192.168.0.20 dst is 192.168.0.21 ttl is 2 tos is 4 / end actions rss queues 1 2 3 end / end\n+ testpmd> flow create 0 priority 0 ingress pattern eth / ipv4 src is 192.168.0.20 dst is 192.168.0.21 ttl is 2 tos is 4 / end actions rss queues 0 end / end\n+ testpmd> flow create 0 priority 0 ingress pattern eth / ipv4 src is 192.168.0.20 dst is 192.168.0.21 ttl is 2 tos is 4 / end actions rss queues end / end\n+\n+ Failed to create flow, report messag::\n+\n+ Invalid action type or queue number: Invalid argument\n+\n+2. Discontinuous queues::\n+\n+ testpmd> flow create 0 priority 0 ingress pattern eth / ipv4 src is 192.168.0.20 dst is 192.168.0.21 ttl is 2 tos is 4 / end actions rss queues 1 2 3 5 end / end\n+\n+ Failed to create flow, report message::\n+\n+ Discontinuous queue region: Invalid argument\n+\n+3. Invalid queue index::\n+\n+ testpmd> flow create 0 priority 0 ingress pattern eth / ipv4 src is 192.168.0.20 dst is 192.168.0.21 ttl is 2 tos is 4 / end actions rss queues 15 16 end / end\n+\n+ Failed to create flow, report message::\n+\n+ Invalid queue region indexes: Invalid argument\n+\n+4. set queue group 17 queues::\n+\n+ testpmd> flow create 0 priority 0 ingress pattern eth / ipv4 src is 192.168.0.20 dst is 192.168.0.21 ttl is 2 tos is 4 / end actions rss queues 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 end / end\n+\n+ Failed to create flow, report message::\n+\n+ Invalid action type or queue number: Invalid argument\n+\n+5. check the flow list::\n+\n+ testpmd> flow list 0\n+\n+ check the rules not exist in the list.\n+\n+Subcase 4: unsupported input set\n+--------------------------------\n+\n+1. create an nvgre rule with unsupported input set field [inner tos]::\n+\n+ testpmd> flow create 0 priority 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 tos is 4 / end actions queue index 1 / end\n+\n+2. Failed to create flow, report message::\n+\n+ Invalid input set: Invalid argument\n+\n+3. check the rule list::\n+\n+ testpmd> flow list 0\n+\n+ check the rule not exists in the list.\n+\n+Subcase 5: duplicated rules\n+---------------------------\n+\n+1. create a rule::\n+\n+ testpmd> flow create 0 priority 0 ingress pattern eth / ipv4 src is 192.168.0.20 dst is 192.168.0.21 ttl is 2 tos is 4 / end actions queue index 1 / end\n+ testpmd> flow list 0\n+\n+ check the rule exists in the list.\n+\n+2. create the same rule again, Failed to create flow, report message::\n+\n+ switch filter create flow fail: Invalid argument\n+\n+3. check the flow list::\n+\n+ testpmd> flow list 0\n+\n+ check only the first rule exists in the list.\n+\n+Subcase 6: conflicted rules\n+---------------------------\n+\n+1. create a rule::\n+\n+ testpmd> flow create 0 priority 0 ingress pattern eth / ipv4 src is 192.168.0.20 dst is 192.168.0.21 ttl is 2 tos is 4 / end actions queue index 1 / end\n+ testpmd> flow list 0\n+\n+ check the rule exists in the list.\n+\n+2. create a rule with same input set but different actions::\n+\n+ testpmd> flow create 0 priority 0 ingress pattern eth / ipv4 src is 192.168.0.20 dst is 192.168.0.21 ttl is 2 tos is 4 / end actions queue index 2 / end\n+ testpmd> flow create 0 priority 0 ingress pattern eth / ipv4 src is 192.168.0.20 dst is 192.168.0.21 ttl is 2 tos is 4 / end actions drop / end\n+\n+ Failed to create the two rules, report message::\n+\n+ switch filter create flow fail: Invalid argument\n+\n+3. check the flow list::\n+\n+ testpmd> flow list 0\n+\n+ check only the first rule exists in the list.\n+\n+Subcase 7: multiple actions\n+---------------------------\n+\n+1. create a rule with two conflicted actions::\n+\n+ testpmd> flow create 0 priority 0 ingress pattern eth / ipv4 src is 192.168.0.20 dst is 192.168.0.21 ttl is 2 tos is 4 / end actions queue index 1 / rss queues 2 3 end / end\n+\n+ Failed to create flow, report message::\n+\n+ Invalid input action number: Invalid argument\n+\n+2. check the flow list::\n+\n+ testpmd> flow list 0\n+\n+ check the rule not exists in the list.\n+\n+Subcase 8: void action\n+----------------------\n+\n+1. create a rule with void action::\n+\n+ testpmd> flow create 0 priority 0 ingress pattern eth / ipv4 / udp src is 25 dst is 23 / end actions end\n+\n+ Failed to create flow, report message::\n+\n+ NULL action.: Invalid argument\n+\n+2. check the flow list::\n+\n+ testpmd> flow list 0\n+\n+ check the rule not exists in the list.\n+\n+Subcase 9: unsupported action\n+-----------------------------\n+\n+1. create a rule with void action::\n+\n+ testpmd> flow create 0 priority 0 ingress pattern eth / ipv4 src is 192.168.0.20 dst is 192.168.0.21 ttl is 2 tos is 4 / end actions mark id 1 / end\n+\n+ Failed to create flow, report message::\n+\n+ Invalid action type: Invalid argument\n+\n+2. check the flow list::\n+\n+ testpmd> flow list 0\n+\n+ check the rule not exists in the list.\n+\n+Subcase 10: delete a non-existing rule\n+--------------------------------------\n+\n+1. check the rule list::\n+\n+ testpmd> flow list 0\n+\n+ check no switch filter rule exists in the list.\n+\n+2. destroy the rule 20000::\n+\n+ testpmd> flow destroy 0 rule 20000\n+\n+ check no error reports.\n+\n+Subcase 11: add long switch rule\n+--------------------------------\n+\n+Description: A recipe has 5 words, one of which is reserved for switch ID,\n+so a recipe can use 4 words, and a maximum of 5 recipes can be chained,\n+one of which is reserved. Therefore, a rule can use up to 4*4*2 = 32 bytes.\n+This case is used to test that a rule whose input set is longer than 32\n+bytes can not be created successfully, and will not affect the creation of\n+other rules.\n+\n+1. create a rule with input set length longer than 32 bytes::\n+\n+ testpmd> flow create 0 priority 0 ingress pattern eth / pppoes / ipv6 src is CDCD:910A:2222:5498:8475:1111:3900:1536 dst is CDCD:910A:2222:5498:8475:1111:3900:2022 / udp src is 25 dst is 23 / end actions queue index 1 / end\n+\n+ Failed to create flow, report message::\n+\n+ Invalid input set: Invalid argument\n+\n+2. check the rule list::\n+\n+ testpmd> flow list 0\n+\n+ check the rule not exists in the list.\n+\n+3. create a MAC_PPPOE_IPV6_UDP_PAY rule with to queue action::\n+\n+ testpmd> flow create 0 priority 0 ingress pattern eth / pppoes / ipv6 dst is CDCD:910A:2222:5498:8475:1111:3900:2022 / udp src is 25 dst is 23 / end actions queue index 1 / end\n+ testpmd> flow list 0\n+\n+ check the rule exists in the list.\n+\n+4. send matched packets::\n+\n+ sendp([Ether(src=\"11:22:33:44:55:99\",dst=\"00:11:22:33:44:55\",type=0x8864)/PPPoE(sessionid=3)/PPP(proto=0x0057)/IPv6(src=\"CDCD:910A:2222:5498:8475:1111:3900:1536\", dst=\"CDCD:910A:2222:5498:8475:1111:3900:2022\")/UDP(sport=25,dport=23)/Raw(\"x\" * 80)],iface=\"ens786f0\",count=1)\n+\n+ check queue 1 receive the packet.\n+ send mismatched packets::\n+\n+ sendp([Ether(src=\"11:22:33:44:55:99\",dst=\"00:11:22:33:44:55\",type=0x8864)/PPPoE(sessionid=3)/PPP(proto=0x0057)/IPv6(src=\"CDCD:910A:2222:5498:8475:1111:3900:1536\", dst=\"CDCD:910A:2222:5498:8475:1111:3900:2023\")/UDP(sport=25,dport=23)/Raw(\"x\" * 80)],iface=\"ens786f0\",count=1)\n+ sendp([Ether(src=\"11:22:33:44:55:99\",dst=\"00:11:22:33:44:55\",type=0x8864)/PPPoE(sessionid=3)/PPP(proto=0x0057)/IPv6(src=\"CDCD:910A:2222:5498:8475:1111:3900:1536\", dst=\"CDCD:910A:2222:5498:8475:1111:3900:2022\")/UDP(sport=27,dport=23)/Raw(\"x\" * 80)],iface=\"ens786f0\",count=1)\n+ sendp([Ether(src=\"11:22:33:44:55:99\",dst=\"00:11:22:33:44:55\",type=0x8864)/PPPoE(sessionid=3)/PPP(proto=0x0057)/IPv6(src=\"CDCD:910A:2222:5498:8475:1111:3900:1536\", dst=\"CDCD:910A:2222:5498:8475:1111:3900:2022\")/UDP(sport=25,dport=19)/Raw(\"x\" * 80)],iface=\"ens786f0\",count=1)\n+\n+ check the packets are not to queue 1.\n+\n+5. verify rules can be destroyed::\n+\n+ testpmd> flow destroy 0 rule 15360\n+ testpmd> flow list 0\n+\n+ check the rule not exists in the list.\n+ send matched packets, check the packets are not to queue 1.\n+\n+Subcase 12: void input set value\n+--------------------------------\n+\n+1. create a IPV4_PAY rule with void input set value::\n+\n+ testpmd> flow create 0 priority 0 ingress pattern eth / ipv4 / end actions queue index 1 / end\n+\n+ Failed to create flow, report message::\n+\n+ Invalid input set: Invalid argument\n+\n+2. check the rule list::\n+\n+ testpmd> flow list 0\n+\n+ check the rule not exists in the list.\n+\n+Subcase 13: invalid port\n+------------------------\n+\n+1. create a rule with invalid port::\n+\n+ testpmd> flow create 1 priority 0 ingress pattern eth / ipv4 src is 192.168.0.20 dst is 192.168.0.21 ttl is 2 tos is 4 / end actions queue index 1 / end\n+\n+ Failed to create flow, report message::\n+\n+ No such device: No such device\n+\n+2. check the rule list on port 0::\n+\n+ testpmd> flow list 0\n+\n+ check the rule not exists in the list.\n+ check on port 1::\n+\n+ testpmd> flow list 1\n+\n+ get the message::\n+\n+ Invalid port 1\n+\n+Test case: negative validation\n+==============================\n+Note: some of the error messages may be different.\n+\n+1. invalid parameters of queue index\n+\n+ testpmd> flow validate 0 priority 0 ingress pattern eth / ipv4 src is 192.168.0.20 dst is 192.168.0.21 ttl is 2 tos is 4 / end actions queue index 16 / end\n+\n+ get the error message::\n+\n+ Invalid action type or queue number: Invalid argument\n+\n+2. invalid parameters of rss queues\n+\n+ Invalid number of queues::\n+\n+ testpmd> flow validate 0 priority 0 ingress pattern eth / ipv4 src is 192.168.0.20 dst is 192.168.0.21 ttl is 2 tos is 4 / end actions rss queues 1 2 3 end / end\n+ testpmd> flow validate 0 priority 0 ingress pattern eth / ipv4 src is 192.168.0.20 dst is 192.168.0.21 ttl is 2 tos is 4 / end actions rss queues 0 end / end\n+ testpmd> flow validate 0 priority 0 ingress pattern eth / ipv4 src is 192.168.0.20 dst is 192.168.0.21 ttl is 2 tos is 4 / end actions rss queues end / end\n+\n+ get the error message::\n+\n+ Invalid action type or queue number: Invalid argument\n+\n+ Discontinuous queues::\n+\n+ testpmd> flow validate 0 priority 0 ingress pattern eth / ipv4 src is 192.168.0.20 dst is 192.168.0.21 ttl is 2 tos is 4 / end actions rss queues 1 2 3 5 end / end\n+\n+ get the error message::\n+\n+ Discontinuous queue region: Invalid argument\n+\n+ Invalid rss queues index::\n+\n+ testpmd> flow validate 0 priority 0 ingress pattern eth / ipv4 src is 192.168.0.20 dst is 192.168.0.21 ttl is 2 tos is 4 / end actions rss queues 15 16 end / end\n+\n+ get the error message::\n+\n+ Invalid queue region indexes: Invalid argument\n+\n+4. unsupported input set\n+\n+ testpmd> flow validate 0 priority 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 tos is 4 / end actions queue index 1 / end\n+\n+ get the error message::\n+\n+ Invalid input set: Invalid argument\n+\n+5. multiple actions\n+\n+ testpmd> flow validate 0 priority 0 ingress pattern eth / ipv4 src is 192.168.0.20 dst is 192.168.0.21 ttl is 2 tos is 4 / end actions queue index 1 / rss queues 2 3 end / end\n+\n+ get the error message::\n+\n+ Invalid input action number: Invalid argument\n+\n+6. void action\n+\n+ testpmd> flow validate 0 priority 0 ingress pattern eth / ipv4 / udp src is 25 dst is 23 / end actions end\n+\n+ get the error message::\n+\n+ NULL action.: Invalid argument\n+\n+7. unsupported action\n+\n+ testpmd> flow validate 0 ingress pattern eth / ipv4 src is 192.168.0.20 dst is 192.168.0.21 ttl is 2 tos is 4 / end actions mark id 1 / end\n+\n+ get the error message::\n+\n+ Invalid action type: Invalid argument\n+\n+8. long switch rule\n+\n+ testpmd> flow validate 0 priority 0 ingress pattern eth / pppoes / ipv6 src is CDCD:910A:2222:5498:8475:1111:3900:1536 dst is CDCD:910A:2222:5498:8475:1111:3900:2022 / udp src is 25 dst is 23 / end actions queue index 1 / end\n+\n+ get the error message::\n+\n+ Invalid input set: Invalid argument\n+\n+9. void input set value\n+\n+ testpmd> flow validate 0 priority 0 ingress pattern eth / ipv4 / end actions queue index 1 / end\n+\n+ get the error message::\n+\n+ Invalid input set: Invalid argument\n+\n+10. invalid port\n+\n+ testpmd> flow validate 1 priority 0 ingress pattern eth / ipv4 src is 192.168.0.20 dst is 192.168.0.21 ttl is 2 tos is 4 / end actions queue index 1 / end\n+\n+ get the error message::\n+\n+ No such device: No such device\n+\n+11. check the rule list::\n+\n+ testpmd> flow list 0\n+\n+ no rule exists in the list.\n", "prefixes": [ "2/2" ] }{ "id": 89309, "url": "