Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/89439/?format=api
http://patches.dpdk.org/api/patches/89439/?format=api", "web_url": "http://patches.dpdk.org/project/dts/patch/1616045251-65532-5-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-5-git-send-email-zhiminx.huang@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dts/1616045251-65532-5-git-send-email-zhiminx.huang@intel.com", "date": "2021-03-18T05:27:27", "name": "[V1,4/8] tests/cvl_dcf_switch_filter:support nic and pkg check", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": false, "hash": "c1656d4897a80b676ceff33c42613ef922544c7b", "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-5-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/89439/comments/", "check": "pending", "checks": "http://patches.dpdk.org/api/patches/89439/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 B9FB7A0564;\n\tThu, 18 Mar 2021 06:39:57 +0100 (CET)", "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 6593014104E;\n\tThu, 18 Mar 2021 06:39:57 +0100 (CET)", "from mga02.intel.com (mga02.intel.com [134.134.136.20])\n by mails.dpdk.org (Postfix) with ESMTP id 34969141040\n for <dts@dpdk.org>; Thu, 18 Mar 2021 06:39:55 +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:54 -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:53 -0700" ], "IronPort-SDR": [ "\n 8KQwHi9A2Ijs25PytRSkfDtG0x5JTbguaKP8uD70I1Bs7/y2DqZxNgXLGl/gZ7vlrHJMmphmPL\n Jt4CQrEETLwg==", "\n zx8G7II9uxAb9Nmp+E4lRNSSGzP+z3b17tseQAsucRlW9pxcXAw1UliraKK3/jGCVBW3fbCzV0\n U4G0QUQRviEw==" ], "X-IronPort-AV": [ "E=McAfee;i=\"6000,8403,9926\"; a=\"176736176\"", "E=Sophos;i=\"5.81,257,1610438400\"; d=\"scan'208\";a=\"176736176\"", "E=Sophos;i=\"5.81,257,1610438400\"; d=\"scan'208\";a=\"406214338\"" ], "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:27 +0800", "Message-Id": "<1616045251-65532-5-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 4/8] tests/cvl_dcf_switch_filter:support nic and\n pkg 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 pkg check\n\nSigned-off-by: Zhimin Huang <zhiminx.huang@intel.com>\n---\n tests/TestSuite_cvl_dcf_switch_filter.py | 542 ++-----------------------------\n 1 file changed, 21 insertions(+), 521 deletions(-)\n mode change 100644 => 100755 tests/TestSuite_cvl_dcf_switch_filter.py", "diff": "diff --git a/tests/TestSuite_cvl_dcf_switch_filter.py b/tests/TestSuite_cvl_dcf_switch_filter.py\nold mode 100644\nnew mode 100755\nindex 1904ef4..b9b6d3b\n--- a/tests/TestSuite_cvl_dcf_switch_filter.py\n+++ b/tests/TestSuite_cvl_dcf_switch_filter.py\n@@ -34,7 +34,7 @@ import time\n import re\n import copy\n \n-from test_case import TestCase\n+from test_case import TestCase, skip_unsupported_pkg, check_supported_nic\n from pmd_output import PmdOutput\n from packet import Packet\n from utils import BLUE, RED, GREEN\n@@ -838,384 +838,6 @@ tv_add_two_rules_with_different_input_set_different_vf_id = {\n \"expect_results\":{\"expect_pkts\":[0, 0]}}\n }\n \n-tv_mac_pppoe_ipv4_pay_ip_address = {\n- \"name\":\"tv_mac_pppoe_ipv4_pay_ip_address\",\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 vf id 1 / end\",\n- \"matched\":{\"scapy_str\":['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- \"check_func\":{\"func\":rfc.check_vf_rx_packets_number,\n- \"param\":{\"expect_port\":1, \"expect_queues\":\"null\"}},\n- \"expect_results\":{\"expect_pkts\":1}},\n- \"mismatched\":{\"scapy_str\":['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- \"check_func\":{\"func\":rfc.check_vf_rx_packets_number,\n- \"param\":{\"expect_port\":1, \"expect_queues\":\"null\"}},\n- \"expect_results\":{\"expect_pkts\":0}}\n-}\n-\n-tv_mac_pppoe_ipv4_udp_pay = {\n- \"name\":\"tv_mac_pppoe_ipv4_udp_pay\",\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 vf id 1 / end\",\n- \"matched\":{\"scapy_str\":['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- \"check_func\":{\"func\":rfc.check_vf_rx_packets_number,\n- \"param\":{\"expect_port\":1, \"expect_queues\":\"null\"}},\n- \"expect_results\":{\"expect_pkts\":1}},\n- \"mismatched\":{\"scapy_str\":['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- \"check_func\":{\"func\":rfc.check_vf_rx_packets_number,\n- \"param\":{\"expect_port\":1, \"expect_queues\":\"null\"}},\n- \"expect_results\":{\"expect_pkts\":0}}\n-}\n-\n-tv_mac_pppoe_ipv4_udp_pay_non_src_dst_port = {\n- \"name\":\"tv_mac_pppoe_ipv4_udp_pay_non_src_dst_port\",\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 vf id 1 / end\",\n- \"matched\":{\"scapy_str\":['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- \"check_func\":{\"func\":rfc.check_vf_rx_packets_number,\n- \"param\":{\"expect_port\":1, \"expect_queues\":\"null\"}},\n- \"expect_results\":{\"expect_pkts\":1}},\n- \"mismatched\":{\"scapy_str\":['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- \"check_func\":{\"func\":rfc.check_vf_rx_packets_number,\n- \"param\":{\"expect_port\":1, \"expect_queues\":\"null\"}},\n- \"expect_results\":{\"expect_pkts\":0}}\n-}\n-\n-tv_mac_pppoe_ipv4_tcp_pay = {\n- \"name\":\"tv_mac_pppoe_ipv4_tcp_pay\",\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 vf id 1 / end\",\n- \"matched\":{\"scapy_str\":['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- \"check_func\":{\"func\":rfc.check_vf_rx_packets_number,\n- \"param\":{\"expect_port\":1, \"expect_queues\":\"null\"}},\n- \"expect_results\":{\"expect_pkts\":1}},\n- \"mismatched\":{\"scapy_str\":['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- \"check_func\":{\"func\":rfc.check_vf_rx_packets_number,\n- \"param\":{\"expect_port\":1, \"expect_queues\":\"null\"}},\n- \"expect_results\":{\"expect_pkts\":0}}\n-}\n-\n-tv_mac_pppoe_ipv4_tcp_pay_non_src_dst_port = {\n- \"name\":\"tv_mac_pppoe_ipv4_tcp_pay_non_src_dst_port\",\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 vf id 1 / end\",\n- \"matched\":{\"scapy_str\":['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- \"check_func\":{\"func\":rfc.check_vf_rx_packets_number,\n- \"param\":{\"expect_port\":1, \"expect_queues\":\"null\"}},\n- \"expect_results\":{\"expect_pkts\":1}},\n- \"mismatched\":{\"scapy_str\":['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- \"check_func\":{\"func\":rfc.check_vf_rx_packets_number,\n- \"param\":{\"expect_port\":1, \"expect_queues\":\"null\"}},\n- \"expect_results\":{\"expect_pkts\":0}}\n-}\n-\n-tv_mac_pppoe_ipv6_pay_ip_address = {\n- \"name\":\"tv_mac_pppoe_ipv6_pay_ip_address\",\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 vf id 1 / end\",\n- \"matched\":{\"scapy_str\":['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- \"check_func\":{\"func\":rfc.check_vf_rx_packets_number,\n- \"param\":{\"expect_port\":1, \"expect_queues\":\"null\"}},\n- \"expect_results\":{\"expect_pkts\":1}},\n- \"mismatched\":{\"scapy_str\":['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- 'Ether(src=\"11:22:33:44:55:99\",dst=\"00:11:22:33:44:55\")/IPv6(src=\"CDCD:910A:2222:5498:8475:1111:3900:1536\", dst=\"CDCD:910A:2222:5498:8475:1111:3900:2022\")/Raw(\"x\"*80)'],\n- \"check_func\":{\"func\":rfc.check_vf_rx_packets_number,\n- \"param\":{\"expect_port\":1, \"expect_queues\":\"null\"}},\n- \"expect_results\":{\"expect_pkts\":0}}\n-}\n-\n-tv_mac_pppoe_ipv6_udp_pay = {\n- \"name\":\"tv_mac_pppoe_ipv6_udp_pay\",\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 vf id 1 / end\",\n- \"matched\":{\"scapy_str\":['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- \"check_func\":{\"func\":rfc.check_vf_rx_packets_number,\n- \"param\":{\"expect_port\":1, \"expect_queues\":\"null\"}},\n- \"expect_results\":{\"expect_pkts\":1}},\n- \"mismatched\":{\"scapy_str\":['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- \"check_func\":{\"func\":rfc.check_vf_rx_packets_number,\n- \"param\":{\"expect_port\":1, \"expect_queues\":\"null\"}},\n- \"expect_results\":{\"expect_pkts\":0}}\n-}\n-\n-tv_mac_pppoe_ipv6_udp_pay_non_src_dst_port = {\n- \"name\":\"tv_mac_pppoe_ipv6_udp_pay_non_src_dst_port\",\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 vf id 1 / end\",\n- \"matched\":{\"scapy_str\":['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- \"check_func\":{\"func\":rfc.check_vf_rx_packets_number,\n- \"param\":{\"expect_port\":1, \"expect_queues\":\"null\"}},\n- \"expect_results\":{\"expect_pkts\":1}},\n- \"mismatched\":{\"scapy_str\":['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- \"check_func\":{\"func\":rfc.check_vf_rx_packets_number,\n- \"param\":{\"expect_port\":1, \"expect_queues\":\"null\"}},\n- \"expect_results\":{\"expect_pkts\":0}}\n-}\n-\n-tv_mac_pppoe_ipv6_tcp_pay = {\n- \"name\":\"tv_mac_pppoe_ipv6_tcp_pay\",\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 vf id 1 / end\",\n- \"matched\":{\"scapy_str\":['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- \"check_func\":{\"func\":rfc.check_vf_rx_packets_number,\n- \"param\":{\"expect_port\":1, \"expect_queues\":\"null\"}},\n- \"expect_results\":{\"expect_pkts\":1}},\n- \"mismatched\":{\"scapy_str\":['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- \"check_func\":{\"func\":rfc.check_vf_rx_packets_number,\n- \"param\":{\"expect_port\":1, \"expect_queues\":\"null\"}},\n- \"expect_results\":{\"expect_pkts\":0}}\n-}\n-\n-tv_mac_pppoe_ipv6_tcp_pay_non_src_dst_port = {\n- \"name\":\"tv_mac_pppoe_ipv6_tcp_pay_non_src_dst_port\",\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 vf id 1 / end\",\n- \"matched\":{\"scapy_str\":['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- \"check_func\":{\"func\":rfc.check_vf_rx_packets_number,\n- \"param\":{\"expect_port\":1, \"expect_queues\":\"null\"}},\n- \"expect_results\":{\"expect_pkts\":1}},\n- \"mismatched\":{\"scapy_str\":['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- \"check_func\":{\"func\":rfc.check_vf_rx_packets_number,\n- \"param\":{\"expect_port\":1, \"expect_queues\":\"null\"}},\n- \"expect_results\":{\"expect_pkts\":0}}\n-}\n-\n-tv_mac_vlan_pppoe_ipv4_pay_ip_address = {\n- \"name\":\"tv_mac_vlan_pppoe_ipv4_pay_ip_address\",\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 vf id 1 / end\",\n- \"matched\":{\"scapy_str\":['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- \"check_func\":{\"func\":rfc.check_vf_rx_packets_number,\n- \"param\":{\"expect_port\":1, \"expect_queues\":\"null\"}},\n- \"expect_results\":{\"expect_pkts\":1}},\n- \"mismatched\":{\"scapy_str\":['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- \"check_func\":{\"func\":rfc.check_vf_rx_packets_number,\n- \"param\":{\"expect_port\":1, \"expect_queues\":\"null\"}},\n- \"expect_results\":{\"expect_pkts\":0}}\n-}\n-\n-tv_mac_vlan_pppoe_ipv4_udp_pay = {\n- \"name\":\"tv_mac_vlan_pppoe_ipv4_udp_pay\",\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 vf id 1 / end\",\n- \"matched\":{\"scapy_str\":['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- \"check_func\":{\"func\":rfc.check_vf_rx_packets_number,\n- \"param\":{\"expect_port\":1, \"expect_queues\":\"null\"}},\n- \"expect_results\":{\"expect_pkts\":1}},\n- \"mismatched\":{\"scapy_str\":['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- \"check_func\":{\"func\":rfc.check_vf_rx_packets_number,\n- \"param\":{\"expect_port\":1, \"expect_queues\":\"null\"}},\n- \"expect_results\":{\"expect_pkts\":0}}\n-}\n-\n-tv_mac_vlan_pppoe_ipv4_udp_pay_non_src_dst_port = {\n- \"name\":\"tv_mac_vlan_pppoe_ipv4_udp_pay_non_src_dst_port\",\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 vf id 1 / end\",\n- \"matched\":{\"scapy_str\":['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- \"check_func\":{\"func\":rfc.check_vf_rx_packets_number,\n- \"param\":{\"expect_port\":1, \"expect_queues\":\"null\"}},\n- \"expect_results\":{\"expect_pkts\":1}},\n- \"mismatched\":{\"scapy_str\":['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- \"check_func\":{\"func\":rfc.check_vf_rx_packets_number,\n- \"param\":{\"expect_port\":1, \"expect_queues\":\"null\"}},\n- \"expect_results\":{\"expect_pkts\":0}}\n-}\n-\n-tv_mac_vlan_pppoe_ipv4_tcp_pay = {\n- \"name\":\"tv_mac_vlan_pppoe_ipv4_tcp_pay\",\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 vf id 1 / end\",\n- \"matched\":{\"scapy_str\":['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- \"check_func\":{\"func\":rfc.check_vf_rx_packets_number,\n- \"param\":{\"expect_port\":1, \"expect_queues\":\"null\"}},\n- \"expect_results\":{\"expect_pkts\":1}},\n- \"mismatched\":{\"scapy_str\":['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- \"check_func\":{\"func\":rfc.check_vf_rx_packets_number,\n- \"param\":{\"expect_port\":1, \"expect_queues\":\"null\"}},\n- \"expect_results\":{\"expect_pkts\":0}}\n-}\n-\n-tv_mac_vlan_pppoe_ipv4_tcp_pay_non_src_dst_port = {\n- \"name\":\"tv_mac_vlan_pppoe_ipv4_tcp_pay_non_src_dst_port\",\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 vf id 1 / end\",\n- \"matched\":{\"scapy_str\":['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- \"check_func\":{\"func\":rfc.check_vf_rx_packets_number,\n- \"param\":{\"expect_port\":1, \"expect_queues\":\"null\"}},\n- \"expect_results\":{\"expect_pkts\":1}},\n- \"mismatched\":{\"scapy_str\":['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- \"check_func\":{\"func\":rfc.check_vf_rx_packets_number,\n- \"param\":{\"expect_port\":1, \"expect_queues\":\"null\"}},\n- \"expect_results\":{\"expect_pkts\":0}}\n-}\n-\n-tv_mac_vlan_pppoe_ipv6_pay_ip_address = {\n- \"name\":\"tv_mac_vlan_pppoe_ipv6_pay_ip_address\",\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 vf id 1 / end\",\n- \"matched\":{\"scapy_str\":['Ether(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- \"check_func\":{\"func\":rfc.check_vf_rx_packets_number,\n- \"param\":{\"expect_port\":1, \"expect_queues\":\"null\"}},\n- \"expect_results\":{\"expect_pkts\":1}},\n- \"mismatched\":{\"scapy_str\":['Ether(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(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- \"check_func\":{\"func\":rfc.check_vf_rx_packets_number,\n- \"param\":{\"expect_port\":1, \"expect_queues\":\"null\"}},\n- \"expect_results\":{\"expect_pkts\":0}}\n-}\n-\n-tv_mac_vlan_pppoe_ipv6_udp_pay = {\n- \"name\":\"tv_mac_vlan_pppoe_ipv6_udp_pay\",\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 vf id 1 / end\",\n- \"matched\":{\"scapy_str\":['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- \"check_func\":{\"func\":rfc.check_vf_rx_packets_number,\n- \"param\":{\"expect_port\":1, \"expect_queues\":\"null\"}},\n- \"expect_results\":{\"expect_pkts\":1}},\n- \"mismatched\":{\"scapy_str\":['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- \"check_func\":{\"func\":rfc.check_vf_rx_packets_number,\n- \"param\":{\"expect_port\":1, \"expect_queues\":\"null\"}},\n- \"expect_results\":{\"expect_pkts\":0}}\n-}\n-\n-tv_mac_vlan_pppoe_ipv6_udp_pay_non_src_dst_port = {\n- \"name\":\"tv_mac_vlan_pppoe_ipv6_udp_pay_non_src_dst_port\",\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 vf id 1 / end\",\n- \"matched\":{\"scapy_str\":['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- \"check_func\":{\"func\":rfc.check_vf_rx_packets_number,\n- \"param\":{\"expect_port\":1, \"expect_queues\":\"null\"}},\n- \"expect_results\":{\"expect_pkts\":1}},\n- \"mismatched\":{\"scapy_str\":['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- \"check_func\":{\"func\":rfc.check_vf_rx_packets_number,\n- \"param\":{\"expect_port\":1, \"expect_queues\":\"null\"}},\n- \"expect_results\":{\"expect_pkts\":0}}\n-}\n-\n-tv_mac_vlan_pppoe_ipv6_tcp_pay = {\n- \"name\":\"tv_mac_vlan_pppoe_ipv6_tcp_pay\",\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 vf id 1 / end\",\n- \"matched\":{\"scapy_str\":['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- \"check_func\":{\"func\":rfc.check_vf_rx_packets_number,\n- \"param\":{\"expect_port\":1, \"expect_queues\":\"null\"}},\n- \"expect_results\":{\"expect_pkts\":1}},\n- \"mismatched\":{\"scapy_str\":['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- \"check_func\":{\"func\":rfc.check_vf_rx_packets_number,\n- \"param\":{\"expect_port\":1, \"expect_queues\":\"null\"}},\n- \"expect_results\":{\"expect_pkts\":0}}\n-}\n-\n-tv_mac_vlan_pppoe_ipv6_tcp_pay_non_src_dst_port = {\n- \"name\":\"tv_mac_vlan_pppoe_ipv6_tcp_pay_non_src_dst_port\",\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 vf id 1 / end\",\n- \"matched\":{\"scapy_str\":['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- \"check_func\":{\"func\":rfc.check_vf_rx_packets_number,\n- \"param\":{\"expect_port\":1, \"expect_queues\":\"null\"}},\n- \"expect_results\":{\"expect_pkts\":1}},\n- \"mismatched\":{\"scapy_str\":['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- \"check_func\":{\"func\":rfc.check_vf_rx_packets_number,\n- \"param\":{\"expect_port\":1, \"expect_queues\":\"null\"}},\n- \"expect_results\":{\"expect_pkts\":0}}\n-}\n-\n-tv_mac_pppoe_lcp_pay = {\n- \"name\":\"tv_mac_pppoe_lcp_pay\",\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 vf id 1 / end\",\n- \"matched\":{\"scapy_str\":['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- \"check_func\":{\"func\":rfc.check_vf_rx_packets_number,\n- \"param\":{\"expect_port\":1, \"expect_queues\":\"null\"}},\n- \"expect_results\":{\"expect_pkts\":1}},\n- \"mismatched\":{\"scapy_str\":['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- \"check_func\":{\"func\":rfc.check_vf_rx_packets_number,\n- \"param\":{\"expect_port\":1, \"expect_queues\":\"null\"}},\n- \"expect_results\":{\"expect_pkts\":0}}\n-}\n-\n-tv_mac_pppoe_ipcp_pay = {\n- \"name\":\"tv_mac_pppoe_ipcp_pay\",\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 vf id 1 / end\",\n- \"matched\":{\"scapy_str\":['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- \"check_func\":{\"func\":rfc.check_vf_rx_packets_number,\n- \"param\":{\"expect_port\":1, \"expect_queues\":\"null\"}},\n- \"expect_results\":{\"expect_pkts\":1}},\n- \"mismatched\":{\"scapy_str\":['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- \"check_func\":{\"func\":rfc.check_vf_rx_packets_number,\n- \"param\":{\"expect_port\":1, \"expect_queues\":\"null\"}},\n- \"expect_results\":{\"expect_pkts\":0}}\n-}\n-\n-tv_mac_vlan_pppoe_lcp_pay = {\n- \"name\":\"tv_mac_vlan_pppoe_lcp_pay\",\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 vf id 1 / end\",\n- \"matched\":{\"scapy_str\":['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- \"check_func\":{\"func\":rfc.check_vf_rx_packets_number,\n- \"param\":{\"expect_port\":1, \"expect_queues\":\"null\"}},\n- \"expect_results\":{\"expect_pkts\":1}},\n- \"mismatched\":{\"scapy_str\":['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- \"check_func\":{\"func\":rfc.check_vf_rx_packets_number,\n- \"param\":{\"expect_port\":1, \"expect_queues\":\"null\"}},\n- \"expect_results\":{\"expect_pkts\":0}}\n-}\n-\n-tv_mac_vlan_pppoe_ipcp_pay = {\n- \"name\":\"tv_mac_vlan_pppoe_ipcp_pay\",\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 vf id 1 / end\",\n- \"matched\":{\"scapy_str\":['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- \"check_func\":{\"func\":rfc.check_vf_rx_packets_number,\n- \"param\":{\"expect_port\":1, \"expect_queues\":\"null\"}},\n- \"expect_results\":{\"expect_pkts\":1}},\n- \"mismatched\":{\"scapy_str\":['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- \"check_func\":{\"func\":rfc.check_vf_rx_packets_number,\n- \"param\":{\"expect_port\":1, \"expect_queues\":\"null\"}},\n- \"expect_results\":{\"expect_pkts\":0}}\n-}\n-\n tv_mac_ipv4_drop = {\n \"name\": \"tv_mac_ipv4_drop\",\n \"rte_flow_pattern\": \"flow create 0 priority 0 ingress pattern eth / ipv4 src is 192.168.0.1 / end actions drop / end\",\n@@ -1367,6 +989,7 @@ sv_mac_test_drop_action = [\n ]\n \n class CVLDCFSwitchFilterTest(TestCase):\n+ supported_nic = ['columbiaville_100g', 'columbiaville_25g', 'columbiaville_25gx2']\n \n def bind_nics_driver(self, ports, driver=\"\"):\n # modprobe vfio driver\n@@ -1393,27 +1016,20 @@ class CVLDCFSwitchFilterTest(TestCase):\n if driver != driver_now:\n netdev.bind_driver(driver=driver)\n \n+ @check_supported_nic(supported_nic)\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\"], \"nic is not CVL\")\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.testpmd_status = \"close\"\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- comms_package_location = self.suite_config[\"comms_package_file_location\"]\n- package_location = self.suite_config[\"package_file_location\"]\n- self.dut.send_expect(\"cp %s %s\" % (comms_package_location, package_location), \"# \")\n- self.re_load_ice_driver()\n \n #set vf driver\n self.vf_driver = 'vfio-pci'\n@@ -1436,20 +1052,11 @@ class CVLDCFSwitchFilterTest(TestCase):\n port.bind_driver(self.vf_driver)\n time.sleep(5)\n \n- def re_load_ice_driver(self):\n- \"\"\"\n- remove and reload the ice 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 set_up(self):\n \"\"\"\n Run before each test case.\n \"\"\"\n- self.re_load_ice_driver()\n+ pass\n \n def create_testpmd_command(self):\n \"\"\"\n@@ -1736,22 +1343,6 @@ class CVLDCFSwitchFilterTest(TestCase):\n self.setup_1pf_vfs_env()\n self._rte_flow_validate_pattern(tv_mac_ipv4_nvgre_mac_ipv4_tcp)\n \n- def test_mac_vlan_pppoe_ipv4_pay_session_id_proto_id(self):\n- self.setup_1pf_vfs_env()\n- self._rte_flow_validate_pattern(tv_mac_vlan_pppoe_ipv4_pay_session_id_proto_id)\n-\n- def test_mac_vlan_pppoe_ipv6_pay_session_id_proto_id(self):\n- self.setup_1pf_vfs_env()\n- self._rte_flow_validate_pattern(tv_mac_vlan_pppoe_ipv6_pay_session_id_proto_id)\n-\n- def test_mac_pppoe_ipv4_pay_session_id_proto_id(self):\n- self.setup_1pf_vfs_env()\n- self._rte_flow_validate_pattern(tv_mac_pppoe_ipv4_pay_session_id_proto_id)\n-\n- def test_mac_pppoe_ipv6_pay_session_id_proto_id(self):\n- self.setup_1pf_vfs_env()\n- self._rte_flow_validate_pattern(tv_mac_pppoe_ipv6_pay_session_id_proto_id)\n-\n def test_ip_multicast(self):\n self.setup_1pf_vfs_env()\n self._rte_flow_validate_pattern(tv_ip_multicast)\n@@ -1792,34 +1383,42 @@ class CVLDCFSwitchFilterTest(TestCase):\n self.setup_1pf_vfs_env()\n self._rte_flow_validate_pattern(tv_vlan_filter)\n \n+ @skip_unsupported_pkg(['os default', 'wireless'])\n def test_mac_ipv4_l2tpv3(self):\n self.setup_1pf_vfs_env()\n self._rte_flow_validate_pattern(tv_mac_ipv4_l2tpv3)\n \n+ @skip_unsupported_pkg(['os default', 'wireless'])\n def test_mac_ipv6_l2tpv3(self):\n self.setup_1pf_vfs_env()\n self._rte_flow_validate_pattern(tv_mac_ipv6_l2tpv3)\n \n+ @skip_unsupported_pkg('os default')\n def test_mac_ipv4_esp(self):\n self.setup_1pf_vfs_env()\n self._rte_flow_validate_pattern(tv_mac_ipv4_esp)\n \n+ @skip_unsupported_pkg('os default')\n def test_mac_ipv6_esp(self):\n self.setup_1pf_vfs_env()\n self._rte_flow_validate_pattern(tv_mac_ipv6_esp)\n \n+ @skip_unsupported_pkg('os default')\n def test_mac_ipv4_ah(self):\n self.setup_1pf_vfs_env()\n self._rte_flow_validate_pattern(tv_mac_ipv4_ah)\n \n+ @skip_unsupported_pkg('os default')\n def test_mac_ipv6_ah(self):\n self.setup_1pf_vfs_env()\n self._rte_flow_validate_pattern(tv_mac_ipv6_ah)\n \n+ @skip_unsupported_pkg('os default')\n def test_mac_ipv4_nat_t_esp(self):\n self.setup_1pf_vfs_env()\n self._rte_flow_validate_pattern(tv_mac_ipv4_nat_t_esp)\n \n+ @skip_unsupported_pkg('os default')\n def test_mac_ipv6_nat_t_esp(self):\n self.setup_1pf_vfs_env()\n self._rte_flow_validate_pattern(tv_mac_ipv6_nat_t_esp)\n@@ -1896,16 +1495,12 @@ class CVLDCFSwitchFilterTest(TestCase):\n #create MAC_IPV6_UDP_PAY rule, and check the rule will not be affected by the long rule failure\n self._rte_flow_validate_pattern(tv_mac_ipv6_udp_pay, launch_testpmd=False)\n \n+ @skip_unsupported_pkg(['comms', 'wireless'])\n def test_unsupported_pattern_in_os_default(self):\n \"\"\"\n test with os default package\n \"\"\"\n #set up 4 vfs on 1 pf environment\n- os_package_location = self.suite_config[\"os_default_package_file_location\"]\n- comms_package_location = self.suite_config[\"comms_package_file_location\"]\n- package_location = self.suite_config[\"package_file_location\"]\n- self.dut.send_expect(\"cp %s %s\" % (os_package_location, package_location), \"# \")\n- self.re_load_ice_driver()\n self.setup_1pf_vfs_env()\n #launch testpmd\n self.launch_testpmd()\n@@ -1928,8 +1523,6 @@ class CVLDCFSwitchFilterTest(TestCase):\n # destroy vfs\n for port_id in self.dut_ports:\n self.dut.destroy_sriov_vfs_by_port(port_id)\n- self.dut.send_expect(\"cp %s %s\" % (comms_package_location, package_location), \"# \")\n- self.re_load_ice_driver()\n \n def test_add_existing_rules_but_with_different_vfs(self):\n #set up 4 vfs on 1 pf environment\n@@ -2082,11 +1675,7 @@ class CVLDCFSwitchFilterTest(TestCase):\n #generate max_vf_number VFs on PF0\n self.dut.generate_sriov_vfs_by_port(self.used_dut_port_0, max_vf_number, driver='default')\n self.sriov_vfs_port = self.dut.ports_info[self.used_dut_port_0]['vfs_port']\n- #bind max_vf_number vfs to iavf\n- iavf_driver_file_location = self.suite_config[\"iavf_driver_file_location\"]\n- self.dut.send_expect(\"rmmod iavf\", \"# \", 15)\n- self.dut.send_expect(\"insmod %s\" % iavf_driver_file_location, \"# \", 60)\n- time.sleep(2)\n+\n for port in self.sriov_vfs_port:\n port.bind_driver('iavf')\n #sort the vf interfaces and pcis by pcis\n@@ -2193,26 +1782,32 @@ class CVLDCFSwitchFilterTest(TestCase):\n matched_dic['expect_results'] = {\"expect_pkts\":0}\n self.send_and_check_packets(matched_dic)\n \n+ @skip_unsupported_pkg(['os default', 'wireless'])\n def test_mac_ipv4_pfcp_node(self):\n self.setup_1pf_vfs_env()\n self._rte_flow_validate_pattern(tv_mac_ipv4_pfcp_node)\n \n+ @skip_unsupported_pkg(['os default', 'wireless'])\n def test_mac_ipv4_pfcp_session(self):\n self.setup_1pf_vfs_env()\n self._rte_flow_validate_pattern(tv_mac_ipv4_pfcp_session)\n \n+ @skip_unsupported_pkg(['os default', 'wireless'])\n def test_mac_ipv6_pfcp_node(self):\n self.setup_1pf_vfs_env()\n self._rte_flow_validate_pattern(tv_mac_ipv6_pfcp_node)\n \n+ @skip_unsupported_pkg(['os default', 'wireless'])\n def test_mac_ipv6_pfcp_session(self):\n self.setup_1pf_vfs_env()\n self._rte_flow_validate_pattern(tv_mac_ipv6_pfcp_session)\n \n+ @skip_unsupported_pkg(['os default', 'wireless'])\n def test_add_two_rules_with_different_input_set_same_vf_id(self):\n self.setup_1pf_vfs_env()\n self._rte_flow_validate_pattern(tv_add_two_rules_with_different_input_set_same_vf_id)\n \n+ @skip_unsupported_pkg(['os default', 'wireless'])\n def test_add_two_rules_with_different_input_set_different_vf_id(self):\n #set up 4 vfs on 1 pf environment\n self.setup_1pf_vfs_env()\n@@ -2229,102 +1824,7 @@ class CVLDCFSwitchFilterTest(TestCase):\n self.dut.send_expect(\"set verbose 1\", \"testpmd> \", 15)\n self._rte_flow_validate_pattern(tv_add_two_rules_with_different_input_set_different_vf_id, False)\n \n- def test_mac_pppoe_ipv4_pay_ip_address(self):\n- self.setup_1pf_vfs_env()\n- self._rte_flow_validate_pattern(tv_mac_pppoe_ipv4_pay_ip_address)\n-\n- def test_mac_pppoe_ipv4_udp_pay(self):\n- self.setup_1pf_vfs_env()\n- self._rte_flow_validate_pattern(tv_mac_pppoe_ipv4_udp_pay)\n-\n- def test_mac_pppoe_ipv4_udp_pay_non_src_dst_port(self):\n- self.setup_1pf_vfs_env()\n- self._rte_flow_validate_pattern(tv_mac_pppoe_ipv4_udp_pay_non_src_dst_port)\n-\n- def test_mac_pppoe_ipv4_tcp_pay(self):\n- self.setup_1pf_vfs_env()\n- self._rte_flow_validate_pattern(tv_mac_pppoe_ipv4_tcp_pay)\n-\n- def test_mac_pppoe_ipv4_tcp_pay_non_src_dst_port(self):\n- self.setup_1pf_vfs_env()\n- self._rte_flow_validate_pattern(tv_mac_pppoe_ipv4_tcp_pay_non_src_dst_port)\n-\n- def test_mac_pppoe_ipv6_pay_ip_address(self):\n- self.setup_1pf_vfs_env()\n- self._rte_flow_validate_pattern(tv_mac_pppoe_ipv6_pay_ip_address)\n-\n- def test_mac_pppoe_ipv6_udp_pay(self):\n- self.setup_1pf_vfs_env()\n- self._rte_flow_validate_pattern(tv_mac_pppoe_ipv6_udp_pay)\n-\n- def test_mac_pppoe_ipv6_udp_pay_non_src_dst_port(self):\n- self.setup_1pf_vfs_env()\n- self._rte_flow_validate_pattern(tv_mac_pppoe_ipv6_udp_pay_non_src_dst_port)\n-\n- def test_mac_pppoe_ipv6_tcp_pay(self):\n- self.setup_1pf_vfs_env()\n- self._rte_flow_validate_pattern(tv_mac_pppoe_ipv6_tcp_pay)\n-\n- def test_mac_pppoe_ipv6_tcp_pay_non_src_dst_port(self):\n- self.setup_1pf_vfs_env()\n- self._rte_flow_validate_pattern(tv_mac_pppoe_ipv6_tcp_pay_non_src_dst_port)\n-\n- def test_mac_vlan_pppoe_ipv4_pay_ip_address(self):\n- self.setup_1pf_vfs_env()\n- self._rte_flow_validate_pattern(tv_mac_vlan_pppoe_ipv4_pay_ip_address)\n-\n- def test_mac_vlan_pppoe_ipv4_udp_pay(self):\n- self.setup_1pf_vfs_env()\n- self._rte_flow_validate_pattern(tv_mac_vlan_pppoe_ipv4_udp_pay)\n-\n- def test_mac_vlan_pppoe_ipv4_udp_pay_non_src_dst_port(self):\n- self.setup_1pf_vfs_env()\n- self._rte_flow_validate_pattern(tv_mac_vlan_pppoe_ipv4_udp_pay_non_src_dst_port)\n-\n- def test_mac_vlan_pppoe_ipv4_tcp_pay(self):\n- self.setup_1pf_vfs_env()\n- self._rte_flow_validate_pattern(tv_mac_vlan_pppoe_ipv4_tcp_pay)\n-\n- def test_mac_vlan_pppoe_ipv4_tcp_pay_non_src_dst_port(self):\n- self.setup_1pf_vfs_env()\n- self._rte_flow_validate_pattern(tv_mac_vlan_pppoe_ipv4_tcp_pay_non_src_dst_port)\n-\n- def test_mac_vlan_pppoe_ipv6_pay_ip_address(self):\n- self.setup_1pf_vfs_env()\n- self._rte_flow_validate_pattern(tv_mac_vlan_pppoe_ipv6_pay_ip_address)\n-\n- def test_mac_vlan_pppoe_ipv6_udp_pay(self):\n- self.setup_1pf_vfs_env()\n- self._rte_flow_validate_pattern(tv_mac_vlan_pppoe_ipv6_udp_pay)\n-\n- def test_mac_vlan_pppoe_ipv6_udp_pay_non_src_dst_port(self):\n- self.setup_1pf_vfs_env()\n- self._rte_flow_validate_pattern(tv_mac_vlan_pppoe_ipv6_udp_pay_non_src_dst_port)\n-\n- def test_mac_vlan_pppoe_ipv6_tcp_pay(self):\n- self.setup_1pf_vfs_env()\n- self._rte_flow_validate_pattern(tv_mac_vlan_pppoe_ipv6_tcp_pay)\n-\n- def test_mac_vlan_pppoe_ipv6_tcp_pay_non_src_dst_port(self):\n- self.setup_1pf_vfs_env()\n- self._rte_flow_validate_pattern(tv_mac_vlan_pppoe_ipv6_tcp_pay_non_src_dst_port)\n-\n- def test_mac_pppoe_lcp_pay(self):\n- self.setup_1pf_vfs_env()\n- self._rte_flow_validate_pattern(tv_mac_pppoe_lcp_pay)\n-\n- def test_mac_pppoe_ipcp_pay(self):\n- self.setup_1pf_vfs_env()\n- self._rte_flow_validate_pattern(tv_mac_pppoe_ipcp_pay)\n-\n- def test_mac_vlan_pppoe_lcp_pay(self):\n- self.setup_1pf_vfs_env()\n- self._rte_flow_validate_pattern(tv_mac_vlan_pppoe_lcp_pay)\n-\n- def test_mac_vlan_pppoe_ipcp_pay(self):\n- self.setup_1pf_vfs_env()\n- self._rte_flow_validate_pattern(tv_mac_vlan_pppoe_ipcp_pay)\n-\n+ @skip_unsupported_pkg(['os default', 'wireless'])\n def test_mac_drop_action(self):\n self.setup_1pf_vfs_env()\n self.dut.send_expect('ip link set %s vf 1 mac \"00:11:22:33:44:55\"' % self.pf0_intf, '# ')\n", "prefixes": [ "V1", "4/8" ] }{ "id": 89439, "url": "