Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/116991/?format=api
http://patches.dpdk.org/api/patches/116991/?format=api", "web_url": "http://patches.dpdk.org/project/dts/patch/20220928031836.770004-15-ke1.xu@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": "<20220928031836.770004-15-ke1.xu@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dts/20220928031836.770004-15-ke1.xu@intel.com", "date": "2022-09-28T03:18:45", "name": "[V1,14/21] tests/ice_dcf_flow_priority: update test plan to support represented port action from deprecated vf action", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": false, "hash": "d2e4975b6566c0a6c56dc520c8f4347c96e0968d", "submitter": { "id": 2810, "url": "http://patches.dpdk.org/api/people/2810/?format=api", "name": "Ke Xu", "email": "ke1.xu@intel.com" }, "delegate": null, "mbox": "http://patches.dpdk.org/project/dts/patch/20220928031836.770004-15-ke1.xu@intel.com/mbox/", "series": [ { "id": 24869, "url": "http://patches.dpdk.org/api/series/24869/?format=api", "web_url": "http://patches.dpdk.org/project/dts/list/?series=24869", "date": "2022-09-28T03:18:17", "name": "update test plans and tests to support represented port action and port representor action from deprecated vf action on DCF cases", "version": 1, "mbox": "http://patches.dpdk.org/series/24869/mbox/" } ], "comments": "http://patches.dpdk.org/api/patches/116991/comments/", "check": "pending", "checks": "http://patches.dpdk.org/api/patches/116991/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 6C7FBA00C2;\n\tWed, 28 Sep 2022 05:27:15 +0200 (CEST)", "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 682EC4114E;\n\tWed, 28 Sep 2022 05:27:15 +0200 (CEST)", "from mga09.intel.com (mga09.intel.com [134.134.136.24])\n by mails.dpdk.org (Postfix) with ESMTP id AF5D140E25\n for <dts@dpdk.org>; Wed, 28 Sep 2022 05:27:12 +0200 (CEST)", "from fmsmga003.fm.intel.com ([10.253.24.29])\n by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 27 Sep 2022 20:27:11 -0700", "from unknown (HELO DPDK-XUKE-LAB.sh.intel.com) ([10.67.116.226])\n by FMSMGA003.fm.intel.com with ESMTP; 27 Sep 2022 20:27:08 -0700" ], "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple;\n d=intel.com; i=@intel.com; q=dns/txt; s=Intel;\n t=1664335632; x=1695871632;\n h=from:to:cc:subject:date:message-id:in-reply-to:\n references:mime-version:content-transfer-encoding;\n bh=SBlqbuB2Gs0I1pSoYNrMPVMJ+RJL+XRrj+TE3VzdDoM=;\n b=Sp4QgxjEq3Lx8ivjLKus/DkzgYFAWcl9ojcR7y7cRhBJ7R38TE2Ns2xg\n Aq9qC8rccwwy+9dyH/WMLVl2mTGUlX8onMJw0Phpmk6ZdBP7VHeDaGd2O\n /Rx0cye5pG2onmu/65PP1aCCubTnwZx/vMBDtqWUN3KXs+dwD1wKX2gjz\n ixEuL1kBf/US+n2NuoXSmwVUeYgELKeRtSIodNHV4gUFQs45doeBYiIhD\n EUhODaWR82pkVo+GlyKDil5fh3BwKbHsLn7UZW/M1ZfYjoF1qWlwTpDRu\n nIGBTU8xPeJHoTCiKypkEyyiU+57Lg+I7PCDN4eM1IoLy9AYHyJyJsyUI Q==;", "X-IronPort-AV": [ "E=McAfee;i=\"6500,9779,10483\"; a=\"302405191\"", "E=Sophos;i=\"5.93,350,1654585200\"; d=\"scan'208\";a=\"302405191\"", "E=McAfee;i=\"6500,9779,10483\"; a=\"710803287\"", "E=Sophos;i=\"5.93,350,1654585200\"; d=\"scan'208\";a=\"710803287\"" ], "X-ExtLoop1": "1", "From": "Ke Xu <ke1.xu@intel.com>", "To": "dts@dpdk.org", "Cc": "lijuan.tu@intel.com, jin.ling@intel.com, zhiminx.huang@intel.com,\n weiyuanx.li@intel.com, qi.fu@intel.com, Ke Xu <ke1.xu@intel.com>", "Subject": "[DTS][PATCH V1 14/21] tests/ice_dcf_flow_priority: update test plan\n to support represented port action from deprecated vf action", "Date": "Wed, 28 Sep 2022 03:18:45 +0000", "Message-Id": "<20220928031836.770004-15-ke1.xu@intel.com>", "X-Mailer": "git-send-email 2.25.1", "In-Reply-To": "<20220928031836.770004-1-ke1.xu@intel.com>", "References": "<20220928031836.770004-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": "Signed-off-by: Weiyuan Li <weiyuanx.li@intel.com>\nReviewed-by: Ke Xu <ke1.xu@intel.com>\n---\n tests/TestSuite_ice_dcf_flow_priority.py | 460 ++++++++++++-----------\n 1 file changed, 234 insertions(+), 226 deletions(-)", "diff": "diff --git a/tests/TestSuite_ice_dcf_flow_priority.py b/tests/TestSuite_ice_dcf_flow_priority.py\nindex 939ef96d..e06c6462 100644\n--- a/tests/TestSuite_ice_dcf_flow_priority.py\n+++ b/tests/TestSuite_ice_dcf_flow_priority.py\n@@ -16,14 +16,14 @@ from framework.utils import BLUE, GREEN, RED\n \n tv_mac_pay = {\n \"name\": \"tv_mac_pay\",\n- \"rte_flow_pattern\": \"flow create 0 ingress pattern eth src is 00:00:00:00:00:01 dst is 00:11:22:33:44:55 type is 0x0800 / end actions vf id 1 / end\",\n+ \"rte_flow_pattern\": \"flow create 0 ingress pattern eth src is 00:00:00:00:00:01 dst is 00:11:22:33:44:55 type is 0x0800 / end actions represented_port ethdev_port_id 1 / end\",\n \"matched\": {\n \"scapy_str\": [\n 'Ether(src=\"00:00:00:00:00:01\",dst=\"00:11:22:33:44:55\")/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\": 4, \"expect_queues\": \"null\"},\n },\n \"expect_results\": {\"expect_pkts\": 1},\n },\n@@ -35,7 +35,7 @@ tv_mac_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\": 4, \"expect_queues\": \"null\"},\n },\n \"expect_results\": {\"expect_pkts\": 0},\n },\n@@ -43,14 +43,14 @@ tv_mac_pay = {\n \n tv_mac_ipv4_frag = {\n \"name\": \"tv_mac_ipv4_frag\",\n- \"rte_flow_pattern\": \"flow create 0 ingress pattern eth dst is 68:05:ca:8d:ed:a8 / ipv4 src is 192.168.0.1 dst is 192.168.0.2 tos is 4 ttl is 2 / end actions vf id 1 / end\",\n+ \"rte_flow_pattern\": \"flow create 0 ingress pattern eth dst is 68:05:ca:8d:ed:a8 / ipv4 src is 192.168.0.1 dst is 192.168.0.2 tos is 4 ttl is 2 / end actions represented_port ethdev_port_id 1 / end\",\n \"matched\": {\n \"scapy_str\": [\n 'Ether(dst=\"68:05:ca:8d:ed:a8\")/IP(src=\"192.168.0.1\",dst=\"192.168.0.2\",tos=4,ttl=2,frag=5)/(\"X\"*480)'\n ],\n \"check_func\": {\n \"func\": rfc.check_vf_rx_packets_number,\n- \"param\": {\"expect_port\": 1, \"expect_queues\": \"null\"},\n+ \"param\": {\"expect_port\": 4, \"expect_queues\": \"null\"},\n },\n \"expect_results\": {\"expect_pkts\": 1},\n },\n@@ -64,7 +64,7 @@ tv_mac_ipv4_frag = {\n ],\n \"check_func\": {\n \"func\": rfc.check_vf_rx_packets_number,\n- \"param\": {\"expect_port\": 1, \"expect_queues\": \"null\"},\n+ \"param\": {\"expect_port\": 4, \"expect_queues\": \"null\"},\n },\n \"expect_results\": {\"expect_pkts\": 0},\n },\n@@ -72,14 +72,14 @@ tv_mac_ipv4_frag = {\n \n tv_mac_ipv4_pay = {\n \"name\": \"tv_mac_ipv4_pay\",\n- \"rte_flow_pattern\": \"flow create 0 ingress pattern eth dst is 68:05:ca:8d:ed:a8 / ipv4 src is 192.168.0.1 dst is 192.168.0.2 proto is 6 tos is 4 ttl is 2 / end actions vf id 1 / end\",\n+ \"rte_flow_pattern\": \"flow create 0 ingress pattern eth dst is 68:05:ca:8d:ed:a8 / ipv4 src is 192.168.0.1 dst is 192.168.0.2 proto is 6 tos is 4 ttl is 2 / end actions represented_port ethdev_port_id 1 / end\",\n \"matched\": {\n \"scapy_str\": [\n 'Ether(dst=\"68:05:ca:8d:ed:a8\")/IP(src=\"192.168.0.1\",dst=\"192.168.0.2\",tos=4,ttl=2)/TCP()/(\"X\"*480)'\n ],\n \"check_func\": {\n \"func\": rfc.check_vf_rx_packets_number,\n- \"param\": {\"expect_port\": 1, \"expect_queues\": \"null\"},\n+ \"param\": {\"expect_port\": 4, \"expect_queues\": \"null\"},\n },\n \"expect_results\": {\"expect_pkts\": 1},\n },\n@@ -94,7 +94,7 @@ tv_mac_ipv4_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\": 4, \"expect_queues\": \"null\"},\n },\n \"expect_results\": {\"expect_pkts\": 0},\n },\n@@ -102,14 +102,14 @@ tv_mac_ipv4_pay = {\n \n tv_mac_ipv4_udp_pay = {\n \"name\": \"tv_mac_ipv4_udp_pay\",\n- \"rte_flow_pattern\": \"flow create 0 ingress pattern eth dst is 68:05:ca:8d:ed:a8 / ipv4 src is 192.168.0.1 dst is 192.168.0.2 tos is 4 ttl is 3 / udp src is 25 dst is 23 / end actions vf id 1 / end\",\n+ \"rte_flow_pattern\": \"flow create 0 ingress pattern eth dst is 68:05:ca:8d:ed:a8 / ipv4 src is 192.168.0.1 dst is 192.168.0.2 tos is 4 ttl is 3 / udp src is 25 dst is 23 / end actions represented_port ethdev_port_id 1 / end\",\n \"matched\": {\n \"scapy_str\": [\n 'Ether(dst=\"68:05:ca:8d:ed:a8\")/IP(src=\"192.168.0.1\",dst=\"192.168.0.2\",tos=4,ttl=3)/UDP(sport=25,dport=23)/(\"X\"*480)'\n ],\n \"check_func\": {\n \"func\": rfc.check_vf_rx_packets_number,\n- \"param\": {\"expect_port\": 1, \"expect_queues\": \"null\"},\n+ \"param\": {\"expect_port\": 4, \"expect_queues\": \"null\"},\n },\n \"expect_results\": {\"expect_pkts\": 1},\n },\n@@ -125,7 +125,7 @@ tv_mac_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\": 4, \"expect_queues\": \"null\"},\n },\n \"expect_results\": {\"expect_pkts\": 0},\n },\n@@ -133,14 +133,14 @@ tv_mac_ipv4_udp_pay = {\n \n tv_mac_ipv4_tcp_pay = {\n \"name\": \"tv_mac_ipv4_tcp_pay\",\n- \"rte_flow_pattern\": \"flow create 0 ingress pattern eth dst is 68:05:ca:8d:ed:a8 / ipv4 src is 192.168.0.1 dst is 192.168.0.2 tos is 4 ttl is 3 / tcp src is 25 dst is 23 / end actions vf id 1 / end\",\n+ \"rte_flow_pattern\": \"flow create 0 ingress pattern eth dst is 68:05:ca:8d:ed:a8 / ipv4 src is 192.168.0.1 dst is 192.168.0.2 tos is 4 ttl is 3 / tcp src is 25 dst is 23 / end actions represented_port ethdev_port_id 1 / end\",\n \"matched\": {\n \"scapy_str\": [\n 'Ether(dst=\"68:05:ca:8d:ed:a8\")/IP(src=\"192.168.0.1\",dst=\"192.168.0.2\",tos=4,ttl=3)/TCP(sport=25,dport=23)/(\"X\"*480)'\n ],\n \"check_func\": {\n \"func\": rfc.check_vf_rx_packets_number,\n- \"param\": {\"expect_port\": 1, \"expect_queues\": \"null\"},\n+ \"param\": {\"expect_port\": 4, \"expect_queues\": \"null\"},\n },\n \"expect_results\": {\"expect_pkts\": 1},\n },\n@@ -156,7 +156,7 @@ tv_mac_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\": 4, \"expect_queues\": \"null\"},\n },\n \"expect_results\": {\"expect_pkts\": 0},\n },\n@@ -164,12 +164,12 @@ tv_mac_ipv4_tcp_pay = {\n \n tv_mac_ipv4_igmp = {\n \"name\": \"tv_mac_ipv4_igmp\",\n- \"rte_flow_pattern\": \"flow create 0 ingress pattern eth / ipv4 proto is 0x02 / end actions vf id 1 / end\",\n+ \"rte_flow_pattern\": \"flow create 0 ingress pattern eth / ipv4 proto is 0x02 / end actions represented_port ethdev_port_id 1 / end\",\n \"matched\": {\n \"scapy_str\": ['Ether(dst=\"00:11:22:33:44:55\")/IP()/IGMP()/Raw(\"X\"*480)'],\n \"check_func\": {\n \"func\": rfc.check_vf_rx_packets_number,\n- \"param\": {\"expect_port\": 1, \"expect_queues\": \"null\"},\n+ \"param\": {\"expect_port\": 4, \"expect_queues\": \"null\"},\n },\n \"expect_results\": {\"expect_pkts\": 1},\n },\n@@ -180,7 +180,7 @@ tv_mac_ipv4_igmp = {\n ],\n \"check_func\": {\n \"func\": rfc.check_vf_rx_packets_number,\n- \"param\": {\"expect_port\": 1, \"expect_queues\": \"null\"},\n+ \"param\": {\"expect_port\": 4, \"expect_queues\": \"null\"},\n },\n \"expect_results\": {\"expect_pkts\": 0},\n },\n@@ -188,7 +188,7 @@ tv_mac_ipv4_igmp = {\n \n tv_mac_ipv6_srcip_dstip = {\n \"name\": \"tv_mac_ipv6_srcip_dstip\",\n- \"rte_flow_pattern\": \"flow create 0 ingress pattern eth / ipv6 src is CDCD:910A:2222:5498:8475:1111:3900:1536 dst is CDCD:910A:2222:5498:8475:1111:3900:2020 / end actions vf id 1 / end\",\n+ \"rte_flow_pattern\": \"flow create 0 ingress pattern eth / ipv6 src is CDCD:910A:2222:5498:8475:1111:3900:1536 dst is CDCD:910A:2222:5498:8475:1111:3900:2020 / end actions represented_port ethdev_port_id 1 / end\",\n \"matched\": {\n \"scapy_str\": [\n 'Ether(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:2020\")/(\"X\"*480)',\n@@ -196,7 +196,7 @@ tv_mac_ipv6_srcip_dstip = {\n ],\n \"check_func\": {\n \"func\": rfc.check_vf_rx_packets_number,\n- \"param\": {\"expect_port\": 1, \"expect_queues\": \"null\"},\n+ \"param\": {\"expect_port\": 4, \"expect_queues\": \"null\"},\n },\n \"expect_results\": {\"expect_pkts\": 2},\n },\n@@ -209,7 +209,7 @@ tv_mac_ipv6_srcip_dstip = {\n ],\n \"check_func\": {\n \"func\": rfc.check_vf_rx_packets_number,\n- \"param\": {\"expect_port\": 1, \"expect_queues\": \"null\"},\n+ \"param\": {\"expect_port\": 4, \"expect_queues\": \"null\"},\n },\n \"expect_results\": {\"expect_pkts\": 0},\n },\n@@ -217,7 +217,7 @@ tv_mac_ipv6_srcip_dstip = {\n \n tv_mac_ipv6_dstip_tc = {\n \"name\": \"tv_mac_ipv6_dstip_tc\",\n- \"rte_flow_pattern\": \"flow create 0 ingress pattern eth dst is 68:05:ca:8d:ed:a8 / ipv6 dst is CDCD:910A:2222:5498:8475:1111:3900:2020 tc is 3 / end actions vf id 1 / end\",\n+ \"rte_flow_pattern\": \"flow create 0 ingress pattern eth dst is 68:05:ca:8d:ed:a8 / ipv6 dst is CDCD:910A:2222:5498:8475:1111:3900:2020 tc is 3 / end actions represented_port ethdev_port_id 1 / end\",\n \"matched\": {\n \"scapy_str\": [\n 'Ether(dst=\"68:05:ca:8d:ed:a8\")/IPv6(src=\"CDCD:910A:2222:5498:8475:1111:3900:1518\", dst=\"CDCD:910A:2222:5498:8475:1111:3900:2020\",tc=3)/(\"X\"*480)',\n@@ -225,7 +225,7 @@ tv_mac_ipv6_dstip_tc = {\n ],\n \"check_func\": {\n \"func\": rfc.check_vf_rx_packets_number,\n- \"param\": {\"expect_port\": 1, \"expect_queues\": \"null\"},\n+ \"param\": {\"expect_port\": 4, \"expect_queues\": \"null\"},\n },\n \"expect_results\": {\"expect_pkts\": 2},\n },\n@@ -240,7 +240,7 @@ tv_mac_ipv6_dstip_tc = {\n ],\n \"check_func\": {\n \"func\": rfc.check_vf_rx_packets_number,\n- \"param\": {\"expect_port\": 1, \"expect_queues\": \"null\"},\n+ \"param\": {\"expect_port\": 4, \"expect_queues\": \"null\"},\n },\n \"expect_results\": {\"expect_pkts\": 0},\n },\n@@ -248,14 +248,14 @@ tv_mac_ipv6_dstip_tc = {\n \n tv_mac_ipv6_udp_pay = {\n \"name\": \"tv_mac_ipv6_udp_pay\",\n- \"rte_flow_pattern\": \"flow create 0 ingress pattern eth dst is 68:05:ca:8d:ed:a8 / ipv6 dst is CDCD:910A:2222:5498:8475:1111:3900:2020 tc is 3 / udp src is 25 dst is 23 / end actions vf id 1 / end\",\n+ \"rte_flow_pattern\": \"flow create 0 ingress pattern eth dst is 68:05:ca:8d:ed:a8 / ipv6 dst is CDCD:910A:2222:5498:8475:1111:3900:2020 tc is 3 / udp src is 25 dst is 23 / end actions represented_port ethdev_port_id 1 / end\",\n \"matched\": {\n \"scapy_str\": [\n 'Ether(dst=\"68:05:ca:8d:ed:a8\")/IPv6(src=\"CDCD:910A:2222:5498:8475:1111:3900:1518\", dst=\"CDCD:910A:2222:5498:8475:1111:3900:2020\",tc=3)/UDP(sport=25,dport=23)/(\"X\"*480)'\n ],\n \"check_func\": {\n \"func\": rfc.check_vf_rx_packets_number,\n- \"param\": {\"expect_port\": 1, \"expect_queues\": \"null\"},\n+ \"param\": {\"expect_port\": 4, \"expect_queues\": \"null\"},\n },\n \"expect_results\": {\"expect_pkts\": 1},\n },\n@@ -269,7 +269,7 @@ tv_mac_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\": 4, \"expect_queues\": \"null\"},\n },\n \"expect_results\": {\"expect_pkts\": 0},\n },\n@@ -277,14 +277,14 @@ tv_mac_ipv6_udp_pay = {\n \n tv_mac_ipv6_tcp = {\n \"name\": \"tv_mac_ipv6_tcp\",\n- \"rte_flow_pattern\": \"flow create 0 ingress pattern eth dst is 68:05:ca:8d:ed:a8 / ipv6 dst is CDCD:910A:2222:5498:8475:1111:3900:2020 tc is 3 / tcp src is 25 dst is 23 / end actions vf id 1 / end\",\n+ \"rte_flow_pattern\": \"flow create 0 ingress pattern eth dst is 68:05:ca:8d:ed:a8 / ipv6 dst is CDCD:910A:2222:5498:8475:1111:3900:2020 tc is 3 / tcp src is 25 dst is 23 / end actions represented_port ethdev_port_id 1 / end\",\n \"matched\": {\n \"scapy_str\": [\n 'Ether(dst=\"68:05:ca:8d:ed:a8\")/IPv6(src=\"CDCD:910A:2222:5498:8475:1111:3900:1518\", dst=\"CDCD:910A:2222:5498:8475:1111:3900:2020\",tc=3)/TCP(sport=25,dport=23)/(\"X\"*480)'\n ],\n \"check_func\": {\n \"func\": rfc.check_vf_rx_packets_number,\n- \"param\": {\"expect_port\": 1, \"expect_queues\": \"null\"},\n+ \"param\": {\"expect_port\": 4, \"expect_queues\": \"null\"},\n },\n \"expect_results\": {\"expect_pkts\": 1},\n },\n@@ -298,7 +298,7 @@ tv_mac_ipv6_tcp = {\n ],\n \"check_func\": {\n \"func\": rfc.check_vf_rx_packets_number,\n- \"param\": {\"expect_port\": 1, \"expect_queues\": \"null\"},\n+ \"param\": {\"expect_port\": 4, \"expect_queues\": \"null\"},\n },\n \"expect_results\": {\"expect_pkts\": 0},\n },\n@@ -306,7 +306,7 @@ tv_mac_ipv6_tcp = {\n \n tv_mac_ipv4_nvgre_ipv4_pay = {\n \"name\": \"tv_mac_ipv4_nvgre_ipv4_pay\",\n- \"rte_flow_pattern\": \"flow create 0 ingress pattern eth / ipv4 dst is 192.168.0.1 / nvgre tni is 2 / eth / ipv4 src is 192.168.1.2 dst is 192.168.1.3 / end actions vf id 1 / end\",\n+ \"rte_flow_pattern\": \"flow create 0 ingress pattern eth / ipv4 dst is 192.168.0.1 / nvgre tni is 2 / eth / ipv4 src is 192.168.1.2 dst is 192.168.1.3 / end actions represented_port ethdev_port_id 1 / end\",\n \"matched\": {\n \"scapy_str\": [\n 'Ether()/IP(dst=\"192.168.0.1\")/NVGRE(TNI=2)/Ether()/IP(src=\"192.168.1.2\", dst=\"192.168.1.3\")/Raw(\"x\"*80)',\n@@ -314,7 +314,7 @@ tv_mac_ipv4_nvgre_ipv4_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\": 4, \"expect_queues\": \"null\"},\n },\n \"expect_results\": {\"expect_pkts\": 2},\n },\n@@ -331,7 +331,7 @@ tv_mac_ipv4_nvgre_ipv4_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\": 4, \"expect_queues\": \"null\"},\n },\n \"expect_results\": {\"expect_pkts\": 0},\n },\n@@ -339,14 +339,14 @@ tv_mac_ipv4_nvgre_ipv4_pay = {\n \n tv_mac_ipv4_nvgre_ipv4_udp_pay = {\n \"name\": \"tv_mac_ipv4_nvgre_ipv4_udp_pay\",\n- \"rte_flow_pattern\": \"flow create 0 ingress pattern eth / ipv4 dst is 192.168.0.1 / nvgre tni is 0x8 / eth / ipv4 src is 192.168.0.2 dst is 192.168.0.3 / udp src is 50 dst is 23 / end actions vf id 1 / end\",\n+ \"rte_flow_pattern\": \"flow create 0 ingress pattern eth / ipv4 dst is 192.168.0.1 / nvgre tni is 0x8 / eth / ipv4 src is 192.168.0.2 dst is 192.168.0.3 / udp src is 50 dst is 23 / end actions represented_port ethdev_port_id 1 / end\",\n \"matched\": {\n \"scapy_str\": [\n 'Ether()/IP(dst=\"192.168.0.1\")/NVGRE(TNI=0x8)/Ether()/IP(src=\"192.168.0.2\", dst=\"192.168.0.3\")/UDP(sport=50,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\": 4, \"expect_queues\": \"null\"},\n },\n \"expect_results\": {\"expect_pkts\": 1},\n },\n@@ -361,7 +361,7 @@ tv_mac_ipv4_nvgre_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\": 4, \"expect_queues\": \"null\"},\n },\n \"expect_results\": {\"expect_pkts\": 0},\n },\n@@ -369,14 +369,14 @@ tv_mac_ipv4_nvgre_ipv4_udp_pay = {\n \n tv_mac_ipv4_nvgre_ipv4_tcp = {\n \"name\": \"tv_mac_ipv4_nvgre_ipv4_tcp\",\n- \"rte_flow_pattern\": \"flow create 0 ingress pattern eth / ipv4 dst is 192.168.0.1 / nvgre tni is 2 / eth / ipv4 src is 192.168.1.2 dst is 192.168.1.3 / tcp src is 25 dst is 23 / end actions vf id 1 / end\",\n+ \"rte_flow_pattern\": \"flow create 0 ingress pattern eth / ipv4 dst is 192.168.0.1 / nvgre tni is 2 / eth / ipv4 src is 192.168.1.2 dst is 192.168.1.3 / tcp src is 25 dst is 23 / end actions represented_port ethdev_port_id 1 / end\",\n \"matched\": {\n \"scapy_str\": [\n 'Ether()/IP(dst=\"192.168.0.1\")/NVGRE(TNI=2)/Ether()/IP(src=\"192.168.1.2\", dst=\"192.168.1.3\")/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\": 4, \"expect_queues\": \"null\"},\n },\n \"expect_results\": {\"expect_pkts\": 1},\n },\n@@ -391,7 +391,7 @@ tv_mac_ipv4_nvgre_ipv4_tcp = {\n ],\n \"check_func\": {\n \"func\": rfc.check_vf_rx_packets_number,\n- \"param\": {\"expect_port\": 1, \"expect_queues\": \"null\"},\n+ \"param\": {\"expect_port\": 4, \"expect_queues\": \"null\"},\n },\n \"expect_results\": {\"expect_pkts\": 0},\n },\n@@ -399,7 +399,7 @@ tv_mac_ipv4_nvgre_ipv4_tcp = {\n \n tv_mac_ipv4_nvgre_mac_ipv4_pay = {\n \"name\": \"tv_mac_ipv4_nvgre_mac_ipv4_pay\",\n- \"rte_flow_pattern\": \"flow create 0 ingress pattern eth / ipv4 dst is 192.168.0.1 / nvgre tni is 2 / eth dst is 68:05:ca:8d:ed:a8 / ipv4 src is 192.168.1.2 dst is 192.168.1.3 / end actions vf id 1 / end\",\n+ \"rte_flow_pattern\": \"flow create 0 ingress pattern eth / ipv4 dst is 192.168.0.1 / nvgre tni is 2 / eth dst is 68:05:ca:8d:ed:a8 / ipv4 src is 192.168.1.2 dst is 192.168.1.3 / end actions represented_port ethdev_port_id 1 / end\",\n \"matched\": {\n \"scapy_str\": [\n 'Ether()/IP(dst=\"192.168.0.1\")/NVGRE(TNI=2)/Ether(dst=\"68:05:ca:8d:ed:a8\")/IP(src=\"192.168.1.2\", dst=\"192.168.1.3\")/Raw(\"x\"*80)',\n@@ -407,7 +407,7 @@ tv_mac_ipv4_nvgre_mac_ipv4_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\": 4, \"expect_queues\": \"null\"},\n },\n \"expect_results\": {\"expect_pkts\": 2},\n },\n@@ -426,7 +426,7 @@ tv_mac_ipv4_nvgre_mac_ipv4_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\": 4, \"expect_queues\": \"null\"},\n },\n \"expect_results\": {\"expect_pkts\": 0},\n },\n@@ -434,14 +434,14 @@ tv_mac_ipv4_nvgre_mac_ipv4_pay = {\n \n tv_mac_ipv4_nvgre_mac_ipv4_udp_pay = {\n \"name\": \"tv_mac_ipv4_nvgre_mac_ipv4_udp_pay\",\n- \"rte_flow_pattern\": \"flow create 0 ingress pattern eth / ipv4 dst is 192.168.0.1 / nvgre tni is 0x8 / eth dst is 68:05:ca:8d:ed:a8 / ipv4 src is 192.168.1.2 dst is 192.168.1.3 / udp src is 25 dst is 23 / end actions vf id 1 / end\",\n+ \"rte_flow_pattern\": \"flow create 0 ingress pattern eth / ipv4 dst is 192.168.0.1 / nvgre tni is 0x8 / eth dst is 68:05:ca:8d:ed:a8 / ipv4 src is 192.168.1.2 dst is 192.168.1.3 / udp src is 25 dst is 23 / end actions represented_port ethdev_port_id 1 / end\",\n \"matched\": {\n \"scapy_str\": [\n 'Ether()/IP(dst=\"192.168.0.1\")/NVGRE(TNI=0x8)/Ether(dst=\"68:05:ca:8d:ed:a8\")/IP(src=\"192.168.1.2\", dst=\"192.168.1.3\")/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\": 4, \"expect_queues\": \"null\"},\n },\n \"expect_results\": {\"expect_pkts\": 1},\n },\n@@ -457,7 +457,7 @@ tv_mac_ipv4_nvgre_mac_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\": 4, \"expect_queues\": \"null\"},\n },\n \"expect_results\": {\"expect_pkts\": 0},\n },\n@@ -465,14 +465,14 @@ tv_mac_ipv4_nvgre_mac_ipv4_udp_pay = {\n \n tv_mac_ipv4_nvgre_mac_ipv4_tcp = {\n \"name\": \"tv_mac_ipv4_nvgre_mac_ipv4_tcp\",\n- \"rte_flow_pattern\": \"flow create 0 ingress pattern eth / ipv4 dst is 192.168.0.1 / nvgre tni is 2 / eth dst is 68:05:ca:8d:ed:a8 / ipv4 src is 192.168.1.2 dst is 192.168.1.3 / tcp src is 25 dst is 23 / end actions vf id 1 / end\",\n+ \"rte_flow_pattern\": \"flow create 0 ingress pattern eth / ipv4 dst is 192.168.0.1 / nvgre tni is 2 / eth dst is 68:05:ca:8d:ed:a8 / ipv4 src is 192.168.1.2 dst is 192.168.1.3 / tcp src is 25 dst is 23 / end actions represented_port ethdev_port_id 1 / end\",\n \"matched\": {\n \"scapy_str\": [\n 'Ether()/IP(dst=\"192.168.0.1\")/NVGRE(TNI=2)/Ether(dst=\"68:05:ca:8d:ed:a8\")/IP(src=\"192.168.1.2\", dst=\"192.168.1.3\")/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\": 4, \"expect_queues\": \"null\"},\n },\n \"expect_results\": {\"expect_pkts\": 1},\n },\n@@ -488,7 +488,7 @@ tv_mac_ipv4_nvgre_mac_ipv4_tcp = {\n ],\n \"check_func\": {\n \"func\": rfc.check_vf_rx_packets_number,\n- \"param\": {\"expect_port\": 1, \"expect_queues\": \"null\"},\n+ \"param\": {\"expect_port\": 4, \"expect_queues\": \"null\"},\n },\n \"expect_results\": {\"expect_pkts\": 0},\n },\n@@ -496,12 +496,12 @@ tv_mac_ipv4_nvgre_mac_ipv4_tcp = {\n \n tv_ip_multicast = {\n \"name\": \"tv_ip_multicast\",\n- \"rte_flow_pattern\": \"flow create 0 ingress pattern eth / ipv4 dst spec 224.0.0.0 dst mask 240.0.0.0 / end actions vf id 1 / end\",\n+ \"rte_flow_pattern\": \"flow create 0 ingress pattern eth / ipv4 dst spec 224.0.0.0 dst mask 240.0.0.0 / end actions represented_port ethdev_port_id 1 / end\",\n \"matched\": {\n \"scapy_str\": ['Ether()/IP(dst=\"239.0.0.0\")/TCP()/Raw(\"x\"*80)'],\n \"check_func\": {\n \"func\": rfc.check_vf_rx_packets_number,\n- \"param\": {\"expect_port\": 1, \"expect_queues\": \"null\"},\n+ \"param\": {\"expect_port\": 4, \"expect_queues\": \"null\"},\n },\n \"expect_results\": {\"expect_pkts\": 1},\n },\n@@ -509,7 +509,7 @@ tv_ip_multicast = {\n \"scapy_str\": ['Ether()/IP(dst=\"128.0.0.0\")/TCP()/Raw(\"x\"*80)'],\n \"check_func\": {\n \"func\": rfc.check_vf_rx_packets_number,\n- \"param\": {\"expect_port\": 1, \"expect_queues\": \"null\"},\n+ \"param\": {\"expect_port\": 4, \"expect_queues\": \"null\"},\n },\n \"expect_results\": {\"expect_pkts\": 0},\n },\n@@ -517,12 +517,12 @@ tv_ip_multicast = {\n \n tv_l2_multicast = {\n \"name\": \"tv_l2_multicast\",\n- \"rte_flow_pattern\": \"flow create 0 ingress pattern eth dst spec 01:00:5e:00:00:00 dst mask ff:ff:ff:80:00:00 / end actions vf id 1 / end\",\n+ \"rte_flow_pattern\": \"flow create 0 ingress pattern eth dst spec 01:00:5e:00:00:00 dst mask ff:ff:ff:80:00:00 / end actions represented_port ethdev_port_id 1 / end\",\n \"matched\": {\n \"scapy_str\": ['Ether(dst=\"01:00:5e:7f:00:00\")/IP()/TCP()/Raw(\"x\"*80)'],\n \"check_func\": {\n \"func\": rfc.check_vf_rx_packets_number,\n- \"param\": {\"expect_port\": 1, \"expect_queues\": \"null\"},\n+ \"param\": {\"expect_port\": 4, \"expect_queues\": \"null\"},\n },\n \"expect_results\": {\"expect_pkts\": 1},\n },\n@@ -530,7 +530,7 @@ tv_l2_multicast = {\n \"scapy_str\": ['Ether(dst=\"01:00:5e:ff:00:00\")/IP()/TCP()/Raw(\"x\"*80)'],\n \"check_func\": {\n \"func\": rfc.check_vf_rx_packets_number,\n- \"param\": {\"expect_port\": 1, \"expect_queues\": \"null\"},\n+ \"param\": {\"expect_port\": 4, \"expect_queues\": \"null\"},\n },\n \"expect_results\": {\"expect_pkts\": 0},\n },\n@@ -538,14 +538,14 @@ tv_l2_multicast = {\n \n tv_ethertype_filter_pppod = {\n \"name\": \"tv_ethertype_filter_pppod\",\n- \"rte_flow_pattern\": \"flow create 0 ingress pattern eth type is 0x8863 / end actions vf id 1 / end\",\n+ \"rte_flow_pattern\": \"flow create 0 ingress pattern eth type is 0x8863 / end actions represented_port ethdev_port_id 1 / end\",\n \"matched\": {\n \"scapy_str\": [\n 'Ether(dst=\"00:11:22:33:44:55\")/PPPoED()/PPP()/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\": 4, \"expect_queues\": \"null\"},\n },\n \"expect_results\": {\"expect_pkts\": 1},\n },\n@@ -553,7 +553,7 @@ tv_ethertype_filter_pppod = {\n \"scapy_str\": ['Ether(dst=\"00:11:22:33:44:55\")/PPPoE()/PPP()/IP()/Raw(\"x\" *80)'],\n \"check_func\": {\n \"func\": rfc.check_vf_rx_packets_number,\n- \"param\": {\"expect_port\": 1, \"expect_queues\": \"null\"},\n+ \"param\": {\"expect_port\": 4, \"expect_queues\": \"null\"},\n },\n \"expect_results\": {\"expect_pkts\": 0},\n },\n@@ -561,12 +561,12 @@ tv_ethertype_filter_pppod = {\n \n tv_ethertype_filter_pppoe = {\n \"name\": \"tv_ethertype_filter_pppoe\",\n- \"rte_flow_pattern\": \"flow create 0 ingress pattern eth type is 0x8864 / end actions vf id 1 / end\",\n+ \"rte_flow_pattern\": \"flow create 0 ingress pattern eth type is 0x8864 / end actions represented_port ethdev_port_id 1 / end\",\n \"matched\": {\n \"scapy_str\": ['Ether(dst=\"00:11:22:33:44:55\")/PPPoE()/PPP()/IP()/Raw(\"x\"*80)'],\n \"check_func\": {\n \"func\": rfc.check_vf_rx_packets_number,\n- \"param\": {\"expect_port\": 1, \"expect_queues\": \"null\"},\n+ \"param\": {\"expect_port\": 4, \"expect_queues\": \"null\"},\n },\n \"expect_results\": {\"expect_pkts\": 1},\n },\n@@ -574,7 +574,7 @@ tv_ethertype_filter_pppoe = {\n \"scapy_str\": ['Ether(dst=\"00:11:22:33:44:55\")/PPPoED()/PPP()/IP()/Raw(\"x\"*80)'],\n \"check_func\": {\n \"func\": rfc.check_vf_rx_packets_number,\n- \"param\": {\"expect_port\": 1, \"expect_queues\": \"null\"},\n+ \"param\": {\"expect_port\": 4, \"expect_queues\": \"null\"},\n },\n \"expect_results\": {\"expect_pkts\": 0},\n },\n@@ -582,7 +582,7 @@ tv_ethertype_filter_pppoe = {\n \n tv_ethertype_filter_ipv6 = {\n \"name\": \"tv_ethertype_filter_ipv6\",\n- \"rte_flow_pattern\": \"flow create 0 ingress pattern eth type is 0x86dd / end actions vf id 1 / end\",\n+ \"rte_flow_pattern\": \"flow create 0 ingress pattern eth type is 0x86dd / end actions represented_port ethdev_port_id 1 / end\",\n \"matched\": {\n \"scapy_str\": [\n 'Ether(dst=\"00:11:22:33:44:55\")/IPv6(dst=\"CDCD:910A:2222:5498:8475:1111:3900:2020\", tc=3)/TCP(dport=23)/(\"X\"*480)',\n@@ -590,7 +590,7 @@ tv_ethertype_filter_ipv6 = {\n ],\n \"check_func\": {\n \"func\": rfc.check_vf_rx_packets_number,\n- \"param\": {\"expect_port\": 1, \"expect_queues\": \"null\"},\n+ \"param\": {\"expect_port\": 4, \"expect_queues\": \"null\"},\n },\n \"expect_results\": {\"expect_pkts\": 2},\n },\n@@ -598,7 +598,7 @@ tv_ethertype_filter_ipv6 = {\n \"scapy_str\": ['Ether(dst=\"00:11:22:33:44:55\")/IP()/TCP(dport=23)/(\"X\"*480)'],\n \"check_func\": {\n \"func\": rfc.check_vf_rx_packets_number,\n- \"param\": {\"expect_port\": 1, \"expect_queues\": \"null\"},\n+ \"param\": {\"expect_port\": 4, \"expect_queues\": \"null\"},\n },\n \"expect_results\": {\"expect_pkts\": 0},\n },\n@@ -606,14 +606,14 @@ tv_ethertype_filter_ipv6 = {\n \n tv_udp_port_filter_dhcp_discovery = {\n \"name\": \"tv_udp_port_filter_dhcp_discovery\",\n- \"rte_flow_pattern\": \"flow create 0 ingress pattern eth / ipv4 / udp src is 68 dst is 67 / end actions vf id 1 / end\",\n+ \"rte_flow_pattern\": \"flow create 0 ingress pattern eth / ipv4 / udp src is 68 dst is 67 / end actions represented_port ethdev_port_id 1 / end\",\n \"matched\": {\n \"scapy_str\": [\n 'Ether(dst=\"00:11:22:33:44:55\")/IP()/UDP(sport=68,dport=67)/BOOTP(chaddr=\"3c:fd:fe:b2:43:90\")/DHCP(options=[(\"message-type\",\"discover\"),\"end\"])/Raw(\"X\"*480)'\n ],\n \"check_func\": {\n \"func\": rfc.check_vf_rx_packets_number,\n- \"param\": {\"expect_port\": 1, \"expect_queues\": \"null\"},\n+ \"param\": {\"expect_port\": 4, \"expect_queues\": \"null\"},\n },\n \"expect_results\": {\"expect_pkts\": 1},\n },\n@@ -624,7 +624,7 @@ tv_udp_port_filter_dhcp_discovery = {\n ],\n \"check_func\": {\n \"func\": rfc.check_vf_rx_packets_number,\n- \"param\": {\"expect_port\": 1, \"expect_queues\": \"null\"},\n+ \"param\": {\"expect_port\": 4, \"expect_queues\": \"null\"},\n },\n \"expect_results\": {\"expect_pkts\": 0},\n },\n@@ -632,14 +632,14 @@ tv_udp_port_filter_dhcp_discovery = {\n \n tv_udp_port_filter_dhcp_offer = {\n \"name\": \"tv_udp_port_filter_dhcp_offer\",\n- \"rte_flow_pattern\": \"flow create 0 ingress pattern eth / ipv4 / udp src is 67 dst is 68 / end actions vf id 1 / end\",\n+ \"rte_flow_pattern\": \"flow create 0 ingress pattern eth / ipv4 / udp src is 67 dst is 68 / end actions represented_port ethdev_port_id 1 / end\",\n \"matched\": {\n \"scapy_str\": [\n 'Ether(dst=\"00:11:22:33:44:55\")/IP()/UDP(sport=67,dport=68)/BOOTP(chaddr=\"3c:fd:fe:b2:43:90\",yiaddr=\"192.168.1.0\")/DHCP(options=[(\"message-type\",\"offer\"),\"end\"])/Raw(\"X\"*480)'\n ],\n \"check_func\": {\n \"func\": rfc.check_vf_rx_packets_number,\n- \"param\": {\"expect_port\": 1, \"expect_queues\": \"null\"},\n+ \"param\": {\"expect_port\": 4, \"expect_queues\": \"null\"},\n },\n \"expect_results\": {\"expect_pkts\": 1},\n },\n@@ -650,7 +650,7 @@ tv_udp_port_filter_dhcp_offer = {\n ],\n \"check_func\": {\n \"func\": rfc.check_vf_rx_packets_number,\n- \"param\": {\"expect_port\": 1, \"expect_queues\": \"null\"},\n+ \"param\": {\"expect_port\": 4, \"expect_queues\": \"null\"},\n },\n \"expect_results\": {\"expect_pkts\": 0},\n },\n@@ -658,14 +658,14 @@ tv_udp_port_filter_dhcp_offer = {\n \n tv_udp_port_filter_vxlan = {\n \"name\": \"tv_udp_port_filter_vxlan\",\n- \"rte_flow_pattern\": \"flow create 0 ingress pattern eth / ipv4 / udp dst is 4789 / end actions vf id 1 / end\",\n+ \"rte_flow_pattern\": \"flow create 0 ingress pattern eth / ipv4 / udp dst is 4789 / end actions represented_port ethdev_port_id 1 / end\",\n \"matched\": {\n \"scapy_str\": [\n 'Ether()/IP(dst=\"192.168.0.1\")/UDP()/VXLAN(vni=2)/Ether()/IP(src=\"192.168.0.2\", dst=\"192.168.0.3\",frag=5)/TCP()/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\": 4, \"expect_queues\": \"null\"},\n },\n \"expect_results\": {\"expect_pkts\": 1},\n },\n@@ -675,7 +675,7 @@ tv_udp_port_filter_vxlan = {\n ],\n \"check_func\": {\n \"func\": rfc.check_vf_rx_packets_number,\n- \"param\": {\"expect_port\": 1, \"expect_queues\": \"null\"},\n+ \"param\": {\"expect_port\": 4, \"expect_queues\": \"null\"},\n },\n \"expect_results\": {\"expect_pkts\": 0},\n },\n@@ -683,14 +683,14 @@ tv_udp_port_filter_vxlan = {\n \n tv_mac_vlan_filter = {\n \"name\": \"tv_mac_vlan_filter\",\n- \"rte_flow_pattern\": \"flow create 0 ingress pattern eth dst is 00:11:22:33:44:55 / vlan tci is 1 / 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 / 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)/IP(src=\"192.168.0.1\",dst=\"192.168.0.2\",tos=4,ttl=2)/TCP()/Raw(\"X\"*480)'\n ],\n \"check_func\": {\n \"func\": rfc.check_vf_rx_packets_number,\n- \"param\": {\"expect_port\": 1, \"expect_queues\": \"null\"},\n+ \"param\": {\"expect_port\": 4, \"expect_queues\": \"null\"},\n },\n \"expect_results\": {\"expect_pkts\": 1},\n },\n@@ -701,7 +701,7 @@ tv_mac_vlan_filter = {\n ],\n \"check_func\": {\n \"func\": rfc.check_vf_rx_packets_number,\n- \"param\": {\"expect_port\": 1, \"expect_queues\": \"null\"},\n+ \"param\": {\"expect_port\": 4, \"expect_queues\": \"null\"},\n },\n \"expect_results\": {\"expect_pkts\": 0},\n },\n@@ -709,14 +709,14 @@ tv_mac_vlan_filter = {\n \n tv_vlan_filter = {\n \"name\": \"tv_vlan_filter\",\n- \"rte_flow_pattern\": \"flow create 0 ingress pattern eth / vlan tci is 1 / end actions vf id 1 / end\",\n+ \"rte_flow_pattern\": \"flow create 0 ingress pattern eth / vlan tci is 1 / 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)/IP(src=\"192.168.0.1\",dst=\"192.168.0.2\",tos=4,ttl=2)/TCP()/Raw(\"X\"*480)'\n ],\n \"check_func\": {\n \"func\": rfc.check_vf_rx_packets_number,\n- \"param\": {\"expect_port\": 1, \"expect_queues\": \"null\"},\n+ \"param\": {\"expect_port\": 4, \"expect_queues\": \"null\"},\n },\n \"expect_results\": {\"expect_pkts\": 1},\n },\n@@ -726,7 +726,7 @@ tv_vlan_filter = {\n ],\n \"check_func\": {\n \"func\": rfc.check_vf_rx_packets_number,\n- \"param\": {\"expect_port\": 1, \"expect_queues\": \"null\"},\n+ \"param\": {\"expect_port\": 4, \"expect_queues\": \"null\"},\n },\n \"expect_results\": {\"expect_pkts\": 0},\n },\n@@ -734,14 +734,14 @@ tv_vlan_filter = {\n \n tv_mac_ipv4_l2tpv3 = {\n \"name\": \"tv_mac_ipv4_l2tpv3\",\n- \"rte_flow_pattern\": \"flow create 0 priority 0 ingress pattern eth / ipv4 src is 192.168.0.2 / l2tpv3oip session_id is 1 / end actions vf id 1 / end\",\n+ \"rte_flow_pattern\": \"flow create 0 priority 0 ingress pattern eth / ipv4 src is 192.168.0.2 / l2tpv3oip session_id is 1 / end actions represented_port ethdev_port_id 1 / end\",\n \"matched\": {\n \"scapy_str\": [\n \"Ether(dst='00:11:22:33:44:12')/IP(src='192.168.0.2', proto=115)/L2TP(b'\\\\x00\\\\x00\\\\x00\\\\x01')/('X'*480)\"\n ],\n \"check_func\": {\n \"func\": rfc.check_vf_rx_packets_number,\n- \"param\": {\"expect_port\": 1, \"expect_queues\": \"null\"},\n+ \"param\": {\"expect_port\": 4, \"expect_queues\": \"null\"},\n },\n \"expect_results\": {\"expect_pkts\": 1},\n },\n@@ -753,7 +753,7 @@ tv_mac_ipv4_l2tpv3 = {\n ],\n \"check_func\": {\n \"func\": rfc.check_vf_rx_packets_number,\n- \"param\": {\"expect_port\": 1, \"expect_queues\": \"null\"},\n+ \"param\": {\"expect_port\": 4, \"expect_queues\": \"null\"},\n },\n \"expect_results\": {\"expect_pkts\": 0},\n },\n@@ -761,14 +761,14 @@ tv_mac_ipv4_l2tpv3 = {\n \n tv_mac_ipv6_l2tpv3 = {\n \"name\": \"tv_mac_ipv6_l2tpv3\",\n- \"rte_flow_pattern\": \"flow create 0 priority 0 ingress pattern eth / ipv6 dst is 1111:2222:3333:4444:5555:6666:7777:8888 / l2tpv3oip session_id is 1 / end actions vf id 1 / end\",\n+ \"rte_flow_pattern\": \"flow create 0 priority 0 ingress pattern eth / ipv6 dst is 1111:2222:3333:4444:5555:6666:7777:8888 / l2tpv3oip session_id is 1 / end actions represented_port ethdev_port_id 1 / end\",\n \"matched\": {\n \"scapy_str\": [\n \"Ether(dst='00:11:22:33:44:13')/IPv6(dst='1111:2222:3333:4444:5555:6666:7777:8888', nh=115)/L2TP(b'\\\\x00\\\\x00\\\\x00\\\\x01')/('X'*480)\"\n ],\n \"check_func\": {\n \"func\": rfc.check_vf_rx_packets_number,\n- \"param\": {\"expect_port\": 1, \"expect_queues\": \"null\"},\n+ \"param\": {\"expect_port\": 4, \"expect_queues\": \"null\"},\n },\n \"expect_results\": {\"expect_pkts\": 1},\n },\n@@ -780,7 +780,7 @@ tv_mac_ipv6_l2tpv3 = {\n ],\n \"check_func\": {\n \"func\": rfc.check_vf_rx_packets_number,\n- \"param\": {\"expect_port\": 1, \"expect_queues\": \"null\"},\n+ \"param\": {\"expect_port\": 4, \"expect_queues\": \"null\"},\n },\n \"expect_results\": {\"expect_pkts\": 0},\n },\n@@ -788,14 +788,14 @@ tv_mac_ipv6_l2tpv3 = {\n \n tv_mac_ipv4_esp = {\n \"name\": \"tv_mac_ipv4_esp\",\n- \"rte_flow_pattern\": \"flow create 0 priority 0 ingress pattern eth / ipv4 src is 192.168.0.2 / esp spi is 1 / end actions vf id 1 / end\",\n+ \"rte_flow_pattern\": \"flow create 0 priority 0 ingress pattern eth / ipv4 src is 192.168.0.2 / esp spi is 1 / end actions represented_port ethdev_port_id 1 / end\",\n \"matched\": {\n \"scapy_str\": [\n 'Ether(dst=\"00:11:22:33:44:13\")/IP(src=\"192.168.0.2\", proto=50)/ESP(spi=1)/(\"X\"*480)'\n ],\n \"check_func\": {\n \"func\": rfc.check_vf_rx_packets_number,\n- \"param\": {\"expect_port\": 1, \"expect_queues\": \"null\"},\n+ \"param\": {\"expect_port\": 4, \"expect_queues\": \"null\"},\n },\n \"expect_results\": {\"expect_pkts\": 1},\n },\n@@ -807,7 +807,7 @@ tv_mac_ipv4_esp = {\n ],\n \"check_func\": {\n \"func\": rfc.check_vf_rx_packets_number,\n- \"param\": {\"expect_port\": 1, \"expect_queues\": \"null\"},\n+ \"param\": {\"expect_port\": 4, \"expect_queues\": \"null\"},\n },\n \"expect_results\": {\"expect_pkts\": 0},\n },\n@@ -815,14 +815,14 @@ tv_mac_ipv4_esp = {\n \n tv_mac_ipv6_esp = {\n \"name\": \"tv_mac_ipv6_esp\",\n- \"rte_flow_pattern\": \"flow create 0 priority 0 ingress pattern eth / ipv6 dst is 1111:2222:3333:4444:5555:6666:7777:8888 / esp spi is 1 / end actions vf id 1 / end\",\n+ \"rte_flow_pattern\": \"flow create 0 priority 0 ingress pattern eth / ipv6 dst is 1111:2222:3333:4444:5555:6666:7777:8888 / esp spi is 1 / end actions represented_port ethdev_port_id 1 / end\",\n \"matched\": {\n \"scapy_str\": [\n 'Ether(dst=\"00:11:22:33:44:13\")/IPv6(dst=\"1111:2222:3333:4444:5555:6666:7777:8888\", nh=50)/ESP(spi=1)/(\"X\"*480)'\n ],\n \"check_func\": {\n \"func\": rfc.check_vf_rx_packets_number,\n- \"param\": {\"expect_port\": 1, \"expect_queues\": \"null\"},\n+ \"param\": {\"expect_port\": 4, \"expect_queues\": \"null\"},\n },\n \"expect_results\": {\"expect_pkts\": 1},\n },\n@@ -834,7 +834,7 @@ tv_mac_ipv6_esp = {\n ],\n \"check_func\": {\n \"func\": rfc.check_vf_rx_packets_number,\n- \"param\": {\"expect_port\": 1, \"expect_queues\": \"null\"},\n+ \"param\": {\"expect_port\": 4, \"expect_queues\": \"null\"},\n },\n \"expect_results\": {\"expect_pkts\": 0},\n },\n@@ -842,14 +842,14 @@ tv_mac_ipv6_esp = {\n \n tv_mac_ipv4_ah = {\n \"name\": \"tv_mac_ipv4_ah\",\n- \"rte_flow_pattern\": \"flow create 0 priority 0 ingress pattern eth / ipv4 src is 192.168.0.2 / ah spi is 1 / end actions vf id 1 / end\",\n+ \"rte_flow_pattern\": \"flow create 0 priority 0 ingress pattern eth / ipv4 src is 192.168.0.2 / ah spi is 1 / end actions represented_port ethdev_port_id 1 / end\",\n \"matched\": {\n \"scapy_str\": [\n 'Ether(dst=\"00:11:22:33:44:13\")/IP(src=\"192.168.0.2\", proto=51)/AH(spi=1)/(\"X\"*480)'\n ],\n \"check_func\": {\n \"func\": rfc.check_vf_rx_packets_number,\n- \"param\": {\"expect_port\": 1, \"expect_queues\": \"null\"},\n+ \"param\": {\"expect_port\": 4, \"expect_queues\": \"null\"},\n },\n \"expect_results\": {\"expect_pkts\": 1},\n },\n@@ -861,7 +861,7 @@ tv_mac_ipv4_ah = {\n ],\n \"check_func\": {\n \"func\": rfc.check_vf_rx_packets_number,\n- \"param\": {\"expect_port\": 1, \"expect_queues\": \"null\"},\n+ \"param\": {\"expect_port\": 4, \"expect_queues\": \"null\"},\n },\n \"expect_results\": {\"expect_pkts\": 0},\n },\n@@ -869,14 +869,14 @@ tv_mac_ipv4_ah = {\n \n tv_mac_ipv6_ah = {\n \"name\": \"tv_mac_ipv6_ah\",\n- \"rte_flow_pattern\": \"flow create 0 priority 0 ingress pattern eth / ipv6 dst is 1111:2222:3333:4444:5555:6666:7777:8888 / ah spi is 1 / end actions vf id 1 / end\",\n+ \"rte_flow_pattern\": \"flow create 0 priority 0 ingress pattern eth / ipv6 dst is 1111:2222:3333:4444:5555:6666:7777:8888 / ah spi is 1 / end actions represented_port ethdev_port_id 1 / end\",\n \"matched\": {\n \"scapy_str\": [\n 'Ether(dst=\"00:11:22:33:44:13\")/IPv6(dst=\"1111:2222:3333:4444:5555:6666:7777:8888\", nh=51)/AH(spi=1)/(\"X\"*480)'\n ],\n \"check_func\": {\n \"func\": rfc.check_vf_rx_packets_number,\n- \"param\": {\"expect_port\": 1, \"expect_queues\": \"null\"},\n+ \"param\": {\"expect_port\": 4, \"expect_queues\": \"null\"},\n },\n \"expect_results\": {\"expect_pkts\": 1},\n },\n@@ -888,7 +888,7 @@ tv_mac_ipv6_ah = {\n ],\n \"check_func\": {\n \"func\": rfc.check_vf_rx_packets_number,\n- \"param\": {\"expect_port\": 1, \"expect_queues\": \"null\"},\n+ \"param\": {\"expect_port\": 4, \"expect_queues\": \"null\"},\n },\n \"expect_results\": {\"expect_pkts\": 0},\n },\n@@ -896,14 +896,14 @@ tv_mac_ipv6_ah = {\n \n tv_mac_ipv4_nat_t_esp = {\n \"name\": \"tv_mac_ipv4_nat_t_esp\",\n- \"rte_flow_pattern\": \"flow create 0 priority 0 ingress pattern eth / ipv4 src is 192.168.0.2 / udp / esp spi is 1 / end actions vf id 1 / end\",\n+ \"rte_flow_pattern\": \"flow create 0 priority 0 ingress pattern eth / ipv4 src is 192.168.0.2 / udp / esp spi is 1 / end actions represented_port ethdev_port_id 1 / end\",\n \"matched\": {\n \"scapy_str\": [\n 'Ether(dst=\"00:11:22:33:44:13\")/IP(src=\"192.168.0.2\")/UDP(dport=4500)/ESP(spi=1)/(\"X\"*480)'\n ],\n \"check_func\": {\n \"func\": rfc.check_vf_rx_packets_number,\n- \"param\": {\"expect_port\": 1, \"expect_queues\": \"null\"},\n+ \"param\": {\"expect_port\": 4, \"expect_queues\": \"null\"},\n },\n \"expect_results\": {\"expect_pkts\": 1},\n },\n@@ -915,7 +915,7 @@ tv_mac_ipv4_nat_t_esp = {\n ],\n \"check_func\": {\n \"func\": rfc.check_vf_rx_packets_number,\n- \"param\": {\"expect_port\": 1, \"expect_queues\": \"null\"},\n+ \"param\": {\"expect_port\": 4, \"expect_queues\": \"null\"},\n },\n \"expect_results\": {\"expect_pkts\": 0},\n },\n@@ -923,14 +923,14 @@ tv_mac_ipv4_nat_t_esp = {\n \n tv_mac_ipv6_nat_t_esp = {\n \"name\": \"tv_mac_ipv6_nat_t_esp\",\n- \"rte_flow_pattern\": \"flow create 0 priority 0 ingress pattern eth / ipv6 dst is 1111:2222:3333:4444:5555:6666:7777:8888 / udp / esp spi is 1 / end actions vf id 1 / end\",\n+ \"rte_flow_pattern\": \"flow create 0 priority 0 ingress pattern eth / ipv6 dst is 1111:2222:3333:4444:5555:6666:7777:8888 / udp / esp spi is 1 / end actions represented_port ethdev_port_id 1 / end\",\n \"matched\": {\n \"scapy_str\": [\n 'Ether(dst=\"00:11:22:33:44:13\")/IPv6(dst=\"1111:2222:3333:4444:5555:6666:7777:8888\")/UDP(dport=4500)/ESP(spi=1)/(\"X\"*480)'\n ],\n \"check_func\": {\n \"func\": rfc.check_vf_rx_packets_number,\n- \"param\": {\"expect_port\": 1, \"expect_queues\": \"null\"},\n+ \"param\": {\"expect_port\": 4, \"expect_queues\": \"null\"},\n },\n \"expect_results\": {\"expect_pkts\": 1},\n },\n@@ -942,7 +942,7 @@ tv_mac_ipv6_nat_t_esp = {\n ],\n \"check_func\": {\n \"func\": rfc.check_vf_rx_packets_number,\n- \"param\": {\"expect_port\": 1, \"expect_queues\": \"null\"},\n+ \"param\": {\"expect_port\": 4, \"expect_queues\": \"null\"},\n },\n \"expect_results\": {\"expect_pkts\": 0},\n },\n@@ -950,12 +950,12 @@ tv_mac_ipv6_nat_t_esp = {\n \n tv_mac_ipv4_pfcp_node = {\n \"name\": \"tv_mac_ipv4_pfcp_node\",\n- \"rte_flow_pattern\": \"flow create 0 ingress pattern eth / ipv4 / udp / pfcp s_field is 0 / end actions vf id 1 / end\",\n+ \"rte_flow_pattern\": \"flow create 0 ingress pattern eth / ipv4 / udp / pfcp s_field is 0 / end actions represented_port ethdev_port_id 1 / end\",\n \"matched\": {\n \"scapy_str\": ['Ether(dst=\"00:11:22:33:44:11\")/IP()/UDP(dport=8805)/PFCP(S=0)'],\n \"check_func\": {\n \"func\": rfc.check_vf_rx_packets_number,\n- \"param\": {\"expect_port\": 1, \"expect_queues\": \"null\"},\n+ \"param\": {\"expect_port\": 4, \"expect_queues\": \"null\"},\n },\n \"expect_results\": {\"expect_pkts\": 1},\n },\n@@ -967,7 +967,7 @@ tv_mac_ipv4_pfcp_node = {\n ],\n \"check_func\": {\n \"func\": rfc.check_vf_rx_packets_number,\n- \"param\": {\"expect_port\": 1, \"expect_queues\": \"null\"},\n+ \"param\": {\"expect_port\": 4, \"expect_queues\": \"null\"},\n },\n \"expect_results\": {\"expect_pkts\": 0},\n },\n@@ -975,12 +975,12 @@ tv_mac_ipv4_pfcp_node = {\n \n tv_mac_ipv4_pfcp_session = {\n \"name\": \"tv_mac_ipv4_pfcp_session\",\n- \"rte_flow_pattern\": \"flow create 0 ingress pattern eth / ipv4 / udp / pfcp s_field is 1 / end actions vf id 1 / end\",\n+ \"rte_flow_pattern\": \"flow create 0 ingress pattern eth / ipv4 / udp / pfcp s_field is 1 / end actions represented_port ethdev_port_id 1 / end\",\n \"matched\": {\n \"scapy_str\": ['Ether(dst=\"00:11:22:33:44:11\")/IP()/UDP(dport=8805)/PFCP(S=1)'],\n \"check_func\": {\n \"func\": rfc.check_vf_rx_packets_number,\n- \"param\": {\"expect_port\": 1, \"expect_queues\": \"null\"},\n+ \"param\": {\"expect_port\": 4, \"expect_queues\": \"null\"},\n },\n \"expect_results\": {\"expect_pkts\": 1},\n },\n@@ -992,7 +992,7 @@ tv_mac_ipv4_pfcp_session = {\n ],\n \"check_func\": {\n \"func\": rfc.check_vf_rx_packets_number,\n- \"param\": {\"expect_port\": 1, \"expect_queues\": \"null\"},\n+ \"param\": {\"expect_port\": 4, \"expect_queues\": \"null\"},\n },\n \"expect_results\": {\"expect_pkts\": 0},\n },\n@@ -1000,14 +1000,14 @@ tv_mac_ipv4_pfcp_session = {\n \n tv_mac_ipv6_pfcp_node = {\n \"name\": \"tv_mac_ipv6_pfcp_node\",\n- \"rte_flow_pattern\": \"flow create 0 ingress pattern eth / ipv6 / udp / pfcp s_field is 0 / end actions vf id 1 / end\",\n+ \"rte_flow_pattern\": \"flow create 0 ingress pattern eth / ipv6 / udp / pfcp s_field is 0 / end actions represented_port ethdev_port_id 1 / end\",\n \"matched\": {\n \"scapy_str\": [\n 'Ether(dst=\"00:11:22:33:44:11\")/IPv6()/UDP(dport=8805)/PFCP(S=0)'\n ],\n \"check_func\": {\n \"func\": rfc.check_vf_rx_packets_number,\n- \"param\": {\"expect_port\": 1, \"expect_queues\": \"null\"},\n+ \"param\": {\"expect_port\": 4, \"expect_queues\": \"null\"},\n },\n \"expect_results\": {\"expect_pkts\": 1},\n },\n@@ -1019,7 +1019,7 @@ tv_mac_ipv6_pfcp_node = {\n ],\n \"check_func\": {\n \"func\": rfc.check_vf_rx_packets_number,\n- \"param\": {\"expect_port\": 1, \"expect_queues\": \"null\"},\n+ \"param\": {\"expect_port\": 4, \"expect_queues\": \"null\"},\n },\n \"expect_results\": {\"expect_pkts\": 0},\n },\n@@ -1027,14 +1027,14 @@ tv_mac_ipv6_pfcp_node = {\n \n tv_mac_ipv6_pfcp_session = {\n \"name\": \"tv_mac_ipv6_pfcp_session\",\n- \"rte_flow_pattern\": \"flow create 0 ingress pattern eth / ipv6 / udp / pfcp s_field is 1 / end actions vf id 1 / end\",\n+ \"rte_flow_pattern\": \"flow create 0 ingress pattern eth / ipv6 / udp / pfcp s_field is 1 / end actions represented_port ethdev_port_id 1 / end\",\n \"matched\": {\n \"scapy_str\": [\n 'Ether(dst=\"00:11:22:33:44:11\")/IPv6()/UDP(dport=8805)/PFCP(S=1)'\n ],\n \"check_func\": {\n \"func\": rfc.check_vf_rx_packets_number,\n- \"param\": {\"expect_port\": 1, \"expect_queues\": \"null\"},\n+ \"param\": {\"expect_port\": 4, \"expect_queues\": \"null\"},\n },\n \"expect_results\": {\"expect_pkts\": 1},\n },\n@@ -1046,7 +1046,7 @@ tv_mac_ipv6_pfcp_session = {\n ],\n \"check_func\": {\n \"func\": rfc.check_vf_rx_packets_number,\n- \"param\": {\"expect_port\": 1, \"expect_queues\": \"null\"},\n+ \"param\": {\"expect_port\": 4, \"expect_queues\": \"null\"},\n },\n \"expect_results\": {\"expect_pkts\": 0},\n },\n@@ -1054,14 +1054,14 @@ tv_mac_ipv6_pfcp_session = {\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\": 4, \"expect_queues\": \"null\"},\n },\n \"expect_results\": {\"expect_pkts\": 1},\n },\n@@ -1074,7 +1074,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\": 4, \"expect_queues\": \"null\"},\n },\n \"expect_results\": {\"expect_pkts\": 0},\n },\n@@ -1082,14 +1082,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\": 4, \"expect_queues\": \"null\"},\n },\n \"expect_results\": {\"expect_pkts\": 1},\n },\n@@ -1102,7 +1102,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\": 4, \"expect_queues\": \"null\"},\n },\n \"expect_results\": {\"expect_pkts\": 0},\n },\n@@ -1110,14 +1110,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\": 4, \"expect_queues\": \"null\"},\n },\n \"expect_results\": {\"expect_pkts\": 1},\n },\n@@ -1129,7 +1129,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\": 4, \"expect_queues\": \"null\"},\n },\n \"expect_results\": {\"expect_pkts\": 0},\n },\n@@ -1137,14 +1137,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\": 4, \"expect_queues\": \"null\"},\n },\n \"expect_results\": {\"expect_pkts\": 1},\n },\n@@ -1156,7 +1156,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\": 4, \"expect_queues\": \"null\"},\n },\n \"expect_results\": {\"expect_pkts\": 0},\n },\n@@ -1164,14 +1164,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\": 4, \"expect_queues\": \"null\"},\n },\n \"expect_results\": {\"expect_pkts\": 1},\n },\n@@ -1182,7 +1182,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\": 4, \"expect_queues\": \"null\"},\n },\n \"expect_results\": {\"expect_pkts\": 0},\n },\n@@ -1190,14 +1190,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\": 4, \"expect_queues\": \"null\"},\n },\n \"expect_results\": {\"expect_pkts\": 1},\n },\n@@ -1210,7 +1210,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\": 4, \"expect_queues\": \"null\"},\n },\n \"expect_results\": {\"expect_pkts\": 0},\n },\n@@ -1218,14 +1218,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\": 4, \"expect_queues\": \"null\"},\n },\n \"expect_results\": {\"expect_pkts\": 1},\n },\n@@ -1238,7 +1238,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\": 4, \"expect_queues\": \"null\"},\n },\n \"expect_results\": {\"expect_pkts\": 0},\n },\n@@ -1246,14 +1246,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\": 4, \"expect_queues\": \"null\"},\n },\n \"expect_results\": {\"expect_pkts\": 1},\n },\n@@ -1266,7 +1266,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\": 4, \"expect_queues\": \"null\"},\n },\n \"expect_results\": {\"expect_pkts\": 0},\n },\n@@ -1274,14 +1274,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\": 4, \"expect_queues\": \"null\"},\n },\n \"expect_results\": {\"expect_pkts\": 1},\n },\n@@ -1294,7 +1294,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\": 4, \"expect_queues\": \"null\"},\n },\n \"expect_results\": {\"expect_pkts\": 0},\n },\n@@ -1302,14 +1302,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\": 4, \"expect_queues\": \"null\"},\n },\n \"expect_results\": {\"expect_pkts\": 1},\n },\n@@ -1321,7 +1321,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\": 4, \"expect_queues\": \"null\"},\n },\n \"expect_results\": {\"expect_pkts\": 0},\n },\n@@ -1329,14 +1329,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\": 4, \"expect_queues\": \"null\"},\n },\n \"expect_results\": {\"expect_pkts\": 1},\n },\n@@ -1348,7 +1348,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\": 4, \"expect_queues\": \"null\"},\n },\n \"expect_results\": {\"expect_pkts\": 0},\n },\n@@ -1356,14 +1356,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\": 4, \"expect_queues\": \"null\"},\n },\n \"expect_results\": {\"expect_pkts\": 1},\n },\n@@ -1376,7 +1376,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\": 4, \"expect_queues\": \"null\"},\n },\n \"expect_results\": {\"expect_pkts\": 0},\n },\n@@ -1384,14 +1384,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\": 4, \"expect_queues\": \"null\"},\n },\n \"expect_results\": {\"expect_pkts\": 1},\n },\n@@ -1403,7 +1403,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\": 4, \"expect_queues\": \"null\"},\n },\n \"expect_results\": {\"expect_pkts\": 0},\n },\n@@ -1411,14 +1411,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\": 4, \"expect_queues\": \"null\"},\n },\n \"expect_results\": {\"expect_pkts\": 1},\n },\n@@ -1431,7 +1431,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\": 4, \"expect_queues\": \"null\"},\n },\n \"expect_results\": {\"expect_pkts\": 0},\n },\n@@ -1439,14 +1439,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\": 4, \"expect_queues\": \"null\"},\n },\n \"expect_results\": {\"expect_pkts\": 1},\n },\n@@ -1458,7 +1458,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\": 4, \"expect_queues\": \"null\"},\n },\n \"expect_results\": {\"expect_pkts\": 0},\n },\n@@ -1466,14 +1466,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\": 4, \"expect_queues\": \"null\"},\n },\n \"expect_results\": {\"expect_pkts\": 1},\n },\n@@ -1487,7 +1487,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\": 4, \"expect_queues\": \"null\"},\n },\n \"expect_results\": {\"expect_pkts\": 0},\n },\n@@ -1495,14 +1495,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\": 4, \"expect_queues\": \"null\"},\n },\n \"expect_results\": {\"expect_pkts\": 1},\n },\n@@ -1516,7 +1516,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\": 4, \"expect_queues\": \"null\"},\n },\n \"expect_results\": {\"expect_pkts\": 0},\n },\n@@ -1524,14 +1524,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\": 4, \"expect_queues\": \"null\"},\n },\n \"expect_results\": {\"expect_pkts\": 1},\n },\n@@ -1545,7 +1545,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\": 4, \"expect_queues\": \"null\"},\n },\n \"expect_results\": {\"expect_pkts\": 0},\n },\n@@ -1553,14 +1553,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\": 4, \"expect_queues\": \"null\"},\n },\n \"expect_results\": {\"expect_pkts\": 1},\n },\n@@ -1574,7 +1574,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\": 4, \"expect_queues\": \"null\"},\n },\n \"expect_results\": {\"expect_pkts\": 0},\n },\n@@ -1582,14 +1582,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\": 4, \"expect_queues\": \"null\"},\n },\n \"expect_results\": {\"expect_pkts\": 1},\n },\n@@ -1600,7 +1600,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\": 4, \"expect_queues\": \"null\"},\n },\n \"expect_results\": {\"expect_pkts\": 0},\n },\n@@ -1608,14 +1608,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\": 4, \"expect_queues\": \"null\"},\n },\n \"expect_results\": {\"expect_pkts\": 1},\n },\n@@ -1628,7 +1628,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\": 4, \"expect_queues\": \"null\"},\n },\n \"expect_results\": {\"expect_pkts\": 0},\n },\n@@ -1636,14 +1636,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\": 4, \"expect_queues\": \"null\"},\n },\n \"expect_results\": {\"expect_pkts\": 1},\n },\n@@ -1656,7 +1656,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\": 4, \"expect_queues\": \"null\"},\n },\n \"expect_results\": {\"expect_pkts\": 0},\n },\n@@ -1664,14 +1664,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\": 4, \"expect_queues\": \"null\"},\n },\n \"expect_results\": {\"expect_pkts\": 1},\n },\n@@ -1684,7 +1684,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\": 4, \"expect_queues\": \"null\"},\n },\n \"expect_results\": {\"expect_pkts\": 0},\n },\n@@ -1692,14 +1692,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\": 4, \"expect_queues\": \"null\"},\n },\n \"expect_results\": {\"expect_pkts\": 1},\n },\n@@ -1712,7 +1712,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\": 4, \"expect_queues\": \"null\"},\n },\n \"expect_results\": {\"expect_pkts\": 0},\n },\n@@ -1720,14 +1720,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\": 4, \"expect_queues\": \"null\"},\n },\n \"expect_results\": {\"expect_pkts\": 1},\n },\n@@ -1739,7 +1739,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\": 4, \"expect_queues\": \"null\"},\n },\n \"expect_results\": {\"expect_pkts\": 0},\n },\n@@ -1747,14 +1747,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\": 4, \"expect_queues\": \"null\"},\n },\n \"expect_results\": {\"expect_pkts\": 1},\n },\n@@ -1766,7 +1766,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\": 4, \"expect_queues\": \"null\"},\n },\n \"expect_results\": {\"expect_pkts\": 0},\n },\n@@ -1774,14 +1774,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\": 4, \"expect_queues\": \"null\"},\n },\n \"expect_results\": {\"expect_pkts\": 1},\n },\n@@ -1794,7 +1794,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\": 4, \"expect_queues\": \"null\"},\n },\n \"expect_results\": {\"expect_pkts\": 0},\n },\n@@ -1802,14 +1802,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\": 4, \"expect_queues\": \"null\"},\n },\n \"expect_results\": {\"expect_pkts\": 1},\n },\n@@ -1822,7 +1822,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\": 4, \"expect_queues\": \"null\"},\n },\n \"expect_results\": {\"expect_pkts\": 0},\n },\n@@ -1831,7 +1831,8 @@ tv_mac_vlan_pppoe_ipcp_pay = {\n \n class ICEDCFFlowPriorityTest(TestCase):\n supported_nic = [\"ICE_100G-E810C_QSFP\", \"ICE_25G-E810C_SFP\", \"ICE_25G-E810_XXV_SFP\"]\n-\n+ #enable dcf\n+ dcf_representor = True\n def bind_nics_driver(self, ports, driver=\"\"):\n # modprobe vfio driver\n if driver == \"vfio-pci\":\n@@ -1916,11 +1917,18 @@ class ICEDCFFlowPriorityTest(TestCase):\n vf1_pci = self.sriov_vfs_port_0[1].pci\n vf2_pci = self.sriov_vfs_port_0[2].pci\n vf3_pci = self.sriov_vfs_port_0[3].pci\n- all_eal_param = self.dut.create_eal_parameters(\n- cores=\"1S/4C/1T\",\n- ports=[vf0_pci, vf1_pci, vf2_pci, vf3_pci],\n- port_options={vf0_pci: \"cap=dcf\"},\n- )\n+ if self.dcf_representor:\n+ all_eal_param = self.dut.create_eal_parameters(\n+ cores=\"1S/4C/1T\",\n+ ports=[vf0_pci, vf1_pci, vf2_pci, vf3_pci],\n+ port_options={vf0_pci: \"cap=dcf,representor=[1-3]\"},\n+ )\n+ else:\n+ all_eal_param = self.dut.create_eal_parameters(\n+ cores=\"1S/4C/1T\",\n+ ports=[vf0_pci, vf1_pci, vf2_pci, vf3_pci],\n+ port_options={vf0_pci: \"cap=dcf\"},\n+ )\n command = self.path + all_eal_param + \" -- -i\"\n return command\n \n@@ -2125,7 +2133,7 @@ class ICEDCFFlowPriorityTest(TestCase):\n self.send_and_check_packets(matched_dic)\n # send mismatched packets and check\n mismatched_dic = test_vector[\"mismatched\"]\n- mismatched_dic[\"check_func\"][\"param\"][\"expect_port\"] = [1, 2]\n+ mismatched_dic[\"check_func\"][\"param\"][\"expect_port\"] = [4, 5]\n mismatched_dic[\"expect_results\"][\"expect_pkts\"] = [0, 0]\n self.send_and_check_packets(mismatched_dic)\n \n@@ -2135,7 +2143,7 @@ class ICEDCFFlowPriorityTest(TestCase):\n self.check_switch_filter_rule_list(0, [\"1\"])\n # send matched packets and check\n destroy_dict1 = copy.deepcopy(matched_dic)\n- destroy_dict1[\"check_func\"][\"param\"][\"expect_port\"] = 2\n+ destroy_dict1[\"check_func\"][\"param\"][\"expect_port\"] = 5\n self.send_and_check_packets(destroy_dict1)\n \n # recreate rule with priority 0 (rule 2)\n@@ -2465,9 +2473,9 @@ class ICEDCFFlowPriorityTest(TestCase):\n # launch testpmd\n self.launch_testpmd()\n negative_rule = [\n- \"flow create 0 priority 2 ingress pattern eth / ipv4 src is 192.168.0.1 dst is 192.168.0.2 / end actions vf id 1 / end\",\n- \"flow create 0 priority a ingress pattern eth / ipv4 src is 192.168.0.1 dst is 192.168.0.2 / end actions vf id 1 / end\",\n- \"flow create 0 priority 0 ingress pattern eth / ipv4 src is 192.168.0.1 dst is 192.168.0.2 / end actions vf id 4 / end\",\n+ \"flow create 0 priority 2 ingress pattern eth / ipv4 src is 192.168.0.1 dst is 192.168.0.2 / end actions represented_port ethdev_port_id 1 / end\",\n+ \"flow create 0 priority a ingress pattern eth / ipv4 src is 192.168.0.1 dst is 192.168.0.2 / end actions represented_port ethdev_port_id 1 / end\",\n+ \"flow create 0 priority 0 ingress pattern eth / ipv4 src is 192.168.0.1 dst is 192.168.0.2 / end actions represented_port ethdev_port_id 4 / end\",\n ]\n self.create_switch_filter_rule(negative_rule, check_stats=False)\n \n@@ -2478,8 +2486,8 @@ class ICEDCFFlowPriorityTest(TestCase):\n # subcase 1: same pattern/input set/action different priority\n self.launch_testpmd()\n rule = [\n- \"flow create 0 priority 1 ingress pattern eth / ipv4 src is 192.168.0.1 dst is 192.168.0.2 / end actions vf id 2 / end\",\n- \"flow create 0 priority 0 ingress pattern eth / ipv4 src is 192.168.0.1 dst is 192.168.0.2 / end actions vf id 2 / end\",\n+ \"flow create 0 priority 1 ingress pattern eth / ipv4 src is 192.168.0.1 dst is 192.168.0.2 / end actions represented_port ethdev_port_id 2 / end\",\n+ \"flow create 0 priority 0 ingress pattern eth / ipv4 src is 192.168.0.1 dst is 192.168.0.2 / end actions represented_port ethdev_port_id 2 / end\",\n ]\n rule_list = self.create_switch_filter_rule(rule)\n matched_dic = {\n@@ -2488,7 +2496,7 @@ class ICEDCFFlowPriorityTest(TestCase):\n ],\n \"check_func\": {\n \"func\": rfc.check_vf_rx_packets_number,\n- \"param\": {\"expect_port\": 2, \"expect_queue\": \"null\"},\n+ \"param\": {\"expect_port\": 5, \"expect_queue\": \"null\"},\n },\n \"expect_results\": {\"expect_pkts\": 1},\n }\n@@ -2500,8 +2508,8 @@ class ICEDCFFlowPriorityTest(TestCase):\n # subcase 2: same pattern/input set/priority different action\n self.launch_testpmd()\n rule = [\n- \"flow create 0 priority 1 ingress pattern eth / ipv4 src is 192.168.0.1 dst is 192.168.0.2 / end actions vf id 1 / end\",\n- \"flow create 0 priority 1 ingress pattern eth / ipv4 src is 192.168.0.1 dst is 192.168.0.2 / end actions vf id 2 / end\",\n+ \"flow create 0 priority 1 ingress pattern eth / ipv4 src is 192.168.0.1 dst is 192.168.0.2 / end actions represented_port ethdev_port_id 1 / end\",\n+ \"flow create 0 priority 1 ingress pattern eth / ipv4 src is 192.168.0.1 dst is 192.168.0.2 / end actions represented_port ethdev_port_id 2 / end\",\n ]\n rule_list = self.create_switch_filter_rule(rule)\n matched_dic = {\n@@ -2510,7 +2518,7 @@ class ICEDCFFlowPriorityTest(TestCase):\n ],\n \"check_func\": {\n \"func\": rfc.check_vf_rx_packets_number,\n- \"param\": {\"expect_port\": [1, 2], \"expect_queue\": \"null\"},\n+ \"param\": {\"expect_port\": [4, 5], \"expect_queue\": \"null\"},\n },\n \"expect_results\": {\"expect_pkts\": [1, 1]},\n }\n@@ -2522,12 +2530,12 @@ class ICEDCFFlowPriorityTest(TestCase):\n # subcase 3: some rules overlap\n self.launch_testpmd()\n rule = [\n- \"flow create 0 priority 1 ingress pattern eth / vlan / vlan / pppoes / pppoe_proto_id is 0x21 / end actions vf id 1 / end\",\n- \"flow create 0 priority 1 ingress pattern eth / vlan / vlan tci is 2 / end actions vf id 1 / end\",\n- \"flow create 0 priority 0 ingress pattern eth / vlan / vlan / pppoes seid is 1 / ipv4 / end actions vf id 2 / end\",\n- \"flow create 0 priority 0 ingress pattern eth dst is 00:00:00:01:03:03 / vlan / vlan / end actions vf id 2 / end\",\n- \"flow create 0 priority 0 ingress pattern eth dst is 00:00:00:01:03:03 / end actions vf id 3 / end\",\n- \"flow create 0 priority 0 ingress pattern eth / vlan tci is 1 / vlan tci is 2 / end actions vf id 3 / end\",\n+ \"flow create 0 priority 1 ingress pattern eth / vlan / vlan / pppoes / pppoe_proto_id is 0x21 / end actions represented_port ethdev_port_id 1 / end\",\n+ \"flow create 0 priority 1 ingress pattern eth / vlan / vlan tci is 2 / end actions represented_port ethdev_port_id 1 / end\",\n+ \"flow create 0 priority 0 ingress pattern eth / vlan / vlan / pppoes seid is 1 / ipv4 / end actions represented_port ethdev_port_id 2 / end\",\n+ \"flow create 0 priority 0 ingress pattern eth dst is 00:00:00:01:03:03 / vlan / vlan / end actions represented_port ethdev_port_id 2 / end\",\n+ \"flow create 0 priority 0 ingress pattern eth dst is 00:00:00:01:03:03 / end actions represented_port ethdev_port_id 3 / end\",\n+ \"flow create 0 priority 0 ingress pattern eth / vlan tci is 1 / vlan tci is 2 / end actions represented_port ethdev_port_id 3 / end\",\n ]\n rule_list = self.create_switch_filter_rule(rule)\n self.check_switch_filter_rule_list(0, rule_list)\n@@ -2537,7 +2545,7 @@ class ICEDCFFlowPriorityTest(TestCase):\n ],\n \"check_func\": {\n \"func\": rfc.check_vf_rx_packets_number,\n- \"param\": {\"expect_port\": [2, 3], \"expect_queue\": \"null\"},\n+ \"param\": {\"expect_port\": [5, 6], \"expect_queue\": \"null\"},\n },\n \"expect_results\": {\"expect_pkts\": [1, 1]},\n }\n@@ -2545,11 +2553,11 @@ class ICEDCFFlowPriorityTest(TestCase):\n self.dut.send_expect(\"flow destroy 0 rule 5\", \"testpmd> \", 15)\n self.send_and_check_packets(matched_dic)\n self.dut.send_expect(\"flow destroy 0 rule 4\", \"testpmd> \", 15)\n- matched_dic[\"check_func\"][\"param\"][\"expect_port\"] = 2\n+ matched_dic[\"check_func\"][\"param\"][\"expect_port\"] = 5\n matched_dic[\"expect_results\"][\"expect_pkts\"] = 1\n self.send_and_check_packets(matched_dic)\n self.dut.send_expect(\"flow destroy 0 rule 3\", \"testpmd> \", 15)\n- matched_dic[\"check_func\"][\"param\"][\"expect_port\"] = 1\n+ matched_dic[\"check_func\"][\"param\"][\"expect_port\"] = 4\n matched_dic[\"expect_results\"][\"expect_pkts\"] = 1\n self.send_and_check_packets(matched_dic)\n self.dut.send_expect(\"flow destroy 0 rule 1\", \"testpmd> \", 15)\n@@ -2561,13 +2569,13 @@ class ICEDCFFlowPriorityTest(TestCase):\n ],\n \"check_func\": {\n \"func\": rfc.check_vf_rx_packets_number,\n- \"param\": {\"expect_port\": 2, \"expect_queue\": \"null\"},\n+ \"param\": {\"expect_port\": 5, \"expect_queue\": \"null\"},\n },\n \"expect_results\": {\"expect_pkts\": 1},\n }\n self.send_and_check_packets(matched_dic)\n self.dut.send_expect(\"flow destroy 0 rule 2\", \"testpmd> \", 15)\n- matched_dic[\"check_func\"][\"param\"][\"expect_port\"] = 1\n+ matched_dic[\"check_func\"][\"param\"][\"expect_port\"] = 4\n self.send_and_check_packets(matched_dic)\n self.dut.send_expect(\"flow destroy 0 rule 0\", \"testpmd> \", 15)\n matched_dic[\"expect_results\"][\"expect_pkts\"] = 0\n", "prefixes": [ "V1", "14/21" ] }{ "id": 116991, "url": "