get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 120300,
    "url": "http://patchwork.dpdk.org/api/patches/120300/?format=api",
    "web_url": "http://patchwork.dpdk.org/project/dts/patch/20221130021617.76208-3-ke1.xu@intel.com/",
    "project": {
        "id": 3,
        "url": "http://patchwork.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": "<20221130021617.76208-3-ke1.xu@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dts/20221130021617.76208-3-ke1.xu@intel.com",
    "date": "2022-11-30T02:16:17",
    "name": "[V1,2/2] tests/ice_dcf_switch_filter_pppoe: update test plan to support represented port action from deprecated vf action",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "c550f01c653f304451dfeaad9b048521fbbb07b1",
    "submitter": {
        "id": 2810,
        "url": "http://patchwork.dpdk.org/api/people/2810/?format=api",
        "name": "Ke Xu",
        "email": "ke1.xu@intel.com"
    },
    "delegate": null,
    "mbox": "http://patchwork.dpdk.org/project/dts/patch/20221130021617.76208-3-ke1.xu@intel.com/mbox/",
    "series": [
        {
            "id": 25933,
            "url": "http://patchwork.dpdk.org/api/series/25933/?format=api",
            "web_url": "http://patchwork.dpdk.org/project/dts/list/?series=25933",
            "date": "2022-11-30T02:16:15",
            "name": "update test plans and tests to support represented port action and port representor action from deprecated vf action in ice_dcf_switch_filter_pppoe",
            "version": 1,
            "mbox": "http://patchwork.dpdk.org/series/25933/mbox/"
        }
    ],
    "comments": "http://patchwork.dpdk.org/api/patches/120300/comments/",
    "check": "success",
    "checks": "http://patchwork.dpdk.org/api/patches/120300/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 82827A00C2;\n\tWed, 30 Nov 2022 03:17:35 +0100 (CET)",
            "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 7C97F40151;\n\tWed, 30 Nov 2022 03:17:35 +0100 (CET)",
            "from mga07.intel.com (mga07.intel.com [134.134.136.100])\n by mails.dpdk.org (Postfix) with ESMTP id A49574014F\n for <dts@dpdk.org>; Wed, 30 Nov 2022 03:17:32 +0100 (CET)",
            "from fmsmga007.fm.intel.com ([10.253.24.52])\n by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 29 Nov 2022 18:17:32 -0800",
            "from dpdk-xuke-lab.sh.intel.com ([10.67.114.198])\n by fmsmga007.fm.intel.com with ESMTP; 29 Nov 2022 18:17:30 -0800"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple;\n d=intel.com; i=@intel.com; q=dns/txt; s=Intel;\n t=1669774652; x=1701310652;\n h=from:to:cc:subject:date:message-id:in-reply-to:\n references:mime-version:content-transfer-encoding;\n bh=a74DTBg5ptMj/I05kPT1es/Ug+xB3fNDgKlyVAQyH5k=;\n b=ePAUs96qA5+w2GGhTdKSQ3XRgzHKkkRNuPTmIHfp0bz9qahTzctLXVLJ\n G0XaDU48u8BqGLyVl4IeeqX9gztuBQmp4nOj0xZWPqG1GDj6kHIUC5F+j\n YG9mHON6IqmzMXNNxv++th7ZZhKRKmzEVlT44z/qcQC/UGiHUQlFr65Zu\n 81kE7rUkwGN9BKQvce+DCzwDQexwg3p6yUDhxsD22krDu8HKjppBxFS3f\n MOqiMcwr+8CRU3dvrvx7Hbekc1vSgRd0vJ1yRGJliaImqeqj/5XEshkrv\n q9rMJFiiCxeYBSOI/QBTLtRgSBb4a/hYMtAyoRKItv+v7IOTwIIkEfAxJ w==;",
        "X-IronPort-AV": [
            "E=McAfee;i=\"6500,9779,10546\"; a=\"379567033\"",
            "E=Sophos;i=\"5.96,204,1665471600\"; d=\"scan'208\";a=\"379567033\"",
            "E=McAfee;i=\"6500,9779,10546\"; a=\"646148453\"",
            "E=Sophos;i=\"5.96,204,1665471600\"; d=\"scan'208\";a=\"646148453\""
        ],
        "X-ExtLoop1": "1",
        "From": "Ke Xu <ke1.xu@intel.com>",
        "To": "dts@dpdk.org",
        "Cc": "lijuan.tu@intel.com, ke1.xu@intel.com,\n Zhimin Huang <zhiminx.huang@intel.com>",
        "Subject": "[DTS][PATCH V1 2/2] tests/ice_dcf_switch_filter_pppoe: update test\n plan to support represented port action from deprecated vf action",
        "Date": "Wed, 30 Nov 2022 10:16:17 +0800",
        "Message-Id": "<20221130021617.76208-3-ke1.xu@intel.com>",
        "X-Mailer": "git-send-email 2.25.1",
        "In-Reply-To": "<20221130021617.76208-1-ke1.xu@intel.com>",
        "References": "<20221130021617.76208-1-ke1.xu@intel.com>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "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"
    },
    "content": "A new API is introduced to replace the VF actions in DPDK 22.11. To support This\n new API, several modifications are made.\n\nTestpmd args are modified to support appyling representors for the new API. Rules\n are modified for the old API being deprecated, changing to the new API. Ports id\n are modified corresponding to the port representors and modified API.\n\nSigned-off-by: Zhimin Huang <zhiminx.huang@intel.com>\nSigned-off-by: Ke Xu <ke1.xu@intel.com>\n---\n .../TestSuite_ice_dcf_switch_filter_pppoe.py  | 172 +++++++++---------\n 1 file changed, 86 insertions(+), 86 deletions(-)",
    "diff": "diff --git a/tests/TestSuite_ice_dcf_switch_filter_pppoe.py b/tests/TestSuite_ice_dcf_switch_filter_pppoe.py\nindex 9cd6cf9b..5780bc17 100644\n--- a/tests/TestSuite_ice_dcf_switch_filter_pppoe.py\n+++ b/tests/TestSuite_ice_dcf_switch_filter_pppoe.py\n@@ -16,14 +16,14 @@ from framework.utils import BLUE, GREEN, RED\n \n tv_mac_vlan_pppoe_ipv4_pay_session_id_proto_id = {\n     \"name\": \"tv_mac_vlan_pppoe_ipv4_pay_session_id_proto_id\",\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 vf id 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 0x0021 / end actions represented_port ethdev_port_id 1 / end\",\n     \"matched\": {\n         \"scapy_str\": [\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         \"check_func\": {\n             \"func\": rfc.check_vf_rx_packets_number,\n-            \"param\": {\"expect_port\": 1, \"expect_queues\": \"null\"},\n+            \"param\": {\"expect_port\": 2, \"expect_queues\": \"null\"},\n         },\n         \"expect_results\": {\"expect_pkts\": 1},\n     },\n@@ -36,7 +36,7 @@ tv_mac_vlan_pppoe_ipv4_pay_session_id_proto_id = {\n         ],\n         \"check_func\": {\n             \"func\": rfc.check_vf_rx_packets_number,\n-            \"param\": {\"expect_port\": 1, \"expect_queues\": \"null\"},\n+            \"param\": {\"expect_port\": 2, \"expect_queues\": \"null\"},\n         },\n         \"expect_results\": {\"expect_pkts\": 0},\n     },\n@@ -44,14 +44,14 @@ tv_mac_vlan_pppoe_ipv4_pay_session_id_proto_id = {\n \n tv_mac_vlan_pppoe_ipv6_pay_session_id_proto_id = {\n     \"name\": \"tv_mac_vlan_pppoe_ipv6_pay_session_id_proto_id\",\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 vf id 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 0x0057 / end actions represented_port ethdev_port_id 1 / end\",\n     \"matched\": {\n         \"scapy_str\": [\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         \"check_func\": {\n             \"func\": rfc.check_vf_rx_packets_number,\n-            \"param\": {\"expect_port\": 1, \"expect_queues\": \"null\"},\n+            \"param\": {\"expect_port\": 2, \"expect_queues\": \"null\"},\n         },\n         \"expect_results\": {\"expect_pkts\": 1},\n     },\n@@ -64,7 +64,7 @@ tv_mac_vlan_pppoe_ipv6_pay_session_id_proto_id = {\n         ],\n         \"check_func\": {\n             \"func\": rfc.check_vf_rx_packets_number,\n-            \"param\": {\"expect_port\": 1, \"expect_queues\": \"null\"},\n+            \"param\": {\"expect_port\": 2, \"expect_queues\": \"null\"},\n         },\n         \"expect_results\": {\"expect_pkts\": 0},\n     },\n@@ -72,14 +72,14 @@ tv_mac_vlan_pppoe_ipv6_pay_session_id_proto_id = {\n \n tv_mac_pppoe_ipv4_pay_session_id_proto_id = {\n     \"name\": \"tv_mac_pppoe_ipv4_pay_session_id_proto_id\",\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 vf id 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 0x0021 / end actions represented_port ethdev_port_id 1 / end\",\n     \"matched\": {\n         \"scapy_str\": [\n             'Ether(dst=\"00:11:22:33:44:55\",type=0x8864)/PPPoE(sessionid=3)/PPP(b\\'\\\\x00\\\\x21\\')/IP()/Raw(\"x\" * 80)'\n         ],\n         \"check_func\": {\n             \"func\": rfc.check_vf_rx_packets_number,\n-            \"param\": {\"expect_port\": 1, \"expect_queues\": \"null\"},\n+            \"param\": {\"expect_port\": 2, \"expect_queues\": \"null\"},\n         },\n         \"expect_results\": {\"expect_pkts\": 1},\n     },\n@@ -91,7 +91,7 @@ tv_mac_pppoe_ipv4_pay_session_id_proto_id = {\n         ],\n         \"check_func\": {\n             \"func\": rfc.check_vf_rx_packets_number,\n-            \"param\": {\"expect_port\": 1, \"expect_queues\": \"null\"},\n+            \"param\": {\"expect_port\": 2, \"expect_queues\": \"null\"},\n         },\n         \"expect_results\": {\"expect_pkts\": 0},\n     },\n@@ -99,14 +99,14 @@ tv_mac_pppoe_ipv4_pay_session_id_proto_id = {\n \n tv_mac_pppoe_ipv6_pay_session_id_proto_id = {\n     \"name\": \"tv_mac_pppoe_ipv6_pay_session_id_proto_id\",\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 vf id 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 0x0057 / end actions represented_port ethdev_port_id 1 / end\",\n     \"matched\": {\n         \"scapy_str\": [\n             'Ether(dst=\"00:11:22:33:44:55\",type=0x8864)/PPPoE(sessionid=3)/PPP(b\\'\\\\x00\\\\x57\\')/IPv6()/Raw(\"x\" * 80)'\n         ],\n         \"check_func\": {\n             \"func\": rfc.check_vf_rx_packets_number,\n-            \"param\": {\"expect_port\": 1, \"expect_queues\": \"null\"},\n+            \"param\": {\"expect_port\": 2, \"expect_queues\": \"null\"},\n         },\n         \"expect_results\": {\"expect_pkts\": 1},\n     },\n@@ -118,7 +118,7 @@ tv_mac_pppoe_ipv6_pay_session_id_proto_id = {\n         ],\n         \"check_func\": {\n             \"func\": rfc.check_vf_rx_packets_number,\n-            \"param\": {\"expect_port\": 1, \"expect_queues\": \"null\"},\n+            \"param\": {\"expect_port\": 2, \"expect_queues\": \"null\"},\n         },\n         \"expect_results\": {\"expect_pkts\": 0},\n     },\n@@ -126,14 +126,14 @@ tv_mac_pppoe_ipv6_pay_session_id_proto_id = {\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+    \"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 represented_port ethdev_port_id 1 / end\",\n     \"matched\": {\n         \"scapy_str\": [\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         \"check_func\": {\n             \"func\": rfc.check_vf_rx_packets_number,\n-            \"param\": {\"expect_port\": 1, \"expect_queues\": \"null\"},\n+            \"param\": {\"expect_port\": 2, \"expect_queues\": \"null\"},\n         },\n         \"expect_results\": {\"expect_pkts\": 1},\n     },\n@@ -144,7 +144,7 @@ tv_mac_pppoe_ipv4_pay_ip_address = {\n         ],\n         \"check_func\": {\n             \"func\": rfc.check_vf_rx_packets_number,\n-            \"param\": {\"expect_port\": 1, \"expect_queues\": \"null\"},\n+            \"param\": {\"expect_port\": 2, \"expect_queues\": \"null\"},\n         },\n         \"expect_results\": {\"expect_pkts\": 0},\n     },\n@@ -152,14 +152,14 @@ tv_mac_pppoe_ipv4_pay_ip_address = {\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+    \"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 represented_port ethdev_port_id 1 / end\",\n     \"matched\": {\n         \"scapy_str\": [\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         ],\n         \"check_func\": {\n             \"func\": rfc.check_vf_rx_packets_number,\n-            \"param\": {\"expect_port\": 1, \"expect_queues\": \"null\"},\n+            \"param\": {\"expect_port\": 2, \"expect_queues\": \"null\"},\n         },\n         \"expect_results\": {\"expect_pkts\": 1},\n     },\n@@ -172,7 +172,7 @@ tv_mac_pppoe_ipv4_udp_pay = {\n         ],\n         \"check_func\": {\n             \"func\": rfc.check_vf_rx_packets_number,\n-            \"param\": {\"expect_port\": 1, \"expect_queues\": \"null\"},\n+            \"param\": {\"expect_port\": 2, \"expect_queues\": \"null\"},\n         },\n         \"expect_results\": {\"expect_pkts\": 0},\n     },\n@@ -180,14 +180,14 @@ tv_mac_pppoe_ipv4_udp_pay = {\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+    \"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 represented_port ethdev_port_id 1 / end\",\n     \"matched\": {\n         \"scapy_str\": [\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         ],\n         \"check_func\": {\n             \"func\": rfc.check_vf_rx_packets_number,\n-            \"param\": {\"expect_port\": 1, \"expect_queues\": \"null\"},\n+            \"param\": {\"expect_port\": 2, \"expect_queues\": \"null\"},\n         },\n         \"expect_results\": {\"expect_pkts\": 1},\n     },\n@@ -200,7 +200,7 @@ tv_mac_pppoe_ipv4_udp_pay_non_src_dst_port = {\n         ],\n         \"check_func\": {\n             \"func\": rfc.check_vf_rx_packets_number,\n-            \"param\": {\"expect_port\": 1, \"expect_queues\": \"null\"},\n+            \"param\": {\"expect_port\": 2, \"expect_queues\": \"null\"},\n         },\n         \"expect_results\": {\"expect_pkts\": 0},\n     },\n@@ -208,14 +208,14 @@ tv_mac_pppoe_ipv4_udp_pay_non_src_dst_port = {\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+    \"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 represented_port ethdev_port_id 1 / end\",\n     \"matched\": {\n         \"scapy_str\": [\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         ],\n         \"check_func\": {\n             \"func\": rfc.check_vf_rx_packets_number,\n-            \"param\": {\"expect_port\": 1, \"expect_queues\": \"null\"},\n+            \"param\": {\"expect_port\": 2, \"expect_queues\": \"null\"},\n         },\n         \"expect_results\": {\"expect_pkts\": 1},\n     },\n@@ -228,7 +228,7 @@ tv_mac_pppoe_ipv4_tcp_pay = {\n         ],\n         \"check_func\": {\n             \"func\": rfc.check_vf_rx_packets_number,\n-            \"param\": {\"expect_port\": 1, \"expect_queues\": \"null\"},\n+            \"param\": {\"expect_port\": 2, \"expect_queues\": \"null\"},\n         },\n         \"expect_results\": {\"expect_pkts\": 0},\n     },\n@@ -236,14 +236,14 @@ tv_mac_pppoe_ipv4_tcp_pay = {\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+    \"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 represented_port ethdev_port_id 1 / end\",\n     \"matched\": {\n         \"scapy_str\": [\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         ],\n         \"check_func\": {\n             \"func\": rfc.check_vf_rx_packets_number,\n-            \"param\": {\"expect_port\": 1, \"expect_queues\": \"null\"},\n+            \"param\": {\"expect_port\": 2, \"expect_queues\": \"null\"},\n         },\n         \"expect_results\": {\"expect_pkts\": 1},\n     },\n@@ -256,7 +256,7 @@ tv_mac_pppoe_ipv4_tcp_pay_non_src_dst_port = {\n         ],\n         \"check_func\": {\n             \"func\": rfc.check_vf_rx_packets_number,\n-            \"param\": {\"expect_port\": 1, \"expect_queues\": \"null\"},\n+            \"param\": {\"expect_port\": 2, \"expect_queues\": \"null\"},\n         },\n         \"expect_results\": {\"expect_pkts\": 0},\n     },\n@@ -264,14 +264,14 @@ tv_mac_pppoe_ipv4_tcp_pay_non_src_dst_port = {\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+    \"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 represented_port ethdev_port_id 1 / end\",\n     \"matched\": {\n         \"scapy_str\": [\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         \"check_func\": {\n             \"func\": rfc.check_vf_rx_packets_number,\n-            \"param\": {\"expect_port\": 1, \"expect_queues\": \"null\"},\n+            \"param\": {\"expect_port\": 2, \"expect_queues\": \"null\"},\n         },\n         \"expect_results\": {\"expect_pkts\": 1},\n     },\n@@ -283,7 +283,7 @@ tv_mac_pppoe_ipv6_pay_ip_address = {\n         ],\n         \"check_func\": {\n             \"func\": rfc.check_vf_rx_packets_number,\n-            \"param\": {\"expect_port\": 1, \"expect_queues\": \"null\"},\n+            \"param\": {\"expect_port\": 2, \"expect_queues\": \"null\"},\n         },\n         \"expect_results\": {\"expect_pkts\": 0},\n     },\n@@ -291,14 +291,14 @@ tv_mac_pppoe_ipv6_pay_ip_address = {\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+    \"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 represented_port ethdev_port_id 1 / end\",\n     \"matched\": {\n         \"scapy_str\": [\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         ],\n         \"check_func\": {\n             \"func\": rfc.check_vf_rx_packets_number,\n-            \"param\": {\"expect_port\": 1, \"expect_queues\": \"null\"},\n+            \"param\": {\"expect_port\": 2, \"expect_queues\": \"null\"},\n         },\n         \"expect_results\": {\"expect_pkts\": 1},\n     },\n@@ -310,7 +310,7 @@ tv_mac_pppoe_ipv6_udp_pay = {\n         ],\n         \"check_func\": {\n             \"func\": rfc.check_vf_rx_packets_number,\n-            \"param\": {\"expect_port\": 1, \"expect_queues\": \"null\"},\n+            \"param\": {\"expect_port\": 2, \"expect_queues\": \"null\"},\n         },\n         \"expect_results\": {\"expect_pkts\": 0},\n     },\n@@ -318,14 +318,14 @@ tv_mac_pppoe_ipv6_udp_pay = {\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+    \"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 represented_port ethdev_port_id 1 / end\",\n     \"matched\": {\n         \"scapy_str\": [\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         ],\n         \"check_func\": {\n             \"func\": rfc.check_vf_rx_packets_number,\n-            \"param\": {\"expect_port\": 1, \"expect_queues\": \"null\"},\n+            \"param\": {\"expect_port\": 2, \"expect_queues\": \"null\"},\n         },\n         \"expect_results\": {\"expect_pkts\": 1},\n     },\n@@ -338,7 +338,7 @@ tv_mac_pppoe_ipv6_udp_pay_non_src_dst_port = {\n         ],\n         \"check_func\": {\n             \"func\": rfc.check_vf_rx_packets_number,\n-            \"param\": {\"expect_port\": 1, \"expect_queues\": \"null\"},\n+            \"param\": {\"expect_port\": 2, \"expect_queues\": \"null\"},\n         },\n         \"expect_results\": {\"expect_pkts\": 0},\n     },\n@@ -346,14 +346,14 @@ tv_mac_pppoe_ipv6_udp_pay_non_src_dst_port = {\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+    \"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 represented_port ethdev_port_id 1 / end\",\n     \"matched\": {\n         \"scapy_str\": [\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         ],\n         \"check_func\": {\n             \"func\": rfc.check_vf_rx_packets_number,\n-            \"param\": {\"expect_port\": 1, \"expect_queues\": \"null\"},\n+            \"param\": {\"expect_port\": 2, \"expect_queues\": \"null\"},\n         },\n         \"expect_results\": {\"expect_pkts\": 1},\n     },\n@@ -365,7 +365,7 @@ tv_mac_pppoe_ipv6_tcp_pay = {\n         ],\n         \"check_func\": {\n             \"func\": rfc.check_vf_rx_packets_number,\n-            \"param\": {\"expect_port\": 1, \"expect_queues\": \"null\"},\n+            \"param\": {\"expect_port\": 2, \"expect_queues\": \"null\"},\n         },\n         \"expect_results\": {\"expect_pkts\": 0},\n     },\n@@ -373,14 +373,14 @@ tv_mac_pppoe_ipv6_tcp_pay = {\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+    \"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 represented_port ethdev_port_id 1 / end\",\n     \"matched\": {\n         \"scapy_str\": [\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         ],\n         \"check_func\": {\n             \"func\": rfc.check_vf_rx_packets_number,\n-            \"param\": {\"expect_port\": 1, \"expect_queues\": \"null\"},\n+            \"param\": {\"expect_port\": 2, \"expect_queues\": \"null\"},\n         },\n         \"expect_results\": {\"expect_pkts\": 1},\n     },\n@@ -393,7 +393,7 @@ tv_mac_pppoe_ipv6_tcp_pay_non_src_dst_port = {\n         ],\n         \"check_func\": {\n             \"func\": rfc.check_vf_rx_packets_number,\n-            \"param\": {\"expect_port\": 1, \"expect_queues\": \"null\"},\n+            \"param\": {\"expect_port\": 2, \"expect_queues\": \"null\"},\n         },\n         \"expect_results\": {\"expect_pkts\": 0},\n     },\n@@ -401,14 +401,14 @@ tv_mac_pppoe_ipv6_tcp_pay_non_src_dst_port = {\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+    \"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 represented_port ethdev_port_id 1 / end\",\n     \"matched\": {\n         \"scapy_str\": [\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         \"check_func\": {\n             \"func\": rfc.check_vf_rx_packets_number,\n-            \"param\": {\"expect_port\": 1, \"expect_queues\": \"null\"},\n+            \"param\": {\"expect_port\": 2, \"expect_queues\": \"null\"},\n         },\n         \"expect_results\": {\"expect_pkts\": 1},\n     },\n@@ -420,7 +420,7 @@ tv_mac_vlan_pppoe_ipv4_pay_ip_address = {\n         ],\n         \"check_func\": {\n             \"func\": rfc.check_vf_rx_packets_number,\n-            \"param\": {\"expect_port\": 1, \"expect_queues\": \"null\"},\n+            \"param\": {\"expect_port\": 2, \"expect_queues\": \"null\"},\n         },\n         \"expect_results\": {\"expect_pkts\": 0},\n     },\n@@ -428,14 +428,14 @@ tv_mac_vlan_pppoe_ipv4_pay_ip_address = {\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+    \"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 represented_port ethdev_port_id 1 / end\",\n     \"matched\": {\n         \"scapy_str\": [\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         ],\n         \"check_func\": {\n             \"func\": rfc.check_vf_rx_packets_number,\n-            \"param\": {\"expect_port\": 1, \"expect_queues\": \"null\"},\n+            \"param\": {\"expect_port\": 2, \"expect_queues\": \"null\"},\n         },\n         \"expect_results\": {\"expect_pkts\": 1},\n     },\n@@ -449,7 +449,7 @@ tv_mac_vlan_pppoe_ipv4_udp_pay = {\n         ],\n         \"check_func\": {\n             \"func\": rfc.check_vf_rx_packets_number,\n-            \"param\": {\"expect_port\": 1, \"expect_queues\": \"null\"},\n+            \"param\": {\"expect_port\": 2, \"expect_queues\": \"null\"},\n         },\n         \"expect_results\": {\"expect_pkts\": 0},\n     },\n@@ -457,14 +457,14 @@ tv_mac_vlan_pppoe_ipv4_udp_pay = {\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+    \"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 represented_port ethdev_port_id 1 / end\",\n     \"matched\": {\n         \"scapy_str\": [\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         ],\n         \"check_func\": {\n             \"func\": rfc.check_vf_rx_packets_number,\n-            \"param\": {\"expect_port\": 1, \"expect_queues\": \"null\"},\n+            \"param\": {\"expect_port\": 2, \"expect_queues\": \"null\"},\n         },\n         \"expect_results\": {\"expect_pkts\": 1},\n     },\n@@ -478,7 +478,7 @@ tv_mac_vlan_pppoe_ipv4_udp_pay_non_src_dst_port = {\n         ],\n         \"check_func\": {\n             \"func\": rfc.check_vf_rx_packets_number,\n-            \"param\": {\"expect_port\": 1, \"expect_queues\": \"null\"},\n+            \"param\": {\"expect_port\": 2, \"expect_queues\": \"null\"},\n         },\n         \"expect_results\": {\"expect_pkts\": 0},\n     },\n@@ -486,14 +486,14 @@ tv_mac_vlan_pppoe_ipv4_udp_pay_non_src_dst_port = {\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+    \"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 represented_port ethdev_port_id 1 / end\",\n     \"matched\": {\n         \"scapy_str\": [\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         ],\n         \"check_func\": {\n             \"func\": rfc.check_vf_rx_packets_number,\n-            \"param\": {\"expect_port\": 1, \"expect_queues\": \"null\"},\n+            \"param\": {\"expect_port\": 2, \"expect_queues\": \"null\"},\n         },\n         \"expect_results\": {\"expect_pkts\": 1},\n     },\n@@ -507,7 +507,7 @@ tv_mac_vlan_pppoe_ipv4_tcp_pay = {\n         ],\n         \"check_func\": {\n             \"func\": rfc.check_vf_rx_packets_number,\n-            \"param\": {\"expect_port\": 1, \"expect_queues\": \"null\"},\n+            \"param\": {\"expect_port\": 2, \"expect_queues\": \"null\"},\n         },\n         \"expect_results\": {\"expect_pkts\": 0},\n     },\n@@ -515,14 +515,14 @@ tv_mac_vlan_pppoe_ipv4_tcp_pay = {\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+    \"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 represented_port ethdev_port_id 1 / end\",\n     \"matched\": {\n         \"scapy_str\": [\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         ],\n         \"check_func\": {\n             \"func\": rfc.check_vf_rx_packets_number,\n-            \"param\": {\"expect_port\": 1, \"expect_queues\": \"null\"},\n+            \"param\": {\"expect_port\": 2, \"expect_queues\": \"null\"},\n         },\n         \"expect_results\": {\"expect_pkts\": 1},\n     },\n@@ -536,7 +536,7 @@ tv_mac_vlan_pppoe_ipv4_tcp_pay_non_src_dst_port = {\n         ],\n         \"check_func\": {\n             \"func\": rfc.check_vf_rx_packets_number,\n-            \"param\": {\"expect_port\": 1, \"expect_queues\": \"null\"},\n+            \"param\": {\"expect_port\": 2, \"expect_queues\": \"null\"},\n         },\n         \"expect_results\": {\"expect_pkts\": 0},\n     },\n@@ -544,14 +544,14 @@ tv_mac_vlan_pppoe_ipv4_tcp_pay_non_src_dst_port = {\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+    \"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 represented_port ethdev_port_id 1 / end\",\n     \"matched\": {\n         \"scapy_str\": [\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:1536\", dst=\"CDCD:910A:2222:5498:8475:1111:3900:2022\")/Raw(\"x\"*80)'\n         ],\n         \"check_func\": {\n             \"func\": rfc.check_vf_rx_packets_number,\n-            \"param\": {\"expect_port\": 1, \"expect_queues\": \"null\"},\n+            \"param\": {\"expect_port\": 2, \"expect_queues\": \"null\"},\n         },\n         \"expect_results\": {\"expect_pkts\": 1},\n     },\n@@ -562,7 +562,7 @@ tv_mac_vlan_pppoe_ipv6_pay_ip_address = {\n         ],\n         \"check_func\": {\n             \"func\": rfc.check_vf_rx_packets_number,\n-            \"param\": {\"expect_port\": 1, \"expect_queues\": \"null\"},\n+            \"param\": {\"expect_port\": 2, \"expect_queues\": \"null\"},\n         },\n         \"expect_results\": {\"expect_pkts\": 0},\n     },\n@@ -570,14 +570,14 @@ tv_mac_vlan_pppoe_ipv6_pay_ip_address = {\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+    \"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 represented_port ethdev_port_id 1 / end\",\n     \"matched\": {\n         \"scapy_str\": [\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         ],\n         \"check_func\": {\n             \"func\": rfc.check_vf_rx_packets_number,\n-            \"param\": {\"expect_port\": 1, \"expect_queues\": \"null\"},\n+            \"param\": {\"expect_port\": 2, \"expect_queues\": \"null\"},\n         },\n         \"expect_results\": {\"expect_pkts\": 1},\n     },\n@@ -590,7 +590,7 @@ tv_mac_vlan_pppoe_ipv6_udp_pay = {\n         ],\n         \"check_func\": {\n             \"func\": rfc.check_vf_rx_packets_number,\n-            \"param\": {\"expect_port\": 1, \"expect_queues\": \"null\"},\n+            \"param\": {\"expect_port\": 2, \"expect_queues\": \"null\"},\n         },\n         \"expect_results\": {\"expect_pkts\": 0},\n     },\n@@ -598,14 +598,14 @@ tv_mac_vlan_pppoe_ipv6_udp_pay = {\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+    \"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 represented_port ethdev_port_id 1 / end\",\n     \"matched\": {\n         \"scapy_str\": [\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         ],\n         \"check_func\": {\n             \"func\": rfc.check_vf_rx_packets_number,\n-            \"param\": {\"expect_port\": 1, \"expect_queues\": \"null\"},\n+            \"param\": {\"expect_port\": 2, \"expect_queues\": \"null\"},\n         },\n         \"expect_results\": {\"expect_pkts\": 1},\n     },\n@@ -618,7 +618,7 @@ tv_mac_vlan_pppoe_ipv6_udp_pay_non_src_dst_port = {\n         ],\n         \"check_func\": {\n             \"func\": rfc.check_vf_rx_packets_number,\n-            \"param\": {\"expect_port\": 1, \"expect_queues\": \"null\"},\n+            \"param\": {\"expect_port\": 2, \"expect_queues\": \"null\"},\n         },\n         \"expect_results\": {\"expect_pkts\": 0},\n     },\n@@ -626,14 +626,14 @@ tv_mac_vlan_pppoe_ipv6_udp_pay_non_src_dst_port = {\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+    \"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 represented_port ethdev_port_id 1 / end\",\n     \"matched\": {\n         \"scapy_str\": [\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         ],\n         \"check_func\": {\n             \"func\": rfc.check_vf_rx_packets_number,\n-            \"param\": {\"expect_port\": 1, \"expect_queues\": \"null\"},\n+            \"param\": {\"expect_port\": 2, \"expect_queues\": \"null\"},\n         },\n         \"expect_results\": {\"expect_pkts\": 1},\n     },\n@@ -646,7 +646,7 @@ tv_mac_vlan_pppoe_ipv6_tcp_pay = {\n         ],\n         \"check_func\": {\n             \"func\": rfc.check_vf_rx_packets_number,\n-            \"param\": {\"expect_port\": 1, \"expect_queues\": \"null\"},\n+            \"param\": {\"expect_port\": 2, \"expect_queues\": \"null\"},\n         },\n         \"expect_results\": {\"expect_pkts\": 0},\n     },\n@@ -654,14 +654,14 @@ tv_mac_vlan_pppoe_ipv6_tcp_pay = {\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+    \"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 represented_port ethdev_port_id 1 / end\",\n     \"matched\": {\n         \"scapy_str\": [\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         ],\n         \"check_func\": {\n             \"func\": rfc.check_vf_rx_packets_number,\n-            \"param\": {\"expect_port\": 1, \"expect_queues\": \"null\"},\n+            \"param\": {\"expect_port\": 2, \"expect_queues\": \"null\"},\n         },\n         \"expect_results\": {\"expect_pkts\": 1},\n     },\n@@ -674,7 +674,7 @@ tv_mac_vlan_pppoe_ipv6_tcp_pay_non_src_dst_port = {\n         ],\n         \"check_func\": {\n             \"func\": rfc.check_vf_rx_packets_number,\n-            \"param\": {\"expect_port\": 1, \"expect_queues\": \"null\"},\n+            \"param\": {\"expect_port\": 2, \"expect_queues\": \"null\"},\n         },\n         \"expect_results\": {\"expect_pkts\": 0},\n     },\n@@ -682,14 +682,14 @@ tv_mac_vlan_pppoe_ipv6_tcp_pay_non_src_dst_port = {\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+    \"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 represented_port ethdev_port_id 1 / end\",\n     \"matched\": {\n         \"scapy_str\": [\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         ],\n         \"check_func\": {\n             \"func\": rfc.check_vf_rx_packets_number,\n-            \"param\": {\"expect_port\": 1, \"expect_queues\": \"null\"},\n+            \"param\": {\"expect_port\": 2, \"expect_queues\": \"null\"},\n         },\n         \"expect_results\": {\"expect_pkts\": 1},\n     },\n@@ -701,7 +701,7 @@ tv_mac_pppoe_lcp_pay = {\n         ],\n         \"check_func\": {\n             \"func\": rfc.check_vf_rx_packets_number,\n-            \"param\": {\"expect_port\": 1, \"expect_queues\": \"null\"},\n+            \"param\": {\"expect_port\": 2, \"expect_queues\": \"null\"},\n         },\n         \"expect_results\": {\"expect_pkts\": 0},\n     },\n@@ -709,14 +709,14 @@ tv_mac_pppoe_lcp_pay = {\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+    \"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 represented_port ethdev_port_id 1 / end\",\n     \"matched\": {\n         \"scapy_str\": [\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         ],\n         \"check_func\": {\n             \"func\": rfc.check_vf_rx_packets_number,\n-            \"param\": {\"expect_port\": 1, \"expect_queues\": \"null\"},\n+            \"param\": {\"expect_port\": 2, \"expect_queues\": \"null\"},\n         },\n         \"expect_results\": {\"expect_pkts\": 1},\n     },\n@@ -728,7 +728,7 @@ tv_mac_pppoe_ipcp_pay = {\n         ],\n         \"check_func\": {\n             \"func\": rfc.check_vf_rx_packets_number,\n-            \"param\": {\"expect_port\": 1, \"expect_queues\": \"null\"},\n+            \"param\": {\"expect_port\": 2, \"expect_queues\": \"null\"},\n         },\n         \"expect_results\": {\"expect_pkts\": 0},\n     },\n@@ -736,14 +736,14 @@ tv_mac_pppoe_ipcp_pay = {\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+    \"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 represented_port ethdev_port_id 1 / end\",\n     \"matched\": {\n         \"scapy_str\": [\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         ],\n         \"check_func\": {\n             \"func\": rfc.check_vf_rx_packets_number,\n-            \"param\": {\"expect_port\": 1, \"expect_queues\": \"null\"},\n+            \"param\": {\"expect_port\": 2, \"expect_queues\": \"null\"},\n         },\n         \"expect_results\": {\"expect_pkts\": 1},\n     },\n@@ -756,7 +756,7 @@ tv_mac_vlan_pppoe_lcp_pay = {\n         ],\n         \"check_func\": {\n             \"func\": rfc.check_vf_rx_packets_number,\n-            \"param\": {\"expect_port\": 1, \"expect_queues\": \"null\"},\n+            \"param\": {\"expect_port\": 2, \"expect_queues\": \"null\"},\n         },\n         \"expect_results\": {\"expect_pkts\": 0},\n     },\n@@ -764,14 +764,14 @@ tv_mac_vlan_pppoe_lcp_pay = {\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+    \"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 represented_port ethdev_port_id 1 / end\",\n     \"matched\": {\n         \"scapy_str\": [\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         ],\n         \"check_func\": {\n             \"func\": rfc.check_vf_rx_packets_number,\n-            \"param\": {\"expect_port\": 1, \"expect_queues\": \"null\"},\n+            \"param\": {\"expect_port\": 2, \"expect_queues\": \"null\"},\n         },\n         \"expect_results\": {\"expect_pkts\": 1},\n     },\n@@ -784,7 +784,7 @@ tv_mac_vlan_pppoe_ipcp_pay = {\n         ],\n         \"check_func\": {\n             \"func\": rfc.check_vf_rx_packets_number,\n-            \"param\": {\"expect_port\": 1, \"expect_queues\": \"null\"},\n+            \"param\": {\"expect_port\": 2, \"expect_queues\": \"null\"},\n         },\n         \"expect_results\": {\"expect_pkts\": 0},\n     },\n@@ -885,7 +885,7 @@ class ICEDCFSwitchFilterPPPOETest(TestCase):\n         all_eal_param = self.dut.create_eal_parameters(\n             cores=\"1S/4C/1T\",\n             ports=[vf0_pci, vf1_pci],\n-            port_options={vf0_pci: \"cap=dcf\"},\n+            port_options={vf0_pci: \"cap=dcf,representor=[1]\"},\n         )\n         command = self.path + all_eal_param + \" -- -i\"\n         return command\n@@ -897,7 +897,7 @@ class ICEDCFSwitchFilterPPPOETest(TestCase):\n         command = self.create_testpmd_command()\n         out = self.dut.send_expect(command, \"testpmd> \", 30)\n         self.testpmd_status = \"running\"\n-        self.dut.send_expect(\"set portlist 1\", \"testpmd> \", 15)\n+        self.dut.send_expect(\"set portlist 2\", \"testpmd> \", 15)\n         self.dut.send_expect(\"set fwd rxonly\", \"testpmd> \", 15)\n         self.dut.send_expect(\"set verbose 1\", \"testpmd> \", 15)\n \n",
    "prefixes": [
        "V1",
        "2/2"
    ]
}