test suite reviews and discussions
 help / color / mirror / Atom feed
* [dts] [PATCH V1] tests/cvl_dcf_switch_filter: add drop action test case
@ 2020-12-11  2:33 ChenBo
  2020-12-11  2:38 ` Chen, BoX C
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: ChenBo @ 2020-12-11  2:33 UTC (permalink / raw)
  To: dts; +Cc: ChenBo

Add test cases to test the drop action function of DCF.

Signed-off-by: ChenBo <box.c.chen@intel.com>
---
 tests/TestSuite_cvl_dcf_switch_filter.py | 176 +++++++++++++++++++++++
 1 file changed, 176 insertions(+)

diff --git a/tests/TestSuite_cvl_dcf_switch_filter.py b/tests/TestSuite_cvl_dcf_switch_filter.py
index a65b73a3..be2e6cd6 100644
--- a/tests/TestSuite_cvl_dcf_switch_filter.py
+++ b/tests/TestSuite_cvl_dcf_switch_filter.py
@@ -1216,6 +1216,156 @@ tv_mac_vlan_pppoe_ipcp_pay = {
                   "expect_results":{"expect_pkts":0}}
 }
 
+tv_mac_ipv4_drop = {
+    "name": "tv_mac_ipv4_drop",
+    "rte_flow_pattern": "flow create 0 priority 0 ingress pattern eth / ipv4 src is 192.168.0.1 / end actions drop / end",
+    "matched": {"scapy_str": ['Ether(dst="00:11:22:33:44:55")/IP(src="192.168.0.1")/Raw("x"*80)'],
+               "check_func": {"func": rfc.check_vf_rx_packets_number,
+                             "param": {"expect_port": 1, "expect_queues": "null"}},
+               "expect_results": {"expect_pkts": 0}},
+    "mismatched": {"scapy_str": ['Ether(dst="00:11:22:33:44:55")/IP(src="192.168.0.2")/Raw("x"*80)'],
+                "check_func": {"func": rfc.check_vf_rx_packets_number,
+                             "param": {"expect_port": 1, "expect_queues": "null"}},
+               "expect_results": {"expect_pkts": 1}}
+}
+
+tv_mac_ipv4_mask_drop = {
+    "name": "tv_mac_ipv4_drop",
+    "rte_flow_pattern": "flow create 0 ingress pattern eth / ipv4 dst spec 224.0.0.0 dst mask 240.0.0.0 / end actions drop / end",
+    "matched": {"scapy_str": ['Ether(dst="00:11:22:33:44:55")/IP(dst="239.0.0.0")/TCP()/Raw("x"*80)'],
+               "check_func": {"func": rfc.check_vf_rx_packets_number,
+                             "param": {"expect_port": 1, "expect_queues": "null"}},
+               "expect_results": {"expect_pkts": 0}},
+    "mismatched": {"scapy_str": ['Ether(dst="00:11:22:33:44:55")/IP(dst="128.0.0.0")/TCP()/Raw("x"*80)'],
+                "check_func": {"func": rfc.check_vf_rx_packets_number,
+                             "param": {"expect_port": 1, "expect_queues": "null"}},
+               "expect_results": {"expect_pkts": 1}}
+}
+
+tv_mac_nvgre_drop = {
+    "name": "tv_mac_nvgre_drop",
+    "rte_flow_pattern": "flow create 0 ingress pattern eth / ipv4 dst is 192.168.0.1 / nvgre tni is 2 / eth / ipv4 src is 192.168.1.2 dst is 192.168.1.3 / end actions drop / end",
+    "matched": {"scapy_str": ['Ether(dst="00:11:22:33:44:55")/IP(dst="192.168.0.1")/NVGRE(TNI=2)/Ether()/IP(src="192.168.1.2", dst="192.168.1.3")/Raw("x"*80)'],
+               "check_func": {"func": rfc.check_vf_rx_packets_number,
+                             "param": {"expect_port": 1, "expect_queues": "null"}},
+               "expect_results": {"expect_pkts": 0}},
+    "mismatched": {"scapy_str": ['Ether(dst="00:11:22:33:44:55")/IP(dst="192.168.0.1")/NVGRE(TNI=1)/Ether()/IP(src="192.168.1.2", dst="192.168.1.3")/Raw("x"*80)'],
+                "check_func": {"func": rfc.check_vf_rx_packets_number,
+                             "param": {"expect_port": 1, "expect_queues": "null"}},
+               "expect_results": {"expect_pkts": 1}}
+}
+
+tv_mac_ppoes_drop = {
+    "name": "tv_mac_ppoes_drop",
+    "rte_flow_pattern": "flow create 0 ingress pattern eth dst is 00:11:22:33:44:55 / vlan tci is 1 / pppoes seid is 3 / pppoe_proto_id is 0x0021 / end actions drop / end",
+    "matched": {"scapy_str": ['Ether(dst="00:11:22:33:44:55",type=0x8100)/Dot1Q(vlan=1,type=0x8864)/PPPoE(sessionid=3)/PPP(b"\\x00\\x21")/IP()/Raw("x" * 80)'],
+               "check_func": {"func": rfc.check_vf_rx_packets_number,
+                             "param": {"expect_port": 1, "expect_queues": "null"}},
+               "expect_results": {"expect_pkts": 0}},
+    "mismatched": {"scapy_str": ['Ether(dst="00:11:22:33:44:55",type=0x8100)/Dot1Q(vlan=1,type=0x8864)/PPPoE(sessionid=2)/PPP(b"\\x00\\x21")/IP()/Raw("x" * 80)'],
+               "check_func": {"func": rfc.check_vf_rx_packets_number,
+                             "param": {"expect_port": 1, "expect_queues": "null"}},
+               "expect_results": {"expect_pkts": 1}}
+}
+
+tv_mac_pfcp_drop = {
+    "name": "tv_mac_pfcp_drop",
+    "rte_flow_pattern": "flow create 0 ingress pattern eth / ipv4 / udp / pfcp s_field is 0 / end actions drop / end",
+    "matched": {"scapy_str": ['Ether(dst="00:11:22:33:44:55")/IP()/UDP(dport=8805)/PFCP(S=0)'],
+               "check_func": {"func": rfc.check_vf_rx_packets_number,
+                             "param": {"expect_port": 1, "expect_queues": "null"}},
+               "expect_results": {"expect_pkts": 0}},
+    "mismatched": {"scapy_str": ['Ether(dst="00:11:22:33:44:55")/IP()/UDP(dport=8805)/PFCP(S=1)'],
+               "check_func": {"func": rfc.check_vf_rx_packets_number,
+                             "param": {"expect_port": 1, "expect_queues": "null"}},
+               "expect_results": {"expect_pkts": 1}}
+}
+
+tv_mac_vlan_drop = {
+    "name": "tv_mac_vlan_drop",
+    "rte_flow_pattern": "flow create 0 ingress pattern eth dst is 00:11:22:33:44:55 / vlan tci is 1 / end actions drop / end",
+    "matched": {"scapy_str": ['Ether(dst="00:11:22:33:44:55",type=0x8100)/Dot1Q(vlan=1)/IP(src="192.168.0.1",dst="192.168.0.2",tos=4,ttl=2)/TCP()/Raw("X"*80)'],
+               "check_func": {"func": rfc.check_vf_rx_packets_number,
+                             "param": {"expect_port": 1, "expect_queues": "null"}},
+               "expect_results": {"expect_pkts": 0}},
+    "mismatched": {"scapy_str": ['Ether(dst="00:11:22:33:44:55",type=0x8100)/Dot1Q(vlan=2)/IP(src="192.168.0.1",dst="192.168.0.2",tos=4,ttl=2)/TCP()/Raw("X"*80)'],
+               "check_func": {"func": rfc.check_vf_rx_packets_number,
+                             "param": {"expect_port": 1, "expect_queues": "null"}},
+               "expect_results": {"expect_pkts": 1}}
+}
+
+tv_mac_l2tp_drop = {
+    "name": "tv_mac_l2tp_drop",
+    "rte_flow_pattern": "flow create 0 priority 0 ingress pattern eth / ipv4 src is 192.168.0.2 / l2tpv3oip session_id is 1 / end actions drop / end",
+    "matched": {"scapy_str": ["Ether(dst='00:11:22:33:44:55')/IP(src='192.168.0.2', proto=115)/L2TP(b'\\x00\\x00\\x00\\x01')/('X'*480)"],
+               "check_func": {"func": rfc.check_vf_rx_packets_number,
+                             "param": {"expect_port": 1, "expect_queues": "null"}},
+               "expect_results": {"expect_pkts": 0}},
+    "mismatched": {"scapy_str": ["Ether(dst='00:11:22:33:44:55')/IP(src='192.168.0.2', proto=115)/L2TP(b'\\x00\\x00\\x00\\x02')/('X'*480)"],
+               "check_func": {"func": rfc.check_vf_rx_packets_number,
+                             "param": {"expect_port": 1, "expect_queues": "null"}},
+               "expect_results": {"expect_pkts": 1}}
+}
+
+tv_mac_esp_drop = {
+    "name": "tv_mac_l2tp_drop",
+    "rte_flow_pattern": "flow create 0 priority 0 ingress pattern eth / ipv4 src is 192.168.0.2 / esp spi is 1 / end actions drop / end",
+    "matched": {"scapy_str": ['Ether(dst="00:11:22:33:44:55")/IP(src="192.168.0.2", proto=50)/ESP(spi=1)/("X"*480)'],
+               "check_func": {"func": rfc.check_vf_rx_packets_number,
+                             "param": {"expect_port": 1, "expect_queues": "null"}},
+               "expect_results": {"expect_pkts": 0}},
+    "mismatched": {"scapy_str": ['Ether(dst="00:11:22:33:44:55")/IP(src="192.168.0.2", proto=50)/ESP(spi=2)/("X"*480)'],
+               "check_func": {"func": rfc.check_vf_rx_packets_number,
+                             "param": {"expect_port": 1, "expect_queues": "null"}},
+               "expect_results": {"expect_pkts": 1}}
+}
+
+tv_mac_blend_pkg_drop = {
+    "name": "tv_mac_blend_pkg_drop",
+    "rte_flow_pattern": ["flow create 0 priority 0 ingress pattern eth / ipv4 src is 192.168.0.1 / end actions drop / end",
+                         "flow create 0 ingress pattern eth / ipv4 dst spec 224.0.0.0 dst mask 240.0.0.0 / end actions drop / end",
+                         "flow create 0 ingress pattern eth / ipv4 dst is 192.168.0.3 / nvgre tni is 2 / eth / ipv4 src is 192.168.1.2 dst is 192.168.1.3 / end actions drop / end",
+                         "flow create 0 ingress pattern eth dst is 00:11:22:33:44:55 / vlan tci is 1 / pppoes seid is 3 / pppoe_proto_id is 0x0021 / end actions drop / end",
+                         "flow create 0 ingress pattern eth / ipv4 / udp / pfcp s_field is 0 / end actions drop / end",
+                         "flow create 0 ingress pattern eth dst is 00:11:22:33:44:55 / vlan tci is 1 / end actions drop / end",
+                         "flow create 0 priority 0 ingress pattern eth / ipv4 src is 192.168.0.4 / l2tpv3oip session_id is 1 / end actions drop / end",
+                         "flow create 0 priority 0 ingress pattern eth / ipv4 src is 192.168.0.5 / esp spi is 1 / end actions drop / end"],
+    "matched": {"scapy_str": ['Ether(dst="00:11:22:33:44:55")/IP(src="192.168.0.1")/Raw("x"*80)',
+                              'Ether(dst="00:11:22:33:44:55")/IP(dst="239.0.0.0")/TCP()/Raw("x"*80)',
+                              'Ether(dst="00:11:22:33:44:55")/IP(dst="192.168.0.3")/NVGRE(TNI=2)/Ether()/IP(src="192.168.1.2", dst="192.168.1.3")/Raw("x"*80)',
+                              'Ether(dst="00:11:22:33:44:55",type=0x8100)/Dot1Q(vlan=1,type=0x8864)/PPPoE(sessionid=3)/PPP(b"\\x00\\x21")/IP()/Raw("X" * 80)',
+                              'Ether(dst="00:11:22:33:44:55")/IP()/UDP(dport=8805)/PFCP(S=0)',
+                              'Ether(dst="00:11:22:33:44:55",type=0x8100)/Dot1Q(vlan=1)/IP(src="192.168.0.1",dst="192.168.0.2",tos=4,ttl=2)/TCP()/Raw("X"*80)',
+                              'Ether(dst="00:11:22:33:44:55")/IP(src="192.168.0.4", proto=115)/L2TP(b"\\x00\\x00\\x00\\x01")/("X"*480)',
+                              'Ether(dst="00:11:22:33:44:55")/IP(src="192.168.0.5", proto=50)/ESP(spi=1)/("X"*80)'],
+               "check_func": {"func": rfc.check_vf_rx_packets_number,
+                             "param": {"expect_port": 1, "expect_queues": "null"}},
+               "expect_results": {"expect_pkts": 0}},
+    "mismatched": {"scapy_str": ['Ether(dst="00:11:22:33:44:55")/IP(src="192.168.0.6")/Raw("x"*80)',
+                                 'Ether(dst="00:11:22:33:44:55")/IP(dst="128.0.0.0")/TCP()/Raw("x"*80)',
+                                 'Ether(dst="00:11:22:33:44:55")/IP(dst="192.168.0.8")/NVGRE(TNI=1)/Ether()/IP(src="192.168.1.2", dst="192.168.1.3")/Raw("x"*80)',
+                                 'Ether(dst="00:11:22:33:44:55",type=0x8100)/Dot1Q(vlan=1,type=0x8864)/PPPoE(sessionid=2)/PPP(b"\\x00\\x21")/IP()/Raw("x" * 80)',
+                                 'Ether(dst="00:11:22:33:44:55")/IP()/UDP(dport=8805)/PFCP(S=1)',
+                                 'Ether(dst="00:11:22:33:44:55",type=0x8100)/Dot1Q(vlan=2)/IP(src="192.168.0.9",dst="192.168.0.2",tos=4,ttl=2)/TCP()/Raw("X"*80)',
+                                 'Ether(dst="00:11:22:33:44:55")/IP(src="192.168.0.10", proto=115)/L2TP(b"\\x00\\x00\\x00\\x02")/("X"*480)',
+                                 'Ether(dst="00:11:22:33:44:55")/IP(src="192.168.0.11", proto=50)/ESP(spi=2)/("X"*80)'],
+               "check_func": {"func": rfc.check_vf_rx_packets_number,
+                             "param": {"expect_port": 1, "expect_queues": "null"}},
+               "expect_results": {"expect_pkts": 8}}
+}
+
+sv_mac_test_drop_action = [
+    tv_mac_ipv4_drop,
+    tv_mac_ipv4_mask_drop,
+    tv_mac_nvgre_drop,
+    tv_mac_ppoes_drop,
+    tv_mac_pfcp_drop,
+    tv_mac_vlan_drop,
+    tv_mac_l2tp_drop,
+    tv_mac_esp_drop,
+    tv_mac_blend_pkg_drop
+]
+
 class CVLDCFSwitchFilterTest(TestCase):
 
     def bind_nics_driver(self, ports, driver=""):
@@ -2175,6 +2325,32 @@ class CVLDCFSwitchFilterTest(TestCase):
         self.setup_1pf_vfs_env()
         self._rte_flow_validate_pattern(tv_mac_vlan_pppoe_ipcp_pay)
 
+    def test_mac_drop_action(self):
+        self.setup_1pf_vfs_env()
+        self.dut.send_expect('ip link set %s vf 1 mac "00:11:22:33:44:55"' % self.pf0_intf, '# ')
+        self.launch_testpmd()
+        for pattern in sv_mac_test_drop_action:
+            # validate a rule
+            self.validate_switch_filter_rule(pattern["rte_flow_pattern"])
+            # create a rule
+            rule_list = self.create_switch_filter_rule(pattern["rte_flow_pattern"])  # create a rule
+            self.check_switch_filter_rule_list(0, rule_list)
+            # send matched packets and check
+            matched_dic = pattern["matched"]
+            self.send_and_check_packets(matched_dic)
+            # send mismatched packets and check
+            mismatched_dic = pattern["mismatched"]
+            self.send_and_check_packets(mismatched_dic)
+            # destroy rule and send matched packets
+            self.destroy_switch_filter_rule(0, rule_list)
+            self.check_switch_filter_rule_list(0, [])
+            # send matched packets and check
+            destroy_dict = copy.deepcopy(matched_dic)
+            destroy_dict["expect_results"]["expect_pkts"] = len(pattern["matched"]["scapy_str"])
+            self.send_and_check_packets(destroy_dict)
+            self.dut.send_expect("flow flush 0", "testpmd> ", 15)
+            self.dut.send_expect("clear port stats all", "testpmd> ", 15)
+
     def tear_down(self):
         """
         Run after each test case.
-- 
2.17.1


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [dts] [PATCH V1] tests/cvl_dcf_switch_filter: add drop action test case
  2020-12-11  2:33 [dts] [PATCH V1] tests/cvl_dcf_switch_filter: add drop action test case ChenBo
@ 2020-12-11  2:38 ` Chen, BoX C
  2020-12-14  5:30 ` Lin, Xueqin
  2020-12-21  7:14 ` Tu, Lijuan
  2 siblings, 0 replies; 4+ messages in thread
