From: "Ma, LihongX" <lihongx.ma@intel.com>
To: "dts@dpdk.org" <dts@dpdk.org>
Subject: Re: [dts] [PATCH V2] framework/pmd_output: fix issue of start_testpmd
Date: Thu, 12 Dec 2019 07:27:40 +0000 [thread overview]
Message-ID: <BE1E572D0441E34284F1F8B7AC28F1970BB37AEA@SHSMSX101.ccr.corp.intel.com> (raw)
In-Reply-To: <1576108781-8380-1-git-send-email-lihongx.ma@intel.com>
[-- Attachment #1: Type: text/plain, Size: 3065 bytes --]
Tested-by: ma,lihong<lihongx.ma@intel.com>
-----Original Message-----
From: Ma, LihongX
Sent: Thursday, December 12, 2019 8:00 AM
To: dts@dpdk.org
Cc: Ma, LihongX <lihongx.ma@intel.com>
Subject: [dts][PATCH V2] framework/pmd_output: fix issue of start_testpmd
1. fix the regular match about file prefix string 2. fix issue about params analysis
Signed-off-by: lihong <lihongx.ma@intel.com>
---
framework/pmd_output.py | 18 +++++++++++-------
1 file changed, 11 insertions(+), 7 deletions(-)
diff --git a/framework/pmd_output.py b/framework/pmd_output.py index 762f335..dd1e40d 100644
--- a/framework/pmd_output.py
+++ b/framework/pmd_output.py
@@ -110,7 +110,7 @@ class PmdOutput():
:return:
"""
re_w_pci_str = '\s?-w\\s+.+?:.+?:.+?\\..+?[,.*=\d+]?\s|\s?-w\\s+.+?:.+?\\..+?[,.*=\d+]?\s'
- re_file_prefix_str = '--file-prefix[=\s+].+\s'
+ re_file_prefix_str = '--file-prefix[\s*=]\S+\s'
re_b_pci_str = '\s?-b\\s+.+?:.+?:.+?\\..+?[,.*=\d+]?\s|\s?-b\\s+.+?:.+?\\..+?[,.*=\d+]?\s'
eal_param = eal_param + ' '
# pci_str_list eg: ['-w 0000:1a:00.0 ', '-w 0000:1a:00.1,queue-num-per-vf=4 ', '-w 0000:aa:bb.1,queue-num-per-vf=4 ']
@@ -156,21 +156,25 @@ class PmdOutput():
def start_testpmd(self, cores='default', param='', eal_param='', socket=0, fixed_prefix=False, **config):
config['cores'] = cores
if eal_param == '':
- # use configured ports
- config['ports'] = [self.dut.ports_info[i]['pci'] for i in range(len(self.dut.ports_info))]
+ # use configured ports if not set
+ if 'ports' not in config.keys():
+ config['ports'] = [self.dut.ports_info[i]['pci'] for i
+ in range(len(self.dut.ports_info))]
all_eal_param = self.dut.create_eal_parameters(fixed_prefix=fixed_prefix, socket=socket, **config)
else:
w_pci_list, port_options, b_pci_list, file_prefix, no_pci, other_eal_str = self.split_eal_param(eal_param)
if no_pci:
config['no_pci'] = no_pci
- elif not w_pci_list and not b_pci_list:
- config['ports'] = [self.dut.ports_info[i]['pci'] for i in range(len(self.dut.ports_info))]
- config['prefix'] = file_prefix
- else:
+ if w_pci_list:
config['ports'] = w_pci_list
+ if port_options:
config['port_options'] = port_options
+ if b_pci_list:
config['b_ports'] = b_pci_list
+ if file_prefix:
config['prefix'] = file_prefix
+
+ if not w_pci_list and not b_pci_list and 'ports' not in config.keys():
+ config['ports'] = [self.dut.ports_info[i]['pci'] for i
+ in range(len(self.dut.ports_info))]
part_eal_param = self.dut.create_eal_parameters(fixed_prefix=fixed_prefix, socket=socket, **config)
all_eal_param = part_eal_param + ' ' + other_eal_str
--
2.7.4
[-- Attachment #2: TestGeneric_flow_api.log --]
[-- Type: application/octet-stream, Size: 75349 bytes --]
12/12/2019 16:12:13 dts:
TEST SUITE : TestGeneric_flow_api
12/12/2019 16:12:13 dts: NIC : fortville_spirit
12/12/2019 16:12:13 dut.dpdk-lihong-func:
12/12/2019 16:12:14 tester:
12/12/2019 16:12:17 TestGeneric_flow_api: Test Case test_tunnel_filter_vxlan Begin
12/12/2019 16:12:18 dut.dpdk-lihong-func:
12/12/2019 16:12:18 tester:
12/12/2019 16:12:18 dut.dpdk-lihong-func: kill_all: called by dut and has no prefix list.
12/12/2019 16:12:18 dut.dpdk-lihong-func: modprobe uio
12/12/2019 16:12:19 dut.dpdk-lihong-func:
12/12/2019 16:12:19 dut.dpdk-lihong-func: insmod ./x86_64-native-linuxapp-gcc/kmod/igb_uio.ko
12/12/2019 16:12:19 dut.dpdk-lihong-func: insmod: ERROR: could not insert module ./x86_64-native-linuxapp-gcc/kmod/igb_uio.ko: File exists
12/12/2019 16:12:19 dut.dpdk-lihong-func: modprobe vfio-pci
12/12/2019 16:12:19 dut.dpdk-lihong-func:
12/12/2019 16:12:21 dut.dpdk-lihong-func: cat /sys/bus/pci/devices/0000\:af\:02.0/vendor
12/12/2019 16:12:21 dut.dpdk-lihong-func: 0x8086
12/12/2019 16:12:21 dut.dpdk-lihong-func: cat /sys/bus/pci/devices/0000\:af\:02.0/device
12/12/2019 16:12:21 dut.dpdk-lihong-func: 0x154c
12/12/2019 16:12:21 dut.dpdk-lihong-func: cat /sys/bus/pci/devices/0000\:af\:02.0/vendor
12/12/2019 16:12:21 dut.dpdk-lihong-func: 0x8086
12/12/2019 16:12:21 dut.dpdk-lihong-func: cat /sys/bus/pci/devices/0000\:af\:02.0/device
12/12/2019 16:12:21 dut.dpdk-lihong-func: 0x154c
12/12/2019 16:12:21 dut.dpdk-lihong-func: cat /sys/bus/pci/devices/0000\:af\:02.1/vendor
12/12/2019 16:12:22 dut.dpdk-lihong-func: 0x8086
12/12/2019 16:12:22 dut.dpdk-lihong-func: cat /sys/bus/pci/devices/0000\:af\:02.1/device
12/12/2019 16:12:22 dut.dpdk-lihong-func: 0x154c
12/12/2019 16:12:22 dut.dpdk-lihong-func: cat /sys/bus/pci/devices/0000\:af\:02.1/vendor
12/12/2019 16:12:22 dut.dpdk-lihong-func: 0x8086
12/12/2019 16:12:22 dut.dpdk-lihong-func: cat /sys/bus/pci/devices/0000\:af\:02.1/device
12/12/2019 16:12:22 dut.dpdk-lihong-func: 0x154c
12/12/2019 16:12:25 dut.dpdk-lihong-func: ./x86_64-native-linuxapp-gcc/app/testpmd -l 1,2,3,4,5,6,7,8 -n 4 -w 0000:af:00.0 --file-prefix=pf_6280_20191212161149 --socket-mem 1024,1024 --legacy-mem -- -i --disable-rss --rxq=16 --txq=16
12/12/2019 16:12:41 dut.dpdk-lihong-func: EAL: Detected 112 lcore(s)
EAL: Detected 2 NUMA nodes
EAL: Multi-process socket /var/run/dpdk/pf_6280_20191212161149/mp_socket
EAL: Selected IOVA mode 'PA'
EAL: Probing VFIO support...
EAL: VFIO support initialized
EAL: PCI device 0000:af:00.0 on NUMA socket 1
EAL: probe driver: 8086:1583 net_i40e
i40e_GLQF_reg_init(): i40e device 0000:af:00.0 changed global register [0x002689a0]. original: 0x00000000, new: 0x00000029
i40e_GLQF_reg_init(): i40e device 0000:af:00.0 changed global register [0x00268ca4]. original: 0x00001840, new: 0x00009420
i40e_aq_debug_write_global_register(): i40e device 0000:af:00.0 changed global register [0x0026c7a0]. original: 0xa8, after: 0x28
Interactive-mode selected
testpmd: create a new mbuf pool <mbuf_pool_socket_0>: n=203456, size=2176, socket=0
testpmd: preferred mempool ops selected: ring_mp_mc
testpmd: create a new mbuf pool <mbuf_pool_socket_1>: n=203456, size=2176, socket=1
testpmd: preferred mempool ops selected: ring_mp_mc
Warning! port-topology=paired and odd forward ports number, the last port will pair with itself.
Configuring Port 0 (socket 1)
Port 0: 3C:FD:FE:C8:17:60
Checking link statuses...
Done
12/12/2019 16:12:51 dut.dpdk-lihong-func: rx_vxlan_port add 4789 0
12/12/2019 16:12:51 dut.dpdk-lihong-func: rx_vxlan_port add 4789 0
12/12/2019 16:12:51 dut.dpdk-lihong-func: set fwd rxonly
12/12/2019 16:12:52 dut.dpdk-lihong-func: set fwd rxonly
Set rxonly packet forwarding mode
12/12/2019 16:12:52 dut.dpdk-lihong-func: set verbose 1
12/12/2019 16:12:52 dut.dpdk-lihong-func: set verbose 1
Change verbose level from 0 to 1
12/12/2019 16:12:52 dut.dpdk-lihong-func: start
12/12/2019 16:12:52 dut.dpdk-lihong-func: start
port 0/queue 0: received 1 packets
src=3C:FD:FE:C8:17:48 - dst=01:80:C2:00:00:0E - type=0x88cc - length=83 - nb_segs=1 - hw ptype: L2_ETHER_LLDP - sw ptype: L2_ETHER - l2_len=14 - Receive queue=0x0
ol_flags: PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN
rxonly packet forwarding - ports=1 - cores=1 - streams=16 - NUMA support enabled, MP allocation mode: native
Logical Core 2 (socket 0) forwards packets on 16 streams:
RX P=0/Q=0 (socket 1) -> TX P=0/Q=0 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=1 (socket 1) -> TX P=0/Q=1 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=2 (socket 1) -> TX P=0/Q=2 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=3 (socket 1) -> TX P=0/Q=3 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=4 (socket 1) -> TX P=0/Q=4 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=5 (socket 1) -> TX P=0/Q=5 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=6 (socket 1) -> TX P=0/Q=6 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=7 (socket 1) -> TX P=0/Q=7 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=8 (socket 1) -> TX P=0/Q=8 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=9 (socket 1) -> TX P=0/Q=9 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=10 (socket 1) -> TX P=0/Q=10 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=11 (socket 1) -> TX P=0/Q=11 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=12 (socket 1) -> TX P=0/Q=12 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=13 (socket 1) -> TX P=0/Q=13 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=14 (socket 1) -> TX P=0/Q=14 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=15 (socket 1) -> TX P=0/Q=15 (socket 1) peer=02:00:00:00:00:00
rxonly packet forwarding packets/burst=32
nb forwarding cores=1 - nb forwarding ports=1
port 0: RX queue number: 16 Tx queue number: 16
Rx offloads=0x0 Tx offloads=0x10000
RX queue: 0
RX desc=1024 - RX free threshold=32
RX threshold registers: pthresh=8 hthresh=8 wthresh=0
RX Offloads=0x0
TX queue: 0
TX desc=512 - TX free threshold=32
TX threshold registers: pthresh=32 hthresh=0 wthresh=0
TX offloads=0x10000 - TX RS bit threshold=32
12/12/2019 16:13:47 dut.dpdk-lihong-func: flow create 0 ingress pattern eth / ipv4 / udp / vxlan / eth dst is 00:11:22:33:44:66 / end actions pf / queue index 3 / end
12/12/2019 16:13:48 dut.dpdk-lihong-func: flow create 0 ingress pattern eth / ipv4 / udp / vxlan / eth dst is 00:11:22:33:44:66 / end actions pf / queue index 3 / end
12/12/2019 16:13:48 tester: scp -v /home/mlh/dts/output/tmp/pcap/scapy_enp24s0f0.pcap1576167228.02 root@dpdk-lihong-func:/tmp/tester/
12/12/2019 16:13:49 tester: scp -v /home/mlh/dts/output/tmp/pcap/scapy_enp24s0f0.cmd1576167228.02 root@dpdk-lihong-func:/tmp/tester/
12/12/2019 16:13:51 tester: python /tmp/tester/scapy_enp24s0f0.cmd1576167228.02
12/12/2019 16:13:52 tester: packet ready for sending...
Ether(src='00:00:00:02:00:00', dst='3c:fd:fe:c8:17:60', type=2048)/IP(frag=0, src='16.0.0.1', proto=17, tos=0, dst='48.0.0.1', chksum=15013, len=70, options=[], version=4, flags=0, ihl=5, ttl=64, id=1)/UDP(dport=4789, sport=53, len=50, chksum=63804)/Raw(load='\x08\x00\x00\x00\x00\x00\x00\x00\x00\x11"3Df\x00\x00\x00\x02\x00\x00\x90\x00xxxxxxxxxxxxxxxxxxxx')
.
Sent 1 packets.
12/12/2019 16:13:56 TestGeneric_flow_api: vf0:
12/12/2019 16:13:56 TestGeneric_flow_api: vf1:
12/12/2019 16:13:58 dut.dpdk-lihong-func:
testpmd> port 0/queue 3: received 1 packets
src=00:00:00:02:00:00 - dst=3C:FD:FE:C8:17:60 - type=0x0800 - length=84 - nb_segs=1 - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN TUNNEL_GRENAT INNER_L2_ETHER - sw ptype: L2_ETHER L3_IPV4 L4_UDP - l2_len=14 - l3_len=20 - l4_len=8 - VXLAN packet: packet type =24721, Destination UDP port =4789, VNI = 0 - Receive queue=0x3
ol_flags: PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN
12/12/2019 16:13:58 dut.dpdk-lihong-func: stop
12/12/2019 16:13:58 dut.dpdk-lihong-func: stop
Telling cores to stop...
Waiting for lcores to finish...
------- Forward Stats for RX Port= 0/Queue= 0 -> TX Port= 0/Queue= 0 -------
RX-packets: 3 TX-packets: 0 TX-dropped: 0
------- Forward Stats for RX Port= 0/Queue= 3 -> TX Port= 0/Queue= 3 -------
RX-packets: 1 TX-packets: 0 TX-dropped: 0
---------------------- Forward statistics for port 0 ----------------------
RX-packets: 4 RX-dropped: 0 RX-total: 4
TX-packets: 0 TX-dropped: 0 TX-total: 0
----------------------------------------------------------------------------
+++++++++++++++ Accumulated forward statistics for all ports+++++++++++++++
RX-packets: 4 RX-dropped: 0 RX-total: 4
TX-packets: 0 TX-dropped: 0 TX-total: 0
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Done.
12/12/2019 16:13:58 TestGeneric_flow_api: pf:
testpmd> port 0/queue 3: received 1 packets
src=00:00:00:02:00:00 - dst=3C:FD:FE:C8:17:60 - type=0x0800 - length=84 - nb_segs=1 - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN TUNNEL_GRENAT INNER_L2_ETHER - sw ptype: L2_ETHER L3_IPV4 L4_UDP - l2_len=14 - l3_len=20 - l4_len=8 - VXLAN packet: packet type =24721, Destination UDP port =4789, VNI = 0 - Receive queue=0x3
ol_flags: PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN
12/12/2019 16:14:00 dut.dpdk-lihong-func: start
12/12/2019 16:14:00 dut.dpdk-lihong-func: start
rxonly packet forwarding - ports=1 - cores=1 - streams=16 - NUMA support enabled, MP allocation mode: native
Logical Core 2 (socket 0) forwards packets on 16 streams:
RX P=0/Q=0 (socket 1) -> TX P=0/Q=0 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=1 (socket 1) -> TX P=0/Q=1 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=2 (socket 1) -> TX P=0/Q=2 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=3 (socket 1) -> TX P=0/Q=3 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=4 (socket 1) -> TX P=0/Q=4 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=5 (socket 1) -> TX P=0/Q=5 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=6 (socket 1) -> TX P=0/Q=6 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=7 (socket 1) -> TX P=0/Q=7 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=8 (socket 1) -> TX P=0/Q=8 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=9 (socket 1) -> TX P=0/Q=9 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=10 (socket 1) -> TX P=0/Q=10 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=11 (socket 1) -> TX P=0/Q=11 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=12 (socket 1) -> TX P=0/Q=12 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=13 (socket 1) -> TX P=0/Q=13 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=14 (socket 1) -> TX P=0/Q=14 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=15 (socket 1) -> TX P=0/Q=15 (socket 1) peer=02:00:00:00:00:00
rxonly packet forwarding packets/burst=32
nb forwarding cores=1 - nb forwarding ports=1
port 0: RX queue number: 16 Tx queue number: 16
Rx offloads=0x0 Tx offloads=0x10000
RX queue: 0
RX desc=1024 - RX free threshold=32
RX threshold registers: pthresh=8 hthresh=8 wthresh=0
RX Offloads=0x0
TX queue: 0
TX desc=512 - TX free threshold=32
TX threshold registers: pthresh=32 hthresh=0 wthresh=0
TX offloads=0x10000 - TX RS bit threshold=32
12/12/2019 16:14:00 dut.dpdk-lihong-func: flow create 0 ingress pattern eth / ipv4 / udp / vxlan vni is 3528 / eth dst is 00:11:22:33:44:66 / end actions pf / queue index 8 / end
12/12/2019 16:14:00 dut.dpdk-lihong-func: flow create 0 ingress pattern eth / ipv4 / udp / vxlan vni is 3528 / eth dst is 00:11:22:33:44:66 / end actions pf / queue index 8 / end
12/12/2019 16:14:00 tester: scp -v /home/mlh/dts/output/tmp/pcap/scapy_enp24s0f0.pcap1576167240.78 root@dpdk-lihong-func:/tmp/tester/
12/12/2019 16:14:02 tester: scp -v /home/mlh/dts/output/tmp/pcap/scapy_enp24s0f0.cmd1576167240.78 root@dpdk-lihong-func:/tmp/tester/
12/12/2019 16:14:04 tester: python /tmp/tester/scapy_enp24s0f0.cmd1576167240.78
12/12/2019 16:14:04 tester: packet ready for sending...
Ether(src='00:00:00:02:00:00', dst='3c:fd:fe:c8:17:60', type=2048)/IP(frag=0, src='16.0.0.1', proto=17, tos=0, dst='48.0.0.1', chksum=15013, len=70, options=[], version=4, flags=0, ihl=5, ttl=64, id=1)/UDP(dport=4789, sport=53, len=50, chksum=12591)/Raw(load='\x08\x00\x00\x00\x00\r\xc8\x00\x00\x11"3Df\x00\x00\x00\x02\x00\x00\x90\x00xxxxxxxxxxxxxxxxxxxx')
.
Sent 1 packets.
12/12/2019 16:14:09 TestGeneric_flow_api: vf0: port 0/queue 0: received 1 packets
src=3C:FD:FE:C8:17:48 - dst=FF:FF:FF:FF:FF:FF - type=0x0800 - length=340 - nb_segs=1 - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN L4_UDP - sw ptype: L2_ETHER L3_IPV4 L4_UDP - l2_len=14 - l3_len=20 - l4_len=8 - Receive queue=0x0
ol_flags: PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN
12/12/2019 16:14:09 TestGeneric_flow_api: vf1: port 0/queue 0: received 1 packets
src=3C:FD:FE:C8:17:48 - dst=FF:FF:FF:FF:FF:FF - type=0x0800 - length=340 - nb_segs=1 - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN L4_UDP - sw ptype: L2_ETHER L3_IPV4 L4_UDP - l2_len=14 - l3_len=20 - l4_len=8 - Receive queue=0x0
ol_flags: PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN
12/12/2019 16:14:11 dut.dpdk-lihong-func:
testpmd> port 0/queue 0: received 1 packets
src=3C:FD:FE:C8:17:48 - dst=FF:FF:FF:FF:FF:FF - type=0x0800 - length=340 - nb_segs=1 - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN L4_UDP - sw ptype: L2_ETHER L3_IPV4 L4_UDP - l2_len=14 - l3_len=20 - l4_len=8 - Receive queue=0x0
ol_flags: PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN
port 0/queue 8: received 1 packets
src=00:00:00:02:00:00 - dst=3C:FD:FE:C8:17:60 - type=0x0800 - length=84 - nb_segs=1 - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN TUNNEL_GRENAT INNER_L2_ETHER - sw ptype: L2_ETHER L3_IPV4 L4_UDP - l2_len=14 - l3_len=20 - l4_len=8 - VXLAN packet: packet type =24721, Destination UDP port =4789, VNI = 3528 - Receive queue=0x8
ol_flags: PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN
12/12/2019 16:14:11 dut.dpdk-lihong-func: stop
12/12/2019 16:14:11 dut.dpdk-lihong-func: stop
Telling cores to stop...
Waiting for lcores to finish...
------- Forward Stats for RX Port= 0/Queue= 0 -> TX Port= 0/Queue= 0 -------
RX-packets: 1 TX-packets: 0 TX-dropped: 0
------- Forward Stats for RX Port= 0/Queue= 8 -> TX Port= 0/Queue= 8 -------
RX-packets: 1 TX-packets: 0 TX-dropped: 0
---------------------- Forward statistics for port 0 ----------------------
RX-packets: 4 RX-dropped: 0 RX-total: 4
TX-packets: 0 TX-dropped: 0 TX-total: 0
----------------------------------------------------------------------------
+++++++++++++++ Accumulated forward statistics for all ports+++++++++++++++
RX-packets: 4 RX-dropped: 0 RX-total: 4
TX-packets: 0 TX-dropped: 0 TX-total: 0
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Done.
12/12/2019 16:14:11 TestGeneric_flow_api: pf:
testpmd> port 0/queue 0: received 1 packets
src=3C:FD:FE:C8:17:48 - dst=FF:FF:FF:FF:FF:FF - type=0x0800 - length=340 - nb_segs=1 - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN L4_UDP - sw ptype: L2_ETHER L3_IPV4 L4_UDP - l2_len=14 - l3_len=20 - l4_len=8 - Receive queue=0x0
ol_flags: PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN
port 0/queue 8: received 1 packets
src=00:00:00:02:00:00 - dst=3C:FD:FE:C8:17:60 - type=0x0800 - length=84 - nb_segs=1 - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN TUNNEL_GRENAT INNER_L2_ETHER - sw ptype: L2_ETHER L3_IPV4 L4_UDP - l2_len=14 - l3_len=20 - l4_len=8 - VXLAN packet: packet type =24721, Destination UDP port =4789, VNI = 3528 - Receive queue=0x8
ol_flags: PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN
12/12/2019 16:14:13 dut.dpdk-lihong-func: start
12/12/2019 16:14:13 dut.dpdk-lihong-func: start
port 0/queue 0: received 1 packets
src=3C:FD:FE:C8:17:48 - dst=01:80:C2:00:00:0E - type=0x88cc - length=83 - nb_segs=1 - hw ptype: L2_ETHER_LLDP - sw ptype: L2_ETHER - l2_len=14 - Receive queue=0x0
ol_flags: PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN
rxonly packet forwarding - ports=1 - cores=1 - streams=16 - NUMA support enabled, MP allocation mode: native
Logical Core 2 (socket 0) forwards packets on 16 streams:
RX P=0/Q=0 (socket 1) -> TX P=0/Q=0 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=1 (socket 1) -> TX P=0/Q=1 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=2 (socket 1) -> TX P=0/Q=2 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=3 (socket 1) -> TX P=0/Q=3 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=4 (socket 1) -> TX P=0/Q=4 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=5 (socket 1) -> TX P=0/Q=5 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=6 (socket 1) -> TX P=0/Q=6 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=7 (socket 1) -> TX P=0/Q=7 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=8 (socket 1) -> TX P=0/Q=8 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=9 (socket 1) -> TX P=0/Q=9 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=10 (socket 1) -> TX P=0/Q=10 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=11 (socket 1) -> TX P=0/Q=11 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=12 (socket 1) -> TX P=0/Q=12 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=13 (socket 1) -> TX P=0/Q=13 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=14 (socket 1) -> TX P=0/Q=14 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=15 (socket 1) -> TX P=0/Q=15 (socket 1) peer=02:00:00:00:00:00
rxonly packet forwarding packets/burst=32
nb forwarding cores=1 - nb forwarding ports=1
port 0: RX queue number: 16 Tx queue number: 16
Rx offloads=0x0 Tx offloads=0x10000
RX queue: 0
RX desc=1024 - RX free threshold=32
RX threshold registers: pthresh=8 hthresh=8 wthresh=0
RX Offloads=0x0
TX queue: 0
TX desc=512 - TX free threshold=32
TX threshold registers: pthresh=32 hthresh=0 wthresh=0
TX offloads=0x10000 - TX RS bit threshold=32
12/12/2019 16:14:13 dut.dpdk-lihong-func: flow create 0 ingress pattern eth / ipv4 / udp / vxlan / eth dst is 00:11:22:33:44:66 / vlan tci is 1114 / end actions pf / queue index 14 / end
12/12/2019 16:14:13 dut.dpdk-lihong-func: flow create 0 ingress pattern eth / ipv4 / udp / vxlan / eth dst is 00:11:22:33:44:66 / vlan tci is 1114 / end actions pf / queue index 14 / end
12/12/2019 16:14:13 tester: scp -v /home/mlh/dts/output/tmp/pcap/scapy_enp24s0f0.pcap1576167253.5 root@dpdk-lihong-func:/tmp/tester/
12/12/2019 16:14:15 tester: scp -v /home/mlh/dts/output/tmp/pcap/scapy_enp24s0f0.cmd1576167253.5 root@dpdk-lihong-func:/tmp/tester/
12/12/2019 16:14:17 tester: python /tmp/tester/scapy_enp24s0f0.cmd1576167253.5
12/12/2019 16:14:17 tester: packet ready for sending...
Ether(src='00:00:00:02:00:00', dst='3c:fd:fe:c8:17:60', type=2048)/IP(frag=0, src='16.0.0.1', proto=17, tos=0, dst='48.0.0.1', chksum=15009, len=74, options=[], version=4, flags=0, ihl=5, ttl=64, id=1)/UDP(dport=4789, sport=53, len=54, chksum=987)/Raw(load='\x08\x00\x00\x00\x00\x00\x00\x00\x00\x11"3Df\x00\x00\x00\x02\x00\x00\x81\x00\x04Z\x00\x00xxxxxxxxxxxxxxxxxxxx')
.
Sent 1 packets.
12/12/2019 16:14:21 TestGeneric_flow_api: vf0:
12/12/2019 16:14:21 TestGeneric_flow_api: vf1:
12/12/2019 16:14:23 dut.dpdk-lihong-func:
testpmd> port 0/queue 14: received 1 packets
src=00:00:00:02:00:00 - dst=3C:FD:FE:C8:17:60 - type=0x0800 - length=88 - nb_segs=1 - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN TUNNEL_GRENAT INNER_L2_ETHER_VLAN - sw ptype: L2_ETHER L3_IPV4 L4_UDP - l2_len=14 - l3_len=20 - l4_len=8 - VXLAN packet: packet type =24721, Destination UDP port =4789, VNI = 0 - Receive queue=0xe
ol_flags: PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN
12/12/2019 16:14:23 dut.dpdk-lihong-func: stop
12/12/2019 16:14:23 dut.dpdk-lihong-func: stop
Telling cores to stop...
Waiting for lcores to finish...
------- Forward Stats for RX Port= 0/Queue=14 -> TX Port= 0/Queue=14 -------
RX-packets: 1 TX-packets: 0 TX-dropped: 0
---------------------- Forward statistics for port 0 ----------------------
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.
12/12/2019 16:14:23 TestGeneric_flow_api: pf:
testpmd> port 0/queue 14: received 1 packets
src=00:00:00:02:00:00 - dst=3C:FD:FE:C8:17:60 - type=0x0800 - length=88 - nb_segs=1 - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN TUNNEL_GRENAT INNER_L2_ETHER_VLAN - sw ptype: L2_ETHER L3_IPV4 L4_UDP - l2_len=14 - l3_len=20 - l4_len=8 - VXLAN packet: packet type =24721, Destination UDP port =4789, VNI = 0 - Receive queue=0xe
ol_flags: PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN
12/12/2019 16:14:25 dut.dpdk-lihong-func: start
12/12/2019 16:14:25 dut.dpdk-lihong-func: start
rxonly packet forwarding - ports=1 - cores=1 - streams=16 - NUMA support enabled, MP allocation mode: native
Logical Core 2 (socket 0) forwards packets on 16 streams:
RX P=0/Q=0 (socket 1) -> TX P=0/Q=0 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=1 (socket 1) -> TX P=0/Q=1 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=2 (socket 1) -> TX P=0/Q=2 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=3 (socket 1) -> TX P=0/Q=3 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=4 (socket 1) -> TX P=0/Q=4 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=5 (socket 1) -> TX P=0/Q=5 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=6 (socket 1) -> TX P=0/Q=6 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=7 (socket 1) -> TX P=0/Q=7 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=8 (socket 1) -> TX P=0/Q=8 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=9 (socket 1) -> TX P=0/Q=9 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=10 (socket 1) -> TX P=0/Q=10 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=11 (socket 1) -> TX P=0/Q=11 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=12 (socket 1) -> TX P=0/Q=12 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=13 (socket 1) -> TX P=0/Q=13 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=14 (socket 1) -> TX P=0/Q=14 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=15 (socket 1) -> TX P=0/Q=15 (socket 1) peer=02:00:00:00:00:00
rxonly packet forwarding packets/burst=32
nb forwarding cores=1 - nb forwarding ports=1
port 0: RX queue number: 16 Tx queue number: 16
Rx offloads=0x0 Tx offloads=0x10000
RX queue: 0
RX desc=1024 - RX free threshold=32
RX threshold registers: pthresh=8 hthresh=8 wthresh=0
RX Offloads=0x0
TX queue: 0
TX desc=512 - TX free threshold=32
TX threshold registers: pthresh=32 hthresh=0 wthresh=0
TX offloads=0x10000 - TX RS bit threshold=32
12/12/2019 16:14:26 dut.dpdk-lihong-func: flow create 0 ingress pattern eth / ipv4 / udp / vxlan vni is 522 / eth dst is 00:11:22:33:44:66 / vlan tci is 1079 / end actions pf / queue index 8 / end
12/12/2019 16:14:26 dut.dpdk-lihong-func: flow create 0 ingress pattern eth / ipv4 / udp / vxlan vni is 522 / eth dst is 00:11:22:33:44:66 / vlan tci is 1079 / end actions pf / queue index 8 / end
12/12/2019 16:14:26 tester: scp -v /home/mlh/dts/output/tmp/pcap/scapy_enp24s0f0.pcap1576167266.19 root@dpdk-lihong-func:/tmp/tester/
12/12/2019 16:14:28 tester: scp -v /home/mlh/dts/output/tmp/pcap/scapy_enp24s0f0.cmd1576167266.19 root@dpdk-lihong-func:/tmp/tester/
12/12/2019 16:14:30 tester: python /tmp/tester/scapy_enp24s0f0.cmd1576167266.19
12/12/2019 16:14:30 tester: packet ready for sending...
Ether(src='00:00:00:02:00:00', dst='3c:fd:fe:c8:17:60', type=2048)/IP(frag=0, src='16.0.0.1', proto=17, tos=0, dst='48.0.0.1', chksum=15009, len=74, options=[], version=4, flags=0, ihl=5, ttl=64, id=1)/UDP(dport=4789, sport=53, len=54, chksum=63995)/Raw(load='\x08\x00\x00\x00\x00\x02\n\x00\x00\x11"3Df\x00\x00\x00\x02\x00\x00\x81\x00\x047\x00\x00xxxxxxxxxxxxxxxxxxxx')
.
Sent 1 packets.
12/12/2019 16:14:34 TestGeneric_flow_api: vf0:
12/12/2019 16:14:34 TestGeneric_flow_api: vf1:
12/12/2019 16:14:36 dut.dpdk-lihong-func:
testpmd> port 0/queue 8: received 1 packets
src=00:00:00:02:00:00 - dst=3C:FD:FE:C8:17:60 - type=0x0800 - length=88 - nb_segs=1 - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN TUNNEL_GRENAT INNER_L2_ETHER_VLAN - sw ptype: L2_ETHER L3_IPV4 L4_UDP - l2_len=14 - l3_len=20 - l4_len=8 - VXLAN packet: packet type =24721, Destination UDP port =4789, VNI = 522 - Receive queue=0x8
ol_flags: PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN
12/12/2019 16:14:36 dut.dpdk-lihong-func: stop
12/12/2019 16:14:36 dut.dpdk-lihong-func: stop
Telling cores to stop...
Waiting for lcores to finish...
------- Forward Stats for RX Port= 0/Queue= 8 -> TX Port= 0/Queue= 8 -------
RX-packets: 1 TX-packets: 0 TX-dropped: 0
---------------------- Forward statistics for port 0 ----------------------
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.
12/12/2019 16:14:36 TestGeneric_flow_api: pf:
testpmd> port 0/queue 8: received 1 packets
src=00:00:00:02:00:00 - dst=3C:FD:FE:C8:17:60 - type=0x0800 - length=88 - nb_segs=1 - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN TUNNEL_GRENAT INNER_L2_ETHER_VLAN - sw ptype: L2_ETHER L3_IPV4 L4_UDP - l2_len=14 - l3_len=20 - l4_len=8 - VXLAN packet: packet type =24721, Destination UDP port =4789, VNI = 522 - Receive queue=0x8
ol_flags: PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN
12/12/2019 16:14:38 dut.dpdk-lihong-func: start
12/12/2019 16:14:38 dut.dpdk-lihong-func: start
rxonly packet forwarding - ports=1 - cores=1 - streams=16 - NUMA support enabled, MP allocation mode: native
Logical Core 2 (socket 0) forwards packets on 16 streams:
RX P=0/Q=0 (socket 1) -> TX P=0/Q=0 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=1 (socket 1) -> TX P=0/Q=1 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=2 (socket 1) -> TX P=0/Q=2 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=3 (socket 1) -> TX P=0/Q=3 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=4 (socket 1) -> TX P=0/Q=4 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=5 (socket 1) -> TX P=0/Q=5 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=6 (socket 1) -> TX P=0/Q=6 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=7 (socket 1) -> TX P=0/Q=7 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=8 (socket 1) -> TX P=0/Q=8 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=9 (socket 1) -> TX P=0/Q=9 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=10 (socket 1) -> TX P=0/Q=10 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=11 (socket 1) -> TX P=0/Q=11 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=12 (socket 1) -> TX P=0/Q=12 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=13 (socket 1) -> TX P=0/Q=13 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=14 (socket 1) -> TX P=0/Q=14 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=15 (socket 1) -> TX P=0/Q=15 (socket 1) peer=02:00:00:00:00:00
rxonly packet forwarding packets/burst=32
nb forwarding cores=1 - nb forwarding ports=1
port 0: RX queue number: 16 Tx queue number: 16
Rx offloads=0x0 Tx offloads=0x10000
RX queue: 0
RX desc=1024 - RX free threshold=32
RX threshold registers: pthresh=8 hthresh=8 wthresh=0
RX Offloads=0x0
TX queue: 0
TX desc=512 - TX free threshold=32
TX threshold registers: pthresh=32 hthresh=0 wthresh=0
TX offloads=0x10000 - TX RS bit threshold=32
12/12/2019 16:14:38 dut.dpdk-lihong-func: flow create 0 ingress pattern eth dst is 00:11:22:33:44:55 / ipv4 / udp / vxlan vni is 886 / eth dst is 00:11:22:33:44:66 / end actions pf / queue index 0 / end
12/12/2019 16:14:38 dut.dpdk-lihong-func: flow create 0 ingress pattern eth dst is 00:11:22:33:44:55 / ipv4 / udp / vxlan vni is 886 / eth dst is 00:11:22:33:44:66 / end actions pf / queue index 0 / end
12/12/2019 16:14:39 tester: scp -v /home/mlh/dts/output/tmp/pcap/scapy_enp24s0f0.pcap1576167279.0 root@dpdk-lihong-func:/tmp/tester/
12/12/2019 16:14:40 tester: scp -v /home/mlh/dts/output/tmp/pcap/scapy_enp24s0f0.cmd1576167279.0 root@dpdk-lihong-func:/tmp/tester/
12/12/2019 16:14:42 tester: python /tmp/tester/scapy_enp24s0f0.cmd1576167279.0
12/12/2019 16:14:43 tester: packet ready for sending...
Ether(src='00:00:00:02:00:00', dst='00:11:22:33:44:55', type=2048)/IP(frag=0, src='16.0.0.1', proto=17, tos=0, dst='48.0.0.1', chksum=15013, len=70, options=[], version=4, flags=0, ihl=5, ttl=64, id=1)/UDP(dport=4789, sport=53, len=50, chksum=33593)/Raw(load='\x08\x00\x00\x00\x00\x03v\x00\x00\x11"3Df\x00\x00\x00\x02\x00\x00\x90\x00xxxxxxxxxxxxxxxxxxxx')
.
Sent 1 packets.
12/12/2019 16:14:47 TestGeneric_flow_api: vf0:
12/12/2019 16:14:47 TestGeneric_flow_api: vf1:
12/12/2019 16:14:49 dut.dpdk-lihong-func:
testpmd> port 0/queue 0: received 1 packets
src=3C:FD:FE:C8:17:48 - dst=01:80:C2:00:00:0E - type=0x88cc - length=83 - nb_segs=1 - hw ptype: L2_ETHER_LLDP - sw ptype: L2_ETHER - l2_len=14 - Receive queue=0x0
ol_flags: PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN
port 0/queue 0: received 1 packets
src=00:00:00:02:00:00 - dst=00:11:22:33:44:55 - type=0x0800 - length=84 - nb_segs=1 - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN TUNNEL_GRENAT INNER_L2_ETHER - sw ptype: L2_ETHER L3_IPV4 L4_UDP - l2_len=14 - l3_len=20 - l4_len=8 - VXLAN packet: packet type =24721, Destination UDP port =4789, VNI = 886 - Receive queue=0x0
ol_flags: PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN
12/12/2019 16:14:49 dut.dpdk-lihong-func: stop
12/12/2019 16:14:49 dut.dpdk-lihong-func: stop
Telling cores to stop...
Waiting for lcores to finish...
------- Forward Stats for RX Port= 0/Queue= 0 -> TX Port= 0/Queue= 0 -------
RX-packets: 2 TX-packets: 0 TX-dropped: 0
---------------------- Forward statistics for port 0 ----------------------
RX-packets: 2 RX-dropped: 0 RX-total: 2
TX-packets: 0 TX-dropped: 0 TX-total: 0
----------------------------------------------------------------------------
+++++++++++++++ Accumulated forward statistics for all ports+++++++++++++++
RX-packets: 2 RX-dropped: 0 RX-total: 2
TX-packets: 0 TX-dropped: 0 TX-total: 0
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Done.
12/12/2019 16:14:49 TestGeneric_flow_api: pf:
testpmd> port 0/queue 0: received 1 packets
src=3C:FD:FE:C8:17:48 - dst=01:80:C2:00:00:0E - type=0x88cc - length=83 - nb_segs=1 - hw ptype: L2_ETHER_LLDP - sw ptype: L2_ETHER - l2_len=14 - Receive queue=0x0
ol_flags: PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN
port 0/queue 0: received 1 packets
src=00:00:00:02:00:00 - dst=00:11:22:33:44:55 - type=0x0800 - length=84 - nb_segs=1 - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN TUNNEL_GRENAT INNER_L2_ETHER - sw ptype: L2_ETHER L3_IPV4 L4_UDP - l2_len=14 - l3_len=20 - l4_len=8 - VXLAN packet: packet type =24721, Destination UDP port =4789, VNI = 886 - Receive queue=0x0
ol_flags: PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN
12/12/2019 16:14:51 dut.dpdk-lihong-func: start
12/12/2019 16:14:51 dut.dpdk-lihong-func: start
rxonly packet forwarding - ports=1 - cores=1 - streams=16 - NUMA support enabled, MP allocation mode: native
Logical Core 2 (socket 0) forwards packets on 16 streams:
RX P=0/Q=0 (socket 1) -> TX P=0/Q=0 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=1 (socket 1) -> TX P=0/Q=1 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=2 (socket 1) -> TX P=0/Q=2 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=3 (socket 1) -> TX P=0/Q=3 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=4 (socket 1) -> TX P=0/Q=4 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=5 (socket 1) -> TX P=0/Q=5 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=6 (socket 1) -> TX P=0/Q=6 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=7 (socket 1) -> TX P=0/Q=7 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=8 (socket 1) -> TX P=0/Q=8 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=9 (socket 1) -> TX P=0/Q=9 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=10 (socket 1) -> TX P=0/Q=10 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=11 (socket 1) -> TX P=0/Q=11 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=12 (socket 1) -> TX P=0/Q=12 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=13 (socket 1) -> TX P=0/Q=13 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=14 (socket 1) -> TX P=0/Q=14 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=15 (socket 1) -> TX P=0/Q=15 (socket 1) peer=02:00:00:00:00:00
rxonly packet forwarding packets/burst=32
nb forwarding cores=1 - nb forwarding ports=1
port 0: RX queue number: 16 Tx queue number: 16
Rx offloads=0x0 Tx offloads=0x10000
RX queue: 0
RX desc=1024 - RX free threshold=32
RX threshold registers: pthresh=8 hthresh=8 wthresh=0
RX Offloads=0x0
TX queue: 0
TX desc=512 - TX free threshold=32
TX threshold registers: pthresh=32 hthresh=0 wthresh=0
TX offloads=0x10000 - TX RS bit threshold=32
12/12/2019 16:14:51 dut.dpdk-lihong-func: flow create 0 ingress pattern eth / ipv4 / udp / vxlan vni is 3291 / eth dst is 00:11:22:33:44:66 / vlan tci is 3167 / end actions vf id 0 / queue index 2 / end
12/12/2019 16:14:51 dut.dpdk-lihong-func: flow create 0 ingress pattern eth / ipv4 / udp / vxlan vni is 3291 / eth dst is 00:11:22:33:44:66 / vlan tci is 3167 / end actions vf id 0 / queue index 2 / end
12/12/2019 16:14:51 tester: scp -v /home/mlh/dts/output/tmp/pcap/scapy_enp24s0f0.pcap1576167291.77 root@dpdk-lihong-func:/tmp/tester/
12/12/2019 16:14:53 tester: scp -v /home/mlh/dts/output/tmp/pcap/scapy_enp24s0f0.cmd1576167291.77 root@dpdk-lihong-func:/tmp/tester/
12/12/2019 16:14:55 tester: python /tmp/tester/scapy_enp24s0f0.cmd1576167291.77
12/12/2019 16:14:55 tester: packet ready for sending...
Ether(src='00:00:00:02:00:00', dst='00:11:22:33:44:77', type=2048)/IP(frag=0, src='16.0.0.1', proto=17, tos=0, dst='48.0.0.1', chksum=15009, len=74, options=[], version=4, flags=0, ihl=5, ttl=64, id=1)/UDP(dport=4789, sport=53, len=54, chksum=8393)/Raw(load='\x08\x00\x00\x00\x00\x0c\xdb\x00\x00\x11"3Df\x00\x00\x00\x02\x00\x00\x81\x00\x0c_\x00\x00xxxxxxxxxxxxxxxxxxxx')
.
Sent 1 packets.
12/12/2019 16:14:59 TestGeneric_flow_api: vf0: port 0/queue 2: received 1 packets
src=00:00:00:02:00:00 - dst=00:11:22:33:44:77 - type=0x0800 - length=88 - nb_segs=1 - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN TUNNEL_GRENAT INNER_L2_ETHER_VLAN - sw ptype: L2_ETHER L3_IPV4 L4_UDP - l2_len=14 - l3_len=20 - l4_len=8 - VXLAN packet: packet type =24721, Destination UDP port =4789, VNI = 3291 - Receive queue=0x2
ol_flags: PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN
12/12/2019 16:14:59 TestGeneric_flow_api: vf1:
12/12/2019 16:15:01 dut.dpdk-lihong-func:
testpmd> port 0/queue 3: received 1 packets
src=00:00:00:02:00:00 - dst=00:11:22:33:44:77 - type=0x0800 - length=88 - nb_segs=1 - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN TUNNEL_GRENAT INNER_L2_ETHER_VLAN - sw ptype: L2_ETHER L3_IPV4 L4_UDP - l2_len=14 - l3_len=20 - l4_len=8 - VXLAN packet: packet type =24721, Destination UDP port =4789, VNI = 3291 - Receive queue=0x3
ol_flags: PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN
12/12/2019 16:15:01 dut.dpdk-lihong-func: stop
12/12/2019 16:15:02 dut.dpdk-lihong-func: stop
Telling cores to stop...
Waiting for lcores to finish...
------- Forward Stats for RX Port= 0/Queue= 3 -> TX Port= 0/Queue= 3 -------
RX-packets: 1 TX-packets: 0 TX-dropped: 0
---------------------- Forward statistics for port 0 ----------------------
RX-packets: 2 RX-dropped: 0 RX-total: 2
TX-packets: 0 TX-dropped: 0 TX-total: 0
----------------------------------------------------------------------------
+++++++++++++++ Accumulated forward statistics for all ports+++++++++++++++
RX-packets: 2 RX-dropped: 0 RX-total: 2
TX-packets: 0 TX-dropped: 0 TX-total: 0
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Done.
12/12/2019 16:15:02 TestGeneric_flow_api: pf:
testpmd> port 0/queue 3: received 1 packets
src=00:00:00:02:00:00 - dst=00:11:22:33:44:77 - type=0x0800 - length=88 - nb_segs=1 - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN TUNNEL_GRENAT INNER_L2_ETHER_VLAN - sw ptype: L2_ETHER L3_IPV4 L4_UDP - l2_len=14 - l3_len=20 - l4_len=8 - VXLAN packet: packet type =24721, Destination UDP port =4789, VNI = 3291 - Receive queue=0x3
ol_flags: PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN
12/12/2019 16:15:04 dut.dpdk-lihong-func: start
12/12/2019 16:15:04 dut.dpdk-lihong-func: start
rxonly packet forwarding - ports=1 - cores=1 - streams=16 - NUMA support enabled, MP allocation mode: native
Logical Core 2 (socket 0) forwards packets on 16 streams:
RX P=0/Q=0 (socket 1) -> TX P=0/Q=0 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=1 (socket 1) -> TX P=0/Q=1 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=2 (socket 1) -> TX P=0/Q=2 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=3 (socket 1) -> TX P=0/Q=3 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=4 (socket 1) -> TX P=0/Q=4 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=5 (socket 1) -> TX P=0/Q=5 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=6 (socket 1) -> TX P=0/Q=6 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=7 (socket 1) -> TX P=0/Q=7 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=8 (socket 1) -> TX P=0/Q=8 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=9 (socket 1) -> TX P=0/Q=9 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=10 (socket 1) -> TX P=0/Q=10 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=11 (socket 1) -> TX P=0/Q=11 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=12 (socket 1) -> TX P=0/Q=12 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=13 (socket 1) -> TX P=0/Q=13 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=14 (socket 1) -> TX P=0/Q=14 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=15 (socket 1) -> TX P=0/Q=15 (socket 1) peer=02:00:00:00:00:00
rxonly packet forwarding packets/burst=32
nb forwarding cores=1 - nb forwarding ports=1
port 0: RX queue number: 16 Tx queue number: 16
Rx offloads=0x0 Tx offloads=0x10000
RX queue: 0
RX desc=1024 - RX free threshold=32
RX threshold registers: pthresh=8 hthresh=8 wthresh=0
RX Offloads=0x0
TX queue: 0
TX desc=512 - TX free threshold=32
TX threshold registers: pthresh=32 hthresh=0 wthresh=0
TX offloads=0x10000 - TX RS bit threshold=32
12/12/2019 16:15:04 dut.dpdk-lihong-func: flow create 0 ingress pattern eth dst is 00:11:22:33:44:55 / ipv4 / udp / vxlan vni is 3437 / eth dst is 00:11:22:33:44:66 / end actions vf id 1 / queue index 1 / end
12/12/2019 16:15:04 dut.dpdk-lihong-func: flow create 0 ingress pattern eth dst is 00:11:22:33:44:55 / ipv4 / udp / vxlan vni is 3437 / eth dst is 00:11:22:33:44:66 / end actions vf id 1 / queue index 1 / end
12/12/2019 16:15:04 tester: scp -v /home/mlh/dts/output/tmp/pcap/scapy_enp24s0f0.pcap1576167304.49 root@dpdk-lihong-func:/tmp/tester/
12/12/2019 16:15:06 tester: scp -v /home/mlh/dts/output/tmp/pcap/scapy_enp24s0f0.cmd1576167304.49 root@dpdk-lihong-func:/tmp/tester/
12/12/2019 16:15:08 tester: python /tmp/tester/scapy_enp24s0f0.cmd1576167304.49
12/12/2019 16:15:08 tester: packet ready for sending...
Ether(src='00:00:00:02:00:00', dst='00:11:22:33:44:55', type=2048)/IP(frag=0, src='16.0.0.1', proto=17, tos=0, dst='48.0.0.1', chksum=15013, len=70, options=[], version=4, flags=0, ihl=5, ttl=64, id=1)/UDP(dport=4789, sport=53, len=50, chksum=35887)/Raw(load='\x08\x00\x00\x00\x00\rm\x00\x00\x11"3Df\x00\x00\x00\x02\x00\x00\x90\x00xxxxxxxxxxxxxxxxxxxx')
.
Sent 1 packets.
12/12/2019 16:15:12 TestGeneric_flow_api: vf0: port 0/queue 0: received 1 packets
src=3C:FD:FE:C8:17:48 - dst=FF:FF:FF:FF:FF:FF - type=0x0800 - length=340 - nb_segs=1 - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN L4_UDP - sw ptype: L2_ETHER L3_IPV4 L4_UDP - l2_len=14 - l3_len=20 - l4_len=8 - Receive queue=0x0
ol_flags: PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN
12/12/2019 16:15:12 TestGeneric_flow_api: vf1: port 0/queue 0: received 1 packets
src=3C:FD:FE:C8:17:48 - dst=FF:FF:FF:FF:FF:FF - type=0x0800 - length=340 - nb_segs=1 - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN L4_UDP - sw ptype: L2_ETHER L3_IPV4 L4_UDP - l2_len=14 - l3_len=20 - l4_len=8 - Receive queue=0x0
ol_flags: PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN
port 0/queue 1: received 1 packets
src=00:00:00:02:00:00 - dst=00:11:22:33:44:55 - type=0x0800 - length=84 - nb_segs=1 - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN TUNNEL_GRENAT INNER_L2_ETHER - sw ptype: L2_ETHER L3_IPV4 L4_UDP - l2_len=14 - l3_len=20 - l4_len=8 - VXLAN packet: packet type =24721, Destination UDP port =4789, VNI = 3437 - Receive queue=0x1
ol_flags: PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN
12/12/2019 16:15:14 dut.dpdk-lihong-func:
testpmd> port 0/queue 0: received 1 packets
src=3C:FD:FE:C8:17:48 - dst=FF:FF:FF:FF:FF:FF - type=0x0800 - length=340 - nb_segs=1 - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN L4_UDP - sw ptype: L2_ETHER L3_IPV4 L4_UDP - l2_len=14 - l3_len=20 - l4_len=8 - Receive queue=0x0
ol_flags: PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN
port 0/queue 3: received 1 packets
src=00:00:00:02:00:00 - dst=00:11:22:33:44:55 - type=0x0800 - length=84 - nb_segs=1 - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN TUNNEL_GRENAT INNER_L2_ETHER - sw ptype: L2_ETHER L3_IPV4 L4_UDP - l2_len=14 - l3_len=20 - l4_len=8 - VXLAN packet: packet type =24721, Destination UDP port =4789, VNI = 3437 - Receive queue=0x3
ol_flags: PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN
port 0/queue 0: received 1 packets
src=3C:FD:FE:C8:17:48 - dst=01:80:C2:00:00:0E - type=0x88cc - length=83 - nb_segs=1 - hw ptype: L2_ETHER_LLDP - sw ptype: L2_ETHER - l2_len=14 - Receive queue=0x0
ol_flags: PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN
12/12/2019 16:15:14 dut.dpdk-lihong-func: stop
12/12/2019 16:15:14 dut.dpdk-lihong-func: stop
Telling cores to stop...
Waiting for lcores to finish...
------- Forward Stats for RX Port= 0/Queue= 0 -> TX Port= 0/Queue= 0 -------
RX-packets: 2 TX-packets: 0 TX-dropped: 0
------- Forward Stats for RX Port= 0/Queue= 3 -> TX Port= 0/Queue= 3 -------
RX-packets: 1 TX-packets: 0 TX-dropped: 0
---------------------- Forward statistics for port 0 ----------------------
RX-packets: 6 RX-dropped: 0 RX-total: 6
TX-packets: 0 TX-dropped: 0 TX-total: 0
----------------------------------------------------------------------------
+++++++++++++++ Accumulated forward statistics for all ports+++++++++++++++
RX-packets: 6 RX-dropped: 0 RX-total: 6
TX-packets: 0 TX-dropped: 0 TX-total: 0
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Done.
12/12/2019 16:15:14 TestGeneric_flow_api: pf:
testpmd> port 0/queue 0: received 1 packets
src=3C:FD:FE:C8:17:48 - dst=FF:FF:FF:FF:FF:FF - type=0x0800 - length=340 - nb_segs=1 - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN L4_UDP - sw ptype: L2_ETHER L3_IPV4 L4_UDP - l2_len=14 - l3_len=20 - l4_len=8 - Receive queue=0x0
ol_flags: PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN
port 0/queue 3: received 1 packets
src=00:00:00:02:00:00 - dst=00:11:22:33:44:55 - type=0x0800 - length=84 - nb_segs=1 - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN TUNNEL_GRENAT INNER_L2_ETHER - sw ptype: L2_ETHER L3_IPV4 L4_UDP - l2_len=14 - l3_len=20 - l4_len=8 - VXLAN packet: packet type =24721, Destination UDP port =4789, VNI = 3437 - Receive queue=0x3
ol_flags: PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN
port 0/queue 0: received 1 packets
src=3C:FD:FE:C8:17:48 - dst=01:80:C2:00:00:0E - type=0x88cc - length=83 - nb_segs=1 - hw ptype: L2_ETHER_LLDP - sw ptype: L2_ETHER - l2_len=14 - Receive queue=0x0
ol_flags: PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN
12/12/2019 16:15:16 dut.dpdk-lihong-func: start
12/12/2019 16:15:16 dut.dpdk-lihong-func: start
rxonly packet forwarding - ports=1 - cores=1 - streams=16 - NUMA support enabled, MP allocation mode: native
Logical Core 2 (socket 0) forwards packets on 16 streams:
RX P=0/Q=0 (socket 1) -> TX P=0/Q=0 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=1 (socket 1) -> TX P=0/Q=1 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=2 (socket 1) -> TX P=0/Q=2 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=3 (socket 1) -> TX P=0/Q=3 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=4 (socket 1) -> TX P=0/Q=4 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=5 (socket 1) -> TX P=0/Q=5 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=6 (socket 1) -> TX P=0/Q=6 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=7 (socket 1) -> TX P=0/Q=7 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=8 (socket 1) -> TX P=0/Q=8 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=9 (socket 1) -> TX P=0/Q=9 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=10 (socket 1) -> TX P=0/Q=10 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=11 (socket 1) -> TX P=0/Q=11 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=12 (socket 1) -> TX P=0/Q=12 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=13 (socket 1) -> TX P=0/Q=13 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=14 (socket 1) -> TX P=0/Q=14 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=15 (socket 1) -> TX P=0/Q=15 (socket 1) peer=02:00:00:00:00:00
rxonly packet forwarding packets/burst=32
nb forwarding cores=1 - nb forwarding ports=1
port 0: RX queue number: 16 Tx queue number: 16
Rx offloads=0x0 Tx offloads=0x10000
RX queue: 0
RX desc=1024 - RX free threshold=32
RX threshold registers: pthresh=8 hthresh=8 wthresh=0
RX Offloads=0x0
TX queue: 0
TX desc=512 - TX free threshold=32
TX threshold registers: pthresh=32 hthresh=0 wthresh=0
TX offloads=0x10000 - TX RS bit threshold=32
12/12/2019 16:15:17 tester: scp -v /home/mlh/dts/output/tmp/pcap/scapy_enp24s0f0.pcap1576167317.3 root@dpdk-lihong-func:/tmp/tester/
12/12/2019 16:15:19 tester: scp -v /home/mlh/dts/output/tmp/pcap/scapy_enp24s0f0.cmd1576167317.3 root@dpdk-lihong-func:/tmp/tester/
12/12/2019 16:15:21 tester: python /tmp/tester/scapy_enp24s0f0.cmd1576167317.3
12/12/2019 16:15:21 tester: packet ready for sending...
Ether(src='00:00:00:02:00:00', dst='00:11:22:33:44:55', type=2048)/IP(frag=0, src='16.0.0.1', proto=17, tos=0, dst='48.0.0.1', chksum=14969, len=114, options=[], version=4, flags=0, ihl=5, ttl=64, id=1)/UDP(dport=4789, sport=53, len=94, chksum=62654)/Raw(load='\x08\x00\x00\x00\x00\x00\x00\x00\x00\x11"3Df\x00\x00\x00\x02\x00\x00\x81\x00\x00\x0b\x08\x00E\x00\x00<\x00\x01\x00\x00@\x06:\xba\x10\x00\x00\x010\x00\x00\x01\x00\x14\x00P\x00\x00\x00\x00\x00\x00\x00\x00P\x02 \x00\x9a\xb4\x00\x00xxxxxxxxxxxxxxxxxxxx')
.
Sent 1 packets.
12/12/2019 16:15:25 TestGeneric_flow_api: vf0:
12/12/2019 16:15:25 TestGeneric_flow_api: vf1:
12/12/2019 16:15:27 dut.dpdk-lihong-func: port 0/queue 3: received 1 packets
src=00:00:00:02:00:00 - dst=00:11:22:33:44:55 - type=0x0800 - length=128 - nb_segs=1 - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN TUNNEL_GRENAT INNER_L2_ETHER_VLAN INNER_L3_IPV4_EXT_UNKNOWN INNER_L4_TCP - sw ptype: L2_ETHER L3_IPV4 L4_UDP - l2_len=14 - l3_len=20 - l4_len=8 - VXLAN packet: packet type =24721, Destination UDP port =4789, VNI = 0 - Receive queue=0x3
ol_flags: PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN
12/12/2019 16:15:27 dut.dpdk-lihong-func: stop
12/12/2019 16:15:27 dut.dpdk-lihong-func: stop
Telling cores to stop...
Waiting for lcores to finish...
------- Forward Stats for RX Port= 0/Queue= 3 -> TX Port= 0/Queue= 3 -------
RX-packets: 1 TX-packets: 0 TX-dropped: 0
---------------------- Forward statistics for port 0 ----------------------
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.
12/12/2019 16:15:27 TestGeneric_flow_api: pf: port 0/queue 3: received 1 packets
src=00:00:00:02:00:00 - dst=00:11:22:33:44:55 - type=0x0800 - length=128 - nb_segs=1 - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN TUNNEL_GRENAT INNER_L2_ETHER_VLAN INNER_L3_IPV4_EXT_UNKNOWN INNER_L4_TCP - sw ptype: L2_ETHER L3_IPV4 L4_UDP - l2_len=14 - l3_len=20 - l4_len=8 - VXLAN packet: packet type =24721, Destination UDP port =4789, VNI = 0 - Receive queue=0x3
ol_flags: PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN
12/12/2019 16:15:29 dut.dpdk-lihong-func: start
12/12/2019 16:15:29 dut.dpdk-lihong-func: start
rxonly packet forwarding - ports=1 - cores=1 - streams=16 - NUMA support enabled, MP allocation mode: native
Logical Core 2 (socket 0) forwards packets on 16 streams:
RX P=0/Q=0 (socket 1) -> TX P=0/Q=0 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=1 (socket 1) -> TX P=0/Q=1 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=2 (socket 1) -> TX P=0/Q=2 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=3 (socket 1) -> TX P=0/Q=3 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=4 (socket 1) -> TX P=0/Q=4 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=5 (socket 1) -> TX P=0/Q=5 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=6 (socket 1) -> TX P=0/Q=6 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=7 (socket 1) -> TX P=0/Q=7 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=8 (socket 1) -> TX P=0/Q=8 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=9 (socket 1) -> TX P=0/Q=9 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=10 (socket 1) -> TX P=0/Q=10 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=11 (socket 1) -> TX P=0/Q=11 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=12 (socket 1) -> TX P=0/Q=12 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=13 (socket 1) -> TX P=0/Q=13 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=14 (socket 1) -> TX P=0/Q=14 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=15 (socket 1) -> TX P=0/Q=15 (socket 1) peer=02:00:00:00:00:00
rxonly packet forwarding packets/burst=32
nb forwarding cores=1 - nb forwarding ports=1
port 0: RX queue number: 16 Tx queue number: 16
Rx offloads=0x0 Tx offloads=0x10000
RX queue: 0
RX desc=1024 - RX free threshold=32
RX threshold registers: pthresh=8 hthresh=8 wthresh=0
RX Offloads=0x0
TX queue: 0
TX desc=512 - TX free threshold=32
TX threshold registers: pthresh=32 hthresh=0 wthresh=0
TX offloads=0x10000 - TX RS bit threshold=32
12/12/2019 16:15:30 tester: scp -v /home/mlh/dts/output/tmp/pcap/scapy_enp24s0f0.pcap1576167330.02 root@dpdk-lihong-func:/tmp/tester/
12/12/2019 16:15:31 tester: scp -v /home/mlh/dts/output/tmp/pcap/scapy_enp24s0f0.cmd1576167330.02 root@dpdk-lihong-func:/tmp/tester/
12/12/2019 16:15:33 tester: python /tmp/tester/scapy_enp24s0f0.cmd1576167330.02
12/12/2019 16:15:34 tester: packet ready for sending...
Ether(src='00:00:00:02:00:00', dst='00:11:22:33:44:55', type=2048)/IP(frag=0, src='16.0.0.1', proto=17, tos=0, dst='48.0.0.1', chksum=14973, len=110, options=[], version=4, flags=0, ihl=5, ttl=64, id=1)/UDP(dport=4789, sport=53, len=90, chksum=28865)/Raw(load='\x08\x00\x00\x00\x00\x00\x05\x00\x00\x11"3Dw\x00\x00\x00\x02\x00\x00\x08\x00E\x00\x00<\x00\x01\x00\x00@\x06:\xba\x10\x00\x00\x010\x00\x00\x01\x00\x14\x00P\x00\x00\x00\x00\x00\x00\x00\x00P\x02 \x00\x9a\xb4\x00\x00xxxxxxxxxxxxxxxxxxxx')
.
Sent 1 packets.
12/12/2019 16:15:38 TestGeneric_flow_api: vf0: port 0/queue 0: received 1 packets
src=00:00:00:02:00:00 - dst=00:11:22:33:44:55 - type=0x0800 - length=124 - nb_segs=1 - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN TUNNEL_GRENAT INNER_L2_ETHER INNER_L3_IPV4_EXT_UNKNOWN INNER_L4_TCP - sw ptype: L2_ETHER L3_IPV4 L4_UDP - l2_len=14 - l3_len=20 - l4_len=8 - VXLAN packet: packet type =24721, Destination UDP port =4789, VNI = 5 - Receive queue=0x0
ol_flags: PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN
12/12/2019 16:15:38 TestGeneric_flow_api: vf1: port 0/queue 0: received 1 packets
src=00:00:00:02:00:00 - dst=00:11:22:33:44:55 - type=0x0800 - length=124 - nb_segs=1 - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN TUNNEL_GRENAT INNER_L2_ETHER INNER_L3_IPV4_EXT_UNKNOWN INNER_L4_TCP - sw ptype: L2_ETHER L3_IPV4 L4_UDP - l2_len=14 - l3_len=20 - l4_len=8 - VXLAN packet: packet type =24721, Destination UDP port =4789, VNI = 5 - Receive queue=0x0
ol_flags: PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN
12/12/2019 16:15:40 dut.dpdk-lihong-func: port 0/queue 0: received 1 packets
src=00:00:00:02:00:00 - dst=00:11:22:33:44:55 - type=0x0800 - length=124 - nb_segs=1 - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN TUNNEL_GRENAT INNER_L2_ETHER INNER_L3_IPV4_EXT_UNKNOWN INNER_L4_TCP - sw ptype: L2_ETHER L3_IPV4 L4_UDP - l2_len=14 - l3_len=20 - l4_len=8 - VXLAN packet: packet type =24721, Destination UDP port =4789, VNI = 5 - Receive queue=0x0
ol_flags: PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN
12/12/2019 16:15:40 dut.dpdk-lihong-func: stop
12/12/2019 16:15:40 dut.dpdk-lihong-func: stop
Telling cores to stop...
Waiting for lcores to finish...
------- Forward Stats for RX Port= 0/Queue= 0 -> TX Port= 0/Queue= 0 -------
RX-packets: 1 TX-packets: 0 TX-dropped: 0
---------------------- Forward statistics for port 0 ----------------------
RX-packets: 3 RX-dropped: 0 RX-total: 3
TX-packets: 0 TX-dropped: 0 TX-total: 0
----------------------------------------------------------------------------
+++++++++++++++ Accumulated forward statistics for all ports+++++++++++++++
RX-packets: 3 RX-dropped: 0 RX-total: 3
TX-packets: 0 TX-dropped: 0 TX-total: 0
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Done.
12/12/2019 16:15:40 TestGeneric_flow_api: pf: port 0/queue 0: received 1 packets
src=00:00:00:02:00:00 - dst=00:11:22:33:44:55 - type=0x0800 - length=124 - nb_segs=1 - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN TUNNEL_GRENAT INNER_L2_ETHER INNER_L3_IPV4_EXT_UNKNOWN INNER_L4_TCP - sw ptype: L2_ETHER L3_IPV4 L4_UDP - l2_len=14 - l3_len=20 - l4_len=8 - VXLAN packet: packet type =24721, Destination UDP port =4789, VNI = 5 - Receive queue=0x0
ol_flags: PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN
12/12/2019 16:15:42 dut.dpdk-lihong-func: start
12/12/2019 16:15:42 dut.dpdk-lihong-func: start
port 0/queue 0: received 1 packets
src=3C:FD:FE:C8:17:48 - dst=01:80:C2:00:00:0E - type=0x88cc - length=83 - nb_segs=1 - hw ptype: L2_ETHER_LLDP - sw ptype: L2_ETHER - l2_len=14 - Receive queue=0x0
ol_flags: PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN
rxonly packet forwarding - ports=1 - cores=1 - streams=16 - NUMA support enabled, MP allocation mode: native
Logical Core 2 (socket 0) forwards packets on 16 streams:
RX P=0/Q=0 (socket 1) -> TX P=0/Q=0 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=1 (socket 1) -> TX P=0/Q=1 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=2 (socket 1) -> TX P=0/Q=2 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=3 (socket 1) -> TX P=0/Q=3 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=4 (socket 1) -> TX P=0/Q=4 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=5 (socket 1) -> TX P=0/Q=5 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=6 (socket 1) -> TX P=0/Q=6 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=7 (socket 1) -> TX P=0/Q=7 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=8 (socket 1) -> TX P=0/Q=8 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=9 (socket 1) -> TX P=0/Q=9 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=10 (socket 1) -> TX P=0/Q=10 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=11 (socket 1) -> TX P=0/Q=11 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=12 (socket 1) -> TX P=0/Q=12 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=13 (socket 1) -> TX P=0/Q=13 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=14 (socket 1) -> TX P=0/Q=14 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=15 (socket 1) -> TX P=0/Q=15 (socket 1) peer=02:00:00:00:00:00
rxonly packet forwarding packets/burst=32
nb forwarding cores=1 - nb forwarding ports=1
port 0: RX queue number: 16 Tx queue number: 16
Rx offloads=0x0 Tx offloads=0x10000
RX queue: 0
RX desc=1024 - RX free threshold=32
RX threshold registers: pthresh=8 hthresh=8 wthresh=0
RX Offloads=0x0
TX queue: 0
TX desc=512 - TX free threshold=32
TX threshold registers: pthresh=32 hthresh=0 wthresh=0
TX offloads=0x10000 - TX RS bit threshold=32
12/12/2019 16:15:42 tester: scp -v /home/mlh/dts/output/tmp/pcap/scapy_enp24s0f0.pcap1576167342.8 root@dpdk-lihong-func:/tmp/tester/
12/12/2019 16:15:44 tester: scp -v /home/mlh/dts/output/tmp/pcap/scapy_enp24s0f0.cmd1576167342.8 root@dpdk-lihong-func:/tmp/tester/
12/12/2019 16:15:46 tester: python /tmp/tester/scapy_enp24s0f0.cmd1576167342.8
12/12/2019 16:15:46 tester: packet ready for sending...
Ether(src='00:00:00:02:00:00', dst='00:11:22:33:44:55', type=2048)/IP(frag=0, src='16.0.0.1', proto=17, tos=0, dst='48.0.0.1', chksum=14969, len=114, options=[], version=4, flags=0, ihl=5, ttl=64, id=1)/UDP(dport=4789, sport=53, len=94, chksum=3405)/Raw(load='\x08\x00\x00\x00\x00\x0c\xdb\x00\x00\x11"3Dw\x00\x00\x00\x02\x00\x00\x81\x00\x0c_\x08\x00E\x00\x00<\x00\x01\x00\x00@\x06:\xba\x10\x00\x00\x010\x00\x00\x01\x00\x14\x00P\x00\x00\x00\x00\x00\x00\x00\x00P\x02 \x00\x9a\xb4\x00\x00xxxxxxxxxxxxxxxxxxxx')
.
Sent 1 packets.
12/12/2019 16:15:51 TestGeneric_flow_api: vf0: port 0/queue 0: received 1 packets
src=00:00:00:02:00:00 - dst=00:11:22:33:44:55 - type=0x0800 - length=128 - nb_segs=1 - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN TUNNEL_GRENAT INNER_L2_ETHER_VLAN INNER_L3_IPV4_EXT_UNKNOWN INNER_L4_TCP - sw ptype: L2_ETHER L3_IPV4 L4_UDP - l2_len=14 - l3_len=20 - l4_len=8 - VXLAN packet: packet type =24721, Destination UDP port =4789, VNI = 3291 - Receive queue=0x0
ol_flags: PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN
12/12/2019 16:15:51 TestGeneric_flow_api: vf1: port 0/queue 0: received 1 packets
src=00:00:00:02:00:00 - dst=00:11:22:33:44:55 - type=0x0800 - length=128 - nb_segs=1 - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN TUNNEL_GRENAT INNER_L2_ETHER_VLAN INNER_L3_IPV4_EXT_UNKNOWN INNER_L4_TCP - sw ptype: L2_ETHER L3_IPV4 L4_UDP - l2_len=14 - l3_len=20 - l4_len=8 - VXLAN packet: packet type =24721, Destination UDP port =4789, VNI = 3291 - Receive queue=0x0
ol_flags: PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN
12/12/2019 16:15:53 dut.dpdk-lihong-func: port 0/queue 0: received 1 packets
src=00:00:00:02:00:00 - dst=00:11:22:33:44:55 - type=0x0800 - length=128 - nb_segs=1 - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN TUNNEL_GRENAT INNER_L2_ETHER_VLAN INNER_L3_IPV4_EXT_UNKNOWN INNER_L4_TCP - sw ptype: L2_ETHER L3_IPV4 L4_UDP - l2_len=14 - l3_len=20 - l4_len=8 - VXLAN packet: packet type =24721, Destination UDP port =4789, VNI = 3291 - Receive queue=0x0
ol_flags: PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN
12/12/2019 16:15:53 dut.dpdk-lihong-func: stop
12/12/2019 16:15:53 dut.dpdk-lihong-func: stop
Telling cores to stop...
Waiting for lcores to finish...
------- Forward Stats for RX Port= 0/Queue= 0 -> TX Port= 0/Queue= 0 -------
RX-packets: 1 TX-packets: 0 TX-dropped: 0
---------------------- Forward statistics for port 0 ----------------------
RX-packets: 3 RX-dropped: 0 RX-total: 3
TX-packets: 0 TX-dropped: 0 TX-total: 0
----------------------------------------------------------------------------
+++++++++++++++ Accumulated forward statistics for all ports+++++++++++++++
RX-packets: 3 RX-dropped: 0 RX-total: 3
TX-packets: 0 TX-dropped: 0 TX-total: 0
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Done.
12/12/2019 16:15:53 TestGeneric_flow_api: pf: port 0/queue 0: received 1 packets
src=00:00:00:02:00:00 - dst=00:11:22:33:44:55 - type=0x0800 - length=128 - nb_segs=1 - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN TUNNEL_GRENAT INNER_L2_ETHER_VLAN INNER_L3_IPV4_EXT_UNKNOWN INNER_L4_TCP - sw ptype: L2_ETHER L3_IPV4 L4_UDP - l2_len=14 - l3_len=20 - l4_len=8 - VXLAN packet: packet type =24721, Destination UDP port =4789, VNI = 3291 - Receive queue=0x0
ol_flags: PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN
12/12/2019 16:15:55 dut.dpdk-lihong-func: start
12/12/2019 16:15:55 dut.dpdk-lihong-func: start
rxonly packet forwarding - ports=1 - cores=1 - streams=16 - NUMA support enabled, MP allocation mode: native
Logical Core 2 (socket 0) forwards packets on 16 streams:
RX P=0/Q=0 (socket 1) -> TX P=0/Q=0 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=1 (socket 1) -> TX P=0/Q=1 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=2 (socket 1) -> TX P=0/Q=2 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=3 (socket 1) -> TX P=0/Q=3 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=4 (socket 1) -> TX P=0/Q=4 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=5 (socket 1) -> TX P=0/Q=5 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=6 (socket 1) -> TX P=0/Q=6 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=7 (socket 1) -> TX P=0/Q=7 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=8 (socket 1) -> TX P=0/Q=8 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=9 (socket 1) -> TX P=0/Q=9 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=10 (socket 1) -> TX P=0/Q=10 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=11 (socket 1) -> TX P=0/Q=11 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=12 (socket 1) -> TX P=0/Q=12 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=13 (socket 1) -> TX P=0/Q=13 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=14 (socket 1) -> TX P=0/Q=14 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=15 (socket 1) -> TX P=0/Q=15 (socket 1) peer=02:00:00:00:00:00
rxonly packet forwarding packets/burst=32
nb forwarding cores=1 - nb forwarding ports=1
port 0: RX queue number: 16 Tx queue number: 16
Rx offloads=0x0 Tx offloads=0x10000
RX queue: 0
RX desc=1024 - RX free threshold=32
RX threshold registers: pthresh=8 hthresh=8 wthresh=0
RX Offloads=0x0
TX queue: 0
TX desc=512 - TX free threshold=32
TX threshold registers: pthresh=32 hthresh=0 wthresh=0
TX offloads=0x10000 - TX RS bit threshold=32
12/12/2019 16:15:55 tester: scp -v /home/mlh/dts/output/tmp/pcap/scapy_enp24s0f0.pcap1576167355.57 root@dpdk-lihong-func:/tmp/tester/
12/12/2019 16:15:57 tester: scp -v /home/mlh/dts/output/tmp/pcap/scapy_enp24s0f0.cmd1576167355.57 root@dpdk-lihong-func:/tmp/tester/
12/12/2019 16:15:59 tester: python /tmp/tester/scapy_enp24s0f0.cmd1576167355.57
12/12/2019 16:15:59 tester: packet ready for sending...
Ether(src='00:00:00:02:00:00', dst='00:11:22:33:44:77', type=2048)/IP(frag=0, src='16.0.0.1', proto=17, tos=0, dst='48.0.0.1', chksum=14973, len=110, options=[], version=4, flags=0, ihl=5, ttl=64, id=1)/UDP(dport=4789, sport=53, len=90, chksum=2245)/Raw(load='\x08\x00\x00\x00\x00\rm\x00\x00\x11"3Df\x00\x00\x00\x02\x00\x00\x08\x00E\x00\x00<\x00\x01\x00\x00@\x06:\xba\x10\x00\x00\x010\x00\x00\x01\x00\x14\x00P\x00\x00\x00\x00\x00\x00\x00\x00P\x02 \x00\x9a\xb4\x00\x00xxxxxxxxxxxxxxxxxxxx')
.
Sent 1 packets.
12/12/2019 16:16:03 TestGeneric_flow_api: vf0:
12/12/2019 16:16:03 TestGeneric_flow_api: vf1:
12/12/2019 16:16:05 dut.dpdk-lihong-func: port 0/queue 3: received 1 packets
src=00:00:00:02:00:00 - dst=00:11:22:33:44:77 - type=0x0800 - length=124 - nb_segs=1 - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN TUNNEL_GRENAT INNER_L2_ETHER INNER_L3_IPV4_EXT_UNKNOWN INNER_L4_TCP - sw ptype: L2_ETHER L3_IPV4 L4_UDP - l2_len=14 - l3_len=20 - l4_len=8 - VXLAN packet: packet type =24721, Destination UDP port =4789, VNI = 3437 - Receive queue=0x3
ol_flags: PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN
12/12/2019 16:16:05 dut.dpdk-lihong-func: stop
12/12/2019 16:16:05 dut.dpdk-lihong-func: stop
Telling cores to stop...
Waiting for lcores to finish...
------- Forward Stats for RX Port= 0/Queue= 3 -> TX Port= 0/Queue= 3 -------
RX-packets: 1 TX-packets: 0 TX-dropped: 0
---------------------- Forward statistics for port 0 ----------------------
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.
12/12/2019 16:16:05 TestGeneric_flow_api: pf: port 0/queue 3: received 1 packets
src=00:00:00:02:00:00 - dst=00:11:22:33:44:77 - type=0x0800 - length=124 - nb_segs=1 - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN TUNNEL_GRENAT INNER_L2_ETHER INNER_L3_IPV4_EXT_UNKNOWN INNER_L4_TCP - sw ptype: L2_ETHER L3_IPV4 L4_UDP - l2_len=14 - l3_len=20 - l4_len=8 - VXLAN packet: packet type =24721, Destination UDP port =4789, VNI = 3437 - Receive queue=0x3
ol_flags: PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN
12/12/2019 16:16:07 dut.dpdk-lihong-func: start
12/12/2019 16:16:07 dut.dpdk-lihong-func: start
rxonly packet forwarding - ports=1 - cores=1 - streams=16 - NUMA support enabled, MP allocation mode: native
Logical Core 2 (socket 0) forwards packets on 16 streams:
RX P=0/Q=0 (socket 1) -> TX P=0/Q=0 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=1 (socket 1) -> TX P=0/Q=1 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=2 (socket 1) -> TX P=0/Q=2 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=3 (socket 1) -> TX P=0/Q=3 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=4 (socket 1) -> TX P=0/Q=4 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=5 (socket 1) -> TX P=0/Q=5 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=6 (socket 1) -> TX P=0/Q=6 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=7 (socket 1) -> TX P=0/Q=7 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=8 (socket 1) -> TX P=0/Q=8 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=9 (socket 1) -> TX P=0/Q=9 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=10 (socket 1) -> TX P=0/Q=10 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=11 (socket 1) -> TX P=0/Q=11 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=12 (socket 1) -> TX P=0/Q=12 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=13 (socket 1) -> TX P=0/Q=13 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=14 (socket 1) -> TX P=0/Q=14 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=15 (socket 1) -> TX P=0/Q=15 (socket 1) peer=02:00:00:00:00:00
rxonly packet forwarding packets/burst=32
nb forwarding cores=1 - nb forwarding ports=1
port 0: RX queue number: 16 Tx queue number: 16
Rx offloads=0x0 Tx offloads=0x10000
RX queue: 0
RX desc=1024 - RX free threshold=32
RX threshold registers: pthresh=8 hthresh=8 wthresh=0
RX Offloads=0x0
TX queue: 0
TX desc=512 - TX free threshold=32
TX threshold registers: pthresh=32 hthresh=0 wthresh=0
TX offloads=0x10000 - TX RS bit threshold=32
12/12/2019 16:16:08 dut.dpdk-lihong-func: flow list 0
12/12/2019 16:16:08 dut.dpdk-lihong-func: flow list 0
ID Group Prio Attr Rule
0 0 0 i-- ETH IPV4 UDP VXLAN ETH => PF QUEUE
1 0 0 i-- ETH IPV4 UDP VXLAN ETH => PF QUEUE
2 0 0 i-- ETH IPV4 UDP VXLAN ETH VLAN => PF QUEUE
3 0 0 i-- ETH IPV4 UDP VXLAN ETH VLAN => PF QUEUE
4 0 0 i-- ETH IPV4 UDP VXLAN ETH => PF QUEUE
5 0 0 i-- ETH IPV4 UDP VXLAN ETH VLAN => VF QUEUE
6 0 0 i-- ETH IPV4 UDP VXLAN ETH => VF QUEUE
12/12/2019 16:16:08 dut.dpdk-lihong-func: flow destroy 0 rule 0
12/12/2019 16:16:08 dut.dpdk-lihong-func: flow destroy 0 rule 0
Flow rule #0 destroyed
12/12/2019 16:16:08 dut.dpdk-lihong-func: flow list 0
12/12/2019 16:16:08 dut.dpdk-lihong-func: flow list 0
ID Group Prio Attr Rule
1 0 0 i-- ETH IPV4 UDP VXLAN ETH => PF QUEUE
2 0 0 i-- ETH IPV4 UDP VXLAN ETH VLAN => PF QUEUE
3 0 0 i-- ETH IPV4 UDP VXLAN ETH VLAN => PF QUEUE
4 0 0 i-- ETH IPV4 UDP VXLAN ETH => PF QUEUE
5 0 0 i-- ETH IPV4 UDP VXLAN ETH VLAN => VF QUEUE
6 0 0 i-- ETH IPV4 UDP VXLAN ETH => VF QUEUE
12/12/2019 16:16:08 dut.dpdk-lihong-func: flow flush 0
12/12/2019 16:16:08 dut.dpdk-lihong-func: flow flush 0
12/12/2019 16:16:08 dut.dpdk-lihong-func: flow list 0
12/12/2019 16:16:08 dut.dpdk-lihong-func: flow list 0
12/12/2019 16:16:08 TestGeneric_flow_api: Test Case test_tunnel_filter_vxlan Result PASSED:
12/12/2019 16:16:16 dut.dpdk-lihong-func: quit
12/12/2019 16:16:17 dut.dpdk-lihong-func: quit
Telling cores to stop...
Waiting for lcores to finish...
------- Forward Stats for RX Port= 0/Queue= 0 -> TX Port= 0/Queue= 0 -------
RX-packets: 2 TX-packets: 0 TX-dropped: 0
---------------------- Forward statistics for port 0 ----------------------
RX-packets: 18446744073709551608 RX-dropped: 0 RX-total: 18446744073709551608
TX-packets: 0 TX-dropped: 0 TX-total: 0
----------------------------------------------------------------------------
+++++++++++++++ Accumulated forward statistics for all ports+++++++++++++++
RX-packets: 18446744073709551608 RX-dropped: 0 RX-total: 18446744073709551608
TX-packets: 0 TX-dropped: 0 TX-total: 0
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Done.
Stopping port 0...
Stopping ports...
Done
Shutting down port 0...
Closing ports...
Done
Bye...
12/12/2019 16:16:22 dut.dpdk-lihong-func: kill_all: called by dut and prefix list has value.
12/12/2019 16:16:23 dts:
TEST SUITE ENDED: TestGeneric_flow_api
12/12/2019 16:17:53 dts:
TEST SUITE : TestGeneric_flow_api
next prev parent reply other threads:[~2019-12-12 7:27 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-12-11 23:59 lihong
2019-12-12 7:27 ` Ma, LihongX [this message]
2019-12-17 7:06 ` Tu, Lijuan
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=BE1E572D0441E34284F1F8B7AC28F1970BB37AEA@SHSMSX101.ccr.corp.intel.com \
--to=lihongx.ma@intel.com \
--cc=dts@dpdk.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).