From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id D17BDA0547; Fri, 28 May 2021 08:10:34 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 99CD040143; Fri, 28 May 2021 08:10:34 +0200 (CEST) Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by mails.dpdk.org (Postfix) with ESMTP id 9741A40040 for ; Fri, 28 May 2021 08:10:32 +0200 (CEST) IronPort-SDR: b7KxFO67WcvcwYOWIQtvTobOGyF9tp0SanZKd7IB5oFbHoqAoK0xotvRTvfcjtYnbR7ILtUSJc X2M8r7fPUrWg== X-IronPort-AV: E=McAfee;i="6200,9189,9997"; a="224128780" X-IronPort-AV: E=Sophos;i="5.83,229,1616482800"; d="scan'208";a="224128780" Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 27 May 2021 23:10:30 -0700 IronPort-SDR: Fru/8IhE5HzAgsD/tAeWnAI3rJaY0xQbA5nI3Tmx7xhjZDm+q1dECLicZvYgQx8ousa+3uLJUI pTXcGirCpe1w== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.83,229,1616482800"; d="scan'208";a="477808250" Received: from dpdk-qifu-cxl.sh.intel.com ([10.67.119.212]) by orsmga001.jf.intel.com with ESMTP; 27 May 2021 23:10:27 -0700 From: qifu To: dts@dpdk.org Cc: qifu Date: Fri, 28 May 2021 10:51:45 -0400 Message-Id: <20210528145145.68379-1-qi.fu@intel.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Subject: [dts] [PATCH V1]test_plans: add test plan for cvl dcf flow priority X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: test suite reviews and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dts-bounces@dpdk.org Sender: "dts" add dpdk-21.05 new feature test plan: cvl_dcf_flow_priority_test_plan.rst this feature support add priority 0/1 for dcf switch filter rules. Signed-off-by: qifu --- .../cvl_dcf_flow_priority_test_plan.rst | 1786 +++++++++++++++++ 1 file changed, 1786 insertions(+) create mode 100644 test_plans/cvl_dcf_flow_priority_test_plan.rst diff --git a/test_plans/cvl_dcf_flow_priority_test_plan.rst b/test_plans/cv= l_dcf_flow_priority_test_plan.rst new file mode 100644 index 00000000..8ae5fa30 --- /dev/null +++ b/test_plans/cvl_dcf_flow_priority_test_plan.rst @@ -0,0 +1,1786 @@ +.. Copyright (c) <2021>, Intel Corporation=0D + All rights reserved.=0D +=0D + Redistribution and use in source and binary forms, with or without=0D + modification, are permitted provided that the following conditions=0D + are met:=0D +=0D + - Redistributions of source code must retain the above copyright=0D + notice, this list of conditions and the following disclaimer.=0D +=0D + - Redistributions in binary form must reproduce the above copyright=0D + notice, this list of conditions and the following disclaimer in=0D + the documentation and/or other materials provided with the=0D + distribution.=0D +=0D + - Neither the name of Intel Corporation nor the names of its=0D + contributors may be used to endorse or promote products derived=0D + from this software without specific prior written permission.=0D +=0D + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS=0D + "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT=0D + LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS=0D + FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE=0D + COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,=0D + INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES=0D + (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR=0D + SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)=0D + HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,=0D + STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)=0D + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED=0D + OF THE POSSIBILITY OF SUCH DAMAGE.=0D +=0D +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=0D +CVL Support Flow Priority in DCF=0D +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=0D +=0D +Description=0D +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=0D +* DCF is able to accept RTE_FLOW's priority attribute and create a switch = rule with corresponding priority. =0D +* Currently only support priority 0 and 1. 0 means low priority and 1 mean= s high priority.=0D +* When creating a new switch rule, the driver need to avoid reuse an exist= ing recipe with a different priority even the input set is matched, =0D +it should either reject the request or create a new recipe with a differen= t priority.=0D +* When looking up rule table, matched pkt will hit the high priority rule = firstly,=0D +it will hit the low priority rule only when there is no high priority rule= exist.=0D +=0D +=0D +Prerequisites=0D +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=0D +1. Hardware:=0D + columbiaville_25g/columbiaville_100g=0D +=0D +2. Software:=0D + dpdk: http://dpdk.org/git/dpdk=0D + scapy: http://www.secdev.org/projects/scapy/=0D +=0D +3. Copy specific ice package to /lib/firmware/updates/intel/ice/ddp/ice.pk= g,=0D + then load driver::=0D +=0D + rmmod ice=0D + insmod ice.ko=0D +=0D +4. Compile DPDK::=0D +=0D + CC=3Dgcc meson --werror -Denable_kmods=3DTrue -Dlibdir=3Dlib --default= -library=3Dstatic x86_64-native-linuxapp-gcc=0D + ninja -C x86_64-native-linuxapp-gcc -j 110=0D +=0D +5. Get the pci device id of DUT, for example::=0D +=0D + ./usertools/dpdk-devbind.py -s=0D +=0D + 0000:18:00.0 'Device 159b' if=3Dens785f0 drv=3Dice unused=3Dvfio-pci=0D + 0000:18:00.1 'Device 159b' if=3Dens785f1 drv=3Dice unused=3Dvfio-pci=0D +=0D +6. Enable vlan prune flag::=0D +=0D + ethtool --set-priv-flags ens785f0 vf-vlan-prune-disable on=0D +=0D +7. Generate 4 VFs on PF0(not all the VFs are used)::=0D +=0D + echo 4 > /sys/bus/pci/devices/0000:18:00.0/sriov_numvfs=0D +=0D + ./usertools/dpdk-devbind.py -s=0D + 0000:18:01.0 'Ethernet Adaptive Virtual Function 1889' if=3Dens785f0v0= drv=3Diavf unused=3Dvfio-pci=0D + 0000:18:01.1 'Ethernet Adaptive Virtual Function 1889' if=3Dens785f0v1= drv=3Diavf unused=3Dvfio-pci=0D + 0000:18:01.2 'Ethernet Adaptive Virtual Function 1889' if=3Dens785f0v2= drv=3Diavf unused=3Dvfio-pci=0D + 0000:18:01.3 'Ethernet Adaptive Virtual Function 1889' if=3Dens785f0v3= drv=3Diavf unused=3Dvfio-pci=0D +=0D +8. Set VF0 as trust::=0D +=0D + ip link set ens785f0 vf 0 trust on=0D +=0D +9. Set mac addr for VF1, VF2 and VF3::=0D +=0D + ip link set ens785f0 vf 1 mac 00:11:22:33:44:11=0D + ip link set ens785f0 vf 2 mac 00:11:22:33:44:22=0D + ip link set ens785f0 vf 3 mac 00:11:22:33:44:33=0D +=0D +10. Bind VFs to dpdk driver::=0D +=0D + modprobe vfio-pci=0D + ./usertools/dpdk-devbind.py -b vfio-pci 0000:18:01.0 0000:18:01.1 0000= :18:01.2 0000:18:01.3=0D +=0D +11. launch testpmd::=0D +=0D + ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -c 0xf -n 4 -a 0000:18:0= 1.0,cap=3Ddcf -a 0000:18:01.1 -a 0000:18:01.2 -a 0000:18:01.3 -- -i=0D + testpmd> set fwd rxonly=0D + testpmd> set verbose 1=0D + testpmd> start=0D + testpmd> show port info all=0D +=0D + check the VF0 driver is net_ice_dcf.=0D +=0D +=0D +test steps for supported pattern=0D +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=0D +1. validate rules: two rules have same pattern, input set but different pr= iority and action(priority 0 -> to vf 1, priority 1 -> to vf 2).=0D +2. create rules and list rules.=0D +3. send matched packets, check vf 2 receive the packets for hiting the pri= ority 1.=0D +4. send mismatched packets, check the packets are not received by vf 1 or = 2.=0D +5. destroy rule with priority 1, list rules.=0D +6. send matched packets, check vf 1 receive the packets for hiting the pri= ority 0.=0D +7. send mismatched packets, check the packets are not received by vf 1 or = 2.=0D +8. recreate rules which priority is 1, list rule.=0D +9. destroy rule with priority 0, list rules.=0D +10. send matched packets, check vf 2 receive the packets for hiting the pr= iority 1.=0D +11. send mismatched packets, check the packets are not received by vf 1 or= 2.=0D +12. destroy rule with priority 1, list rules.=0D +13. send matched packets, check the packets are not received by vf 1 or 2.= =0D +=0D +=0D +support pattern and input set=0D +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=0D +=0D + +---------------------+-------------------------------+-----------------= --------------------------+=0D + | Packet Types | Pattern | I= nput Set |=0D + +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D+=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D+=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D+=0D + | | MAC_PAY | [Source MAC], [D= est MAC], [Ether type] |=0D + | +-------------------------------+-----------------= --------------------------+=0D + | | MAC_IPV4_FRAG | [Dest MAC], [Sou= rce IP], [Dest IP], |=0D + | | | [TTL], [DSCP] = |=0D + | +-------------------------------+-----------------= --------------------------+=0D + | | MAC_IPV4_PAY | [Dest MAC], [Sou= rce IP], [Dest IP], |=0D + | | | [IP protocol], [= TTL], [DSCP] |=0D + | +-------------------------------+-----------------= --------------------------+=0D + | | MAC_IPV4_UDP_PAY | [Dest MAC], [Sou= rce IP], [Dest IP], |=0D + | | | [TTL], [DSCP], [= Source Port], [Dest Port] |=0D + | +-------------------------------+-----------------= --------------------------+=0D + | IPv4/IPv6 + | MAC_IPV4_TCP_PAY | [Dest MAC], [Sou= rce IP], [Dest IP], |=0D + | TCP/UDP/IGMP | | [TTL], [DSCP], [= Source Port], [Dest Port] |=0D + | +-------------------------------+-----------------= --------------------------+=0D + | | MAC_IPV4_IGMP | [IP protocol] = |=0D + | +-------------------------------+-----------------= --------------------------+=0D + | | MAC_IPV6_FRAG_srcip_dstip | [Source IP], [De= st IP] |=0D + | +-------------------------------+-----------------= --------------------------+=0D + | | MAC_IPV6_FRAG_dstip_tc | [Dest MAC], [Des= t IP], [TC] |=0D + | +-------------------------------+-----------------= --------------------------+=0D + | | MAC_IPV6_PAY_srcip_dstip | [Source IP], [De= st IP] |=0D + | +-------------------------------+-----------------= --------------------------+=0D + | | MAC_IPV6_PAY_dstip_tc | [Dest MAC], [Des= t IP], [TC] |=0D + | +-------------------------------+-----------------= --------------------------+=0D + | | MAC_IPV6_UDP_PAY | [Dest MAC], [Des= t IP], [TC], |=0D + | | | [Source Port], [= Dest Port] |=0D + | +-------------------------------+-----------------= --------------------------+=0D + | | MAC_IPV6_TCP | [Dest MAC], [Des= t IP], [TC], |=0D + | | | [Source Port], [= Dest Port] |=0D + +---------------------+-------------------------------+-----------------= --------------------------+=0D + | | MAC_IPV4_TUN_IPV4_FRAG | [Out Dest IP], [= VNI/GRE_KEY], |=0D + | | | [Inner Source IP= ], [Inner Dest IP] |=0D + | +-------------------------------+-----------------= --------------------------+=0D + | | MAC_IPV4_TUN_IPV4_PAY | [Out Dest IP], [= VNI/GRE_KEY], |=0D + | | | [Inner Source IP= ], [Inner Dest IP] |=0D + | +-------------------------------+-----------------= --------------------------+=0D + | | MAC_IPV4_TUN_IPV4_UDP_PAY | [Out Dest IP], [= VNI/GRE_KEY], |=0D + | | | [Inner Source IP= ], [Inner Dest IP], |=0D + | | | [Inner Source Po= rt], [Inner Dest Port] |=0D + | +-------------------------------+-----------------= --------------------------+=0D + | | MAC_IPV4_TUN_IPV4_TCP | [Out Dest IP], [= VNI/GRE_KEY], |=0D + | | | [Inner Source IP= ], [Inner Dest IP], |=0D + | | | [Inner Source Po= rt], [Inner Dest Port] |=0D + | tunnel: +-------------------------------+-----------------= --------------------------+=0D + | NVGRE | MAC_IPV4_TUN_MAC_IPV4_FRAG | [Out Dest IP], [= VNI/GRE_KEY], |=0D + | | | [Inner Dest MAC]= , |=0D + | | | [Inner Source IP= ], [Inner Dest IP] |=0D + | +-------------------------------+-----------------= --------------------------+=0D + | | MAC_IPV4_TUN_MAC_IPV4_PAY | [Out Dest IP], [= VNI/GRE_KEY], |=0D + | | | [Inner Dest MAC]= , |=0D + | | | [Inner Source IP= ], [Inner Dest IP] |=0D + | +-------------------------------+-----------------= --------------------------+=0D + | | MAC_IPV4_TUN_MAC_IPV4_UDP_PAY | [Out Dest IP], [= VNI/GRE_KEY], |=0D + | | | [Inner Dest MAC]= , |=0D + | | | [Inner Source IP= ],[Inner Dest IP], |=0D + | | | [Inner Source Po= rt], [Inner Dest Port] |=0D + | +-------------------------------+-----------------= --------------------------+=0D + | | MAC_IPV4_TUN_MAC_IPV4_TCP | [Out Dest IP], [= VNI/GRE_KEY], |=0D + | | | [Inner Dest MAC]= , |=0D + | | | [Inner Source IP= ], [Inner Dest IP], |=0D + | | | [Inner Source Po= rt], [Inner Dest Port] |=0D + +---------------------+-------------------------------+-----------------= --------------------------+=0D + | | MAC_VLAN_PPPOE_IPV4_PAY | [Dest MAC], [VLA= N], [seid], |=0D + | | _session_id_proto_id | [pppoe_proto_id]= |=0D + | +-------------------------------+-----------------= --------------------------+=0D + | | MAC_VLAN_PPPOE_IPV6_PAY | [Dest MAC], [VLA= N], [seid], |=0D + | | _session_id_proto_id | [pppoe_proto_id]= |=0D + | +-------------------------------+-----------------= --------------------------+=0D + | | MAC_PPPOE_IPV4_PAY | [Dest MAC], [sei= d], [pppoe_proto_id] |=0D + | | _session_id_proto_id | = |=0D + | +-------------------------------+-----------------= --------------------------+=0D + | | MAC_PPPOE_IPV6_PAY | [Dest MAC], [sei= d], [pppoe_proto_id] |=0D + | | _session_id_proto_id | = |=0D + | +-------------------------------+-----------------= --------------------------+=0D + | | MAC_PPPOE_IPV4_PAY_IP_address | [Source IP], [De= st IP] |=0D + | +-------------------------------+-----------------= --------------------------+=0D + | | MAC_PPPOE_IPV4_UDP_PAY | [Source IP], [De= st IP], |=0D + | | | [Source Port], [= Dest Port] |=0D + | +-------------------------------+-----------------= --------------------------+=0D + | | MAC_PPPOE_IPV4_UDP_PAY | [Source IP], [De= st IP] |=0D + | | _non_src_dst_port | = |=0D + | +-------------------------------+-----------------= --------------------------+=0D + | | MAC_PPPOE_IPV4_TCP_PAY | [Source IP], [De= st IP], |=0D + | | | [Source Port], [= Dest Port] |=0D + | +-------------------------------+-----------------= --------------------------+=0D + | | MAC_PPPOE_IPV4_TCP_PAY | [Source IP], [De= st IP] |=0D + | | _non_src_dst_port | = |=0D + | +-------------------------------+-----------------= --------------------------+=0D + | | MAC_PPPOE_IPV6_PAY_IP_address | [Source IP], [De= st IP] |=0D + | +-------------------------------+-----------------= --------------------------+=0D + | | MAC_PPPOE_IPV6_UDP_PAY | [Source IP], [De= st IP], |=0D + | | | [Source Port], [= Dest Port] |=0D + | +-------------------------------+-----------------= --------------------------+=0D + | | MAC_PPPOE_IPV6_UDP_PAY | [Source IP], [De= st IP] |=0D + | | _non_src_dst_port | = |=0D + | +-------------------------------+-----------------= --------------------------+=0D + | | MAC_PPPOE_IPV6_TCP_PAY | [Source IP], [De= st IP], |=0D + | | | [Source Port], [= Dest Port] |=0D + | PPPOES +-------------------------------+-----------------= --------------------------+=0D + | | MAC_PPPOE_IPV6_TCP_PAY | [Source IP], [De= st IP], |=0D + | | _non_src_dst_port | = |=0D + | +-------------------------------+-----------------= --------------------------+=0D + | | MAC_VLAN_PPPOE_IPV4_PAY | [VLAN], [Source = IP], [Dest IP] |=0D + | | _IP_address | = |=0D + | +-------------------------------+-----------------= --------------------------+=0D + | | MAC_VLAN_PPPOE_IPV4_UDP_PAY | [VLAN], [Source = IP], [Dest IP] |=0D + | | | [Source Port], [= Dest Port] |=0D + | +-------------------------------+-----------------= --------------------------+=0D + | | MAC_VLAN_PPPOE_IPV4_UDP_PAY | [VLAN], [Source = IP], [Dest IP] |=0D + | | _non_src_dst_port | = |=0D + | +-------------------------------+-----------------= --------------------------+=0D + | | MAC_VLAN_PPPOE_IPV4_TCP_PAY | [VLAN], [Source = IP], [Dest IP] |=0D + | | | [Source Port], [= Dest Port] |=0D + | +-------------------------------+-----------------= --------------------------+=0D + | | MAC_VLAN_PPPOE_IPV4_TCP_PAY | [VLAN], [Source = IP], [Dest IP] |=0D + | | _non_src_dst_port | = |=0D + | +-------------------------------+-----------------= --------------------------+=0D + | | MAC_VLAN_PPPOE_IPV6_PAY | [VLAN], [Source = IP], [Dest IP] |=0D + | | _IP_address | = |=0D + | +-------------------------------+-----------------= --------------------------+=0D + | | MAC_VLAN_PPPOE_IPV6_UDP_PAY | [VLAN], [Source = IP], [Dest IP] |=0D + | | | [Source Port], [= Dest Port] |=0D + | +-------------------------------+-----------------= --------------------------+=0D + | | MAC_VLAN_PPPOE_IPV6_UDP_PAY | [VLAN], [Source = IP], [Dest IP] |=0D + | | _non_src_dst_port | = |=0D + | +-------------------------------+-----------------= --------------------------+=0D + | | MAC_VLAN_PPPOE_IPV6_TCP_PAY | [VLAN], [Source = IP], [Dest IP] |=0D + | | | [Source Port], [= Dest Port] |=0D + | +-------------------------------+-----------------= --------------------------+=0D + | | MAC_VLAN_PPPOE_IPV6_TCP_PAY | [VLAN], [Source = IP], [Dest IP] |=0D + | | _non_src_dst_port | = |=0D + | +-------------------------------+-----------------= --------------------------+=0D + | | MAC_PPPOE_LCP_PAY | [Dest MAC], [sei= d], [pppoe_proto_id] |=0D + | +-------------------------------+-----------------= --------------------------+=0D + | | MAC_PPPOE_IPCP_PAY | [Dest MAC], [sei= d], [pppoe_proto_id] |=0D + | +-------------------------------+-----------------= --------------------------+=0D + | | MAC_VLAN_PPPOE_LCP_PAY | [Dest MAC], [VLA= N], [seid], |=0D + | | | [pppoe_proto_id]= |=0D + | +-------------------------------+-----------------= --------------------------+=0D + | | MAC_VLAN_PPPOE_IPCP_PAY | [Dest MAC], [VLA= N], [seid], |=0D + | | | [pppoe_proto_id]= |=0D + +---------------------+-------------------------------+-----------------= --------------------------+=0D + | | MAC_IPV4_PFCP_NODE | [Dest Port], [S-= field] |=0D + | +-------------------------------+-----------------= --------------------------+=0D + | | MAC_IPV4_PFCP_SESSION | [Dest Port], [S-= field] |=0D + | PFCP +-------------------------------+-----------------= --------------------------+=0D + | | MAC_IPV6_PFCP_NODE | [Dest Port], [S-= field] |=0D + | +-------------------------------+-----------------= --------------------------+=0D + | | MAC_IPV6_PFCP_SESSION | [Dest Port], [S-= field] |=0D + +---------------------+-------------------------------+-----------------= --------------------------+=0D + | | IP multicast | [Dest IP] = |=0D + | multicast +-------------------------------+-----------------= --------------------------+=0D + | | L2 multicast | [Dest MAC] = |=0D + +---------------------+-------------------------------+-----------------= --------------------------+=0D + | | ethertype filter_PPPOD | [Ether type] = |=0D + | +-------------------------------+-----------------= --------------------------+=0D + | ethertype filter | ethertype filter_PPPOE | [Ether type] = |=0D + | +-------------------------------+-----------------= --------------------------+=0D + | | ethertype filter_IPV6 | [Ether type] = |=0D + +---------------------+-------------------------------+-----------------= --------------------------+=0D + | | UDP port filter_DHCP discovery| [Source Port], [= Dest Port] |=0D + | +-------------------------------+-----------------= --------------------------+=0D + | UDP port filter | UDP port filter_DHCP offer | [Source Port], [= Dest Port] |=0D + | +-------------------------------+-----------------= --------------------------+=0D + | | UDP port filter_VXLAN | [Dest Port] = |=0D + +---------------------+-------------------------------+-----------------= --------------------------+=0D + | MAC VLAN filter | MAC_VLAN filter | [Dest MAC], [VLA= N] |=0D + +---------------------+-------------------------------+-----------------= --------------------------+=0D + | VLAN filter | VLAN filter | [VLAN] = |=0D + +---------------------+-------------------------------+-----------------= --------------------------+=0D + | | MAC_IPV4_L2TPv3 | [Source IP], [De= st IP], [Session_id] |=0D + | L2TPv3 +-------------------------------+-----------------= --------------------------+=0D + | | MAC_IPV6_L2TPv3 | [Source IP], [De= st IP], [Session_id] |=0D + +---------------------+-------------------------------+-----------------= --------------------------+=0D + | | MAC_IPV4_ESP | [Source IP], [De= st IP], [SPI] |=0D + | +-------------------------------+-----------------= --------------------------+=0D + | | MAC_IPV6_ESP | [Source IP], [De= st IP], [SPI] |=0D + | +-------------------------------+-----------------= --------------------------+=0D + | | MAC_IPV4_AH | [Source IP], [De= st IP], [SPI] |=0D + | ESP +-------------------------------+-----------------= --------------------------+=0D + | | MAC_IPV6_AH | [Source IP], [De= st IP], [SPI] |=0D + | +-------------------------------+-----------------= --------------------------+=0D + | | MAC_IPV4_NAT-T-ESP | [Source IP], [De= st IP], [SPI] |=0D + | +-------------------------------+-----------------= --------------------------+=0D + | | MAC_IPV6_NAT-T-ESP | [Source IP], [De= st IP], [SPI] |=0D + +---------------------+-------------------------------+-----------------= --------------------------+=0D +=0D +=0D +test case 01: MAC_PAY (this case is not supported in dpdk-21.05)=0D +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=0D +rules::=0D +=0D + flow validate 0 priority 0 ingress pattern eth src is 00:00:00:00:00:0= 1 dst is 00:11:22:33:44:55 type is 0x0800 / end actions vf id 1 / end=0D + flow validate 0 priority 1 ingress pattern eth src is 00:00:00:00:00:0= 1 dst is 00:11:22:33:44:55 type is 0x0800 / end actions vf id 2 / end=0D + flow create 0 priority 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=0D + flow create 0 priority 1 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 2 / end=0D +=0D +matched pkts::=0D +=0D + sendp([Ether(src=3D"00:00:00:00:00:01",dst=3D"00:11:22:33:44:55")/IP()= /Raw("x" *80)],iface=3D"ens786f0",count=3D1)=0D +=0D +mismatched pkts::=0D +=0D + sendp([Ether(src=3D"00:00:00:00:00:02",dst=3D"00:11:22:33:44:55")/IP()= /Raw("x" *80)],iface=3D"ens786f0",count=3D1)=0D + sendp([Ether(src=3D"00:00:00:00:00:01",dst=3D"00:11:22:33:44:54")/IP()= /Raw("x" *80)],iface=3D"ens786f0",count=3D1)=0D + sendp([Ether(src=3D"00:00:00:00:00:01",dst=3D"00:11:22:33:44:55")/IPv6= ()/Raw("x" *80)],iface=3D"ens786f0",count=3D1)=0D +=0D +=0D +test case 02: MAC_IPV4_FRAG=0D +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=0D +rules::=0D +=0D + flow validate 0 priority 0 ingress pattern eth dst is 68:05:ca:8d:ed:a= 8 / ipv4 src is 192.168.0.1 dst is 192.168.0.2 tos is 4 ttl is 2 / end acti= ons vf id 1 / end=0D + flow validate 0 priority 1 ingress pattern eth dst is 68:05:ca:8d:ed:a= 8 / ipv4 src is 192.168.0.1 dst is 192.168.0.2 tos is 4 ttl is 2 / end acti= ons vf id 2 / end=0D + flow create 0 priority 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 action= s vf id 1 / end=0D + flow create 0 priority 1 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 action= s vf id 2 / end=0D +=0D +matched pkts::=0D +=0D + sendp([Ether(dst=3D"68:05:ca:8d:ed:a8")/IP(src=3D"192.168.0.1",dst=3D"= 192.168.0.2",tos=3D4,ttl=3D2,frag=3D5)/("X"*480)], iface=3D"ens786f0", coun= t=3D1)=0D +=0D +mismatched pkts::=0D +=0D + sendp([Ether(dst=3D"68:05:ca:8d:ed:a3")/IP(src=3D"192.168.0.1",dst=3D"= 192.168.0.2",tos=3D4,ttl=3D2,frag=3D5)/("X"*480)], iface=3D"ens786f0", coun= t=3D1)=0D + sendp([Ether(dst=3D"68:05:ca:8d:ed:a8")/IP(src=3D"192.168.0.4",dst=3D"= 192.168.0.2",tos=3D4,ttl=3D2,frag=3D5)/("X"*480)], iface=3D"ens786f0", coun= t=3D1)=0D + sendp([Ether(dst=3D"68:05:ca:8d:ed:a8")/IP(src=3D"192.168.0.1",dst=3D"= 192.168.0.5",tos=3D4,ttl=3D2,frag=3D5)/("X"*480)], iface=3D"ens786f0", coun= t=3D1)=0D + sendp([Ether(dst=3D"68:05:ca:8d:ed:a8")/IP(src=3D"192.168.0.1",dst=3D"= 192.168.0.2",tos=3D5,ttl=3D2,frag=3D5)/("X"*480)], iface=3D"ens786f0", coun= t=3D1)=0D + sendp([Ether(dst=3D"68:05:ca:8d:ed:a8")/IP(src=3D"192.168.0.1",dst=3D"= 192.168.0.2",tos=3D4,ttl=3D3,frag=3D5)/("X"*480)], iface=3D"ens786f0", coun= t=3D1)=0D +=0D +=0D +test case 03: MAC_IPV4_PAY=0D +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=0D +rules::=0D +=0D + flow validate 0 priority 0 ingress pattern eth dst is 68:05:ca:8d:ed:a= 8 / 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=0D + flow validate 0 priority 1 ingress pattern eth dst is 68:05:ca:8d:ed:a= 8 / 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 2 / end=0D + flow create 0 priority 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=0D + flow create 0 priority 1 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 2 / end=0D +=0D +matched pkts::=0D +=0D + sendp([Ether(dst=3D"68:05:ca:8d:ed:a8")/IP(src=3D"192.168.0.1",dst=3D"= 192.168.0.2",tos=3D4,ttl=3D2)/TCP()/("X"*480)], iface=3D"ens786f0", count= =3D1)=0D +=0D +mismatched pkts::=0D +=0D + sendp([Ether(dst=3D"68:05:ca:8d:ed:a3")/IP(src=3D"192.168.0.1",dst=3D"= 192.168.0.2",tos=3D4,ttl=3D2)/TCP()/("X"*480)], iface=3D"ens786f0", count= =3D1)=0D + sendp([Ether(dst=3D"68:05:ca:8d:ed:a8")/IP(src=3D"192.168.0.4",dst=3D"= 192.168.0.2",tos=3D4,ttl=3D2)/TCP()/("X"*480)], iface=3D"ens786f0", count= =3D1)=0D + sendp([Ether(dst=3D"68:05:ca:8d:ed:a8")/IP(src=3D"192.168.0.1",dst=3D"= 192.168.0.5",tos=3D4,ttl=3D2)/TCP()/("X"*480)], iface=3D"ens786f0", count= =3D1)=0D + sendp([Ether(dst=3D"68:05:ca:8d:ed:a8")/IP(src=3D"192.168.0.1",dst=3D"= 192.168.0.2",tos=3D5,ttl=3D2)/TCP()/("X"*480)], iface=3D"ens786f0", count= =3D1)=0D + sendp([Ether(dst=3D"68:05:ca:8d:ed:a8")/IP(src=3D"192.168.0.1",dst=3D"= 192.168.0.2",tos=3D4,ttl=3D3)/TCP()/("X"*480)], iface=3D"ens786f0", count= =3D1)=0D + sendp([Ether(dst=3D"68:05:ca:8d:ed:a8")/IP(src=3D"192.168.0.1",dst=3D"= 192.168.0.2",tos=3D4,ttl=3D2)/UDP()/("X"*480)], iface=3D"ens786f0", count= =3D1)=0D +=0D +=0D +test case 04: MAC_IPV4_UDP_PAY=0D +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=0D +rules::=0D +=0D + flow validate 0 priority 0 ingress pattern eth dst is 68:05:ca:8d:ed:a= 8 / 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=0D + flow validate 0 priority 1 ingress pattern eth dst is 68:05:ca:8d:ed:a= 8 / 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 2 / end=0D + flow create 0 priority 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=0D + flow create 0 priority 1 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 2 / end=0D +=0D +matched pkts::=0D +=0D + sendp([Ether(dst=3D"68:05:ca:8d:ed:a8")/IP(src=3D"192.168.0.1",dst=3D"= 192.168.0.2",tos=3D4,ttl=3D3)/UDP(sport=3D25,dport=3D23)/("X"*480)], iface= =3D"ens786f0", count=3D1)=0D +=0D +mismatched pkts::=0D +=0D + sendp([Ether(dst=3D"68:05:ca:8d:ed:a3")/IP(src=3D"192.168.0.1",dst=3D"= 192.168.0.2",tos=3D4,ttl=3D3)/UDP(sport=3D25,dport=3D23)/("X"*480)], iface= =3D"ens786f0", count=3D1)=0D + sendp([Ether(dst=3D"68:05:ca:8d:ed:a8")/IP(src=3D"192.168.0.5",dst=3D"= 192.168.0.2",tos=3D4,ttl=3D3)/UDP(sport=3D25,dport=3D23)/("X"*480)], iface= =3D"ens786f0", count=3D1)=0D + sendp([Ether(dst=3D"68:05:ca:8d:ed:a8")/IP(src=3D"192.168.0.1",dst=3D"= 192.168.0.7",tos=3D4,ttl=3D3)/UDP(sport=3D25,dport=3D23)/("X"*480)], iface= =3D"ens786f0", count=3D1)=0D + sendp([Ether(dst=3D"68:05:ca:8d:ed:a8")/IP(src=3D"192.168.0.1",dst=3D"= 192.168.0.2",tos=3D5,ttl=3D3)/UDP(sport=3D25,dport=3D23)/("X"*480)], iface= =3D"ens786f0", count=3D1)=0D + sendp([Ether(dst=3D"68:05:ca:8d:ed:a8")/IP(src=3D"192.168.0.1",dst=3D"= 192.168.0.2",tos=3D4,ttl=3D9)/UDP(sport=3D25,dport=3D23)/("X"*480)], iface= =3D"ens786f0", count=3D1)=0D + sendp([Ether(dst=3D"68:05:ca:8d:ed:a8")/IP(src=3D"192.168.0.1",dst=3D"= 192.168.0.2",tos=3D4,ttl=3D3)/UDP(sport=3D30,dport=3D23)/("X"*480)], iface= =3D"ens786f0", count=3D1)=0D + sendp([Ether(dst=3D"68:05:ca:8d:ed:a8")/IP(src=3D"192.168.0.1",dst=3D"= 192.168.0.2",tos=3D4,ttl=3D3)/UDP(sport=3D25,dport=3D19)/("X"*480)], iface= =3D"ens786f0", count=3D1)=0D +=0D +=0D +test case 05: MAC_IPV4_TCP_PAY=0D +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=0D +rules::=0D +=0D + flow validate 0 priority 0 ingress pattern eth dst is 68:05:ca:8d:ed:a= 8 / 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=0D + flow validate 0 priority 1 ingress pattern eth dst is 68:05:ca:8d:ed:a= 8 / 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 2 / end=0D + flow create 0 priority 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=0D + flow create 0 priority 1 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 2 / end=0D +=0D +matched pkts::=0D +=0D + sendp([Ether(dst=3D"68:05:ca:8d:ed:a8")/IP(src=3D"192.168.0.1",dst=3D"= 192.168.0.2",tos=3D4,ttl=3D3)/TCP(sport=3D25,dport=3D23)/("X"*480)], iface= =3D"ens786f0", count=3D1)=0D +=0D +mismatched pkts::=0D +=0D + sendp([Ether(dst=3D"68:05:ca:8d:ed:a3")/IP(src=3D"192.168.0.1",dst=3D"= 192.168.0.2",tos=3D4,ttl=3D3)/TCP(sport=3D25,dport=3D23)/("X"*480)], iface= =3D"ens786f0", count=3D1)=0D + sendp([Ether(dst=3D"68:05:ca:8d:ed:a8")/IP(src=3D"192.168.0.5",dst=3D"= 192.168.0.2",tos=3D4,ttl=3D3)/TCP(sport=3D25,dport=3D23)/("X"*480)], iface= =3D"ens786f0", count=3D1)=0D + sendp([Ether(dst=3D"68:05:ca:8d:ed:a8")/IP(src=3D"192.168.0.1",dst=3D"= 192.168.0.7",tos=3D4,ttl=3D3)/TCP(sport=3D25,dport=3D23)/("X"*480)], iface= =3D"ens786f0", count=3D1)=0D + sendp([Ether(dst=3D"68:05:ca:8d:ed:a8")/IP(src=3D"192.168.0.1",dst=3D"= 192.168.0.2",tos=3D5,ttl=3D3)/TCP(sport=3D25,dport=3D23)/("X"*480)], iface= =3D"ens786f0", count=3D1)=0D + sendp([Ether(dst=3D"68:05:ca:8d:ed:a8")/IP(src=3D"192.168.0.1",dst=3D"= 192.168.0.2",tos=3D4,ttl=3D9)/TCP(sport=3D25,dport=3D23)/("X"*480)], iface= =3D"ens786f0", count=3D1)=0D + sendp([Ether(dst=3D"68:05:ca:8d:ed:a8")/IP(src=3D"192.168.0.1",dst=3D"= 192.168.0.2",tos=3D4,ttl=3D3)/TCP(sport=3D30,dport=3D23)/("X"*480)], iface= =3D"ens786f0", count=3D1)=0D + sendp([Ether(dst=3D"68:05:ca:8d:ed:a8")/IP(src=3D"192.168.0.1",dst=3D"= 192.168.0.2",tos=3D4,ttl=3D3)/TCP(sport=3D25,dport=3D19)/("X"*480)], iface= =3D"ens786f0", count=3D1)=0D +=0D +=0D +test case 06: MAC_IPV4_IGMP=0D +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=0D +rules::=0D +=0D + flow validate 0 priority 0 ingress pattern eth / ipv4 proto is 0x02 / = end actions vf id 1 / end=0D + flow validate 0 priority 1 ingress pattern eth / ipv4 proto is 0x02 / = end actions vf id 1 / end=0D + flow create 0 priority 0 ingress pattern eth / ipv4 proto is 0x02 / en= d actions vf id 1 / end=0D + flow create 0 priority 1 ingress pattern eth / ipv4 proto is 0x02 / en= d actions vf id 1 / end=0D +=0D +matched pkts::=0D +=0D + sendp([Ether(dst=3D"00:11:22:33:44:55")/IP()/IGMP()/Raw("X"*480)], ifa= ce=3D"ens786f0", count=3D1)=0D +=0D +mismatched pkts::=0D +=0D + sendp([Ether(dst=3D"00:11:22:33:44:55")/IP()/TCP()/Raw("X"*480)], ifac= e=3D"ens786f0", count=3D1)=0D + sendp([Ether(dst=3D"00:11:22:33:44:55")/IP()/UDP()/Raw("X"*480)], ifac= e=3D"ens786f0", count=3D1)=0D +=0D +=0D +test case 07: MAC_IPV6_srcip_dstip =0D +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=0D +rules::=0D +=0D + flow validate 0 priority 0 ingress pattern eth / ipv6 src is CDCD:910A= :2222:5498:8475:1111:3900:1536 dst is CDCD:910A:2222:5498:8475:1111:3900:20= 20 / end actions vf id 1 / end=0D + flow validate 0 priority 1 ingress pattern eth / ipv6 src is CDCD:910A= :2222:5498:8475:1111:3900:1536 dst is CDCD:910A:2222:5498:8475:1111:3900:20= 20 / end actions vf id 2 / end=0D + flow create 0 priority 0 ingress pattern eth / ipv6 src is CDCD:910A:2= 222:5498:8475:1111:3900:1536 dst is CDCD:910A:2222:5498:8475:1111:3900:2020= / end actions vf id 1 / end=0D + flow create 0 priority 1 ingress pattern eth / ipv6 src is CDCD:910A:2= 222:5498:8475:1111:3900:1536 dst is CDCD:910A:2222:5498:8475:1111:3900:2020= / end actions vf id 2 / end=0D +=0D +matched pkts::=0D +=0D + sendp([Ether(dst=3D"00:11:22:33:44:55")/IPv6(src=3D"CDCD:910A:2222:549= 8:8475:1111:3900:1536", dst=3D"CDCD:910A:2222:5498:8475:1111:3900:2020")/("= X"*480)], iface=3D"ens786f0", count=3D1)=0D + sendp([Ether(dst=3D"00:11:22:33:44:55")/IPv6(src=3D"CDCD:910A:2222:549= 8:8475:1111:3900:1536", dst=3D"CDCD:910A:2222:5498:8475:1111:3900:2020")/IP= v6ExtHdrFragment()/("X"*480)], iface=3D"ens786f0", count=3D1)=0D +=0D +mismatched pkts::=0D +=0D + sendp([Ether(dst=3D"00:11:22:33:44:55")/IPv6(src=3D"CDCD:910A:2222:549= 8:8475:1111:3900:1537", dst=3D"CDCD:910A:2222:5498:8475:1111:3900:2020")/("= X"*480)], iface=3D"ens786f0", count=3D1)=0D + sendp([Ether(dst=3D"00:11:22:33:44:55")/IPv6(src=3D"CDCD:910A:2222:549= 8:8475:1111:3900:1536", dst=3D"CDCD:910A:2222:5498:8475:1111:3900:2023")/("= X"*480)], iface=3D"ens786f0", count=3D1)=0D + sendp([Ether(dst=3D"00:11:22:33:44:55")/IPv6(src=3D"CDCD:910A:2222:549= 8:8475:1111:3900:1537", dst=3D"CDCD:910A:2222:5498:8475:1111:3900:2020")/IP= v6ExtHdrFragment()/("X"*480)], iface=3D"ens786f0", count=3D1)=0D + sendp([Ether(dst=3D"00:11:22:33:44:55")/IPv6(src=3D"CDCD:910A:2222:549= 8:8475:1111:3900:1536", dst=3D"CDCD:910A:2222:5498:8475:1111:3900:2023")/IP= v6ExtHdrFragment()/("X"*480)], iface=3D"ens786f0", count=3D1)=0D +=0D +=0D +test case 08: MAC_IPV6_dstip_tc=0D +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=0D +rules::=0D +=0D + flow validate 0 priority 0 ingress pattern eth dst is 68:05:ca:8d:ed:a= 8 / ipv6 dst is CDCD:910A:2222:5498:8475:1111:3900:2020 tc is 3 / end actio= ns vf id 1 / end=0D + flow validate 0 priority 1 ingress pattern eth dst is 68:05:ca:8d:ed:a= 8 / ipv6 dst is CDCD:910A:2222:5498:8475:1111:3900:2020 tc is 3 / end actio= ns vf id 2 / end=0D + flow create 0 priority 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=0D + flow create 0 priority 1 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 2 / end=0D +=0D +matched pkts::=0D +=0D + sendp([Ether(dst=3D"68:05:ca:8d:ed:a8")/IPv6(src=3D"CDCD:910A:2222:549= 8:8475:1111:3900:1518", dst=3D"CDCD:910A:2222:5498:8475:1111:3900:2020",tc= =3D3)/("X"*480)], iface=3D"ens786f0", count=3D1)=0D + sendp([Ether(dst=3D"68:05:ca:8d:ed:a8")/IPv6(src=3D"CDCD:910A:2222:549= 8:8475:1111:3900:1518", dst=3D"CDCD:910A:2222:5498:8475:1111:3900:2020",tc= =3D3)/IPv6ExtHdrFragment()/("X"*480)], iface=3D"ens786f0", count=3D1)=0D +=0D +mismatched pkts::=0D +=0D + sendp([Ether(dst=3D"68:05:ca:8d:ed:a3")/IPv6(src=3D"CDCD:910A:2222:549= 8:8475:1111:3900:1518", dst=3D"CDCD:910A:2222:5498:8475:1111:3900:2020",tc= =3D3)/("X"*480)], iface=3D"ens786f0", count=3D1)=0D + sendp([Ether(dst=3D"68:05:ca:8d:ed:a8")/IPv6(src=3D"CDCD:910A:2222:549= 8:8475:1111:3900:1518", dst=3D"CDCD:910A:2222:5498:8475:1111:3900:2023",tc= =3D3)/("X"*480)], iface=3D"ens786f0", count=3D1)=0D + sendp([Ether(dst=3D"68:05:ca:8d:ed:a8")/IPv6(src=3D"CDCD:910A:2222:549= 8:8475:1111:3900:1518", dst=3D"CDCD:910A:2222:5498:8475:1111:3900:2020",tc= =3D4)/("X"*480)], iface=3D"ens786f0", count=3D1)=0D + sendp([Ether(dst=3D"68:05:ca:8d:ed:a3")/IPv6(src=3D"CDCD:910A:2222:549= 8:8475:1111:3900:1518", dst=3D"CDCD:910A:2222:5498:8475:1111:3900:2020",tc= =3D3)/IPv6ExtHdrFragment()/("X"*480)], iface=3D"ens786f0", count=3D1)=0D + sendp([Ether(dst=3D"68:05:ca:8d:ed:a8")/IPv6(src=3D"CDCD:910A:2222:549= 8:8475:1111:3900:1518", dst=3D"CDCD:910A:2222:5498:8475:1111:3900:2023",tc= =3D3)/IPv6ExtHdrFragment()/("X"*480)], iface=3D"ens786f0", count=3D1)=0D + sendp([Ether(dst=3D"68:05:ca:8d:ed:a8")/IPv6(src=3D"CDCD:910A:2222:549= 8:8475:1111:3900:1518", dst=3D"CDCD:910A:2222:5498:8475:1111:3900:2020",tc= =3D4)/IPv6ExtHdrFragment()/("X"*480)], iface=3D"ens786f0", count=3D1)=0D +=0D +=0D +test case 09: MAC_IPV6_UDP_PAY =0D +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=0D +rules::=0D +=0D + flow validate 0 priority 0 ingress pattern eth dst is 68:05:ca:8d:ed:a= 8 / ipv6 dst is CDCD:910A:2222:5498:8475:1111:3900:2020 tc is 3 / udp src i= s 25 dst is 23 / end actions vf id 1 / end=0D + flow validate 0 priority 1 ingress pattern eth dst is 68:05:ca:8d:ed:a= 8 / ipv6 dst is CDCD:910A:2222:5498:8475:1111:3900:2020 tc is 3 / udp src i= s 25 dst is 23 / end actions vf id 2 / end=0D + flow create 0 priority 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=0D + flow create 0 priority 1 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 2 / end=0D +=0D +matched pkts::=0D +=0D + sendp([Ether(dst=3D"68:05:ca:8d:ed:a8")/IPv6(src=3D"CDCD:910A:2222:549= 8:8475:1111:3900:1518", dst=3D"CDCD:910A:2222:5498:8475:1111:3900:2020",tc= =3D3)/UDP(sport=3D25,dport=3D23)/("X"*480)], iface=3D"ens786f0",count=3D1)= =0D +=0D +mismatched pkts::=0D +=0D + sendp([Ether(dst=3D"68:05:ca:8d:ed:a3")/IPv6(src=3D"CDCD:910A:2222:549= 8:8475:1111:3900:1518", dst=3D"CDCD:910A:2222:5498:8475:1111:3900:2020",tc= =3D3)/UDP(sport=3D25,dport=3D23)/("X"*480)], iface=3D"ens786f0",count=3D1)= =0D + sendp([Ether(dst=3D"68:05:ca:8d:ed:a8")/IPv6(src=3D"CDCD:910A:2222:549= 8:8475:1111:3900:1518", dst=3D"CDCD:910A:2222:5498:8475:1111:3900:2023",tc= =3D3)/UDP(sport=3D25,dport=3D23)/("X"*480)], iface=3D"ens786f0",count=3D1)= =0D + sendp([Ether(dst=3D"68:05:ca:8d:ed:a8")/IPv6(src=3D"CDCD:910A:2222:549= 8:8475:1111:3900:1518", dst=3D"CDCD:910A:2222:5498:8475:1111:3900:2020",tc= =3D7)/UDP(sport=3D25,dport=3D23)/("X"*480)], iface=3D"ens786f0",count=3D1)= =0D + sendp([Ether(dst=3D"68:05:ca:8d:ed:a8")/IPv6(src=3D"CDCD:910A:2222:549= 8:8475:1111:3900:1518", dst=3D"CDCD:910A:2222:5498:8475:1111:3900:2020",tc= =3D3)/UDP(sport=3D30,dport=3D23)/("X"*480)], iface=3D"ens786f0",count=3D1)= =0D + sendp([Ether(dst=3D"68:05:ca:8d:ed:a8")/IPv6(src=3D"CDCD:910A:2222:549= 8:8475:1111:3900:1518", dst=3D"CDCD:910A:2222:5498:8475:1111:3900:2020",tc= =3D3)/UDP(sport=3D25,dport=3D19)/("X"*480)], iface=3D"ens786f0",count=3D1)= =0D +=0D +=0D +test case 10: MAC_IPV6_TCP =0D +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=0D +rules::=0D +=0D + flow validate 0 priority 0 ingress pattern eth dst is 68:05:ca:8d:ed:a= 8 / ipv6 dst is CDCD:910A:2222:5498:8475:1111:3900:2020 tc is 3 / tcp src i= s 25 dst is 23 / end actions vf id 1 / end=0D + flow validate 0 priority 1 ingress pattern eth dst is 68:05:ca:8d:ed:a= 8 / ipv6 dst is CDCD:910A:2222:5498:8475:1111:3900:2020 tc is 3 / tcp src i= s 25 dst is 23 / end actions vf id 2 / end=0D + flow create 0 priority 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=0D + flow create 0 priority 1 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 2 / end=0D +=0D +matched pkts::=0D +=0D + sendp([Ether(dst=3D"68:05:ca:8d:ed:a8")/IPv6(src=3D"CDCD:910A:2222:549= 8:8475:1111:3900:1518", dst=3D"CDCD:910A:2222:5498:8475:1111:3900:2020",tc= =3D3)/TCP(sport=3D25,dport=3D23)/("X"*480)], iface=3D"ens786f0", count=3D1)= =0D +=0D +mismatched pkts::=0D +=0D + sendp([Ether(dst=3D"68:05:ca:8d:ed:a3")/IPv6(src=3D"CDCD:910A:2222:549= 8:8475:1111:3900:1518", dst=3D"CDCD:910A:2222:5498:8475:1111:3900:2020",tc= =3D3)/TCP(sport=3D25,dport=3D23)/("X"*480)], iface=3D"ens786f0", count=3D1)= =0D + sendp([Ether(dst=3D"68:05:ca:8d:ed:a8")/IPv6(src=3D"CDCD:910A:2222:549= 8:8475:1111:3900:1518", dst=3D"CDCD:910A:2222:5498:8475:1111:3900:2023",tc= =3D3)/TCP(sport=3D25,dport=3D23)/("X"*480)], iface=3D"ens786f0", count=3D1)= =0D + sendp([Ether(dst=3D"68:05:ca:8d:ed:a8")/IPv6(src=3D"CDCD:910A:2222:549= 8:8475:1111:3900:1518", dst=3D"CDCD:910A:2222:5498:8475:1111:3900:2020",tc= =3D7)/TCP(sport=3D25,dport=3D23)/("X"*480)], iface=3D"ens786f0", count=3D1)= =0D + sendp([Ether(dst=3D"68:05:ca:8d:ed:a8")/IPv6(src=3D"CDCD:910A:2222:549= 8:8475:1111:3900:1518", dst=3D"CDCD:910A:2222:5498:8475:1111:3900:2020",tc= =3D3)/TCP(sport=3D30,dport=3D23)/("X"*480)], iface=3D"ens786f0", count=3D1)= =0D + sendp([Ether(dst=3D"68:05:ca:8d:ed:a8")/IPv6(src=3D"CDCD:910A:2222:549= 8:8475:1111:3900:1518", dst=3D"CDCD:910A:2222:5498:8475:1111:3900:2020",tc= =3D3)/TCP(sport=3D25,dport=3D19)/("X"*480)], iface=3D"ens786f0", count=3D1)= =0D +=0D +=0D +test case 11: MAC_IPV4_NVGRE_IPV4_PAY=0D +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=0D +rules::=0D +=0D + flow validate 0 priority 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 / en= d actions vf id 1 / end=0D + flow validate 0 priority 1 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 / en= d actions vf id 2 / end=0D + flow create 0 priority 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=0D + flow create 0 priority 1 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 2 / end=0D +=0D +matched pkts::=0D +=0D + sendp([Ether()/IP(dst=3D"192.168.0.1")/NVGRE(TNI=3D2)/Ether()/IP(src= =3D"192.168.1.2", dst=3D"192.168.1.3")/Raw("x"*80)],iface=3D"ens786f0",coun= t=3D1)=0D + sendp([Ether()/IP(dst=3D"192.168.0.1")/NVGRE(TNI=3D2)/Ether()/IP(src= =3D"192.168.1.2", dst=3D"192.168.1.3" ,frag=3D5)/Raw("x"*80)],iface=3D"ens7= 86f0",count=3D1)=0D +=0D +mismatched pkts::=0D +=0D + sendp([Ether()/IP(dst=3D"192.168.0.2")/NVGRE(TNI=3D2)/Ether()/IP(src= =3D"192.168.1.2", dst=3D"192.168.1.3")/Raw("x"*80)],iface=3D"ens786f0",coun= t=3D1)=0D + sendp([Ether()/IP(dst=3D"192.168.0.1")/NVGRE(TNI=3D3)/Ether()/IP(src= =3D"192.168.1.2", dst=3D"192.168.1.3")/Raw("x"*80)],iface=3D"ens786f0",coun= t=3D1)=0D + sendp([Ether()/IP(dst=3D"192.168.0.1")/NVGRE(TNI=3D2)/Ether()/IP(src= =3D"192.168.1.4", dst=3D"192.168.1.3")/Raw("x"*80)],iface=3D"ens786f0",coun= t=3D1)=0D + sendp([Ether()/IP(dst=3D"192.168.0.1")/NVGRE(TNI=3D2)/Ether()/IP(src= =3D"192.168.1.2", dst=3D"192.168.1.5")/Raw("x"*80)],iface=3D"ens786f0",coun= t=3D1)=0D + sendp([Ether()/IP(dst=3D"192.168.0.2")/NVGRE(TNI=3D2)/Ether()/IP(src= =3D"192.168.1.2", dst=3D"192.168.1.3" ,frag=3D5)/Raw("x"*80)],iface=3D"ens7= 86f0",count=3D1)=0D + sendp([Ether()/IP(dst=3D"192.168.0.1")/NVGRE(TNI=3D3)/Ether()/IP(src= =3D"192.168.1.2", dst=3D"192.168.1.3" ,frag=3D5)/Raw("x"*80)],iface=3D"ens7= 86f0",count=3D1)=0D + sendp([Ether()/IP(dst=3D"192.168.0.1")/NVGRE(TNI=3D2)/Ether()/IP(src= =3D"192.168.1.4", dst=3D"192.168.1.3" ,frag=3D5)/Raw("x"*80)],iface=3D"ens7= 86f0",count=3D1)=0D + sendp([Ether()/IP(dst=3D"192.168.0.1")/NVGRE(TNI=3D2)/Ether()/IP(src= =3D"192.168.1.2", dst=3D"192.168.1.5" ,frag=3D5)/Raw("x"*80)],iface=3D"ens7= 86f0",count=3D1)=0D +=0D +=0D +test case 12: MAC_IPV4_NVGRE_IPV4_UDP_PAY =0D +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=0D +rules::=0D +=0D + flow validate 0 priority 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=0D + flow validate 0 priority 1 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 2 / end=0D + flow create 0 priority 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 / ud= p src is 50 dst is 23 / end actions vf id 1 / end=0D + flow create 0 priority 1 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 / ud= p src is 50 dst is 23 / end actions vf id 2 / end=0D +=0D +matched pkts::=0D +=0D + sendp([Ether()/IP(dst=3D"192.168.0.1")/NVGRE(TNI=3D0x8)/Ether()/IP(src= =3D"192.168.0.2", dst=3D"192.168.0.3")/UDP(sport=3D50,dport=3D23)/Raw("x"*8= 0)], iface=3D"ens786f0", count=3D1)=0D +=0D +mismatched pkts::=0D +=0D + sendp([Ether()/IP(dst=3D"192.168.0.2")/NVGRE(TNI=3D0x8)/Ether()/IP(src= =3D"192.168.0.2", dst=3D"192.168.0.3")/UDP(sport=3D50,dport=3D23)/Raw("x"*8= 0)], iface=3D"ens786f0", count=3D1)=0D + sendp([Ether()/IP(dst=3D"192.168.0.1")/NVGRE(TNI=3D0x3)/Ether()/IP(src= =3D"192.168.0.2", dst=3D"192.168.0.3")/UDP(sport=3D50,dport=3D23)/Raw("x"*8= 0)], iface=3D"ens786f0", count=3D1)=0D + sendp([Ether()/IP(dst=3D"192.168.0.1")/NVGRE(TNI=3D0x8)/Ether()/IP(src= =3D"192.168.0.5", dst=3D"192.168.0.3")/UDP(sport=3D50,dport=3D23)/Raw("x"*8= 0)], iface=3D"ens786f0", count=3D1)=0D + sendp([Ether()/IP(dst=3D"192.168.0.1")/NVGRE(TNI=3D0x8)/Ether()/IP(src= =3D"192.168.0.2", dst=3D"192.168.0.7")/UDP(sport=3D50,dport=3D23)/Raw("x"*8= 0)], iface=3D"ens786f0", count=3D1)=0D + sendp([Ether()/IP(dst=3D"192.168.0.1")/NVGRE(TNI=3D0x8)/Ether()/IP(src= =3D"192.168.0.2", dst=3D"192.168.0.3")/UDP(sport=3D20,dport=3D23)/Raw("x"*8= 0)], iface=3D"ens786f0", count=3D1)=0D + sendp([Ether()/IP(dst=3D"192.168.0.1")/NVGRE(TNI=3D0x8)/Ether()/IP(src= =3D"192.168.0.2", dst=3D"192.168.0.3")/UDP(sport=3D50,dport=3D19)/Raw("x"*8= 0)], iface=3D"ens786f0", count=3D1)=0D +=0D +=0D +test case 13: MAC_IPV4_NVGRE_IPV4_TCP =0D +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=0D +rules::=0D +=0D + flow validate 0 priority 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 / tc= p src is 25 dst is 23 / end actions vf id 1 / end=0D + flow validate 0 priority 1 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 / tc= p src is 25 dst is 23 / end actions vf id 2 / end=0D + flow create 0 priority 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=0D + flow create 0 priority 1 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 2 / end=0D +=0D +matched pkts::=0D +=0D + sendp([Ether()/IP(dst=3D"192.168.0.1")/NVGRE(TNI=3D2)/Ether()/IP(src= =3D"192.168.1.2", dst=3D"192.168.1.3")/TCP(sport=3D25,dport=3D23)/Raw("x"*8= 0)],iface=3D"ens786f0",count=3D1)=0D +=0D +mismatched pkts::=0D +=0D + sendp([Ether()/IP(dst=3D"192.168.0.2")/NVGRE(TNI=3D2)/Ether()/IP(src= =3D"192.168.1.2", dst=3D"192.168.1.3")/TCP(sport=3D25,dport=3D23)/Raw("x"*8= 0)],iface=3D"ens786f0",count=3D1)=0D + sendp([Ether()/IP(dst=3D"192.168.0.1")/NVGRE(TNI=3D3)/Ether()/IP(src= =3D"192.168.1.2", dst=3D"192.168.1.3")/TCP(sport=3D25,dport=3D23)/Raw("x"*8= 0)],iface=3D"ens786f0",count=3D1)=0D + sendp([Ether()/IP(dst=3D"192.168.0.1")/NVGRE(TNI=3D2)/Ether()/IP(src= =3D"192.168.1.5", dst=3D"192.168.1.3")/TCP(sport=3D25,dport=3D23)/Raw("x"*8= 0)],iface=3D"ens786f0",count=3D1)=0D + sendp([Ether()/IP(dst=3D"192.168.0.1")/NVGRE(TNI=3D2)/Ether()/IP(src= =3D"192.168.1.2", dst=3D"192.168.1.7")/TCP(sport=3D25,dport=3D23)/Raw("x"*8= 0)],iface=3D"ens786f0",count=3D1)=0D + sendp([Ether()/IP(dst=3D"192.168.0.1")/NVGRE(TNI=3D2)/Ether()/IP(src= =3D"192.168.1.2", dst=3D"192.168.1.3")/TCP(sport=3D20,dport=3D23)/Raw("x"*8= 0)],iface=3D"ens786f0",count=3D1)=0D + sendp([Ether()/IP(dst=3D"192.168.0.1")/NVGRE(TNI=3D2)/Ether()/IP(src= =3D"192.168.1.2", dst=3D"192.168.1.3")/TCP(sport=3D25,dport=3D39)/Raw("x"*8= 0)],iface=3D"ens786f0",count=3D1)=0D +=0D +=0D +test case 14: MAC_IPV4_NVGRE_MAC_IPV4_PAY =0D +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=0D +rules::=0D +=0D + flow validate 0 priority 0 ingress pattern eth / ipv4 dst is 192.168.0= .1 / nvgre tni is 2 / eth dst is 68:05:ca:8d:ed:a8 / ipv4 src is 192.168.1.= 2 dst is 192.168.1.3 / end actions vf id 1 / end=0D + flow validate 0 priority 1 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 2 / end=0D + flow create 0 priority 0 ingress pattern eth / ipv4 dst is 192.168.0.1= / nvgre tni is 2 / eth dst is 68:05:ca:8d:ed:a8 / ipv4 src is 192.168.1.2 = dst is 192.168.1.3 / end actions vf id 1 / end=0D + flow create 0 priority 1 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 2 / end=0D +=0D +matched pkts::=0D +=0D + sendp([Ether()/IP(dst=3D"192.168.0.1")/NVGRE(TNI=3D2)/Ether(dst=3D"68:= 05:ca:8d:ed:a8")/IP(src=3D"192.168.1.2", dst=3D"192.168.1.3")/Raw("x"*80)],= iface=3D"ens786f0",count=3D1)=0D + sendp([Ether()/IP(dst=3D"192.168.0.1")/NVGRE(TNI=3D2)/Ether(dst=3D"68:= 05:ca:8d:ed:a8")/IP(src=3D"192.168.1.2", dst=3D"192.168.1.3" ,frag=3D5)/Raw= ("x"*80)],iface=3D"ens786f0",count=3D1)=0D +=0D +mismatched pkts::=0D +=0D + sendp([Ether()/IP(dst=3D"192.168.0.2")/NVGRE(TNI=3D2)/Ether(dst=3D"68:= 05:ca:8d:ed:a8")/IP(src=3D"192.168.1.2", dst=3D"192.168.1.3")/Raw("x"*80)],= iface=3D"ens786f0",count=3D1)=0D + sendp([Ether()/IP(dst=3D"192.168.0.1")/NVGRE(TNI=3D3)/Ether(dst=3D"68:= 05:ca:8d:ed:a8")/IP(src=3D"192.168.1.2", dst=3D"192.168.1.3")/Raw("x"*80)],= iface=3D"ens786f0",count=3D1)=0D + sendp([Ether()/IP(dst=3D"192.168.0.1")/NVGRE(TNI=3D2)/Ether(dst=3D"68:= 05:ca:8d:ed:a9")/IP(src=3D"192.168.1.2", dst=3D"192.168.1.3")/Raw("x"*80)],= iface=3D"ens786f0",count=3D1)=0D + sendp([Ether()/IP(dst=3D"192.168.0.1")/NVGRE(TNI=3D2)/Ether(dst=3D"68:= 05:ca:8d:ed:a8")/IP(src=3D"192.168.1.4", dst=3D"192.168.1.3")/Raw("x"*80)],= iface=3D"ens786f0",count=3D1)=0D + sendp([Ether()/IP(dst=3D"192.168.0.1")/NVGRE(TNI=3D2)/Ether(dst=3D"68:= 05:ca:8d:ed:a8")/IP(src=3D"192.168.1.2", dst=3D"192.168.1.5")/Raw("x"*80)],= iface=3D"ens786f0",count=3D1)=0D + sendp([Ether()/IP(dst=3D"192.168.0.2")/NVGRE(TNI=3D2)/Ether(dst=3D"68:= 05:ca:8d:ed:a8")/IP(src=3D"192.168.1.2", dst=3D"192.168.1.3" ,frag=3D5)/Raw= ("x"*80)],iface=3D"ens786f0",count=3D1)=0D + sendp([Ether()/IP(dst=3D"192.168.0.1")/NVGRE(TNI=3D3)/Ether(dst=3D"68:= 05:ca:8d:ed:a8")/IP(src=3D"192.168.1.2", dst=3D"192.168.1.3" ,frag=3D5)/Raw= ("x"*80)],iface=3D"ens786f0",count=3D1)=0D + sendp([Ether()/IP(dst=3D"192.168.0.1")/NVGRE(TNI=3D2)/Ether(dst=3D"68:= 05:ca:8d:ed:a9")/IP(src=3D"192.168.1.2", dst=3D"192.168.1.3" ,frag=3D5)/Raw= ("x"*80)],iface=3D"ens786f0",count=3D1)=0D + sendp([Ether()/IP(dst=3D"192.168.0.1")/NVGRE(TNI=3D2)/Ether(dst=3D"68:= 05:ca:8d:ed:a8")/IP(src=3D"192.168.1.4", dst=3D"192.168.1.3" ,frag=3D5)/Raw= ("x"*80)],iface=3D"ens786f0",count=3D1)=0D + sendp([Ether()/IP(dst=3D"192.168.0.1")/NVGRE(TNI=3D2)/Ether(dst=3D"68:= 05:ca:8d:ed:a8")/IP(src=3D"192.168.1.2", dst=3D"192.168.1.5" ,frag=3D5)/Raw= ("x"*80)],iface=3D"ens786f0",count=3D1)=0D +=0D +=0D +test case 15: MAC_IPV4_NVGRE_MAC_IPV4_UDP_PAY=0D +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=0D +rules::=0D +=0D + flow validate 0 priority 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.16= 8.1.2 dst is 192.168.1.3 / udp src is 25 dst is 23 / end actions vf id 1 / = end=0D + flow validate 0 priority 1 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.16= 8.1.2 dst is 192.168.1.3 / udp src is 25 dst is 23 / end actions vf id 2 / = end=0D + flow create 0 priority 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 / en= d=0D + flow create 0 priority 1 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 2 / en= d=0D +=0D +matched pkts::=0D +=0D + sendp([Ether()/IP(dst=3D"192.168.0.1")/NVGRE(TNI=3D0x8)/Ether(dst=3D"6= 8:05:ca:8d:ed:a8")/IP(src=3D"192.168.1.2", dst=3D"192.168.1.3")/UDP(sport= =3D25,dport=3D23)/Raw("x"*80)], iface=3D"ens786f0", count=3D1)=0D +=0D +mismatched pkts::=0D +=0D + sendp([Ether()/IP(dst=3D"192.168.0.2")/NVGRE(TNI=3D0x8)/Ether(dst=3D"6= 8:05:ca:8d:ed:a8")/IP(src=3D"192.168.1.2", dst=3D"192.168.1.3")/UDP(sport= =3D25,dport=3D23)/Raw("x"*80)], iface=3D"ens786f0", count=3D1)=0D + sendp([Ether()/IP(dst=3D"192.168.0.1")/NVGRE(TNI=3D0x3)/Ether(dst=3D"6= 8:05:ca:8d:ed:a8")/IP(src=3D"192.168.1.2", dst=3D"192.168.1.3")/UDP(sport= =3D25,dport=3D23)/Raw("x"*80)], iface=3D"ens786f0", count=3D1)=0D + sendp([Ether()/IP(dst=3D"192.168.0.1")/NVGRE(TNI=3D0x8)/Ether(dst=3D"6= 8:05:ca:8d:ed:a2")/IP(src=3D"192.168.1.2", dst=3D"192.168.1.3")/UDP(sport= =3D25,dport=3D23)/Raw("x"*80)], iface=3D"ens786f0", count=3D1)=0D + sendp([Ether()/IP(dst=3D"192.168.0.1")/NVGRE(TNI=3D0x8)/Ether(dst=3D"6= 8:05:ca:8d:ed:a8")/IP(src=3D"192.168.1.5", dst=3D"192.168.1.3")/UDP(sport= =3D25,dport=3D23)/Raw("x"*80)], iface=3D"ens786f0", count=3D1)=0D + sendp([Ether()/IP(dst=3D"192.168.0.1")/NVGRE(TNI=3D0x8)/Ether(dst=3D"6= 8:05:ca:8d:ed:a8")/IP(src=3D"192.168.1.2", dst=3D"192.168.1.7")/UDP(sport= =3D25,dport=3D23)/Raw("x"*80)], iface=3D"ens786f0", count=3D1)=0D + sendp([Ether()/IP(dst=3D"192.168.0.1")/NVGRE(TNI=3D0x8)/Ether(dst=3D"6= 8:05:ca:8d:ed:a8")/IP(src=3D"192.168.1.2", dst=3D"192.168.1.3")/UDP(sport= =3D2,dport=3D23)/Raw("x"*80)], iface=3D"ens786f0", count=3D1)=0D + sendp([Ether()/IP(dst=3D"192.168.0.1")/NVGRE(TNI=3D0x8)/Ether(dst=3D"6= 8:05:ca:8d:ed:a8")/IP(src=3D"192.168.1.2", dst=3D"192.168.1.3")/UDP(sport= =3D25,dport=3D20)/Raw("x"*80)], iface=3D"ens786f0", count=3D1)=0D +=0D +=0D +test case 16: MAC_IPV4_NVGRE_MAC_IPV4_TCP=0D +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=0D +rules::=0D +=0D + flow validate 0 priority 0 ingress pattern eth / ipv4 dst is 192.168.0= .1 / nvgre tni is 2 / eth dst is 68:05:ca:8d:ed:a8 / ipv4 src is 192.168.1= .2 dst is 192.168.1.3 / tcp src is 25 dst is 23 / end actions vf id 1 / end= =0D + flow validate 0 priority 1 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 2 / end= =0D + flow create 0 priority 0 ingress pattern eth / ipv4 dst is 192.168.0.1= / nvgre tni is 2 / eth dst is 68:05:ca:8d:ed:a8 / ipv4 src is 192.168.1.2= dst is 192.168.1.3 / tcp src is 25 dst is 23 / end actions vf id 1 / end=0D + flow create 0 priority 1 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 2 / end=0D +=0D +matched pkts::=0D +=0D + sendp([Ether()/IP(dst=3D"192.168.0.1")/NVGRE(TNI=3D2)/Ether(dst=3D"68:= 05:ca:8d:ed:a8")/IP(src=3D"192.168.1.2", dst=3D"192.168.1.3")/TCP(sport=3D2= 5,dport=3D23)/Raw("x"*80)],iface=3D"ens786f0",count=3D1)=0D +=0D +mismatched pkts::=0D +=0D + sendp([Ether()/IP(dst=3D"192.168.0.2")/NVGRE(TNI=3D2)/Ether(dst=3D"68:= 05:ca:8d:ed:a8")/IP(src=3D"192.168.1.2", dst=3D"192.168.1.3")/TCP(sport=3D2= 5,dport=3D23)/Raw("x"*80)],iface=3D"ens786f0",count=3D1)=0D + sendp([Ether()/IP(dst=3D"192.168.0.1")/NVGRE(TNI=3D3)/Ether(dst=3D"68:= 05:ca:8d:ed:a8")/IP(src=3D"192.168.1.2", dst=3D"192.168.1.3")/TCP(sport=3D2= 5,dport=3D23)/Raw("x"*80)],iface=3D"ens786f0",count=3D1)=0D + sendp([Ether()/IP(dst=3D"192.168.0.1")/NVGRE(TNI=3D2)/Ether(dst=3D"68:= 05:ca:8d:ed:a2")/IP(src=3D"192.168.1.2", dst=3D"192.168.1.3")/TCP(sport=3D2= 5,dport=3D23)/Raw("x"*80)],iface=3D"ens786f0",count=3D1)=0D + sendp([Ether()/IP(dst=3D"192.168.0.1")/NVGRE(TNI=3D2)/Ether(dst=3D"68:= 05:ca:8d:ed:a8")/IP(src=3D"192.168.1.5", dst=3D"192.168.1.3")/TCP(sport=3D2= 5,dport=3D23)/Raw("x"*80)],iface=3D"ens786f0",count=3D1)=0D + sendp([Ether()/IP(dst=3D"192.168.0.1")/NVGRE(TNI=3D2)/Ether(dst=3D"68:= 05:ca:8d:ed:a8")/IP(src=3D"192.168.1.2", dst=3D"192.168.1.7")/TCP(sport=3D2= 5,dport=3D23)/Raw("x"*80)],iface=3D"ens786f0",count=3D1)=0D + sendp([Ether()/IP(dst=3D"192.168.0.1")/NVGRE(TNI=3D2)/Ether(dst=3D"68:= 05:ca:8d:ed:a8")/IP(src=3D"192.168.1.2", dst=3D"192.168.1.3")/TCP(sport=3D1= ,dport=3D23)/Raw("x"*80)],iface=3D"ens786f0",count=3D1)=0D + sendp([Ether()/IP(dst=3D"192.168.0.1")/NVGRE(TNI=3D2)/Ether(dst=3D"68:= 05:ca:8d:ed:a8")/IP(src=3D"192.168.1.2", dst=3D"192.168.1.3")/TCP(sport=3D2= 5,dport=3D20)/Raw("x"*80)],iface=3D"ens786f0",count=3D1)=0D +=0D +=0D +test case 17: MAC_IPV4_PFCP_NODE=0D +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=0D +rules::=0D +=0D + flow validate 0 priority 0 ingress pattern eth / ipv4 / udp / pfcp s_f= ield is 0 / end actions vf id 1 / end=0D + flow validate 0 priority 1 ingress pattern eth / ipv4 / udp / pfcp s_f= ield is 0 / end actions vf id 2 / end=0D + flow create 0 priority 0 ingress pattern eth / ipv4 / udp / pfcp s_fie= ld is 0 / end actions vf id 1 / end=0D + flow create 0 priority 1 ingress pattern eth / ipv4 / udp / pfcp s_fie= ld is 0 / end actions vf id 2 / end=0D +=0D +matched pkts::=0D +=0D + sendp(Ether(dst=3D"00:11:22:33:44:11")/IP()/UDP(dport=3D8805)/PFCP(Sfi= eld=3D0),iface=3D"enp134s0f1")=0D +=0D +mismatched pkts::=0D +=0D + sendp(Ether(dst=3D"00:11:22:33:44:11")/IP()/UDP(dport=3D8805)/PFCP(Sfi= eld=3D1),iface=3D"enp134s0f1")=0D + sendp(Ether(dst=3D"00:11:22:33:44:11")/IPv6()/UDP(dport=3D8805)/PFCP(S= field=3D0),iface=3D"enp134s0f1")=0D + sendp(Ether(dst=3D"00:11:22:33:44:11")/IPv6()/UDP(dport=3D8805)/PFCP(S= field=3D1),iface=3D"enp134s0f1")=0D +=0D +=0D +test case 18: MAC_IPV4_PFCP_SESSION=0D +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=0D +rules::=0D +=0D + flow validate 0 priority 0 ingress pattern eth / ipv4 / udp / pfcp s_f= ield is 1 / end actions vf id 1 / end=0D + flow validate 0 priority 1 ingress pattern eth / ipv4 / udp / pfcp s_f= ield is 1 / end actions vf id 2 / end=0D + flow create 0 priority 0 ingress pattern eth / ipv4 / udp / pfcp s_fie= ld is 1 / end actions vf id 1 / end=0D + flow create 0 priority 1 ingress pattern eth / ipv4 / udp / pfcp s_fie= ld is 1 / end actions vf id 2 / end=0D +=0D +matched pkts::=0D +=0D + sendp(Ether(dst=3D"00:11:22:33:44:11")/IP()/UDP(dport=3D8805)/PFCP(Sfi= eld=3D1),iface=3D"enp134s0f1")=0D +=0D +mismatched pkts::=0D +=0D + sendp(Ether(dst=3D"00:11:22:33:44:11")/IP()/UDP(dport=3D8805)/PFCP(Sfi= eld=3D0),iface=3D"enp134s0f1")=0D + sendp(Ether(dst=3D"00:11:22:33:44:11")/IPv6()/UDP(dport=3D8805)/PFCP(S= field=3D0),iface=3D"enp134s0f1")=0D + sendp(Ether(dst=3D"00:11:22:33:44:11")/IPv6()/UDP(dport=3D8805)/PFCP(S= field=3D1),iface=3D"enp134s0f1")=0D +=0D +=0D +test case 19: MAC_IPV6_PFCP_NODE=0D +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=0D +rules::=0D +=0D + flow validate 0 priority 0 ingress pattern eth / ipv6 / udp / pfcp s_f= ield is 0 / end actions vf id 1 / end=0D + flow validate 0 priority 1 ingress pattern eth / ipv6 / udp / pfcp s_f= ield is 0 / end actions vf id 2 / end=0D + flow create 0 priority 0 ingress pattern eth / ipv6 / udp / pfcp s_fie= ld is 0 / end actions vf id 1 / end=0D + flow create 0 priority 1 ingress pattern eth / ipv6 / udp / pfcp s_fie= ld is 0 / end actions vf id 2 / end=0D +=0D +matched pkts::=0D +=0D + sendp(Ether(dst=3D"00:11:22:33:44:11")/IPv6()/UDP(dport=3D8805)/PFCP(S= field=3D0),iface=3D"enp134s0f1")=0D +=0D +mismatched pkts::=0D +=0D + sendp(Ether(dst=3D"00:11:22:33:44:11")/IP()/UDP(dport=3D8805)/PFCP(Sfi= eld=3D0),iface=3D"enp134s0f1")=0D + sendp(Ether(dst=3D"00:11:22:33:44:11")/IP()/UDP(dport=3D8805)/PFCP(Sfi= eld=3D1),iface=3D"enp134s0f1")=0D + sendp(Ether(dst=3D"00:11:22:33:44:11")/IPv6()/UDP(dport=3D8805)/PFCP(S= field=3D1),iface=3D"enp134s0f1")=0D +=0D +=0D +test case 20: MAC_IPV6_PFCP_SESSION=0D +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=0D +rules::=0D +=0D + flow validate 0 priority 0 ingress pattern eth / ipv6 / udp / pfcp s_f= ield is 1 / end actions vf id 1 / end=0D + flow validate 0 priority 1 ingress pattern eth / ipv6 / udp / pfcp s_f= ield is 1 / end actions vf id 2 / end=0D + flow create 0 priority 0 ingress pattern eth / ipv6 / udp / pfcp s_fie= ld is 1 / end actions vf id 1 / end=0D + flow create 0 priority 1 ingress pattern eth / ipv6 / udp / pfcp s_fie= ld is 1 / end actions vf id 2 / end=0D +=0D +matched pkts::=0D +=0D + sendp(Ether(dst=3D"00:11:22:33:44:11")/IPv6()/UDP(dport=3D8805)/PFCP(S= field=3D1),iface=3D"enp134s0f1")=0D +=0D +mismatched pkts::=0D +=0D + sendp(Ether(dst=3D"00:11:22:33:44:11")/IP()/UDP(dport=3D8805)/PFCP(Sfi= eld=3D0),iface=3D"enp134s0f1")=0D + sendp(Ether(dst=3D"00:11:22:33:44:11")/IP()/UDP(dport=3D8805)/PFCP(Sfi= eld=3D1),iface=3D"enp134s0f1")=0D + sendp(Ether(dst=3D"00:11:22:33:44:11")/IPv6()/UDP(dport=3D8805)/PFCP(S= field=3D0),iface=3D"enp134s0f1")=0D +=0D +=0D +test case 21: IP multicast=0D +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=0D +rules::=0D +=0D + flow validate 0 priority 0 ingress pattern eth / ipv4 dst spec 224.0.0= .0 dst mask 240.0.0.0 / end actions vf id 1 / end=0D + flow validate 0 priority 1 ingress pattern eth / ipv4 dst spec 224.0.0= .0 dst mask 240.0.0.0 / end actions vf id 2 / end=0D + flow create 0 priority 0 ingress pattern eth / ipv4 dst spec 224.0.0.0= dst mask 240.0.0.0 / end actions vf id 1 / end=0D + flow create 0 priority 1 ingress pattern eth / ipv4 dst spec 224.0.0.0= dst mask 240.0.0.0 / end actions vf id 2 / end=0D +=0D +matched pkts::=0D +=0D + sendp([Ether()/IP(dst=3D"239.0.0.0")/TCP()/Raw("x"*80)], iface=3D"enp2= 7s0f0", count=3D1)=0D +=0D +mismatched pkts::=0D +=0D + sendp([Ether()/IP(dst=3D"128.0.0.0")/TCP()/Raw("x"*80)], iface=3D"enp2= 7s0f0", count=3D1)=0D +=0D +=0D +test case 22: L2 multicast=0D +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=0D +rules::=0D +=0D + flow validate 0 priority 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=0D + flow validate 0 priority 1 ingress pattern eth dst spec 01:00:5e:00:00= :00 dst mask ff:ff:ff:80:00:00 / end actions vf id 2 / end=0D + flow create 0 priority 0 ingress pattern eth dst spec 01:00:5e:00:00:0= 0 dst mask ff:ff:ff:80:00:00 / end actions vf id 1 / end=0D + flow create 0 priority 1 ingress pattern eth dst spec 01:00:5e:00:00:0= 0 dst mask ff:ff:ff:80:00:00 / end actions vf id 2 / end=0D +=0D +matched pkts::=0D +=0D + sendp([Ether(dst=3D"01:00:5e:7f:00:00")/IP()/TCP()/Raw("x"*80)], iface= =3D"enp27s0f0", count=3D1)=0D +=0D +mismatched pkts::=0D +=0D + sendp([Ether(dst=3D"01:00:5e:ff:00:00")/IP()/TCP()/Raw("x"*80)], iface= =3D"enp27s0f0", count=3D1)=0D +=0D +=0D +test case 23: ethertype filter_PPPOD=0D +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=0D +rules::=0D +=0D + flow validate 0 priority 0 ingress pattern eth type is 0x8863 / end ac= tions vf id 1 / end=0D + flow validate 0 priority 1 ingress pattern eth type is 0x8863 / end ac= tions vf id 2 / end=0D + flow create 0 priority 0 ingress pattern eth type is 0x8863 / end acti= ons vf id 1 / end=0D + flow create 0 priority 1 ingress pattern eth type is 0x8863 / end acti= ons vf id 2 / end=0D +=0D +matched pkts::=0D +=0D + sendp([Ether(dst=3D"00:11:22:33:44:55")/PPPoED()/PPP()/IP()/Raw("x" *8= 0)],iface=3D"enp27s0f0",count=3D1)=0D +=0D +mismatched pkts::=0D +=0D + sendp([Ether(dst=3D"00:11:22:33:44:55")/PPPoE()/PPP()/IP()/Raw("x" *80= )],iface=3D"enp27s0f0",count=3D1)=0D +=0D +=0D +test case 24: ethertype filter_PPPOE=0D +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=0D +rules::=0D +=0D + flow validate 0 priority 0 ingress pattern eth type is 0x8864 / end ac= tions vf id 1 / end=0D + flow validate 0 priority 1 ingress pattern eth type is 0x8864 / end ac= tions vf id 2 / end=0D + flow create 0 priority 0 ingress pattern eth type is 0x8864 / end acti= ons vf id 1 / end=0D + flow create 0 priority 1 ingress pattern eth type is 0x8864 / end acti= ons vf id 2 / end=0D +=0D +matched pkts::=0D +=0D + sendp([Ether(dst=3D"00:11:22:33:44:55")/PPPoE()/PPP()/IP()/Raw("x"*80)= ],iface=3D"enp27s0f0",count=3D1)=0D +=0D +mismatched pkts::=0D +=0D + sendp([Ether(dst=3D"00:11:22:33:44:55")/PPPoED()/PPP()/IP()/Raw("x"*80= )],iface=3D"enp27s0f0",count=3D1)=0D +=0D +=0D +test case 25: ethertype filter_IPV6=0D +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=0D +rules::=0D +=0D + flow validate 0 priority 0 ingress pattern eth type is 0x86dd / end ac= tions vf id 1 / end=0D + flow validate 0 priority 1 ingress pattern eth type is 0x86dd / end ac= tions vf id 2 / end=0D + flow create 0 priority 0 ingress pattern eth type is 0x86dd / end acti= ons vf id 1 / end=0D + flow create 0 priority 1 ingress pattern eth type is 0x86dd / end acti= ons vf id 2 / end=0D +=0D +matched pkts::=0D +=0D + sendp([Ether(dst=3D"00:11:22:33:44:55")/IPv6(dst=3D"CDCD:910A:2222:549= 8:8475:1111:3900:2020", tc=3D3)/TCP(dport=3D23)/("X"*480)], iface=3D"enp27s= 0f0", count=3D1)=0D + sendp([Ether(dst=3D"00:11:22:33:44:55",type=3D0x8100)/Dot1Q(vlan=3D1,t= ype=3D0x86dd)/IPv6(dst=3D"CDCD:910A:2222:5498:8475:1111:3900:2020", tc=3D3)= /TCP(dport=3D23)/("X"*480)], iface=3D"enp27s0f0", count=3D1)=0D +=0D +mismatched pkts::=0D +=0D + sendp([Ether(dst=3D"00:11:22:33:44:55")/IP()/TCP(dport=3D23)/("X"*480)= ], iface=3D"enp27s0f0", count=3D1)=0D +=0D +=0D +test case 26: UDP port filter_DHCP discovery=0D +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=0D +rules::=0D +=0D + flow validate 0 priority 0 ingress pattern eth / ipv4 / udp src is 68 = dst is 67 / end actions vf id 1 / end=0D + flow validate 0 priority 1 ingress pattern eth / ipv4 / udp src is 68 = dst is 67 / end actions vf id 2 / end=0D + flow create 0 priority 0 ingress pattern eth / ipv4 / udp src is 68 ds= t is 67 / end actions vf id 1 / end=0D + flow create 0 priority 1 ingress pattern eth / ipv4 / udp src is 68 ds= t is 67 / end actions vf id 2 / end=0D +=0D +matched pkts::=0D +=0D + sendp([Ether(dst=3D"00:11:22:33:44:55")/IP()/UDP(sport=3D68,dport=3D67= )/BOOTP(chaddr=3D"3c:fd:fe:b2:43:90")/DHCP(options=3D[("message-type","disc= over"),"end"])/Raw("X"*480)], iface=3D"enp27s0f0", count=3D1)=0D +=0D +mismatched pkts::=0D +=0D + sendp([Ether(dst=3D"00:11:22:33:44:55")/IP()/UDP(sport=3D63,dport=3D67= )/BOOTP(chaddr=3D"3c:fd:fe:b2:43:90")/DHCP(options=3D[("message-type","disc= over"),"end"])/Raw("X"*480)], iface=3D"enp27s0f0", count=3D1)=0D + sendp([Ether(dst=3D"00:11:22:33:44:55")/IP()/UDP(sport=3D68,dport=3D69= )/BOOTP(chaddr=3D"3c:fd:fe:b2:43:90")/DHCP(options=3D[("message-type","disc= over"),"end"])/Raw("X"*480)], iface=3D"enp27s0f0", count=3D1)=0D +=0D +=0D +test case 27: UDP port filter_DHCP offer=0D +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=0D +rules::=0D +=0D + flow validate 0 priority 0 ingress pattern eth / ipv4 / udp src is 67 = dst is 68 / end actions vf id 1 / end=0D + flow validate 0 priority 1 ingress pattern eth / ipv4 / udp src is 67 = dst is 68 / end actions vf id 2 / end=0D + flow create 0 priority 0 ingress pattern eth / ipv4 / udp src is 67 ds= t is 68 / end actions vf id 1 / end=0D + flow create 0 priority 1 ingress pattern eth / ipv4 / udp src is 67 ds= t is 68 / end actions vf id 2 / end=0D +=0D +matched pkts::=0D +=0D + sendp([Ether(dst=3D"00:11:22:33:44:55")/IP()/UDP(sport=3D67,dport=3D68= )/BOOTP(chaddr=3D"3c:fd:fe:b2:43:90",yiaddr=3D"192.168.1.0")/DHCP(options= =3D[("message-type","offer"),"end"])/Raw("X"*480)], iface=3D"enp27s0f0", co= unt=3D1)=0D +=0D +mismatched pkts::=0D +=0D + sendp([Ether(dst=3D"00:11:22:33:44:55")/IP()/UDP(sport=3D63,dport=3D68= )/BOOTP(chaddr=3D"3c:fd:fe:b2:43:90",yiaddr=3D"192.168.1.0")/DHCP(options= =3D[("message-type","offer"),"end"])/Raw("X"*480)], iface=3D"enp27s0f0", co= unt=3D1)=0D + sendp([Ether(dst=3D"00:11:22:33:44:55")/IP()/UDP(sport=3D67,dport=3D63= )/BOOTP(chaddr=3D"3c:fd:fe:b2:43:90",yiaddr=3D"192.168.1.0")/DHCP(options= =3D[("message-type","offer"),"end"])/Raw("X"*480)], iface=3D"enp27s0f0", co= unt=3D1)=0D +=0D +=0D +test case 28: UDP port filter_VXLAN=0D +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=0D +rules::=0D +=0D + flow validate 0 priority 0 ingress pattern eth / ipv4 / udp dst is 478= 9 / end actions vf id 1 / end=0D + flow validate 0 priority 1 ingress pattern eth / ipv4 / udp dst is 478= 9 / end actions vf id 2 / end=0D + flow create 0 priority 0 ingress pattern eth / ipv4 / udp dst is 4789 = / end actions vf id 1 / end=0D + flow create 0 priority 1 ingress pattern eth / ipv4 / udp dst is 4789 = / end actions vf id 2 / end=0D +=0D +matched pkts::=0D +=0D + sendp([Ether()/IP(dst=3D"192.168.0.1")/UDP()/VXLAN(vni=3D2)/Ether()/IP= (src=3D"192.168.0.2", dst=3D"192.168.0.3",frag=3D5)/TCP()/Raw("x"*80)],ifac= e=3D"enp27s0f0",count=3D1)=0D +=0D +mismatched pkts::=0D +=0D + sendp([Ether()/IP(dst=3D"192.168.0.1")/NVGRE(TNI=3D2)/Ether()/IP(src= =3D"192.168.1.2", dst=3D"192.168.1.3")/TCP()/Raw("x"*80)],iface=3D"enp27s0f= 0",count=3D1)=0D +=0D +=0D +test case 29: MAC_VLAN filter=0D +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=0D +rules::=0D +=0D + flow validate 0 priority 0 ingress pattern eth dst is 00:11:22:33:44:5= 5 / vlan tci is 1 / end actions vf id 1 / end=0D + flow validate 0 priority 1 ingress pattern eth dst is 00:11:22:33:44:5= 5 / vlan tci is 1 / end actions vf id 2 / end=0D + flow create 0 priority 0 ingress pattern eth dst is 00:11:22:33:44:55 = / vlan tci is 1 / end actions vf id 1 / end=0D + flow create 0 priority 1 ingress pattern eth dst is 00:11:22:33:44:55 = / vlan tci is 1 / end actions vf id 2 / end=0D +=0D +matched pkts::=0D +=0D + sendp([Ether(dst=3D"00:11:22:33:44:55",type=3D0x8100)/Dot1Q(vlan=3D1)/= IP(src=3D"192.168.0.1",dst=3D"192.168.0.2",tos=3D4,ttl=3D2)/TCP()/Raw("X"*4= 80)],iface=3D"enp27s0f0",count=3D1)=0D +=0D +mismatched pkts::=0D +=0D + sendp([Ether(dst=3D"00:11:22:33:44:54",type=3D0x8100)/Dot1Q(vlan=3D1)/= IP(src=3D"192.168.0.1",dst=3D"192.168.0.2",tos=3D4,ttl=3D2)/TCP()/Raw("X"*4= 80)],iface=3D"enp27s0f0",count=3D1)=0D + sendp([Ether(dst=3D"00:11:22:33:44:55",type=3D0x8100)/Dot1Q(vlan=3D2)/= IP(src=3D"192.168.0.1",dst=3D"192.168.0.2",tos=3D4,ttl=3D2)/TCP()/Raw("X"*4= 80)],iface=3D"enp27s0f0",count=3D1)=0D +=0D +=0D +test case 30: VLAN filter=0D +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=0D +rules::=0D +=0D + flow validate 0 priority 0 ingress pattern eth / vlan tci is 1 / end a= ctions vf id 1 / end=0D + flow validate 0 priority 1 ingress pattern eth / vlan tci is 1 / end a= ctions vf id 2 / end=0D + flow create 0 priority 0 ingress pattern eth / vlan tci is 1 / end act= ions vf id 1 / end=0D + flow create 0 priority 1 ingress pattern eth / vlan tci is 1 / end act= ions vf id 2 / end=0D +=0D +matched pkts::=0D +=0D + sendp([Ether(dst=3D"00:11:22:33:44:55",type=3D0x8100)/Dot1Q(vlan=3D1)/= IP(src=3D"192.168.0.1",dst=3D"192.168.0.2",tos=3D4,ttl=3D2)/TCP()/Raw("X"*4= 80)],iface=3D"enp27s0f0",count=3D1)=0D +=0D +mismatched pkts::=0D +=0D + sendp([Ether(dst=3D"00:11:22:33:44:55",type=3D0x8100)/Dot1Q(vlan=3D2)/= IP(src=3D"192.168.0.1",dst=3D"192.168.0.2",tos=3D4,ttl=3D2)/TCP()/Raw("X"*4= 80)],iface=3D"enp27s0f0",count=3D1)=0D +=0D +=0D +test case 31: MAC_IPV4_L2TPv3=0D +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=0D +rules::=0D +=0D + flow validate 0 priority 0 ingress pattern eth / ipv4 src is 192.168.0= .2 / l2tpv3oip session_id is 1 / end actions vf id 1 / end=0D + flow validate 0 priority 1 ingress pattern eth / ipv4 src is 192.168.0= .2 / l2tpv3oip session_id is 1 / end actions vf id 2 / end=0D + 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=0D + flow create 0 priority 1 ingress pattern eth / ipv4 src is 192.168.0.2= / l2tpv3oip session_id is 1 / end actions vf id 2 / end=0D +=0D +matched pkts::=0D +=0D + sendp([Ether(dst=3D'00:11:22:33:44:12')/IP(src=3D'192.168.0.2', proto= =3D115)/L2TP('\x00\x00\x00\x01')/('X'*480)], iface=3D"enp27s0f0", count=3D1= )=0D +=0D +mismatched pkts::=0D +=0D + sendp([Ether(dst=3D'00:11:22:33:44:12')/IP(src=3D'192.168.0.2', proto= =3D115)/L2TP('\x00\x00\x00\x02')/('X'*480)], iface=3D"enp27s0f0", count=3D1= )=0D + sendp([Ether(dst=3D'00:11:22:33:44:12')/IP(src=3D'192.168.1.2', proto= =3D115)/L2TP('\x00\x00\x00\x01')/('X'*480)], iface=3D"enp27s0f0", count=3D1= )=0D + sendp([Ether(dst=3D'00:11:22:33:44:12')/IP(dst=3D'192.168.0.2', proto= =3D115)/L2TP('\x00\x00\x00\x01')/('X'*480)], iface=3D"enp27s0f0", count=3D1= )=0D +=0D +=0D +test case 32: MAC_IPV6_L2TPv3=0D +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=0D +rules::=0D +=0D + flow validate 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=0D + flow validate 0 priority 1 ingress pattern eth / ipv6 dst is 1111:2222= :3333:4444:5555:6666:7777:8888 / l2tpv3oip session_id is 1 / end actions vf= id 2 / end=0D + flow create 0 priority 0 ingress pattern eth / ipv6 dst is 1111:2222:3= 333:4444:5555:6666:7777:8888 / l2tpv3oip session_id is 1 / end actions vf i= d 1 / end=0D + flow create 0 priority 1 ingress pattern eth / ipv6 dst is 1111:2222:3= 333:4444:5555:6666:7777:8888 / l2tpv3oip session_id is 1 / end actions vf i= d 2 / end=0D +=0D +matched pkts::=0D +=0D + sendp([Ether(dst=3D'00:11:22:33:44:13')/IPv6(dst=3D'1111:2222:3333:444= 4:5555:6666:7777:8888', nh=3D115)/L2TP('\x00\x00\x00\x01')/('X'*480)], ifac= e=3D"enp27s0f0", count=3D1)=0D +=0D +mismatched pkts::=0D +=0D + sendp([Ether(dst=3D'00:11:22:33:44:13')/IPv6(dst=3D'1111:2222:3333:444= 4:5555:6666:7777:8888', nh=3D115)/L2TP('\x00\x00\x00\x02')/('X'*480)], ifac= e=3D"enp27s0f0", count=3D1)=0D + sendp([Ether(dst=3D'00:11:22:33:44:13')/IPv6(dst=3D'1111:2222:3333:444= 4:5555:6666:7777:9999', nh=3D115)/L2TP('\x00\x00\x00\x01')/('X'*480)], ifac= e=3D"enp27s0f0", count=3D1)=0D + sendp([Ether(dst=3D'00:11:22:33:44:13')/IPv6(src=3D'1111:2222:3333:444= 4:5555:6666:7777:8888', nh=3D115)/L2TP('\x00\x00\x00\x01')/('X'*480)], ifac= e=3D"enp27s0f0", count=3D1)=0D +=0D +=0D +test case 33: MAC_IPV4_ESP=0D +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=0D +rules::=0D +=0D + flow validate 0 priority 0 ingress pattern eth / ipv4 src is 192.168.0= .2 / esp spi is 1 / end actions vf id 1 / end=0D + flow validate 0 priority 1 ingress pattern eth / ipv4 src is 192.168.0= .2 / esp spi is 1 / end actions vf id 2 / end=0D + 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=0D + flow create 0 priority 1 ingress pattern eth / ipv4 src is 192.168.0.2= / esp spi is 1 / end actions vf id 2 / end=0D +=0D +matched pkts::=0D +=0D + sendp([Ether(dst=3D"00:11:22:33:44:13")/IP(src=3D"192.168.0.2", proto= =3D50)/ESP(spi=3D1)/("X"*480)], iface=3D"enp27s0f0", count=3D1)=0D +=0D +mismatched pkts::=0D +=0D + sendp([Ether(dst=3D"00:11:22:33:44:13")/IP(src=3D"192.168.0.2", proto= =3D50)/ESP(spi=3D2)/("X"*480)], iface=3D"enp27s0f0", count=3D1)=0D + sendp([Ether(dst=3D"00:11:22:33:44:13")/IP(src=3D"192.168.1.2", proto= =3D50)/ESP(spi=3D1)/("X"*480)], iface=3D"enp27s0f0", count=3D1)=0D + sendp([Ether(dst=3D"00:11:22:33:44:13")/IP(dst=3D"192.168.0.2", proto= =3D50)/ESP(spi=3D1)/("X"*480)], iface=3D"enp27s0f0", count=3D1)=0D +=0D +=0D +test case 34: MAC_IPV6_ESP=0D +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=0D +rules::=0D +=0D + flow validate 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=0D + flow validate 0 priority 1 ingress pattern eth / ipv6 dst is 1111:2222= :3333:4444:5555:6666:7777:8888 / esp spi is 1 / end actions vf id 2 / end=0D + flow create 0 priority 0 ingress pattern eth / ipv6 dst is 1111:2222:3= 333:4444:5555:6666:7777:8888 / esp spi is 1 / end actions vf id 1 / end=0D + flow create 0 priority 1 ingress pattern eth / ipv6 dst is 1111:2222:3= 333:4444:5555:6666:7777:8888 / esp spi is 1 / end actions vf id 2 / end=0D +=0D +matched pkts::=0D +=0D + sendp([Ether(dst=3D"00:11:22:33:44:13")/IPv6(dst=3D"1111:2222:3333:444= 4:5555:6666:7777:8888", nh=3D50)/ESP(spi=3D1)/("X"*480)], iface=3D"enp27s0f= 0", count=3D1)=0D +=0D +mismatched pkts::=0D +=0D + sendp([Ether(dst=3D"00:11:22:33:44:13")/IPv6(dst=3D"1111:2222:3333:444= 4:5555:6666:7777:8888", nh=3D50)/ESP(spi=3D2)/("X"*480)], iface=3D"enp27s0f= 0", count=3D1)=0D + sendp([Ether(dst=3D"00:11:22:33:44:13")/IPv6(dst=3D"1111:2222:3333:444= 4:5555:6666:7777:9999", nh=3D50)/ESP(spi=3D1)/("X"*480)], iface=3D"enp27s0f= 0", count=3D1)=0D + sendp([Ether(dst=3D"00:11:22:33:44:13")/IPv6(src=3D"1111:2222:3333:444= 4:5555:6666:7777:8888", nh=3D50)/ESP(spi=3D1)/("X"*480)], iface=3D"enp27s0f= 0", count=3D1)=0D +=0D +=0D +test case 35: MAC_IPV4_AH=0D +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=0D +rules::=0D +=0D + flow validate 0 priority 0 ingress pattern eth / ipv4 src is 192.168.0= .2 / ah spi is 1 / end actions vf id 1 / end=0D + flow validate 0 priority 1 ingress pattern eth / ipv4 src is 192.168.0= .2 / ah spi is 1 / end actions vf id 2 / end=0D + 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=0D + flow create 0 priority 1 ingress pattern eth / ipv4 src is 192.168.0.2= / ah spi is 1 / end actions vf id 2 / end=0D +=0D +matched pkts::=0D +=0D + sendp([Ether(dst=3D"00:11:22:33:44:13")/IP(src=3D"192.168.0.2", proto= =3D51)/AH(spi=3D1)/("X"*480)], iface=3D"enp27s0f0", count=3D1)=0D +=0D +mismatched pkts::=0D +=0D + sendp([Ether(dst=3D"00:11:22:33:44:13")/IP(src=3D"192.168.0.2", proto= =3D51)/AH(spi=3D2)/("X"*480)], iface=3D"enp27s0f0", count=3D1)=0D + sendp([Ether(dst=3D"00:11:22:33:44:13")/IP(src=3D"192.168.1.2", proto= =3D51)/AH(spi=3D1)/("X"*480)], iface=3D"enp27s0f0", count=3D1)=0D + sendp([Ether(dst=3D"00:11:22:33:44:13")/IP(dst=3D"192.168.0.2", proto= =3D51)/AH(spi=3D1)/("X"*480)], iface=3D"enp27s0f0", count=3D1)=0D +=0D +=0D +test case 36: MAC_IPV6_AH=0D +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=0D +rules::=0D +=0D + flow validate 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=0D + flow validate 0 priority 1 ingress pattern eth / ipv6 dst is 1111:2222= :3333:4444:5555:6666:7777:8888 / ah spi is 1 / end actions vf id 2 / end=0D + flow create 0 priority 0 ingress pattern eth / ipv6 dst is 1111:2222:3= 333:4444:5555:6666:7777:8888 / ah spi is 1 / end actions vf id 1 / end=0D + flow create 0 priority 1 ingress pattern eth / ipv6 dst is 1111:2222:3= 333:4444:5555:6666:7777:8888 / ah spi is 1 / end actions vf id 2 / end=0D +=0D +matched pkts::=0D +=0D + sendp([Ether(dst=3D"00:11:22:33:44:13")/IPv6(dst=3D"1111:2222:3333:444= 4:5555:6666:7777:8888", nh=3D51)/AH(spi=3D1)/("X"*480)], iface=3D"enp27s0f0= ", count=3D1)=0D +=0D +mismatched pkts::=0D +=0D + sendp([Ether(dst=3D"00:11:22:33:44:13")/IPv6(dst=3D"1111:2222:3333:444= 4:5555:6666:7777:8888", nh=3D51)/AH(spi=3D2)/("X"*480)], iface=3D"enp27s0f0= ", count=3D1)=0D + sendp([Ether(dst=3D"00:11:22:33:44:13")/IPv6(dst=3D"1111:2222:3333:444= 4:5555:6666:7777:9999", nh=3D51)/AH(spi=3D1)/("X"*480)], iface=3D"enp27s0f0= ", count=3D1)=0D + sendp([Ether(dst=3D"00:11:22:33:44:13")/IPv6(src=3D"1111:2222:3333:444= 4:5555:6666:7777:8888", nh=3D51)/AH(spi=3D1)/("X"*480)], iface=3D"enp27s0f0= ", count=3D1)=0D +=0D +=0D +test case 37: MAC_IPV4_NAT-T-ESP=0D +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=0D +rules::=0D +=0D + flow validate 0 priority 0 ingress pattern eth / ipv4 src is 192.168.0= .2 / udp / esp spi is 1 / end actions vf id 1 / end=0D + flow validate 0 priority 1 ingress pattern eth / ipv4 src is 192.168.0= .2 / udp / esp spi is 1 / end actions vf id 2 / end=0D + 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=0D + flow create 0 priority 1 ingress pattern eth / ipv4 src is 192.168.0.2= / udp / esp spi is 1 / end actions vf id 2 / end=0D +=0D +matched pkts::=0D +=0D + sendp([Ether(dst=3D"00:11:22:33:44:13")/IP(src=3D"192.168.0.2")/UDP(dp= ort=3D4500)/ESP(spi=3D1)/("X"*480)], iface=3D"enp27s0f0", count=3D1)=0D +=0D +mismatched pkts::=0D +=0D + sendp([Ether(dst=3D"00:11:22:33:44:13")/IP(src=3D"192.168.0.2")/UDP(dp= ort=3D4500)/ESP(spi=3D2)/("X"*480)], iface=3D"enp27s0f0", count=3D1)=0D + sendp([Ether(dst=3D"00:11:22:33:44:13")/IP(src=3D"192.168.1.2")/UDP(dp= ort=3D4500)/ESP(spi=3D1)/("X"*480)], iface=3D"enp27s0f0", count=3D1)=0D + sendp([Ether(dst=3D"00:11:22:33:44:13")/IP(dst=3D"192.168.0.2")/UDP(dp= ort=3D4500)/ESP(spi=3D1)/("X"*480)], iface=3D"enp27s0f0", count=3D1)=0D +=0D +=0D +test case 38: MAC_IPV6_NAT-T-ESP=0D +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=0D +rules::=0D +=0D + flow validate 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=0D + flow validate 0 priority 1 ingress pattern eth / ipv6 dst is 1111:2222= :3333:4444:5555:6666:7777:8888 / udp / esp spi is 1 / end actions vf id 2 /= end=0D + flow create 0 priority 0 ingress pattern eth / ipv6 dst is 1111:2222:3= 333:4444:5555:6666:7777:8888 / udp / esp spi is 1 / end actions vf id 1 / e= nd=0D + flow create 0 priority 1 ingress pattern eth / ipv6 dst is 1111:2222:3= 333:4444:5555:6666:7777:8888 / udp / esp spi is 1 / end actions vf id 2 / e= nd=0D +=0D +matched pkts::=0D +=0D + sendp([Ether(dst=3D"00:11:22:33:44:13")/IPv6(dst=3D"1111:2222:3333:444= 4:5555:6666:7777:8888")/UDP(dport=3D4500)/ESP(spi=3D1)/("X"*480)], iface=3D= "enp27s0f0", count=3D1)=0D +=0D +mismatched pkts::=0D +=0D + sendp([Ether(dst=3D"00:11:22:33:44:13")/IPv6(dst=3D"1111:2222:3333:444= 4:5555:6666:7777:8888")/UDP(dport=3D4500)/ESP(spi=3D2)/("X"*480)], iface=3D= "enp27s0f0", count=3D1)=0D + sendp([Ether(dst=3D"00:11:22:33:44:13")/IPv6(dst=3D"1111:2222:3333:444= 4:5555:6666:7777:9999")/UDP(dport=3D4500)/ESP(spi=3D1)/("X"*480)], iface=3D= "enp27s0f0", count=3D1)=0D + sendp([Ether(dst=3D"00:11:22:33:44:13")/IPv6(src=3D"1111:2222:3333:444= 4:5555:6666:7777:8888")/UDP(dport=3D4500)/ESP(spi=3D1)/("X"*480)], iface=3D= "enp27s0f0", count=3D1)=0D +=0D +=0D +test case 39: MAC_VLAN_PPPOE_IPV4_PAY_session_id_proto_id=0D +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=0D +rules::=0D +=0D + flow validate 0 priority 0 ingress pattern eth dst is 00:11:22:33:44:5= 5 / vlan tci is 1 / pppoes seid is 3 / pppoe_proto_id is 0x0021 / end actio= ns vf id 1 / end=0D + flow validate 0 priority 1 ingress pattern eth dst is 00:11:22:33:44:5= 5 / vlan tci is 1 / pppoes seid is 3 / pppoe_proto_id is 0x0021 / end actio= ns vf id 2 / end=0D + flow create 0 priority 0 ingress pattern eth dst is 00:11:22:33:44:55 = / vlan tci is 1 / pppoes seid is 3 / pppoe_proto_id is 0x0021 / end actions= vf id 1 / end=0D + flow create 0 priority 1 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 2 / end=0D +=0D +matched pkts::=0D +=0D + sendp([Ether(dst=3D"00:11:22:33:44:55",type=3D0x8100)/Dot1Q(vlan=3D1,t= ype=3D0x8864)/PPPoE(sessionid=3D3)/PPP(proto=3D0x0021)/IP()/Raw("x" * 80)],= iface=3D"enp27s0f0",count=3D1)=0D +=0D +mismatched pkts::=0D +=0D + sendp([Ether(dst=3D"00:11:22:33:44:54",type=3D0x8100)/Dot1Q(vlan=3D1,t= ype=3D0x8864)/PPPoE(sessionid=3D3)/PPP(proto=3D0x0021)/IP()/Raw("x" * 80)],= iface=3D"enp27s0f0",count=3D1)=0D + sendp([Ether(dst=3D"00:11:22:33:44:55",type=3D0x8100)/Dot1Q(vlan=3D2,t= ype=3D0x8864)/PPPoE(sessionid=3D3)/PPP(proto=3D0x0021)/IP()/Raw("x" * 80)],= iface=3D"enp27s0f0",count=3D1)=0D + sendp([Ether(dst=3D"00:11:22:33:44:55",type=3D0x8100)/Dot1Q(vlan=3D1,t= ype=3D0x8864)/PPPoE(sessionid=3D4)/PPP(proto=3D0x0021)/IP()/Raw("x" * 80)],= iface=3D"enp27s0f0",count=3D1)=0D + sendp([Ether(dst=3D"00:11:22:33:44:55",type=3D0x8100)/Dot1Q(vlan=3D1,t= ype=3D0x8864)/PPPoE(sessionid=3D3)/PPP(proto=3D0x0057)/IPv6()/Raw("x" * 80)= ],iface=3D"enp27s0f0",count=3D1)=0D +=0D +=0D +test case 40: MAC_VLAN_PPPOE_IPV6_PAY_session_id_proto_id=0D +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=0D +rules::=0D +=0D + flow validate 0 priority 0 ingress pattern eth dst is 00:11:22:33:44:5= 5 / vlan tci is 1 / pppoes seid is 3 / pppoe_proto_id is 0x0057 / end actio= ns vf id 1 / end=0D + flow validate 0 priority 1 ingress pattern eth dst is 00:11:22:33:44:5= 5 / vlan tci is 1 / pppoes seid is 3 / pppoe_proto_id is 0x0057 / end actio= ns vf id 2 / end=0D + flow create 0 priority 0 ingress pattern eth dst is 00:11:22:33:44:55 = / vlan tci is 1 / pppoes seid is 3 / pppoe_proto_id is 0x0057 / end actions= vf id 1 / end=0D + flow create 0 priority 1 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 2 / end=0D +=0D +matched pkts::=0D +=0D + sendp([Ether(dst=3D"00:11:22:33:44:55",type=3D0x8100)/Dot1Q(vlan=3D1,t= ype=3D0x8864)/PPPoE(sessionid=3D3)/PPP(proto=3D0x0057)/IPv6()/Raw("x" * 80)= ],iface=3D"enp27s0f0",count=3D1)=0D +=0D +mismatched pkts::=0D +=0D + sendp([Ether(dst=3D"00:11:22:33:44:54",type=3D0x8100)/Dot1Q(vlan=3D1,t= ype=3D0x8864)/PPPoE(sessionid=3D3)/PPP(proto=3D0x0057)/IPv6()/Raw("x" * 80)= ],iface=3D"enp27s0f0",count=3D1)=0D + sendp([Ether(dst=3D"00:11:22:33:44:55",type=3D0x8100)/Dot1Q(vlan=3D2,t= ype=3D0x8864)/PPPoE(sessionid=3D3)/PPP(proto=3D0x0057)/IPv6()/Raw("x" * 80)= ],iface=3D"enp27s0f0",count=3D1)=0D + sendp([Ether(dst=3D"00:11:22:33:44:55",type=3D0x8100)/Dot1Q(vlan=3D1,t= ype=3D0x8864)/PPPoE(sessionid=3D4)/PPP(proto=3D0x0057)/IPv6()/Raw("x" * 80)= ],iface=3D"enp27s0f0",count=3D1)=0D + sendp([Ether(dst=3D"00:11:22:33:44:55",type=3D0x8100)/Dot1Q(vlan=3D1,t= ype=3D0x8864)/PPPoE(sessionid=3D3)/PPP(proto=3D0x0021)/IP()/Raw("x" * 80)],= iface=3D"enp27s0f0",count=3D1)=0D +=0D +=0D +test case 41: MAC_PPPOE_IPV4_PAY_session_id_proto_id=0D +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=0D +rules::=0D +=0D + flow validate 0 priority 0 ingress pattern eth dst is 00:11:22:33:44:5= 5 / pppoes seid is 3 / pppoe_proto_id is 0x0021 / end actions vf id 1 / end= =0D + flow validate 0 priority 1 ingress pattern eth dst is 00:11:22:33:44:5= 5 / pppoes seid is 3 / pppoe_proto_id is 0x0021 / end actions vf id 2 / end= =0D + flow create 0 priority 0 ingress pattern eth dst is 00:11:22:33:44:55 = / pppoes seid is 3 / pppoe_proto_id is 0x0021 / end actions vf id 1 / end=0D + flow create 0 priority 1 ingress pattern eth dst is 00:11:22:33:44:55 = / pppoes seid is 3 / pppoe_proto_id is 0x0021 / end actions vf id 2 / end=0D +=0D +matched pkts::=0D +=0D + sendp([Ether(dst=3D"00:11:22:33:44:55",type=3D0x8864)/PPPoE(sessionid= =3D3)/PPP(proto=3D0x0021)/IP()/Raw("x" * 80)],iface=3D"enp27s0f0",count=3D1= )=0D +=0D +mismatched pkts::=0D +=0D + sendp([Ether(dst=3D"00:11:22:33:44:54",type=3D0x8864)/PPPoE(sessionid= =3D3)/PPP(proto=3D0x0021)/IP()/Raw("x" * 80)],iface=3D"enp27s0f0",count=3D1= )=0D + sendp([Ether(dst=3D"00:11:22:33:44:55",type=3D0x8864)/PPPoE(sessionid= =3D4)/PPP(proto=3D0x0021)/IP()/Raw("x" * 80)],iface=3D"enp27s0f0",count=3D1= )=0D + sendp([Ether(dst=3D"00:11:22:33:44:55",type=3D0x8864)/PPPoE(sessionid= =3D3)/PPP(proto=3D0x0057)/IPv6()/Raw("x" * 80)],iface=3D"enp27s0f0",count= =3D1)=0D +=0D +=0D +test case 42: MAC_PPPOE_IPV6_PAY_session_id_proto_id=0D +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=0D +rules::=0D +=0D + flow validate 0 priority 0 ingress pattern eth dst is 00:11:22:33:44:5= 5 / pppoes seid is 3 / pppoe_proto_id is 0x0057 / end actions vf id 1 / end= =0D + flow validate 0 priority 1 ingress pattern eth dst is 00:11:22:33:44:5= 5 / pppoes seid is 3 / pppoe_proto_id is 0x0057 / end actions vf id 2 / end= =0D + flow create 0 priority 0 ingress pattern eth dst is 00:11:22:33:44:55 = / pppoes seid is 3 / pppoe_proto_id is 0x0057 / end actions vf id 1 / end=0D + flow create 0 priority 1 ingress pattern eth dst is 00:11:22:33:44:55 = / pppoes seid is 3 / pppoe_proto_id is 0x0057 / end actions vf id 2 / end=0D +=0D +matched pkts::=0D +=0D + sendp([Ether(dst=3D"00:11:22:33:44:55",type=3D0x8864)/PPPoE(sessionid= =3D3)/PPP(proto=3D0x0057)/IPv6()/Raw("x" * 80)],iface=3D"enp27s0f0",count= =3D1)=0D +=0D +mismatched pkts::=0D +=0D + sendp([Ether(dst=3D"00:11:22:33:44:54",type=3D0x8864)/PPPoE(sessionid= =3D3)/PPP(proto=3D0x0057)/IPv6()/Raw("x" * 80)],iface=3D"enp27s0f0",count= =3D1)=0D + sendp([Ether(dst=3D"00:11:22:33:44:55",type=3D0x8864)/PPPoE(sessionid= =3D4)/PPP(proto=3D0x0057)/IPv6()/Raw("x" * 80)],iface=3D"enp27s0f0",count= =3D1)=0D + sendp([Ether(dst=3D"00:11:22:33:44:55",type=3D0x8864)/PPPoE(sessionid= =3D3)/PPP(proto=3D0x0021)/IP()/Raw("x" * 80)],iface=3D"enp27s0f0",count=3D1= )=0D +=0D +=0D +test case 43: MAC_PPPOE_IPV4_PAY_IP_address=0D +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=0D +rules::=0D +=0D + flow validate 0 priority 0 ingress pattern eth / pppoes / ipv4 src is = 192.168.1.1 dst is 192.168.1.2 / end actions vf id 1 / end=0D + flow validate 0 priority 1 ingress pattern eth / pppoes / ipv4 src is = 192.168.1.1 dst is 192.168.1.2 / end actions vf id 2 / end=0D + flow create 0 priority 0 ingress pattern eth / pppoes / ipv4 src is 19= 2.168.1.1 dst is 192.168.1.2 / end actions vf id 1 / end=0D + flow create 0 priority 1 ingress pattern eth / pppoes / ipv4 src is 19= 2.168.1.1 dst is 192.168.1.2 / end actions vf id 2 / end=0D +=0D +matched pkts::=0D +=0D + sendp([Ether(dst=3D"00:11:22:33:44:55",type=3D0x8864)/PPPoE(sessionid= =3D3)/PPP(proto=3D0x0021)/IP(src=3D"192.168.1.1", dst=3D"192.168.1.2")/Raw(= "x"*80)],iface=3D"ens786f0",count=3D1)=0D +=0D +mismatched pkts::=0D +=0D + sendp([Ether(dst=3D"00:11:22:33:44:55",type=3D0x8864)/PPPoE(sessionid= =3D3)/PPP(proto=3D0x0021)/IP(src=3D"192.168.1.3", dst=3D"192.168.1.2")/Raw(= "x"*80)],iface=3D"ens786f0",count=3D1)=0D + sendp([Ether(dst=3D"00:11:22:33:44:55",type=3D0x8864)/PPPoE(sessionid= =3D3)/PPP(proto=3D0x0021)/IP(src=3D"192.168.1.1", dst=3D"192.168.1.4")/Raw(= "x"*80)],iface=3D"ens786f0",count=3D1)=0D +=0D +=0D +test case 44: MAC_PPPOE_IPV4_UDP_PAY=0D +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=0D +rules::=0D +=0D + flow validate 0 priority 0 ingress pattern eth / pppoes / ipv4 src is = 192.168.1.1 dst is 192.168.1.2 / udp src is 25 dst is 23 / end actions vf i= d 1 / end=0D + flow validate 0 priority 1 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 i= d 2 / end=0D + flow create 0 priority 0 ingress pattern eth / pppoes / ipv4 src is 19= 2.168.1.1 dst is 192.168.1.2 / udp src is 25 dst is 23 / end actions vf id = 1 / end=0D + flow create 0 priority 1 ingress pattern eth / pppoes / ipv4 src is 19= 2.168.1.1 dst is 192.168.1.2 / udp src is 25 dst is 23 / end actions vf id = 2 / end=0D +=0D +matched pkts::=0D +=0D + sendp([Ether(dst=3D"00:11:22:33:44:55",type=3D0x8864)/PPPoE(sessionid= =3D3)/PPP(proto=3D0x0021)/IP(src=3D"192.168.1.1", dst=3D"192.168.1.2")/UDP(= sport=3D25,dport=3D23)/Raw("x" * 80)],iface=3D"ens786f0",count=3D1)=0D +=0D +mismatched pkts::=0D +=0D + sendp([Ether(dst=3D"00:11:22:33:44:55",type=3D0x8864)/PPPoE(sessionid= =3D3)/PPP(proto=3D0x0021)/IP(src=3D"192.168.1.3", dst=3D"192.168.1.2")/UDP(= sport=3D25,dport=3D23)/Raw("x" * 80)],iface=3D"ens786f0",count=3D1)=0D + sendp([Ether(dst=3D"00:11:22:33:44:55",type=3D0x8864)/PPPoE(sessionid= =3D3)/PPP(proto=3D0x0021)/IP(src=3D"192.168.1.1", dst=3D"192.168.1.4")/UDP(= sport=3D25,dport=3D23)/Raw("x" * 80)],iface=3D"ens786f0",count=3D1)=0D + sendp([Ether(dst=3D"00:11:22:33:44:55",type=3D0x8864)/PPPoE(sessionid= =3D3)/PPP(proto=3D0x0021)/IP(src=3D"192.168.1.1", dst=3D"192.168.1.2")/UDP(= sport=3D27,dport=3D23)/Raw("x" * 80)],iface=3D"ens786f0",count=3D1)=0D + sendp([Ether(dst=3D"00:11:22:33:44:55",type=3D0x8864)/PPPoE(sessionid= =3D3)/PPP(proto=3D0x0021)/IP(src=3D"192.168.1.1", dst=3D"192.168.1.2")/UDP(= sport=3D25,dport=3D19)/Raw("x" * 80)],iface=3D"ens786f0",count=3D1)=0D +=0D +=0D +test case 45: MAC_PPPOE_IPV4_UDP_PAY_non_src_dst_port=0D +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=0D +rules::=0D +=0D + flow validate 0 priority 0 ingress pattern eth / pppoes / ipv4 src is = 192.168.1.1 dst is 192.168.1.2 / udp / end actions vf id 1 / end=0D + flow validate 0 priority 1 ingress pattern eth / pppoes / ipv4 src is = 192.168.1.1 dst is 192.168.1.2 / udp / end actions vf id 2 / end=0D + flow create 0 priority 0 ingress pattern eth / pppoes / ipv4 src is 19= 2.168.1.1 dst is 192.168.1.2 / udp / end actions vf id 1 / end=0D + flow create 0 priority 1 ingress pattern eth / pppoes / ipv4 src is 19= 2.168.1.1 dst is 192.168.1.2 / udp / end actions vf id 2 / end=0D +=0D +matched pkts::=0D +=0D + sendp([Ether(dst=3D"00:11:22:33:44:55",type=3D0x8864)/PPPoE(sessionid= =3D3)/PPP(proto=3D0x0021)/IP(src=3D"192.168.1.1", dst=3D"192.168.1.2")/UDP(= sport=3D25,dport=3D23)/Raw("x" * 80)],iface=3D"ens786f0",count=3D1)=0D +=0D +mismatched pkts::=0D +=0D + sendp([Ether(dst=3D"00:11:22:33:44:55",type=3D0x8864)/PPPoE(sessionid= =3D3)/PPP(proto=3D0x0021)/IP(src=3D"192.168.1.3", dst=3D"192.168.1.2")/UDP(= sport=3D25,dport=3D23)/Raw("x" * 80)],iface=3D"ens786f0",count=3D1)=0D + sendp([Ether(dst=3D"00:11:22:33:44:55",type=3D0x8864)/PPPoE(sessionid= =3D3)/PPP(proto=3D0x0021)/IP(src=3D"192.168.1.1", dst=3D"192.168.1.4")/UDP(= sport=3D25,dport=3D23)/Raw("x" * 80)],iface=3D"ens786f0",count=3D1)=0D + sendp([Ether(dst=3D"00:11:22:33:44:55",type=3D0x8864)/PPPoE(sessionid= =3D3)/PPP(proto=3D0x0021)/IP(src=3D"192.168.1.1", dst=3D"192.168.1.2")/TCP(= sport=3D25,dport=3D23)/Raw("x" * 80)],iface=3D"ens786f0",count=3D1)=0D + sendp([Ether(dst=3D"00:11:22:33:44:55",type=3D0x8864)/PPPoE(sessionid= =3D3)/PPP(proto=3D0x0021)/IP(src=3D"192.168.1.1", dst=3D"192.168.1.2")/Raw(= "x" * 80)],iface=3D"ens786f0",count=3D1)=0D +=0D +=0D +test case 46: MAC_PPPOE_IPV4_TCP_PAY=0D +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=0D +rules::=0D +=0D + flow validate 0 priority 0 ingress pattern eth / pppoes / ipv4 src is = 192.168.1.1 dst is 192.168.1.2 / tcp src is 25 dst is 23 / end actions vf i= d 1 / end=0D + flow validate 0 priority 1 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 i= d 2 / end=0D + flow create 0 priority 0 ingress pattern eth / pppoes / ipv4 src is 19= 2.168.1.1 dst is 192.168.1.2 / tcp src is 25 dst is 23 / end actions vf id = 1 / end=0D + flow create 0 priority 1 ingress pattern eth / pppoes / ipv4 src is 19= 2.168.1.1 dst is 192.168.1.2 / tcp src is 25 dst is 23 / end actions vf id = 2 / end=0D +=0D +matched pkts::=0D +=0D + sendp([Ether(dst=3D"00:11:22:33:44:55",type=3D0x8864)/PPPoE(sessionid= =3D3)/PPP(proto=3D0x0021)/IP(src=3D"192.168.1.1", dst=3D"192.168.1.2")/TCP(= sport=3D25,dport=3D23)/Raw("x" * 80)],iface=3D"ens786f0",count=3D1)=0D +=0D +mismatched pkts::=0D +=0D + sendp([Ether(dst=3D"00:11:22:33:44:55",type=3D0x8864)/PPPoE(sessionid= =3D3)/PPP(proto=3D0x0021)/IP(src=3D"192.168.1.3", dst=3D"192.168.1.2")/TCP(= sport=3D25,dport=3D23)/Raw("x" * 80)],iface=3D"ens786f0",count=3D1)=0D + sendp([Ether(dst=3D"00:11:22:33:44:55",type=3D0x8864)/PPPoE(sessionid= =3D3)/PPP(proto=3D0x0021)/IP(src=3D"192.168.1.1", dst=3D"192.168.1.4")/TCP(= sport=3D25,dport=3D23)/Raw("x" * 80)],iface=3D"ens786f0",count=3D1)=0D + sendp([Ether(dst=3D"00:11:22:33:44:55",type=3D0x8864)/PPPoE(sessionid= =3D3)/PPP(proto=3D0x0021)/IP(src=3D"192.168.1.1", dst=3D"192.168.1.2")/TCP(= sport=3D27,dport=3D23)/Raw("x" * 80)],iface=3D"ens786f0",count=3D1)=0D + sendp([Ether(dst=3D"00:11:22:33:44:55",type=3D0x8864)/PPPoE(sessionid= =3D3)/PPP(proto=3D0x0021)/IP(src=3D"192.168.1.1", dst=3D"192.168.1.2")/TCP(= sport=3D25,dport=3D19)/Raw("x" * 80)],iface=3D"ens786f0",count=3D1)=0D +=0D +=0D +test case 47: MAC_PPPOE_IPV4_TCP_PAY_non_src_dst_port=0D +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=0D +rules::=0D +=0D + flow validate 0 priority 0 ingress pattern eth / pppoes / ipv4 src is = 192.168.1.1 dst is 192.168.1.2 / tcp / end actions vf id 1 / end=0D + flow validate 0 priority 1 ingress pattern eth / pppoes / ipv4 src is = 192.168.1.1 dst is 192.168.1.2 / tcp / end actions vf id 2 / end=0D + flow create 0 priority 0 ingress pattern eth / pppoes / ipv4 src is 19= 2.168.1.1 dst is 192.168.1.2 / tcp / end actions vf id 1 / end=0D + flow create 0 priority 1 ingress pattern eth / pppoes / ipv4 src is 19= 2.168.1.1 dst is 192.168.1.2 / tcp / end actions vf id 2 / end=0D +=0D +matched pkts::=0D +=0D + sendp([Ether(dst=3D"00:11:22:33:44:55",type=3D0x8864)/PPPoE(sessionid= =3D3)/PPP(proto=3D0x0021)/IP(src=3D"192.168.1.1", dst=3D"192.168.1.2")/TCP(= sport=3D25,dport=3D23)/Raw("x" * 80)],iface=3D"ens786f0",count=3D1)=0D +=0D +mismatched pkts::=0D +=0D + sendp([Ether(dst=3D"00:11:22:33:44:55",type=3D0x8864)/PPPoE(sessionid= =3D3)/PPP(proto=3D0x0021)/IP(src=3D"192.168.1.3", dst=3D"192.168.1.2")/TCP(= sport=3D25,dport=3D23)/Raw("x" * 80)],iface=3D"ens786f0",count=3D1)=0D + sendp([Ether(dst=3D"00:11:22:33:44:55",type=3D0x8864)/PPPoE(sessionid= =3D3)/PPP(proto=3D0x0021)/IP(src=3D"192.168.1.1", dst=3D"192.168.1.4")/TCP(= sport=3D25,dport=3D23)/Raw("x" * 80)],iface=3D"ens786f0",count=3D1)=0D + sendp([Ether(dst=3D"00:11:22:33:44:55",type=3D0x8864)/PPPoE(sessionid= =3D3)/PPP(proto=3D0x0021)/IP(src=3D"192.168.1.1", dst=3D"192.168.1.2")/UDP(= sport=3D25,dport=3D23)/Raw("x" * 80)],iface=3D"ens786f0",count=3D1)=0D + sendp([Ether(dst=3D"00:11:22:33:44:55",type=3D0x8864)/PPPoE(sessionid= =3D3)/PPP(proto=3D0x0021)/IP(src=3D"192.168.1.1", dst=3D"192.168.1.2")/Raw(= "x" * 80)],iface=3D"ens786f0",count=3D1)=0D +=0D +=0D +test case 48: MAC_PPPOE_IPV6_PAY_IP_address=0D +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=0D +rules::=0D +=0D + flow validate 0 priority 0 ingress pattern eth / pppoes / ipv6 src is = CDCD:910A:2222:5498:8475:1111:3900:1536 dst is CDCD:910A:2222:5498:8475:111= 1:3900:2022 / end actions vf id 1 / end=0D + flow validate 0 priority 1 ingress pattern eth / pppoes / ipv6 src is = CDCD:910A:2222:5498:8475:1111:3900:1536 dst is CDCD:910A:2222:5498:8475:111= 1:3900:2022 / end actions vf id 2 / end=0D + flow create 0 priority 0 ingress pattern eth / pppoes / ipv6 src is CD= CD:910A:2222:5498:8475:1111:3900:1536 dst is CDCD:910A:2222:5498:8475:1111:= 3900:2022 / end actions vf id 1 / end=0D + flow create 0 priority 1 ingress pattern eth / pppoes / ipv6 src is CD= CD:910A:2222:5498:8475:1111:3900:1536 dst is CDCD:910A:2222:5498:8475:1111:= 3900:2022 / end actions vf id 2 / end=0D +=0D +matched pkts::=0D +=0D + sendp([Ether(src=3D"11:22:33:44:55:99",dst=3D"00:11:22:33:44:55",type= =3D0x8864)/PPPoE(sessionid=3D3)/PPP(proto=3D0x0057)/IPv6(src=3D"CDCD:910A:2= 222:5498:8475:1111:3900:1536", dst=3D"CDCD:910A:2222:5498:8475:1111:3900:20= 22")/Raw("x"*80)],iface=3D"ens786f0",count=3D1)=0D +=0D +mismatched pkts::=0D +=0D + sendp([Ether(src=3D"11:22:33:44:55:99",dst=3D"00:11:22:33:44:55",type= =3D0x8864)/PPPoE(sessionid=3D3)/PPP(proto=3D0x0057)/IPv6(src=3D"CDCD:910A:2= 222:5498:8475:1111:3900:1537", dst=3D"CDCD:910A:2222:5498:8475:1111:3900:20= 22")/Raw("x"*80)],iface=3D"ens786f0",count=3D1)=0D + sendp([Ether(src=3D"11:22:33:44:55:99",dst=3D"00:11:22:33:44:55",type= =3D0x8864)/PPPoE(sessionid=3D3)/PPP(proto=3D0x0057)/IPv6(src=3D"CDCD:910A:2= 222:5498:8475:1111:3900:1536", dst=3D"CDCD:910A:2222:5498:8475:1111:3900:20= 23")/Raw("x"*80)],iface=3D"ens786f0",count=3D1)=0D + sendp([Ether(src=3D"11:22:33:44:55:99",dst=3D"00:11:22:33:44:55")/IPv6= (src=3D"CDCD:910A:2222:5498:8475:1111:3900:1536", dst=3D"CDCD:910A:2222:549= 8:8475:1111:3900:2022")/Raw("x"*80)],iface=3D"ens786f0",count=3D1)=0D +=0D +=0D +test case 49: MAC_PPPOE_IPV6_UDP_PAY=0D +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=0D +rules::=0D +=0D + flow validate 0 priority 0 ingress pattern eth / pppoes / ipv6 dst is = CDCD:910A:2222:5498:8475:1111:3900:2022 / udp src is 25 dst is 23 / end act= ions vf id 1 / end=0D + flow validate 0 priority 1 ingress pattern eth / pppoes / ipv6 dst is = CDCD:910A:2222:5498:8475:1111:3900:2022 / udp src is 25 dst is 23 / end act= ions vf id 2 / end=0D + flow create 0 priority 0 ingress pattern eth / pppoes / ipv6 dst is CD= CD:910A:2222:5498:8475:1111:3900:2022 / udp src is 25 dst is 23 / end actio= ns vf id 1 / end=0D + flow create 0 priority 1 ingress pattern eth / pppoes / ipv6 dst is CD= CD:910A:2222:5498:8475:1111:3900:2022 / udp src is 25 dst is 23 / end actio= ns vf id 2 / end=0D +=0D +matched pkts::=0D +=0D + sendp([Ether(src=3D"11:22:33:44:55:99",dst=3D"00:11:22:33:44:55",type= =3D0x8864)/PPPoE(sessionid=3D3)/PPP(proto=3D0x0057)/IPv6(src=3D"CDCD:910A:2= 222:5498:8475:1111:3900:1536", dst=3D"CDCD:910A:2222:5498:8475:1111:3900:20= 22")/UDP(sport=3D25,dport=3D23)/Raw("x" * 80)],iface=3D"ens786f0",count=3D1= )=0D +=0D +mismatched pkts::=0D +=0D + sendp([Ether(src=3D"11:22:33:44:55:99",dst=3D"00:11:22:33:44:55",type= =3D0x8864)/PPPoE(sessionid=3D3)/PPP(proto=3D0x0057)/IPv6(src=3D"CDCD:910A:2= 222:5498:8475:1111:3900:1536", dst=3D"CDCD:910A:2222:5498:8475:1111:3900:20= 23")/UDP(sport=3D25,dport=3D23)/Raw("x" * 80)],iface=3D"ens786f0",count=3D1= )=0D + sendp([Ether(src=3D"11:22:33:44:55:99",dst=3D"00:11:22:33:44:55",type= =3D0x8864)/PPPoE(sessionid=3D3)/PPP(proto=3D0x0057)/IPv6(src=3D"CDCD:910A:2= 222:5498:8475:1111:3900:1536", dst=3D"CDCD:910A:2222:5498:8475:1111:3900:20= 22")/UDP(sport=3D27,dport=3D23)/Raw("x" * 80)],iface=3D"ens786f0",count=3D1= )=0D + sendp([Ether(src=3D"11:22:33:44:55:99",dst=3D"00:11:22:33:44:55",type= =3D0x8864)/PPPoE(sessionid=3D3)/PPP(proto=3D0x0057)/IPv6(src=3D"CDCD:910A:2= 222:5498:8475:1111:3900:1536", dst=3D"CDCD:910A:2222:5498:8475:1111:3900:20= 22")/UDP(sport=3D25,dport=3D19)/Raw("x" * 80)],iface=3D"ens786f0",count=3D1= )=0D +=0D +=0D +test case 50: MAC_PPPOE_IPV6_UDP_PAY_non_src_dst_port=0D +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=0D +rules::=0D +=0D + flow validate 0 priority 0 ingress pattern eth / pppoes / ipv6 src is = CDCD:910A:2222:5498:8475:1111:3900:1536 dst is CDCD:910A:2222:5498:8475:111= 1:3900:2022 / udp / end actions vf id 1 / end=0D + flow validate 0 priority 1 ingress pattern eth / pppoes / ipv6 src is = CDCD:910A:2222:5498:8475:1111:3900:1536 dst is CDCD:910A:2222:5498:8475:111= 1:3900:2022 / udp / end actions vf id 2 / end=0D + flow create 0 priority 0 ingress pattern eth / pppoes / ipv6 src is CD= CD:910A:2222:5498:8475:1111:3900:1536 dst is CDCD:910A:2222:5498:8475:1111:= 3900:2022 / udp / end actions vf id 1 / end=0D + flow create 0 priority 1 ingress pattern eth / pppoes / ipv6 src is CD= CD:910A:2222:5498:8475:1111:3900:1536 dst is CDCD:910A:2222:5498:8475:1111:= 3900:2022 / udp / end actions vf id 2 / end=0D +=0D +matched pkts::=0D +=0D + sendp([Ether(src=3D"11:22:33:44:55:99",dst=3D"00:11:22:33:44:55",type= =3D0x8864)/PPPoE(sessionid=3D3)/PPP(proto=3D0x0057)/IPv6(src=3D"CDCD:910A:2= 222:5498:8475:1111:3900:1536", dst=3D"CDCD:910A:2222:5498:8475:1111:3900:20= 22")/UDP(sport=3D25,dport=3D23)/Raw("x" * 80)],iface=3D"ens786f0",count=3D1= )=0D +=0D +mismatched pkts::=0D +=0D + sendp([Ether(src=3D"11:22:33:44:55:99",dst=3D"00:11:22:33:44:55",type= =3D0x8864)/PPPoE(sessionid=3D3)/PPP(proto=3D0x0057)/IPv6(src=3D"CDCD:910A:2= 222:5498:8475:1111:3900:1537", dst=3D"CDCD:910A:2222:5498:8475:1111:3900:20= 22")/UDP(sport=3D25,dport=3D23)/Raw("x" * 80)],iface=3D"ens786f0",count=3D1= )=0D + sendp([Ether(src=3D"11:22:33:44:55:99",dst=3D"00:11:22:33:44:55",type= =3D0x8864)/PPPoE(sessionid=3D3)/PPP(proto=3D0x0057)/IPv6(src=3D"CDCD:910A:2= 222:5498:8475:1111:3900:1536", dst=3D"CDCD:910A:2222:5498:8475:1111:3900:20= 23")/UDP(sport=3D25,dport=3D23)/Raw("x" * 80)],iface=3D"ens786f0",count=3D1= )=0D + sendp([Ether(src=3D"11:22:33:44:55:99",dst=3D"00:11:22:33:44:55",type= =3D0x8864)/PPPoE(sessionid=3D3)/PPP(proto=3D0x0057)/IPv6(src=3D"CDCD:910A:2= 222:5498:8475:1111:3900:1536", dst=3D"CDCD:910A:2222:5498:8475:1111:3900:20= 22")/TCP(sport=3D25,dport=3D23)/Raw("x" * 80)],iface=3D"ens786f0",count=3D1= )=0D + sendp([Ether(src=3D"11:22:33:44:55:99",dst=3D"00:11:22:33:44:55",type= =3D0x8864)/PPPoE(sessionid=3D3)/PPP(proto=3D0x0057)/IPv6(src=3D"CDCD:910A:2= 222:5498:8475:1111:3900:1536", dst=3D"CDCD:910A:2222:5498:8475:1111:3900:20= 22")/Raw("x" * 80)],iface=3D"ens786f0",count=3D1)=0D +=0D +=0D +test case 51: MAC_PPPOE_IPV6_TCP_PAY=0D +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=0D +rules::=0D +=0D + flow validate 0 priority 0 ingress pattern eth / pppoes / ipv6 dst is = CDCD:910A:2222:5498:8475:1111:3900:2022 / tcp src is 25 dst is 23 / end act= ions vf id 1 / end=0D + flow validate 0 priority 1 ingress pattern eth / pppoes / ipv6 dst is = CDCD:910A:2222:5498:8475:1111:3900:2022 / tcp src is 25 dst is 23 / end act= ions vf id 2 / end=0D + flow create 0 priority 0 ingress pattern eth / pppoes / ipv6 dst is CD= CD:910A:2222:5498:8475:1111:3900:2022 / tcp src is 25 dst is 23 / end actio= ns vf id 1 / end=0D + flow create 0 priority 1 ingress pattern eth / pppoes / ipv6 dst is CD= CD:910A:2222:5498:8475:1111:3900:2022 / tcp src is 25 dst is 23 / end actio= ns vf id 2 / end=0D +=0D +matched pkts::=0D +=0D + sendp([Ether(src=3D"11:22:33:44:55:99",dst=3D"00:11:22:33:44:55",type= =3D0x8864)/PPPoE(sessionid=3D3)/PPP(proto=3D0x0057)/IPv6(src=3D"CDCD:910A:2= 222:5498:8475:1111:3900:1536", dst=3D"CDCD:910A:2222:5498:8475:1111:3900:20= 22")/TCP(sport=3D25,dport=3D23)/Raw("x" * 80)],iface=3D"ens786f0",count=3D1= )=0D +=0D +mismatched pkts::=0D +=0D + sendp([Ether(src=3D"11:22:33:44:55:99",dst=3D"00:11:22:33:44:55",type= =3D0x8864)/PPPoE(sessionid=3D3)/PPP(proto=3D0x0057)/IPv6(src=3D"CDCD:910A:2= 222:5498:8475:1111:3900:1536", dst=3D"CDCD:910A:2222:5498:8475:1111:3900:20= 23")/TCP(sport=3D25,dport=3D23)/Raw("x" * 80)],iface=3D"ens786f0",count=3D1= )=0D + sendp([Ether(src=3D"11:22:33:44:55:99",dst=3D"00:11:22:33:44:55",type= =3D0x8864)/PPPoE(sessionid=3D3)/PPP(proto=3D0x0057)/IPv6(src=3D"CDCD:910A:2= 222:5498:8475:1111:3900:1536", dst=3D"CDCD:910A:2222:5498:8475:1111:3900:20= 22")/TCP(sport=3D27,dport=3D23)/Raw("x" * 80)],iface=3D"ens786f0",count=3D1= )=0D + sendp([Ether(src=3D"11:22:33:44:55:99",dst=3D"00:11:22:33:44:55",type= =3D0x8864)/PPPoE(sessionid=3D3)/PPP(proto=3D0x0057)/IPv6(src=3D"CDCD:910A:2= 222:5498:8475:1111:3900:1536", dst=3D"CDCD:910A:2222:5498:8475:1111:3900:20= 22")/TCP(sport=3D25,dport=3D19)/Raw("x" * 80)],iface=3D"ens786f0",count=3D1= )=0D +=0D +=0D +test case 52: MAC_PPPOE_IPV6_TCP_PAY_non_src_dst_port=0D +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=0D +rules::=0D +=0D + flow validate 0 priority 0 ingress pattern eth / pppoes / ipv6 src is = CDCD:910A:2222:5498:8475:1111:3900:1536 dst is CDCD:910A:2222:5498:8475:111= 1:3900:2022 / tcp / end actions vf id 1 / end=0D + flow validate 0 priority 1 ingress pattern eth / pppoes / ipv6 src is = CDCD:910A:2222:5498:8475:1111:3900:1536 dst is CDCD:910A:2222:5498:8475:111= 1:3900:2022 / tcp / end actions vf id 2 / end=0D + flow create 0 priority 0 ingress pattern eth / pppoes / ipv6 src is CD= CD:910A:2222:5498:8475:1111:3900:1536 dst is CDCD:910A:2222:5498:8475:1111:= 3900:2022 / tcp / end actions vf id 1 / end=0D + flow create 0 priority 1 ingress pattern eth / pppoes / ipv6 src is CD= CD:910A:2222:5498:8475:1111:3900:1536 dst is CDCD:910A:2222:5498:8475:1111:= 3900:2022 / tcp / end actions vf id 2 / end=0D +=0D +matched pkts::=0D +=0D + sendp([Ether(src=3D"11:22:33:44:55:99",dst=3D"00:11:22:33:44:55",type= =3D0x8864)/PPPoE(sessionid=3D3)/PPP(proto=3D0x0057)/IPv6(src=3D"CDCD:910A:2= 222:5498:8475:1111:3900:1536", dst=3D"CDCD:910A:2222:5498:8475:1111:3900:20= 22")/TCP(sport=3D25,dport=3D23)/Raw("x" * 80)],iface=3D"ens786f0",count=3D1= )=0D +=0D +mismatched pkts::=0D +=0D + sendp([Ether(src=3D"11:22:33:44:55:99",dst=3D"00:11:22:33:44:55",type= =3D0x8864)/PPPoE(sessionid=3D3)/PPP(proto=3D0x0057)/IPv6(src=3D"CDCD:910A:2= 222:5498:8475:1111:3900:1537", dst=3D"CDCD:910A:2222:5498:8475:1111:3900:20= 22")/TCP(sport=3D25,dport=3D23)/Raw("x" * 80)],iface=3D"ens786f0",count=3D1= )=0D + sendp([Ether(src=3D"11:22:33:44:55:99",dst=3D"00:11:22:33:44:55",type= =3D0x8864)/PPPoE(sessionid=3D3)/PPP(proto=3D0x0057)/IPv6(src=3D"CDCD:910A:2= 222:5498:8475:1111:3900:1536", dst=3D"CDCD:910A:2222:5498:8475:1111:3900:20= 23")/TCP(sport=3D25,dport=3D23)/Raw("x" * 80)],iface=3D"ens786f0",count=3D1= )=0D + sendp([Ether(src=3D"11:22:33:44:55:99",dst=3D"00:11:22:33:44:55",type= =3D0x8864)/PPPoE(sessionid=3D3)/PPP(proto=3D0x0057)/IPv6(src=3D"CDCD:910A:2= 222:5498:8475:1111:3900:1536", dst=3D"CDCD:910A:2222:5498:8475:1111:3900:20= 22")/UDP(sport=3D25,dport=3D23)/Raw("x" * 80)],iface=3D"ens786f0",count=3D1= )=0D + sendp([Ether(src=3D"11:22:33:44:55:99",dst=3D"00:11:22:33:44:55",type= =3D0x8864)/PPPoE(sessionid=3D3)/PPP(proto=3D0x0057)/IPv6(src=3D"CDCD:910A:2= 222:5498:8475:1111:3900:1536", dst=3D"CDCD:910A:2222:5498:8475:1111:3900:20= 22")/Raw("x" * 80)],iface=3D"ens786f0",count=3D1)=0D +=0D +=0D +test case 53: MAC_VLAN_PPPOE_IPV4_PAY_IP_address=0D +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =0D +rules::=0D +=0D + flow validate 0 priority 0 ingress pattern eth / vlan tci is 1 / pppoe= s / ipv4 src is 192.168.1.1 dst is 192.168.1.2 / end actions vf id 1 / end= =0D + flow validate 0 priority 1 ingress pattern eth / vlan tci is 1 / pppoe= s / ipv4 src is 192.168.1.1 dst is 192.168.1.2 / end actions vf id 2 / end= =0D + flow create 0 priority 0 ingress pattern eth / vlan tci is 1 / pppoes = / ipv4 src is 192.168.1.1 dst is 192.168.1.2 / end actions vf id 1 / end=0D + flow create 0 priority 1 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 2 / end=0D +=0D +matched pkts::=0D +=0D + sendp([Ether(dst=3D"00:11:22:33:44:55",type=3D0x8100)/Dot1Q(vlan=3D1,t= ype=3D0x8864)/PPPoE(sessionid=3D3)/PPP(proto=3D0x0021)/IP(src=3D"192.168.1.= 1", dst=3D"192.168.1.2")/Raw("x"*80)],iface=3D"ens786f0",count=3D1)=0D +=0D +mismatched pkts::=0D +=0D + sendp([Ether(dst=3D"00:11:22:33:44:55",type=3D0x8100)/Dot1Q(vlan=3D2,t= ype=3D0x8864)/PPPoE(sessionid=3D3)/PPP(proto=3D0x0021)/IP(src=3D"192.168.1.= 1", dst=3D"192.168.1.2")/Raw("x"*80)],iface=3D"ens786f0",count=3D1)=0D + sendp([Ether(dst=3D"00:11:22:33:44:55",type=3D0x8100)/Dot1Q(vlan=3D1,t= ype=3D0x8864)/PPPoE(sessionid=3D3)/PPP(proto=3D0x0021)/IP(src=3D"192.168.1.= 3", dst=3D"192.168.1.2")/Raw("x"*80)],iface=3D"ens786f0",count=3D1)=0D + sendp([Ether(dst=3D"00:11:22:33:44:55",type=3D0x8100)/Dot1Q(vlan=3D1,t= ype=3D0x8864)/PPPoE(sessionid=3D3)/PPP(proto=3D0x0021)/IP(src=3D"192.168.1.= 1", dst=3D"192.168.1.4")/Raw("x"*80)],iface=3D"ens786f0",count=3D1)=0D +=0D +=0D +test case 54: MAC_VLAN_PPPOE_IPV4_UDP_PAY=0D +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=0D +rules::=0D +=0D + flow validate 0 priority 0 ingress pattern eth / vlan tci is 1 / pppoe= s / 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=0D + flow validate 0 priority 1 ingress pattern eth / vlan tci is 1 / pppoe= s / ipv4 src is 192.168.1.1 dst is 192.168.1.2 / udp src is 25 dst is 23 / = end actions vf id 2 / end=0D + flow create 0 priority 0 ingress pattern eth / vlan tci is 1 / pppoes = / ipv4 src is 192.168.1.1 dst is 192.168.1.2 / udp src is 25 dst is 23 / en= d actions vf id 1 / end=0D + flow create 0 priority 1 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 / en= d actions vf id 2 / end=0D +=0D +matched pkts::=0D +=0D + sendp([Ether(dst=3D"00:11:22:33:44:55",type=3D0x8100)/Dot1Q(vlan=3D1,t= ype=3D0x8864)/PPPoE(sessionid=3D3)/PPP(proto=3D0x0021)/IP(src=3D"192.168.1.= 1", dst=3D"192.168.1.2")/UDP(sport=3D25,dport=3D23)/Raw("x" * 80)],iface=3D= "ens786f0",count=3D1)=0D +=0D +mismatched pkts::=0D +=0D + sendp([Ether(dst=3D"00:11:22:33:44:55",type=3D0x8100)/Dot1Q(vlan=3D2,t= ype=3D0x8864)/PPPoE(sessionid=3D3)/PPP(proto=3D0x0021)/IP(src=3D"192.168.1.= 1", dst=3D"192.168.1.2")/UDP(sport=3D25,dport=3D23)/Raw("x" * 80)],iface=3D= "ens786f0",count=3D1)=0D + sendp([Ether(dst=3D"00:11:22:33:44:55",type=3D0x8100)/Dot1Q(vlan=3D1,t= ype=3D0x8864)/PPPoE(sessionid=3D3)/PPP(proto=3D0x0021)/IP(src=3D"192.168.1.= 3", dst=3D"192.168.1.2")/UDP(sport=3D25,dport=3D23)/Raw("x" * 80)],iface=3D= "ens786f0",count=3D1)=0D + sendp([Ether(dst=3D"00:11:22:33:44:55",type=3D0x8100)/Dot1Q(vlan=3D1,t= ype=3D0x8864)/PPPoE(sessionid=3D3)/PPP(proto=3D0x0021)/IP(src=3D"192.168.1.= 1", dst=3D"192.168.1.4")/UDP(sport=3D25,dport=3D23)/Raw("x" * 80)],iface=3D= "ens786f0",count=3D1)=0D + sendp([Ether(dst=3D"00:11:22:33:44:55",type=3D0x8100)/Dot1Q(vlan=3D1,t= ype=3D0x8864)/PPPoE(sessionid=3D3)/PPP(proto=3D0x0021)/IP(src=3D"192.168.1.= 1", dst=3D"192.168.1.2")/UDP(sport=3D27,dport=3D23)/Raw("x" * 80)],iface=3D= "ens786f0",count=3D1)=0D + sendp([Ether(dst=3D"00:11:22:33:44:55",type=3D0x8100)/Dot1Q(vlan=3D1,t= ype=3D0x8864)/PPPoE(sessionid=3D3)/PPP(proto=3D0x0021)/IP(src=3D"192.168.1.= 1", dst=3D"192.168.1.2")/UDP(sport=3D25,dport=3D19)/Raw("x" * 80)],iface=3D= "ens786f0",count=3D1)=0D +=0D +=0D +test case 55: MAC_VLAN_PPPOE_IPV4_UDP_PAY_non_src_dst_port=0D +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=0D +rules::=0D +=0D + flow validate 0 priority 0 ingress pattern eth / vlan tci is 1 / pppoe= s / ipv4 src is 192.168.1.1 dst is 192.168.1.2 / udp / end actions vf id 1 = / end=0D + flow validate 0 priority 1 ingress pattern eth / vlan tci is 1 / pppoe= s / ipv4 src is 192.168.1.1 dst is 192.168.1.2 / udp / end actions vf id 2 = / end=0D + flow create 0 priority 0 ingress pattern eth / vlan tci is 1 / pppoes = / ipv4 src is 192.168.1.1 dst is 192.168.1.2 / udp / end actions vf id 1 / = end=0D + flow create 0 priority 1 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 2 / = end=0D +=0D +matched pkts::=0D +=0D + sendp([Ether(dst=3D"00:11:22:33:44:55",type=3D0x8100)/Dot1Q(vlan=3D1,t= ype=3D0x8864)/PPPoE(sessionid=3D3)/PPP(proto=3D0x0021)/IP(src=3D"192.168.1.= 1", dst=3D"192.168.1.2")/UDP(sport=3D25,dport=3D23)/Raw("x" * 80)],iface=3D= "ens786f0",count=3D1)=0D +=0D +mismatched pkts::=0D +=0D + sendp([Ether(dst=3D"00:11:22:33:44:55",type=3D0x8100)/Dot1Q(vlan=3D2,t= ype=3D0x8864)/PPPoE(sessionid=3D3)/PPP(proto=3D0x0021)/IP(src=3D"192.168.1.= 1", dst=3D"192.168.1.2")/UDP(sport=3D25,dport=3D23)/Raw("x" * 80)],iface=3D= "ens786f0",count=3D1)=0D + sendp([Ether(dst=3D"00:11:22:33:44:55",type=3D0x8100)/Dot1Q(vlan=3D1,t= ype=3D0x8864)/PPPoE(sessionid=3D3)/PPP(proto=3D0x0021)/IP(src=3D"192.168.1.= 3", dst=3D"192.168.1.2")/UDP(sport=3D25,dport=3D23)/Raw("x" * 80)],iface=3D= "ens786f0",count=3D1)=0D + sendp([Ether(dst=3D"00:11:22:33:44:55",type=3D0x8100)/Dot1Q(vlan=3D1,t= ype=3D0x8864)/PPPoE(sessionid=3D3)/PPP(proto=3D0x0021)/IP(src=3D"192.168.1.= 1", dst=3D"192.168.1.4")/UDP(sport=3D25,dport=3D23)/Raw("x" * 80)],iface=3D= "ens786f0",count=3D1)=0D + sendp([Ether(dst=3D"00:11:22:33:44:55",type=3D0x8100)/Dot1Q(vlan=3D1,t= ype=3D0x8864)/PPPoE(sessionid=3D3)/PPP(proto=3D0x0021)/IP(src=3D"192.168.1.= 1", dst=3D"192.168.1.2")/TCP(sport=3D25,dport=3D23)/Raw("x" * 80)],iface=3D= "ens786f0",count=3D1)=0D + sendp([Ether(dst=3D"00:11:22:33:44:55",type=3D0x8100)/Dot1Q(vlan=3D1,t= ype=3D0x8864)/PPPoE(sessionid=3D3)/PPP(proto=3D0x0021)/IP(src=3D"192.168.1.= 1", dst=3D"192.168.1.2")/Raw("x" * 80)],iface=3D"ens786f0",count=3D1)=0D +=0D +=0D +test case 56: MAC_VLAN_PPPOE_IPV4_TCP_PAY=0D +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=0D +rules::=0D +=0D + flow validate 0 priority 0 ingress pattern eth / vlan tci is 1 / pppoe= s / 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=0D + flow validate 0 priority 1 ingress pattern eth / vlan tci is 1 / pppoe= s / ipv4 src is 192.168.1.1 dst is 192.168.1.2 / tcp src is 25 dst is 23 / = end actions vf id 2 / end=0D + flow create 0 priority 0 ingress pattern eth / vlan tci is 1 / pppoes = / ipv4 src is 192.168.1.1 dst is 192.168.1.2 / tcp src is 25 dst is 23 / en= d actions vf id 1 / end=0D + flow create 0 priority 1 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 / en= d actions vf id 2 / end=0D +=0D +matched pkts::=0D +=0D + sendp([Ether(dst=3D"00:11:22:33:44:55",type=3D0x8100)/Dot1Q(vlan=3D1,t= ype=3D0x8864)/PPPoE(sessionid=3D3)/PPP(proto=3D0x0021)/IP(src=3D"192.168.1.= 1", dst=3D"192.168.1.2")/TCP(sport=3D25,dport=3D23)/Raw("x" * 80)],iface=3D= "ens786f0",count=3D1)=0D +=0D +mismatched pkts::=0D +=0D + sendp([Ether(dst=3D"00:11:22:33:44:55",type=3D0x8100)/Dot1Q(vlan=3D2,t= ype=3D0x8864)/PPPoE(sessionid=3D3)/PPP(proto=3D0x0021)/IP(src=3D"192.168.1.= 1", dst=3D"192.168.1.2")/TCP(sport=3D25,dport=3D23)/Raw("x" * 80)],iface=3D= "ens786f0",count=3D1)=0D + sendp([Ether(dst=3D"00:11:22:33:44:55",type=3D0x8100)/Dot1Q(vlan=3D1,t= ype=3D0x8864)/PPPoE(sessionid=3D3)/PPP(proto=3D0x0021)/IP(src=3D"192.168.1.= 3", dst=3D"192.168.1.2")/TCP(sport=3D25,dport=3D23)/Raw("x" * 80)],iface=3D= "ens786f0",count=3D1)=0D + sendp([Ether(dst=3D"00:11:22:33:44:55",type=3D0x8100)/Dot1Q(vlan=3D1,t= ype=3D0x8864)/PPPoE(sessionid=3D3)/PPP(proto=3D0x0021)/IP(src=3D"192.168.1.= 1", dst=3D"192.168.1.4")/TCP(sport=3D25,dport=3D23)/Raw("x" * 80)],iface=3D= "ens786f0",count=3D1)=0D + sendp([Ether(dst=3D"00:11:22:33:44:55",type=3D0x8100)/Dot1Q(vlan=3D1,t= ype=3D0x8864)/PPPoE(sessionid=3D3)/PPP(proto=3D0x0021)/IP(src=3D"192.168.1.= 1", dst=3D"192.168.1.2")/TCP(sport=3D27,dport=3D23)/Raw("x" * 80)],iface=3D= "ens786f0",count=3D1)=0D + sendp([Ether(dst=3D"00:11:22:33:44:55",type=3D0x8100)/Dot1Q(vlan=3D1,t= ype=3D0x8864)/PPPoE(sessionid=3D3)/PPP(proto=3D0x0021)/IP(src=3D"192.168.1.= 1", dst=3D"192.168.1.2")/TCP(sport=3D25,dport=3D19)/Raw("x" * 80)],iface=3D= "ens786f0",count=3D1)=0D +=0D +=0D +test case 57: MAC_VLAN_PPPOE_IPV4_TCP_PAY_non_src_dst_port=0D +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=0D +rules::=0D +=0D + flow validate 0 priority 0 ingress pattern eth / vlan tci is 1 / pppoe= s / ipv4 src is 192.168.1.1 dst is 192.168.1.2 / tcp / end actions vf id 1 = / end=0D + flow validate 0 priority 1 ingress pattern eth / vlan tci is 1 / pppoe= s / ipv4 src is 192.168.1.1 dst is 192.168.1.2 / tcp / end actions vf id 2 = / end=0D + flow create 0 priority 0 ingress pattern eth / vlan tci is 1 / pppoes = / ipv4 src is 192.168.1.1 dst is 192.168.1.2 / tcp / end actions vf id 1 / = end=0D + flow create 0 priority 1 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 2 / = end=0D +=0D +matched pkts::=0D +=0D + sendp([Ether(dst=3D"00:11:22:33:44:55",type=3D0x8100)/Dot1Q(vlan=3D1,t= ype=3D0x8864)/PPPoE(sessionid=3D3)/PPP(proto=3D0x0021)/IP(src=3D"192.168.1.= 1", dst=3D"192.168.1.2")/TCP(sport=3D25,dport=3D23)/Raw("x" * 80)],iface=3D= "ens786f0",count=3D1)=0D +=0D +mismatched pkts::=0D +=0D + sendp([Ether(dst=3D"00:11:22:33:44:55",type=3D0x8100)/Dot1Q(vlan=3D2,t= ype=3D0x8864)/PPPoE(sessionid=3D3)/PPP(proto=3D0x0021)/IP(src=3D"192.168.1.= 1", dst=3D"192.168.1.2")/TCP(sport=3D25,dport=3D23)/Raw("x" * 80)],iface=3D= "ens786f0",count=3D1)=0D + sendp([Ether(dst=3D"00:11:22:33:44:55",type=3D0x8100)/Dot1Q(vlan=3D1,t= ype=3D0x8864)/PPPoE(sessionid=3D3)/PPP(proto=3D0x0021)/IP(src=3D"192.168.1.= 3", dst=3D"192.168.1.2")/TCP(sport=3D25,dport=3D23)/Raw("x" * 80)],iface=3D= "ens786f0",count=3D1)=0D + sendp([Ether(dst=3D"00:11:22:33:44:55",type=3D0x8100)/Dot1Q(vlan=3D1,t= ype=3D0x8864)/PPPoE(sessionid=3D3)/PPP(proto=3D0x0021)/IP(src=3D"192.168.1.= 1", dst=3D"192.168.1.4")/TCP(sport=3D25,dport=3D23)/Raw("x" * 80)],iface=3D= "ens786f0",count=3D1)=0D + sendp([Ether(dst=3D"00:11:22:33:44:55",type=3D0x8100)/Dot1Q(vlan=3D1,t= ype=3D0x8864)/PPPoE(sessionid=3D3)/PPP(proto=3D0x0021)/IP(src=3D"192.168.1.= 1", dst=3D"192.168.1.2")/UDP(sport=3D25,dport=3D23)/Raw("x" * 80)],iface=3D= "ens786f0",count=3D1)=0D + sendp([Ether(dst=3D"00:11:22:33:44:55",type=3D0x8100)/Dot1Q(vlan=3D1,t= ype=3D0x8864)/PPPoE(sessionid=3D3)/PPP(proto=3D0x0021)/IP(src=3D"192.168.1.= 1", dst=3D"192.168.1.2")/Raw("x" * 80)],iface=3D"ens786f0",count=3D1)=0D +=0D +=0D +test case 58: MAC_VLAN_PPPOE_IPV6_PAY_IP_address=0D +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=0D +rules::=0D +=0D + flow validate 0 priority 0 ingress pattern eth / vlan tci is 1 / pppoe= s / ipv6 src is CDCD:910A:2222:5498:8475:1111:3900:1536 / end actions vf id= 1 / end=0D + flow validate 0 priority 1 ingress pattern eth / vlan tci is 1 / pppoe= s / ipv6 src is CDCD:910A:2222:5498:8475:1111:3900:1536 / end actions vf id= 2 / end=0D + flow create 0 priority 0 ingress pattern eth / vlan tci is 1 / pppoes = / ipv6 src is CDCD:910A:2222:5498:8475:1111:3900:1536 / end actions vf id 1= / end=0D + flow create 0 priority 1 ingress pattern eth / vlan tci is 1 / pppoes = / ipv6 src is CDCD:910A:2222:5498:8475:1111:3900:1536 / end actions vf id 2= / end=0D +=0D +matched pkts::=0D +=0D + sendp([Ether(dst=3D"00:11:22:33:44:55",type=3D0x8100)/Dot1Q(vlan=3D1,t= ype=3D0x8864)/PPPoE(sessionid=3D3)/PPP(proto=3D0x0057)/IPv6(src=3D"CDCD:910= A:2222:5498:8475:1111:3900:1536", dst=3D"CDCD:910A:2222:5498:8475:1111:3900= :2022")/Raw("x"*80)],iface=3D"ens786f0",count=3D1)=0D +=0D +mismatched pkts::=0D +=0D + sendp([Ether(dst=3D"00:11:22:33:44:55",type=3D0x8100)/Dot1Q(vlan=3D2,t= ype=3D0x8864)/PPPoE(sessionid=3D3)/PPP(proto=3D0x0057)/IPv6(src=3D"CDCD:910= A:2222:5498:8475:1111:3900:1536", dst=3D"CDCD:910A:2222:5498:8475:1111:3900= :2022")/Raw("x"*80)],iface=3D"ens786f0",count=3D1)=0D + sendp([Ether(dst=3D"00:11:22:33:44:55",type=3D0x8100)/Dot1Q(vlan=3D1,t= ype=3D0x8864)/PPPoE(sessionid=3D3)/PPP(proto=3D0x0057)/IPv6(src=3D"CDCD:910= A:2222:5498:8475:1111:3900:1537", dst=3D"CDCD:910A:2222:5498:8475:1111:3900= :2022")/Raw("x"*80)],iface=3D"ens786f0",count=3D1)=0D +=0D +=0D +test case 59: MAC_VLAN_PPPOE_IPV6_UDP_PAY=0D +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=0D +rules::=0D +=0D + flow validate 0 priority 0 ingress pattern eth / vlan tci is 1 / pppoe= s / ipv6 dst is CDCD:910A:2222:5498:8475:1111:3900:2022 / udp src is 25 dst= is 23 / end actions vf id 1 / end=0D + flow validate 0 priority 1 ingress pattern eth / vlan tci is 1 / pppoe= s / ipv6 dst is CDCD:910A:2222:5498:8475:1111:3900:2022 / udp src is 25 dst= is 23 / end actions vf id 2 / end=0D + flow create 0 priority 0 ingress pattern eth / vlan tci is 1 / pppoes = / ipv6 dst is CDCD:910A:2222:5498:8475:1111:3900:2022 / udp src is 25 dst i= s 23 / end actions vf id 1 / end=0D + flow create 0 priority 1 ingress pattern eth / vlan tci is 1 / pppoes = / ipv6 dst is CDCD:910A:2222:5498:8475:1111:3900:2022 / udp src is 25 dst i= s 23 / end actions vf id 2 / end=0D +=0D +matched pkts::=0D +=0D + sendp([Ether(src=3D"11:22:33:44:55:99",dst=3D"00:11:22:33:44:55",type= =3D0x8100)/Dot1Q(vlan=3D1,type=3D0x8864)/PPPoE(sessionid=3D3)/PPP(proto=3D0= x0057)/IPv6(src=3D"CDCD:910A:2222:5498:8475:1111:3900:1536", dst=3D"CDCD:91= 0A:2222:5498:8475:1111:3900:2022")/UDP(sport=3D25,dport=3D23)/Raw("x" * 80)= ],iface=3D"ens786f0",count=3D1)=0D +=0D +mismatched pkts::=0D +=0D + sendp([Ether(src=3D"11:22:33:44:55:99",dst=3D"00:11:22:33:44:55",type= =3D0x8100)/Dot1Q(vlan=3D2,type=3D0x8864)/PPPoE(sessionid=3D3)/PPP(proto=3D0= x0057)/IPv6(src=3D"CDCD:910A:2222:5498:8475:1111:3900:1536", dst=3D"CDCD:91= 0A:2222:5498:8475:1111:3900:2022")/UDP(sport=3D25,dport=3D23)/Raw("x" * 80)= ],iface=3D"ens786f0",count=3D1)=0D + sendp([Ether(src=3D"11:22:33:44:55:99",dst=3D"00:11:22:33:44:55",type= =3D0x8100)/Dot1Q(vlan=3D1,type=3D0x8864)/PPPoE(sessionid=3D3)/PPP(proto=3D0= x0057)/IPv6(src=3D"CDCD:910A:2222:5498:8475:1111:3900:1536", dst=3D"CDCD:91= 0A:2222:5498:8475:1111:3900:2023")/UDP(sport=3D25,dport=3D23)/Raw("x" * 80)= ],iface=3D"ens786f0",count=3D1)=0D + sendp([Ether(src=3D"11:22:33:44:55:99",dst=3D"00:11:22:33:44:55",type= =3D0x8100)/Dot1Q(vlan=3D1,type=3D0x8864)/PPPoE(sessionid=3D3)/PPP(proto=3D0= x0057)/IPv6(src=3D"CDCD:910A:2222:5498:8475:1111:3900:1536", dst=3D"CDCD:91= 0A:2222:5498:8475:1111:3900:2022")/UDP(sport=3D27,dport=3D23)/Raw("x" * 80)= ],iface=3D"ens786f0",count=3D1)=0D + sendp([Ether(src=3D"11:22:33:44:55:99",dst=3D"00:11:22:33:44:55",type= =3D0x8100)/Dot1Q(vlan=3D1,type=3D0x8864)/PPPoE(sessionid=3D3)/PPP(proto=3D0= x0057)/IPv6(src=3D"CDCD:910A:2222:5498:8475:1111:3900:1536", dst=3D"CDCD:91= 0A:2222:5498:8475:1111:3900:2022")/UDP(sport=3D25,dport=3D19)/Raw("x" * 80)= ],iface=3D"ens786f0",count=3D1)=0D +=0D +=0D +test case 60: MAC_VLAN_PPPOE_IPV6_UDP_PAY_non_src_dst_port=0D +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=0D +rules::=0D +=0D + flow validate 0 priority 0 ingress pattern eth / vlan tci is 1 / pppoe= s / ipv6 src is CDCD:910A:2222:5498:8475:1111:3900:1536 / udp / end actions= vf id 1 / end=0D + flow validate 0 priority 1 ingress pattern eth / vlan tci is 1 / pppoe= s / ipv6 src is CDCD:910A:2222:5498:8475:1111:3900:1536 / udp / end actions= vf id 2 / end=0D + flow create 0 priority 0 ingress pattern eth / vlan tci is 1 / pppoes = / ipv6 src is CDCD:910A:2222:5498:8475:1111:3900:1536 / udp / end actions v= f id 1 / end=0D + flow create 0 priority 1 ingress pattern eth / vlan tci is 1 / pppoes = / ipv6 src is CDCD:910A:2222:5498:8475:1111:3900:1536 / udp / end actions v= f id 2 / end=0D +=0D +matched pkts::=0D +=0D + sendp([Ether(src=3D"11:22:33:44:55:99",dst=3D"00:11:22:33:44:55",type= =3D0x8100)/Dot1Q(vlan=3D1,type=3D0x8864)/PPPoE(sessionid=3D3)/PPP(proto=3D0= x0057)/IPv6(src=3D"CDCD:910A:2222:5498:8475:1111:3900:1536", dst=3D"CDCD:91= 0A:2222:5498:8475:1111:3900:2022")/UDP(sport=3D25,dport=3D23)/Raw("x" * 80)= ],iface=3D"ens786f0",count=3D1)=0D +=0D +mismatched pkts::=0D +=0D + sendp([Ether(src=3D"11:22:33:44:55:99",dst=3D"00:11:22:33:44:55",type= =3D0x8100)/Dot1Q(vlan=3D2,type=3D0x8864)/PPPoE(sessionid=3D3)/PPP(proto=3D0= x0057)/IPv6(src=3D"CDCD:910A:2222:5498:8475:1111:3900:1536", dst=3D"CDCD:91= 0A:2222:5498:8475:1111:3900:2022")/UDP(sport=3D25,dport=3D23)/Raw("x" * 80)= ],iface=3D"ens786f0",count=3D1)=0D + sendp([Ether(src=3D"11:22:33:44:55:99",dst=3D"00:11:22:33:44:55",type= =3D0x8100)/Dot1Q(vlan=3D1,type=3D0x8864)/PPPoE(sessionid=3D3)/PPP(proto=3D0= x0057)/IPv6(src=3D"CDCD:910A:2222:5498:8475:1111:3900:1537", dst=3D"CDCD:91= 0A:2222:5498:8475:1111:3900:2022")/UDP(sport=3D25,dport=3D23)/Raw("x" * 80)= ],iface=3D"ens786f0",count=3D1)=0D + sendp([Ether(src=3D"11:22:33:44:55:99",dst=3D"00:11:22:33:44:55",type= =3D0x8100)/Dot1Q(vlan=3D1,type=3D0x8864)/PPPoE(sessionid=3D3)/PPP(proto=3D0= x0057)/IPv6(src=3D"CDCD:910A:2222:5498:8475:1111:3900:1536", dst=3D"CDCD:91= 0A:2222:5498:8475:1111:3900:2022")/TCP(sport=3D25,dport=3D23)/Raw("x" * 80)= ],iface=3D"ens786f0",count=3D1)=0D + sendp([Ether(src=3D"11:22:33:44:55:99",dst=3D"00:11:22:33:44:55",type= =3D0x8100)/Dot1Q(vlan=3D1,type=3D0x8864)/PPPoE(sessionid=3D3)/PPP(proto=3D0= x0057)/IPv6(src=3D"CDCD:910A:2222:5498:8475:1111:3900:1536", dst=3D"CDCD:91= 0A:2222:5498:8475:1111:3900:2022")/Raw("x" * 80)],iface=3D"ens786f0",count= =3D1)=0D +=0D +=0D +test case 61: MAC_VLAN_PPPOE_IPV6_TCP_PAY=0D +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=0D +rules::=0D +=0D + flow validate 0 priority 0 ingress pattern eth / vlan tci is 1 / pppoe= s / ipv6 dst is CDCD:910A:2222:5498:8475:1111:3900:2022 / tcp src is 25 dst= is 23 / end actions vf id 1 / end=0D + flow validate 0 priority 1 ingress pattern eth / vlan tci is 1 / pppoe= s / ipv6 dst is CDCD:910A:2222:5498:8475:1111:3900:2022 / tcp src is 25 dst= is 23 / end actions vf id 2 / end=0D + flow create 0 priority 0 ingress pattern eth / vlan tci is 1 / pppoes = / ipv6 dst is CDCD:910A:2222:5498:8475:1111:3900:2022 / tcp src is 25 dst i= s 23 / end actions vf id 1 / end=0D + flow create 0 priority 1 ingress pattern eth / vlan tci is 1 / pppoes = / ipv6 dst is CDCD:910A:2222:5498:8475:1111:3900:2022 / tcp src is 25 dst i= s 23 / end actions vf id 2 / end=0D +=0D +matched pkts::=0D +=0D + sendp([Ether(src=3D"11:22:33:44:55:99",dst=3D"00:11:22:33:44:55",type= =3D0x8100)/Dot1Q(vlan=3D1,type=3D0x8864)/PPPoE(sessionid=3D3)/PPP(proto=3D0= x0057)/IPv6(src=3D"CDCD:910A:2222:5498:8475:1111:3900:1536", dst=3D"CDCD:91= 0A:2222:5498:8475:1111:3900:2022")/TCP(sport=3D25,dport=3D23)/Raw("x" * 80)= ],iface=3D"ens786f0",count=3D1)=0D +=0D +mismatched pkts::=0D +=0D + sendp([Ether(src=3D"11:22:33:44:55:99",dst=3D"00:11:22:33:44:55",type= =3D0x8100)/Dot1Q(vlan=3D2,type=3D0x8864)/PPPoE(sessionid=3D3)/PPP(proto=3D0= x0057)/IPv6(src=3D"CDCD:910A:2222:5498:8475:1111:3900:1536", dst=3D"CDCD:91= 0A:2222:5498:8475:1111:3900:2022")/TCP(sport=3D25,dport=3D23)/Raw("x" * 80)= ],iface=3D"ens786f0",count=3D1)=0D + sendp([Ether(src=3D"11:22:33:44:55:99",dst=3D"00:11:22:33:44:55",type= =3D0x8100)/Dot1Q(vlan=3D1,type=3D0x8864)/PPPoE(sessionid=3D3)/PPP(proto=3D0= x0057)/IPv6(src=3D"CDCD:910A:2222:5498:8475:1111:3900:1536", dst=3D"CDCD:91= 0A:2222:5498:8475:1111:3900:2023")/TCP(sport=3D25,dport=3D23)/Raw("x" * 80)= ],iface=3D"ens786f0",count=3D1)=0D + sendp([Ether(src=3D"11:22:33:44:55:99",dst=3D"00:11:22:33:44:55",type= =3D0x8100)/Dot1Q(vlan=3D1,type=3D0x8864)/PPPoE(sessionid=3D3)/PPP(proto=3D0= x0057)/IPv6(src=3D"CDCD:910A:2222:5498:8475:1111:3900:1536", dst=3D"CDCD:91= 0A:2222:5498:8475:1111:3900:2022")/TCP(sport=3D27,dport=3D23)/Raw("x" * 80)= ],iface=3D"ens786f0",count=3D1)=0D + sendp([Ether(src=3D"11:22:33:44:55:99",dst=3D"00:11:22:33:44:55",type= =3D0x8100)/Dot1Q(vlan=3D1,type=3D0x8864)/PPPoE(sessionid=3D3)/PPP(proto=3D0= x0057)/IPv6(src=3D"CDCD:910A:2222:5498:8475:1111:3900:1536", dst=3D"CDCD:91= 0A:2222:5498:8475:1111:3900:2022")/TCP(sport=3D25,dport=3D19)/Raw("x" * 80)= ],iface=3D"ens786f0",count=3D1)=0D +=0D +=0D +test case 62: MAC_VLAN_PPPOE_IPV6_TCP_PAY_non_src_dst_port=0D +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=0D +rules::=0D +=0D + flow validate 0 priority 0 ingress pattern eth / vlan tci is 1 / pppoe= s / ipv6 src is CDCD:910A:2222:5498:8475:1111:3900:1536 / tcp / end actions= vf id 1 / end=0D + flow validate 0 priority 1 ingress pattern eth / vlan tci is 1 / pppoe= s / ipv6 src is CDCD:910A:2222:5498:8475:1111:3900:1536 / tcp / end actions= vf id 2 / end=0D + flow create 0 priority 0 ingress pattern eth / vlan tci is 1 / pppoes = / ipv6 src is CDCD:910A:2222:5498:8475:1111:3900:1536 / tcp / end actions v= f id 1 / end=0D + flow create 0 priority 1 ingress pattern eth / vlan tci is 1 / pppoes = / ipv6 src is CDCD:910A:2222:5498:8475:1111:3900:1536 / tcp / end actions v= f id 2 / end=0D +=0D +matched pkts::=0D +=0D + sendp([Ether(src=3D"11:22:33:44:55:99",dst=3D"00:11:22:33:44:55",type= =3D0x8100)/Dot1Q(vlan=3D1,type=3D0x8864)/PPPoE(sessionid=3D3)/PPP(proto=3D0= x0057)/IPv6(src=3D"CDCD:910A:2222:5498:8475:1111:3900:1536", dst=3D"CDCD:91= 0A:2222:5498:8475:1111:3900:2022")/TCP(sport=3D25,dport=3D23)/Raw("x" * 80)= ],iface=3D"ens786f0",count=3D1)=0D +=0D +mismatched pkts::=0D +=0D + sendp([Ether(src=3D"11:22:33:44:55:99",dst=3D"00:11:22:33:44:55",type= =3D0x8100)/Dot1Q(vlan=3D2,type=3D0x8864)/PPPoE(sessionid=3D3)/PPP(proto=3D0= x0057)/IPv6(src=3D"CDCD:910A:2222:5498:8475:1111:3900:1536", dst=3D"CDCD:91= 0A:2222:5498:8475:1111:3900:2022")/TCP(sport=3D25,dport=3D23)/Raw("x" * 80)= ],iface=3D"ens786f0",count=3D1)=0D + sendp([Ether(src=3D"11:22:33:44:55:99",dst=3D"00:11:22:33:44:55",type= =3D0x8100)/Dot1Q(vlan=3D1,type=3D0x8864)/PPPoE(sessionid=3D3)/PPP(proto=3D0= x0057)/IPv6(src=3D"CDCD:910A:2222:5498:8475:1111:3900:1537", dst=3D"CDCD:91= 0A:2222:5498:8475:1111:3900:2022")/TCP(sport=3D25,dport=3D23)/Raw("x" * 80)= ],iface=3D"ens786f0",count=3D1)=0D + sendp([Ether(src=3D"11:22:33:44:55:99",dst=3D"00:11:22:33:44:55",type= =3D0x8100)/Dot1Q(vlan=3D1,type=3D0x8864)/PPPoE(sessionid=3D3)/PPP(proto=3D0= x0057)/IPv6(src=3D"CDCD:910A:2222:5498:8475:1111:3900:1536", dst=3D"CDCD:91= 0A:2222:5498:8475:1111:3900:2022")/UDP(sport=3D25,dport=3D23)/Raw("x" * 80)= ],iface=3D"ens786f0",count=3D1)=0D + sendp([Ether(src=3D"11:22:33:44:55:99",dst=3D"00:11:22:33:44:55",type= =3D0x8100)/Dot1Q(vlan=3D1,type=3D0x8864)/PPPoE(sessionid=3D3)/PPP(proto=3D0= x0057)/IPv6(src=3D"CDCD:910A:2222:5498:8475:1111:3900:1536", dst=3D"CDCD:91= 0A:2222:5498:8475:1111:3900:2022")/Raw("x" * 80)],iface=3D"ens786f0",count= =3D1)=0D +=0D +=0D +test case 63: MAC_PPPOE_LCP_PAY=0D +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=0D +rules::=0D +=0D + flow validate 0 priority 0 ingress pattern eth dst is 00:11:22:33:44:5= 5 / pppoes seid is 3 / pppoe_proto_id is 0xc021 / end actions vf id 1 / end= =0D + flow validate 0 priority 1 ingress pattern eth dst is 00:11:22:33:44:5= 5 / pppoes seid is 3 / pppoe_proto_id is 0xc021 / end actions vf id 2 / end= =0D + flow create 0 priority 0 ingress pattern eth dst is 00:11:22:33:44:55 = / pppoes seid is 3 / pppoe_proto_id is 0xc021 / end actions vf id 1 / end=0D + flow create 0 priority 1 ingress pattern eth dst is 00:11:22:33:44:55 = / pppoes seid is 3 / pppoe_proto_id is 0xc021 / end actions vf id 2 / end=0D +=0D +matched pkts::=0D +=0D + sendp([Ether(src=3D"11:22:33:44:55:99",dst=3D"00:11:22:33:44:55",type= =3D0x8864)/PPPoE(sessionid=3D3)/PPP(proto=3D0xc021)/PPP_LCP()/Raw("x" * 80)= ],iface=3D"ens786f0",count=3D1)=0D +=0D +mismatched pkts::=0D +=0D + sendp([Ether(src=3D"11:22:33:44:55:99",dst=3D"00:11:22:33:44:53",type= =3D0x8864)/PPPoE(sessionid=3D3)/PPP(proto=3D0xc021)/PPP_LCP()/Raw("x" * 80)= ],iface=3D"ens786f0",count=3D1)=0D + sendp([Ether(src=3D"11:22:33:44:55:99",dst=3D"00:11:22:33:44:55",type= =3D0x8864)/PPPoE(sessionid=3D4)/PPP(proto=3D0xc021)/PPP_LCP()/Raw("x" * 80)= ],iface=3D"ens786f0",count=3D1)=0D + sendp([Ether(src=3D"11:22:33:44:55:99",dst=3D"00:11:22:33:44:55",type= =3D0x8864)/PPPoE(sessionid=3D3)/PPP(proto=3D0x0021)/IP()/Raw("x" * 80)],ifa= ce=3D"ens786f0",count=3D1)=0D +=0D +=0D +test case 64: MAC_PPPOE_IPCP_PAY=0D +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=0D +rules::=0D +=0D + flow validate 0 priority 0 ingress pattern eth dst is 00:11:22:33:44:5= 5 / pppoes seid is 3 / pppoe_proto_id is 0x8021 / end actions vf id 1 / end= =0D + flow validate 0 priority 1 ingress pattern eth dst is 00:11:22:33:44:5= 5 / pppoes seid is 3 / pppoe_proto_id is 0x8021 / end actions vf id 2 / end= =0D + flow create 0 priority 0 ingress pattern eth dst is 00:11:22:33:44:55 = / pppoes seid is 3 / pppoe_proto_id is 0x8021 / end actions vf id 1 / end=0D + flow create 0 priority 1 ingress pattern eth dst is 00:11:22:33:44:55 = / pppoes seid is 3 / pppoe_proto_id is 0x8021 / end actions vf id 2 / end=0D +=0D +matched pkts::=0D +=0D + sendp([Ether(src=3D"11:22:33:44:55:99",dst=3D"00:11:22:33:44:55",type= =3D0x8864)/PPPoE(sessionid=3D3)/PPP(proto=3D0x8021)/PPP_IPCP()/Raw("x" * 80= )],iface=3D"ens786f0",count=3D1)=0D +=0D +mismatched pkts::=0D +=0D + sendp([Ether(src=3D"11:22:33:44:55:99",dst=3D"00:11:22:33:44:53",type= =3D0x8864)/PPPoE(sessionid=3D3)/PPP(proto=3D0x8021)/PPP_IPCP()/Raw("x" * 80= )],iface=3D"ens786f0",count=3D1)=0D + sendp([Ether(src=3D"11:22:33:44:55:99",dst=3D"00:11:22:33:44:55",type= =3D0x8864)/PPPoE(sessionid=3D4)/PPP(proto=3D0x8021)/PPP_IPCP()/Raw("x" * 80= )],iface=3D"ens786f0",count=3D1)=0D + sendp([Ether(src=3D"11:22:33:44:55:99",dst=3D"00:11:22:33:44:55",type= =3D0x8864)/PPPoE(sessionid=3D3)/PPP(proto=3D0x0021)/IP()/Raw("x" * 80)],ifa= ce=3D"ens786f0",count=3D1)=0D +=0D +=0D +test case 65: MAC_VLAN_PPPOE_LCP_PAY=0D +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=0D +rules::=0D +=0D + flow validate 0 priority 0 ingress pattern eth dst is 00:11:22:33:44:5= 5 / vlan tci is 1 / pppoes seid is 3 / pppoe_proto_id is 0xc021 / end actio= ns vf id 1 / end=0D + flow validate 0 priority 1 ingress pattern eth dst is 00:11:22:33:44:5= 5 / vlan tci is 1 / pppoes seid is 3 / pppoe_proto_id is 0xc021 / end actio= ns vf id 2 / end=0D + flow create 0 priority 0 ingress pattern eth dst is 00:11:22:33:44:55 = / vlan tci is 1 / pppoes seid is 3 / pppoe_proto_id is 0xc021 / end actions= vf id 1 / end=0D + flow create 0 priority 1 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 2 / end=0D +=0D +matched pkts::=0D +=0D + sendp([Ether(src=3D"11:22:33:44:55:99",dst=3D"00:11:22:33:44:55",type= =3D0x8100)/Dot1Q(vlan=3D1,type=3D0x8864)/PPPoE(sessionid=3D3)/PPP(proto=3D0= xc021)/PPP_LCP()/Raw("x" * 80)],iface=3D"ens786f0",count=3D1)=0D +=0D +mismatched pkts::=0D +=0D + sendp([Ether(src=3D"11:22:33:44:55:99",dst=3D"00:11:22:33:44:53",type= =3D0x8100)/Dot1Q(vlan=3D1,type=3D0x8864)/PPPoE(sessionid=3D3)/PPP(proto=3D0= xc021)/PPP_LCP()/Raw("x" * 80)],iface=3D"ens786f0",count=3D1)=0D + sendp([Ether(src=3D"11:22:33:44:55:99",dst=3D"00:11:22:33:44:55",type= =3D0x8100)/Dot1Q(vlan=3D2,type=3D0x8864)/PPPoE(sessionid=3D3)/PPP(proto=3D0= xc021)/PPP_LCP()/Raw("x" * 80)],iface=3D"ens786f0",count=3D1)=0D + sendp([Ether(src=3D"11:22:33:44:55:99",dst=3D"00:11:22:33:44:55",type= =3D0x8100)/Dot1Q(vlan=3D1,type=3D0x8864)/PPPoE(sessionid=3D4)/PPP(proto=3D0= xc021)/PPP_LCP()/Raw("x" * 80)],iface=3D"ens786f0",count=3D1)=0D + sendp([Ether(src=3D"11:22:33:44:55:99",dst=3D"00:11:22:33:44:55",type= =3D0x8100)/Dot1Q(vlan=3D1,type=3D0x8864)/PPPoE(sessionid=3D3)/PPP(proto=3D0= x0021)/IP()/Raw("x" * 80)],iface=3D"ens786f0",count=3D1)=0D +=0D +=0D +test case 66: MAC_VLAN_PPPOE_IPCP_PAY=0D +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=0D +rules::=0D +=0D + flow validate 0 priority 0 ingress pattern eth dst is 00:11:22:33:44:5= 5 / vlan tci is 1 / pppoes seid is 3 / pppoe_proto_id is 0x8021 / end actio= ns vf id 1 / end=0D + flow validate 0 priority 1 ingress pattern eth dst is 00:11:22:33:44:5= 5 / vlan tci is 1 / pppoes seid is 3 / pppoe_proto_id is 0x8021 / end actio= ns vf id 2 / end=0D + flow create 0 priority 0 ingress pattern eth dst is 00:11:22:33:44:55 = / vlan tci is 1 / pppoes seid is 3 / pppoe_proto_id is 0x8021 / end actions= vf id 1 / end=0D + flow create 0 priority 1 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 2 / end=0D +=0D +matched pkts::=0D +=0D + sendp([Ether(src=3D"11:22:33:44:55:99",dst=3D"00:11:22:33:44:55",type= =3D0x8100)/Dot1Q(vlan=3D1,type=3D0x8864)/PPPoE(sessionid=3D3)/PPP(proto=3D0= x8021)/PPP_IPCP()/Raw("x" * 80)],iface=3D"ens786f0",count=3D1)=0D +=0D +mismatched pkts::=0D +=0D + sendp([Ether(src=3D"11:22:33:44:55:99",dst=3D"00:11:22:33:44:53",type= =3D0x8100)/Dot1Q(vlan=3D1,type=3D0x8864)/PPPoE(sessionid=3D3)/PPP(proto=3D0= x8021)/PPP_IPCP()/Raw("x" * 80)],iface=3D"ens786f0",count=3D1)=0D + sendp([Ether(src=3D"11:22:33:44:55:99",dst=3D"00:11:22:33:44:55",type= =3D0x8100)/Dot1Q(vlan=3D2,type=3D0x8864)/PPPoE(sessionid=3D3)/PPP(proto=3D0= x8021)/PPP_IPCP()/Raw("x" * 80)],iface=3D"ens786f0",count=3D1)=0D + sendp([Ether(src=3D"11:22:33:44:55:99",dst=3D"00:11:22:33:44:55",type= =3D0x8100)/Dot1Q(vlan=3D1,type=3D0x8864)/PPPoE(sessionid=3D4)/PPP(proto=3D0= x8021)/PPP_IPCP()/Raw("x" * 80)],iface=3D"ens786f0",count=3D1)=0D + sendp([Ether(src=3D"11:22:33:44:55:99",dst=3D"00:11:22:33:44:55",type= =3D0x8100)/Dot1Q(vlan=3D1,type=3D0x8864)/PPPoE(sessionid=3D3)/PPP(proto=3D0= x0021)/IP()/Raw("x" * 80)],iface=3D"ens786f0",count=3D1)=0D +=0D +=0D +test case: negative test cases=0D +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=0D +=0D +1. create rules, check all these rules can not be created::=0D +=0D + 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=0D + 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=0D + 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=0D +=0D +=0D +test case: exclusive test cases=0D +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=0D +subcase 1: same pattern/input set/action different priority=0D +-----------------------------------------------------------=0D +1. create same pattern, input set and action but different priority, check= these two rules can be created::=0D +=0D + 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=0D + 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=0D +=0D +2. send matched pkts and check vf2 receive this pkt::=0D +=0D + sendp([Ether(dst=3D"68:05:ca:8d:ed:a8")/IP(src=3D"192.168.0.1",dst=3D"= 192.168.0.2",tos=3D4,ttl=3D2)/TCP()/("X"*480)], iface=3D"ens786f0", count= =3D1)=0D +=0D +3. destroy rules::=0D +=0D + flow flush 0=0D +=0D +subcase 2: same pattern/input set/priority different action=0D +-----------------------------------------------------------=0D +1. create same pattern, input set and priority but different action, check= these two rules can be created::=0D +=0D + 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=0D + 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=0D +=0D +2. send matched pkts and check both vf1 and vf2 receive this pkt::=0D +=0D + sendp([Ether(dst=3D"68:05:ca:8d:ed:a8")/IP(src=3D"192.168.0.1",dst=3D"= 192.168.0.2",tos=3D4,ttl=3D2)/TCP()/("X"*480)], iface=3D"ens786f0", count= =3D1)=0D +=0D +3. destroy rules and repeat step 4, check the pkt cannot receive by any vf= ::=0D +=0D + flow flush 0=0D +=0D +subcase 3: some rules overlap=0D +-----------------------------=0D +1. create rules::=0D +=0D + flow create 0 priority 0 ingress pattern eth / vlan / vlan / pppoes / = pppoe_proto_id is 0x21 / end actions vf id 1 / end=0D + flow create 0 priority 0 ingress pattern eth / vlan / vlan tci is 2 / = end actions vf id 1 / end=0D + flow create 0 priority 1 ingress pattern eth / vlan / vlan / pppoes se= id is 1 / ipv4 / end actions vf id 2 / end=0D + flow create 0 priority 1 ingress pattern eth dst is 00:00:00:01:03:03 = / vlan / vlan / end actions vf id 2 / end=0D + flow create 0 priority 1 ingress pattern eth dst is 00:00:00:01:03:03 = / end actions vf id 3 / end=0D + flow create 0 priority 1 ingress pattern eth / vlan tci is 1 / vlan tc= i is 2 / end actions vf id 3 / end=0D +=0D +2. check all the rules exist in the list::=0D +=0D + flow list 0=0D +=0D +3. send pkt which match rule 1, rule 3, rule 4 and rule 5, check the pkts = can be received by vf 2 and 3 for high priority::=0D +=0D + sendp([Ether(dst=3D"00:00:00:01:03:03")/Dot1Q(vlan=3D1)/Dot1Q(vlan=3D2= )/Raw("x"*480)], iface=3D"ens786f0", count=3D1)=0D +=0D +4. destroy rule 5, repeat step 3 and check the pkts can be received by vf = 2 and 3 for high priority::=0D +=0D + flow destroy 0 rule 5=0D +=0D +5. destroy rule 4, repeat step 3 and check the pkts can be received by vf = 2 for high priority::=0D +=0D + flow destroy 0 rule 4=0D +=0D +6. destroy rule 3, repeat step 3 and check the pkts can be received by vf = 1::=0D +=0D + flow destroy 0 rule 3=0D +=0D +7. destroy rule 1, repeat step 3 and check the pkts can not be received::= =0D +=0D + flow destroy 0 rule 1=0D +=0D +8. send pkt which match rule 0 and rule 2, check the pkts can received by = vf 2 for high priority::=0D +=0D + sendp([Ether(dst=3D"00:11:22:33:44:55",type=3D0x8100)/Dot1Q(vlan=3D1,t= ype=3D0x8100)/Dot1Q(vlan=3D0x2,type=3D0x8864)/PPPoE(sessionid=3D0x1)/PPP(pr= oto=3D0x21)/IP()/UDP(dport=3D23)/("X"*480)], iface=3D"ens786f0")=0D + =0D +9. destroy rule 2, repeat step 8 and check the pkts can be received by vf = 1::=0D +=0D + flow destroy 0 rule 2=0D +=0D +10. destroy rule 0, repeat step 8 and check the pkts can not be received::= =0D +=0D + flow destroy 0 rule 0=0D --=20 2.25.1