From: Chen, BoX C @ 2020-12-11  2:38 UTC (permalink / raw)
  To: dts; +Cc: Chen, BoX C

[-- Attachment #1: Type: text/plain, Size: 312 bytes --]

Tested-by: Chen, BoX C <box.c.chen@intel.com>

Regards,
Chen Bo

> -----Original Message-----
> From: ChenBo <box.c.chen@intel.com>
> Sent: December 11, 2020 10:33
> To: dts@dpdk.org
> Cc: Chen, BoX C <box.c.chen@intel.com>
> Subject: [PATCH V1] tests/cvl_dcf_switch_filter: add drop action test case

[-- Attachment #2: CVLDCFSwitchFilterTest.log --]
[-- Type: application/octet-stream, Size: 78945 bytes --]

10/12/2020 18:06:58                            dts: NIC :        columbiaville_25g
10/12/2020 18:06:58              dut.10.240.183.77: 
10/12/2020 18:06:58                         tester: 
10/12/2020 18:06:58              dut.10.240.183.77: ifconfig enp1s0f0 up
10/12/2020 18:06:58              dut.10.240.183.77: enp1s0f0: ERROR while getting interface flags: No such device
10/12/2020 18:07:03              dut.10.240.183.77: cp /lib/firmware/intel/ice/ddp/ice_comms-1.3.24.0.pkg /lib/firmware/updates/intel/ice/ddp/ice.pkg
10/12/2020 18:07:03              dut.10.240.183.77: 
10/12/2020 18:07:03              dut.10.240.183.77: rmmod ice
10/12/2020 18:07:07              dut.10.240.183.77: 
10/12/2020 18:07:07              dut.10.240.183.77: insmod /lib/modules/5.4.0-26-generic/updates/drivers/net/ethernet/intel/ice/ice.ko
10/12/2020 18:07:10              dut.10.240.183.77: 
10/12/2020 18:07:15              dut.10.240.183.77: modprobe vfio-pci
10/12/2020 18:07:15              dut.10.240.183.77: 
10/12/2020 18:07:15         CVLDCFSwitchFilterTest: Test Case test_mac_drop_action Begin
10/12/2020 18:07:15              dut.10.240.183.77:  
10/12/2020 18:07:15                         tester: 
10/12/2020 18:07:15              dut.10.240.183.77: rmmod ice
10/12/2020 18:07:19              dut.10.240.183.77: 
10/12/2020 18:07:19              dut.10.240.183.77: insmod /lib/modules/5.4.0-26-generic/updates/drivers/net/ethernet/intel/ice/ice.ko
10/12/2020 18:07:22              dut.10.240.183.77: 
10/12/2020 18:07:27              dut.10.240.183.77: ethtool -i enp130s0f0
10/12/2020 18:07:27              dut.10.240.183.77: driver: ice
version: 1.3.0_dirty
firmware-version: 2.32 0x80004e07 1.2839.0
expansion-rom-version: 
bus-info: 0000:82:00.0
supports-statistics: yes
supports-test: yes
supports-eeprom-access: yes
supports-register-dump: yes
supports-priv-flags: yes
10/12/2020 18:07:29              dut.10.240.183.77: cat /sys/bus/pci/devices/0000\:82\:01.0/vendor
10/12/2020 18:07:29              dut.10.240.183.77: 0x8086
10/12/2020 18:07:29              dut.10.240.183.77: cat /sys/bus/pci/devices/0000\:82\:01.0/device
10/12/2020 18:07:29              dut.10.240.183.77: 0x1889
10/12/2020 18:07:29              dut.10.240.183.77: cat /sys/bus/pci/devices/0000\:82\:01.0/vendor
10/12/2020 18:07:29              dut.10.240.183.77: 0x8086
10/12/2020 18:07:29              dut.10.240.183.77: cat /sys/bus/pci/devices/0000\:82\:01.0/device
10/12/2020 18:07:29              dut.10.240.183.77: 0x1889
10/12/2020 18:07:30              dut.10.240.183.77: cat /sys/bus/pci/devices/0000\:82\:01.1/vendor
10/12/2020 18:07:30              dut.10.240.183.77: 0x8086
10/12/2020 18:07:30              dut.10.240.183.77: cat /sys/bus/pci/devices/0000\:82\:01.1/device
10/12/2020 18:07:30              dut.10.240.183.77: 0x1889
10/12/2020 18:07:30              dut.10.240.183.77: cat /sys/bus/pci/devices/0000\:82\:01.1/vendor
10/12/2020 18:07:30              dut.10.240.183.77: 0x8086
10/12/2020 18:07:30              dut.10.240.183.77: cat /sys/bus/pci/devices/0000\:82\:01.1/device
10/12/2020 18:07:30              dut.10.240.183.77: 0x1889
10/12/2020 18:07:30              dut.10.240.183.77: cat /sys/bus/pci/devices/0000\:82\:01.2/vendor
10/12/2020 18:07:30              dut.10.240.183.77: 0x8086
10/12/2020 18:07:30              dut.10.240.183.77: cat /sys/bus/pci/devices/0000\:82\:01.2/device
10/12/2020 18:07:30              dut.10.240.183.77: 0x1889
10/12/2020 18:07:30              dut.10.240.183.77: cat /sys/bus/pci/devices/0000\:82\:01.2/vendor
10/12/2020 18:07:30              dut.10.240.183.77: 0x8086
10/12/2020 18:07:30              dut.10.240.183.77: cat /sys/bus/pci/devices/0000\:82\:01.2/device
10/12/2020 18:07:30              dut.10.240.183.77: 0x1889
10/12/2020 18:07:31              dut.10.240.183.77: cat /sys/bus/pci/devices/0000\:82\:01.3/vendor
10/12/2020 18:07:31              dut.10.240.183.77: 0x8086
10/12/2020 18:07:31              dut.10.240.183.77: cat /sys/bus/pci/devices/0000\:82\:01.3/device
10/12/2020 18:07:31              dut.10.240.183.77: 0x1889
10/12/2020 18:07:31              dut.10.240.183.77: cat /sys/bus/pci/devices/0000\:82\:01.3/vendor
10/12/2020 18:07:31              dut.10.240.183.77: 0x8086
10/12/2020 18:07:31              dut.10.240.183.77: cat /sys/bus/pci/devices/0000\:82\:01.3/device
10/12/2020 18:07:31              dut.10.240.183.77: 0x1889
10/12/2020 18:07:31              dut.10.240.183.77: ip link set enp130s0f0 vf 0 trust on
10/12/2020 18:07:31              dut.10.240.183.77: 
10/12/2020 18:07:41              dut.10.240.183.77: ip link set enp130s0f0 vf 1 mac "00:11:22:33:44:55"
10/12/2020 18:07:41              dut.10.240.183.77: 
10/12/2020 18:07:41              dut.10.240.183.77: x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 1,2,3,4 -n 4 -w 0000:82:01.0,cap=dcf -w 0000:82:01.1  --file-prefix=dpdk_9670_20201210180637   -- -i
10/12/2020 18:07:50              dut.10.240.183.77: EAL: Detected 40 lcore(s)
EAL: Detected 2 NUMA nodes
Option -w, --pci-whitelist is deprecated, use -a, --allow option instead
Option -w, --pci-whitelist is deprecated, use -a, --allow option instead
EAL: Multi-process socket /var/run/dpdk/dpdk_9670_20201210180637/mp_socket
EAL: Selected IOVA mode 'VA'
EAL: 1024 hugepages of size 2097152 reserved, but no mounted hugetlbfs found for that size
EAL: Probing VFIO support...
EAL: VFIO support initialized
EAL:   using IOMMU type 1 (Type 1)
EAL: Probe PCI driver: net_iavf (8086:1889) device: 0000:82:01.0 (socket 1)
EAL: Releasing pci mapped resource for 0000:82:01.0
EAL: Calling pci_unmap_resource for 0000:82:01.0 at 0x2200000000
EAL: Calling pci_unmap_resource for 0000:82:01.0 at 0x2200020000
EAL:   using IOMMU type 1 (Type 1)
EAL: Probe PCI driver: net_ice_dcf (8086:1889) device: 0000:82:01.0 (socket 1)
ice_load_pkg_type(): Active package is: 1.3.24.0, ICE COMMS Package
EAL: Probe PCI driver: net_iavf (8086:1889) device: 0000:82:01.1 (socket 1)
Interactive-mode selected
testpmd: create a new mbuf pool <mb_pool_0>: n=171456, size=2176, socket=0
testpmd: preferred mempool ops selected: ring_mp_mc
testpmd: create a new mbuf pool <mb_pool_1>: n=171456, size=2176, socket=1
testpmd: preferred mempool ops selected: ring_mp_mc
Configuring Port 0 (socket 1)
ice_dcf_init_rss(): RSS is enabled by PF by default
ice_dcf_configure_queues(): request RXDID == 16 in Queue[0]
Port 0: 2E:C4:50:3E:CD:4E
Configuring Port 1 (socket 1)
iavf_init_rss(): RSS is enabled by PF by default
iavf_configure_queues(): request RXDID[22] in Queue[0]

Port 1: link state change event

Port 1: link state change event
Port 1: 00:11:22:33:44:55
Checking link statuses...
Done
10/12/2020 18:07:50              dut.10.240.183.77: set portlist 1
10/12/2020 18:07:50              dut.10.240.183.77: 
previous number of forwarding ports 2 - changed to number of configured ports 1

Warning! port-topology=paired and odd forward ports number, the last port will pair with itself.

10/12/2020 18:07:50              dut.10.240.183.77: set fwd rxonly
10/12/2020 18:07:50              dut.10.240.183.77: 
Set rxonly packet forwarding mode
10/12/2020 18:07:50              dut.10.240.183.77: set verbose 1
10/12/2020 18:07:50              dut.10.240.183.77: 
Change verbose level from 0 to 1
10/12/2020 18:07:50              dut.10.240.183.77: flow validate 0 priority 0 ingress pattern eth / ipv4 src is 192.168.0.1 / end actions drop / end
10/12/2020 18:07:50              dut.10.240.183.77: 
Flow rule validated
10/12/2020 18:07:50              dut.10.240.183.77: flow create 0 priority 0 ingress pattern eth / ipv4 src is 192.168.0.1 / end actions drop / end
10/12/2020 18:07:50              dut.10.240.183.77: 
Flow rule #0 created
10/12/2020 18:07:50              dut.10.240.183.77: flow list 0
10/12/2020 18:07:50              dut.10.240.183.77: 
ID	Group	Prio	Attr	Rule
0	0	0	i--	ETH IPV4 => DROP
10/12/2020 18:07:50              dut.10.240.183.77: start
10/12/2020 18:07:51              dut.10.240.183.77: 
rxonly packet forwarding - ports=1 - cores=1 - streams=1 - NUMA support enabled, MP allocation mode: native
Logical Core 2 (socket 0) forwards packets on 1 streams:
  RX P=1/Q=0 (socket 1) -> TX P=1/Q=0 (socket 1) peer=02:00:00:00:00:01

  rxonly packet forwarding packets/burst=32
  nb forwarding cores=1 - nb forwarding ports=1
  port 0: RX queue number: 1 Tx queue number: 1
    Rx offloads=0x0 Tx offloads=0x0
    RX queue: 0
      RX desc=0 - RX free threshold=32
      RX threshold registers: pthresh=8 hthresh=8  wthresh=0
      RX Offloads=0x0
    TX queue: 0
      TX desc=0 - TX free threshold=32
      TX threshold registers: pthresh=32 hthresh=0  wthresh=0
      TX offloads=0x0 - TX RS bit threshold=32
  port 1: RX queue number: 1 Tx queue number: 1
    Rx offloads=0x0 Tx offloads=0x10000
    RX queue: 0
      RX desc=512 - RX free threshold=32
      RX threshold registers: pthresh=0 hthresh=0  wthresh=0
      RX Offloads=0x0
    TX queue: 0
      TX desc=512 - TX free threshold=32
      TX threshold registers: pthresh=0 hthresh=0  wthresh=0
      TX offloads=0x10000 - TX RS bit threshold=32
10/12/2020 18:07:56              dut.10.240.183.77: stop
10/12/2020 18:07:56              dut.10.240.183.77: 
Telling cores to ...
Waiting for lcores to finish...

  ---------------------- Forward statistics for port 1  ----------------------
  RX-packets: 0              RX-dropped: 0             RX-total: 0
  TX-packets: 0              TX-dropped: 0             TX-total: 0
  ----------------------------------------------------------------------------

  +++++++++++++++ Accumulated forward statistics for all ports+++++++++++++++
  RX-packets: 0              RX-dropped: 0             RX-total: 0
  TX-packets: 0              TX-dropped: 0             TX-total: 0
  ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Done.
10/12/2020 18:07:56              dut.10.240.183.77: start
10/12/2020 18:07:56              dut.10.240.183.77: 
rxonly packet forwarding - ports=1 - cores=1 - streams=1 - NUMA support enabled, MP allocation mode: native
Logical Core 2 (socket 0) forwards packets on 1 streams:
  RX P=1/Q=0 (socket 1) -> TX P=1/Q=0 (socket 1) peer=02:00:00:00:00:01

  rxonly packet forwarding packets/burst=32
  nb forwarding cores=1 - nb forwarding ports=1
  port 0: RX queue number: 1 Tx queue number: 1
    Rx offloads=0x0 Tx offloads=0x0
    RX queue: 0
      RX desc=0 - RX free threshold=32
      RX threshold registers: pthresh=8 hthresh=8  wthresh=0
      RX Offloads=0x0
    TX queue: 0
      TX desc=0 - TX free threshold=32
      TX threshold registers: pthresh=32 hthresh=0  wthresh=0
      TX offloads=0x0 - TX RS bit threshold=32
  port 1: RX queue number: 1 Tx queue number: 1
    Rx offloads=0x0 Tx offloads=0x10000
    RX queue: 0
      RX desc=512 - RX free threshold=32
      RX threshold registers: pthresh=0 hthresh=0  wthresh=0
      RX Offloads=0x0
    TX queue: 0
      TX desc=512 - TX free threshold=32
      TX threshold registers: pthresh=0 hthresh=0  wthresh=0
      TX offloads=0x10000 - TX RS bit threshold=32
10/12/2020 18:08:01              dut.10.240.183.77: stop
10/12/2020 18:08:01              dut.10.240.183.77: 
Telling cores to ...
Waiting for lcores to finish...

  ---------------------- Forward statistics for port 1  ----------------------
  RX-packets: 1              RX-dropped: 0             RX-total: 1
  TX-packets: 0              TX-dropped: 0             TX-total: 0
  ----------------------------------------------------------------------------

  +++++++++++++++ Accumulated forward statistics for all ports+++++++++++++++
  RX-packets: 1              RX-dropped: 0             RX-total: 1
  TX-packets: 0              TX-dropped: 0             TX-total: 0
  ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Done.
10/12/2020 18:08:01              dut.10.240.183.77: flow destroy 0 rule 0
10/12/2020 18:08:01              dut.10.240.183.77: 
Flow rule #0 destroyed
10/12/2020 18:08:01              dut.10.240.183.77: flow list 0
10/12/2020 18:08:01              dut.10.240.183.77: 
10/12/2020 18:08:01              dut.10.240.183.77: start
10/12/2020 18:08:01              dut.10.240.183.77: 
rxonly packet forwarding - ports=1 - cores=1 - streams=1 - NUMA support enabled, MP allocation mode: native
Logical Core 2 (socket 0) forwards packets on 1 streams:
  RX P=1/Q=0 (socket 1) -> TX P=1/Q=0 (socket 1) peer=02:00:00:00:00:01

  rxonly packet forwarding packets/burst=32
  nb forwarding cores=1 - nb forwarding ports=1
  port 0: RX queue number: 1 Tx queue number: 1
    Rx offloads=0x0 Tx offloads=0x0
    RX queue: 0
      RX desc=0 - RX free threshold=32
      RX threshold registers: pthresh=8 hthresh=8  wthresh=0
      RX Offloads=0x0
    TX queue: 0
      TX desc=0 - TX free threshold=32
      TX threshold registers: pthresh=32 hthresh=0  wthresh=0
      TX offloads=0x0 - TX RS bit threshold=32
  port 1: RX queue number: 1 Tx queue number: 1
    Rx offloads=0x0 Tx offloads=0x10000
    RX queue: 0
      RX desc=512 - RX free threshold=32
      RX threshold registers: pthresh=0 hthresh=0  wthresh=0
      RX Offloads=0x0
    TX queue: 0
      TX desc=512 - TX free threshold=32
      TX threshold registers: pthresh=0 hthresh=0  wthresh=0
      TX offloads=0x10000 - TX RS bit threshold=32
10/12/2020 18:08:06              dut.10.240.183.77: stop
10/12/2020 18:08:06              dut.10.240.183.77: 
Telling cores to ...
Waiting for lcores to finish...

  ---------------------- Forward statistics for port 1  ----------------------
  RX-packets: 1              RX-dropped: 0             RX-total: 1
  TX-packets: 0              TX-dropped: 0             TX-total: 0
  ----------------------------------------------------------------------------

  +++++++++++++++ Accumulated forward statistics for all ports+++++++++++++++
  RX-packets: 1              RX-dropped: 0             RX-total: 1
  TX-packets: 0              TX-dropped: 0             TX-total: 0
  ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Done.
10/12/2020 18:08:06              dut.10.240.183.77: flow flush 0
10/12/2020 18:08:06              dut.10.240.183.77: 
10/12/2020 18:08:06              dut.10.240.183.77: clear port stats all
10/12/2020 18:08:07              dut.10.240.183.77: 

  NIC statistics for port 0 cleared

  NIC statistics for port 1 cleared
10/12/2020 18:08:07              dut.10.240.183.77: flow validate 0 ingress pattern eth / ipv4 dst spec 224.0.0.0 dst mask 240.0.0.0 / end actions drop / end
10/12/2020 18:08:07              dut.10.240.183.77: 
Flow rule validated
10/12/2020 18:08:07              dut.10.240.183.77: flow create 0 ingress pattern eth / ipv4 dst spec 224.0.0.0 dst mask 240.0.0.0 / end actions drop / end
10/12/2020 18:08:07              dut.10.240.183.77: 
Flow rule #0 created
10/12/2020 18:08:07              dut.10.240.183.77: flow list 0
10/12/2020 18:08:07              dut.10.240.183.77: 
ID	Group	Prio	Attr	Rule
0	0	0	i--	ETH IPV4 => DROP
10/12/2020 18:08:07              dut.10.240.183.77: start
10/12/2020 18:08:07              dut.10.240.183.77: 
rxonly packet forwarding - ports=1 - cores=1 - streams=1 - NUMA support enabled, MP allocation mode: native
Logical Core 2 (socket 0) forwards packets on 1 streams:
  RX P=1/Q=0 (socket 1) -> TX P=1/Q=0 (socket 1) peer=02:00:00:00:00:01

  rxonly packet forwarding packets/burst=32
  nb forwarding cores=1 - nb forwarding ports=1
  port 0: RX queue number: 1 Tx queue number: 1
    Rx offloads=0x0 Tx offloads=0x0
    RX queue: 0
      RX desc=0 - RX free threshold=32
      RX threshold registers: pthresh=8 hthresh=8  wthresh=0
      RX Offloads=0x0
    TX queue: 0
      TX desc=0 - TX free threshold=32
      TX threshold registers: pthresh=32 hthresh=0  wthresh=0
      TX offloads=0x0 - TX RS bit threshold=32
  port 1: RX queue number: 1 Tx queue number: 1
    Rx offloads=0x0 Tx offloads=0x10000
    RX queue: 0
      RX desc=512 - RX free threshold=32
      RX threshold registers: pthresh=0 hthresh=0  wthresh=0
      RX Offloads=0x0
    TX queue: 0
      TX desc=512 - TX free threshold=32
      TX threshold registers: pthresh=0 hthresh=0  wthresh=0
      TX offloads=0x10000 - TX RS bit threshold=32
10/12/2020 18:08:12              dut.10.240.183.77: stop
10/12/2020 18:08:12              dut.10.240.183.77: 
Telling cores to ...
Waiting for lcores to finish...

  ---------------------- Forward statistics for port 1  ----------------------
  RX-packets: 0              RX-dropped: 1             RX-total: 1
  TX-packets: 0              TX-dropped: 0             TX-total: 0
  ----------------------------------------------------------------------------

  +++++++++++++++ Accumulated forward statistics for all ports+++++++++++++++
  RX-packets: 0              RX-dropped: 1             RX-total: 1
  TX-packets: 0              TX-dropped: 0             TX-total: 0
  ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Done.
10/12/2020 18:08:12              dut.10.240.183.77: start
10/12/2020 18:08:12              dut.10.240.183.77: 
rxonly packet forwarding - ports=1 - cores=1 - streams=1 - NUMA support enabled, MP allocation mode: native
Logical Core 2 (socket 0) forwards packets on 1 streams:
  RX P=1/Q=0 (socket 1) -> TX P=1/Q=0 (socket 1) peer=02:00:00:00:00:01

  rxonly packet forwarding packets/burst=32
  nb forwarding cores=1 - nb forwarding ports=1
  port 0: RX queue number: 1 Tx queue number: 1
    Rx offloads=0x0 Tx offloads=0x0
    RX queue: 0
      RX desc=0 - RX free threshold=32
      RX threshold registers: pthresh=8 hthresh=8  wthresh=0
      RX Offloads=0x0
    TX queue: 0
      TX desc=0 - TX free threshold=32
      TX threshold registers: pthresh=32 hthresh=0  wthresh=0
      TX offloads=0x0 - TX RS bit threshold=32
  port 1: RX queue number: 1 Tx queue number: 1
    Rx offloads=0x0 Tx offloads=0x10000
    RX queue: 0
      RX desc=512 - RX free threshold=32
      RX threshold registers: pthresh=0 hthresh=0  wthresh=0
      RX Offloads=0x0
    TX queue: 0
      TX desc=512 - TX free threshold=32
      TX threshold registers: pthresh=0 hthresh=0  wthresh=0
      TX offloads=0x10000 - TX RS bit threshold=32
10/12/2020 18:08:17              dut.10.240.183.77: stop
10/12/2020 18:08:17              dut.10.240.183.77: 
Telling cores to ...
Waiting for lcores to finish...

  ---------------------- Forward statistics for port 1  ----------------------
  RX-packets: 1              RX-dropped: 0             RX-total: 1
  TX-packets: 0              TX-dropped: 0             TX-total: 0
  ----------------------------------------------------------------------------

  +++++++++++++++ Accumulated forward statistics for all ports+++++++++++++++
  RX-packets: 1              RX-dropped: 0             RX-total: 1
  TX-packets: 0              TX-dropped: 0             TX-total: 0
  ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Done.
10/12/2020 18:08:17              dut.10.240.183.77: flow destroy 0 rule 0
10/12/2020 18:08:18              dut.10.240.183.77: 
Flow rule #0 destroyed
10/12/2020 18:08:18              dut.10.240.183.77: flow list 0
10/12/2020 18:08:18              dut.10.240.183.77: 
10/12/2020 18:08:18              dut.10.240.183.77: start
10/12/2020 18:08:18              dut.10.240.183.77: 
rxonly packet forwarding - ports=1 - cores=1 - streams=1 - NUMA support enabled, MP allocation mode: native
Logical Core 2 (socket 0) forwards packets on 1 streams:
  RX P=1/Q=0 (socket 1) -> TX P=1/Q=0 (socket 1) peer=02:00:00:00:00:01

  rxonly packet forwarding packets/burst=32
  nb forwarding cores=1 - nb forwarding ports=1
  port 0: RX queue number: 1 Tx queue number: 1
    Rx offloads=0x0 Tx offloads=0x0
    RX queue: 0
      RX desc=0 - RX free threshold=32
      RX threshold registers: pthresh=8 hthresh=8  wthresh=0
      RX Offloads=0x0
    TX queue: 0
      TX desc=0 - TX free threshold=32
      TX threshold registers: pthresh=32 hthresh=0  wthresh=0
      TX offloads=0x0 - TX RS bit threshold=32
  port 1: RX queue number: 1 Tx queue number: 1
    Rx offloads=0x0 Tx offloads=0x10000
    RX queue: 0
      RX desc=512 - RX free threshold=32
      RX threshold registers: pthresh=0 hthresh=0  wthresh=0
      RX Offloads=0x0
    TX queue: 0
      TX desc=512 - TX free threshold=32
      TX threshold registers: pthresh=0 hthresh=0  wthresh=0
      TX offloads=0x10000 - TX RS bit threshold=32
10/12/2020 18:08:23              dut.10.240.183.77: stop
10/12/2020 18:08:23              dut.10.240.183.77: 
Telling cores to ...
Waiting for lcores to finish...

  ---------------------- Forward statistics for port 1  ----------------------
  RX-packets: 1              RX-dropped: 0             RX-total: 1
  TX-packets: 0              TX-dropped: 0             TX-total: 0
  ----------------------------------------------------------------------------

  +++++++++++++++ Accumulated forward statistics for all ports+++++++++++++++
  RX-packets: 1              RX-dropped: 0             RX-total: 1
  TX-packets: 0              TX-dropped: 0             TX-total: 0
  ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Done.
10/12/2020 18:08:23              dut.10.240.183.77: flow flush 0
10/12/2020 18:08:23              dut.10.240.183.77: 
10/12/2020 18:08:23              dut.10.240.183.77: clear port stats all
10/12/2020 18:08:23              dut.10.240.183.77: 

  NIC statistics for port 0 cleared

  NIC statistics for port 1 cleared
10/12/2020 18:08:23              dut.10.240.183.77: flow validate 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 drop / end
10/12/2020 18:08:23              dut.10.240.183.77: 
Flow rule validated
10/12/2020 18:08:23              dut.10.240.183.77: flow create 0 ingress pattern eth / ipv4 dst is 192.168.0.1 / nvgre tni is 2 / eth / ipv4 src is 192.168.1.2 dst is 192.168.1.3 / end actions drop / end
10/12/2020 18:08:23              dut.10.240.183.77: 
Flow rule #0 created
10/12/2020 18:08:23              dut.10.240.183.77: flow list 0
10/12/2020 18:08:23              dut.10.240.183.77: 
ID	Group	Prio	Attr	Rule
0	0	0	i--	ETH IPV4 NVGRE ETH IPV4 => DROP
10/12/2020 18:08:23              dut.10.240.183.77: start
10/12/2020 18:08:23              dut.10.240.183.77: 
rxonly packet forwarding - ports=1 - cores=1 - streams=1 - NUMA support enabled, MP allocation mode: native
Logical Core 2 (socket 0) forwards packets on 1 streams:
  RX P=1/Q=0 (socket 1) -> TX P=1/Q=0 (socket 1) peer=02:00:00:00:00:01

  rxonly packet forwarding packets/burst=32
  nb forwarding cores=1 - nb forwarding ports=1
  port 0: RX queue number: 1 Tx queue number: 1
    Rx offloads=0x0 Tx offloads=0x0
    RX queue: 0
      RX desc=0 - RX free threshold=32
      RX threshold registers: pthresh=8 hthresh=8  wthresh=0
      RX Offloads=0x0
    TX queue: 0
      TX desc=0 - TX free threshold=32
      TX threshold registers: pthresh=32 hthresh=0  wthresh=0
      TX offloads=0x0 - TX RS bit threshold=32
  port 1: RX queue number: 1 Tx queue number: 1
    Rx offloads=0x0 Tx offloads=0x10000
    RX queue: 0
      RX desc=512 - RX free threshold=32
      RX threshold registers: pthresh=0 hthresh=0  wthresh=0
      RX Offloads=0x0
    TX queue: 0
      TX desc=512 - TX free threshold=32
      TX threshold registers: pthresh=0 hthresh=0  wthresh=0
      TX offloads=0x10000 - TX RS bit threshold=32
10/12/2020 18:08:29              dut.10.240.183.77: stop
10/12/2020 18:08:29              dut.10.240.183.77: 
Telling cores to ...
Waiting for lcores to finish...

  ---------------------- Forward statistics for port 1  ----------------------
  RX-packets: 0              RX-dropped: 0             RX-total: 0
  TX-packets: 0              TX-dropped: 0             TX-total: 0
  ----------------------------------------------------------------------------

  +++++++++++++++ Accumulated forward statistics for all ports+++++++++++++++
  RX-packets: 0              RX-dropped: 0             RX-total: 0
  TX-packets: 0              TX-dropped: 0             TX-total: 0
  ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Done.
10/12/2020 18:08:29              dut.10.240.183.77: start
10/12/2020 18:08:29              dut.10.240.183.77: 
rxonly packet forwarding - ports=1 - cores=1 - streams=1 - NUMA support enabled, MP allocation mode: native
Logical Core 2 (socket 0) forwards packets on 1 streams:
  RX P=1/Q=0 (socket 1) -> TX P=1/Q=0 (socket 1) peer=02:00:00:00:00:01

  rxonly packet forwarding packets/burst=32
  nb forwarding cores=1 - nb forwarding ports=1
  port 0: RX queue number: 1 Tx queue number: 1
    Rx offloads=0x0 Tx offloads=0x0
    RX queue: 0
      RX desc=0 - RX free threshold=32
      RX threshold registers: pthresh=8 hthresh=8  wthresh=0
      RX Offloads=0x0
    TX queue: 0
      TX desc=0 - TX free threshold=32
      TX threshold registers: pthresh=32 hthresh=0  wthresh=0
      TX offloads=0x0 - TX RS bit threshold=32
  port 1: RX queue number: 1 Tx queue number: 1
    Rx offloads=0x0 Tx offloads=0x10000
    RX queue: 0
      RX desc=512 - RX free threshold=32
      RX threshold registers: pthresh=0 hthresh=0  wthresh=0
      RX Offloads=0x0
    TX queue: 0
      TX desc=512 - TX free threshold=32
      TX threshold registers: pthresh=0 hthresh=0  wthresh=0
      TX offloads=0x10000 - TX RS bit threshold=32
10/12/2020 18:08:34              dut.10.240.183.77: stop
10/12/2020 18:08:34              dut.10.240.183.77: 
Telling cores to ...
Waiting for lcores to finish...

  ---------------------- Forward statistics for port 1  ----------------------
  RX-packets: 1              RX-dropped: 0             RX-total: 1
  TX-packets: 0              TX-dropped: 0             TX-total: 0
  ----------------------------------------------------------------------------

  +++++++++++++++ Accumulated forward statistics for all ports+++++++++++++++
  RX-packets: 1              RX-dropped: 0             RX-total: 1
  TX-packets: 0              TX-dropped: 0             TX-total: 0
  ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Done.
10/12/2020 18:08:34              dut.10.240.183.77: flow destroy 0 rule 0
10/12/2020 18:08:34              dut.10.240.183.77: 
Flow rule #0 destroyed
10/12/2020 18:08:34              dut.10.240.183.77: flow list 0
10/12/2020 18:08:34              dut.10.240.183.77: 
10/12/2020 18:08:34              dut.10.240.183.77: start
10/12/2020 18:08:34              dut.10.240.183.77: 
rxonly packet forwarding - ports=1 - cores=1 - streams=1 - NUMA support enabled, MP allocation mode: native
Logical Core 2 (socket 0) forwards packets on 1 streams:
  RX P=1/Q=0 (socket 1) -> TX P=1/Q=0 (socket 1) peer=02:00:00:00:00:01

  rxonly packet forwarding packets/burst=32
  nb forwarding cores=1 - nb forwarding ports=1
  port 0: RX queue number: 1 Tx queue number: 1
    Rx offloads=0x0 Tx offloads=0x0
    RX queue: 0
      RX desc=0 - RX free threshold=32
      RX threshold registers: pthresh=8 hthresh=8  wthresh=0
      RX Offloads=0x0
    TX queue: 0
      TX desc=0 - TX free threshold=32
      TX threshold registers: pthresh=32 hthresh=0  wthresh=0
      TX offloads=0x0 - TX RS bit threshold=32
  port 1: RX queue number: 1 Tx queue number: 1
    Rx offloads=0x0 Tx offloads=0x10000
    RX queue: 0
      RX desc=512 - RX free threshold=32
      RX threshold registers: pthresh=0 hthresh=0  wthresh=0
      RX Offloads=0x0
    TX queue: 0
      TX desc=512 - TX free threshold=32
      TX threshold registers: pthresh=0 hthresh=0  wthresh=0
      TX offloads=0x10000 - TX RS bit threshold=32
10/12/2020 18:08:39              dut.10.240.183.77: stop
10/12/2020 18:08:39              dut.10.240.183.77: 
Telling cores to ...
Waiting for lcores to finish...

  ---------------------- Forward statistics for port 1  ----------------------
  RX-packets: 1              RX-dropped: 0             RX-total: 1
  TX-packets: 0              TX-dropped: 0             TX-total: 0
  ----------------------------------------------------------------------------

  +++++++++++++++ Accumulated forward statistics for all ports+++++++++++++++
  RX-packets: 1              RX-dropped: 0             RX-total: 1
  TX-packets: 0              TX-dropped: 0             TX-total: 0
  ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Done.
10/12/2020 18:08:39              dut.10.240.183.77: flow flush 0
10/12/2020 18:08:39              dut.10.240.183.77: 
10/12/2020 18:08:39              dut.10.240.183.77: clear port stats all
10/12/2020 18:08:40              dut.10.240.183.77: 

  NIC statistics for port 0 cleared

  NIC statistics for port 1 cleared
10/12/2020 18:08:40              dut.10.240.183.77: flow validate 0 ingress pattern eth dst is 00:11:22:33:44:55 / vlan tci is 1 / pppoes seid is 3 / pppoe_proto_id is 0x0021 / end actions drop / end
10/12/2020 18:08:40              dut.10.240.183.77: 
Flow rule validated
10/12/2020 18:08:40              dut.10.240.183.77: flow create 0 ingress pattern eth dst is 00:11:22:33:44:55 / vlan tci is 1 / pppoes seid is 3 / pppoe_proto_id is 0x0021 / end actions drop / end
10/12/2020 18:08:40              dut.10.240.183.77: 
Flow rule #0 created
10/12/2020 18:08:40              dut.10.240.183.77: flow list 0
10/12/2020 18:08:40              dut.10.240.183.77: 
ID	Group	Prio	Attr	Rule
0	0	0	i--	ETH VLAN PPPOES PPPOE_PROTO_ID => DROP
10/12/2020 18:08:40              dut.10.240.183.77: start
10/12/2020 18:08:40              dut.10.240.183.77: 
rxonly packet forwarding - ports=1 - cores=1 - streams=1 - NUMA support enabled, MP allocation mode: native
Logical Core 2 (socket 0) forwards packets on 1 streams:
  RX P=1/Q=0 (socket 1) -> TX P=1/Q=0 (socket 1) peer=02:00:00:00:00:01

  rxonly packet forwarding packets/burst=32
  nb forwarding cores=1 - nb forwarding ports=1
  port 0: RX queue number: 1 Tx queue number: 1
    Rx offloads=0x0 Tx offloads=0x0
    RX queue: 0
      RX desc=0 - RX free threshold=32
      RX threshold registers: pthresh=8 hthresh=8  wthresh=0
      RX Offloads=0x0
    TX queue: 0
      TX desc=0 - TX free threshold=32
      TX threshold registers: pthresh=32 hthresh=0  wthresh=0
      TX offloads=0x0 - TX RS bit threshold=32
  port 1: RX queue number: 1 Tx queue number: 1
    Rx offloads=0x0 Tx offloads=0x10000
    RX queue: 0
      RX desc=512 - RX free threshold=32
      RX threshold registers: pthresh=0 hthresh=0  wthresh=0
      RX Offloads=0x0
    TX queue: 0
      TX desc=512 - TX free threshold=32
      TX threshold registers: pthresh=0 hthresh=0  wthresh=0
      TX offloads=0x10000 - TX RS bit threshold=32
10/12/2020 18:08:45              dut.10.240.183.77: stop
10/12/2020 18:08:45              dut.10.240.183.77: 
Telling cores to ...
Waiting for lcores to finish...

  ---------------------- Forward statistics for port 1  ----------------------
  RX-packets: 0              RX-dropped: 0             RX-total: 0
  TX-packets: 0              TX-dropped: 0             TX-total: 0
  ----------------------------------------------------------------------------

  +++++++++++++++ Accumulated forward statistics for all ports+++++++++++++++
  RX-packets: 0              RX-dropped: 0             RX-total: 0
  TX-packets: 0              TX-dropped: 0             TX-total: 0
  ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Done.
10/12/2020 18:08:45              dut.10.240.183.77: start
10/12/2020 18:08:45              dut.10.240.183.77: 
rxonly packet forwarding - ports=1 - cores=1 - streams=1 - NUMA support enabled, MP allocation mode: native
Logical Core 2 (socket 0) forwards packets on 1 streams:
  RX P=1/Q=0 (socket 1) -> TX P=1/Q=0 (socket 1) peer=02:00:00:00:00:01

  rxonly packet forwarding packets/burst=32
  nb forwarding cores=1 - nb forwarding ports=1
  port 0: RX queue number: 1 Tx queue number: 1
    Rx offloads=0x0 Tx offloads=0x0
    RX queue: 0
      RX desc=0 - RX free threshold=32
      RX threshold registers: pthresh=8 hthresh=8  wthresh=0
      RX Offloads=0x0
    TX queue: 0
      TX desc=0 - TX free threshold=32
      TX threshold registers: pthresh=32 hthresh=0  wthresh=0
      TX offloads=0x0 - TX RS bit threshold=32
  port 1: RX queue number: 1 Tx queue number: 1
    Rx offloads=0x0 Tx offloads=0x10000
    RX queue: 0
      RX desc=512 - RX free threshold=32
      RX threshold registers: pthresh=0 hthresh=0  wthresh=0
      RX Offloads=0x0
    TX queue: 0
      TX desc=512 - TX free threshold=32
      TX threshold registers: pthresh=0 hthresh=0  wthresh=0
      TX offloads=0x10000 - TX RS bit threshold=32
10/12/2020 18:08:50              dut.10.240.183.77: stop
10/12/2020 18:08:50              dut.10.240.183.77: 
Telling cores to ...
Waiting for lcores to finish...

  ---------------------- Forward statistics for port 1  ----------------------
  RX-packets: 1              RX-dropped: 0             RX-total: 1
  TX-packets: 0              TX-dropped: 0             TX-total: 0
  ----------------------------------------------------------------------------

  +++++++++++++++ Accumulated forward statistics for all ports+++++++++++++++
  RX-packets: 1              RX-dropped: 0             RX-total: 1
  TX-packets: 0              TX-dropped: 0             TX-total: 0
  ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Done.
10/12/2020 18:08:50              dut.10.240.183.77: flow destroy 0 rule 0
10/12/2020 18:08:51              dut.10.240.183.77: 
Flow rule #0 destroyed
10/12/2020 18:08:51              dut.10.240.183.77: flow list 0
10/12/2020 18:08:51              dut.10.240.183.77: 
10/12/2020 18:08:51              dut.10.240.183.77: start
10/12/2020 18:08:51              dut.10.240.183.77: 
rxonly packet forwarding - ports=1 - cores=1 - streams=1 - NUMA support enabled, MP allocation mode: native
Logical Core 2 (socket 0) forwards packets on 1 streams:
  RX P=1/Q=0 (socket 1) -> TX P=1/Q=0 (socket 1) peer=02:00:00:00:00:01

  rxonly packet forwarding packets/burst=32
  nb forwarding cores=1 - nb forwarding ports=1
  port 0: RX queue number: 1 Tx queue number: 1
    Rx offloads=0x0 Tx offloads=0x0
    RX queue: 0
      RX desc=0 - RX free threshold=32
      RX threshold registers: pthresh=8 hthresh=8  wthresh=0
      RX Offloads=0x0
    TX queue: 0
      TX desc=0 - TX free threshold=32
      TX threshold registers: pthresh=32 hthresh=0  wthresh=0
      TX offloads=0x0 - TX RS bit threshold=32
  port 1: RX queue number: 1 Tx queue number: 1
    Rx offloads=0x0 Tx offloads=0x10000
    RX queue: 0
      RX desc=512 - RX free threshold=32
      RX threshold registers: pthresh=0 hthresh=0  wthresh=0
      RX Offloads=0x0
    TX queue: 0
      TX desc=512 - TX free threshold=32
      TX threshold registers: pthresh=0 hthresh=0  wthresh=0
      TX offloads=0x10000 - TX RS bit threshold=32
10/12/2020 18:08:56              dut.10.240.183.77: stop
10/12/2020 18:08:56              dut.10.240.183.77: 
Telling cores to ...
Waiting for lcores to finish...

  ---------------------- Forward statistics for port 1  ----------------------
  RX-packets: 1              RX-dropped: 0             RX-total: 1
  TX-packets: 0              TX-dropped: 0             TX-total: 0
  ----------------------------------------------------------------------------

  +++++++++++++++ Accumulated forward statistics for all ports+++++++++++++++
  RX-packets: 1              RX-dropped: 0             RX-total: 1
  TX-packets: 0              TX-dropped: 0             TX-total: 0
  ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Done.
10/12/2020 18:08:56              dut.10.240.183.77: flow flush 0
10/12/2020 18:08:56              dut.10.240.183.77: 
10/12/2020 18:08:56              dut.10.240.183.77: clear port stats all
10/12/2020 18:08:56              dut.10.240.183.77: 

  NIC statistics for port 0 cleared

  NIC statistics for port 1 cleared
10/12/2020 18:08:56              dut.10.240.183.77: flow validate 0 ingress pattern eth / ipv4 / udp / pfcp s_field is 0 / end actions drop / end
10/12/2020 18:08:56              dut.10.240.183.77: 
Flow rule validated
10/12/2020 18:08:56              dut.10.240.183.77: flow create 0 ingress pattern eth / ipv4 / udp / pfcp s_field is 0 / end actions drop / end
10/12/2020 18:08:56              dut.10.240.183.77: 
Flow rule #0 created
10/12/2020 18:08:56              dut.10.240.183.77: flow list 0
10/12/2020 18:08:56              dut.10.240.183.77: 
ID	Group	Prio	Attr	Rule
0	0	0	i--	ETH IPV4 UDP PFCP => DROP
10/12/2020 18:08:56              dut.10.240.183.77: start
10/12/2020 18:08:56              dut.10.240.183.77: 
rxonly packet forwarding - ports=1 - cores=1 - streams=1 - NUMA support enabled, MP allocation mode: native
Logical Core 2 (socket 0) forwards packets on 1 streams:
  RX P=1/Q=0 (socket 1) -> TX P=1/Q=0 (socket 1) peer=02:00:00:00:00:01

  rxonly packet forwarding packets/burst=32
  nb forwarding cores=1 - nb forwarding ports=1
  port 0: RX queue number: 1 Tx queue number: 1
    Rx offloads=0x0 Tx offloads=0x0
    RX queue: 0
      RX desc=0 - RX free threshold=32
      RX threshold registers: pthresh=8 hthresh=8  wthresh=0
      RX Offloads=0x0
    TX queue: 0
      TX desc=0 - TX free threshold=32
      TX threshold registers: pthresh=32 hthresh=0  wthresh=0
      TX offloads=0x0 - TX RS bit threshold=32
  port 1: RX queue number: 1 Tx queue number: 1
    Rx offloads=0x0 Tx offloads=0x10000
    RX queue: 0
      RX desc=512 - RX free threshold=32
      RX threshold registers: pthresh=0 hthresh=0  wthresh=0
      RX Offloads=0x0
    TX queue: 0
      TX desc=512 - TX free threshold=32
      TX threshold registers: pthresh=0 hthresh=0  wthresh=0
      TX offloads=0x10000 - TX RS bit threshold=32
10/12/2020 18:09:02              dut.10.240.183.77: stop
10/12/2020 18:09:02              dut.10.240.183.77: 
Telling cores to ...
Waiting for lcores to finish...

  ---------------------- Forward statistics for port 1  ----------------------
  RX-packets: 0              RX-dropped: 0             RX-total: 0
  TX-packets: 0              TX-dropped: 0             TX-total: 0
  ----------------------------------------------------------------------------

  +++++++++++++++ Accumulated forward statistics for all ports+++++++++++++++
  RX-packets: 0              RX-dropped: 0             RX-total: 0
  TX-packets: 0              TX-dropped: 0             TX-total: 0
  ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Done.
10/12/2020 18:09:02              dut.10.240.183.77: start
10/12/2020 18:09:02              dut.10.240.183.77: 
rxonly packet forwarding - ports=1 - cores=1 - streams=1 - NUMA support enabled, MP allocation mode: native
Logical Core 2 (socket 0) forwards packets on 1 streams:
  RX P=1/Q=0 (socket 1) -> TX P=1/Q=0 (socket 1) peer=02:00:00:00:00:01

  rxonly packet forwarding packets/burst=32
  nb forwarding cores=1 - nb forwarding ports=1
  port 0: RX queue number: 1 Tx queue number: 1
    Rx offloads=0x0 Tx offloads=0x0
    RX queue: 0
      RX desc=0 - RX free threshold=32
      RX threshold registers: pthresh=8 hthresh=8  wthresh=0
      RX Offloads=0x0
    TX queue: 0
      TX desc=0 - TX free threshold=32
      TX threshold registers: pthresh=32 hthresh=0  wthresh=0
      TX offloads=0x0 - TX RS bit threshold=32
  port 1: RX queue number: 1 Tx queue number: 1
    Rx offloads=0x0 Tx offloads=0x10000
    RX queue: 0
      RX desc=512 - RX free threshold=32
      RX threshold registers: pthresh=0 hthresh=0  wthresh=0
      RX Offloads=0x0
    TX queue: 0
      TX desc=512 - TX free threshold=32
      TX threshold registers: pthresh=0 hthresh=0  wthresh=0
      TX offloads=0x10000 - TX RS bit threshold=32
10/12/2020 18:09:07              dut.10.240.183.77: stop
10/12/2020 18:09:07              dut.10.240.183.77: 
Telling cores to ...
Waiting for lcores to finish...

  ---------------------- Forward statistics for port 1  ----------------------
  RX-packets: 1              RX-dropped: 0             RX-total: 1
  TX-packets: 0              TX-dropped: 0             TX-total: 0
  ----------------------------------------------------------------------------

  +++++++++++++++ Accumulated forward statistics for all ports+++++++++++++++
  RX-packets: 1              RX-dropped: 0             RX-total: 1
  TX-packets: 0              TX-dropped: 0             TX-total: 0
  ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Done.
10/12/2020 18:09:07              dut.10.240.183.77: flow destroy 0 rule 0
10/12/2020 18:09:07              dut.10.240.183.77: 
Flow rule #0 destroyed
10/12/2020 18:09:07              dut.10.240.183.77: flow list 0
10/12/2020 18:09:07              dut.10.240.183.77: 
10/12/2020 18:09:07              dut.10.240.183.77: start
10/12/2020 18:09:07              dut.10.240.183.77: 
rxonly packet forwarding - ports=1 - cores=1 - streams=1 - NUMA support enabled, MP allocation mode: native
Logical Core 2 (socket 0) forwards packets on 1 streams:
  RX P=1/Q=0 (socket 1) -> TX P=1/Q=0 (socket 1) peer=02:00:00:00:00:01

  rxonly packet forwarding packets/burst=32
  nb forwarding cores=1 - nb forwarding ports=1
  port 0: RX queue number: 1 Tx queue number: 1
    Rx offloads=0x0 Tx offloads=0x0
    RX queue: 0
      RX desc=0 - RX free threshold=32
      RX threshold registers: pthresh=8 hthresh=8  wthresh=0
      RX Offloads=0x0
    TX queue: 0
      TX desc=0 - TX free threshold=32
      TX threshold registers: pthresh=32 hthresh=0  wthresh=0
      TX offloads=0x0 - TX RS bit threshold=32
  port 1: RX queue number: 1 Tx queue number: 1
    Rx offloads=0x0 Tx offloads=0x10000
    RX queue: 0
      RX desc=512 - RX free threshold=32
      RX threshold registers: pthresh=0 hthresh=0  wthresh=0
      RX Offloads=0x0
    TX queue: 0
      TX desc=512 - TX free threshold=32
      TX threshold registers: pthresh=0 hthresh=0  wthresh=0
      TX offloads=0x10000 - TX RS bit threshold=32
10/12/2020 18:09:12              dut.10.240.183.77: stop
10/12/2020 18:09:12              dut.10.240.183.77: 
Telling cores to ...
Waiting for lcores to finish...

  ---------------------- Forward statistics for port 1  ----------------------
  RX-packets: 1              RX-dropped: 0             RX-total: 1
  TX-packets: 0              TX-dropped: 0             TX-total: 0
  ----------------------------------------------------------------------------

  +++++++++++++++ Accumulated forward statistics for all ports+++++++++++++++
  RX-packets: 1              RX-dropped: 0             RX-total: 1
  TX-packets: 0              TX-dropped: 0             TX-total: 0
  ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Done.
10/12/2020 18:09:12              dut.10.240.183.77: flow flush 0
10/12/2020 18:09:12              dut.10.240.183.77: 
10/12/2020 18:09:12              dut.10.240.183.77: clear port stats all
10/12/2020 18:09:12              dut.10.240.183.77: 

  NIC statistics for port 0 cleared

  NIC statistics for port 1 cleared
10/12/2020 18:09:12              dut.10.240.183.77: flow validate 0 ingress pattern eth dst is 00:11:22:33:44:55 / vlan tci is 1 / end actions drop / end
10/12/2020 18:09:12              dut.10.240.183.77: 
Flow rule validated
10/12/2020 18:09:12              dut.10.240.183.77: flow create 0 ingress pattern eth dst is 00:11:22:33:44:55 / vlan tci is 1 / end actions drop / end
10/12/2020 18:09:13              dut.10.240.183.77: 
Flow rule #0 created
10/12/2020 18:09:13              dut.10.240.183.77: flow list 0
10/12/2020 18:09:13              dut.10.240.183.77: 
ID	Group	Prio	Attr	Rule
0	0	0	i--	ETH VLAN => DROP
10/12/2020 18:09:13              dut.10.240.183.77: start
10/12/2020 18:09:13              dut.10.240.183.77: 
rxonly packet forwarding - ports=1 - cores=1 - streams=1 - NUMA support enabled, MP allocation mode: native
Logical Core 2 (socket 0) forwards packets on 1 streams:
  RX P=1/Q=0 (socket 1) -> TX P=1/Q=0 (socket 1) peer=02:00:00:00:00:01

  rxonly packet forwarding packets/burst=32
  nb forwarding cores=1 - nb forwarding ports=1
  port 0: RX queue number: 1 Tx queue number: 1
    Rx offloads=0x0 Tx offloads=0x0
    RX queue: 0
      RX desc=0 - RX free threshold=32
      RX threshold registers: pthresh=8 hthresh=8  wthresh=0
      RX Offloads=0x0
    TX queue: 0
      TX desc=0 - TX free threshold=32
      TX threshold registers: pthresh=32 hthresh=0  wthresh=0
      TX offloads=0x0 - TX RS bit threshold=32
  port 1: RX queue number: 1 Tx queue number: 1
    Rx offloads=0x0 Tx offloads=0x10000
    RX queue: 0
      RX desc=512 - RX free threshold=32
      RX threshold registers: pthresh=0 hthresh=0  wthresh=0
      RX Offloads=0x0
    TX queue: 0
      TX desc=512 - TX free threshold=32
      TX threshold registers: pthresh=0 hthresh=0  wthresh=0
      TX offloads=0x10000 - TX RS bit threshold=32
10/12/2020 18:09:18              dut.10.240.183.77: stop
10/12/2020 18:09:18              dut.10.240.183.77: 
Telling cores to ...
Waiting for lcores to finish...

  ---------------------- Forward statistics for port 1  ----------------------
  RX-packets: 0              RX-dropped: 0             RX-total: 0
  TX-packets: 0              TX-dropped: 0             TX-total: 0
  ----------------------------------------------------------------------------

  +++++++++++++++ Accumulated forward statistics for all ports+++++++++++++++
  RX-packets: 0              RX-dropped: 0             RX-total: 0
  TX-packets: 0              TX-dropped: 0             TX-total: 0
  ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Done.
10/12/2020 18:09:18              dut.10.240.183.77: start
10/12/2020 18:09:18              dut.10.240.183.77: 
rxonly packet forwarding - ports=1 - cores=1 - streams=1 - NUMA support enabled, MP allocation mode: native
Logical Core 2 (socket 0) forwards packets on 1 streams:
  RX P=1/Q=0 (socket 1) -> TX P=1/Q=0 (socket 1) peer=02:00:00:00:00:01

  rxonly packet forwarding packets/burst=32
  nb forwarding cores=1 - nb forwarding ports=1
  port 0: RX queue number: 1 Tx queue number: 1
    Rx offloads=0x0 Tx offloads=0x0
    RX queue: 0
      RX desc=0 - RX free threshold=32
      RX threshold registers: pthresh=8 hthresh=8  wthresh=0
      RX Offloads=0x0
    TX queue: 0
      TX desc=0 - TX free threshold=32
      TX threshold registers: pthresh=32 hthresh=0  wthresh=0
      TX offloads=0x0 - TX RS bit threshold=32
  port 1: RX queue number: 1 Tx queue number: 1
    Rx offloads=0x0 Tx offloads=0x10000
    RX queue: 0
      RX desc=512 - RX free threshold=32
      RX threshold registers: pthresh=0 hthresh=0  wthresh=0
      RX Offloads=0x0
    TX queue: 0
      TX desc=512 - TX free threshold=32
      TX threshold registers: pthresh=0 hthresh=0  wthresh=0
      TX offloads=0x10000 - TX RS bit threshold=32
10/12/2020 18:09:23              dut.10.240.183.77: stop
10/12/2020 18:09:23              dut.10.240.183.77: 
Telling cores to ...
Waiting for lcores to finish...

  ---------------------- Forward statistics for port 1  ----------------------
  RX-packets: 1              RX-dropped: 0             RX-total: 1
  TX-packets: 0              TX-dropped: 0             TX-total: 0
  ----------------------------------------------------------------------------

  +++++++++++++++ Accumulated forward statistics for all ports+++++++++++++++
  RX-packets: 1              RX-dropped: 0             RX-total: 1
  TX-packets: 0              TX-dropped: 0             TX-total: 0
  ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Done.
10/12/2020 18:09:23              dut.10.240.183.77: flow destroy 0 rule 0
10/12/2020 18:09:24              dut.10.240.183.77: 
Flow rule #0 destroyed
10/12/2020 18:09:24              dut.10.240.183.77: flow list 0
10/12/2020 18:09:24              dut.10.240.183.77: 
10/12/2020 18:09:24              dut.10.240.183.77: start
10/12/2020 18:09:24              dut.10.240.183.77: 
rxonly packet forwarding - ports=1 - cores=1 - streams=1 - NUMA support enabled, MP allocation mode: native
Logical Core 2 (socket 0) forwards packets on 1 streams:
  RX P=1/Q=0 (socket 1) -> TX P=1/Q=0 (socket 1) peer=02:00:00:00:00:01

  rxonly packet forwarding packets/burst=32
  nb forwarding cores=1 - nb forwarding ports=1
  port 0: RX queue number: 1 Tx queue number: 1
    Rx offloads=0x0 Tx offloads=0x0
    RX queue: 0
      RX desc=0 - RX free threshold=32
      RX threshold registers: pthresh=8 hthresh=8  wthresh=0
      RX Offloads=0x0
    TX queue: 0
      TX desc=0 - TX free threshold=32
      TX threshold registers: pthresh=32 hthresh=0  wthresh=0
      TX offloads=0x0 - TX RS bit threshold=32
  port 1: RX queue number: 1 Tx queue number: 1
    Rx offloads=0x0 Tx offloads=0x10000
    RX queue: 0
      RX desc=512 - RX free threshold=32
      RX threshold registers: pthresh=0 hthresh=0  wthresh=0
      RX Offloads=0x0
    TX queue: 0
      TX desc=512 - TX free threshold=32
      TX threshold registers: pthresh=0 hthresh=0  wthresh=0
      TX offloads=0x10000 - TX RS bit threshold=32
10/12/2020 18:09:29              dut.10.240.183.77: stop
10/12/2020 18:09:29              dut.10.240.183.77: 
Telling cores to ...
Waiting for lcores to finish...

  ---------------------- Forward statistics for port 1  ----------------------
  RX-packets: 1              RX-dropped: 0             RX-total: 1
  TX-packets: 0              TX-dropped: 0             TX-total: 0
  ----------------------------------------------------------------------------

  +++++++++++++++ Accumulated forward statistics for all ports+++++++++++++++
  RX-packets: 1              RX-dropped: 0             RX-total: 1
  TX-packets: 0              TX-dropped: 0             TX-total: 0
  ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Done.
10/12/2020 18:09:29              dut.10.240.183.77: flow flush 0
10/12/2020 18:09:29              dut.10.240.183.77: 
10/12/2020 18:09:29              dut.10.240.183.77: clear port stats all
10/12/2020 18:09:29              dut.10.240.183.77: 

  NIC statistics for port 0 cleared

  NIC statistics for port 1 cleared
10/12/2020 18:09:29              dut.10.240.183.77: flow validate 0 priority 0 ingress pattern eth / ipv4 src is 192.168.0.2 / l2tpv3oip session_id is 1 / end actions drop / end
10/12/2020 18:09:29              dut.10.240.183.77: 
Flow rule validated
10/12/2020 18:09:29              dut.10.240.183.77: flow create 0 priority 0 ingress pattern eth / ipv4 src is 192.168.0.2 / l2tpv3oip session_id is 1 / end actions drop / end
10/12/2020 18:09:29              dut.10.240.183.77: 
Flow rule #0 created
10/12/2020 18:09:29              dut.10.240.183.77: flow list 0
10/12/2020 18:09:29              dut.10.240.183.77: 
ID	Group	Prio	Attr	Rule
0	0	0	i--	ETH IPV4 L2TPV3OIP => DROP
10/12/2020 18:09:29              dut.10.240.183.77: start
10/12/2020 18:09:29              dut.10.240.183.77: 
rxonly packet forwarding - ports=1 - cores=1 - streams=1 - NUMA support enabled, MP allocation mode: native
Logical Core 2 (socket 0) forwards packets on 1 streams:
  RX P=1/Q=0 (socket 1) -> TX P=1/Q=0 (socket 1) peer=02:00:00:00:00:01

  rxonly packet forwarding packets/burst=32
  nb forwarding cores=1 - nb forwarding ports=1
  port 0: RX queue number: 1 Tx queue number: 1
    Rx offloads=0x0 Tx offloads=0x0
    RX queue: 0
      RX desc=0 - RX free threshold=32
      RX threshold registers: pthresh=8 hthresh=8  wthresh=0
      RX Offloads=0x0
    TX queue: 0
      TX desc=0 - TX free threshold=32
      TX threshold registers: pthresh=32 hthresh=0  wthresh=0
      TX offloads=0x0 - TX RS bit threshold=32
  port 1: RX queue number: 1 Tx queue number: 1
    Rx offloads=0x0 Tx offloads=0x10000
    RX queue: 0
      RX desc=512 - RX free threshold=32
      RX threshold registers: pthresh=0 hthresh=0  wthresh=0
      RX Offloads=0x0
    TX queue: 0
      TX desc=512 - TX free threshold=32
      TX threshold registers: pthresh=0 hthresh=0  wthresh=0
      TX offloads=0x10000 - TX RS bit threshold=32
10/12/2020 18:09:35              dut.10.240.183.77: stop
10/12/2020 18:09:35              dut.10.240.183.77: 
Telling cores to ...
Waiting for lcores to finish...

  ---------------------- Forward statistics for port 1  ----------------------
  RX-packets: 0              RX-dropped: 0             RX-total: 0
  TX-packets: 0              TX-dropped: 0             TX-total: 0
  ----------------------------------------------------------------------------

  +++++++++++++++ Accumulated forward statistics for all ports+++++++++++++++
  RX-packets: 0              RX-dropped: 0             RX-total: 0
  TX-packets: 0              TX-dropped: 0             TX-total: 0
  ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Done.
10/12/2020 18:09:35              dut.10.240.183.77: start
10/12/2020 18:09:35              dut.10.240.183.77: 
rxonly packet forwarding - ports=1 - cores=1 - streams=1 - NUMA support enabled, MP allocation mode: native
Logical Core 2 (socket 0) forwards packets on 1 streams:
  RX P=1/Q=0 (socket 1) -> TX P=1/Q=0 (socket 1) peer=02:00:00:00:00:01

  rxonly packet forwarding packets/burst=32
  nb forwarding cores=1 - nb forwarding ports=1
  port 0: RX queue number: 1 Tx queue number: 1
    Rx offloads=0x0 Tx offloads=0x0
    RX queue: 0
      RX desc=0 - RX free threshold=32
      RX threshold registers: pthresh=8 hthresh=8  wthresh=0
      RX Offloads=0x0
    TX queue: 0
      TX desc=0 - TX free threshold=32
      TX threshold registers: pthresh=32 hthresh=0  wthresh=0
      TX offloads=0x0 - TX RS bit threshold=32
  port 1: RX queue number: 1 Tx queue number: 1
    Rx offloads=0x0 Tx offloads=0x10000
    RX queue: 0
      RX desc=512 - RX free threshold=32
      RX threshold registers: pthresh=0 hthresh=0  wthresh=0
      RX Offloads=0x0
    TX queue: 0
      TX desc=512 - TX free threshold=32
      TX threshold registers: pthresh=0 hthresh=0  wthresh=0
      TX offloads=0x10000 - TX RS bit threshold=32
10/12/2020 18:09:40              dut.10.240.183.77: stop
10/12/2020 18:09:40              dut.10.240.183.77: 
Telling cores to ...
Waiting for lcores to finish...

  ---------------------- Forward statistics for port 1  ----------------------
  RX-packets: 1              RX-dropped: 0             RX-total: 1
  TX-packets: 0              TX-dropped: 0             TX-total: 0
  ----------------------------------------------------------------------------

  +++++++++++++++ Accumulated forward statistics for all ports+++++++++++++++
  RX-packets: 1              RX-dropped: 0             RX-total: 1
  TX-packets: 0              TX-dropped: 0             TX-total: 0
  ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Done.
10/12/2020 18:09:40              dut.10.240.183.77: flow destroy 0 rule 0
10/12/2020 18:09:40              dut.10.240.183.77: 
Flow rule #0 destroyed
10/12/2020 18:09:40              dut.10.240.183.77: flow list 0
10/12/2020 18:09:40              dut.10.240.183.77: 
10/12/2020 18:09:40              dut.10.240.183.77: start
10/12/2020 18:09:40              dut.10.240.183.77: 
rxonly packet forwarding - ports=1 - cores=1 - streams=1 - NUMA support enabled, MP allocation mode: native
Logical Core 2 (socket 0) forwards packets on 1 streams:
  RX P=1/Q=0 (socket 1) -> TX P=1/Q=0 (socket 1) peer=02:00:00:00:00:01

  rxonly packet forwarding packets/burst=32
  nb forwarding cores=1 - nb forwarding ports=1
  port 0: RX queue number: 1 Tx queue number: 1
    Rx offloads=0x0 Tx offloads=0x0
    RX queue: 0
      RX desc=0 - RX free threshold=32
      RX threshold registers: pthresh=8 hthresh=8  wthresh=0
      RX Offloads=0x0
    TX queue: 0
      TX desc=0 - TX free threshold=32
      TX threshold registers: pthresh=32 hthresh=0  wthresh=0
      TX offloads=0x0 - TX RS bit threshold=32
  port 1: RX queue number: 1 Tx queue number: 1
    Rx offloads=0x0 Tx offloads=0x10000
    RX queue: 0
      RX desc=512 - RX free threshold=32
      RX threshold registers: pthresh=0 hthresh=0  wthresh=0
      RX Offloads=0x0
    TX queue: 0
      TX desc=512 - TX free threshold=32
      TX threshold registers: pthresh=0 hthresh=0  wthresh=0
      TX offloads=0x10000 - TX RS bit threshold=32
10/12/2020 18:09:45              dut.10.240.183.77: stop
10/12/2020 18:09:45              dut.10.240.183.77: 
Telling cores to ...
Waiting for lcores to finish...

  ---------------------- Forward statistics for port 1  ----------------------
  RX-packets: 1              RX-dropped: 0             RX-total: 1
  TX-packets: 0              TX-dropped: 0             TX-total: 0
  ----------------------------------------------------------------------------

  +++++++++++++++ Accumulated forward statistics for all ports+++++++++++++++
  RX-packets: 1              RX-dropped: 0             RX-total: 1
  TX-packets: 0              TX-dropped: 0             TX-total: 0
  ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Done.
10/12/2020 18:09:45              dut.10.240.183.77: flow flush 0
10/12/2020 18:09:45              dut.10.240.183.77: 
10/12/2020 18:09:45              dut.10.240.183.77: clear port stats all
10/12/2020 18:09:45              dut.10.240.183.77: 

  NIC statistics for port 0 cleared

  NIC statistics for port 1 cleared
10/12/2020 18:09:45              dut.10.240.183.77: flow validate 0 priority 0 ingress pattern eth / ipv4 src is 192.168.0.2 / esp spi is 1 / end actions drop / end
10/12/2020 18:09:46              dut.10.240.183.77: 
Flow rule validated
10/12/2020 18:09:46              dut.10.240.183.77: flow create 0 priority 0 ingress pattern eth / ipv4 src is 192.168.0.2 / esp spi is 1 / end actions drop / end
10/12/2020 18:09:46              dut.10.240.183.77: 
Flow rule #0 created
10/12/2020 18:09:46              dut.10.240.183.77: flow list 0
10/12/2020 18:09:46              dut.10.240.183.77: 
ID	Group	Prio	Attr	Rule
0	0	0	i--	ETH IPV4 ESP => DROP
10/12/2020 18:09:46              dut.10.240.183.77: start
10/12/2020 18:09:46              dut.10.240.183.77: 
rxonly packet forwarding - ports=1 - cores=1 - streams=1 - NUMA support enabled, MP allocation mode: native
Logical Core 2 (socket 0) forwards packets on 1 streams:
  RX P=1/Q=0 (socket 1) -> TX P=1/Q=0 (socket 1) peer=02:00:00:00:00:01

  rxonly packet forwarding packets/burst=32
  nb forwarding cores=1 - nb forwarding ports=1
  port 0: RX queue number: 1 Tx queue number: 1
    Rx offloads=0x0 Tx offloads=0x0
    RX queue: 0
      RX desc=0 - RX free threshold=32
      RX threshold registers: pthresh=8 hthresh=8  wthresh=0
      RX Offloads=0x0
    TX queue: 0
      TX desc=0 - TX free threshold=32
      TX threshold registers: pthresh=32 hthresh=0  wthresh=0
      TX offloads=0x0 - TX RS bit threshold=32
  port 1: RX queue number: 1 Tx queue number: 1
    Rx offloads=0x0 Tx offloads=0x10000
    RX queue: 0
      RX desc=512 - RX free threshold=32
      RX threshold registers: pthresh=0 hthresh=0  wthresh=0
      RX Offloads=0x0
    TX queue: 0
      TX desc=512 - TX free threshold=32
      TX threshold registers: pthresh=0 hthresh=0  wthresh=0
      TX offloads=0x10000 - TX RS bit threshold=32
10/12/2020 18:09:51              dut.10.240.183.77: stop
10/12/2020 18:09:51              dut.10.240.183.77: 
Telling cores to ...
Waiting for lcores to finish...

  ---------------------- Forward statistics for port 1  ----------------------
  RX-packets: 0              RX-dropped: 0             RX-total: 0
  TX-packets: 0              TX-dropped: 0             TX-total: 0
  ----------------------------------------------------------------------------

  +++++++++++++++ Accumulated forward statistics for all ports+++++++++++++++
  RX-packets: 0              RX-dropped: 0             RX-total: 0
  TX-packets: 0              TX-dropped: 0             TX-total: 0
  ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Done.
10/12/2020 18:09:51              dut.10.240.183.77: start
10/12/2020 18:09:51              dut.10.240.183.77: 
rxonly packet forwarding - ports=1 - cores=1 - streams=1 - NUMA support enabled, MP allocation mode: native
Logical Core 2 (socket 0) forwards packets on 1 streams:
  RX P=1/Q=0 (socket 1) -> TX P=1/Q=0 (socket 1) peer=02:00:00:00:00:01

  rxonly packet forwarding packets/burst=32
  nb forwarding cores=1 - nb forwarding ports=1
  port 0: RX queue number: 1 Tx queue number: 1
    Rx offloads=0x0 Tx offloads=0x0
    RX queue: 0
      RX desc=0 - RX free threshold=32
      RX threshold registers: pthresh=8 hthresh=8  wthresh=0
      RX Offloads=0x0
    TX queue: 0
      TX desc=0 - TX free threshold=32
      TX threshold registers: pthresh=32 hthresh=0  wthresh=0
      TX offloads=0x0 - TX RS bit threshold=32
  port 1: RX queue number: 1 Tx queue number: 1
    Rx offloads=0x0 Tx offloads=0x10000
    RX queue: 0
      RX desc=512 - RX free threshold=32
      RX threshold registers: pthresh=0 hthresh=0  wthresh=0
      RX Offloads=0x0
    TX queue: 0
      TX desc=512 - TX free threshold=32
      TX threshold registers: pthresh=0 hthresh=0  wthresh=0
      TX offloads=0x10000 - TX RS bit threshold=32
10/12/2020 18:09:56              dut.10.240.183.77: stop
10/12/2020 18:09:56              dut.10.240.183.77: 
Telling cores to ...
Waiting for lcores to finish...

  ---------------------- Forward statistics for port 1  ----------------------
  RX-packets: 1              RX-dropped: 0             RX-total: 1
  TX-packets: 0              TX-dropped: 0             TX-total: 0
  ----------------------------------------------------------------------------

  +++++++++++++++ Accumulated forward statistics for all ports+++++++++++++++
  RX-packets: 1              RX-dropped: 0             RX-total: 1
  TX-packets: 0              TX-dropped: 0             TX-total: 0
  ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Done.
10/12/2020 18:09:56              dut.10.240.183.77: flow destroy 0 rule 0
10/12/2020 18:09:56              dut.10.240.183.77: 
Flow rule #0 destroyed
10/12/2020 18:09:56              dut.10.240.183.77: flow list 0
10/12/2020 18:09:56              dut.10.240.183.77: 
10/12/2020 18:09:56              dut.10.240.183.77: start
10/12/2020 18:09:57              dut.10.240.183.77: 
rxonly packet forwarding - ports=1 - cores=1 - streams=1 - NUMA support enabled, MP allocation mode: native
Logical Core 2 (socket 0) forwards packets on 1 streams:
  RX P=1/Q=0 (socket 1) -> TX P=1/Q=0 (socket 1) peer=02:00:00:00:00:01

  rxonly packet forwarding packets/burst=32
  nb forwarding cores=1 - nb forwarding ports=1
  port 0: RX queue number: 1 Tx queue number: 1
    Rx offloads=0x0 Tx offloads=0x0
    RX queue: 0
      RX desc=0 - RX free threshold=32
      RX threshold registers: pthresh=8 hthresh=8  wthresh=0
      RX Offloads=0x0
    TX queue: 0
      TX desc=0 - TX free threshold=32
      TX threshold registers: pthresh=32 hthresh=0  wthresh=0
      TX offloads=0x0 - TX RS bit threshold=32
  port 1: RX queue number: 1 Tx queue number: 1
    Rx offloads=0x0 Tx offloads=0x10000
    RX queue: 0
      RX desc=512 - RX free threshold=32
      RX threshold registers: pthresh=0 hthresh=0  wthresh=0
      RX Offloads=0x0
    TX queue: 0
      TX desc=512 - TX free threshold=32
      TX threshold registers: pthresh=0 hthresh=0  wthresh=0
      TX offloads=0x10000 - TX RS bit threshold=32
10/12/2020 18:10:02              dut.10.240.183.77: stop
10/12/2020 18:10:02              dut.10.240.183.77: 
Telling cores to ...
Waiting for lcores to finish...

  ---------------------- Forward statistics for port 1  ----------------------
  RX-packets: 1              RX-dropped: 0             RX-total: 1
  TX-packets: 0              TX-dropped: 0             TX-total: 0
  ----------------------------------------------------------------------------

  +++++++++++++++ Accumulated forward statistics for all ports+++++++++++++++
  RX-packets: 1              RX-dropped: 0             RX-total: 1
  TX-packets: 0              TX-dropped: 0             TX-total: 0
  ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Done.
10/12/2020 18:10:02              dut.10.240.183.77: flow flush 0
10/12/2020 18:10:02              dut.10.240.183.77: 
10/12/2020 18:10:02              dut.10.240.183.77: clear port stats all
10/12/2020 18:10:02              dut.10.240.183.77: 

  NIC statistics for port 0 cleared

  NIC statistics for port 1 cleared
10/12/2020 18:10:02              dut.10.240.183.77: flow validate 0 priority 0 ingress pattern eth / ipv4 src is 192.168.0.1 / end actions drop / end
10/12/2020 18:10:02              dut.10.240.183.77: 
Flow rule validated
10/12/2020 18:10:02              dut.10.240.183.77: flow validate 0 ingress pattern eth / ipv4 dst spec 224.0.0.0 dst mask 240.0.0.0 / end actions drop / end
10/12/2020 18:10:02              dut.10.240.183.77: 
Flow rule validated
10/12/2020 18:10:02              dut.10.240.183.77: flow validate 0 ingress pattern eth / ipv4 dst is 192.168.0.3 / nvgre tni is 2 / eth / ipv4 src is 192.168.1.2 dst is 192.168.1.3 / end actions drop / end
10/12/2020 18:10:02              dut.10.240.183.77: 
Flow rule validated
10/12/2020 18:10:02              dut.10.240.183.77: flow validate 0 ingress pattern eth dst is 00:11:22:33:44:55 / vlan tci is 1 / pppoes seid is 3 / pppoe_proto_id is 0x0021 / end actions drop / end
10/12/2020 18:10:02              dut.10.240.183.77: 
Flow rule validated
10/12/2020 18:10:02              dut.10.240.183.77: flow validate 0 ingress pattern eth / ipv4 / udp / pfcp s_field is 0 / end actions drop / end
10/12/2020 18:10:02              dut.10.240.183.77: 
Flow rule validated
10/12/2020 18:10:02              dut.10.240.183.77: flow validate 0 ingress pattern eth dst is 00:11:22:33:44:55 / vlan tci is 1 / end actions drop / end
10/12/2020 18:10:02              dut.10.240.183.77: 
Flow rule validated
10/12/2020 18:10:02              dut.10.240.183.77: flow validate 0 priority 0 ingress pattern eth / ipv4 src is 192.168.0.4 / l2tpv3oip session_id is 1 / end actions drop / end
10/12/2020 18:10:02              dut.10.240.183.77: 
Flow rule validated
10/12/2020 18:10:02              dut.10.240.183.77: flow validate 0 priority 0 ingress pattern eth / ipv4 src is 192.168.0.5 / esp spi is 1 / end actions drop / end
10/12/2020 18:10:02              dut.10.240.183.77: 
Flow rule validated
10/12/2020 18:10:02              dut.10.240.183.77: flow create 0 priority 0 ingress pattern eth / ipv4 src is 192.168.0.1 / end actions drop / end
10/12/2020 18:10:02              dut.10.240.183.77: 
Flow rule #0 created
10/12/2020 18:10:02              dut.10.240.183.77: flow create 0 ingress pattern eth / ipv4 dst spec 224.0.0.0 dst mask 240.0.0.0 / end actions drop / end
10/12/2020 18:10:03              dut.10.240.183.77: 
Flow rule #1 created
10/12/2020 18:10:03              dut.10.240.183.77: flow create 0 ingress pattern eth / ipv4 dst is 192.168.0.3 / nvgre tni is 2 / eth / ipv4 src is 192.168.1.2 dst is 192.168.1.3 / end actions drop / end
10/12/2020 18:10:03              dut.10.240.183.77: 
Flow rule #2 created
10/12/2020 18:10:03              dut.10.240.183.77: flow create 0 ingress pattern eth dst is 00:11:22:33:44:55 / vlan tci is 1 / pppoes seid is 3 / pppoe_proto_id is 0x0021 / end actions drop / end
10/12/2020 18:10:03              dut.10.240.183.77: 
Flow rule #3 created
10/12/2020 18:10:03              dut.10.240.183.77: flow create 0 ingress pattern eth / ipv4 / udp / pfcp s_field is 0 / end actions drop / end
10/12/2020 18:10:03              dut.10.240.183.77: 
Flow rule #4 created
10/12/2020 18:10:03              dut.10.240.183.77: flow create 0 ingress pattern eth dst is 00:11:22:33:44:55 / vlan tci is 1 / end actions drop / end
10/12/2020 18:10:03              dut.10.240.183.77: 
Flow rule #5 created
10/12/2020 18:10:03              dut.10.240.183.77: flow create 0 priority 0 ingress pattern eth / ipv4 src is 192.168.0.4 / l2tpv3oip session_id is 1 / end actions drop / end
10/12/2020 18:10:03              dut.10.240.183.77: 
Flow rule #6 created
10/12/2020 18:10:03              dut.10.240.183.77: flow create 0 priority 0 ingress pattern eth / ipv4 src is 192.168.0.5 / esp spi is 1 / end actions drop / end
10/12/2020 18:10:03              dut.10.240.183.77: 
Flow rule #7 created
10/12/2020 18:10:03              dut.10.240.183.77: flow list 0
10/12/2020 18:10:03              dut.10.240.183.77: 
ID	Group	Prio	Attr	Rule
0	0	0	i--	ETH IPV4 => DROP
1	0	0	i--	ETH IPV4 => DROP
2	0	0	i--	ETH IPV4 NVGRE ETH IPV4 => DROP
3	0	0	i--	ETH VLAN PPPOES PPPOE_PROTO_ID => DROP
4	0	0	i--	ETH IPV4 UDP PFCP => DROP
5	0	0	i--	ETH VLAN => DROP
6	0	0	i--	ETH IPV4 L2TPV3OIP => DROP
7	0	0	i--	ETH IPV4 ESP => DROP
10/12/2020 18:10:03              dut.10.240.183.77: start
10/12/2020 18:10:03              dut.10.240.183.77: 
rxonly packet forwarding - ports=1 - cores=1 - streams=1 - NUMA support enabled, MP allocation mode: native
Logical Core 2 (socket 0) forwards packets on 1 streams:
  RX P=1/Q=0 (socket 1) -> TX P=1/Q=0 (socket 1) peer=02:00:00:00:00:01

  rxonly packet forwarding packets/burst=32
  nb forwarding cores=1 - nb forwarding ports=1
  port 0: RX queue number: 1 Tx queue number: 1
    Rx offloads=0x0 Tx offloads=0x0
    RX queue: 0
      RX desc=0 - RX free threshold=32
      RX threshold registers: pthresh=8 hthresh=8  wthresh=0
      RX Offloads=0x0
    TX queue: 0
      TX desc=0 - TX free threshold=32
      TX threshold registers: pthresh=32 hthresh=0  wthresh=0
      TX offloads=0x0 - TX RS bit threshold=32
  port 1: RX queue number: 1 Tx queue number: 1
    Rx offloads=0x0 Tx offloads=0x10000
    RX queue: 0
      RX desc=512 - RX free threshold=32
      RX threshold registers: pthresh=0 hthresh=0  wthresh=0
      RX Offloads=0x0
    TX queue: 0
      TX desc=512 - TX free threshold=32
      TX threshold registers: pthresh=0 hthresh=0  wthresh=0
      TX offloads=0x10000 - TX RS bit threshold=32
10/12/2020 18:10:08              dut.10.240.183.77: stop
10/12/2020 18:10:08              dut.10.240.183.77: 
Telling cores to ...
Waiting for lcores to finish...

  ---------------------- Forward statistics for port 1  ----------------------
  RX-packets: 0              RX-dropped: 1             RX-total: 1
  TX-packets: 0              TX-dropped: 0             TX-total: 0
  ----------------------------------------------------------------------------

  +++++++++++++++ Accumulated forward statistics for all ports+++++++++++++++
  RX-packets: 0              RX-dropped: 1             RX-total: 1
  TX-packets: 0              TX-dropped: 0             TX-total: 0
  ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Done.
10/12/2020 18:10:08              dut.10.240.183.77: start
10/12/2020 18:10:08              dut.10.240.183.77: 
rxonly packet forwarding - ports=1 - cores=1 - streams=1 - NUMA support enabled, MP allocation mode: native
Logical Core 2 (socket 0) forwards packets on 1 streams:
  RX P=1/Q=0 (socket 1) -> TX P=1/Q=0 (socket 1) peer=02:00:00:00:00:01

  rxonly packet forwarding packets/burst=32
  nb forwarding cores=1 - nb forwarding ports=1
  port 0: RX queue number: 1 Tx queue number: 1
    Rx offloads=0x0 Tx offloads=0x0
    RX queue: 0
      RX desc=0 - RX free threshold=32
      RX threshold registers: pthresh=8 hthresh=8  wthresh=0
      RX Offloads=0x0
    TX queue: 0
      TX desc=0 - TX free threshold=32
      TX threshold registers: pthresh=32 hthresh=0  wthresh=0
      TX offloads=0x0 - TX RS bit threshold=32
  port 1: RX queue number: 1 Tx queue number: 1
    Rx offloads=0x0 Tx offloads=0x10000
    RX queue: 0
      RX desc=512 - RX free threshold=32
      RX threshold registers: pthresh=0 hthresh=0  wthresh=0
      RX Offloads=0x0
    TX queue: 0
      TX desc=512 - TX free threshold=32
      TX threshold registers: pthresh=0 hthresh=0  wthresh=0
      TX offloads=0x10000 - TX RS bit threshold=32
10/12/2020 18:10:14              dut.10.240.183.77: stop
10/12/2020 18:10:14              dut.10.240.183.77: 
Telling cores to ...
Waiting for lcores to finish...

  ---------------------- Forward statistics for port 1  ----------------------
  RX-packets: 8              RX-dropped: 0             RX-total: 8
  TX-packets: 0              TX-dropped: 0             TX-total: 0
  ----------------------------------------------------------------------------

  +++++++++++++++ Accumulated forward statistics for all ports+++++++++++++++
  RX-packets: 8              RX-dropped: 0             RX-total: 8
  TX-packets: 0              TX-dropped: 0             TX-total: 0
  ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Done.
10/12/2020 18:10:14              dut.10.240.183.77: flow destroy 0 rule 0
10/12/2020 18:10:14              dut.10.240.183.77: 
Flow rule #0 destroyed
10/12/2020 18:10:14              dut.10.240.183.77: flow destroy 0 rule 1
10/12/2020 18:10:14              dut.10.240.183.77: 
Flow rule #1 destroyed
10/12/2020 18:10:14              dut.10.240.183.77: flow destroy 0 rule 2
10/12/2020 18:10:14              dut.10.240.183.77: 
Flow rule #2 destroyed
10/12/2020 18:10:14              dut.10.240.183.77: flow destroy 0 rule 3
10/12/2020 18:10:14              dut.10.240.183.77: 
Flow rule #3 destroyed
10/12/2020 18:10:14              dut.10.240.183.77: flow destroy 0 rule 4
10/12/2020 18:10:14              dut.10.240.183.77: 
Flow rule #4 destroyed
10/12/2020 18:10:14              dut.10.240.183.77: flow destroy 0 rule 5
10/12/2020 18:10:14              dut.10.240.183.77: 
Flow rule #5 destroyed
10/12/2020 18:10:14              dut.10.240.183.77: flow destroy 0 rule 6
10/12/2020 18:10:14              dut.10.240.183.77: 
Flow rule #6 destroyed
10/12/2020 18:10:14              dut.10.240.183.77: flow destroy 0 rule 7
10/12/2020 18:10:14              dut.10.240.183.77: 
Flow rule #7 destroyed
10/12/2020 18:10:14              dut.10.240.183.77: flow list 0
10/12/2020 18:10:14              dut.10.240.183.77: 
10/12/2020 18:10:14              dut.10.240.183.77: start
10/12/2020 18:10:14              dut.10.240.183.77: 
rxonly packet forwarding - ports=1 - cores=1 - streams=1 - NUMA support enabled, MP allocation mode: native
Logical Core 2 (socket 0) forwards packets on 1 streams:
  RX P=1/Q=0 (socket 1) -> TX P=1/Q=0 (socket 1) peer=02:00:00:00:00:01

  rxonly packet forwarding packets/burst=32
  nb forwarding cores=1 - nb forwarding ports=1
  port 0: RX queue number: 1 Tx queue number: 1
    Rx offloads=0x0 Tx offloads=0x0
    RX queue: 0
      RX desc=0 - RX free threshold=32
      RX threshold registers: pthresh=8 hthresh=8  wthresh=0
      RX Offloads=0x0
    TX queue: 0
      TX desc=0 - TX free threshold=32
      TX threshold registers: pthresh=32 hthresh=0  wthresh=0
      TX offloads=0x0 - TX RS bit threshold=32
  port 1: RX queue number: 1 Tx queue number: 1
    Rx offloads=0x0 Tx offloads=0x10000
    RX queue: 0
      RX desc=512 - RX free threshold=32
      RX threshold registers: pthresh=0 hthresh=0  wthresh=0
      RX Offloads=0x0
    TX queue: 0
      TX desc=512 - TX free threshold=32
      TX threshold registers: pthresh=0 hthresh=0  wthresh=0
      TX offloads=0x10000 - TX RS bit threshold=32
10/12/2020 18:10:19              dut.10.240.183.77: stop
10/12/2020 18:10:20              dut.10.240.183.77: 
Telling cores to ...
Waiting for lcores to finish...

  ---------------------- Forward statistics for port 1  ----------------------
  RX-packets: 8              RX-dropped: 0             RX-total: 8
  TX-packets: 0              TX-dropped: 0             TX-total: 0
  ----------------------------------------------------------------------------

  +++++++++++++++ Accumulated forward statistics for all ports+++++++++++++++
  RX-packets: 8              RX-dropped: 0             RX-total: 8
  TX-packets: 0              TX-dropped: 0             TX-total: 0
  ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Done.
10/12/2020 18:10:20              dut.10.240.183.77: flow flush 0
10/12/2020 18:10:20              dut.10.240.183.77: 
10/12/2020 18:10:20              dut.10.240.183.77: clear port stats all
10/12/2020 18:10:20              dut.10.240.183.77: 

  NIC statistics for port 0 cleared

  NIC statistics for port 1 cleared
10/12/2020 18:10:20         CVLDCFSwitchFilterTest: Test Case test_mac_drop_action Result PASSED:
10/12/2020 18:10:20              dut.10.240.183.77: flow flush 0
10/12/2020 18:10:20              dut.10.240.183.77: 
10/12/2020 18:10:20              dut.10.240.183.77: clear port stats all
10/12/2020 18:10:20              dut.10.240.183.77: 

  NIC statistics for port 0 cleared

  NIC statistics for port 1 cleared
10/12/2020 18:10:20              dut.10.240.183.77: quit
10/12/2020 18:10:21              dut.10.240.183.77: 

Stopping port 0...
Stopping ports...
Done

Stopping port 1...
Stopping ports...
Done

Shutting down port 0...
Closing ports...
Port 0 is closed
Done

Shutting down port 1...
Closing ports...
Port 1 is closed
Done

Bye...
10/12/2020 18:10:21              dut.10.240.183.77: kill_all: called by dut and prefix list has value.
10/12/2020 18:10:25                            dts: 
TEST SUITE ENDED: CVLDCFSwitchFilterTest

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [dts] [PATCH V1] tests/cvl_dcf_switch_filter: add drop action test case
  2020-12-11  2:33 [dts] [PATCH V1] tests/cvl_dcf_switch_filter: add drop action test case ChenBo
  2020-12-11  2:38 ` Chen, BoX C
@ 2020-12-14  5:30 ` Lin, Xueqin
  2020-12-21  7:14 ` Tu, Lijuan
  2 siblings, 0 replies; 4+ messages in thread
From: Lin, Xueqin @ 2020-12-14  5:30 UTC (permalink / raw)
  To: Chen, BoX C, dts; +Cc: Chen, BoX C

Acked-by: Xueqin Lin <Xueqin.lin@intel.com>

> -----Original Message-----
> From: dts <dts-bounces@dpdk.org> On Behalf Of ChenBo
> Sent: Friday, December 11, 2020 10:33 AM
> To: dts@dpdk.org
> Cc: Chen, BoX C <box.c.chen@intel.com>
> Subject: [dts] [PATCH V1] tests/cvl_dcf_switch_filter: add drop action test
> case
> 
> Add test cases to test the drop action function of DCF.
> 
> Signed-off-by: ChenBo <box.c.chen@intel.com>
> ---
>  tests/TestSuite_cvl_dcf_switch_filter.py | 176 +++++++++++++++++++++++
>  1 file changed, 176 insertions(+)
> 
> diff --git a/tests/TestSuite_cvl_dcf_switch_filter.py
> b/tests/TestSuite_cvl_dcf_switch_filter.py
> index a65b73a3..be2e6cd6 100644
> --- a/tests/TestSuite_cvl_dcf_switch_filter.py
> +++ b/tests/TestSuite_cvl_dcf_switch_filter.py
> @@ -1216,6 +1216,156 @@ tv_mac_vlan_pppoe_ipcp_pay = {
>                    "expect_results":{"expect_pkts":0}}
>  }
> 
> +tv_mac_ipv4_drop = {
> +    "name": "tv_mac_ipv4_drop",
> +    "rte_flow_pattern": "flow create 0 priority 0 ingress pattern eth / ipv4 src
> is 192.168.0.1 / end actions drop / end",
> +    "matched": {"scapy_str":
> ['Ether(dst="00:11:22:33:44:55")/IP(src="192.168.0.1")/Raw("x"*80)'],
> +               "check_func": {"func": rfc.check_vf_rx_packets_number,
> +                             "param": {"expect_port": 1, "expect_queues": "null"}},
> +               "expect_results": {"expect_pkts": 0}},
> +    "mismatched": {"scapy_str":
> ['Ether(dst="00:11:22:33:44:55")/IP(src="192.168.0.2")/Raw("x"*80)'],
> +                "check_func": {"func": rfc.check_vf_rx_packets_number,
> +                             "param": {"expect_port": 1, "expect_queues": "null"}},
> +               "expect_results": {"expect_pkts": 1}} }
> +
> +tv_mac_ipv4_mask_drop = {
> +    "name": "tv_mac_ipv4_drop",
> +    "rte_flow_pattern": "flow create 0 ingress pattern eth / ipv4 dst spec
> 224.0.0.0 dst mask 240.0.0.0 / end actions drop / end",
> +    "matched": {"scapy_str":
> ['Ether(dst="00:11:22:33:44:55")/IP(dst="239.0.0.0")/TCP()/Raw("x"*80)'],
> +               "check_func": {"func": rfc.check_vf_rx_packets_number,
> +                             "param": {"expect_port": 1, "expect_queues": "null"}},
> +               "expect_results": {"expect_pkts": 0}},
> +    "mismatched": {"scapy_str":
> ['Ether(dst="00:11:22:33:44:55")/IP(dst="128.0.0.0")/TCP()/Raw("x"*80)'],
> +                "check_func": {"func": rfc.check_vf_rx_packets_number,
> +                             "param": {"expect_port": 1, "expect_queues": "null"}},
> +               "expect_results": {"expect_pkts": 1}} }
> +
> +tv_mac_nvgre_drop = {
> +    "name": "tv_mac_nvgre_drop",
> +    "rte_flow_pattern": "flow create 0 ingress pattern eth / ipv4 dst is
> 192.168.0.1 / nvgre tni is 2 / eth / ipv4 src is 192.168.1.2 dst is 192.168.1.3 /
> end actions drop / end",
> +    "matched": {"scapy_str":
> ['Ether(dst="00:11:22:33:44:55")/IP(dst="192.168.0.1")/NVGRE(TNI=2)/Ether
> ()/IP(src="192.168.1.2", dst="192.168.1.3")/Raw("x"*80)'],
> +               "check_func": {"func": rfc.check_vf_rx_packets_number,
> +                             "param": {"expect_port": 1, "expect_queues": "null"}},
> +               "expect_results": {"expect_pkts": 0}},
> +    "mismatched": {"scapy_str":
> ['Ether(dst="00:11:22:33:44:55")/IP(dst="192.168.0.1")/NVGRE(TNI=1)/Ether
> ()/IP(src="192.168.1.2", dst="192.168.1.3")/Raw("x"*80)'],
> +                "check_func": {"func": rfc.check_vf_rx_packets_number,
> +                             "param": {"expect_port": 1, "expect_queues": "null"}},
> +               "expect_results": {"expect_pkts": 1}} }
> +
> +tv_mac_ppoes_drop = {
> +    "name": "tv_mac_ppoes_drop",
> +    "rte_flow_pattern": "flow create 0 ingress pattern eth dst is
> 00:11:22:33:44:55 / vlan tci is 1 / pppoes seid is 3 / pppoe_proto_id is 0x0021
> / end actions drop / end",
> +    "matched": {"scapy_str":
> ['Ether(dst="00:11:22:33:44:55",type=0x8100)/Dot1Q(vlan=1,type=0x8864)/
> PPPoE(sessionid=3)/PPP(b"\\x00\\x21")/IP()/Raw("x" * 80)'],
> +               "check_func": {"func": rfc.check_vf_rx_packets_number,
> +                             "param": {"expect_port": 1, "expect_queues": "null"}},
> +               "expect_results": {"expect_pkts": 0}},
> +    "mismatched": {"scapy_str":
> ['Ether(dst="00:11:22:33:44:55",type=0x8100)/Dot1Q(vlan=1,type=0x8864)/
> PPPoE(sessionid=2)/PPP(b"\\x00\\x21")/IP()/Raw("x" * 80)'],
> +               "check_func": {"func": rfc.check_vf_rx_packets_number,
> +                             "param": {"expect_port": 1, "expect_queues": "null"}},
> +               "expect_results": {"expect_pkts": 1}} }
> +
> +tv_mac_pfcp_drop = {
> +    "name": "tv_mac_pfcp_drop",
> +    "rte_flow_pattern": "flow create 0 ingress pattern eth / ipv4 / udp / pfcp
> s_field is 0 / end actions drop / end",
> +    "matched": {"scapy_str":
> ['Ether(dst="00:11:22:33:44:55")/IP()/UDP(dport=8805)/PFCP(S=0)'],
> +               "check_func": {"func": rfc.check_vf_rx_packets_number,
> +                             "param": {"expect_port": 1, "expect_queues": "null"}},
> +               "expect_results": {"expect_pkts": 0}},
> +    "mismatched": {"scapy_str":
> ['Ether(dst="00:11:22:33:44:55")/IP()/UDP(dport=8805)/PFCP(S=1)'],
> +               "check_func": {"func": rfc.check_vf_rx_packets_number,
> +                             "param": {"expect_port": 1, "expect_queues": "null"}},
> +               "expect_results": {"expect_pkts": 1}} }
> +
> +tv_mac_vlan_drop = {
> +    "name": "tv_mac_vlan_drop",
> +    "rte_flow_pattern": "flow create 0 ingress pattern eth dst is
> 00:11:22:33:44:55 / vlan tci is 1 / end actions drop / end",
> +    "matched": {"scapy_str":
> ['Ether(dst="00:11:22:33:44:55",type=0x8100)/Dot1Q(vlan=1)/IP(src="192.16
> 8.0.1",dst="192.168.0.2",tos=4,ttl=2)/TCP()/Raw("X"*80)'],
> +               "check_func": {"func": rfc.check_vf_rx_packets_number,
> +                             "param": {"expect_port": 1, "expect_queues": "null"}},
> +               "expect_results": {"expect_pkts": 0}},
> +    "mismatched": {"scapy_str":
> ['Ether(dst="00:11:22:33:44:55",type=0x8100)/Dot1Q(vlan=2)/IP(src="192.16
> 8.0.1",dst="192.168.0.2",tos=4,ttl=2)/TCP()/Raw("X"*80)'],
> +               "check_func": {"func": rfc.check_vf_rx_packets_number,
> +                             "param": {"expect_port": 1, "expect_queues": "null"}},
> +               "expect_results": {"expect_pkts": 1}} }
> +
> +tv_mac_l2tp_drop = {
> +    "name": "tv_mac_l2tp_drop",
> +    "rte_flow_pattern": "flow create 0 priority 0 ingress pattern eth / ipv4 src
> is 192.168.0.2 / l2tpv3oip session_id is 1 / end actions drop / end",
> +    "matched": {"scapy_str":
> ["Ether(dst='00:11:22:33:44:55')/IP(src='192.168.0.2',
> proto=115)/L2TP(b'\\x00\\x00\\x00\\x01')/('X'*480)"],
> +               "check_func": {"func": rfc.check_vf_rx_packets_number,
> +                             "param": {"expect_port": 1, "expect_queues": "null"}},
> +               "expect_results": {"expect_pkts": 0}},
> +    "mismatched": {"scapy_str":
> ["Ether(dst='00:11:22:33:44:55')/IP(src='192.168.0.2',
> proto=115)/L2TP(b'\\x00\\x00\\x00\\x02')/('X'*480)"],
> +               "check_func": {"func": rfc.check_vf_rx_packets_number,
> +                             "param": {"expect_port": 1, "expect_queues": "null"}},
> +               "expect_results": {"expect_pkts": 1}} }
> +
> +tv_mac_esp_drop = {
> +    "name": "tv_mac_l2tp_drop",
> +    "rte_flow_pattern": "flow create 0 priority 0 ingress pattern eth / ipv4 src
> is 192.168.0.2 / esp spi is 1 / end actions drop / end",
> +    "matched": {"scapy_str":
> ['Ether(dst="00:11:22:33:44:55")/IP(src="192.168.0.2",
> proto=50)/ESP(spi=1)/("X"*480)'],
> +               "check_func": {"func": rfc.check_vf_rx_packets_number,
> +                             "param": {"expect_port": 1, "expect_queues": "null"}},
> +               "expect_results": {"expect_pkts": 0}},
> +    "mismatched": {"scapy_str":
> ['Ether(dst="00:11:22:33:44:55")/IP(src="192.168.0.2",
> proto=50)/ESP(spi=2)/("X"*480)'],
> +               "check_func": {"func": rfc.check_vf_rx_packets_number,
> +                             "param": {"expect_port": 1, "expect_queues": "null"}},
> +               "expect_results": {"expect_pkts": 1}} }
> +
> +tv_mac_blend_pkg_drop = {
> +    "name": "tv_mac_blend_pkg_drop",
> +    "rte_flow_pattern": ["flow create 0 priority 0 ingress pattern eth / ipv4
> src is 192.168.0.1 / end actions drop / end",
> +                         "flow create 0 ingress pattern eth / ipv4 dst spec 224.0.0.0 dst
> mask 240.0.0.0 / end actions drop / end",
> +                         "flow create 0 ingress pattern eth / ipv4 dst is 192.168.0.3 /
> nvgre tni is 2 / eth / ipv4 src is 192.168.1.2 dst is 192.168.1.3 / end actions
> drop / end",
> +                         "flow create 0 ingress pattern eth dst is 00:11:22:33:44:55 /
> vlan tci is 1 / pppoes seid is 3 / pppoe_proto_id is 0x0021 / end actions drop /
> end",
> +                         "flow create 0 ingress pattern eth / ipv4 / udp / pfcp s_field is
> 0 / end actions drop / end",
> +                         "flow create 0 ingress pattern eth dst is 00:11:22:33:44:55 /
> vlan tci is 1 / end actions drop / end",
> +                         "flow create 0 priority 0 ingress pattern eth / ipv4 src is
> 192.168.0.4 / l2tpv3oip session_id is 1 / end actions drop / end",
> +                         "flow create 0 priority 0 ingress pattern eth / ipv4 src is
> 192.168.0.5 / esp spi is 1 / end actions drop / end"],
> +    "matched": {"scapy_str":
> ['Ether(dst="00:11:22:33:44:55")/IP(src="192.168.0.1")/Raw("x"*80)',
> +
> 'Ether(dst="00:11:22:33:44:55")/IP(dst="239.0.0.0")/TCP()/Raw("x"*80)',
> +
> 'Ether(dst="00:11:22:33:44:55")/IP(dst="192.168.0.3")/NVGRE(TNI=2)/Ether()
> /IP(src="192.168.1.2", dst="192.168.1.3")/Raw("x"*80)',
> +
> 'Ether(dst="00:11:22:33:44:55",type=0x8100)/Dot1Q(vlan=1,type=0x8864)/P
> PPoE(sessionid=3)/PPP(b"\\x00\\x21")/IP()/Raw("X" * 80)',
> +
> 'Ether(dst="00:11:22:33:44:55")/IP()/UDP(dport=8805)/PFCP(S=0)',
> +
> 'Ether(dst="00:11:22:33:44:55",type=0x8100)/Dot1Q(vlan=1)/IP(src="192.16
> 8.0.1",dst="192.168.0.2",tos=4,ttl=2)/TCP()/Raw("X"*80)',
> +                              'Ether(dst="00:11:22:33:44:55")/IP(src="192.168.0.4",
> proto=115)/L2TP(b"\\x00\\x00\\x00\\x01")/("X"*480)',
> +                              'Ether(dst="00:11:22:33:44:55")/IP(src="192.168.0.5",
> proto=50)/ESP(spi=1)/("X"*80)'],
> +               "check_func": {"func": rfc.check_vf_rx_packets_number,
> +                             "param": {"expect_port": 1, "expect_queues": "null"}},
> +               "expect_results": {"expect_pkts": 0}},
> +    "mismatched": {"scapy_str":
> ['Ether(dst="00:11:22:33:44:55")/IP(src="192.168.0.6")/Raw("x"*80)',
> +
> 'Ether(dst="00:11:22:33:44:55")/IP(dst="128.0.0.0")/TCP()/Raw("x"*80)',
> +
> 'Ether(dst="00:11:22:33:44:55")/IP(dst="192.168.0.8")/NVGRE(TNI=1)/Ether()
> /IP(src="192.168.1.2", dst="192.168.1.3")/Raw("x"*80)',
> +
> 'Ether(dst="00:11:22:33:44:55",type=0x8100)/Dot1Q(vlan=1,type=0x8864)/P
> PPoE(sessionid=2)/PPP(b"\\x00\\x21")/IP()/Raw("x" * 80)',
> +
> 'Ether(dst="00:11:22:33:44:55")/IP()/UDP(dport=8805)/PFCP(S=1)',
> +
> 'Ether(dst="00:11:22:33:44:55",type=0x8100)/Dot1Q(vlan=2)/IP(src="192.16
> 8.0.9",dst="192.168.0.2",tos=4,ttl=2)/TCP()/Raw("X"*80)',
> +                                 'Ether(dst="00:11:22:33:44:55")/IP(src="192.168.0.10",
> proto=115)/L2TP(b"\\x00\\x00\\x00\\x02")/("X"*480)',
> +                                 'Ether(dst="00:11:22:33:44:55")/IP(src="192.168.0.11",
> proto=50)/ESP(spi=2)/("X"*80)'],
> +               "check_func": {"func": rfc.check_vf_rx_packets_number,
> +                             "param": {"expect_port": 1, "expect_queues": "null"}},
> +               "expect_results": {"expect_pkts": 8}} }
> +
> +sv_mac_test_drop_action = [
> +    tv_mac_ipv4_drop,
> +    tv_mac_ipv4_mask_drop,
> +    tv_mac_nvgre_drop,
> +    tv_mac_ppoes_drop,
> +    tv_mac_pfcp_drop,
> +    tv_mac_vlan_drop,
> +    tv_mac_l2tp_drop,
> +    tv_mac_esp_drop,
> +    tv_mac_blend_pkg_drop
> +]
> +
>  class CVLDCFSwitchFilterTest(TestCase):
> 
>      def bind_nics_driver(self, ports, driver=""):
> @@ -2175,6 +2325,32 @@ class CVLDCFSwitchFilterTest(TestCase):
>          self.setup_1pf_vfs_env()
>          self._rte_flow_validate_pattern(tv_mac_vlan_pppoe_ipcp_pay)
> 
> +    def test_mac_drop_action(self):
> +        self.setup_1pf_vfs_env()
> +        self.dut.send_expect('ip link set %s vf 1 mac "00:11:22:33:44:55"' %
> self.pf0_intf, '# ')
> +        self.launch_testpmd()
> +        for pattern in sv_mac_test_drop_action:
> +            # validate a rule
> +            self.validate_switch_filter_rule(pattern["rte_flow_pattern"])
> +            # create a rule
> +            rule_list = self.create_switch_filter_rule(pattern["rte_flow_pattern"])
> # create a rule
> +            self.check_switch_filter_rule_list(0, rule_list)
> +            # send matched packets and check
> +            matched_dic = pattern["matched"]
> +            self.send_and_check_packets(matched_dic)
> +            # send mismatched packets and check
> +            mismatched_dic = pattern["mismatched"]
> +            self.send_and_check_packets(mismatched_dic)
> +            # destroy rule and send matched packets
> +            self.destroy_switch_filter_rule(0, rule_list)
> +            self.check_switch_filter_rule_list(0, [])
> +            # send matched packets and check
> +            destroy_dict = copy.deepcopy(matched_dic)
> +            destroy_dict["expect_results"]["expect_pkts"] =
> len(pattern["matched"]["scapy_str"])
> +            self.send_and_check_packets(destroy_dict)
> +            self.dut.send_expect("flow flush 0", "testpmd> ", 15)
> +            self.dut.send_expect("clear port stats all", "testpmd> ",
> + 15)
> +
>      def tear_down(self):
>          """
>          Run after each test case.
> --
> 2.17.1


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [dts] [PATCH V1] tests/cvl_dcf_switch_filter: add drop action test case
  2020-12-11  2:33 [dts] [PATCH V1] tests/cvl_dcf_switch_filter: add drop action test case ChenBo
  2020-12-11  2:38 ` Chen, BoX C
  2020-12-14  5:30 ` Lin, Xueqin
@ 2020-12-21  7:14 ` Tu, Lijuan
  2 siblings, 0 replies; 4+ messages in thread
From: Tu, Lijuan @ 2020-12-21  7:14 UTC (permalink / raw)
  To: Chen, BoX C, dts; +Cc: Chen, BoX C

> Add test cases to test the drop action function of DCF.
> 
> Signed-off-by: ChenBo <box.c.chen@intel.com>

Applied

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2020-12-21  7:14 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-11  2:33 [dts] [PATCH V1] tests/cvl_dcf_switch_filter: add drop action test case ChenBo
2020-12-11  2:38 ` Chen, BoX C
2020-12-14  5:30 ` Lin, Xueqin
2020-12-21  7:14 ` Tu, Lijuan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).