get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

GET /api/patches/89440/?format=api
HTTP 200 OK
Allow: GET, PUT, PATCH, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "id": 89440,
    "url": "http://patches.dpdk.org/api/patches/89440/?format=api",
    "web_url": "http://patches.dpdk.org/project/dts/patch/1616045251-65532-6-git-send-email-zhiminx.huang@intel.com/",
    "project": {
        "id": 3,
        "url": "http://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": "<1616045251-65532-6-git-send-email-zhiminx.huang@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dts/1616045251-65532-6-git-send-email-zhiminx.huang@intel.com",
    "date": "2021-03-18T05:27:28",
    "name": "[V1,5/8] tests/cvl_switch_filter:support nic and pkg check",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "b866fd3de4903bc501487f0097d6ff0f3f500bf0",
    "submitter": {
        "id": 1685,
        "url": "http://patches.dpdk.org/api/people/1685/?format=api",
        "name": "Huang, ZhiminX",
        "email": "zhiminx.huang@intel.com"
    },
    "delegate": null,
    "mbox": "http://patches.dpdk.org/project/dts/patch/1616045251-65532-6-git-send-email-zhiminx.huang@intel.com/mbox/",
    "series": [
        {
            "id": 15752,
            "url": "http://patches.dpdk.org/api/series/15752/?format=api",
            "web_url": "http://patches.dpdk.org/project/dts/list/?series=15752",
            "date": "2021-03-18T05:27:23",
            "name": "modified suite to support pkg check",
            "version": 1,
            "mbox": "http://patches.dpdk.org/series/15752/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/89440/comments/",
    "check": "pending",
    "checks": "http://patches.dpdk.org/api/patches/89440/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 98F33A0561;\n\tThu, 18 Mar 2021 06:40:02 +0100 (CET)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 930EF14104D;\n\tThu, 18 Mar 2021 06:40:02 +0100 (CET)",
            "from mga02.intel.com (mga02.intel.com [134.134.136.20])\n by mails.dpdk.org (Postfix) with ESMTP id 163D8141049\n for <dts@dpdk.org>; Thu, 18 Mar 2021 06:39:59 +0100 (CET)",
            "from fmsmga008.fm.intel.com ([10.253.24.58])\n by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 17 Mar 2021 22:39:58 -0700",
            "from unknown (HELO dpdk-huangzm-d.sh.intel.com) ([10.240.183.72])\n by fmsmga008-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 17 Mar 2021 22:39:54 -0700"
        ],
        "IronPort-SDR": [
            "\n U/1eSRizHiryfbg6iEVjg9HYMCAbAIhB+ncer2zqbg0A77awVFZt+nOxWpZ/hS5QNuDhEIFj9d\n 9tVOZFNuJBtA==",
            "\n zPHdDh1AZwvKDcNGb8kO5QVN5m+iDrDy11fj1gjVGAtapLlIDYMvgOWy1RrWuWgxf6Vtcjtkpr\n NJDlVIub/JKw=="
        ],
        "X-IronPort-AV": [
            "E=McAfee;i=\"6000,8403,9926\"; a=\"176736181\"",
            "E=Sophos;i=\"5.81,257,1610438400\"; d=\"scan'208\";a=\"176736181\"",
            "E=Sophos;i=\"5.81,257,1610438400\"; d=\"scan'208\";a=\"406214342\""
        ],
        "From": "Zhimin Huang <zhiminx.huang@intel.com>",
        "To": "dts@dpdk.org",
        "Cc": "Zhimin Huang <zhiminx.huang@intel.com>",
        "Date": "Thu, 18 Mar 2021 13:27:28 +0800",
        "Message-Id": "<1616045251-65532-6-git-send-email-zhiminx.huang@intel.com>",
        "X-Mailer": "git-send-email 1.8.3.1",
        "In-Reply-To": "<1616045251-65532-1-git-send-email-zhiminx.huang@intel.com>",
        "References": "<1616045251-65532-1-git-send-email-zhiminx.huang@intel.com>",
        "Subject": "[dts] [PATCH V1 5/8] tests/cvl_switch_filter:support nic and pkg\n check",
        "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": "*.split pppoe into new suite and add pkg check\n\nSigned-off-by: Zhimin Huang <zhiminx.huang@intel.com>\n---\n tests/TestSuite_cvl_switch_filter.py | 2761 ++--------------------------------\n 1 file changed, 134 insertions(+), 2627 deletions(-)",
    "diff": "diff --git a/tests/TestSuite_cvl_switch_filter.py b/tests/TestSuite_cvl_switch_filter.py\nindex cc0283b..dcf9a57 100644\n--- a/tests/TestSuite_cvl_switch_filter.py\n+++ b/tests/TestSuite_cvl_switch_filter.py\n@@ -37,7 +37,7 @@ import copy\n import random\n from itertools import groupby\n \n-from test_case import TestCase\n+from test_case import TestCase, skip_unsupported_pkg\n from pmd_output import PmdOutput\n from packet import Packet\n from utils import BLUE, RED, GREEN\n@@ -1618,69 +1618,6 @@ tvs_ethertype_filter_pppoed = [\n     tv_ethertype_filter_pppoed_drop_02\n     ]\n \n-#test vector ethertype_filter_pppoes\n-ethertype_filter_pppoes_scapy_str = {\n-    \"matched\": [\n-        'Ether(dst=\"00:11:22:33:44:55\", type=0x8864)/PPPoE(sessionid=3)/Raw(\"x\" *80)'],\n-    \"mismatched\": [\n-        'Ether(dst=\"00:11:22:33:44:55\", type=0x8863)/PPPoED()/Raw(\"x\" *80)'\n-    ]\n-}\n-\n-tv_ethertype_filter_pppoes_in_queue_01 = {\n-    \"name\":\"tv_ethertype_filter_pppoes_in_queue_01\",\n-    \"rte_flow_pattern\":\"flow create 0 ingress pattern eth type is 0x8864 / end actions queue index 2 / end\",\n-    \"configuration\":{\n-        \"is_non_pipeline\":True,\n-        \"is_need_rss_rule\":True},\n-    \"matched\":{\"scapy_str\":ethertype_filter_pppoes_scapy_str[\"matched\"],\n-               \"check_func\":{\"func\":rfc.check_output_log_in_queue,\n-                             \"param\":{\"expect_port\":0, \"expect_queues\":2}},\n-               \"expect_results\":{\"expect_pkts\":1}},\n-    \"mismatched\":{\"scapy_str\":ethertype_filter_pppoes_scapy_str[\"mismatched\"],\n-                  \"check_func\":{\"func\":rfc.check_output_log_in_queue_mismatched,\n-                                \"param\":{\"expect_port\":0, \"expect_queues\":2}},\n-                  \"expect_results\":{\"expect_pkts\":1}}\n-}\n-\n-tv_ethertype_filter_pppoes_queue_region_02 = {\n-    \"name\":\"tv_ethertype_filter_pppoes_queue_region_02\",\n-    \"rte_flow_pattern\":\"flow create 0 ingress pattern eth type is 0x8864 / end actions rss queues 4 5 end / end\",\n-    \"configuration\":{\n-        \"is_non_pipeline\":True,\n-        \"is_need_rss_rule\":True},\n-    \"matched\":{\"scapy_str\":ethertype_filter_pppoes_scapy_str[\"matched\"],\n-               \"check_func\":{\"func\":rfc.check_output_log_queue_region,\n-                             \"param\":{\"expect_port\":0, \"expect_queues\":[4, 5]}},\n-               \"expect_results\":{\"expect_pkts\":1}},\n-    \"mismatched\":{\"scapy_str\":ethertype_filter_pppoes_scapy_str[\"mismatched\"],\n-                  \"check_func\":{\"func\":rfc.check_output_log_queue_region_mismatched,\n-                                \"param\":{\"expect_port\":0, \"expect_queues\":[4, 5]}},\n-                  \"expect_results\":{\"expect_pkts\":1}}\n-}\n-\n-tv_ethertype_filter_pppoes_drop_03 = {\n-    \"name\":\"tv_ethertype_filter_pppoes_drop_03\",\n-    \"rte_flow_pattern\":\"flow create 0 ingress pattern eth type is 0x8864 / end actions drop / end\",\n-    \"configuration\":{\n-        \"is_non_pipeline\":True,\n-        \"is_need_rss_rule\":True},\n-    \"matched\":{\"scapy_str\":ethertype_filter_pppoes_scapy_str[\"matched\"],\n-               \"check_func\":{\"func\":rfc.check_output_log_drop,\n-                             \"param\":{\"expect_port\":0, \"expect_queues\":\"null\"}},\n-               \"expect_results\":{\"expect_pkts\":1}},\n-    \"mismatched\":{\"scapy_str\":ethertype_filter_pppoes_scapy_str[\"mismatched\"],\n-                  \"check_func\":{\"func\":rfc.check_output_log_drop_mismatched,\n-                                \"param\":{\"expect_port\":0, \"expect_queues\":\"null\"}},\n-                  \"expect_results\":{\"expect_pkts\":1}}\n-}\n-\n-tvs_ethertype_filter_pppoes = [\n-    tv_ethertype_filter_pppoes_in_queue_01,\n-    tv_ethertype_filter_pppoes_queue_region_02,\n-    tv_ethertype_filter_pppoes_drop_03\n-    ]\n-\n #non-tunnel pipeline mode\n #test vector mac_ipv4_frag_pipeline_mode\n mac_ipv4_frag_pipeline_mode_scapy_str = {\n@@ -2583,2056 +2520,146 @@ tvs_mac_ipv6_tcp_non_pipeline_mode = [\n     tv_mac_ipv6_tcp_drop_queue_02\n     ]\n \n-#20.08\n-mac_vlan_pppoe_ipv4_pay_session_id_proto_id_scapy_str = {\n-    \"matched\": [\n-        'Ether(dst=\"00:11:22:33:44:55\",type=0x8100)/Dot1Q(vlan=1,type=0x8864)/PPPoE(sessionid=3)/PPP(b\\'\\\\x00\\\\x21\\')/IP()/Raw(\"x\"*80)'],\n-    \"mismatched\": [\n-        'Ether(dst=\"00:11:22:33:44:54\",type=0x8100)/Dot1Q(vlan=1,type=0x8864)/PPPoE(sessionid=3)/PPP(b\\'\\\\x00\\\\x21\\')/IP()/Raw(\"x\" * 80)',\n-        'Ether(dst=\"00:11:22:33:44:55\",type=0x8100)/Dot1Q(vlan=2,type=0x8864)/PPPoE(sessionid=3)/PPP(b\\'\\\\x00\\\\x21\\')/IP()/Raw(\"x\" * 80)',\n-        'Ether(dst=\"00:11:22:33:44:55\",type=0x8100)/Dot1Q(vlan=1,type=0x8864)/PPPoE(sessionid=4)/PPP(b\\'\\\\x00\\\\x21\\')/IP()/Raw(\"x\" * 80)',\n-        'Ether(dst=\"00:11:22:33:44:55\",type=0x8100)/Dot1Q(vlan=1,type=0x8864)/PPPoE(sessionid=3)/PPP(b\\'\\\\x00\\\\x57\\')/IPv6()/Raw(\"x\" * 80)'\n-    ]\n-}\n-\n-tv_mac_vlan_pppoe_ipv4_pay_session_id_proto_id_in_queue_01 = {\n-    \"name\":\"mac_vlan_pppoe_ipv4_pay_session_id_proto_id_in_queue_01\",\n-    \"rte_flow_pattern\":\"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-    \"configuration\":{\n-        \"is_non_pipeline\":True,\n-        \"is_need_rss_rule\":False},\n-    \"matched\":{\"scapy_str\":mac_vlan_pppoe_ipv4_pay_session_id_proto_id_scapy_str[\"matched\"],\n-               \"check_func\":{\"func\":rfc.check_output_log_in_queue,\n-                             \"param\":{\"expect_port\":0, \"expect_queues\":2}},\n-               \"expect_results\":{\"expect_pkts\":1}},\n-    \"mismatched\":{\"scapy_str\":mac_vlan_pppoe_ipv4_pay_session_id_proto_id_scapy_str[\"mismatched\"],\n-                  \"check_func\":{\"func\":rfc.check_output_log_in_queue_mismatched,\n-                                \"param\":{\"expect_port\":0, \"expect_queues\":2}},\n-                  \"expect_results\":{\"expect_pkts\":4}}\n-}\n+test_results = OrderedDict()\n \n-tv_mac_vlan_pppoe_ipv4_pay_session_id_proto_id_queue_region_02 = {\n-    \"name\":\"mac_vlan_pppoe_ipv4_pay_session_id_proto_id_queue_region_02\",\n-    \"rte_flow_pattern\":\"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-    \"configuration\":{\n-        \"is_non_pipeline\":True,\n-        \"is_need_rss_rule\":False},\n-    \"matched\":{\"scapy_str\":mac_vlan_pppoe_ipv4_pay_session_id_proto_id_scapy_str[\"matched\"],\n-               \"check_func\":{\"func\":rfc.check_output_log_queue_region,\n-                             \"param\":{\"expect_port\":0, \"expect_queues\":[4, 5]}},\n-               \"expect_results\":{\"expect_pkts\":1}},\n-    \"mismatched\":{\"scapy_str\":mac_vlan_pppoe_ipv4_pay_session_id_proto_id_scapy_str[\"mismatched\"],\n-                  \"check_func\":{\"func\":rfc.check_output_log_queue_region_mismatched,\n-                                \"param\":{\"expect_port\":0, \"expect_queues\":[4, 5]}},\n-                  \"expect_results\":{\"expect_pkts\":4}}\n-}\n+class CVLSwitchFilterTest(TestCase):\n \n-tv_mac_vlan_pppoe_ipv4_pay_session_id_proto_id_drop_03 = {\n-    \"name\":\"tv_mac_vlan_pppoe_ipv4_pay_session_id_proto_id_drop_03\",\n-    \"rte_flow_pattern\":\"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-    \"configuration\":{\n-        \"is_non_pipeline\":True,\n-        \"is_need_rss_rule\":False},\n-    \"matched\":{\"scapy_str\":mac_vlan_pppoe_ipv4_pay_session_id_proto_id_scapy_str[\"matched\"],\n-               \"check_func\":{\"func\":rfc.check_output_log_drop,\n-                             \"param\":{\"expect_port\":0, \"expect_queues\":\"null\"}},\n-               \"expect_results\":{\"expect_pkts\":1}},\n-    \"mismatched\":{\"scapy_str\":mac_vlan_pppoe_ipv4_pay_session_id_proto_id_scapy_str[\"mismatched\"],\n-                  \"check_func\":{\"func\":rfc.check_output_log_drop_mismatched,\n-                                \"param\":{\"expect_port\":0, \"expect_queues\":\"null\"}},\n-                  \"expect_results\":{\"expect_pkts\":4}}\n-}\n+    def bind_nics_driver(self, ports, driver=\"\"):\n+        # modprobe vfio driver\n+        if driver == \"vfio-pci\":\n+            for port in ports:\n+                netdev = self.dut.ports_info[port]['port']\n+                driver = netdev.get_nic_driver()\n+                if driver != 'vfio-pci':\n+                    netdev.bind_driver(driver='vfio-pci')\n \n-tvs_mac_vlan_pppoe_ipv4_pay_session_id_proto_id = [\n-    tv_mac_vlan_pppoe_ipv4_pay_session_id_proto_id_in_queue_01,\n-    tv_mac_vlan_pppoe_ipv4_pay_session_id_proto_id_queue_region_02,\n-    tv_mac_vlan_pppoe_ipv4_pay_session_id_proto_id_drop_03\n-    ]\n+        elif driver == \"igb_uio\":\n+            # igb_uio should insmod as default, no need to check\n+            for port in ports:\n+                netdev = self.dut.ports_info[port]['port']\n+                driver = netdev.get_nic_driver()\n+                if driver != 'igb_uio':\n+                    netdev.bind_driver(driver='igb_uio')\n+        else:\n+            for port in ports:\n+                netdev = self.dut.ports_info[port]['port']\n+                driver_now = netdev.get_nic_driver()\n+                if driver == \"\":\n+                    driver = netdev.default_driver\n+                if driver != driver_now:\n+                    netdev.bind_driver(driver=driver)\n \n+    def set_up_all(self):\n+        \"\"\"\n+        Run at the start of each test suite.\n+        \"\"\"\n+        self.verify(self.nic in [\"columbiaville_25g\",\"columbiaville_100g\"], \"%s nic not support CVL switch filter\" % self.nic)\n+        self.dut_ports = self.dut.get_ports(self.nic)\n+        # Verify that enough ports are available\n+        self.verify(len(self.dut_ports) >= 1, \"Insufficient ports\")\n+        localPort = self.tester.get_local_port(self.dut_ports[0])\n+        self.__tx_iface = self.tester.get_interface(localPort)\n+        self.dut.send_expect(\"ifconfig %s up\" % self.__tx_iface, \"# \")\n+        self.pkt = Packet()\n+        self.pmd = PmdOutput(self.dut)\n \n-mac_vlan_pppoe_ipv6_pay_session_id_proto_id_scapy_str = {\n-    \"matched\": [\n-        'Ether(dst=\"00:11:22:33:44:55\",type=0x8100)/Dot1Q(vlan=1,type=0x8864)/PPPoE(sessionid=3)/PPP(b\\'\\\\x00\\\\x57\\')/IPv6()/Raw(\"x\" * 80)'],\n-    \"mismatched\": [\n-        'Ether(dst=\"00:11:22:33:44:54\",type=0x8100)/Dot1Q(vlan=1,type=0x8864)/PPPoE(sessionid=3)/PPP(b\\'\\\\x00\\\\x57\\')/IPv6()/Raw(\"x\" * 80)',\n-        'Ether(dst=\"00:11:22:33:44:55\",type=0x8100)/Dot1Q(vlan=2,type=0x8864)/PPPoE(sessionid=3)/PPP(b\\'\\\\x00\\\\x57\\')/IPv6()/Raw(\"x\" * 80)',\n-        'Ether(dst=\"00:11:22:33:44:55\",type=0x8100)/Dot1Q(vlan=1,type=0x8864)/PPPoE(sessionid=4)/PPP(b\\'\\\\x00\\\\x57\\')/IPv6()/Raw(\"x\" * 80)',\n-        'Ether(dst=\"00:11:22:33:44:55\",type=0x8100)/Dot1Q(vlan=1,type=0x8864)/PPPoE(sessionid=3)/PPP(b\\'\\\\x00\\\\x21\\')/IP()/Raw(\"x\" * 80)'\n-    ]\n-}\n+        self.generate_file_with_fdir_rules()\n+        self.path = self.dut.apps_name['test-pmd']\n \n-tv_mac_vlan_pppoe_ipv6_pay_session_id_proto_id_in_queue_01 = {\n-    \"name\":\"mac_vlan_pppoe_ipv6_pay_session_id_proto_id_in_queue_01\",\n-    \"rte_flow_pattern\":\"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-    \"configuration\":{\n-        \"is_non_pipeline\":True,\n-        \"is_need_rss_rule\":False},\n-    \"matched\":{\"scapy_str\":mac_vlan_pppoe_ipv6_pay_session_id_proto_id_scapy_str[\"matched\"],\n-               \"check_func\":{\"func\":rfc.check_output_log_in_queue,\n-                             \"param\":{\"expect_port\":0, \"expect_queues\":2}},\n-               \"expect_results\":{\"expect_pkts\":1}},\n-    \"mismatched\":{\"scapy_str\":mac_vlan_pppoe_ipv6_pay_session_id_proto_id_scapy_str[\"mismatched\"],\n-                  \"check_func\":{\"func\":rfc.check_output_log_in_queue_mismatched,\n-                                \"param\":{\"expect_port\":0, \"expect_queues\":2}},\n-                  \"expect_results\":{\"expect_pkts\":4}}\n-}\n+    def set_up(self):\n+        \"\"\"\n+        Run before each test case.\n+        \"\"\"\n \n-tv_mac_vlan_pppoe_ipv6_pay_session_id_proto_id_queue_region_02 = {\n-    \"name\":\"mac_vlan_pppoe_ipv6_pay_session_id_proto_id_queue_region_02\",\n-    \"validate_pattern\":\"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-    \"rte_flow_pattern\":\"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-    \"configuration\":{\n-        \"is_non_pipeline\":True,\n-        \"is_need_rss_rule\":False},\n-    \"matched\":{\"scapy_str\":mac_vlan_pppoe_ipv6_pay_session_id_proto_id_scapy_str[\"matched\"],\n-               \"check_func\":{\"func\":rfc.check_output_log_queue_region,\n-                             \"param\":{\"expect_port\":0, \"expect_queues\":[4, 5]}},\n-               \"expect_results\":{\"expect_pkts\":1}},\n-    \"mismatched\":{\"scapy_str\":mac_vlan_pppoe_ipv6_pay_session_id_proto_id_scapy_str[\"mismatched\"],\n-                  \"check_func\":{\"func\":rfc.check_output_log_queue_region_mismatched,\n-                                \"param\":{\"expect_port\":0, \"expect_queues\":[4, 5]}},\n-                  \"expect_results\":{\"expect_pkts\":4}}\n-}\n+    def generate_file_with_fdir_rules(self):\n+        \"\"\"\n+        generate file with fdir rules to make fdir table full, then test switch filter\n+        \"\"\"\n+        pf_pci = self.dut.ports_info[0]['pci']\n+        out = self.pmd.start_testpmd('default', eal_param='-a %s --log-level=ice,7'%pf_pci)\n+        self.dut.send_expect(\"quit\", \"# \")\n+        self.fdir_rule_number = self.pmd.get_max_rule_number(self,out)\n+        src_file = 'dep/testpmd_cmds_rte_flow_fdir_rules'\n+        flows = open(src_file, mode='w')\n+        rule_count = 1\n+        for i in range(0,255):\n+            for j in range(0,255):\n+                if not rule_count > self.fdir_rule_number:\n+                    flows.write('flow create 0 ingress pattern eth / ipv4 src is 192.168.%d.%d dst is 192.1.0.0 tos is 4 / tcp src is 25 dst is 23 / end actions queue index 5 / end \\n' % (i, j))\n+                    rule_count += 1\n+                else:\n+                    break\n+            if rule_count > self.fdir_rule_number:\n+                break\n+        flows.close()\n+        self.dut_file_dir = '/tmp'\n+        self.dut.session.copy_file_to(src_file, self.dut_file_dir)\n+        self.fdir_file = \"/tmp/testpmd_cmds_rte_flow_fdir_rules\"\n \n-tv_mac_vlan_pppoe_ipv6_pay_session_id_proto_id_drop_03 = {\n-    \"name\":\"mac_vlan_pppoe_ipv6_pay_session_id_proto_id_drop_03\",\n-    \"validate_pattern\":\"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-    \"rte_flow_pattern\":\"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-    \"configuration\":{\n-        \"is_non_pipeline\":True,\n-        \"is_need_rss_rule\":False},\n-    \"matched\":{\"scapy_str\":mac_vlan_pppoe_ipv6_pay_session_id_proto_id_scapy_str[\"matched\"],\n-               \"check_func\":{\"func\":rfc.check_output_log_drop,\n-                             \"param\":{\"expect_port\":0, \"expect_queues\":\"null\"}},\n-               \"expect_results\":{\"expect_pkts\":1}},\n-    \"mismatched\":{\"scapy_str\":mac_vlan_pppoe_ipv6_pay_session_id_proto_id_scapy_str[\"mismatched\"],\n-                  \"check_func\":{\"func\":rfc.check_output_log_drop_mismatched,\n-                                \"param\":{\"expect_port\":0, \"expect_queues\":\"null\"}},\n-                  \"expect_results\":{\"expect_pkts\":4}}\n-}\n+    def create_testpmd_command(self):\n+        \"\"\"\n+        Create testpmd command for non-pipeline mode\n+        \"\"\"\n+        #Prepare testpmd EAL and parameters\n+        all_eal_param = self.dut.create_eal_parameters(cores='1S/4C/1T', ports=[0])\n+        command = self.path + all_eal_param + \" --log-level=\\\"ice,8\\\" -- -i --rxq=16 --txq=16 --cmdline-file=%s\" % self.fdir_file\n+        # command = \"./%s/app/testpmd %s --log-level=\\\"ice,8\\\" -- -i %s\" % (self.dut.target, all_eal_param, \"--rxq=16 --txq=16\")\n+        return command\n \n-tvs_mac_vlan_pppoe_ipv6_pay_session_id_proto_id = [\n-    tv_mac_vlan_pppoe_ipv6_pay_session_id_proto_id_in_queue_01,\n-    tv_mac_vlan_pppoe_ipv6_pay_session_id_proto_id_queue_region_02,\n-    tv_mac_vlan_pppoe_ipv6_pay_session_id_proto_id_drop_03\n-    ]\n+    def create_testpmd_command_pipeline_mode(self):\n+        \"\"\"\n+        Create testpmd command for pipeline mode\n+        \"\"\"\n+        #Prepare testpmd EAL and parameters\n+        all_eal_param = self.dut.create_eal_parameters(cores='1S/4C/1T', ports=[0], port_options={0:\"pipeline-mode-support=1\"})\n+        command = self.path + all_eal_param + \" --log-level=\\\"ice,8\\\" -- -i --rxq=16 --txq=16\"\n+        return command\n \n-mac_pppoe_ipv4_pay_session_id_proto_id_scapy_str = {\n-    \"matched\": [\n-        'Ether(dst=\"00:11:22:33:44:55\",type=0x8864)/PPPoE(sessionid=3)/PPP(b\\'\\\\x00\\\\x21\\')/IP()/Raw(\"x\" * 80)'],\n-    \"mismatched\": [\n-        'Ether(dst=\"00:11:22:33:44:54\",type=0x8864)/PPPoE(sessionid=3)/PPP(b\\'\\\\x00\\\\x21\\')/IP()/Raw(\"x\" * 80)',\n-        'Ether(dst=\"00:11:22:33:44:55\",type=0x8864)/PPPoE(sessionid=4)/PPP(b\\'\\\\x00\\\\x21\\')/IP()/Raw(\"x\" * 80)',\n-        'Ether(dst=\"00:11:22:33:44:55\",type=0x8864)/PPPoE(sessionid=3)/PPP(b\\'\\\\x00\\\\x57\\')/IPv6()/Raw(\"x\" * 80)'\n-    ]\n-}\n+    def launch_testpmd(self, is_non_pipeline):\n+        \"\"\"\n+        launch testpmd with the command\n+        \"\"\"\n+        if is_non_pipeline:\n+            command = self.create_testpmd_command()\n+        else:\n+            command = self.create_testpmd_command_pipeline_mode()\n+        out = self.dut.send_expect(command, \"testpmd> \", 300)\n+        self.dut.send_expect(\"port config all rss all\", \"testpmd> \", 15)\n+        self.dut.send_expect(\"port config 0 rss-hash-key ipv4 1234abcd1234abcd1234abcd1234abcd1234abcd1234abcd1234abcd1234abcd1234abcd1234abcd1234abcd1234abcd1234abcd\", \"testpmd> \", 15)\n+        self.dut.send_expect(\"rx_vxlan_port add 4789 0\", \"testpmd> \", 15)\n+        self.dut.send_expect(\"set fwd rxonly\", \"testpmd> \", 15)\n+        self.dut.send_expect(\"set verbose 1\", \"testpmd> \", 15)\n \n-tv_mac_pppoe_ipv4_pay_session_id_proto_id_in_queue_01 = {\n-    \"name\":\"mac_pppoe_ipv4_pay_session_id_proto_id_in_queue_01\",\n-    \"validate_pattern\":\"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-    \"rte_flow_pattern\":\"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-    \"configuration\":{\n-        \"is_non_pipeline\":True,\n-        \"is_need_rss_rule\":False},\n-    \"matched\":{\"scapy_str\":mac_pppoe_ipv4_pay_session_id_proto_id_scapy_str[\"matched\"],\n-               \"check_func\":{\"func\":rfc.check_output_log_in_queue,\n-                             \"param\":{\"expect_port\":0, \"expect_queues\":2}},\n-               \"expect_results\":{\"expect_pkts\":1}},\n-    \"mismatched\":{\"scapy_str\":mac_pppoe_ipv4_pay_session_id_proto_id_scapy_str[\"mismatched\"],\n-                  \"check_func\":{\"func\":rfc.check_output_log_in_queue_mismatched,\n-                                \"param\":{\"expect_port\":0, \"expect_queues\":2}},\n-                  \"expect_results\":{\"expect_pkts\":3}}\n-}\n+    def send_and_check_packets(self, dic, port):\n+        \"\"\"\n+        general packets processing workflow.\n+        \"\"\"\n+        #Specify the port to use\n+        dic[\"check_func\"][\"param\"][\"expect_port\"] = port\n+        self.dut.send_expect(\"start\", \"testpmd> \", 15)\n+        time.sleep(2)\n+        #send packets\n+        self.pkt.update_pkt(dic[\"scapy_str\"])\n+        self.pkt.send_pkt(self.tester, tx_port=self.__tx_iface, count=1, timeout=370)\n+        time.sleep(3)\n+        out = self.dut.send_expect(\"stop\", \"testpmd> \", 15)\n+        result_flag, log_msg = dic[\"check_func\"][\"func\"](out, dic[\"check_func\"][\"param\"], dic[\"expect_results\"])\n+        return result_flag, log_msg\n \n-tv_mac_pppoe_ipv4_pay_session_id_proto_id_queue_region_02 = {\n-    \"name\":\"mac_pppoe_ipv4_pay_session_id_proto_id_queue_region_02\",\n-    \"validate_pattern\":\"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-    \"rte_flow_pattern\":\"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-    \"configuration\":{\n-        \"is_non_pipeline\":True,\n-        \"is_need_rss_rule\":False},\n-    \"matched\":{\"scapy_str\":mac_pppoe_ipv4_pay_session_id_proto_id_scapy_str[\"matched\"],\n-               \"check_func\":{\"func\":rfc.check_output_log_queue_region,\n-                             \"param\":{\"expect_port\":0, \"expect_queues\":[4, 5]}},\n-               \"expect_results\":{\"expect_pkts\":1}},\n-    \"mismatched\":{\"scapy_str\":mac_pppoe_ipv4_pay_session_id_proto_id_scapy_str[\"mismatched\"],\n-                  \"check_func\":{\"func\":rfc.check_output_log_queue_region_mismatched,\n-                                \"param\":{\"expect_port\":0, \"expect_queues\":[4, 5]}},\n-                  \"expect_results\":{\"expect_pkts\":3}}\n-}\n-\n-tv_mac_pppoe_ipv4_pay_session_id_proto_id_drop_03 = {\n-    \"name\":\"mac_pppoe_ipv4_pay_session_id_proto_id_drop_03\",\n-    \"validate_pattern\":\"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-    \"rte_flow_pattern\":\"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-    \"configuration\":{\n-        \"is_non_pipeline\":True,\n-        \"is_need_rss_rule\":False},\n-    \"matched\":{\"scapy_str\":mac_pppoe_ipv4_pay_session_id_proto_id_scapy_str[\"matched\"],\n-               \"check_func\":{\"func\":rfc.check_output_log_drop,\n-                             \"param\":{\"expect_port\":0, \"expect_queues\":\"null\"}},\n-               \"expect_results\":{\"expect_pkts\":1}},\n-    \"mismatched\":{\"scapy_str\":mac_pppoe_ipv4_pay_session_id_proto_id_scapy_str[\"mismatched\"],\n-                  \"check_func\":{\"func\":rfc.check_output_log_drop_mismatched,\n-                                \"param\":{\"expect_port\":0, \"expect_queues\":\"null\"}},\n-                  \"expect_results\":{\"expect_pkts\":3}}\n-}\n-\n-tvs_mac_pppoe_ipv4_pay_session_id_proto_id = [\n-    tv_mac_pppoe_ipv4_pay_session_id_proto_id_in_queue_01,\n-    tv_mac_pppoe_ipv4_pay_session_id_proto_id_queue_region_02,\n-    tv_mac_pppoe_ipv4_pay_session_id_proto_id_drop_03\n-    ]\n-\n-mac_pppoe_ipv6_pay_session_id_proto_id_scapy_str = {\n-    \"matched\": [\n-        'Ether(dst=\"00:11:22:33:44:55\",type=0x8864)/PPPoE(sessionid=3)/PPP(b\\'\\\\x00\\\\x57\\')/IPv6()/Raw(\"x\" * 80)'],\n-    \"mismatched\": [\n-        'Ether(dst=\"00:11:22:33:44:54\",type=0x8864)/PPPoE(sessionid=3)/PPP(b\\'\\\\x00\\\\x57\\')/IPv6()/Raw(\"x\" * 80)',\n-        'Ether(dst=\"00:11:22:33:44:55\",type=0x8864)/PPPoE(sessionid=4)/PPP(b\\'\\\\x00\\\\x57\\')/IPv6()/Raw(\"x\" * 80)',\n-        'Ether(dst=\"00:11:22:33:44:55\",type=0x8864)/PPPoE(sessionid=3)/PPP(b\\'\\\\x00\\\\x21\\')/IP()/Raw(\"x\" * 80)'\n-    ]\n-}\n-\n-tv_mac_pppoe_ipv6_pay_session_id_proto_id_in_queue_01 = {\n-    \"name\":\"mac_pppoe_ipv6_pay_session_id_proto_id_in_queue_01\",\n-    \"validate_pattern\":\"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-    \"rte_flow_pattern\":\"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-    \"configuration\":{\n-        \"is_non_pipeline\":True,\n-        \"is_need_rss_rule\":False},\n-    \"matched\":{\"scapy_str\":mac_pppoe_ipv6_pay_session_id_proto_id_scapy_str[\"matched\"],\n-               \"check_func\":{\"func\":rfc.check_output_log_in_queue,\n-                             \"param\":{\"expect_port\":0, \"expect_queues\":2}},\n-               \"expect_results\":{\"expect_pkts\":1}},\n-    \"mismatched\":{\"scapy_str\":mac_pppoe_ipv6_pay_session_id_proto_id_scapy_str[\"mismatched\"],\n-                  \"check_func\":{\"func\":rfc.check_output_log_in_queue_mismatched,\n-                                \"param\":{\"expect_port\":0, \"expect_queues\":2}},\n-                  \"expect_results\":{\"expect_pkts\":3}}\n-}\n-\n-tv_mac_pppoe_ipv6_pay_session_id_proto_id_queue_region_02 = {\n-    \"name\":\"mac_pppoe_ipv6_pay_session_id_proto_id_queue_region_02\",\n-    \"validate_pattern\":\"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-    \"rte_flow_pattern\":\"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-    \"configuration\":{\n-        \"is_non_pipeline\":True,\n-        \"is_need_rss_rule\":False},\n-    \"matched\":{\"scapy_str\":mac_pppoe_ipv6_pay_session_id_proto_id_scapy_str[\"matched\"],\n-               \"check_func\":{\"func\":rfc.check_output_log_queue_region,\n-                             \"param\":{\"expect_port\":0, \"expect_queues\":[4, 5]}},\n-               \"expect_results\":{\"expect_pkts\":1}},\n-    \"mismatched\":{\"scapy_str\":mac_pppoe_ipv6_pay_session_id_proto_id_scapy_str[\"mismatched\"],\n-                  \"check_func\":{\"func\":rfc.check_output_log_queue_region_mismatched,\n-                                \"param\":{\"expect_port\":0, \"expect_queues\":[4, 5]}},\n-                  \"expect_results\":{\"expect_pkts\":3}}\n-}\n-\n-tv_mac_pppoe_ipv6_pay_session_id_proto_id_drop_03 = {\n-    \"name\":\"mac_pppoe_ipv6_pay_session_id_proto_id_drop_03\",\n-    \"validate_pattern\":\"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-    \"rte_flow_pattern\":\"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-    \"configuration\":{\n-        \"is_non_pipeline\":True,\n-        \"is_need_rss_rule\":False},\n-    \"matched\":{\"scapy_str\":mac_pppoe_ipv6_pay_session_id_proto_id_scapy_str[\"matched\"],\n-               \"check_func\":{\"func\":rfc.check_output_log_drop,\n-                             \"param\":{\"expect_port\":0, \"expect_queues\":\"null\"}},\n-               \"expect_results\":{\"expect_pkts\":1}},\n-    \"mismatched\":{\"scapy_str\":mac_pppoe_ipv6_pay_session_id_proto_id_scapy_str[\"mismatched\"],\n-                  \"check_func\":{\"func\":rfc.check_output_log_drop_mismatched,\n-                                \"param\":{\"expect_port\":0, \"expect_queues\":\"null\"}},\n-                  \"expect_results\":{\"expect_pkts\":3}}\n-}\n-\n-tvs_mac_pppoe_ipv6_pay_session_id_proto_id = [\n-    tv_mac_pppoe_ipv6_pay_session_id_proto_id_in_queue_01,\n-    tv_mac_pppoe_ipv6_pay_session_id_proto_id_queue_region_02,\n-    tv_mac_pppoe_ipv6_pay_session_id_proto_id_drop_03\n-    ]\n-\n-mac_pppoe_ipv4_pay_ip_address_scapy_str = {\n-    \"matched\": [\n-        'Ether(dst=\"00:11:22:33:44:55\",type=0x8864)/PPPoE(sessionid=3)/PPP(b\\'\\\\x00\\\\x21\\')/IP(src=\"192.168.1.1\", dst=\"192.168.1.2\")/Raw(\"x\"*80)'],\n-    \"mismatched\": [\n-        'Ether(dst=\"00:11:22:33:44:55\",type=0x8864)/PPPoE(sessionid=3)/PPP(b\\'\\\\x00\\\\x21\\')/IP(src=\"192.168.1.3\", dst=\"192.168.1.2\")/Raw(\"x\"*80)',\n-        'Ether(dst=\"00:11:22:33:44:55\",type=0x8864)/PPPoE(sessionid=3)/PPP(b\\'\\\\x00\\\\x21\\')/IP(src=\"192.168.1.1\", dst=\"192.168.1.4\")/Raw(\"x\"*80)'\n-    ]\n-}\n-\n-tv_mac_pppoe_ipv4_pay_ip_address_in_queue_01 = {\n-    \"name\":\"mac_pppoe_ipv4_pay_ip_address_in_queue_01\",\n-    \"validate_pattern\":\"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-    \"rte_flow_pattern\":\"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-    \"configuration\":{\n-        \"is_non_pipeline\":True,\n-        \"is_need_rss_rule\":False},\n-    \"matched\":{\"scapy_str\":mac_pppoe_ipv4_pay_ip_address_scapy_str[\"matched\"],\n-               \"check_func\":{\"func\":rfc.check_output_log_in_queue,\n-                             \"param\":{\"expect_port\":0, \"expect_queues\":2}},\n-               \"expect_results\":{\"expect_pkts\":1}},\n-    \"mismatched\":{\"scapy_str\":mac_pppoe_ipv4_pay_ip_address_scapy_str[\"mismatched\"],\n-                  \"check_func\":{\"func\":rfc.check_output_log_in_queue_mismatched,\n-                                \"param\":{\"expect_port\":0, \"expect_queues\":2}},\n-                  \"expect_results\":{\"expect_pkts\":2}}\n-}\n-\n-tv_mac_pppoe_ipv4_pay_ip_address_queue_region_02 = {\n-    \"name\":\"mac_pppoe_ipv4_pay_ip_address_queue_region_02\",\n-    \"validate_pattern\":\"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-    \"rte_flow_pattern\":\"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-    \"configuration\":{\n-        \"is_non_pipeline\":True,\n-        \"is_need_rss_rule\":False},\n-    \"matched\":{\"scapy_str\":mac_pppoe_ipv4_pay_ip_address_scapy_str[\"matched\"],\n-               \"check_func\":{\"func\":rfc.check_output_log_queue_region,\n-                             \"param\":{\"expect_port\":0, \"expect_queues\":[2, 3]}},\n-               \"expect_results\":{\"expect_pkts\":1}},\n-    \"mismatched\":{\"scapy_str\":mac_pppoe_ipv4_pay_ip_address_scapy_str[\"mismatched\"],\n-                  \"check_func\":{\"func\":rfc.check_output_log_queue_region_mismatched,\n-                                \"param\":{\"expect_port\":0, \"expect_queues\":[2, 3]}},\n-                  \"expect_results\":{\"expect_pkts\":2}}\n-}\n-\n-tv_mac_pppoe_ipv4_pay_ip_address_drop_03 = {\n-    \"name\":\"mac_pppoe_ipv4_pay_ip_address_drop_03\",\n-    \"validate_pattern\":\"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-    \"rte_flow_pattern\":\"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-    \"configuration\":{\n-        \"is_non_pipeline\":True,\n-        \"is_need_rss_rule\":False},\n-    \"matched\":{\"scapy_str\":mac_pppoe_ipv4_pay_ip_address_scapy_str[\"matched\"],\n-               \"check_func\":{\"func\":rfc.check_output_log_drop,\n-                             \"param\":{\"expect_port\":0, \"expect_queues\":\"null\"}},\n-               \"expect_results\":{\"expect_pkts\":1}},\n-    \"mismatched\":{\"scapy_str\":mac_pppoe_ipv4_pay_ip_address_scapy_str[\"mismatched\"],\n-                  \"check_func\":{\"func\":rfc.check_output_log_drop_mismatched,\n-                                \"param\":{\"expect_port\":0, \"expect_queues\":\"null\"}},\n-                  \"expect_results\":{\"expect_pkts\":2}}\n-}\n-\n-tvs_mac_pppoe_ipv4_pay_ip_address = [\n-    tv_mac_pppoe_ipv4_pay_ip_address_in_queue_01,\n-    tv_mac_pppoe_ipv4_pay_ip_address_queue_region_02,\n-    tv_mac_pppoe_ipv4_pay_ip_address_drop_03\n-    ]\n-\n-mac_pppoe_ipv4_udp_pay_scapy_str = {\n-    \"matched\": [\n-        'Ether(dst=\"00:11:22:33:44:55\",type=0x8864)/PPPoE(sessionid=3)/PPP(b\\'\\\\x00\\\\x21\\')/IP(src=\"192.168.1.1\", dst=\"192.168.1.2\")/UDP(sport=25,dport=23)/Raw(\"x\" * 80)'],\n-    \"mismatched\": [\n-        'Ether(dst=\"00:11:22:33:44:55\",type=0x8864)/PPPoE(sessionid=3)/PPP(b\\'\\\\x00\\\\x21\\')/IP(src=\"192.168.1.3\", dst=\"192.168.1.2\")/UDP(sport=25,dport=23)/Raw(\"x\" * 80)',\n-        'Ether(dst=\"00:11:22:33:44:55\",type=0x8864)/PPPoE(sessionid=3)/PPP(b\\'\\\\x00\\\\x21\\')/IP(src=\"192.168.1.1\", dst=\"192.168.1.4\")/UDP(sport=25,dport=23)/Raw(\"x\" * 80)',\n-        'Ether(dst=\"00:11:22:33:44:55\",type=0x8864)/PPPoE(sessionid=3)/PPP(b\\'\\\\x00\\\\x21\\')/IP(src=\"192.168.1.1\", dst=\"192.168.1.2\")/UDP(sport=27,dport=23)/Raw(\"x\" * 80)',\n-        'Ether(dst=\"00:11:22:33:44:55\",type=0x8864)/PPPoE(sessionid=3)/PPP(b\\'\\\\x00\\\\x21\\')/IP(src=\"192.168.1.1\", dst=\"192.168.1.2\")/UDP(sport=25,dport=19)/Raw(\"x\" * 80)'\n-    ]\n-}\n-\n-tv_mac_pppoe_ipv4_udp_pay_in_queue_01 = {\n-    \"name\":\"mac_pppoe_ipv4_udp_pay_in_queue_01\",\n-    \"validate_pattern\":\"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-    \"rte_flow_pattern\":\"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-    \"configuration\":{\n-        \"is_non_pipeline\":True,\n-        \"is_need_rss_rule\":False},\n-    \"matched\":{\"scapy_str\":mac_pppoe_ipv4_udp_pay_scapy_str[\"matched\"],\n-               \"check_func\":{\"func\":rfc.check_output_log_in_queue,\n-                             \"param\":{\"expect_port\":0, \"expect_queues\":1}},\n-               \"expect_results\":{\"expect_pkts\":1}},\n-    \"mismatched\":{\"scapy_str\":mac_pppoe_ipv4_udp_pay_scapy_str[\"mismatched\"],\n-                  \"check_func\":{\"func\":rfc.check_output_log_in_queue_mismatched,\n-                                \"param\":{\"expect_port\":0, \"expect_queues\":1}},\n-                  \"expect_results\":{\"expect_pkts\":4}}\n-}\n-\n-tv_mac_pppoe_ipv4_udp_pay_queue_region_02 = {\n-    \"name\":\"mac_pppoe_ipv4_udp_pay_queue_region_02\",\n-    \"validate_pattern\":\"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-    \"rte_flow_pattern\":\"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-    \"configuration\":{\n-        \"is_non_pipeline\":True,\n-        \"is_need_rss_rule\":False},\n-    \"matched\":{\"scapy_str\":mac_pppoe_ipv4_udp_pay_scapy_str[\"matched\"],\n-               \"check_func\":{\"func\":rfc.check_output_log_queue_region,\n-                             \"param\":{\"expect_port\":0, \"expect_queues\":[7, 8]}},\n-               \"expect_results\":{\"expect_pkts\":1}},\n-    \"mismatched\":{\"scapy_str\":mac_pppoe_ipv4_udp_pay_scapy_str[\"mismatched\"],\n-                  \"check_func\":{\"func\":rfc.check_output_log_queue_region_mismatched,\n-                                \"param\":{\"expect_port\":0, \"expect_queues\":[7, 8]}},\n-                  \"expect_results\":{\"expect_pkts\":4}}\n-}\n-\n-tv_mac_pppoe_ipv4_udp_pay_drop_03 = {\n-    \"name\":\"mac_pppoe_ipv4_udp_pay_drop_03\",\n-    \"validate_pattern\":\"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-    \"rte_flow_pattern\":\"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-    \"configuration\":{\n-        \"is_non_pipeline\":True,\n-        \"is_need_rss_rule\":False},\n-    \"matched\":{\"scapy_str\":mac_pppoe_ipv4_udp_pay_scapy_str[\"matched\"],\n-               \"check_func\":{\"func\":rfc.check_output_log_drop,\n-                             \"param\":{\"expect_port\":0, \"expect_queues\":\"null\"}},\n-               \"expect_results\":{\"expect_pkts\":1}},\n-    \"mismatched\":{\"scapy_str\":mac_pppoe_ipv4_udp_pay_scapy_str[\"mismatched\"],\n-                  \"check_func\":{\"func\":rfc.check_output_log_drop_mismatched,\n-                                \"param\":{\"expect_port\":0, \"expect_queues\":\"null\"}},\n-                  \"expect_results\":{\"expect_pkts\":4}}\n-}\n-\n-tvs_mac_pppoe_ipv4_udp_pay = [\n-    tv_mac_pppoe_ipv4_udp_pay_in_queue_01,\n-    tv_mac_pppoe_ipv4_udp_pay_queue_region_02,\n-    tv_mac_pppoe_ipv4_udp_pay_drop_03\n-    ]\n-\n-mac_pppoe_ipv4_udp_pay_non_src_dst_port_scapy_str = {\n-    \"matched\": [\n-        'Ether(dst=\"00:11:22:33:44:55\",type=0x8864)/PPPoE(sessionid=3)/PPP(b\\'\\\\x00\\\\x21\\')/IP(src=\"192.168.1.1\", dst=\"192.168.1.2\")/UDP(sport=25,dport=23)/Raw(\"x\" * 80)'],\n-    \"mismatched\": [\n-        'Ether(dst=\"00:11:22:33:44:55\",type=0x8864)/PPPoE(sessionid=3)/PPP(b\\'\\\\x00\\\\x21\\')/IP(src=\"192.168.1.3\", dst=\"192.168.1.2\")/UDP(sport=25,dport=23)/Raw(\"x\" * 80)',\n-        'Ether(dst=\"00:11:22:33:44:55\",type=0x8864)/PPPoE(sessionid=3)/PPP(b\\'\\\\x00\\\\x21\\')/IP(src=\"192.168.1.1\", dst=\"192.168.1.4\")/UDP(sport=25,dport=23)/Raw(\"x\" * 80)',\n-        'Ether(dst=\"00:11:22:33:44:55\",type=0x8864)/PPPoE(sessionid=3)/PPP(b\\'\\\\x00\\\\x21\\')/IP(src=\"192.168.1.1\", dst=\"192.168.1.2\")/TCP(sport=25,dport=23)/Raw(\"x\" * 80)',\n-        'Ether(dst=\"00:11:22:33:44:55\",type=0x8864)/PPPoE(sessionid=3)/PPP(b\\'\\\\x00\\\\x21\\')/IP(src=\"192.168.1.1\", dst=\"192.168.1.2\")/Raw(\"x\" * 80)'\n-    ]\n-}\n-\n-tv_mac_pppoe_ipv4_udp_pay_non_src_dst_port_in_queue_01 = {\n-    \"name\":\"mac_pppoe_ipv4_udp_pay_non_src_dst_port_in_queue_01\",\n-    \"rte_flow_pattern\":\"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-    \"configuration\":{\n-        \"is_non_pipeline\":True,\n-        \"is_need_rss_rule\":False},\n-    \"matched\":{\"scapy_str\":mac_pppoe_ipv4_udp_pay_non_src_dst_port_scapy_str[\"matched\"],\n-               \"check_func\":{\"func\":rfc.check_output_log_in_queue,\n-                             \"param\":{\"expect_port\":0, \"expect_queues\":2}},\n-               \"expect_results\":{\"expect_pkts\":1}},\n-    \"mismatched\":{\"scapy_str\":mac_pppoe_ipv4_udp_pay_non_src_dst_port_scapy_str[\"mismatched\"],\n-                  \"check_func\":{\"func\":rfc.check_output_log_in_queue_mismatched,\n-                                \"param\":{\"expect_port\":0, \"expect_queues\":2}},\n-                  \"expect_results\":{\"expect_pkts\":4}}\n-}\n-\n-tv_mac_pppoe_ipv4_udp_pay_non_src_dst_port_queue_region_02 = {\n-    \"name\":\"mac_pppoe_ipv4_udp_pay_non_src_dst_port_queue_region_02\",\n-    \"rte_flow_pattern\":\"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-    \"configuration\":{\n-        \"is_non_pipeline\":True,\n-        \"is_need_rss_rule\":False},\n-    \"matched\":{\"scapy_str\":mac_pppoe_ipv4_udp_pay_non_src_dst_port_scapy_str[\"matched\"],\n-               \"check_func\":{\"func\":rfc.check_output_log_queue_region,\n-                             \"param\":{\"expect_port\":0, \"expect_queues\":[2, 3]}},\n-               \"expect_results\":{\"expect_pkts\":1}},\n-    \"mismatched\":{\"scapy_str\":mac_pppoe_ipv4_udp_pay_non_src_dst_port_scapy_str[\"mismatched\"],\n-                  \"check_func\":{\"func\":rfc.check_output_log_queue_region_mismatched,\n-                                \"param\":{\"expect_port\":0, \"expect_queues\":[2, 3]}},\n-                  \"expect_results\":{\"expect_pkts\":4}}\n-}\n-\n-tv_mac_pppoe_ipv4_udp_pay_non_src_dst_port_drop_03 = {\n-    \"name\":\"mac_pppoe_ipv4_udp_pay_non_src_dst_port_drop_03\",\n-    \"rte_flow_pattern\":\"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-    \"configuration\":{\n-        \"is_non_pipeline\":True,\n-        \"is_need_rss_rule\":False},\n-    \"matched\":{\"scapy_str\":mac_pppoe_ipv4_udp_pay_non_src_dst_port_scapy_str[\"matched\"],\n-               \"check_func\":{\"func\":rfc.check_output_log_drop,\n-                             \"param\":{\"expect_port\":0, \"expect_queues\":\"null\"}},\n-               \"expect_results\":{\"expect_pkts\":1}},\n-    \"mismatched\":{\"scapy_str\":mac_pppoe_ipv4_udp_pay_non_src_dst_port_scapy_str[\"mismatched\"],\n-                  \"check_func\":{\"func\":rfc.check_output_log_drop_mismatched,\n-                                \"param\":{\"expect_port\":0, \"expect_queues\":\"null\"}},\n-                  \"expect_results\":{\"expect_pkts\":4}}\n-}\n-\n-tvs_mac_pppoe_ipv4_udp_pay_non_src_dst_port = [\n-    tv_mac_pppoe_ipv4_udp_pay_non_src_dst_port_in_queue_01,\n-    tv_mac_pppoe_ipv4_udp_pay_non_src_dst_port_queue_region_02,\n-    tv_mac_pppoe_ipv4_udp_pay_non_src_dst_port_drop_03\n-    ]\n-\n-mac_pppoe_ipv4_tcp_pay_scapy_str = {\n-    \"matched\": [\n-        'Ether(dst=\"00:11:22:33:44:55\",type=0x8864)/PPPoE(sessionid=3)/PPP(b\\'\\\\x00\\\\x21\\')/IP(src=\"192.168.1.1\", dst=\"192.168.1.2\")/TCP(sport=25,dport=23)/Raw(\"x\" * 80)'],\n-    \"mismatched\": [\n-        'Ether(dst=\"00:11:22:33:44:55\",type=0x8864)/PPPoE(sessionid=3)/PPP(b\\'\\\\x00\\\\x21\\')/IP(src=\"192.168.1.3\", dst=\"192.168.1.2\")/TCP(sport=25,dport=23)/Raw(\"x\" * 80)',\n-        'Ether(dst=\"00:11:22:33:44:55\",type=0x8864)/PPPoE(sessionid=3)/PPP(b\\'\\\\x00\\\\x21\\')/IP(src=\"192.168.1.1\", dst=\"192.168.1.4\")/TCP(sport=25,dport=23)/Raw(\"x\" * 80)',\n-        'Ether(dst=\"00:11:22:33:44:55\",type=0x8864)/PPPoE(sessionid=3)/PPP(b\\'\\\\x00\\\\x21\\')/IP(src=\"192.168.1.1\", dst=\"192.168.1.2\")/TCP(sport=27,dport=23)/Raw(\"x\" * 80)',\n-        'Ether(dst=\"00:11:22:33:44:55\",type=0x8864)/PPPoE(sessionid=3)/PPP(b\\'\\\\x00\\\\x21\\')/IP(src=\"192.168.1.1\", dst=\"192.168.1.2\")/TCP(sport=25,dport=19)/Raw(\"x\" * 80)'\n-    ]\n-}\n-\n-tv_mac_pppoe_ipv4_tcp_pay_in_queue_01 = {\n-    \"name\":\"mac_pppoe_ipv4_tcp_pay_in_queue_01\",\n-    \"rte_flow_pattern\":\"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-    \"configuration\":{\n-        \"is_non_pipeline\":True,\n-        \"is_need_rss_rule\":False},\n-    \"matched\":{\"scapy_str\":mac_pppoe_ipv4_tcp_pay_scapy_str[\"matched\"],\n-               \"check_func\":{\"func\":rfc.check_output_log_in_queue,\n-                             \"param\":{\"expect_port\":0, \"expect_queues\":1}},\n-               \"expect_results\":{\"expect_pkts\":1}},\n-    \"mismatched\":{\"scapy_str\":mac_pppoe_ipv4_tcp_pay_scapy_str[\"mismatched\"],\n-                  \"check_func\":{\"func\":rfc.check_output_log_in_queue_mismatched,\n-                                \"param\":{\"expect_port\":0, \"expect_queues\":1}},\n-                  \"expect_results\":{\"expect_pkts\":4}}\n-}\n-\n-tv_mac_pppoe_ipv4_tcp_pay_queue_region_02 = {\n-    \"name\":\"mac_pppoe_ipv4_tcp_pay_queue_region_02\",\n-    \"validate_pattern\":\"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-    \"rte_flow_pattern\":\"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-    \"configuration\":{\n-        \"is_non_pipeline\":True,\n-        \"is_need_rss_rule\":False},\n-    \"matched\":{\"scapy_str\":mac_pppoe_ipv4_tcp_pay_scapy_str[\"matched\"],\n-               \"check_func\":{\"func\":rfc.check_output_log_queue_region,\n-                             \"param\":{\"expect_port\":0, \"expect_queues\":[7, 8]}},\n-               \"expect_results\":{\"expect_pkts\":1}},\n-    \"mismatched\":{\"scapy_str\":mac_pppoe_ipv4_tcp_pay_scapy_str[\"mismatched\"],\n-                  \"check_func\":{\"func\":rfc.check_output_log_queue_region_mismatched,\n-                                \"param\":{\"expect_port\":0, \"expect_queues\":[7, 8]}},\n-                  \"expect_results\":{\"expect_pkts\":4}}\n-}\n-\n-tv_mac_pppoe_ipv4_tcp_pay_drop_03 = {\n-    \"name\":\"mac_pppoe_ipv4_tcp_pay_drop_03\",\n-    \"validate_pattern\":\"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-    \"rte_flow_pattern\":\"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-    \"configuration\":{\n-        \"is_non_pipeline\":True,\n-        \"is_need_rss_rule\":False},\n-    \"matched\":{\"scapy_str\":mac_pppoe_ipv4_tcp_pay_scapy_str[\"matched\"],\n-               \"check_func\":{\"func\":rfc.check_output_log_drop,\n-                             \"param\":{\"expect_port\":0, \"expect_queues\":\"null\"}},\n-               \"expect_results\":{\"expect_pkts\":1}},\n-    \"mismatched\":{\"scapy_str\":mac_pppoe_ipv4_tcp_pay_scapy_str[\"mismatched\"],\n-                  \"check_func\":{\"func\":rfc.check_output_log_drop_mismatched,\n-                                \"param\":{\"expect_port\":0, \"expect_queues\":\"null\"}},\n-                  \"expect_results\":{\"expect_pkts\":4}}\n-}\n-\n-tvs_mac_pppoe_ipv4_tcp_pay = [\n-    tv_mac_pppoe_ipv4_tcp_pay_in_queue_01,\n-    tv_mac_pppoe_ipv4_tcp_pay_queue_region_02,\n-    tv_mac_pppoe_ipv4_tcp_pay_drop_03\n-    ]\n-\n-mac_pppoe_ipv4_tcp_pay_non_src_dst_port_scapy_str = {\n-    \"matched\": [\n-        'Ether(dst=\"00:11:22:33:44:55\",type=0x8864)/PPPoE(sessionid=3)/PPP(b\\'\\\\x00\\\\x21\\')/IP(src=\"192.168.1.1\", dst=\"192.168.1.2\")/TCP(sport=25,dport=23)/Raw(\"x\" * 80)'],\n-    \"mismatched\": [\n-        'Ether(dst=\"00:11:22:33:44:55\",type=0x8864)/PPPoE(sessionid=3)/PPP(b\\'\\\\x00\\\\x21\\')/IP(src=\"192.168.1.3\", dst=\"192.168.1.2\")/TCP(sport=25,dport=23)/Raw(\"x\" * 80)',\n-        'Ether(dst=\"00:11:22:33:44:55\",type=0x8864)/PPPoE(sessionid=3)/PPP(b\\'\\\\x00\\\\x21\\')/IP(src=\"192.168.1.1\", dst=\"192.168.1.4\")/TCP(sport=25,dport=23)/Raw(\"x\" * 80)',\n-        'Ether(dst=\"00:11:22:33:44:55\",type=0x8864)/PPPoE(sessionid=3)/PPP(b\\'\\\\x00\\\\x21\\')/IP(src=\"192.168.1.1\", dst=\"192.168.1.2\")/UDP(sport=25,dport=23)/Raw(\"x\" * 80)',\n-        'Ether(dst=\"00:11:22:33:44:55\",type=0x8864)/PPPoE(sessionid=3)/PPP(b\\'\\\\x00\\\\x21\\')/IP(src=\"192.168.1.1\", dst=\"192.168.1.2\")/Raw(\"x\" * 80)'\n-    ]\n-}\n-\n-tv_mac_pppoe_ipv4_tcp_pay_non_src_dst_port_in_queue_01 = {\n-    \"name\":\"mac_pppoe_ipv4_tcp_pay_non_src_dst_port_in_queue_01\",\n-    \"validate_pattern\":\"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-    \"rte_flow_pattern\":\"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-    \"configuration\":{\n-        \"is_non_pipeline\":True,\n-        \"is_need_rss_rule\":False},\n-    \"matched\":{\"scapy_str\":mac_pppoe_ipv4_tcp_pay_non_src_dst_port_scapy_str[\"matched\"],\n-               \"check_func\":{\"func\":rfc.check_output_log_in_queue,\n-                             \"param\":{\"expect_port\":0, \"expect_queues\":2}},\n-               \"expect_results\":{\"expect_pkts\":1}},\n-    \"mismatched\":{\"scapy_str\":mac_pppoe_ipv4_tcp_pay_non_src_dst_port_scapy_str[\"mismatched\"],\n-                  \"check_func\":{\"func\":rfc.check_output_log_in_queue_mismatched,\n-                                \"param\":{\"expect_port\":0, \"expect_queues\":2}},\n-                  \"expect_results\":{\"expect_pkts\":4}}\n-}\n-\n-tv_mac_pppoe_ipv4_tcp_pay_non_src_dst_port_queue_region_02 = {\n-    \"name\":\"mac_pppoe_ipv4_tcp_pay_non_src_dst_port_queue_region_02\",\n-    \"validate_pattern\":\"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-    \"rte_flow_pattern\":\"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-    \"configuration\":{\n-        \"is_non_pipeline\":True,\n-        \"is_need_rss_rule\":False},\n-    \"matched\":{\"scapy_str\":mac_pppoe_ipv4_tcp_pay_non_src_dst_port_scapy_str[\"matched\"],\n-               \"check_func\":{\"func\":rfc.check_output_log_queue_region,\n-                             \"param\":{\"expect_port\":0, \"expect_queues\":[7, 8]}},\n-               \"expect_results\":{\"expect_pkts\":1}},\n-    \"mismatched\":{\"scapy_str\":mac_pppoe_ipv4_tcp_pay_non_src_dst_port_scapy_str[\"mismatched\"],\n-                  \"check_func\":{\"func\":rfc.check_output_log_queue_region_mismatched,\n-                                \"param\":{\"expect_port\":0, \"expect_queues\":[7, 8]}},\n-                  \"expect_results\":{\"expect_pkts\":4}}\n-}\n-\n-tv_mac_pppoe_ipv4_tcp_pay_non_src_dst_port_drop_03 = {\n-    \"name\":\"mac_pppoe_ipv4_tcp_pay_non_src_dst_port_drop_03\",\n-    \"validate_pattern\":\"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-    \"rte_flow_pattern\":\"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-    \"configuration\":{\n-        \"is_non_pipeline\":True,\n-        \"is_need_rss_rule\":False},\n-    \"matched\":{\"scapy_str\":mac_pppoe_ipv4_tcp_pay_non_src_dst_port_scapy_str[\"matched\"],\n-               \"check_func\":{\"func\":rfc.check_output_log_drop,\n-                             \"param\":{\"expect_port\":0, \"expect_queues\":\"null\"}},\n-               \"expect_results\":{\"expect_pkts\":1}},\n-    \"mismatched\":{\"scapy_str\":mac_pppoe_ipv4_tcp_pay_non_src_dst_port_scapy_str[\"mismatched\"],\n-                  \"check_func\":{\"func\":rfc.check_output_log_drop_mismatched,\n-                                \"param\":{\"expect_port\":0, \"expect_queues\":\"null\"}},\n-                  \"expect_results\":{\"expect_pkts\":4}}\n-}\n-\n-tvs_mac_pppoe_ipv4_tcp_pay_non_src_dst_port = [\n-    tv_mac_pppoe_ipv4_tcp_pay_non_src_dst_port_in_queue_01,\n-    tv_mac_pppoe_ipv4_tcp_pay_non_src_dst_port_queue_region_02,\n-    tv_mac_pppoe_ipv4_tcp_pay_non_src_dst_port_drop_03\n-    ]\n-\n-mac_pppoe_ipv6_pay_ip_address_scapy_str = {\n-    \"matched\": [\n-        'Ether(src=\"11:22:33:44:55:99\",dst=\"00:11:22:33:44:55\",type=0x8864)/PPPoE(sessionid=3)/PPP(b\\'\\\\x00\\\\x57\\')/IPv6(src=\"CDCD:910A:2222:5498:8475:1111:3900:1536\", dst=\"CDCD:910A:2222:5498:8475:1111:3900:2022\")/Raw(\"x\"*80)'],\n-    \"mismatched\": [\n-        'Ether(src=\"11:22:33:44:55:99\",dst=\"00:11:22:33:44:55\",type=0x8864)/PPPoE(sessionid=3)/PPP(b\\'\\\\x00\\\\x57\\')/IPv6(src=\"CDCD:910A:2222:5498:8475:1111:3900:1537\", dst=\"CDCD:910A:2222:5498:8475:1111:3900:2022\")/Raw(\"x\"*80)',\n-        'Ether(src=\"11:22:33:44:55:99\",dst=\"00:11:22:33:44:55\",type=0x8864)/PPPoE(sessionid=3)/PPP(b\\'\\\\x00\\\\x57\\')/IPv6(src=\"CDCD:910A:2222:5498:8475:1111:3900:1536\", dst=\"CDCD:910A:2222:5498:8475:1111:3900:2023\")/Raw(\"x\"*80)'\n-    ]\n-}\n-\n-tv_mac_pppoe_ipv6_pay_ip_address_in_queue_01 = {\n-    \"name\":\"mac_pppoe_ipv6_pay_ip_address_in_queue_01\",\n-    \"validate_pattern\":\"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-    \"rte_flow_pattern\":\"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-    \"configuration\":{\n-        \"is_non_pipeline\":True,\n-        \"is_need_rss_rule\":False},\n-    \"matched\":{\"scapy_str\":mac_pppoe_ipv6_pay_ip_address_scapy_str[\"matched\"],\n-               \"check_func\":{\"func\":rfc.check_output_log_in_queue,\n-                             \"param\":{\"expect_port\":0, \"expect_queues\":1}},\n-               \"expect_results\":{\"expect_pkts\":1}},\n-    \"mismatched\":{\"scapy_str\":mac_pppoe_ipv6_pay_ip_address_scapy_str[\"mismatched\"],\n-                  \"check_func\":{\"func\":rfc.check_output_log_in_queue_mismatched,\n-                                \"param\":{\"expect_port\":0, \"expect_queues\":1}},\n-                  \"expect_results\":{\"expect_pkts\":2}}\n-}\n-\n-tv_mac_pppoe_ipv6_pay_ip_address_queue_region_02 = {\n-    \"name\":\"mac_pppoe_ipv6_pay_ip_address_queue_region_02\",\n-    \"validate_pattern\":\"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-    \"rte_flow_pattern\":\"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-    \"configuration\":{\n-        \"is_non_pipeline\":True,\n-        \"is_need_rss_rule\":False},\n-    \"matched\":{\"scapy_str\":mac_pppoe_ipv6_pay_ip_address_scapy_str[\"matched\"],\n-               \"check_func\":{\"func\":rfc.check_output_log_queue_region,\n-                             \"param\":{\"expect_port\":0, \"expect_queues\":[2, 3]}},\n-               \"expect_results\":{\"expect_pkts\":1}},\n-    \"mismatched\":{\"scapy_str\":mac_pppoe_ipv6_pay_ip_address_scapy_str[\"mismatched\"],\n-                  \"check_func\":{\"func\":rfc.check_output_log_queue_region_mismatched,\n-                                \"param\":{\"expect_port\":0, \"expect_queues\":[2, 3]}},\n-                  \"expect_results\":{\"expect_pkts\":2}}\n-}\n-\n-tv_mac_pppoe_ipv6_pay_ip_address_drop_03 = {\n-    \"name\":\"mac_pppoe_ipv6_pay_ip_address_drop_03\",\n-    \"validate_pattern\":\"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-    \"rte_flow_pattern\":\"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-    \"configuration\":{\n-        \"is_non_pipeline\":True,\n-        \"is_need_rss_rule\":False},\n-    \"matched\":{\"scapy_str\":mac_pppoe_ipv6_pay_ip_address_scapy_str[\"matched\"],\n-               \"check_func\":{\"func\":rfc.check_output_log_drop,\n-                             \"param\":{\"expect_port\":0, \"expect_queues\":\"null\"}},\n-               \"expect_results\":{\"expect_pkts\":1}},\n-    \"mismatched\":{\"scapy_str\":mac_pppoe_ipv6_pay_ip_address_scapy_str[\"mismatched\"],\n-                  \"check_func\":{\"func\":rfc.check_output_log_drop_mismatched,\n-                                \"param\":{\"expect_port\":0, \"expect_queues\":\"null\"}},\n-                  \"expect_results\":{\"expect_pkts\":2}}\n-}\n-\n-tvs_mac_pppoe_ipv6_pay_ip_address = [\n-    tv_mac_pppoe_ipv6_pay_ip_address_in_queue_01,\n-    tv_mac_pppoe_ipv6_pay_ip_address_queue_region_02,\n-    tv_mac_pppoe_ipv6_pay_ip_address_drop_03\n-    ]\n-\n-mac_pppoe_ipv6_udp_pay_scapy_str = {\n-    \"matched\": [\n-        'Ether(src=\"11:22:33:44:55:99\",dst=\"00:11:22:33:44:55\",type=0x8864)/PPPoE(sessionid=3)/PPP(b\\'\\\\x00\\\\x57\\')/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)'],\n-    \"mismatched\": [\n-        'Ether(src=\"11:22:33:44:55:99\",dst=\"00:11:22:33:44:55\",type=0x8864)/PPPoE(sessionid=3)/PPP(b\\'\\\\x00\\\\x57\\')/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)',\n-        'Ether(src=\"11:22:33:44:55:99\",dst=\"00:11:22:33:44:55\",type=0x8864)/PPPoE(sessionid=3)/PPP(b\\'\\\\x00\\\\x57\\')/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)',\n-        'Ether(src=\"11:22:33:44:55:99\",dst=\"00:11:22:33:44:55\",type=0x8864)/PPPoE(sessionid=3)/PPP(b\\'\\\\x00\\\\x57\\')/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)'\n-    ]\n-}\n-\n-tv_mac_pppoe_ipv6_udp_pay_in_queue_01 = {\n-    \"name\":\"mac_pppoe_ipv6_udp_pay_in_queue_01\",\n-    \"validate_pattern\":\"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-    \"rte_flow_pattern\":\"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-    \"configuration\":{\n-        \"is_non_pipeline\":True,\n-        \"is_need_rss_rule\":False},\n-    \"matched\":{\"scapy_str\":mac_pppoe_ipv6_udp_pay_scapy_str[\"matched\"],\n-               \"check_func\":{\"func\":rfc.check_output_log_in_queue,\n-                             \"param\":{\"expect_port\":0, \"expect_queues\":1}},\n-               \"expect_results\":{\"expect_pkts\":1}},\n-    \"mismatched\":{\"scapy_str\":mac_pppoe_ipv6_udp_pay_scapy_str[\"mismatched\"],\n-                  \"check_func\":{\"func\":rfc.check_output_log_in_queue_mismatched,\n-                                \"param\":{\"expect_port\":0, \"expect_queues\":1}},\n-                  \"expect_results\":{\"expect_pkts\":3}}\n-}\n-\n-tv_mac_pppoe_ipv6_udp_pay_queue_region_02 = {\n-    \"name\":\"mac_pppoe_ipv6_udp_pay_queue_region_02\",\n-    \"validate_pattern\":\"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-    \"rte_flow_pattern\":\"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-    \"configuration\":{\n-        \"is_non_pipeline\":True,\n-        \"is_need_rss_rule\":False},\n-    \"matched\":{\"scapy_str\":mac_pppoe_ipv6_udp_pay_scapy_str[\"matched\"],\n-               \"check_func\":{\"func\":rfc.check_output_log_queue_region,\n-                             \"param\":{\"expect_port\":0, \"expect_queues\":[4, 5]}},\n-               \"expect_results\":{\"expect_pkts\":1}},\n-    \"mismatched\":{\"scapy_str\":mac_pppoe_ipv6_udp_pay_scapy_str[\"mismatched\"],\n-                  \"check_func\":{\"func\":rfc.check_output_log_queue_region_mismatched,\n-                                \"param\":{\"expect_port\":0, \"expect_queues\":[4, 5]}},\n-                  \"expect_results\":{\"expect_pkts\":3}}\n-}\n-\n-tv_mac_pppoe_ipv6_udp_pay_drop_03 = {\n-    \"name\":\"mac_pppoe_ipv6_udp_pay_drop_03\",\n-    \"validate_pattern\":\"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-    \"rte_flow_pattern\":\"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-    \"configuration\":{\n-        \"is_non_pipeline\":True,\n-        \"is_need_rss_rule\":False},\n-    \"matched\":{\"scapy_str\":mac_pppoe_ipv6_udp_pay_scapy_str[\"matched\"],\n-               \"check_func\":{\"func\":rfc.check_output_log_drop,\n-                             \"param\":{\"expect_port\":0, \"expect_queues\":\"null\"}},\n-               \"expect_results\":{\"expect_pkts\":1}},\n-    \"mismatched\":{\"scapy_str\":mac_pppoe_ipv6_udp_pay_scapy_str[\"mismatched\"],\n-                  \"check_func\":{\"func\":rfc.check_output_log_drop_mismatched,\n-                                \"param\":{\"expect_port\":0, \"expect_queues\":\"null\"}},\n-                  \"expect_results\":{\"expect_pkts\":3}}\n-}\n-\n-tvs_mac_pppoe_ipv6_udp_pay = [\n-    tv_mac_pppoe_ipv6_udp_pay_in_queue_01,\n-    tv_mac_pppoe_ipv6_udp_pay_queue_region_02,\n-    tv_mac_pppoe_ipv6_udp_pay_drop_03\n-    ]\n-\n-mac_pppoe_ipv6_udp_pay_non_src_dst_port_scapy_str = {\n-    \"matched\": [\n-        'Ether(src=\"11:22:33:44:55:99\",dst=\"00:11:22:33:44:55\",type=0x8864)/PPPoE(sessionid=3)/PPP(b\\'\\\\x00\\\\x57\\')/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)'],\n-    \"mismatched\": [\n-        'Ether(src=\"11:22:33:44:55:99\",dst=\"00:11:22:33:44:55\",type=0x8864)/PPPoE(sessionid=3)/PPP(b\\'\\\\x00\\\\x57\\')/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)',\n-        'Ether(src=\"11:22:33:44:55:99\",dst=\"00:11:22:33:44:55\",type=0x8864)/PPPoE(sessionid=3)/PPP(b\\'\\\\x00\\\\x57\\')/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)',\n-        'Ether(src=\"11:22:33:44:55:99\",dst=\"00:11:22:33:44:55\",type=0x8864)/PPPoE(sessionid=3)/PPP(b\\'\\\\x00\\\\x57\\')/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)',\n-        'Ether(src=\"11:22:33:44:55:99\",dst=\"00:11:22:33:44:55\",type=0x8864)/PPPoE(sessionid=3)/PPP(b\\'\\\\x00\\\\x57\\')/IPv6(src=\"CDCD:910A:2222:5498:8475:1111:3900:1536\", dst=\"CDCD:910A:2222:5498:8475:1111:3900:2022\")/Raw(\"x\" * 80)'\n-    ]\n-}\n-\n-tv_mac_pppoe_ipv6_udp_pay_non_src_dst_port_in_queue_01 = {\n-    \"name\":\"mac_pppoe_ipv6_udp_pay_non_src_dst_port_in_queue_01\",\n-    \"validate_pattern\":\"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-    \"rte_flow_pattern\":\"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-    \"configuration\":{\n-        \"is_non_pipeline\":True,\n-        \"is_need_rss_rule\":False},\n-    \"matched\":{\"scapy_str\":mac_pppoe_ipv6_udp_pay_non_src_dst_port_scapy_str[\"matched\"],\n-               \"check_func\":{\"func\":rfc.check_output_log_in_queue,\n-                             \"param\":{\"expect_port\":0, \"expect_queues\":1}},\n-               \"expect_results\":{\"expect_pkts\":1}},\n-    \"mismatched\":{\"scapy_str\":mac_pppoe_ipv6_udp_pay_non_src_dst_port_scapy_str[\"mismatched\"],\n-                  \"check_func\":{\"func\":rfc.check_output_log_in_queue_mismatched,\n-                                \"param\":{\"expect_port\":0, \"expect_queues\":1}},\n-                  \"expect_results\":{\"expect_pkts\":4}}\n-}\n-\n-tv_mac_pppoe_ipv6_udp_pay_non_src_dst_port_queue_region_02 = {\n-    \"name\":\"mac_pppoe_ipv6_udp_pay_non_src_dst_port_queue_region_02\",\n-    \"validate_pattern\":\"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-    \"rte_flow_pattern\":\"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-    \"configuration\":{\n-        \"is_non_pipeline\":True,\n-        \"is_need_rss_rule\":False},\n-    \"matched\":{\"scapy_str\":mac_pppoe_ipv6_udp_pay_non_src_dst_port_scapy_str[\"matched\"],\n-               \"check_func\":{\"func\":rfc.check_output_log_queue_region,\n-                             \"param\":{\"expect_port\":0, \"expect_queues\":[2, 3]}},\n-               \"expect_results\":{\"expect_pkts\":1}},\n-    \"mismatched\":{\"scapy_str\":mac_pppoe_ipv6_udp_pay_non_src_dst_port_scapy_str[\"mismatched\"],\n-                  \"check_func\":{\"func\":rfc.check_output_log_queue_region_mismatched,\n-                                \"param\":{\"expect_port\":0, \"expect_queues\":[2, 3]}},\n-                  \"expect_results\":{\"expect_pkts\":4}}\n-}\n-\n-tv_mac_pppoe_ipv6_udp_pay_non_src_dst_port_drop_03 = {\n-    \"name\":\"mac_pppoe_ipv6_udp_pay_non_src_dst_port_drop_03\",\n-    \"validate_pattern\":\"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-    \"rte_flow_pattern\":\"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-    \"configuration\":{\n-        \"is_non_pipeline\":True,\n-        \"is_need_rss_rule\":False},\n-    \"matched\":{\"scapy_str\":mac_pppoe_ipv6_udp_pay_non_src_dst_port_scapy_str[\"matched\"],\n-               \"check_func\":{\"func\":rfc.check_output_log_drop,\n-                             \"param\":{\"expect_port\":0, \"expect_queues\":\"null\"}},\n-               \"expect_results\":{\"expect_pkts\":1}},\n-    \"mismatched\":{\"scapy_str\":mac_pppoe_ipv6_udp_pay_non_src_dst_port_scapy_str[\"mismatched\"],\n-                  \"check_func\":{\"func\":rfc.check_output_log_drop_mismatched,\n-                                \"param\":{\"expect_port\":0, \"expect_queues\":\"null\"}},\n-                  \"expect_results\":{\"expect_pkts\":4}}\n-}\n-\n-tvs_mac_pppoe_ipv6_udp_pay_non_src_dst_port = [\n-    tv_mac_pppoe_ipv6_udp_pay_non_src_dst_port_in_queue_01,\n-    tv_mac_pppoe_ipv6_udp_pay_non_src_dst_port_queue_region_02,\n-    tv_mac_pppoe_ipv6_udp_pay_non_src_dst_port_drop_03\n-    ]\n-\n-mac_pppoe_ipv6_tcp_pay_scapy_str = {\n-    \"matched\": [\n-        'Ether(src=\"11:22:33:44:55:99\",dst=\"00:11:22:33:44:55\",type=0x8864)/PPPoE(sessionid=3)/PPP(b\\'\\\\x00\\\\x57\\')/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)'],\n-    \"mismatched\": [\n-        'Ether(src=\"11:22:33:44:55:99\",dst=\"00:11:22:33:44:55\",type=0x8864)/PPPoE(sessionid=3)/PPP(b\\'\\\\x00\\\\x57\\')/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)',\n-        'Ether(src=\"11:22:33:44:55:99\",dst=\"00:11:22:33:44:55\",type=0x8864)/PPPoE(sessionid=3)/PPP(b\\'\\\\x00\\\\x57\\')/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)',\n-        'Ether(src=\"11:22:33:44:55:99\",dst=\"00:11:22:33:44:55\",type=0x8864)/PPPoE(sessionid=3)/PPP(b\\'\\\\x00\\\\x57\\')/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)'\n-    ]\n-}\n-\n-tv_mac_pppoe_ipv6_tcp_pay_in_queue_01 = {\n-    \"name\":\"mac_pppoe_ipv6_tcp_pay_in_queue_01\",\n-    \"validate_pattern\":\"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-    \"rte_flow_pattern\":\"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-    \"configuration\":{\n-        \"is_non_pipeline\":True,\n-        \"is_need_rss_rule\":False},\n-    \"matched\":{\"scapy_str\":mac_pppoe_ipv6_tcp_pay_scapy_str[\"matched\"],\n-               \"check_func\":{\"func\":rfc.check_output_log_in_queue,\n-                             \"param\":{\"expect_port\":0, \"expect_queues\":1}},\n-               \"expect_results\":{\"expect_pkts\":1}},\n-    \"mismatched\":{\"scapy_str\":mac_pppoe_ipv6_tcp_pay_scapy_str[\"mismatched\"],\n-                  \"check_func\":{\"func\":rfc.check_output_log_in_queue_mismatched,\n-                                \"param\":{\"expect_port\":0, \"expect_queues\":1}},\n-                  \"expect_results\":{\"expect_pkts\":3}}\n-}\n-\n-tv_mac_pppoe_ipv6_tcp_pay_queue_region_02 = {\n-    \"name\":\"mac_pppoe_ipv6_tcp_pay_queue_region_02\",\n-    \"validate_pattern\":\"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-    \"rte_flow_pattern\":\"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-    \"configuration\":{\n-        \"is_non_pipeline\":True,\n-        \"is_need_rss_rule\":False},\n-    \"matched\":{\"scapy_str\":mac_pppoe_ipv6_tcp_pay_scapy_str[\"matched\"],\n-               \"check_func\":{\"func\":rfc.check_output_log_queue_region,\n-                             \"param\":{\"expect_port\":0, \"expect_queues\":[4, 5]}},\n-               \"expect_results\":{\"expect_pkts\":1}},\n-    \"mismatched\":{\"scapy_str\":mac_pppoe_ipv6_tcp_pay_scapy_str[\"mismatched\"],\n-                  \"check_func\":{\"func\":rfc.check_output_log_queue_region_mismatched,\n-                                \"param\":{\"expect_port\":0, \"expect_queues\":[4, 5]}},\n-                  \"expect_results\":{\"expect_pkts\":3}}\n-}\n-\n-tv_mac_pppoe_ipv6_tcp_pay_drop_03 = {\n-    \"name\":\"mac_pppoe_ipv6_tcp_pay_drop_03\",\n-    \"validate_pattern\":\"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-    \"rte_flow_pattern\":\"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-    \"configuration\":{\n-        \"is_non_pipeline\":True,\n-        \"is_need_rss_rule\":False},\n-    \"matched\":{\"scapy_str\":mac_pppoe_ipv6_tcp_pay_scapy_str[\"matched\"],\n-               \"check_func\":{\"func\":rfc.check_output_log_drop,\n-                             \"param\":{\"expect_port\":0, \"expect_queues\":\"null\"}},\n-               \"expect_results\":{\"expect_pkts\":1}},\n-    \"mismatched\":{\"scapy_str\":mac_pppoe_ipv6_tcp_pay_scapy_str[\"mismatched\"],\n-                  \"check_func\":{\"func\":rfc.check_output_log_drop_mismatched,\n-                                \"param\":{\"expect_port\":0, \"expect_queues\":\"null\"}},\n-                  \"expect_results\":{\"expect_pkts\":3}}\n-}\n-\n-tvs_mac_pppoe_ipv6_tcp_pay = [\n-    tv_mac_pppoe_ipv6_tcp_pay_in_queue_01,\n-    tv_mac_pppoe_ipv6_tcp_pay_queue_region_02,\n-    tv_mac_pppoe_ipv6_tcp_pay_drop_03\n-    ]\n-\n-mac_pppoe_ipv6_tcp_pay_non_src_dst_port_scapy_str = {\n-    \"matched\": [\n-        'Ether(src=\"11:22:33:44:55:99\",dst=\"00:11:22:33:44:55\",type=0x8864)/PPPoE(sessionid=3)/PPP(b\\'\\\\x00\\\\x57\\')/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)'],\n-    \"mismatched\": [\n-        'Ether(src=\"11:22:33:44:55:99\",dst=\"00:11:22:33:44:55\",type=0x8864)/PPPoE(sessionid=3)/PPP(b\\'\\\\x00\\\\x57\\')/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)',\n-        'Ether(src=\"11:22:33:44:55:99\",dst=\"00:11:22:33:44:55\",type=0x8864)/PPPoE(sessionid=3)/PPP(b\\'\\\\x00\\\\x57\\')/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)',\n-        'Ether(src=\"11:22:33:44:55:99\",dst=\"00:11:22:33:44:55\",type=0x8864)/PPPoE(sessionid=3)/PPP(b\\'\\\\x00\\\\x57\\')/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)',\n-        'Ether(src=\"11:22:33:44:55:99\",dst=\"00:11:22:33:44:55\",type=0x8864)/PPPoE(sessionid=3)/PPP(b\\'\\\\x00\\\\x57\\')/IPv6(src=\"CDCD:910A:2222:5498:8475:1111:3900:1536\", dst=\"CDCD:910A:2222:5498:8475:1111:3900:2022\")/Raw(\"x\" * 80)'\n-    ]\n-}\n-\n-tv_mac_pppoe_ipv6_tcp_pay_non_src_dst_port_in_queue_01 = {\n-    \"name\":\"mac_pppoe_ipv6_tcp_pay_non_src_dst_port_in_queue_01\",\n-    \"validate_pattern\":\"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-    \"rte_flow_pattern\":\"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-    \"configuration\":{\n-        \"is_non_pipeline\":True,\n-        \"is_need_rss_rule\":False},\n-    \"matched\":{\"scapy_str\":mac_pppoe_ipv6_tcp_pay_non_src_dst_port_scapy_str[\"matched\"],\n-               \"check_func\":{\"func\":rfc.check_output_log_in_queue,\n-                             \"param\":{\"expect_port\":0, \"expect_queues\":1}},\n-               \"expect_results\":{\"expect_pkts\":1}},\n-    \"mismatched\":{\"scapy_str\":mac_pppoe_ipv6_tcp_pay_non_src_dst_port_scapy_str[\"mismatched\"],\n-                  \"check_func\":{\"func\":rfc.check_output_log_in_queue_mismatched,\n-                                \"param\":{\"expect_port\":0, \"expect_queues\":1}},\n-                  \"expect_results\":{\"expect_pkts\":4}}\n-}\n-\n-tv_mac_pppoe_ipv6_tcp_pay_non_src_dst_port_queue_region_02 = {\n-    \"name\":\"mac_pppoe_ipv6_tcp_pay_non_src_dst_port_queue_region_02\",\n-    \"validate_pattern\":\"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-    \"rte_flow_pattern\":\"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-    \"configuration\":{\n-        \"is_non_pipeline\":True,\n-        \"is_need_rss_rule\":False},\n-    \"matched\":{\"scapy_str\":mac_pppoe_ipv6_tcp_pay_non_src_dst_port_scapy_str[\"matched\"],\n-               \"check_func\":{\"func\":rfc.check_output_log_queue_region,\n-                             \"param\":{\"expect_port\":0, \"expect_queues\":[2, 3]}},\n-               \"expect_results\":{\"expect_pkts\":1}},\n-    \"mismatched\":{\"scapy_str\":mac_pppoe_ipv6_tcp_pay_non_src_dst_port_scapy_str[\"mismatched\"],\n-                  \"check_func\":{\"func\":rfc.check_output_log_queue_region_mismatched,\n-                                \"param\":{\"expect_port\":0, \"expect_queues\":[2, 3]}},\n-                  \"expect_results\":{\"expect_pkts\":4}}\n-}\n-\n-tv_mac_pppoe_ipv6_tcp_pay_non_src_dst_port_drop_03 = {\n-    \"name\":\"mac_pppoe_ipv6_tcp_pay_non_src_dst_port_drop_03\",\n-    \"validate_pattern\":\"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-    \"rte_flow_pattern\":\"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-    \"configuration\":{\n-        \"is_non_pipeline\":True,\n-        \"is_need_rss_rule\":False},\n-    \"matched\":{\"scapy_str\":mac_pppoe_ipv6_tcp_pay_non_src_dst_port_scapy_str[\"matched\"],\n-               \"check_func\":{\"func\":rfc.check_output_log_drop,\n-                             \"param\":{\"expect_port\":0, \"expect_queues\":\"null\"}},\n-               \"expect_results\":{\"expect_pkts\":1}},\n-    \"mismatched\":{\"scapy_str\":mac_pppoe_ipv6_tcp_pay_non_src_dst_port_scapy_str[\"mismatched\"],\n-                  \"check_func\":{\"func\":rfc.check_output_log_drop_mismatched,\n-                                \"param\":{\"expect_port\":0, \"expect_queues\":\"null\"}},\n-                  \"expect_results\":{\"expect_pkts\":4}}\n-}\n-\n-tvs_mac_pppoe_ipv6_tcp_pay_non_src_dst_port = [\n-    tv_mac_pppoe_ipv6_tcp_pay_non_src_dst_port_in_queue_01,\n-    tv_mac_pppoe_ipv6_tcp_pay_non_src_dst_port_queue_region_02,\n-    tv_mac_pppoe_ipv6_tcp_pay_non_src_dst_port_drop_03\n-    ]\n-\n-mac_vlan_pppoe_ipv4_pay_ip_address_scapy_str = {\n-    \"matched\": [\n-        'Ether(dst=\"00:11:22:33:44:55\",type=0x8100)/Dot1Q(vlan=1,type=0x8864)/PPPoE(sessionid=3)/PPP(b\\'\\\\x00\\\\x21\\')/IP(src=\"192.168.1.1\", dst=\"192.168.1.2\")/Raw(\"x\"*80)'],\n-    \"mismatched\": [\n-        'Ether(dst=\"00:11:22:33:44:55\",type=0x8100)/Dot1Q(vlan=2,type=0x8864)/PPPoE(sessionid=3)/PPP(b\\'\\\\x00\\\\x21\\')/IP(src=\"192.168.1.1\", dst=\"192.168.1.2\")/Raw(\"x\"*80)',\n-        'Ether(dst=\"00:11:22:33:44:55\",type=0x8100)/Dot1Q(vlan=1,type=0x8864)/PPPoE(sessionid=3)/PPP(b\\'\\\\x00\\\\x21\\')/IP(src=\"192.168.1.3\", dst=\"192.168.1.2\")/Raw(\"x\"*80)',\n-        'Ether(dst=\"00:11:22:33:44:55\",type=0x8100)/Dot1Q(vlan=1,type=0x8864)/PPPoE(sessionid=3)/PPP(b\\'\\\\x00\\\\x21\\')/IP(src=\"192.168.1.1\", dst=\"192.168.1.4\")/Raw(\"x\"*80)'\n-    ]\n-}\n-\n-tv_mac_vlan_pppoe_ipv4_pay_ip_address_in_queue_01 = {\n-    \"name\":\"mac_vlan_pppoe_ipv4_pay_ip_address_in_queue_01\",\n-    \"validate_pattern\":\"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-    \"rte_flow_pattern\":\"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-    \"configuration\":{\n-        \"is_non_pipeline\":True,\n-        \"is_need_rss_rule\":False},\n-    \"matched\":{\"scapy_str\":mac_vlan_pppoe_ipv4_pay_ip_address_scapy_str[\"matched\"],\n-               \"check_func\":{\"func\":rfc.check_output_log_in_queue,\n-                             \"param\":{\"expect_port\":0, \"expect_queues\":2}},\n-               \"expect_results\":{\"expect_pkts\":1}},\n-    \"mismatched\":{\"scapy_str\":mac_vlan_pppoe_ipv4_pay_ip_address_scapy_str[\"mismatched\"],\n-                  \"check_func\":{\"func\":rfc.check_output_log_in_queue_mismatched,\n-                                \"param\":{\"expect_port\":0, \"expect_queues\":2}},\n-                  \"expect_results\":{\"expect_pkts\":3}}\n-}\n-\n-tv_mac_vlan_pppoe_ipv4_pay_ip_address_queue_region_02 = {\n-    \"name\":\"mac_vlan_pppoe_ipv4_pay_ip_address_queue_region_02\",\n-    \"validate_pattern\":\"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-    \"rte_flow_pattern\":\"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-    \"configuration\":{\n-        \"is_non_pipeline\":True,\n-        \"is_need_rss_rule\":False},\n-    \"matched\":{\"scapy_str\":mac_vlan_pppoe_ipv4_pay_ip_address_scapy_str[\"matched\"],\n-               \"check_func\":{\"func\":rfc.check_output_log_queue_region,\n-                             \"param\":{\"expect_port\":0, \"expect_queues\":[2, 3]}},\n-               \"expect_results\":{\"expect_pkts\":1}},\n-    \"mismatched\":{\"scapy_str\":mac_vlan_pppoe_ipv4_pay_ip_address_scapy_str[\"mismatched\"],\n-                  \"check_func\":{\"func\":rfc.check_output_log_queue_region_mismatched,\n-                                \"param\":{\"expect_port\":0, \"expect_queues\":[2, 3]}},\n-                  \"expect_results\":{\"expect_pkts\":3}}\n-}\n-\n-tv_mac_vlan_pppoe_ipv4_pay_ip_address_drop_03 = {\n-    \"name\":\"mac_vlan_pppoe_ipv4_pay_ip_address_drop_03\",\n-    \"validate_pattern\":\"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-    \"rte_flow_pattern\":\"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-    \"configuration\":{\n-        \"is_non_pipeline\":True,\n-        \"is_need_rss_rule\":False},\n-    \"matched\":{\"scapy_str\":mac_vlan_pppoe_ipv4_pay_ip_address_scapy_str[\"matched\"],\n-               \"check_func\":{\"func\":rfc.check_output_log_drop,\n-                             \"param\":{\"expect_port\":0, \"expect_queues\":\"null\"}},\n-               \"expect_results\":{\"expect_pkts\":1}},\n-    \"mismatched\":{\"scapy_str\":mac_vlan_pppoe_ipv4_pay_ip_address_scapy_str[\"mismatched\"],\n-                  \"check_func\":{\"func\":rfc.check_output_log_drop_mismatched,\n-                                \"param\":{\"expect_port\":0, \"expect_queues\":\"null\"}},\n-                  \"expect_results\":{\"expect_pkts\":3}}\n-}\n-\n-tvs_mac_vlan_pppoe_ipv4_pay_ip_address = [\n-    tv_mac_vlan_pppoe_ipv4_pay_ip_address_in_queue_01,\n-    tv_mac_vlan_pppoe_ipv4_pay_ip_address_queue_region_02,\n-    tv_mac_vlan_pppoe_ipv4_pay_ip_address_drop_03\n-    ]\n-\n-mac_vlan_pppoe_ipv4_udp_pay_scapy_str = {\n-    \"matched\": [\n-        'Ether(dst=\"00:11:22:33:44:55\",type=0x8100)/Dot1Q(vlan=1,type=0x8864)/PPPoE(sessionid=3)/PPP(b\\'\\\\x00\\\\x21\\')/IP(src=\"192.168.1.1\", dst=\"192.168.1.2\")/UDP(sport=25,dport=23)/Raw(\"x\" * 80)'],\n-    \"mismatched\": [\n-        'Ether(dst=\"00:11:22:33:44:55\",type=0x8100)/Dot1Q(vlan=2,type=0x8864)/PPPoE(sessionid=3)/PPP(b\\'\\\\x00\\\\x21\\')/IP(src=\"192.168.1.1\", dst=\"192.168.1.2\")/UDP(sport=25,dport=23)/Raw(\"x\" * 80)',\n-        'Ether(dst=\"00:11:22:33:44:55\",type=0x8100)/Dot1Q(vlan=1,type=0x8864)/PPPoE(sessionid=3)/PPP(b\\'\\\\x00\\\\x21\\')/IP(src=\"192.168.1.3\", dst=\"192.168.1.2\")/UDP(sport=25,dport=23)/Raw(\"x\" * 80)',\n-        'Ether(dst=\"00:11:22:33:44:55\",type=0x8100)/Dot1Q(vlan=1,type=0x8864)/PPPoE(sessionid=3)/PPP(b\\'\\\\x00\\\\x21\\')/IP(src=\"192.168.1.1\", dst=\"192.168.1.4\")/UDP(sport=25,dport=23)/Raw(\"x\" * 80)',\n-        'Ether(dst=\"00:11:22:33:44:55\",type=0x8100)/Dot1Q(vlan=1,type=0x8864)/PPPoE(sessionid=3)/PPP(b\\'\\\\x00\\\\x21\\')/IP(src=\"192.168.1.1\", dst=\"192.168.1.2\")/UDP(sport=27,dport=23)/Raw(\"x\" * 80)',\n-        'Ether(dst=\"00:11:22:33:44:55\",type=0x8100)/Dot1Q(vlan=1,type=0x8864)/PPPoE(sessionid=3)/PPP(b\\'\\\\x00\\\\x21\\')/IP(src=\"192.168.1.1\", dst=\"192.168.1.2\")/UDP(sport=25,dport=19)/Raw(\"x\" * 80)'\n-    ]\n-}\n-\n-tv_mac_vlan_pppoe_ipv4_udp_pay_in_queue_01 = {\n-    \"name\":\"mac_vlan_pppoe_ipv4_udp_pay\",\n-    \"validate_pattern\":\"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-    \"rte_flow_pattern\":\"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-    \"configuration\":{\n-        \"is_non_pipeline\":True,\n-        \"is_need_rss_rule\":False},\n-    \"matched\":{\"scapy_str\":mac_vlan_pppoe_ipv4_udp_pay_scapy_str[\"matched\"],\n-               \"check_func\":{\"func\":rfc.check_output_log_in_queue,\n-                             \"param\":{\"expect_port\":0, \"expect_queues\":1}},\n-               \"expect_results\":{\"expect_pkts\":1}},\n-    \"mismatched\":{\"scapy_str\":mac_vlan_pppoe_ipv4_udp_pay_scapy_str[\"mismatched\"],\n-                  \"check_func\":{\"func\":rfc.check_output_log_in_queue_mismatched,\n-                                \"param\":{\"expect_port\":0, \"expect_queues\":1}},\n-                  \"expect_results\":{\"expect_pkts\":5}}\n-}\n-\n-tv_mac_vlan_pppoe_ipv4_udp_pay_queue_region_02 = {\n-    \"name\":\"mac_vlan_pppoe_ipv4_udp_pay_queue_region_02\",\n-    \"validate_pattern\":\"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-    \"rte_flow_pattern\":\"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-    \"configuration\":{\n-        \"is_non_pipeline\":True,\n-        \"is_need_rss_rule\":False},\n-    \"matched\":{\"scapy_str\":mac_vlan_pppoe_ipv4_udp_pay_scapy_str[\"matched\"],\n-               \"check_func\":{\"func\":rfc.check_output_log_queue_region,\n-                             \"param\":{\"expect_port\":0, \"expect_queues\":[7, 8]}},\n-               \"expect_results\":{\"expect_pkts\":1}},\n-    \"mismatched\":{\"scapy_str\":mac_vlan_pppoe_ipv4_udp_pay_scapy_str[\"mismatched\"],\n-                  \"check_func\":{\"func\":rfc.check_output_log_queue_region_mismatched,\n-                                \"param\":{\"expect_port\":0, \"expect_queues\":[7, 8]}},\n-                  \"expect_results\":{\"expect_pkts\":5}}\n-}\n-\n-tv_mac_vlan_pppoe_ipv4_udp_pay_drop_03 = {\n-    \"name\":\"mac_vlan_pppoe_ipv4_udp_pay_drop_03\",\n-    \"validate_pattern\":\"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-    \"rte_flow_pattern\":\"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-    \"configuration\":{\n-        \"is_non_pipeline\":True,\n-        \"is_need_rss_rule\":False},\n-    \"matched\":{\"scapy_str\":mac_vlan_pppoe_ipv4_udp_pay_scapy_str[\"matched\"],\n-               \"check_func\":{\"func\":rfc.check_output_log_drop,\n-                             \"param\":{\"expect_port\":0, \"expect_queues\":\"null\"}},\n-               \"expect_results\":{\"expect_pkts\":1}},\n-    \"mismatched\":{\"scapy_str\":mac_vlan_pppoe_ipv4_udp_pay_scapy_str[\"mismatched\"],\n-                  \"check_func\":{\"func\":rfc.check_output_log_drop_mismatched,\n-                                \"param\":{\"expect_port\":0, \"expect_queues\":\"null\"}},\n-                  \"expect_results\":{\"expect_pkts\":5}}\n-}\n-\n-tvs_mac_vlan_pppoe_ipv4_udp_pay = [\n-    tv_mac_vlan_pppoe_ipv4_udp_pay_in_queue_01,\n-    tv_mac_vlan_pppoe_ipv4_udp_pay_queue_region_02,\n-    tv_mac_vlan_pppoe_ipv4_udp_pay_drop_03\n-    ]\n-\n-mac_vlan_pppoe_ipv4_udp_pay_non_src_dst_port_scapy_str = {\n-    \"matched\": [\n-        'Ether(dst=\"00:11:22:33:44:55\",type=0x8100)/Dot1Q(vlan=1,type=0x8864)/PPPoE(sessionid=3)/PPP(b\\'\\\\x00\\\\x21\\')/IP(src=\"192.168.1.1\", dst=\"192.168.1.2\")/UDP(sport=25,dport=23)/Raw(\"x\" * 80)'],\n-    \"mismatched\": [\n-        'Ether(dst=\"00:11:22:33:44:55\",type=0x8100)/Dot1Q(vlan=2,type=0x8864)/PPPoE(sessionid=3)/PPP(b\\'\\\\x00\\\\x21\\')/IP(src=\"192.168.1.1\", dst=\"192.168.1.2\")/UDP(sport=25,dport=23)/Raw(\"x\" * 80)',\n-        'Ether(dst=\"00:11:22:33:44:55\",type=0x8100)/Dot1Q(vlan=1,type=0x8864)/PPPoE(sessionid=3)/PPP(b\\'\\\\x00\\\\x21\\')/IP(src=\"192.168.1.3\", dst=\"192.168.1.2\")/UDP(sport=25,dport=23)/Raw(\"x\" * 80)',\n-        'Ether(dst=\"00:11:22:33:44:55\",type=0x8100)/Dot1Q(vlan=1,type=0x8864)/PPPoE(sessionid=3)/PPP(b\\'\\\\x00\\\\x21\\')/IP(src=\"192.168.1.1\", dst=\"192.168.1.4\")/UDP(sport=25,dport=23)/Raw(\"x\" * 80)',\n-        'Ether(dst=\"00:11:22:33:44:55\",type=0x8100)/Dot1Q(vlan=1,type=0x8864)/PPPoE(sessionid=3)/PPP(b\\'\\\\x00\\\\x21\\')/IP(src=\"192.168.1.1\", dst=\"192.168.1.2\")/TCP(sport=25,dport=23)/Raw(\"x\" * 80)',\n-        'Ether(dst=\"00:11:22:33:44:55\",type=0x8100)/Dot1Q(vlan=1,type=0x8864)/PPPoE(sessionid=3)/PPP(b\\'\\\\x00\\\\x21\\')/IP(src=\"192.168.1.1\", dst=\"192.168.1.2\")/Raw(\"x\" * 80)'\n-    ]\n-}\n-\n-tv_mac_vlan_pppoe_ipv4_udp_pay_non_src_dst_port_in_queue_01 = {\n-    \"name\":\"mac_vlan_pppoe_ipv4_udp_pay_non_src_dst_port_in_queue_01\",\n-    \"validate_pattern\":\"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-    \"rte_flow_pattern\":\"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-    \"configuration\":{\n-        \"is_non_pipeline\":True,\n-        \"is_need_rss_rule\":False},\n-    \"matched\":{\"scapy_str\":mac_vlan_pppoe_ipv4_udp_pay_non_src_dst_port_scapy_str[\"matched\"],\n-               \"check_func\":{\"func\":rfc.check_output_log_in_queue,\n-                             \"param\":{\"expect_port\":0, \"expect_queues\":2}},\n-               \"expect_results\":{\"expect_pkts\":1}},\n-    \"mismatched\":{\"scapy_str\":mac_vlan_pppoe_ipv4_udp_pay_non_src_dst_port_scapy_str[\"mismatched\"],\n-                  \"check_func\":{\"func\":rfc.check_output_log_in_queue_mismatched,\n-                                \"param\":{\"expect_port\":0, \"expect_queues\":2}},\n-                  \"expect_results\":{\"expect_pkts\":5}}\n-}\n-\n-tv_mac_vlan_pppoe_ipv4_udp_pay_non_src_dst_port_queue_region_02 = {\n-    \"name\":\"mac_vlan_pppoe_ipv4_udp_pay_non_src_dst_port_queue_region_02\",\n-    \"validate_pattern\":\"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-    \"rte_flow_pattern\":\"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-    \"configuration\":{\n-        \"is_non_pipeline\":True,\n-        \"is_need_rss_rule\":False},\n-    \"matched\":{\"scapy_str\":mac_vlan_pppoe_ipv4_udp_pay_non_src_dst_port_scapy_str[\"matched\"],\n-               \"check_func\":{\"func\":rfc.check_output_log_queue_region,\n-                             \"param\":{\"expect_port\":0, \"expect_queues\":[7, 8]}},\n-               \"expect_results\":{\"expect_pkts\":1}},\n-    \"mismatched\":{\"scapy_str\":mac_vlan_pppoe_ipv4_udp_pay_non_src_dst_port_scapy_str[\"mismatched\"],\n-                  \"check_func\":{\"func\":rfc.check_output_log_queue_region_mismatched,\n-                                \"param\":{\"expect_port\":0, \"expect_queues\":[7, 8]}},\n-                  \"expect_results\":{\"expect_pkts\":5}}\n-}\n-\n-tv_mac_vlan_pppoe_ipv4_udp_pay_non_src_dst_port_drop_03 = {\n-    \"name\":\"mac_vlan_pppoe_ipv4_udp_pay_non_src_dst_port_drop_03\",\n-    \"validate_pattern\":\"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-    \"rte_flow_pattern\":\"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-    \"configuration\":{\n-        \"is_non_pipeline\":True,\n-        \"is_need_rss_rule\":False},\n-    \"matched\":{\"scapy_str\":mac_vlan_pppoe_ipv4_udp_pay_non_src_dst_port_scapy_str[\"matched\"],\n-               \"check_func\":{\"func\":rfc.check_output_log_drop,\n-                             \"param\":{\"expect_port\":0, \"expect_queues\":\"null\"}},\n-               \"expect_results\":{\"expect_pkts\":1}},\n-    \"mismatched\":{\"scapy_str\":mac_vlan_pppoe_ipv4_udp_pay_non_src_dst_port_scapy_str[\"mismatched\"],\n-                  \"check_func\":{\"func\":rfc.check_output_log_drop_mismatched,\n-                                \"param\":{\"expect_port\":0, \"expect_queues\":\"null\"}},\n-                  \"expect_results\":{\"expect_pkts\":5}}\n-}\n-\n-tvs_mac_vlan_pppoe_ipv4_udp_pay_non_src_dst_port = [\n-    tv_mac_vlan_pppoe_ipv4_udp_pay_non_src_dst_port_in_queue_01,\n-    tv_mac_vlan_pppoe_ipv4_udp_pay_non_src_dst_port_queue_region_02,\n-    tv_mac_vlan_pppoe_ipv4_udp_pay_non_src_dst_port_drop_03\n-    ]\n-\n-mac_vlan_pppoe_ipv4_tcp_pay_scapy_str = {\n-    \"matched\": [\n-        'Ether(dst=\"00:11:22:33:44:55\",type=0x8100)/Dot1Q(vlan=1,type=0x8864)/PPPoE(sessionid=3)/PPP(b\\'\\\\x00\\\\x21\\')/IP(src=\"192.168.1.1\", dst=\"192.168.1.2\")/TCP(sport=25,dport=23)/Raw(\"x\" * 80)'],\n-    \"mismatched\": [\n-        'Ether(dst=\"00:11:22:33:44:55\",type=0x8100)/Dot1Q(vlan=2,type=0x8864)/PPPoE(sessionid=3)/PPP(b\\'\\\\x00\\\\x21\\')/IP(src=\"192.168.1.1\", dst=\"192.168.1.2\")/TCP(sport=25,dport=23)/Raw(\"x\" * 80)',\n-        'Ether(dst=\"00:11:22:33:44:55\",type=0x8100)/Dot1Q(vlan=1,type=0x8864)/PPPoE(sessionid=3)/PPP(b\\'\\\\x00\\\\x21\\')/IP(src=\"192.168.1.3\", dst=\"192.168.1.2\")/TCP(sport=25,dport=23)/Raw(\"x\" * 80)',\n-        'Ether(dst=\"00:11:22:33:44:55\",type=0x8100)/Dot1Q(vlan=1,type=0x8864)/PPPoE(sessionid=3)/PPP(b\\'\\\\x00\\\\x21\\')/IP(src=\"192.168.1.1\", dst=\"192.168.1.4\")/TCP(sport=25,dport=23)/Raw(\"x\" * 80)',\n-        'Ether(dst=\"00:11:22:33:44:55\",type=0x8100)/Dot1Q(vlan=1,type=0x8864)/PPPoE(sessionid=3)/PPP(b\\'\\\\x00\\\\x21\\')/IP(src=\"192.168.1.1\", dst=\"192.168.1.2\")/TCP(sport=27,dport=23)/Raw(\"x\" * 80)',\n-        'Ether(dst=\"00:11:22:33:44:55\",type=0x8100)/Dot1Q(vlan=1,type=0x8864)/PPPoE(sessionid=3)/PPP(b\\'\\\\x00\\\\x21\\')/IP(src=\"192.168.1.1\", dst=\"192.168.1.2\")/TCP(sport=25,dport=19)/Raw(\"x\" * 80)'\n-    ]\n-}\n-\n-tv_mac_vlan_pppoe_ipv4_tcp_pay_in_queue_01 = {\n-    \"name\":\"mac_vlan_pppoe_ipv4_tcp_pay_in_queue_01\",\n-    \"validate_pattern\":\"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-    \"rte_flow_pattern\":\"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-    \"configuration\":{\n-        \"is_non_pipeline\":True,\n-        \"is_need_rss_rule\":False},\n-    \"matched\":{\"scapy_str\":mac_vlan_pppoe_ipv4_tcp_pay_scapy_str[\"matched\"],\n-               \"check_func\":{\"func\":rfc.check_output_log_in_queue,\n-                             \"param\":{\"expect_port\":0, \"expect_queues\":1}},\n-               \"expect_results\":{\"expect_pkts\":1}},\n-    \"mismatched\":{\"scapy_str\":mac_vlan_pppoe_ipv4_tcp_pay_scapy_str[\"mismatched\"],\n-                  \"check_func\":{\"func\":rfc.check_output_log_in_queue_mismatched,\n-                                \"param\":{\"expect_port\":0, \"expect_queues\":1}},\n-                  \"expect_results\":{\"expect_pkts\":5}}\n-}\n-\n-tv_mac_vlan_pppoe_ipv4_tcp_pay_queue_region_02 = {\n-    \"name\":\"mac_vlan_pppoe_ipv4_tcp_pay_queue_region_02\",\n-    \"validate_pattern\":\"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-    \"rte_flow_pattern\":\"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-    \"configuration\":{\n-        \"is_non_pipeline\":True,\n-        \"is_need_rss_rule\":False},\n-    \"matched\":{\"scapy_str\":mac_vlan_pppoe_ipv4_tcp_pay_scapy_str[\"matched\"],\n-               \"check_func\":{\"func\":rfc.check_output_log_queue_region,\n-                             \"param\":{\"expect_port\":0, \"expect_queues\":[7, 8]}},\n-               \"expect_results\":{\"expect_pkts\":1}},\n-    \"mismatched\":{\"scapy_str\":mac_vlan_pppoe_ipv4_tcp_pay_scapy_str[\"mismatched\"],\n-                  \"check_func\":{\"func\":rfc.check_output_log_queue_region_mismatched,\n-                                \"param\":{\"expect_port\":0, \"expect_queues\":[7, 8]}},\n-                  \"expect_results\":{\"expect_pkts\":5}}\n-}\n-\n-tv_mac_vlan_pppoe_ipv4_tcp_pay_drop_03 = {\n-    \"name\":\"mac_vlan_pppoe_ipv4_tcp_pay_drop_03\",\n-    \"validate_pattern\":\"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-    \"rte_flow_pattern\":\"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-    \"configuration\":{\n-        \"is_non_pipeline\":True,\n-        \"is_need_rss_rule\":False},\n-    \"matched\":{\"scapy_str\":mac_vlan_pppoe_ipv4_tcp_pay_scapy_str[\"matched\"],\n-               \"check_func\":{\"func\":rfc.check_output_log_drop,\n-                             \"param\":{\"expect_port\":0, \"expect_queues\":\"null\"}},\n-               \"expect_results\":{\"expect_pkts\":1}},\n-    \"mismatched\":{\"scapy_str\":mac_vlan_pppoe_ipv4_tcp_pay_scapy_str[\"mismatched\"],\n-                  \"check_func\":{\"func\":rfc.check_output_log_drop_mismatched,\n-                                \"param\":{\"expect_port\":0, \"expect_queues\":\"null\"}},\n-                  \"expect_results\":{\"expect_pkts\":5}}\n-}\n-\n-tvs_mac_vlan_pppoe_ipv4_tcp_pay = [\n-    tv_mac_vlan_pppoe_ipv4_tcp_pay_in_queue_01,\n-    tv_mac_vlan_pppoe_ipv4_tcp_pay_queue_region_02,\n-    tv_mac_vlan_pppoe_ipv4_tcp_pay_drop_03\n-    ]\n-\n-mac_vlan_pppoe_ipv4_tcp_pay_non_src_dst_port_scapy_str = {\n-    \"matched\": [\n-        'Ether(dst=\"00:11:22:33:44:55\",type=0x8100)/Dot1Q(vlan=1,type=0x8864)/PPPoE(sessionid=3)/PPP(b\\'\\\\x00\\\\x21\\')/IP(src=\"192.168.1.1\", dst=\"192.168.1.2\")/TCP(sport=25,dport=23)/Raw(\"x\" * 80)'],\n-    \"mismatched\": [\n-        'Ether(dst=\"00:11:22:33:44:55\",type=0x8100)/Dot1Q(vlan=2,type=0x8864)/PPPoE(sessionid=3)/PPP(b\\'\\\\x00\\\\x21\\')/IP(src=\"192.168.1.1\", dst=\"192.168.1.2\")/TCP(sport=25,dport=23)/Raw(\"x\" * 80)',\n-        'Ether(dst=\"00:11:22:33:44:55\",type=0x8100)/Dot1Q(vlan=1,type=0x8864)/PPPoE(sessionid=3)/PPP(b\\'\\\\x00\\\\x21\\')/IP(src=\"192.168.1.3\", dst=\"192.168.1.2\")/TCP(sport=25,dport=23)/Raw(\"x\" * 80)',\n-        'Ether(dst=\"00:11:22:33:44:55\",type=0x8100)/Dot1Q(vlan=1,type=0x8864)/PPPoE(sessionid=3)/PPP(b\\'\\\\x00\\\\x21\\')/IP(src=\"192.168.1.1\", dst=\"192.168.1.4\")/TCP(sport=25,dport=23)/Raw(\"x\" * 80)',\n-        'Ether(dst=\"00:11:22:33:44:55\",type=0x8100)/Dot1Q(vlan=1,type=0x8864)/PPPoE(sessionid=3)/PPP(b\\'\\\\x00\\\\x21\\')/IP(src=\"192.168.1.1\", dst=\"192.168.1.2\")/UDP(sport=25,dport=23)/Raw(\"x\" * 80)',\n-        'Ether(dst=\"00:11:22:33:44:55\",type=0x8100)/Dot1Q(vlan=1,type=0x8864)/PPPoE(sessionid=3)/PPP(b\\'\\\\x00\\\\x21\\')/IP(src=\"192.168.1.1\", dst=\"192.168.1.2\")/Raw(\"x\" * 80)'\n-    ]\n-}\n-\n-tv_mac_vlan_pppoe_ipv4_tcp_pay_non_src_dst_port_in_queue_01 = {\n-    \"name\":\"mac_vlan_pppoe_ipv4_tcp_pay_non_src_dst_port_in_queue_01\",\n-    \"validate_pattern\":\"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-    \"rte_flow_pattern\":\"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-    \"configuration\":{\n-        \"is_non_pipeline\":True,\n-        \"is_need_rss_rule\":False},\n-    \"matched\":{\"scapy_str\":mac_vlan_pppoe_ipv4_tcp_pay_non_src_dst_port_scapy_str[\"matched\"],\n-               \"check_func\":{\"func\":rfc.check_output_log_in_queue,\n-                             \"param\":{\"expect_port\":0, \"expect_queues\":2}},\n-               \"expect_results\":{\"expect_pkts\":1}},\n-    \"mismatched\":{\"scapy_str\":mac_vlan_pppoe_ipv4_tcp_pay_non_src_dst_port_scapy_str[\"mismatched\"],\n-                  \"check_func\":{\"func\":rfc.check_output_log_in_queue_mismatched,\n-                                \"param\":{\"expect_port\":0, \"expect_queues\":2}},\n-                  \"expect_results\":{\"expect_pkts\":5}}\n-}\n-\n-tv_mac_vlan_pppoe_ipv4_tcp_pay_non_src_dst_port_queue_region_02 = {\n-    \"name\":\"mac_vlan_pppoe_ipv4_tcp_pay_non_src_dst_port_queue_region_02\",\n-    \"validate_pattern\":\"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-    \"rte_flow_pattern\":\"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-    \"configuration\":{\n-        \"is_non_pipeline\":True,\n-        \"is_need_rss_rule\":False},\n-    \"matched\":{\"scapy_str\":mac_vlan_pppoe_ipv4_tcp_pay_non_src_dst_port_scapy_str[\"matched\"],\n-               \"check_func\":{\"func\":rfc.check_output_log_queue_region,\n-                             \"param\":{\"expect_port\":0, \"expect_queues\":[7, 8]}},\n-               \"expect_results\":{\"expect_pkts\":1}},\n-    \"mismatched\":{\"scapy_str\":mac_vlan_pppoe_ipv4_tcp_pay_non_src_dst_port_scapy_str[\"mismatched\"],\n-                  \"check_func\":{\"func\":rfc.check_output_log_queue_region_mismatched,\n-                                \"param\":{\"expect_port\":0, \"expect_queues\":[7, 8]}},\n-                  \"expect_results\":{\"expect_pkts\":5}}\n-}\n-\n-tv_mac_vlan_pppoe_ipv4_tcp_pay_non_src_dst_port_drop_03 = {\n-    \"name\":\"mac_vlan_pppoe_ipv4_tcp_pay_non_src_dst_port_drop_03\",\n-    \"validate_pattern\":\"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-    \"rte_flow_pattern\":\"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-    \"configuration\":{\n-        \"is_non_pipeline\":True,\n-        \"is_need_rss_rule\":False},\n-    \"matched\":{\"scapy_str\":mac_vlan_pppoe_ipv4_tcp_pay_non_src_dst_port_scapy_str[\"matched\"],\n-               \"check_func\":{\"func\":rfc.check_output_log_drop,\n-                             \"param\":{\"expect_port\":0, \"expect_queues\":\"null\"}},\n-               \"expect_results\":{\"expect_pkts\":1}},\n-    \"mismatched\":{\"scapy_str\":mac_vlan_pppoe_ipv4_tcp_pay_non_src_dst_port_scapy_str[\"mismatched\"],\n-                  \"check_func\":{\"func\":rfc.check_output_log_drop_mismatched,\n-                                \"param\":{\"expect_port\":0, \"expect_queues\":\"null\"}},\n-                  \"expect_results\":{\"expect_pkts\":5}}\n-}\n-\n-tvs_mac_vlan_pppoe_ipv4_tcp_pay_non_src_dst_port = [\n-    tv_mac_vlan_pppoe_ipv4_tcp_pay_non_src_dst_port_in_queue_01,\n-    tv_mac_vlan_pppoe_ipv4_tcp_pay_non_src_dst_port_queue_region_02,\n-    tv_mac_vlan_pppoe_ipv4_tcp_pay_non_src_dst_port_drop_03\n-    ]\n-\n-mac_vlan_pppoe_ipv6_pay_ip_address_scapy_str = {\n-    \"matched\": [\n-        '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(b\\'\\\\x00\\\\x57\\')/IPv6(src=\"CDCD:910A:2222:5498:8475:1111:3900:1536\", dst=\"CDCD:910A:2222:5498:8475:1111:3900:2022\")/Raw(\"x\"*80)'],\n-    \"mismatched\": [\n-        '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(b\\'\\\\x00\\\\x57\\')/IPv6(src=\"CDCD:910A:2222:5498:8475:1111:3900:1536\", dst=\"CDCD:910A:2222:5498:8475:1111:3900:2022\")/Raw(\"x\"*80)',\n-        '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(b\\'\\\\x00\\\\x57\\')/IPv6(src=\"CDCD:910A:2222:5498:8475:1111:3900:1537\", dst=\"CDCD:910A:2222:5498:8475:1111:3900:2022\")/Raw(\"x\"*80)'\n-    ]\n-}\n-\n-tv_mac_vlan_pppoe_ipv6_pay_ip_address_in_queue_01 = {\n-    \"name\":\"mac_vlan_pppoe_ipv6_pay_ip_address_in_queue_01\",\n-    \"validate_pattern\":\"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-    \"rte_flow_pattern\":\"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-    \"configuration\":{\n-        \"is_non_pipeline\":True,\n-        \"is_need_rss_rule\":False},\n-    \"matched\":{\"scapy_str\":mac_vlan_pppoe_ipv6_pay_ip_address_scapy_str[\"matched\"],\n-               \"check_func\":{\"func\":rfc.check_output_log_in_queue,\n-                             \"param\":{\"expect_port\":0, \"expect_queues\":1}},\n-               \"expect_results\":{\"expect_pkts\":1}},\n-    \"mismatched\":{\"scapy_str\":mac_vlan_pppoe_ipv6_pay_ip_address_scapy_str[\"mismatched\"],\n-                  \"check_func\":{\"func\":rfc.check_output_log_in_queue_mismatched,\n-                                \"param\":{\"expect_port\":0, \"expect_queues\":1}},\n-                  \"expect_results\":{\"expect_pkts\":2}}\n-}\n-\n-tv_mac_vlan_pppoe_ipv6_pay_ip_address_queue_region_02 = {\n-    \"name\":\"mac_vlan_pppoe_ipv6_pay_ip_address_queue_region_02\",\n-    \"validate_pattern\":\"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-    \"rte_flow_pattern\":\"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-    \"configuration\":{\n-        \"is_non_pipeline\":True,\n-        \"is_need_rss_rule\":False},\n-    \"matched\":{\"scapy_str\":mac_vlan_pppoe_ipv6_pay_ip_address_scapy_str[\"matched\"],\n-               \"check_func\":{\"func\":rfc.check_output_log_queue_region,\n-                             \"param\":{\"expect_port\":0, \"expect_queues\":[2, 3]}},\n-               \"expect_results\":{\"expect_pkts\":1}},\n-    \"mismatched\":{\"scapy_str\":mac_vlan_pppoe_ipv6_pay_ip_address_scapy_str[\"mismatched\"],\n-                  \"check_func\":{\"func\":rfc.check_output_log_queue_region_mismatched,\n-                                \"param\":{\"expect_port\":0, \"expect_queues\":[2, 3]}},\n-                  \"expect_results\":{\"expect_pkts\":2}}\n-}\n-\n-tv_mac_vlan_pppoe_ipv6_pay_ip_address_drop_03 = {\n-    \"name\":\"mac_vlan_pppoe_ipv6_pay_ip_address_drop_03\",\n-    \"validate_pattern\":\"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-    \"rte_flow_pattern\":\"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-    \"configuration\":{\n-        \"is_non_pipeline\":True,\n-        \"is_need_rss_rule\":False},\n-    \"matched\":{\"scapy_str\":mac_vlan_pppoe_ipv6_pay_ip_address_scapy_str[\"matched\"],\n-               \"check_func\":{\"func\":rfc.check_output_log_drop,\n-                             \"param\":{\"expect_port\":0, \"expect_queues\":\"null\"}},\n-               \"expect_results\":{\"expect_pkts\":1}},\n-    \"mismatched\":{\"scapy_str\":mac_vlan_pppoe_ipv6_pay_ip_address_scapy_str[\"mismatched\"],\n-                  \"check_func\":{\"func\":rfc.check_output_log_drop_mismatched,\n-                                \"param\":{\"expect_port\":0, \"expect_queues\":\"null\"}},\n-                  \"expect_results\":{\"expect_pkts\":2}}\n-}\n-\n-tvs_mac_vlan_pppoe_ipv6_pay_ip_address = [\n-    tv_mac_vlan_pppoe_ipv6_pay_ip_address_in_queue_01,\n-    tv_mac_vlan_pppoe_ipv6_pay_ip_address_queue_region_02,\n-    tv_mac_vlan_pppoe_ipv6_pay_ip_address_drop_03\n-    ]\n-\n-mac_vlan_pppoe_ipv6_udp_pay_scapy_str = {\n-    \"matched\": [\n-        '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(b\\'\\\\x00\\\\x57\\')/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)'],\n-    \"mismatched\": [\n-        '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(b\\'\\\\x00\\\\x57\\')/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)',\n-        '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(b\\'\\\\x00\\\\x57\\')/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)',\n-        '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(b\\'\\\\x00\\\\x57\\')/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)',\n-        '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(b\\'\\\\x00\\\\x57\\')/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)'\n-    ]\n-}\n-\n-tv_mac_vlan_pppoe_ipv6_udp_pay_in_queue_01 = {\n-    \"name\":\"mac_vlan_pppoe_ipv6_udp_pay_in_queue_01\",\n-    \"validate_pattern\":\"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-    \"rte_flow_pattern\":\"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-    \"configuration\":{\n-        \"is_non_pipeline\":True,\n-        \"is_need_rss_rule\":False},\n-    \"matched\":{\"scapy_str\":mac_vlan_pppoe_ipv6_udp_pay_scapy_str[\"matched\"],\n-               \"check_func\":{\"func\":rfc.check_output_log_in_queue,\n-                             \"param\":{\"expect_port\":0, \"expect_queues\":1}},\n-               \"expect_results\":{\"expect_pkts\":1}},\n-    \"mismatched\":{\"scapy_str\":mac_vlan_pppoe_ipv6_udp_pay_scapy_str[\"mismatched\"],\n-                  \"check_func\":{\"func\":rfc.check_output_log_in_queue_mismatched,\n-                                \"param\":{\"expect_port\":0, \"expect_queues\":1}},\n-                  \"expect_results\":{\"expect_pkts\":4}}\n-}\n-\n-tv_mac_vlan_pppoe_ipv6_udp_pay_queue_region_02 = {\n-    \"name\":\"mac_vlan_pppoe_ipv6_udp_pay_queue_region_02\",\n-    \"validate_pattern\":\"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-    \"rte_flow_pattern\":\"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-    \"configuration\":{\n-        \"is_non_pipeline\":True,\n-        \"is_need_rss_rule\":False},\n-    \"matched\":{\"scapy_str\":mac_vlan_pppoe_ipv6_udp_pay_scapy_str[\"matched\"],\n-               \"check_func\":{\"func\":rfc.check_output_log_queue_region,\n-                             \"param\":{\"expect_port\":0, \"expect_queues\":[4, 5]}},\n-               \"expect_results\":{\"expect_pkts\":1}},\n-    \"mismatched\":{\"scapy_str\":mac_vlan_pppoe_ipv6_udp_pay_scapy_str[\"mismatched\"],\n-                  \"check_func\":{\"func\":rfc.check_output_log_queue_region_mismatched,\n-                                \"param\":{\"expect_port\":0, \"expect_queues\":[4, 5]}},\n-                  \"expect_results\":{\"expect_pkts\":4}}\n-}\n-\n-tv_mac_vlan_pppoe_ipv6_udp_pay_drop_03 = {\n-    \"name\":\"mac_vlan_pppoe_ipv6_udp_pay_drop_03\",\n-    \"validate_pattern\":\"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-    \"rte_flow_pattern\":\"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-    \"configuration\":{\n-        \"is_non_pipeline\":True,\n-        \"is_need_rss_rule\":False},\n-    \"matched\":{\"scapy_str\":mac_vlan_pppoe_ipv6_udp_pay_scapy_str[\"matched\"],\n-               \"check_func\":{\"func\":rfc.check_output_log_drop,\n-                             \"param\":{\"expect_port\":0, \"expect_queues\":\"null\"}},\n-               \"expect_results\":{\"expect_pkts\":1}},\n-    \"mismatched\":{\"scapy_str\":mac_vlan_pppoe_ipv6_udp_pay_scapy_str[\"mismatched\"],\n-                  \"check_func\":{\"func\":rfc.check_output_log_drop_mismatched,\n-                                \"param\":{\"expect_port\":0, \"expect_queues\":\"null\"}},\n-                  \"expect_results\":{\"expect_pkts\":4}}\n-}\n-\n-tvs_mac_vlan_pppoe_ipv6_udp_pay = [\n-    tv_mac_vlan_pppoe_ipv6_udp_pay_in_queue_01,\n-    tv_mac_vlan_pppoe_ipv6_udp_pay_queue_region_02,\n-    tv_mac_vlan_pppoe_ipv6_udp_pay_drop_03\n-    ]\n-\n-mac_vlan_pppoe_ipv6_udp_pay_non_src_dst_port_scapy_str = {\n-    \"matched\": [\n-        '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(b\\'\\\\x00\\\\x57\\')/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)'],\n-    \"mismatched\": [\n-        '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(b\\'\\\\x00\\\\x57\\')/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)',\n-        '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(b\\'\\\\x00\\\\x57\\')/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)',\n-        '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(b\\'\\\\x00\\\\x57\\')/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)',\n-        '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(b\\'\\\\x00\\\\x57\\')/IPv6(src=\"CDCD:910A:2222:5498:8475:1111:3900:1536\", dst=\"CDCD:910A:2222:5498:8475:1111:3900:2022\")/Raw(\"x\" * 80)'\n-    ]\n-}\n-\n-tv_mac_vlan_pppoe_ipv6_udp_pay_non_src_dst_port_in_queue_01 = {\n-    \"name\":\"mac_vlan_pppoe_ipv6_udp_pay_non_src_dst_port_in_queue_01\",\n-    \"validate_pattern\":\"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-    \"rte_flow_pattern\":\"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-    \"configuration\":{\n-        \"is_non_pipeline\":True,\n-        \"is_need_rss_rule\":False},\n-    \"matched\":{\"scapy_str\":mac_vlan_pppoe_ipv6_udp_pay_non_src_dst_port_scapy_str[\"matched\"],\n-               \"check_func\":{\"func\":rfc.check_output_log_in_queue,\n-                             \"param\":{\"expect_port\":0, \"expect_queues\":1}},\n-               \"expect_results\":{\"expect_pkts\":1}},\n-    \"mismatched\":{\"scapy_str\":mac_vlan_pppoe_ipv6_udp_pay_non_src_dst_port_scapy_str[\"mismatched\"],\n-                  \"check_func\":{\"func\":rfc.check_output_log_in_queue_mismatched,\n-                                \"param\":{\"expect_port\":0, \"expect_queues\":1}},\n-                  \"expect_results\":{\"expect_pkts\":4}}\n-}\n-\n-tv_mac_vlan_pppoe_ipv6_udp_pay_non_src_dst_port_queue_region_02 = {\n-    \"name\":\"mac_vlan_pppoe_ipv6_udp_pay_non_src_dst_port_queue_region_02\",\n-    \"validate_pattern\":\"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-    \"rte_flow_pattern\":\"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-    \"configuration\":{\n-        \"is_non_pipeline\":True,\n-        \"is_need_rss_rule\":False},\n-    \"matched\":{\"scapy_str\":mac_vlan_pppoe_ipv6_udp_pay_non_src_dst_port_scapy_str[\"matched\"],\n-               \"check_func\":{\"func\":rfc.check_output_log_queue_region,\n-                             \"param\":{\"expect_port\":0, \"expect_queues\":[2, 3]}},\n-               \"expect_results\":{\"expect_pkts\":1}},\n-    \"mismatched\":{\"scapy_str\":mac_vlan_pppoe_ipv6_udp_pay_non_src_dst_port_scapy_str[\"mismatched\"],\n-                  \"check_func\":{\"func\":rfc.check_output_log_queue_region_mismatched,\n-                                \"param\":{\"expect_port\":0, \"expect_queues\":[2, 3]}},\n-                  \"expect_results\":{\"expect_pkts\":4}}\n-}\n-\n-tv_mac_vlan_pppoe_ipv6_udp_pay_non_src_dst_port_drop_03 = {\n-    \"name\":\"mac_vlan_pppoe_ipv6_udp_pay_non_src_dst_port_drop_03\",\n-    \"validate_pattern\":\"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-    \"rte_flow_pattern\":\"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-    \"configuration\":{\n-        \"is_non_pipeline\":True,\n-        \"is_need_rss_rule\":False},\n-    \"matched\":{\"scapy_str\":mac_vlan_pppoe_ipv6_udp_pay_non_src_dst_port_scapy_str[\"matched\"],\n-               \"check_func\":{\"func\":rfc.check_output_log_drop,\n-                             \"param\":{\"expect_port\":0, \"expect_queues\":\"null\"}},\n-               \"expect_results\":{\"expect_pkts\":1}},\n-    \"mismatched\":{\"scapy_str\":mac_vlan_pppoe_ipv6_udp_pay_non_src_dst_port_scapy_str[\"mismatched\"],\n-                  \"check_func\":{\"func\":rfc.check_output_log_drop_mismatched,\n-                                \"param\":{\"expect_port\":0, \"expect_queues\":\"null\"}},\n-                  \"expect_results\":{\"expect_pkts\":4}}\n-}\n-\n-tvs_mac_vlan_pppoe_ipv6_udp_pay_non_src_dst_port = [\n-    tv_mac_vlan_pppoe_ipv6_udp_pay_non_src_dst_port_in_queue_01,\n-    tv_mac_vlan_pppoe_ipv6_udp_pay_non_src_dst_port_queue_region_02,\n-    tv_mac_vlan_pppoe_ipv6_udp_pay_non_src_dst_port_drop_03\n-    ]\n-\n-mac_vlan_pppoe_ipv6_tcp_pay_scapy_str = {\n-    \"matched\": [\n-        '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(b\\'\\\\x00\\\\x57\\')/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)'],\n-    \"mismatched\": [\n-        '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(b\\'\\\\x00\\\\x57\\')/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)',\n-        '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(b\\'\\\\x00\\\\x57\\')/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)',\n-        '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(b\\'\\\\x00\\\\x57\\')/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)',\n-        '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(b\\'\\\\x00\\\\x57\\')/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)'\n-    ]\n-}\n-\n-tv_mac_vlan_pppoe_ipv6_tcp_pay_in_queue_01 = {\n-    \"name\":\"mac_vlan_pppoe_ipv6_tcp_pay_in_queue_01\",\n-    \"validate_pattern\":\"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-    \"rte_flow_pattern\":\"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-    \"configuration\":{\n-        \"is_non_pipeline\":True,\n-        \"is_need_rss_rule\":False},\n-    \"matched\":{\"scapy_str\":mac_vlan_pppoe_ipv6_tcp_pay_scapy_str[\"matched\"],\n-               \"check_func\":{\"func\":rfc.check_output_log_in_queue,\n-                             \"param\":{\"expect_port\":0, \"expect_queues\":1}},\n-               \"expect_results\":{\"expect_pkts\":1}},\n-    \"mismatched\":{\"scapy_str\":mac_vlan_pppoe_ipv6_tcp_pay_scapy_str[\"mismatched\"],\n-                  \"check_func\":{\"func\":rfc.check_output_log_in_queue_mismatched,\n-                                \"param\":{\"expect_port\":0, \"expect_queues\":1}},\n-                  \"expect_results\":{\"expect_pkts\":4}}\n-}\n-\n-tv_mac_vlan_pppoe_ipv6_tcp_pay_queue_region_02 = {\n-    \"name\":\"mac_vlan_pppoe_ipv6_tcp_pay_queue_region_02\",\n-    \"validate_pattern\":\"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-    \"rte_flow_pattern\":\"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-    \"configuration\":{\n-        \"is_non_pipeline\":True,\n-        \"is_need_rss_rule\":False},\n-    \"matched\":{\"scapy_str\":mac_vlan_pppoe_ipv6_tcp_pay_scapy_str[\"matched\"],\n-               \"check_func\":{\"func\":rfc.check_output_log_queue_region,\n-                             \"param\":{\"expect_port\":0, \"expect_queues\":[4, 5]}},\n-               \"expect_results\":{\"expect_pkts\":1}},\n-    \"mismatched\":{\"scapy_str\":mac_vlan_pppoe_ipv6_tcp_pay_scapy_str[\"mismatched\"],\n-                  \"check_func\":{\"func\":rfc.check_output_log_queue_region_mismatched,\n-                                \"param\":{\"expect_port\":0, \"expect_queues\":[4, 5]}},\n-                  \"expect_results\":{\"expect_pkts\":4}}\n-}\n-\n-tv_mac_vlan_pppoe_ipv6_tcp_pay_drop_03 = {\n-    \"name\":\"mac_vlan_pppoe_ipv6_tcp_pay_drop_03\",\n-    \"validate_pattern\":\"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-    \"rte_flow_pattern\":\"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-    \"configuration\":{\n-        \"is_non_pipeline\":True,\n-        \"is_need_rss_rule\":False},\n-    \"matched\":{\"scapy_str\":mac_vlan_pppoe_ipv6_tcp_pay_scapy_str[\"matched\"],\n-               \"check_func\":{\"func\":rfc.check_output_log_drop,\n-                             \"param\":{\"expect_port\":0, \"expect_queues\":\"null\"}},\n-               \"expect_results\":{\"expect_pkts\":1}},\n-    \"mismatched\":{\"scapy_str\":mac_vlan_pppoe_ipv6_tcp_pay_scapy_str[\"mismatched\"],\n-                  \"check_func\":{\"func\":rfc.check_output_log_drop_mismatched,\n-                                \"param\":{\"expect_port\":0, \"expect_queues\":\"null\"}},\n-                  \"expect_results\":{\"expect_pkts\":4}}\n-}\n-\n-tvs_mac_vlan_pppoe_ipv6_tcp_pay = [\n-    tv_mac_vlan_pppoe_ipv6_tcp_pay_in_queue_01,\n-    tv_mac_vlan_pppoe_ipv6_tcp_pay_queue_region_02,\n-    tv_mac_vlan_pppoe_ipv6_tcp_pay_drop_03\n-    ]\n-\n-mac_vlan_pppoe_ipv6_tcp_pay_non_src_dst_port_scapy_str = {\n-    \"matched\": [\n-        '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(b\\'\\\\x00\\\\x57\\')/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)'],\n-    \"mismatched\": [\n-        '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(b\\'\\\\x00\\\\x57\\')/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)',\n-        '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(b\\'\\\\x00\\\\x57\\')/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)',\n-        '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(b\\'\\\\x00\\\\x57\\')/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)',\n-        '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(b\\'\\\\x00\\\\x57\\')/IPv6(src=\"CDCD:910A:2222:5498:8475:1111:3900:1536\", dst=\"CDCD:910A:2222:5498:8475:1111:3900:2022\")/Raw(\"x\" * 80)'\n-    ]\n-}\n-\n-tv_mac_vlan_pppoe_ipv6_tcp_pay_non_src_dst_port_in_queue_01 = {\n-    \"name\":\"mac_vlan_pppoe_ipv6_tcp_pay_non_src_dst_port_in_queue_01\",\n-    \"validate_pattern\":\"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-    \"rte_flow_pattern\":\"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-    \"configuration\":{\n-        \"is_non_pipeline\":True,\n-        \"is_need_rss_rule\":False},\n-    \"matched\":{\"scapy_str\":mac_vlan_pppoe_ipv6_tcp_pay_non_src_dst_port_scapy_str[\"matched\"],\n-               \"check_func\":{\"func\":rfc.check_output_log_in_queue,\n-                             \"param\":{\"expect_port\":0, \"expect_queues\":1}},\n-               \"expect_results\":{\"expect_pkts\":1}},\n-    \"mismatched\":{\"scapy_str\":mac_vlan_pppoe_ipv6_tcp_pay_non_src_dst_port_scapy_str[\"mismatched\"],\n-                  \"check_func\":{\"func\":rfc.check_output_log_in_queue_mismatched,\n-                                \"param\":{\"expect_port\":0, \"expect_queues\":1}},\n-                  \"expect_results\":{\"expect_pkts\":4}}\n-}\n-\n-tv_mac_vlan_pppoe_ipv6_tcp_pay_non_src_dst_port_queue_region_02 = {\n-    \"name\":\"mac_vlan_pppoe_ipv6_tcp_pay_non_src_dst_port_queue_region_02\",\n-    \"validate_pattern\":\"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-    \"rte_flow_pattern\":\"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-    \"configuration\":{\n-        \"is_non_pipeline\":True,\n-        \"is_need_rss_rule\":False},\n-    \"matched\":{\"scapy_str\":mac_vlan_pppoe_ipv6_tcp_pay_non_src_dst_port_scapy_str[\"matched\"],\n-               \"check_func\":{\"func\":rfc.check_output_log_queue_region,\n-                             \"param\":{\"expect_port\":0, \"expect_queues\":[2, 3]}},\n-               \"expect_results\":{\"expect_pkts\":1}},\n-    \"mismatched\":{\"scapy_str\":mac_vlan_pppoe_ipv6_tcp_pay_non_src_dst_port_scapy_str[\"mismatched\"],\n-                  \"check_func\":{\"func\":rfc.check_output_log_queue_region_mismatched,\n-                                \"param\":{\"expect_port\":0, \"expect_queues\":[2, 3]}},\n-                  \"expect_results\":{\"expect_pkts\":4}}\n-}\n-\n-tv_mac_vlan_pppoe_ipv6_tcp_pay_non_src_dst_port_drop_03 = {\n-    \"name\":\"mac_vlan_pppoe_ipv6_tcp_pay_non_src_dst_port_drop_03\",\n-    \"validate_pattern\":\"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-    \"rte_flow_pattern\":\"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-    \"configuration\":{\n-        \"is_non_pipeline\":True,\n-        \"is_need_rss_rule\":False},\n-    \"matched\":{\"scapy_str\":mac_vlan_pppoe_ipv6_tcp_pay_non_src_dst_port_scapy_str[\"matched\"],\n-               \"check_func\":{\"func\":rfc.check_output_log_drop,\n-                             \"param\":{\"expect_port\":0, \"expect_queues\":\"null\"}},\n-               \"expect_results\":{\"expect_pkts\":1}},\n-    \"mismatched\":{\"scapy_str\":mac_vlan_pppoe_ipv6_tcp_pay_non_src_dst_port_scapy_str[\"mismatched\"],\n-                  \"check_func\":{\"func\":rfc.check_output_log_drop_mismatched,\n-                                \"param\":{\"expect_port\":0, \"expect_queues\":\"null\"}},\n-                  \"expect_results\":{\"expect_pkts\":4}}\n-}\n-\n-tvs_mac_vlan_pppoe_ipv6_tcp_pay_non_src_dst_port = [\n-    tv_mac_vlan_pppoe_ipv6_tcp_pay_non_src_dst_port_in_queue_01,\n-    tv_mac_vlan_pppoe_ipv6_tcp_pay_non_src_dst_port_queue_region_02,\n-    tv_mac_vlan_pppoe_ipv6_tcp_pay_non_src_dst_port_drop_03\n-    ]\n-\n-mac_pppoe_lcp_pay_scapy_str = {\n-    \"matched\": [\n-        'Ether(src=\"11:22:33:44:55:99\",dst=\"00:11:22:33:44:55\",type=0x8864)/PPPoE(sessionid=3)/PPP(b\\'\\\\xc0\\\\x21\\')/PPP_LCP()/Raw(\"x\" * 80)'],\n-    \"mismatched\": [\n-        'Ether(src=\"11:22:33:44:55:99\",dst=\"00:11:22:33:44:53\",type=0x8864)/PPPoE(sessionid=3)/PPP(b\\'\\\\xc0\\\\x21\\')/PPP_LCP()/Raw(\"x\" * 80)',\n-        'Ether(src=\"11:22:33:44:55:99\",dst=\"00:11:22:33:44:55\",type=0x8864)/PPPoE(sessionid=4)/PPP(b\\'\\\\xc0\\\\x21\\')/PPP_LCP()/Raw(\"x\" * 80)',\n-        'Ether(src=\"11:22:33:44:55:99\",dst=\"00:11:22:33:44:55\",type=0x8864)/PPPoE(sessionid=3)/PPP(b\\'\\\\x00\\\\x21\\')/IP()/Raw(\"x\" * 80)'\n-    ]\n-}\n-\n-tv_mac_pppoe_lcp_pay_in_queue_01 = {\n-    \"name\":\"mac_pppoe_lcp_pay_in_queue_01\",\n-    \"validate_pattern\":\"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-    \"rte_flow_pattern\":\"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-    \"configuration\":{\n-        \"is_non_pipeline\":True,\n-        \"is_need_rss_rule\":True},\n-    \"matched\":{\"scapy_str\":mac_pppoe_lcp_pay_scapy_str[\"matched\"],\n-               \"check_func\":{\"func\":rfc.check_output_log_in_queue,\n-                             \"param\":{\"expect_port\":0, \"expect_queues\":1}},\n-               \"expect_results\":{\"expect_pkts\":1}},\n-    \"mismatched\":{\"scapy_str\":mac_pppoe_lcp_pay_scapy_str[\"mismatched\"],\n-                  \"check_func\":{\"func\":rfc.check_output_log_in_queue_mismatched,\n-                                \"param\":{\"expect_port\":0, \"expect_queues\":1}},\n-                  \"expect_results\":{\"expect_pkts\":3}}\n-}\n-\n-tv_mac_pppoe_lcp_pay_queue_region_02 = {\n-    \"name\":\"mac_pppoe_lcp_pay_queue_region_02\",\n-    \"validate_pattern\":\"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-    \"rte_flow_pattern\":\"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-    \"configuration\":{\n-        \"is_non_pipeline\":True,\n-        \"is_need_rss_rule\":True},\n-    \"matched\":{\"scapy_str\":mac_pppoe_lcp_pay_scapy_str[\"matched\"],\n-               \"check_func\":{\"func\":rfc.check_output_log_queue_region,\n-                             \"param\":{\"expect_port\":0, \"expect_queues\":[2, 3]}},\n-               \"expect_results\":{\"expect_pkts\":1}},\n-    \"mismatched\":{\"scapy_str\":mac_pppoe_lcp_pay_scapy_str[\"mismatched\"],\n-                  \"check_func\":{\"func\":rfc.check_output_log_queue_region_mismatched,\n-                                \"param\":{\"expect_port\":0, \"expect_queues\":[2, 3]}},\n-                  \"expect_results\":{\"expect_pkts\":3}}\n-}\n-\n-tv_mac_pppoe_lcp_pay_drop_03 = {\n-    \"name\":\"mac_pppoe_lcp_pay_drop_03\",\n-    \"validate_pattern\":\"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-    \"rte_flow_pattern\":\"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-    \"configuration\":{\n-        \"is_non_pipeline\":True,\n-        \"is_need_rss_rule\":True},\n-    \"matched\":{\"scapy_str\":mac_pppoe_lcp_pay_scapy_str[\"matched\"],\n-               \"check_func\":{\"func\":rfc.check_output_log_drop,\n-                             \"param\":{\"expect_port\":0, \"expect_queues\":\"null\"}},\n-               \"expect_results\":{\"expect_pkts\":1}},\n-    \"mismatched\":{\"scapy_str\":mac_pppoe_lcp_pay_scapy_str[\"mismatched\"],\n-                  \"check_func\":{\"func\":rfc.check_output_log_drop_mismatched,\n-                                \"param\":{\"expect_port\":0, \"expect_queues\":\"null\"}},\n-                  \"expect_results\":{\"expect_pkts\":3}}\n-}\n-\n-tvs_mac_pppoe_lcp_pay = [\n-    tv_mac_pppoe_lcp_pay_in_queue_01,\n-    tv_mac_pppoe_lcp_pay_queue_region_02,\n-    tv_mac_pppoe_lcp_pay_drop_03\n-    ]\n-\n-mac_pppoe_ipcp_pay_scapy_str = {\n-    \"matched\": [\n-        'Ether(src=\"11:22:33:44:55:99\",dst=\"00:11:22:33:44:55\",type=0x8864)/PPPoE(sessionid=3)/PPP(b\\'\\\\x80\\\\x21\\')/PPP_IPCP()/Raw(\"x\" * 80)'],\n-    \"mismatched\": [\n-        'Ether(src=\"11:22:33:44:55:99\",dst=\"00:11:22:33:44:53\",type=0x8864)/PPPoE(sessionid=3)/PPP(b\\'\\\\x80\\\\x21\\')/PPP_IPCP()/Raw(\"x\" * 80)',\n-        'Ether(src=\"11:22:33:44:55:99\",dst=\"00:11:22:33:44:55\",type=0x8864)/PPPoE(sessionid=4)/PPP(b\\'\\\\x80\\\\x21\\')/PPP_IPCP()/Raw(\"x\" * 80)',\n-        'Ether(src=\"11:22:33:44:55:99\",dst=\"00:11:22:33:44:55\",type=0x8864)/PPPoE(sessionid=3)/PPP(b\\'\\\\x00\\\\x21\\')/IP()/Raw(\"x\" * 80)'\n-    ]\n-}\n-\n-tv_mac_pppoe_ipcp_pay_in_queue_01 = {\n-    \"name\":\"mac_pppoe_ipcp_pay_in_queue_01\",\n-    \"validate_pattern\":\"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-    \"rte_flow_pattern\":\"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-    \"configuration\":{\n-        \"is_non_pipeline\":True,\n-        \"is_need_rss_rule\":True},\n-    \"matched\":{\"scapy_str\":mac_pppoe_ipcp_pay_scapy_str[\"matched\"],\n-               \"check_func\":{\"func\":rfc.check_output_log_in_queue,\n-                             \"param\":{\"expect_port\":0, \"expect_queues\":1}},\n-               \"expect_results\":{\"expect_pkts\":1}},\n-    \"mismatched\":{\"scapy_str\":mac_pppoe_ipcp_pay_scapy_str[\"mismatched\"],\n-                  \"check_func\":{\"func\":rfc.check_output_log_in_queue_mismatched,\n-                                \"param\":{\"expect_port\":0, \"expect_queues\":1}},\n-                  \"expect_results\":{\"expect_pkts\":3}}\n-}\n-\n-tv_mac_pppoe_ipcp_pay_queue_region_02 = {\n-    \"name\":\"mac_pppoe_ipcp_pay_queue_region_02\",\n-    \"validate_pattern\":\"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-    \"rte_flow_pattern\":\"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-    \"configuration\":{\n-        \"is_non_pipeline\":True,\n-        \"is_need_rss_rule\":True},\n-    \"matched\":{\"scapy_str\":mac_pppoe_ipcp_pay_scapy_str[\"matched\"],\n-               \"check_func\":{\"func\":rfc.check_output_log_queue_region,\n-                             \"param\":{\"expect_port\":0, \"expect_queues\":[2, 3]}},\n-               \"expect_results\":{\"expect_pkts\":1}},\n-    \"mismatched\":{\"scapy_str\":mac_pppoe_ipcp_pay_scapy_str[\"mismatched\"],\n-                  \"check_func\":{\"func\":rfc.check_output_log_queue_region_mismatched,\n-                                \"param\":{\"expect_port\":0, \"expect_queues\":[2, 3]}},\n-                  \"expect_results\":{\"expect_pkts\":3}}\n-}\n-\n-tv_mac_pppoe_ipcp_pay_drop_03 = {\n-    \"name\":\"mac_pppoe_ipcp_pay_drop_03\",\n-    \"validate_pattern\":\"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-    \"rte_flow_pattern\":\"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-    \"configuration\":{\n-        \"is_non_pipeline\":True,\n-        \"is_need_rss_rule\":True},\n-    \"matched\":{\"scapy_str\":mac_pppoe_ipcp_pay_scapy_str[\"matched\"],\n-               \"check_func\":{\"func\":rfc.check_output_log_drop,\n-                             \"param\":{\"expect_port\":0, \"expect_queues\":\"null\"}},\n-               \"expect_results\":{\"expect_pkts\":1}},\n-    \"mismatched\":{\"scapy_str\":mac_pppoe_ipcp_pay_scapy_str[\"mismatched\"],\n-                  \"check_func\":{\"func\":rfc.check_output_log_drop_mismatched,\n-                                \"param\":{\"expect_port\":0, \"expect_queues\":\"null\"}},\n-                  \"expect_results\":{\"expect_pkts\":3}}\n-}\n-\n-tvs_mac_pppoe_ipcp_pay = [\n-    tv_mac_pppoe_ipcp_pay_in_queue_01,\n-    tv_mac_pppoe_ipcp_pay_queue_region_02,\n-    tv_mac_pppoe_ipcp_pay_drop_03\n-    ]\n-\n-mac_vlan_pppoe_lcp_pay_scapy_str = {\n-    \"matched\": [\n-        '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(b\\'\\\\xc0\\\\x21\\')/PPP_LCP()/Raw(\"x\" * 80)'],\n-    \"mismatched\": [\n-        '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(b\\'\\\\xc0\\\\x21\\')/PPP_LCP()/Raw(\"x\" * 80)',\n-        '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(b\\'\\\\xc0\\\\x21\\')/PPP_LCP()/Raw(\"x\" * 80)',\n-        '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(b\\'\\\\xc0\\\\x21\\')/PPP_LCP()/Raw(\"x\" * 80)',\n-        '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(b\\'\\\\x00\\\\x21\\')/IP()/Raw(\"x\" * 80)'\n-    ]\n-}\n-\n-tv_mac_vlan_pppoe_lcp_pay_in_queue_01 = {\n-    \"name\":\"mac_vlan_pppoe_lcp_pay_in_queue_01\",\n-    \"validate_pattern\":\"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-    \"rte_flow_pattern\":\"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-    \"configuration\":{\n-        \"is_non_pipeline\":True,\n-        \"is_need_rss_rule\":True},\n-    \"matched\":{\"scapy_str\":mac_vlan_pppoe_lcp_pay_scapy_str[\"matched\"],\n-               \"check_func\":{\"func\":rfc.check_output_log_in_queue,\n-                             \"param\":{\"expect_port\":0, \"expect_queues\":1}},\n-               \"expect_results\":{\"expect_pkts\":1}},\n-    \"mismatched\":{\"scapy_str\":mac_vlan_pppoe_lcp_pay_scapy_str[\"mismatched\"],\n-                  \"check_func\":{\"func\":rfc.check_output_log_in_queue_mismatched,\n-                                \"param\":{\"expect_port\":0, \"expect_queues\":1}},\n-                  \"expect_results\":{\"expect_pkts\":4}}\n-}\n-\n-tv_mac_vlan_pppoe_lcp_pay_queue_region_02 = {\n-    \"name\":\"mac_vlan_pppoe_lcp_pay_queue_region_02\",\n-    \"validate_pattern\":\"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-    \"rte_flow_pattern\":\"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-    \"configuration\":{\n-        \"is_non_pipeline\":True,\n-        \"is_need_rss_rule\":True},\n-    \"matched\":{\"scapy_str\":mac_vlan_pppoe_lcp_pay_scapy_str[\"matched\"],\n-               \"check_func\":{\"func\":rfc.check_output_log_queue_region,\n-                             \"param\":{\"expect_port\":0, \"expect_queues\":[2, 3]}},\n-               \"expect_results\":{\"expect_pkts\":1}},\n-    \"mismatched\":{\"scapy_str\":mac_vlan_pppoe_lcp_pay_scapy_str[\"mismatched\"],\n-                  \"check_func\":{\"func\":rfc.check_output_log_queue_region_mismatched,\n-                                \"param\":{\"expect_port\":0, \"expect_queues\":[2, 3]}},\n-                  \"expect_results\":{\"expect_pkts\":4}}\n-}\n-\n-tv_mac_vlan_pppoe_lcp_pay_drop_03 = {\n-    \"name\":\"mac_vlan_pppoe_lcp_pay_drop_03\",\n-    \"validate_pattern\":\"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-    \"rte_flow_pattern\":\"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-    \"configuration\":{\n-        \"is_non_pipeline\":True,\n-        \"is_need_rss_rule\":True},\n-    \"matched\":{\"scapy_str\":mac_vlan_pppoe_lcp_pay_scapy_str[\"matched\"],\n-               \"check_func\":{\"func\":rfc.check_output_log_drop,\n-                             \"param\":{\"expect_port\":0, \"expect_queues\":\"null\"}},\n-               \"expect_results\":{\"expect_pkts\":1}},\n-    \"mismatched\":{\"scapy_str\":mac_vlan_pppoe_lcp_pay_scapy_str[\"mismatched\"],\n-                  \"check_func\":{\"func\":rfc.check_output_log_drop_mismatched,\n-                                \"param\":{\"expect_port\":0, \"expect_queues\":\"null\"}},\n-                  \"expect_results\":{\"expect_pkts\":4}}\n-}\n-\n-tvs_mac_vlan_pppoe_lcp_pay = [\n-    tv_mac_vlan_pppoe_lcp_pay_in_queue_01,\n-    tv_mac_vlan_pppoe_lcp_pay_queue_region_02,\n-    tv_mac_vlan_pppoe_lcp_pay_drop_03\n-    ]\n-\n-mac_vlan_pppoe_ipcp_pay_scapy_str = {\n-    \"matched\": [\n-        '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(b\\'\\\\x80\\\\x21\\')/PPP_IPCP()/Raw(\"x\" * 80)'],\n-    \"mismatched\": [\n-        '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(b\\'\\\\x80\\\\x21\\')/PPP_IPCP()/Raw(\"x\" * 80)',\n-        '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(b\\'\\\\x80\\\\x21\\')/PPP_IPCP()/Raw(\"x\" * 80)',\n-        '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(b\\'\\\\x80\\\\x21\\')/PPP_IPCP()/Raw(\"x\" * 80)',\n-        '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(b\\'\\\\x00\\\\x21\\')/IP()/Raw(\"x\" * 80)'\n-    ]\n-}\n-\n-tv_mac_vlan_pppoe_ipcp_pay_in_queue_01 = {\n-    \"name\":\"mac_vlan_pppoe_ipcp_pay_in_queue_01\",\n-    \"validate_pattern\":\"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-    \"rte_flow_pattern\":\"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-    \"configuration\":{\n-        \"is_non_pipeline\":True,\n-        \"is_need_rss_rule\":True},\n-    \"matched\":{\"scapy_str\":mac_vlan_pppoe_ipcp_pay_scapy_str[\"matched\"],\n-               \"check_func\":{\"func\":rfc.check_output_log_in_queue,\n-                             \"param\":{\"expect_port\":0, \"expect_queues\":1}},\n-               \"expect_results\":{\"expect_pkts\":1}},\n-    \"mismatched\":{\"scapy_str\":mac_vlan_pppoe_ipcp_pay_scapy_str[\"mismatched\"],\n-                  \"check_func\":{\"func\":rfc.check_output_log_in_queue_mismatched,\n-                                \"param\":{\"expect_port\":0, \"expect_queues\":1}},\n-                  \"expect_results\":{\"expect_pkts\":4}}\n-}\n-\n-tv_mac_vlan_pppoe_ipcp_pay_queue_region_02 = {\n-    \"name\":\"mac_vlan_pppoe_ipcp_pay_queue_region_02\",\n-    \"validate_pattern\":\"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-    \"rte_flow_pattern\":\"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-    \"configuration\":{\n-        \"is_non_pipeline\":True,\n-        \"is_need_rss_rule\":True},\n-    \"matched\":{\"scapy_str\":mac_vlan_pppoe_ipcp_pay_scapy_str[\"matched\"],\n-               \"check_func\":{\"func\":rfc.check_output_log_queue_region,\n-                             \"param\":{\"expect_port\":0, \"expect_queues\":[2, 3]}},\n-               \"expect_results\":{\"expect_pkts\":1}},\n-    \"mismatched\":{\"scapy_str\":mac_vlan_pppoe_ipcp_pay_scapy_str[\"mismatched\"],\n-                  \"check_func\":{\"func\":rfc.check_output_log_queue_region_mismatched,\n-                                \"param\":{\"expect_port\":0, \"expect_queues\":[2, 3]}},\n-                  \"expect_results\":{\"expect_pkts\":4}}\n-}\n-\n-tv_mac_vlan_pppoe_ipcp_pay_drop_03 = {\n-    \"name\":\"mac_vlan_pppoe_ipcp_pay_drop_03\",\n-    \"validate_pattern\":\"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-    \"rte_flow_pattern\":\"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-    \"configuration\":{\n-        \"is_non_pipeline\":True,\n-        \"is_need_rss_rule\":True},\n-    \"matched\":{\"scapy_str\":mac_vlan_pppoe_ipcp_pay_scapy_str[\"matched\"],\n-               \"check_func\":{\"func\":rfc.check_output_log_drop,\n-                             \"param\":{\"expect_port\":0, \"expect_queues\":\"null\"}},\n-               \"expect_results\":{\"expect_pkts\":1}},\n-    \"mismatched\":{\"scapy_str\":mac_vlan_pppoe_ipcp_pay_scapy_str[\"mismatched\"],\n-                  \"check_func\":{\"func\":rfc.check_output_log_drop_mismatched,\n-                                \"param\":{\"expect_port\":0, \"expect_queues\":\"null\"}},\n-                  \"expect_results\":{\"expect_pkts\":4}}\n-}\n-\n-tvs_mac_vlan_pppoe_ipcp_pay = [\n-    tv_mac_vlan_pppoe_ipcp_pay_in_queue_01,\n-    tv_mac_vlan_pppoe_ipcp_pay_queue_region_02,\n-    tv_mac_vlan_pppoe_ipcp_pay_drop_03\n-    ]\n-\n-test_results = OrderedDict()\n-\n-class CVLSwitchFilterTest(TestCase):\n-\n-    def bind_nics_driver(self, ports, driver=\"\"):\n-        # modprobe vfio driver\n-        if driver == \"vfio-pci\":\n-            for port in ports:\n-                netdev = self.dut.ports_info[port]['port']\n-                driver = netdev.get_nic_driver()\n-                if driver != 'vfio-pci':\n-                    netdev.bind_driver(driver='vfio-pci')\n-\n-        elif driver == \"igb_uio\":\n-            # igb_uio should insmod as default, no need to check\n-            for port in ports:\n-                netdev = self.dut.ports_info[port]['port']\n-                driver = netdev.get_nic_driver()\n-                if driver != 'igb_uio':\n-                    netdev.bind_driver(driver='igb_uio')\n-        else:\n-            for port in ports:\n-                netdev = self.dut.ports_info[port]['port']\n-                driver_now = netdev.get_nic_driver()\n-                if driver == \"\":\n-                    driver = netdev.default_driver\n-                if driver != driver_now:\n-                    netdev.bind_driver(driver=driver)\n-\n-    def set_up_all(self):\n-        \"\"\"\n-        Run at the start of each test suite.\n-        \"\"\"\n-        self.verify(self.nic in [\"columbiaville_25g\",\"columbiaville_100g\"], \"%s nic not support CVL switch filter\" % self.nic)\n-        self.dut_ports = self.dut.get_ports(self.nic)\n-        # Verify that enough ports are available\n-        self.verify(len(self.dut_ports) >= 1, \"Insufficient ports\")\n-        localPort = self.tester.get_local_port(self.dut_ports[0])\n-        self.__tx_iface = self.tester.get_interface(localPort)\n-        self.dut.send_expect(\"ifconfig %s up\" % self.__tx_iface, \"# \")\n-        self.pkt = Packet()\n-        #bind pf to kernel\n-        self.bind_nics_driver(self.dut_ports, driver=\"ice\")\n-        #move comms package to package folder\n-        self.suite_config = rfc.get_suite_config(self)\n-        self.os_package_location = self.suite_config[\"os_default_package_file_location\"]\n-        self.comms_package_location = self.suite_config[\"comms_package_file_location\"]\n-        self.package_location = self.suite_config[\"package_file_location\"]\n-        self.dut.send_expect(\"cp %s %s\" % (self.comms_package_location, self.package_location), \"# \")\n-        self.re_load_ice_driver()\n-        #bind pf to vfio-pci\n-        self.dut.send_expect('modprobe vfio-pci', '#')\n-        self.bind_nics_driver(self.dut_ports, driver=\"vfio-pci\")\n-        self.pmd = PmdOutput(self.dut)\n-\n-        self.generate_file_with_fdir_rules()\n-        self.path = self.dut.apps_name['test-pmd']\n-\n-    def set_up(self):\n-        \"\"\"\n-        Run before each test case.\n-        \"\"\"\n-\n-    def re_load_ice_driver(self):\n-        \"\"\"\n-        remove and reload the driver\n-        \"\"\"\n-        ice_driver_file_location = self.suite_config[\"ice_driver_file_location\"]\n-        self.dut.send_expect(\"rmmod ice\", \"# \", 15)\n-        self.dut.send_expect(\"insmod %s\" % ice_driver_file_location, \"# \", 60)\n-        time.sleep(5)\n-\n-    def generate_file_with_fdir_rules(self):\n-        \"\"\"\n-        generate file with fdir rules to make fdir table full, then test switch filter\n-        \"\"\"\n-        pf_pci = [self.dut.ports_info[0]['pci']]\n-        out = self.pmd.start_testpmd('default', ports=pf_pci, eal_param='--log-level=ice,7')\n-        self.dut.send_expect(\"quit\", \"# \")\n-        self.fdir_rule_number = self.pmd.get_max_rule_number(self,out)\n-        src_file = 'dep/testpmd_cmds_rte_flow_fdir_rules'\n-        flows = open(src_file, mode='w')\n-        rule_count = 1\n-        for i in range(0,255):\n-            for j in range(0,255):\n-                if not rule_count > self.fdir_rule_number:\n-                    flows.write('flow create 0 ingress pattern eth / ipv4 src is 192.168.%d.%d dst is 192.1.0.0 tos is 4 / tcp src is 25 dst is 23 / end actions queue index 5 / end \\n' % (i, j))\n-                    rule_count += 1\n-                else:\n-                    break\n-            if rule_count > self.fdir_rule_number:\n-                break\n-        flows.close()\n-        self.dut_file_dir = '/tmp'\n-        self.dut.session.copy_file_to(src_file, self.dut_file_dir)\n-        self.fdir_file = \"/tmp/testpmd_cmds_rte_flow_fdir_rules\"\n-\n-    def create_testpmd_command(self):\n-        \"\"\"\n-        Create testpmd command for non-pipeline mode\n-        \"\"\"\n-        #Prepare testpmd EAL and parameters\n-        all_eal_param = self.dut.create_eal_parameters(cores='1S/4C/1T', ports=[0])\n-        command = self.path + all_eal_param + \" --log-level=\\\"ice,8\\\" -- -i --rxq=16 --txq=16 --cmdline-file=%s\" % self.fdir_file\n-        # command = \"./%s/app/testpmd %s --log-level=\\\"ice,8\\\" -- -i %s\" % (self.dut.target, all_eal_param, \"--rxq=16 --txq=16\")\n-        return command\n-\n-    def create_testpmd_command_pipeline_mode(self):\n-        \"\"\"\n-        Create testpmd command for pipeline mode\n-        \"\"\"\n-        #Prepare testpmd EAL and parameters\n-        all_eal_param = self.dut.create_eal_parameters(cores='1S/4C/1T', ports=[0], port_options={0:\"pipeline-mode-support=1\"})\n-        command = self.path + all_eal_param + \" --log-level=\\\"ice,8\\\" -- -i --rxq=16 --txq=16\"\n-        return command\n-\n-    def launch_testpmd(self, is_non_pipeline):\n-        \"\"\"\n-        launch testpmd with the command\n-        \"\"\"\n-        if is_non_pipeline:\n-            command = self.create_testpmd_command()\n-        else:\n-            command = self.create_testpmd_command_pipeline_mode()\n-        out = self.dut.send_expect(command, \"testpmd> \", 300)\n-        self.dut.send_expect(\"port config all rss all\", \"testpmd> \", 15)\n-        self.dut.send_expect(\"port config 0 rss-hash-key ipv4 1234abcd1234abcd1234abcd1234abcd1234abcd1234abcd1234abcd1234abcd1234abcd1234abcd1234abcd1234abcd1234abcd\", \"testpmd> \", 15)\n-        self.dut.send_expect(\"rx_vxlan_port add 4789 0\", \"testpmd> \", 15)\n-        self.dut.send_expect(\"set fwd rxonly\", \"testpmd> \", 15)\n-        self.dut.send_expect(\"set verbose 1\", \"testpmd> \", 15)\n-\n-    def send_and_check_packets(self, dic, port):\n-        \"\"\"\n-        general packets processing workflow.\n-        \"\"\"\n-        #Specify the port to use\n-        dic[\"check_func\"][\"param\"][\"expect_port\"] = port\n-        self.dut.send_expect(\"start\", \"testpmd> \", 15)\n-        time.sleep(2)\n-        #send packets\n-        self.pkt.update_pkt(dic[\"scapy_str\"])\n-        self.pkt.send_pkt(self.tester, tx_port=self.__tx_iface, count=1, timeout=370)\n-        time.sleep(3)\n-        out = self.dut.send_expect(\"stop\", \"testpmd> \", 15)\n-        result_flag, log_msg = dic[\"check_func\"][\"func\"](out, dic[\"check_func\"][\"param\"], dic[\"expect_results\"])\n-        return result_flag, log_msg\n-\n-    def send_packet_get_queue(self, packets_list):\n-        \"\"\"\n-        general packets processing workflow.\n-        \"\"\"\n-        self.dut.send_expect(\"start\", \"testpmd> \")\n-        # send packets\n-        self.pkt.update_pkt(packets_list)\n-        self.pkt.send_pkt(self.tester, tx_port=self.__tx_iface, count=1, timeout=370)\n-        time.sleep(3)\n-        out = self.dut.send_expect(\"stop\", \"testpmd> \", 15)\n-        p = re.compile(r\"Forward Stats for RX Port= \\d+/Queue=(\\s?\\d+)\")\n-        res = p.findall(out)\n-        default_queue = [int(i) for i in res]\n-        return default_queue\n+    def send_packet_get_queue(self, packets_list):\n+        \"\"\"\n+        general packets processing workflow.\n+        \"\"\"\n+        self.dut.send_expect(\"start\", \"testpmd> \")\n+        # send packets\n+        self.pkt.update_pkt(packets_list)\n+        self.pkt.send_pkt(self.tester, tx_port=self.__tx_iface, count=1, timeout=370)\n+        time.sleep(3)\n+        out = self.dut.send_expect(\"stop\", \"testpmd> \", 15)\n+        p = re.compile(r\"Forward Stats for RX Port= \\d+/Queue=(\\s?\\d+)\")\n+        res = p.findall(out)\n+        default_queue = [int(i) for i in res]\n+        return default_queue\n \n     def get_available_queue_num(self, default_queue, expect_queue, pmd_queue=8):\n         \"\"\"\n@@ -5007,13 +3034,6 @@ class CVLSwitchFilterTest(TestCase):\n     def test_ethertype_filter_pppoed(self):\n         self._rte_flow_validate_pattern(tvs_ethertype_filter_pppoed)\n \n-    def test_ethertype_filter_pppoes(self):\n-        #launch testpmd\n-        self.launch_testpmd(True)\n-        #create a pppoe rss rule to make the pppoe packets have hash value, and queue group action work\n-        self.dut.send_expect(\"flow create 0 ingress pattern eth / pppoes / end actions rss types pppoe end key_len 0 queues end / end\", \"testpmd> \", 15)\n-        self._rte_flow_validate_pattern(tvs_ethertype_filter_pppoes, False)\n-\n     #ether filter pipeline mode\n     def test_ethertype_filter_pppoed_pipeline_mode(self):\n         tvs_ethertype_filter_pppoed_pipeline_mode = copy.deepcopy(tvs_ethertype_filter_pppoed)\n@@ -5023,18 +3043,6 @@ class CVLSwitchFilterTest(TestCase):\n             tv[\"configuration\"][\"is_non_pipeline\"] = False\n         self._rte_flow_validate_pattern(tvs_ethertype_filter_pppoed_pipeline_mode)\n \n-    def test_ethertype_filter_pppoes_pipeline_mode(self):\n-        tvs_ethertype_filter_pppoes_pipeline_mode = copy.deepcopy(tvs_ethertype_filter_pppoes)\n-        for tv in tvs_ethertype_filter_pppoes_pipeline_mode:\n-            create_rule = tv[\"rte_flow_pattern\"].replace(\"flow create 0\", \"flow create 0 priority 0\")\n-            tv[\"rte_flow_pattern\"] = create_rule\n-            tv[\"configuration\"][\"is_non_pipeline\"] = False\n-        #launch testpmd\n-        self.launch_testpmd(False)\n-        #create a pppoe rss rule to make the pppoe packets have hash value, and queue group action work\n-        self.dut.send_expect(\"flow create 0 ingress pattern eth / pppoes / end actions rss types pppoe end key_len 0 queues end / end\", \"testpmd> \", 15)\n-        self._rte_flow_validate_pattern(tvs_ethertype_filter_pppoes_pipeline_mode, False)\n-\n     #non-tunnel pipeline mode\n     def test_mac_ipv4_frag_pipeline_mode(self):\n         self._rte_flow_validate_pattern(tvs_mac_ipv4_frag_pipeline_mode)\n@@ -5082,499 +3090,7 @@ class CVLSwitchFilterTest(TestCase):\n     def test_mac_ipv6_tcp_non_pipeline_mode(self):\n         self._rte_flow_validate_pattern(tvs_mac_ipv6_tcp_non_pipeline_mode)\n \n-    # 20.08\n-    def test_mac_vlan_pppoe_ipv4_pay_non_pipeline_mode(self):\n-        self._rte_flow_validate_pattern(tvs_mac_vlan_pppoe_ipv4_pay_session_id_proto_id)\n-\n-    def test_mac_vlan_pppoe_ipv6_pay_non_pipeline_mode(self):\n-        self._rte_flow_validate_pattern(tvs_mac_vlan_pppoe_ipv6_pay_session_id_proto_id)\n-\n-    def test_mac_pppoe_ipv4_pay_session_id_proto_id_non_pipeline_mode(self):\n-        self._rte_flow_validate_pattern(tvs_mac_pppoe_ipv4_pay_session_id_proto_id)\n-\n-    def test_mac_pppoe_ipv6_pay_session_id_proto_id_non_pipeline_mode(self):\n-        self._rte_flow_validate_pattern(tvs_mac_pppoe_ipv6_pay_session_id_proto_id)\n-\n-    def test_mac_pppoe_ipv4_pay_ip_address_non_pipeline_mode(self):\n-        self._rte_flow_validate_pattern(tvs_mac_pppoe_ipv4_pay_ip_address)\n-\n-    def test_mac_pppoe_ipv4_udp_pay_non_pipeline_mode(self):\n-        self._rte_flow_validate_pattern(tvs_mac_pppoe_ipv4_udp_pay)\n-\n-    def test_mac_pppoe_ipv4_udp_pay_non_src_dst_port_non_pipeline_mode(self):\n-        self._rte_flow_validate_pattern(tvs_mac_pppoe_ipv4_udp_pay_non_src_dst_port)\n-\n-    def test_mac_pppoe_ipv4_tcp_pay_non_pipeline_mode(self):\n-        self._rte_flow_validate_pattern(tvs_mac_pppoe_ipv4_tcp_pay)\n-\n-    def test_mac_pppoe_ipv4_tcp_pay_non_src_dst_port_non_pipeline_mode(self):\n-        self._rte_flow_validate_pattern(tvs_mac_pppoe_ipv4_tcp_pay_non_src_dst_port)\n-\n-    def test_mac_pppoe_ipv6_pay_ip_address_non_pipeline_mode(self):\n-        self._rte_flow_validate_pattern(tvs_mac_pppoe_ipv6_pay_ip_address)\n-\n-    def test_mac_pppoe_ipv6_udp_pay_non_pipeline_mode(self):\n-        self._rte_flow_validate_pattern(tvs_mac_pppoe_ipv6_udp_pay)\n-\n-    def test_mac_pppoe_ipv6_udp_pay_non_src_dst_port_non_pipeline_mode(self):\n-        self._rte_flow_validate_pattern(tvs_mac_pppoe_ipv6_udp_pay_non_src_dst_port)\n-\n-    def test_mac_pppoe_ipv6_tcp_pay_non_pipeline_mode(self):\n-        self._rte_flow_validate_pattern(tvs_mac_pppoe_ipv6_tcp_pay)\n-\n-    def test_mac_pppoe_ipv6_tcp_pay_non_src_dst_port_non_pipeline_mode(self):\n-        self._rte_flow_validate_pattern(tvs_mac_pppoe_ipv6_tcp_pay_non_src_dst_port)\n-\n-    def test_mac_vlan_pppoe_ipv4_pay_ip_address_non_pipeline_mode(self):\n-        self._rte_flow_validate_pattern(tvs_mac_vlan_pppoe_ipv4_pay_ip_address)\n-\n-    def test_mac_vlan_pppoe_ipv4_udp_pay_non_pipeline_mode(self):\n-        self._rte_flow_validate_pattern(tvs_mac_vlan_pppoe_ipv4_udp_pay)\n-\n-    def test_mac_vlan_pppoe_ipv4_udp_pay_non_src_dst_port_non_pipeline_mode(self):\n-        self._rte_flow_validate_pattern(tvs_mac_vlan_pppoe_ipv4_udp_pay_non_src_dst_port)\n-\n-    def test_mac_vlan_pppoe_ipv4_tcp_pay_non_pipeline_mode(self):\n-        self._rte_flow_validate_pattern(tvs_mac_vlan_pppoe_ipv4_tcp_pay)\n-\n-    def test_mac_vlan_pppoe_ipv4_tcp_pay_non_src_dst_port_non_pipeline_mode(self):\n-        self._rte_flow_validate_pattern(tvs_mac_vlan_pppoe_ipv4_tcp_pay_non_src_dst_port)\n-\n-    def test_mac_vlan_pppoe_ipv6_pay_ip_address_non_pipeline_mode(self):\n-        self._rte_flow_validate_pattern(tvs_mac_vlan_pppoe_ipv6_pay_ip_address)\n-\n-    def test_mac_vlan_pppoe_ipv6_udp_pay_non_pipeline_mode(self):\n-        self._rte_flow_validate_pattern(tvs_mac_vlan_pppoe_ipv6_udp_pay)\n-\n-    def test_mac_vlan_pppoe_ipv6_udp_pay_non_src_dst_port_non_pipeline_mode(self):\n-        self._rte_flow_validate_pattern(tvs_mac_vlan_pppoe_ipv6_udp_pay_non_src_dst_port)\n-\n-    def test_mac_vlan_pppoe_ipv6_tcp_pay_non_pipeline_mode(self):\n-        self._rte_flow_validate_pattern(tvs_mac_vlan_pppoe_ipv6_tcp_pay)\n-\n-    def test_mac_vlan_pppoe_ipv6_tcp_pay_non_src_dst_port_non_pipeline_mode(self):\n-        self._rte_flow_validate_pattern(tvs_mac_vlan_pppoe_ipv6_tcp_pay_non_src_dst_port)\n-\n-    # pppoe control\n-    def test_mac_pppoe_lcp_pay_non_pipeline_mode(self):\n-        #launch testpmd\n-        self.launch_testpmd(True)\n-        #create a pppoe rss rule to make the pppoe control have hash value, and queue group action work\n-        self.dut.send_expect(\"flow create 0 ingress pattern eth / pppoes / end actions rss types pppoe end key_len 0 queues end / end\", \"testpmd> \", 15)\n-        self._rte_flow_validate_pattern(tvs_mac_pppoe_lcp_pay, False)\n-\n-    def test_mac_pppoe_ipcp_pay_non_pipeline_mode(self):\n-        #launch testpmd\n-        self.launch_testpmd(True)\n-        #create a pppoe rss rule to make the pppoe control have hash value, and queue group action work\n-        self.dut.send_expect(\"flow create 0 ingress pattern eth / pppoes / end actions rss types pppoe end key_len 0 queues end / end\", \"testpmd> \", 15)\n-        self._rte_flow_validate_pattern(tvs_mac_pppoe_ipcp_pay, False)\n-\n-    def test_mac_vlan_pppoe_lcp_pay_non_pipeline_mode(self):\n-        #launch testpmd\n-        self.launch_testpmd(True)\n-        #create a pppoe rss rule to make the pppoe control have hash value, and queue group action work\n-        self.dut.send_expect(\"flow create 0 ingress pattern eth / pppoes / end actions rss types pppoe end key_len 0 queues end / end\", \"testpmd> \", 15)\n-        self._rte_flow_validate_pattern(tvs_mac_vlan_pppoe_lcp_pay, False)\n-\n-    def test_mac_vlan_pppoe_ipcp_pay_non_pipeline_mode(self):\n-        #launch testpmd\n-        self.launch_testpmd(True)\n-        #create a pppoe rss rule to make the pppoe control have hash value, and queue group action work\n-        self.dut.send_expect(\"flow create 0 ingress pattern eth / pppoes / end actions rss types pppoe end key_len 0 queues end / end\", \"testpmd> \", 15)\n-        self._rte_flow_validate_pattern(tvs_mac_vlan_pppoe_ipcp_pay, False)\n-\n-    # 20.08 pipeline mode\n-    def test_mac_vlan_pppoe_ipv4_pay_pipeline_mode(self):\n-        tvs_mac_vlan_pppoe_ipv4_pay_session_id_proto_id_pipeline_mode = copy.deepcopy(tvs_mac_vlan_pppoe_ipv4_pay_session_id_proto_id)\n-        for tv in tvs_mac_vlan_pppoe_ipv4_pay_session_id_proto_id_pipeline_mode:\n-            create_rule = tv[\"rte_flow_pattern\"].replace(\"flow create 0\", \"flow create 0 priority 0\")\n-            tv[\"rte_flow_pattern\"] = create_rule\n-            tv[\"configuration\"][\"is_non_pipeline\"] = False\n-        self._rte_flow_validate_pattern(tvs_mac_vlan_pppoe_ipv4_pay_session_id_proto_id_pipeline_mode)\n-\n-    def test_mac_vlan_pppoe_ipv6_pay_pipeline_mode(self):\n-        tvs_mac_vlan_pppoe_ipv6_pay_session_id_proto_id_pipeline_mode = copy.deepcopy(tvs_mac_vlan_pppoe_ipv6_pay_session_id_proto_id)\n-        for tv in tvs_mac_vlan_pppoe_ipv6_pay_session_id_proto_id_pipeline_mode:\n-            create_rule = tv[\"rte_flow_pattern\"].replace(\"flow create 0\", \"flow create 0 priority 0\")\n-            tv[\"rte_flow_pattern\"] = create_rule\n-            tv[\"configuration\"][\"is_non_pipeline\"] = False\n-        self._rte_flow_validate_pattern(tvs_mac_vlan_pppoe_ipv6_pay_session_id_proto_id_pipeline_mode)\n-\n-    def test_mac_pppoe_ipv4_pay_session_id_proto_id_pipeline_mode(self):\n-        tvs_mac_pppoe_ipv4_pay_session_id_proto_id_pipeline_mode = copy.deepcopy(tvs_mac_pppoe_ipv4_pay_session_id_proto_id)\n-        for tv in tvs_mac_pppoe_ipv4_pay_session_id_proto_id_pipeline_mode:\n-            create_rule = tv[\"rte_flow_pattern\"].replace(\"flow create 0\", \"flow create 0 priority 0\")\n-            tv[\"rte_flow_pattern\"] = create_rule\n-            tv[\"configuration\"][\"is_non_pipeline\"] = False\n-        self._rte_flow_validate_pattern(tvs_mac_pppoe_ipv4_pay_session_id_proto_id_pipeline_mode)\n-\n-    def test_mac_pppoe_ipv6_pay_session_id_proto_id_pipeline_mode(self):\n-        tvs_mac_pppoe_ipv6_pay_session_id_proto_id_pipeline_mode = copy.deepcopy(tvs_mac_pppoe_ipv6_pay_session_id_proto_id)\n-        for tv in tvs_mac_pppoe_ipv6_pay_session_id_proto_id_pipeline_mode:\n-            create_rule = tv[\"rte_flow_pattern\"].replace(\"flow create 0\", \"flow create 0 priority 0\")\n-            tv[\"rte_flow_pattern\"] = create_rule\n-            tv[\"configuration\"][\"is_non_pipeline\"] = False\n-        self._rte_flow_validate_pattern(tvs_mac_pppoe_ipv6_pay_session_id_proto_id_pipeline_mode)\n-\n-    def test_mac_pppoe_ipv4_pay_ip_address_pipeline_mode(self):\n-        tvs_mac_pppoe_ipv4_pay_ip_address_pipeline_mode = copy.deepcopy(tvs_mac_pppoe_ipv4_pay_ip_address)\n-        for tv in tvs_mac_pppoe_ipv4_pay_ip_address_pipeline_mode:\n-            create_rule = tv[\"rte_flow_pattern\"].replace(\"flow create 0\", \"flow create 0 priority 0\")\n-            tv[\"rte_flow_pattern\"] = create_rule\n-            tv[\"configuration\"][\"is_non_pipeline\"] = False\n-        self._rte_flow_validate_pattern(tvs_mac_pppoe_ipv4_pay_ip_address_pipeline_mode)\n-\n-    def test_mac_pppoe_ipv4_udp_pay_pipeline_mode(self):\n-        tvs_mac_pppoe_ipv4_udp_pay_pipeline_mode = copy.deepcopy(tvs_mac_pppoe_ipv4_udp_pay)\n-        for tv in tvs_mac_pppoe_ipv4_udp_pay_pipeline_mode:\n-            create_rule = tv[\"rte_flow_pattern\"].replace(\"flow create 0\", \"flow create 0 priority 0\")\n-            tv[\"rte_flow_pattern\"] = create_rule\n-            tv[\"configuration\"][\"is_non_pipeline\"] = False\n-        self._rte_flow_validate_pattern(tvs_mac_pppoe_ipv4_udp_pay_pipeline_mode)\n-\n-    def test_mac_pppoe_ipv4_udp_pay_non_src_dst_port_pipeline_mode(self):\n-        tvs_mac_pppoe_ipv4_udp_pay_non_src_dst_port_pipeline_mode = copy.deepcopy(tvs_mac_pppoe_ipv4_udp_pay_non_src_dst_port)\n-        for tv in tvs_mac_pppoe_ipv4_udp_pay_non_src_dst_port_pipeline_mode:\n-            create_rule = tv[\"rte_flow_pattern\"].replace(\"flow create 0\", \"flow create 0 priority 0\")\n-            tv[\"rte_flow_pattern\"] = create_rule\n-            tv[\"configuration\"][\"is_non_pipeline\"] = False\n-        self._rte_flow_validate_pattern(tvs_mac_pppoe_ipv4_udp_pay_non_src_dst_port_pipeline_mode)\n-\n-    def test_mac_pppoe_ipv4_tcp_pay_pipeline_mode(self):\n-        tvs_mac_pppoe_ipv4_tcp_pay_pipeline_mode = copy.deepcopy(tvs_mac_pppoe_ipv4_tcp_pay)\n-        for tv in tvs_mac_pppoe_ipv4_tcp_pay_pipeline_mode:\n-            create_rule = tv[\"rte_flow_pattern\"].replace(\"flow create 0\", \"flow create 0 priority 0\")\n-            tv[\"rte_flow_pattern\"] = create_rule\n-            tv[\"configuration\"][\"is_non_pipeline\"] = False\n-        self._rte_flow_validate_pattern(tvs_mac_pppoe_ipv4_tcp_pay_pipeline_mode)\n-\n-    def test_mac_pppoe_ipv4_tcp_pay_non_src_dst_port_pipeline_mode(self):\n-        tvs_mac_pppoe_ipv4_tcp_pay_non_src_dst_port_pipeline_mode = copy.deepcopy(tvs_mac_pppoe_ipv4_tcp_pay_non_src_dst_port)\n-        for tv in tvs_mac_pppoe_ipv4_tcp_pay_non_src_dst_port_pipeline_mode:\n-            create_rule = tv[\"rte_flow_pattern\"].replace(\"flow create 0\", \"flow create 0 priority 0\")\n-            tv[\"rte_flow_pattern\"] = create_rule\n-            tv[\"configuration\"][\"is_non_pipeline\"] = False\n-        self._rte_flow_validate_pattern(tvs_mac_pppoe_ipv4_tcp_pay_non_src_dst_port_pipeline_mode)\n-\n-    def test_mac_pppoe_ipv6_pay_ip_address_pipeline_mode(self):\n-        tvs_mac_pppoe_ipv6_pay_ip_address_pipeline_mode = copy.deepcopy(tvs_mac_pppoe_ipv6_pay_ip_address)\n-        for tv in tvs_mac_pppoe_ipv6_pay_ip_address_pipeline_mode:\n-            create_rule = tv[\"rte_flow_pattern\"].replace(\"flow create 0\", \"flow create 0 priority 0\")\n-            tv[\"rte_flow_pattern\"] = create_rule\n-            tv[\"configuration\"][\"is_non_pipeline\"] = False\n-        self._rte_flow_validate_pattern(tvs_mac_pppoe_ipv6_pay_ip_address_pipeline_mode)\n-\n-    def test_mac_pppoe_ipv6_udp_pay_pipeline_mode(self):\n-        tvs_mac_pppoe_ipv6_udp_pay_pipeline_mode = copy.deepcopy(tvs_mac_pppoe_ipv6_udp_pay)\n-        for tv in tvs_mac_pppoe_ipv6_udp_pay_pipeline_mode:\n-            create_rule = tv[\"rte_flow_pattern\"].replace(\"flow create 0\", \"flow create 0 priority 0\")\n-            tv[\"rte_flow_pattern\"] = create_rule\n-            tv[\"configuration\"][\"is_non_pipeline\"] = False\n-        self._rte_flow_validate_pattern(tvs_mac_pppoe_ipv6_udp_pay_pipeline_mode)\n-\n-    def test_mac_pppoe_ipv6_udp_pay_non_src_dst_port_pipeline_mode(self):\n-        tvs_mac_pppoe_ipv6_udp_pay_non_src_dst_port_pipeline_mode = copy.deepcopy(tvs_mac_pppoe_ipv6_udp_pay_non_src_dst_port)\n-        for tv in tvs_mac_pppoe_ipv6_udp_pay_non_src_dst_port_pipeline_mode:\n-            create_rule = tv[\"rte_flow_pattern\"].replace(\"flow create 0\", \"flow create 0 priority 0\")\n-            tv[\"rte_flow_pattern\"] = create_rule\n-            tv[\"configuration\"][\"is_non_pipeline\"] = False\n-        self._rte_flow_validate_pattern(tvs_mac_pppoe_ipv6_udp_pay_non_src_dst_port_pipeline_mode)\n-\n-    def test_mac_pppoe_ipv6_tcp_pay_pipeline_mode(self):\n-        tvs_mac_pppoe_ipv6_tcp_pay_pipeline_mode = copy.deepcopy(tvs_mac_pppoe_ipv6_tcp_pay)\n-        for tv in tvs_mac_pppoe_ipv6_tcp_pay_pipeline_mode:\n-            create_rule = tv[\"rte_flow_pattern\"].replace(\"flow create 0\", \"flow create 0 priority 0\")\n-            tv[\"rte_flow_pattern\"] = create_rule\n-            tv[\"configuration\"][\"is_non_pipeline\"] = False\n-        self._rte_flow_validate_pattern(tvs_mac_pppoe_ipv6_tcp_pay_pipeline_mode)\n-\n-    def test_mac_pppoe_ipv6_tcp_pay_non_src_dst_port_pipeline_mode(self):\n-        tvs_mac_pppoe_ipv6_tcp_pay_non_src_dst_port_pipeline_mode = copy.deepcopy(tvs_mac_pppoe_ipv6_tcp_pay_non_src_dst_port)\n-        for tv in tvs_mac_pppoe_ipv6_tcp_pay_non_src_dst_port_pipeline_mode:\n-            create_rule = tv[\"rte_flow_pattern\"].replace(\"flow create 0\", \"flow create 0 priority 0\")\n-            tv[\"rte_flow_pattern\"] = create_rule\n-            tv[\"configuration\"][\"is_non_pipeline\"] = False\n-        self._rte_flow_validate_pattern(tvs_mac_pppoe_ipv6_tcp_pay_non_src_dst_port_pipeline_mode)\n-\n-    def test_mac_vlan_pppoe_ipv4_pay_ip_address_pipeline_mode(self):\n-        tvs_mac_vlan_pppoe_ipv4_pay_ip_address_pipeline_mode = copy.deepcopy(tvs_mac_vlan_pppoe_ipv4_pay_ip_address)\n-        for tv in tvs_mac_vlan_pppoe_ipv4_pay_ip_address_pipeline_mode:\n-            create_rule = tv[\"rte_flow_pattern\"].replace(\"flow create 0\", \"flow create 0 priority 0\")\n-            tv[\"rte_flow_pattern\"] = create_rule\n-            tv[\"configuration\"][\"is_non_pipeline\"] = False\n-        self._rte_flow_validate_pattern(tvs_mac_vlan_pppoe_ipv4_pay_ip_address_pipeline_mode)\n-\n-    def test_mac_vlan_pppoe_ipv4_udp_pay_pipeline_mode(self):\n-        tvs_mac_vlan_pppoe_ipv4_udp_pay_pipeline_mode = copy.deepcopy(tvs_mac_vlan_pppoe_ipv4_udp_pay)\n-        for tv in tvs_mac_vlan_pppoe_ipv4_udp_pay_pipeline_mode:\n-            create_rule = tv[\"rte_flow_pattern\"].replace(\"flow create 0\", \"flow create 0 priority 0\")\n-            tv[\"rte_flow_pattern\"] = create_rule\n-            tv[\"configuration\"][\"is_non_pipeline\"] = False\n-        self._rte_flow_validate_pattern(tvs_mac_vlan_pppoe_ipv4_udp_pay_pipeline_mode)\n-\n-    def test_mac_vlan_pppoe_ipv4_udp_pay_non_src_dst_port_pipeline_mode(self):\n-        tvs_mac_vlan_pppoe_ipv4_udp_pay_non_src_dst_port_pipeline_mode = copy.deepcopy(tvs_mac_vlan_pppoe_ipv4_udp_pay_non_src_dst_port)\n-        for tv in tvs_mac_vlan_pppoe_ipv4_udp_pay_non_src_dst_port_pipeline_mode:\n-            create_rule = tv[\"rte_flow_pattern\"].replace(\"flow create 0\", \"flow create 0 priority 0\")\n-            tv[\"rte_flow_pattern\"] = create_rule\n-            tv[\"configuration\"][\"is_non_pipeline\"] = False\n-        self._rte_flow_validate_pattern(tvs_mac_vlan_pppoe_ipv4_udp_pay_non_src_dst_port_pipeline_mode)\n-\n-    def test_mac_vlan_pppoe_ipv4_tcp_pay_pipeline_mode(self):\n-        tvs_mac_vlan_pppoe_ipv4_tcp_pay_pipeline_mode = copy.deepcopy(tvs_mac_vlan_pppoe_ipv4_tcp_pay)\n-        for tv in tvs_mac_vlan_pppoe_ipv4_tcp_pay_pipeline_mode:\n-            create_rule = tv[\"rte_flow_pattern\"].replace(\"flow create 0\", \"flow create 0 priority 0\")\n-            tv[\"rte_flow_pattern\"] = create_rule\n-            tv[\"configuration\"][\"is_non_pipeline\"] = False\n-        self._rte_flow_validate_pattern(tvs_mac_vlan_pppoe_ipv4_tcp_pay_pipeline_mode)\n-\n-    def test_mac_vlan_pppoe_ipv4_tcp_pay_non_src_dst_port_pipeline_mode(self):\n-        tvs_mac_vlan_pppoe_ipv4_tcp_pay_non_src_dst_port_pipeline_mode = copy.deepcopy(tvs_mac_vlan_pppoe_ipv4_tcp_pay_non_src_dst_port)\n-        for tv in tvs_mac_vlan_pppoe_ipv4_tcp_pay_non_src_dst_port_pipeline_mode:\n-            create_rule = tv[\"rte_flow_pattern\"].replace(\"flow create 0\", \"flow create 0 priority 0\")\n-            tv[\"rte_flow_pattern\"] = create_rule\n-            tv[\"configuration\"][\"is_non_pipeline\"] = False\n-        self._rte_flow_validate_pattern(tvs_mac_vlan_pppoe_ipv4_tcp_pay_non_src_dst_port_pipeline_mode)\n-\n-    def test_mac_vlan_pppoe_ipv6_pay_ip_address_pipeline_mode(self):\n-        tvs_mac_vlan_pppoe_ipv6_pay_ip_address_pipeline_mode = copy.deepcopy(tvs_mac_vlan_pppoe_ipv6_pay_ip_address)\n-        for tv in tvs_mac_vlan_pppoe_ipv6_pay_ip_address_pipeline_mode:\n-            create_rule = tv[\"rte_flow_pattern\"].replace(\"flow create 0\", \"flow create 0 priority 0\")\n-            tv[\"rte_flow_pattern\"] = create_rule\n-            tv[\"configuration\"][\"is_non_pipeline\"] = False\n-        self._rte_flow_validate_pattern(tvs_mac_vlan_pppoe_ipv6_pay_ip_address_pipeline_mode)\n-\n-    def test_mac_vlan_pppoe_ipv6_udp_pay_pipeline_mode(self):\n-        tvs_mac_vlan_pppoe_ipv6_udp_pay_pipeline_mode = copy.deepcopy(tvs_mac_vlan_pppoe_ipv6_udp_pay)\n-        for tv in tvs_mac_vlan_pppoe_ipv6_udp_pay_pipeline_mode:\n-            create_rule = tv[\"rte_flow_pattern\"].replace(\"flow create 0\", \"flow create 0 priority 0\")\n-            tv[\"rte_flow_pattern\"] = create_rule\n-            tv[\"configuration\"][\"is_non_pipeline\"] = False\n-        self._rte_flow_validate_pattern(tvs_mac_vlan_pppoe_ipv6_udp_pay_pipeline_mode)\n-\n-    def test_mac_vlan_pppoe_ipv6_udp_pay_non_src_dst_port_pipeline_mode(self):\n-        tvs_mac_vlan_pppoe_ipv6_udp_pay_non_src_dst_port_pipeline_mode = copy.deepcopy(tvs_mac_vlan_pppoe_ipv6_udp_pay_non_src_dst_port)\n-        for tv in tvs_mac_vlan_pppoe_ipv6_udp_pay_non_src_dst_port_pipeline_mode:\n-            create_rule = tv[\"rte_flow_pattern\"].replace(\"flow create 0\", \"flow create 0 priority 0\")\n-            tv[\"rte_flow_pattern\"] = create_rule\n-            tv[\"configuration\"][\"is_non_pipeline\"] = False\n-        self._rte_flow_validate_pattern(tvs_mac_vlan_pppoe_ipv6_udp_pay_non_src_dst_port_pipeline_mode)\n-\n-    def test_mac_vlan_pppoe_ipv6_tcp_pay_pipeline_mode(self):\n-        tvs_mac_vlan_pppoe_ipv6_tcp_pay_pipeline_mode = copy.deepcopy(tvs_mac_vlan_pppoe_ipv6_tcp_pay)\n-        for tv in tvs_mac_vlan_pppoe_ipv6_tcp_pay_pipeline_mode:\n-            create_rule = tv[\"rte_flow_pattern\"].replace(\"flow create 0\", \"flow create 0 priority 0\")\n-            tv[\"rte_flow_pattern\"] = create_rule\n-            tv[\"configuration\"][\"is_non_pipeline\"] = False\n-        self._rte_flow_validate_pattern(tvs_mac_vlan_pppoe_ipv6_tcp_pay_pipeline_mode)\n-\n-    def test_mac_vlan_pppoe_ipv6_tcp_pay_non_src_dst_port_pipeline_mode(self):\n-        tvs_mac_vlan_pppoe_ipv6_tcp_pay_non_src_dst_port_pipeline_mode = copy.deepcopy(tvs_mac_vlan_pppoe_ipv6_tcp_pay_non_src_dst_port)\n-        for tv in tvs_mac_vlan_pppoe_ipv6_tcp_pay_non_src_dst_port_pipeline_mode:\n-            create_rule = tv[\"rte_flow_pattern\"].replace(\"flow create 0\", \"flow create 0 priority 0\")\n-            tv[\"rte_flow_pattern\"] = create_rule\n-            tv[\"configuration\"][\"is_non_pipeline\"] = False\n-        self._rte_flow_validate_pattern(tvs_mac_vlan_pppoe_ipv6_tcp_pay_non_src_dst_port_pipeline_mode)\n-\n-    # 20.08 pppoe control\n-    def test_mac_pppoe_lcp_pay_pipeline_mode(self):\n-        tvs_mac_pppoe_lcp_pay_pipeline_mode = copy.deepcopy(tvs_mac_pppoe_lcp_pay)\n-        for tv in tvs_mac_pppoe_lcp_pay_pipeline_mode:\n-            create_rule = tv[\"rte_flow_pattern\"].replace(\"flow create 0\", \"flow create 0 priority 0\")\n-            tv[\"rte_flow_pattern\"] = create_rule\n-            tv[\"configuration\"][\"is_non_pipeline\"] = False\n-        #launch testpmd\n-        self.launch_testpmd(False)\n-        #create a pppoe rss rule to make the pppoe control have hash value, and queue group action work\n-        self.dut.send_expect(\"flow create 0 ingress pattern eth / pppoes / end actions rss types pppoe end key_len 0 queues end / end\", \"testpmd> \", 15)\n-        self._rte_flow_validate_pattern(tvs_mac_pppoe_lcp_pay_pipeline_mode, False)\n-\n-    def test_mac_pppoe_ipcp_pay_pipeline_mode(self):\n-        tvs_mac_pppoe_ipcp_pay_pipeline_mode = copy.deepcopy(tvs_mac_pppoe_ipcp_pay)\n-        for tv in tvs_mac_pppoe_ipcp_pay_pipeline_mode:\n-            create_rule = tv[\"rte_flow_pattern\"].replace(\"flow create 0\", \"flow create 0 priority 0\")\n-            tv[\"rte_flow_pattern\"] = create_rule\n-            tv[\"configuration\"][\"is_non_pipeline\"] = False\n-        #launch testpmd\n-        self.launch_testpmd(False)\n-        #create a pppoe rss rule to make the pppoe control have hash value, and queue group action work\n-        self.dut.send_expect(\"flow create 0 ingress pattern eth / pppoes / end actions rss types pppoe end key_len 0 queues end / end\", \"testpmd> \", 15)\n-        self._rte_flow_validate_pattern(tvs_mac_pppoe_ipcp_pay_pipeline_mode, False)\n-\n-    def test_mac_vlan_pppoe_lcp_pay_pipeline_mode(self):\n-        tvs_mac_vlan_pppoe_lcp_pay_pipeline_mode = copy.deepcopy(tvs_mac_vlan_pppoe_lcp_pay)\n-        for tv in tvs_mac_vlan_pppoe_lcp_pay_pipeline_mode:\n-            create_rule = tv[\"rte_flow_pattern\"].replace(\"flow create 0\", \"flow create 0 priority 0\")\n-            tv[\"rte_flow_pattern\"] = create_rule\n-            tv[\"configuration\"][\"is_non_pipeline\"] = False\n-        #launch testpmd\n-        self.launch_testpmd(False)\n-        #create a pppoe rss rule to make the pppoe control have hash value, and queue group action work\n-        self.dut.send_expect(\"flow create 0 ingress pattern eth / pppoes / end actions rss types pppoe end key_len 0 queues end / end\", \"testpmd> \", 15)\n-        self._rte_flow_validate_pattern(tvs_mac_vlan_pppoe_lcp_pay_pipeline_mode, False)\n-\n-    def test_mac_vlan_pppoe_ipcp_pay_pipeline_mode(self):\n-        tvs_mac_vlan_pppoe_ipcp_pay_pipeline_mode = copy.deepcopy(tvs_mac_vlan_pppoe_ipcp_pay)\n-        for tv in tvs_mac_vlan_pppoe_ipcp_pay_pipeline_mode:\n-            create_rule = tv[\"rte_flow_pattern\"].replace(\"flow create 0\", \"flow create 0 priority 0\")\n-            tv[\"rte_flow_pattern\"] = create_rule\n-            tv[\"configuration\"][\"is_non_pipeline\"] = False\n-        #launch testpmd\n-        self.launch_testpmd(False)\n-        #create a pppoe rss rule to make the pppoe control have hash value, and queue group action work\n-        self.dut.send_expect(\"flow create 0 ingress pattern eth / pppoes / end actions rss types pppoe end key_len 0 queues end / end\", \"testpmd> \", 15)\n-        self._rte_flow_validate_pattern(tvs_mac_vlan_pppoe_ipcp_pay_pipeline_mode, False)\n-\n-    def test_negative_case(self):\n-        \"\"\"\n-        negative cases\n-        \"\"\"\n-        self.launch_testpmd(False)\n-        rules = {\n-            \"invalid parameters of queue index\" : \"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-            \"invalid parameters of rss queues\" : [\n-                \"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-                \"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-                \"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-                \"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-                \"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-                \"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-            \"unsupported input set\" : \"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-            \"multiple actions\" : \"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-            \"void action\" : \"flow create 0 priority 0 ingress pattern eth / ipv4 / udp src is 25 dst is 23 / end actions end\",\n-            \"unsupported action\": \"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-            \"void input set value\" : \"flow create 0 priority 0 ingress pattern eth / ipv4 / end actions queue index 1 / end\",\n-            \"invalid port\" : \"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-        # all the rules failed to validate and create\n-\n-        # invalid parameters of queue index\n-        rule_list = self.validate_switch_filter_rule(rules[\"invalid parameters of queue index\"], check_stats=False)\n-        self.verify(not any(rule_list), \"all rules should validate failed, result %s\" % rule_list)\n-        result = self.check_switch_filter_rule_list(self.dut_ports[0], is_non_pipeline=False, is_need_rss_rule=False, check_stats=False)\n-        self.verify(result == [], \"the rule list is not the same. expect %s, result %s\" % ([], result))\n-        rule_list = self.create_switch_filter_rule(rules[\"invalid parameters of queue index\"], check_stats=False)\n-        self.verify(not any(rule_list), \"all rules should create failed, result %s\" % rule_list)\n-        result = self.check_switch_filter_rule_list(self.dut_ports[0], is_non_pipeline=False, is_need_rss_rule=False, check_stats=False)\n-        self.verify(result == [], \"the rule list is not the same. expect %s, result %s\" % ([], result))\n-\n-        # invalid parameters of rss queues\n-        rule_list = self.validate_switch_filter_rule(rules[\"invalid parameters of rss queues\"], check_stats=False)\n-        self.verify(not any(rule_list), \"all rules should validate failed, result %s\" % rule_list)\n-        result = self.check_switch_filter_rule_list(self.dut_ports[0], is_non_pipeline=False, is_need_rss_rule=False, check_stats=False)\n-        self.verify(result == [], \"the rule list is not the same. expect %s, result %s\" % ([], result))\n-        rule_list = self.create_switch_filter_rule(rules[\"invalid parameters of rss queues\"], check_stats=False)\n-        self.verify(not any(rule_list), \"all rules should create failed, result %s\" % rule_list)\n-        result = self.check_switch_filter_rule_list(self.dut_ports[0], is_non_pipeline=False, is_need_rss_rule=False, check_stats=False)\n-        self.verify(result == [], \"the rule list is not the same. expect %s, result %s\" % ([], result))\n-\n-        # unsupported input set\n-        rule_list = self.validate_switch_filter_rule(rules[\"unsupported input set\"], check_stats=False)\n-        self.verify(not any(rule_list), \"all rules should validate failed, result %s\" % rule_list)\n-        result = self.check_switch_filter_rule_list(self.dut_ports[0], is_non_pipeline=False, is_need_rss_rule=False, check_stats=False)\n-        self.verify(result == [], \"the rule list is not the same. expect %s, result %s\" % ([], result))\n-        rule_list = self.create_switch_filter_rule(rules[\"unsupported input set\"], check_stats=False)\n-        self.verify(not any(rule_list), \"all rules should create failed, result %s\" % rule_list)\n-        result = self.check_switch_filter_rule_list(self.dut_ports[0], is_non_pipeline=False, is_need_rss_rule=False, check_stats=False)\n-        self.verify(result == [], \"the rule list is not the same. expect %s, result %s\" % ([], result))\n-\n-        # duplicated rules\n-        rule = \"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-        rule_list = self.create_switch_filter_rule(rule, check_stats=False)\n-        self.verify(all(rule_list), \"some rules create failed, result %s\" % rule_list)\n-        result = self.check_switch_filter_rule_list(self.dut_ports[0], is_non_pipeline=False, is_need_rss_rule=False, check_stats=False)\n-        self.verify(result == rule_list, \"the rule list is not the same. expect %s, result %s\" % (rule_list, result))\n-        rule_list_dupli = self.create_switch_filter_rule(rule, check_stats=False)\n-        self.verify(not any(rule_list_dupli), \"all rules should create failed, result %s\" % rule_list_dupli)\n-        result_dupli = self.check_switch_filter_rule_list(self.dut_ports[0], is_non_pipeline=False, is_need_rss_rule=False, check_stats=False)\n-        self.verify(result_dupli == rule_list, \"the rule list is not the same. expect %s, result %s\" % (rule_list, result_dupli))\n-        self.dut.send_expect(\"flow destroy 0 rule %s\" % rule_list[0], \"testpmd> \", 15)\n-\n-        # conflicted rules\n-        rule = \"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-        rule_list = self.create_switch_filter_rule(rule, check_stats=False)\n-        self.verify(all(rule_list), \"some rules create failed, result %s, rule %s\" % (rule_list, rule))\n-        result = self.check_switch_filter_rule_list(self.dut_ports[0], is_non_pipeline=False, is_need_rss_rule=False, check_stats=False)\n-        self.verify(result == rule_list, \"the rule list is not the same. expect %s, result %s\" % (rule_list, result))\n-        rule1 = \"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-        rule_list1 = self.create_switch_filter_rule(rule1, check_stats=False)\n-        self.verify(not any(rule_list1), \"all rules should create failed, result %s\" % rule_list1)\n-        rule2 = \"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-        rule_list2 = self.create_switch_filter_rule(rule2, check_stats=False)\n-        self.verify(not any(rule_list2), \"all rules should create failed, result %s\" % rule_list2)\n-        result1 = self.check_switch_filter_rule_list(self.dut_ports[0], is_non_pipeline=False, is_need_rss_rule=False, check_stats=False)\n-        self.verify(result1 == rule_list, \"the rule list is not the same. expect %s, result %s\" % (rule_list, result1))\n-        self.dut.send_expect(\"flow destroy 0 rule %s\" % rule_list[0], \"testpmd> \", 15)\n-\n-        # multiple actions\n-        rule_list = self.validate_switch_filter_rule(rules[\"multiple actions\"], check_stats=False)\n-        self.verify(not any(rule_list), \"all rules should validate failed, result %s\" % rule_list)\n-        result = self.check_switch_filter_rule_list(self.dut_ports[0], is_non_pipeline=False, is_need_rss_rule=False, check_stats=False)\n-        self.verify(result == [], \"the rule list is not the same. expect %s, result %s\" % ([], result))\n-        rule_list = self.create_switch_filter_rule(rules[\"multiple actions\"], check_stats=False)\n-        self.verify(not any(rule_list), \"all rules should create failed, result %s\" % rule_list)\n-        result = self.check_switch_filter_rule_list(self.dut_ports[0], is_non_pipeline=False, is_need_rss_rule=False, check_stats=False)\n-        self.verify(result == [], \"the rule list is not the same. expect %s, result %s\" % ([], result))\n-\n-        # void action\n-        rule_list = self.validate_switch_filter_rule(rules[\"void action\"], check_stats=False)\n-        self.verify(not any(rule_list), \"all rules should validate failed, result %s\" % rule_list)\n-        result = self.check_switch_filter_rule_list(self.dut_ports[0], is_non_pipeline=False, is_need_rss_rule=False, check_stats=False)\n-        self.verify(result == [], \"the rule list is not the same. expect %s, result %s\" % ([], result))\n-        rule_list = self.create_switch_filter_rule(rules[\"void action\"], check_stats=False)\n-        self.verify(not any(rule_list), \"all rules should create failed, result %s\" % rule_list)\n-        result = self.check_switch_filter_rule_list(self.dut_ports[0], is_non_pipeline=False, is_need_rss_rule=False, check_stats=False)\n-        self.verify(result == [], \"the rule list is not the same. expect %s, result %s\" % ([], result))\n-\n-        # delete a non-existing rule\n-        result = self.check_switch_filter_rule_list(self.dut_ports[0], is_non_pipeline=False, is_need_rss_rule=False, check_stats=False)\n-        self.verify(result == [], \"the rule list is not the same. expect %s, result %s\" % ([], result))\n-        out = self.dut.send_expect(\"flow destroy 0 rule 0\", \"testpmd> \", 15)\n-        self.verify(\"error\" not in out, \"It should be no error message.\")\n-\n-        # add long switch rule\n-        rule = \"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-        rule_list = self.validate_switch_filter_rule(rule, check_stats=False)\n-        self.verify(not any(rule_list), \"all rules should validate failed, result %s\" % rule_list)\n-        result = self.check_switch_filter_rule_list(self.dut_ports[0], is_non_pipeline=False, is_need_rss_rule=False, check_stats=False)\n-        self.verify(result == [], \"the rule list is not the same. expect %s, result %s\" % ([], result))\n-        rule_list = self.create_switch_filter_rule(rule, check_stats=False)\n-        self.verify(not any(rule_list), \"all rules should create failed, result %s\" % rule_list)\n-        result = self.check_switch_filter_rule_list(self.dut_ports[0], is_non_pipeline=False, is_need_rss_rule=False, check_stats=False)\n-        self.verify(result == [], \"the rule list is not the same. expect %s, result %s\" % ([], result))\n-        tvs_mac_pppoe_ipv6_udp_pay_pipeline_mode = copy.deepcopy(tvs_mac_pppoe_ipv6_udp_pay)\n-        for tv in tvs_mac_pppoe_ipv6_udp_pay_pipeline_mode:\n-            create_rule = tv[\"rte_flow_pattern\"].replace(\"flow create 0\", \"flow create 0 priority 0\")\n-            tv[\"rte_flow_pattern\"] = create_rule\n-            tv[\"configuration\"][\"is_non_pipeline\"] = False\n-        self._rte_flow_validate_pattern(tvs_mac_pppoe_ipv6_udp_pay_pipeline_mode, False)\n-\n-        # void input set value\n-        rule_list = self.validate_switch_filter_rule(rules[\"void input set value\"], check_stats=False)\n-        self.verify(not any(rule_list), \"all rules should validate failed, result %s\" % rule_list)\n-        result = self.check_switch_filter_rule_list(self.dut_ports[0], is_non_pipeline=False, is_need_rss_rule=False, check_stats=False)\n-        self.verify(result == [], \"the rule list is not the same. expect %s, result %s\" % ([], result))\n-        rule_list = self.create_switch_filter_rule(rules[\"void input set value\"], check_stats=False)\n-        self.verify(not any(rule_list), \"all rules should create failed, result %s\" % rule_list)\n-        result = self.check_switch_filter_rule_list(self.dut_ports[0], is_non_pipeline=False, is_need_rss_rule=False, check_stats=False)\n-        self.verify(result == [], \"the rule list is not the same. expect %s, result %s\" % ([], result))\n-\n-        # invalid port\n-        rule_list = self.validate_switch_filter_rule(rules[\"invalid port\"], check_stats=False)\n-        self.verify(not any(rule_list), \"all rules should validate failed, result %s\" % rule_list)\n-        result = self.check_switch_filter_rule_list(self.dut_ports[0], is_non_pipeline=False, is_need_rss_rule=False, check_stats=False)\n-        self.verify(result == [], \"the rule list is not the same. expect %s, result %s\" % ([], result))\n-        result = self.check_switch_filter_rule_list(self.dut_ports[1], is_non_pipeline=False, is_need_rss_rule=False, check_stats=False)\n-        self.verify(result == [], \"the rule list is not the same. expect %s, result %s\" % (rule_list, result))\n-        rule_list = self.create_switch_filter_rule(rules[\"invalid port\"], check_stats=False)\n-        self.verify(not any(rule_list), \"all rules should create failed, result %s\" % rule_list)\n-        # check there is no rule listed\n-        result = self.check_switch_filter_rule_list(self.dut_ports[0], is_non_pipeline=False, is_need_rss_rule=False, check_stats=False)\n-        self.verify(result == [], \"the rule list is not the same. expect %s, result %s\" % (rule_list, result))\n-        result = self.check_switch_filter_rule_list(self.dut_ports[1], is_non_pipeline=False, is_need_rss_rule=False, check_stats=False)\n-        self.verify(result == [], \"the rule list is not the same. expect %s, result %s\" % (rule_list, result))\n-\n+    @skip_unsupported_pkg(['comms', 'wireless'])\n     def test_unsupported_pattern_in_OS_default_package(self):\n         \"\"\"\n         Validate and create PPPOE rule, GTPU rule, PFCP rule, l2tpv3 rule, esp rule and ah rule with OS default package\n@@ -5585,12 +3101,6 @@ class CVLSwitchFilterTest(TestCase):\n                 \"flow create 0 priority 0 ingress pattern eth / ipv4 / l2tpv3oip session_id is 17 / end actions rss queues 2 3 end / end\",\n                 \"flow create 0 priority 0 ingress pattern eth / ipv6 / udp / esp spi is 8 / end actions rss queues 2 3 end / end\",\n                 \"flow create 0 priority 0 ingress pattern eth / ipv4 src is 192.168.0.2 / ah spi is 1 / end actions queue index 1 / end\"]\n-        #bind pf to kernel\n-        self.bind_nics_driver(self.dut_ports, driver=\"ice\")\n-        self.dut.send_expect(\"cp %s %s\" % (self.os_package_location, self.package_location), \"# \")\n-        self.re_load_ice_driver()\n-        #bind pf to vfio-pci\n-        self.bind_nics_driver(self.dut_ports, driver=\"vfio-pci\")\n         self.launch_testpmd(False)\n \n         rule_list = self.validate_switch_filter_rule(rule, check_stats=False)\n@@ -5607,14 +3117,11 @@ class CVLSwitchFilterTest(TestCase):\n         Run after each test case.\n         \"\"\"\n         # destroy all the rules on port 0\n-        self.dut.send_expect(\"flow flush %d\" % self.dut_ports[0], \"testpmd> \", 300)\n+        if self.running_case == \"test_unsupported_pattern_in_OS_default_package\":\n+            pass\n+        else:\n+            self.dut.send_expect(\"flow flush %d\" % self.dut_ports[0], \"testpmd> \", 15)\n         self.dut.send_expect(\"quit\", \"#\")\n-        if  self.running_case == \"test_unsupported_pattern_in_OS_default_package\":\n-            self.bind_nics_driver(self.dut_ports, driver=\"ice\")\n-            self.dut.send_expect(\"cp %s %s\" % (self.comms_package_location, self.package_location), \"# \")\n-            self.re_load_ice_driver()\n-            #bind pf to vfio-pci\n-            self.bind_nics_driver(self.dut_ports, driver=\"vfio-pci\")\n \n     def tear_down_all(self):\n         \"\"\"\n",
    "prefixes": [
        "V1",
        "5/8"
    ]
}