test suite reviews and discussions
 help / color / mirror / Atom feed
From: "Ma, LihongX" <lihongx.ma@intel.com>
To: "dts@dpdk.org" <dts@dpdk.org>
Subject: Re: [dts] [PATCH V1] framework/pmd_output: fix issue of start_testpmd
Date: Mon, 9 Dec 2019 07:36:07 +0000	[thread overview]
Message-ID: <BE1E572D0441E34284F1F8B7AC28F1970BB37225@SHSMSX101.ccr.corp.intel.com> (raw)
In-Reply-To: <1575850110-20942-1-git-send-email-lihongx.ma@intel.com>

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

Tested-by: ma,lihong<lihongx.ma@intel.com>

-----Original Message-----
From: Ma, LihongX 
Sent: Monday, December 9, 2019 8:09 AM
To: dts@dpdk.org
Cc: Ma, LihongX <lihongx.ma@intel.com>
Subject: [dts][PATCH V1] framework/pmd_output: fix issue of start_testpmd

Signed-off-by: lihong <lihongx.ma@intel.com>
---
 framework/pmd_output.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/framework/pmd_output.py b/framework/pmd_output.py index 762f335..407b810 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 ']
--
2.7.4


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

09/12/2019 16:16:01                            dts: 
TEST SUITE : TestGeneric_flow_api
09/12/2019 16:16:01                            dts: NIC :        fortville_spirit
09/12/2019 16:16:01           dut.dpdk-lihong-func: 
09/12/2019 16:16:01                         tester: 
09/12/2019 16:16:05           TestGeneric_flow_api: Test Case test_fdir_for_ipv4 Begin
09/12/2019 16:16:06           dut.dpdk-lihong-func: 
09/12/2019 16:16:06                         tester: 
09/12/2019 16:16:06           dut.dpdk-lihong-func: kill_all: called by dut and has no prefix list.
09/12/2019 16:16:06           dut.dpdk-lihong-func: modprobe uio
09/12/2019 16:16:06           dut.dpdk-lihong-func: 
09/12/2019 16:16:06           dut.dpdk-lihong-func: insmod ./x86_64-native-linuxapp-gcc/kmod/igb_uio.ko
09/12/2019 16:16:06           dut.dpdk-lihong-func: insmod: ERROR: could not insert module ./x86_64-native-linuxapp-gcc/kmod/igb_uio.ko: File exists
09/12/2019 16:16:06           dut.dpdk-lihong-func: modprobe vfio-pci
09/12/2019 16:16:06           dut.dpdk-lihong-func: 
09/12/2019 16:16:09           dut.dpdk-lihong-func: cat /sys/bus/pci/devices/0000\:af\:02.0/vendor
09/12/2019 16:16:09           dut.dpdk-lihong-func: 0x8086
09/12/2019 16:16:09           dut.dpdk-lihong-func: cat /sys/bus/pci/devices/0000\:af\:02.0/device
09/12/2019 16:16:09           dut.dpdk-lihong-func: 0x154c
09/12/2019 16:16:09           dut.dpdk-lihong-func: cat /sys/bus/pci/devices/0000\:af\:02.0/vendor
09/12/2019 16:16:09           dut.dpdk-lihong-func: 0x8086
09/12/2019 16:16:09           dut.dpdk-lihong-func: cat /sys/bus/pci/devices/0000\:af\:02.0/device
09/12/2019 16:16:09           dut.dpdk-lihong-func: 0x154c
09/12/2019 16:16:09           dut.dpdk-lihong-func: cat /sys/bus/pci/devices/0000\:af\:02.1/vendor
09/12/2019 16:16:09           dut.dpdk-lihong-func: 0x8086
09/12/2019 16:16:09           dut.dpdk-lihong-func: cat /sys/bus/pci/devices/0000\:af\:02.1/device
09/12/2019 16:16:09           dut.dpdk-lihong-func: 0x154c
09/12/2019 16:16:09           dut.dpdk-lihong-func: cat /sys/bus/pci/devices/0000\:af\:02.1/vendor
09/12/2019 16:16:09           dut.dpdk-lihong-func: 0x8086
09/12/2019 16:16:09           dut.dpdk-lihong-func: cat /sys/bus/pci/devices/0000\:af\:02.1/device
09/12/2019 16:16:09           dut.dpdk-lihong-func: 0x154c
09/12/2019 16:16:12           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_77168_20191209161539   --socket-mem 1024,1024 --legacy-mem  -- -i --pkt-filter-mode=perfect --disable-rss --rxq=16 --txq=16
09/12/2019 16:16:29           dut.dpdk-lihong-func: EAL: Detected 112 lcore(s)
EAL: Detected 2 NUMA nodes
EAL: Multi-process socket /var/run/dpdk/pf_77168_20191209161539/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_check_write_global_reg(): i40e device 0000:af:00.0 changed global register [0x00267358]. original: 0x0009f00f, new: 0x00000000
i40e_check_write_global_reg(): i40e device 0000:af:00.0 changed global register [0x0026735c]. original: 0x000cff00, new: 0x00000000
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
09/12/2019 16:16:39           dut.dpdk-lihong-func: set fwd rxonly
09/12/2019 16:16:39           dut.dpdk-lihong-func: set fwd rxonly
Set rxonly packet forwarding mode
09/12/2019 16:16:39           dut.dpdk-lihong-func: set verbose 1
09/12/2019 16:16:39           dut.dpdk-lihong-func: set verbose 1
Change verbose level from 0 to 1
09/12/2019 16:16:39           dut.dpdk-lihong-func: start
09/12/2019 16:16:39           dut.dpdk-lihong-func: start
port 0/queue 0: received 4 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 
  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 
  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 
  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 
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
09/12/2019 16:17:14           dut.dpdk-lihong-func: flow create 0 ingress pattern eth / ipv4 dst is 110.253.179.233 src is 76.33.162.152 proto is 255  / end actions queue index 7 /  end
09/12/2019 16:17:15           dut.dpdk-lihong-func: flow create 0 ingress pattern eth / ipv4 dst is 110.253.179.233 src is 76.33.162.152 proto is 255  / end actions queue index 7 /  end
09/12/2019 16:17:15                         tester: scp -v /home/mlh/dts/output/tmp/pcap/scapy_enp24s0f0.pcap1575908235.04 root@dpdk-lihong-func:/tmp/tester/
09/12/2019 16:17:16                         tester: scp -v /home/mlh/dts/output/tmp/pcap/scapy_enp24s0f0.cmd1575908235.04 root@dpdk-lihong-func:/tmp/tester/
09/12/2019 16:17:18                         tester: python /tmp/tester/scapy_enp24s0f0.cmd1575908235.04
09/12/2019 16:17:19                         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='76.33.162.152', proto=255, tos=0, dst='110.253.179.233', chksum=26678, len=40, options=[], version=4, flags=0, ihl=5, ttl=64, id=1)/Raw(load='xxxxxxxxxxxxxxxxxxxx')
.
Sent 1 packets.
09/12/2019 16:17:23           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 

09/12/2019 16:17:23           TestGeneric_flow_api: vf1:  
09/12/2019 16:17:25           dut.dpdk-lihong-func: 
testpmd> port 0/queue 7: received 1 packets
  src=00:00:00:02:00:00 - dst=3C:FD:FE:C8:17:60 - type=0x0800 - length=60 - nb_segs=1 - FDIR matched hash=0x0 ID=0x0  - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN L4_NONFRAG  - sw ptype: L2_ETHER L3_IPV4  - l2_len=14 - l3_len=20 - Receive queue=0x7
  ol_flags: PKT_RX_FDIR PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN 

09/12/2019 16:17:25           dut.dpdk-lihong-func: stop
09/12/2019 16:17:25           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= 7 -> TX Port= 0/Queue= 7 -------
  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.
09/12/2019 16:17:25           TestGeneric_flow_api: pf: 
testpmd> port 0/queue 7: received 1 packets
  src=00:00:00:02:00:00 - dst=3C:FD:FE:C8:17:60 - type=0x0800 - length=60 - nb_segs=1 - FDIR matched hash=0x0 ID=0x0  - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN L4_NONFRAG  - sw ptype: L2_ETHER L3_IPV4  - l2_len=14 - l3_len=20 - Receive queue=0x7
  ol_flags: PKT_RX_FDIR PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN 

09/12/2019 16:17:27           dut.dpdk-lihong-func: start
09/12/2019 16:17:27           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
09/12/2019 16:17:27           dut.dpdk-lihong-func: flow create 0 ingress pattern eth / ipv4 dst is 93.164.243.148 src is 151.205.232.170 ttl is 16 / udp dst is 38810 src is 49458  / end actions queue index 7 /  end
09/12/2019 16:17:27           dut.dpdk-lihong-func: flow create 0 ingress pattern eth / ipv4 dst is 93.164.243.148 src is 151.205.232.170 ttl is 16 / udp dst is 38810 src is 49458  / end actions queue index 7 /  end
09/12/2019 16:17:27                         tester: scp -v /home/mlh/dts/output/tmp/pcap/scapy_enp24s0f0.pcap1575908247.81 root@dpdk-lihong-func:/tmp/tester/
09/12/2019 16:17:29                         tester: scp -v /home/mlh/dts/output/tmp/pcap/scapy_enp24s0f0.cmd1575908247.81 root@dpdk-lihong-func:/tmp/tester/
09/12/2019 16:17:31                         tester: python /tmp/tester/scapy_enp24s0f0.cmd1575908247.81
09/12/2019 16:17:31                         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='151.205.232.170', proto=17, tos=0, dst='93.164.243.148', chksum=55563, len=48, options=[], version=4, flags=0, ihl=5, ttl=16, id=1)/UDP(dport=38810, sport=49458, len=28, chksum=8323)/Raw(load='xxxxxxxxxxxxxxxxxxxx')
.
Sent 1 packets.
09/12/2019 16:17:36           TestGeneric_flow_api: vf0: 
09/12/2019 16:17:36           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 

09/12/2019 16:17:38           dut.dpdk-lihong-func: 
testpmd> port 0/queue 7: received 1 packets
  src=00:00:00:02:00:00 - dst=3C:FD:FE:C8:17:60 - type=0x0800 - length=62 - nb_segs=1 - FDIR matched hash=0x0 ID=0x0  - 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=0x7
  ol_flags: PKT_RX_FDIR 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=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 

09/12/2019 16:17:38           dut.dpdk-lihong-func: stop
09/12/2019 16:17:38           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= 7 -> TX Port= 0/Queue= 7 -------
  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.
09/12/2019 16:17:38           TestGeneric_flow_api: pf: 
testpmd> port 0/queue 7: received 1 packets
  src=00:00:00:02:00:00 - dst=3C:FD:FE:C8:17:60 - type=0x0800 - length=62 - nb_segs=1 - FDIR matched hash=0x0 ID=0x0  - 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=0x7
  ol_flags: PKT_RX_FDIR 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=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 

09/12/2019 16:17:40           dut.dpdk-lihong-func: start
09/12/2019 16:17:40           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
09/12/2019 16:17:40           dut.dpdk-lihong-func: flow create 0 ingress pattern eth / ipv4 dst is 102.31.24.5 src is 171.209.235.127 tos is 143 / tcp dst is 41398 src is 49464  / end actions queue index 5 /  end
09/12/2019 16:17:40           dut.dpdk-lihong-func: flow create 0 ingress pattern eth / ipv4 dst is 102.31.24.5 src is 171.209.235.127 tos is 143 / tcp dst is 41398 src is 49464  / end actions queue index 5 /  end
09/12/2019 16:17:40                         tester: scp -v /home/mlh/dts/output/tmp/pcap/scapy_enp24s0f0.pcap1575908260.64 root@dpdk-lihong-func:/tmp/tester/
09/12/2019 16:17:42                         tester: scp -v /home/mlh/dts/output/tmp/pcap/scapy_enp24s0f0.cmd1575908260.64 root@dpdk-lihong-func:/tmp/tester/
09/12/2019 16:17:44                         tester: python /tmp/tester/scapy_enp24s0f0.cmd1575908260.64
09/12/2019 16:17:44                         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='171.209.235.127', proto=6, tos=143, dst='102.31.24.5', chksum=25783, len=60, options=[], version=4, flags=0, ihl=5, ttl=64, id=1)/TCP(reserved=0, seq=0, ack=0, dataofs=5, urgptr=0, window=8192, flags=2, chksum=25269, dport=41398, sport=49464, options=[])/Raw(load='xxxxxxxxxxxxxxxxxxxx')
.
Sent 1 packets.
09/12/2019 16:17:48           TestGeneric_flow_api: vf0: 
09/12/2019 16:17:48           TestGeneric_flow_api: vf1: 
09/12/2019 16:17:50           dut.dpdk-lihong-func: 
testpmd> port 0/queue 5: received 1 packets
  src=00:00:00:02:00:00 - dst=3C:FD:FE:C8:17:60 - type=0x0800 - length=74 - nb_segs=1 - FDIR matched hash=0x0 ID=0x0  - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN L4_TCP  - sw ptype: L2_ETHER L3_IPV4 L4_TCP  - l2_len=14 - l3_len=20 - l4_len=20 - Receive queue=0x5
  ol_flags: PKT_RX_FDIR PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN 

09/12/2019 16:17:50           dut.dpdk-lihong-func: stop
09/12/2019 16:17:51           dut.dpdk-lihong-func: stop
Telling cores to stop...
Waiting for lcores to finish...

  ------- Forward Stats for RX Port= 0/Queue= 5 -> TX Port= 0/Queue= 5 -------
  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.
09/12/2019 16:17:51           TestGeneric_flow_api: pf: 
testpmd> port 0/queue 5: received 1 packets
  src=00:00:00:02:00:00 - dst=3C:FD:FE:C8:17:60 - type=0x0800 - length=74 - nb_segs=1 - FDIR matched hash=0x0 ID=0x0  - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN L4_TCP  - sw ptype: L2_ETHER L3_IPV4 L4_TCP  - l2_len=14 - l3_len=20 - l4_len=20 - Receive queue=0x5
  ol_flags: PKT_RX_FDIR PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN 

09/12/2019 16:17:53           dut.dpdk-lihong-func: start
09/12/2019 16:17:53           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
09/12/2019 16:17:53           dut.dpdk-lihong-func: flow create 0 ingress pattern eth / vlan tci is 3400 / ipv4 dst is 192.243.38.110 src is 67.173.33.186 tos is 161 ttl is 81 / sctp dst is 20395 src is 28001 tag is 1  / end actions queue index 12 /  end
09/12/2019 16:17:53           dut.dpdk-lihong-func: flow create 0 ingress pattern eth / vlan tci is 3400 / ipv4 dst is 192.243.38.110 src is 67.173.33.186 tos is 161 ttl is 81 / sctp dst is 20395 src is 28001 tag is 1  / end actions queue index 12 /  end
09/12/2019 16:17:53                         tester: scp -v /home/mlh/dts/output/tmp/pcap/scapy_enp24s0f0.pcap1575908273.46 root@dpdk-lihong-func:/tmp/tester/
09/12/2019 16:17:55                         tester: scp -v /home/mlh/dts/output/tmp/pcap/scapy_enp24s0f0.cmd1575908273.46 root@dpdk-lihong-func:/tmp/tester/
09/12/2019 16:17:57                         tester: python /tmp/tester/scapy_enp24s0f0.cmd1575908273.46
09/12/2019 16:17:57                         tester: packet ready for sending...
Ether(src='00:00:00:02:00:00', dst='3c:fd:fe:c8:17:60', type=33024)/Dot1Q(vlan=3400, type=2048, id=0, prio=0)/IP(frag=0, src='67.173.33.186', proto=132, tos=161, dst='192.243.38.110', chksum=7132, len=52, options=[], version=4, flags=0, ihl=5, ttl=81, id=1)/Raw(load='maO\xab\x00\x00\x00\x01,\xfd:2xxxxxxxxxxxxxxxxxxxx')
.
Sent 1 packets.
09/12/2019 16:18:01           TestGeneric_flow_api: vf0: 
09/12/2019 16:18:01           TestGeneric_flow_api: vf1: 
09/12/2019 16:18:03           dut.dpdk-lihong-func: 
testpmd> port 0/queue 12: received 1 packets
  src=00:00:00:02:00:00 - dst=3C:FD:FE:C8:17:60 - type=0x8100 - length=70 - nb_segs=1 - FDIR matched hash=0x0 ID=0x0  - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN L4_SCTP  - sw ptype: L2_ETHER_VLAN L3_IPV4 L4_SCTP  - l2_len=18 - l3_len=20 - l4_len=12 - Receive queue=0xc
  ol_flags: PKT_RX_FDIR PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN 

09/12/2019 16:18:03           dut.dpdk-lihong-func: stop
09/12/2019 16:18:03           dut.dpdk-lihong-func: stop
Telling cores to stop...
Waiting for lcores to finish...

  ------- Forward Stats for RX Port= 0/Queue=12 -> TX Port= 0/Queue=12 -------
  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.
09/12/2019 16:18:03           TestGeneric_flow_api: pf: 
testpmd> port 0/queue 12: received 1 packets
  src=00:00:00:02:00:00 - dst=3C:FD:FE:C8:17:60 - type=0x8100 - length=70 - nb_segs=1 - FDIR matched hash=0x0 ID=0x0  - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN L4_SCTP  - sw ptype: L2_ETHER_VLAN L3_IPV4 L4_SCTP  - l2_len=18 - l3_len=20 - l4_len=12 - Receive queue=0xc
  ol_flags: PKT_RX_FDIR PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN 

09/12/2019 16:18:05           dut.dpdk-lihong-func: start
09/12/2019 16:18:05           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
09/12/2019 16:18:06           dut.dpdk-lihong-func: flow create 0 ingress pattern eth / vlan tci is 417 / ipv4 dst is 54.102.77.254 src is 141.247.251.194 tos is 174 ttl is 58 / sctp dst is 43861 src is 65512 tag is 1  / end actions drop /  end
09/12/2019 16:18:06           dut.dpdk-lihong-func: flow create 0 ingress pattern eth / vlan tci is 417 / ipv4 dst is 54.102.77.254 src is 141.247.251.194 tos is 174 ttl is 58 / sctp dst is 43861 src is 65512 tag is 1  / end actions drop /  end
09/12/2019 16:18:06                         tester: scp -v /home/mlh/dts/output/tmp/pcap/scapy_enp24s0f0.pcap1575908286.28 root@dpdk-lihong-func:/tmp/tester/
09/12/2019 16:18:08                         tester: scp -v /home/mlh/dts/output/tmp/pcap/scapy_enp24s0f0.cmd1575908286.28 root@dpdk-lihong-func:/tmp/tester/
09/12/2019 16:18:10                         tester: python /tmp/tester/scapy_enp24s0f0.cmd1575908286.28
09/12/2019 16:18:10                         tester: packet ready for sending...
Ether(src='00:00:00:02:00:00', dst='3c:fd:fe:c8:17:60', type=33024)/Dot1Q(vlan=417, type=2048, id=0, prio=0)/IP(frag=0, src='141.247.251.194', proto=132, tos=174, dst='54.102.77.254', chksum=29049, len=52, options=[], version=4, flags=0, ihl=5, ttl=58, id=1)/Raw(load='\xff\xe8\xabU\x00\x00\x00\x01\xd1\xfb\xf9Oxxxxxxxxxxxxxxxxxxxx')
.
Sent 1 packets.
09/12/2019 16:18:14           TestGeneric_flow_api: vf0: 
09/12/2019 16:18:14           TestGeneric_flow_api: vf1: 
09/12/2019 16:18:16           dut.dpdk-lihong-func: 
testpmd> 
09/12/2019 16:18:16           dut.dpdk-lihong-func: stop
09/12/2019 16:18:16           dut.dpdk-lihong-func: stop
Telling cores to stop...
Waiting for lcores to finish...

  ---------------------- 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.
09/12/2019 16:18:16           TestGeneric_flow_api: pf: 
testpmd> 
09/12/2019 16:18:18           dut.dpdk-lihong-func: start
09/12/2019 16:18:18           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
09/12/2019 16:18:19           dut.dpdk-lihong-func: flow create 0 ingress transfer pattern eth / ipv4 dst is 26.219.99.53 src is 48.233.33.31 proto is 255 / vf id is 0 / end actions queue index 4 /  end
09/12/2019 16:18:19           dut.dpdk-lihong-func: flow create 0 ingress transfer pattern eth / ipv4 dst is 26.219.99.53 src is 48.233.33.31 proto is 255 / vf id is 0 / end actions queue index 4 /  end
09/12/2019 16:18:19           dut.dpdk-lihong-func: flow create 0 ingress transfer pattern eth / ipv4 dst is 205.207.182.78 src is 1.111.29.191 proto is 255 / vf id is 0 / end actions queue index 2 /  end
09/12/2019 16:18:19           dut.dpdk-lihong-func: flow create 0 ingress transfer pattern eth / ipv4 dst is 205.207.182.78 src is 1.111.29.191 proto is 255 / vf id is 0 / end actions queue index 2 /  end
09/12/2019 16:18:19                         tester: scp -v /home/mlh/dts/output/tmp/pcap/scapy_enp24s0f0.pcap1575908299.22 root@dpdk-lihong-func:/tmp/tester/
09/12/2019 16:18:21                         tester: scp -v /home/mlh/dts/output/tmp/pcap/scapy_enp24s0f0.cmd1575908299.22 root@dpdk-lihong-func:/tmp/tester/
09/12/2019 16:18:23                         tester: python /tmp/tester/scapy_enp24s0f0.cmd1575908299.22
09/12/2019 16:18:23                         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='1.111.29.191', proto=255, tos=0, dst='205.207.182.78', chksum=54922, len=40, options=[], version=4, flags=0, ihl=5, ttl=64, id=1)/Raw(load='xxxxxxxxxxxxxxxxxxxx')
.
Sent 1 packets.
09/12/2019 16:18:27           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=60 - nb_segs=1 - FDIR matched hash=0x0 ID=0x0  - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN L4_NONFRAG  - sw ptype: L2_ETHER L3_IPV4  - l2_len=14 - l3_len=20 - Receive queue=0x2
  ol_flags: PKT_RX_FDIR PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN 

09/12/2019 16:18:27           TestGeneric_flow_api: vf1: port 0/queue 0: received 1 packets
  src=00:00:00:02:00:00 - dst=00:11:22:33:44:77 - type=0x0800 - length=60 - nb_segs=1 - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN L4_NONFRAG  - sw ptype: L2_ETHER L3_IPV4  - l2_len=14 - l3_len=20 - Receive queue=0x0
  ol_flags: PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN 

09/12/2019 16:18:29           dut.dpdk-lihong-func: 
testpmd> port 0/queue 0: received 1 packets
  src=00:00:00:02:00:00 - dst=00:11:22:33:44:77 - type=0x0800 - length=60 - nb_segs=1 - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN L4_NONFRAG  - sw ptype: L2_ETHER L3_IPV4  - l2_len=14 - l3_len=20 - Receive queue=0x0
  ol_flags: PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN 

09/12/2019 16:18:29           dut.dpdk-lihong-func: stop
09/12/2019 16:18:29           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.
09/12/2019 16:18:29           TestGeneric_flow_api: pf: 
testpmd> port 0/queue 0: received 1 packets
  src=00:00:00:02:00:00 - dst=00:11:22:33:44:77 - type=0x0800 - length=60 - nb_segs=1 - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN L4_NONFRAG  - sw ptype: L2_ETHER L3_IPV4  - l2_len=14 - l3_len=20 - Receive queue=0x0
  ol_flags: PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN 

09/12/2019 16:18:31           dut.dpdk-lihong-func: start
09/12/2019 16:18:31           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
09/12/2019 16:18:31           dut.dpdk-lihong-func: flow create 0 ingress transfer pattern eth / vlan tci is 3977 / ipv4 dst is 96.53.27.108 src is 199.237.55.144 tos is 29 ttl is 98 / sctp dst is 55555 src is 56830 tag is 1 / vf id is 1 / end actions queue index 1 /  end
09/12/2019 16:18:32           dut.dpdk-lihong-func: flow create 0 ingress transfer pattern eth / vlan tci is 3977 / ipv4 dst is 96.53.27.108 src is 199.237.55.144 tos is 29 ttl is 98 / sctp dst is 55555 src is 56830 tag is 1 / vf id is 1 / end actions queue index 1 /  end
09/12/2019 16:18:32                         tester: scp -v /home/mlh/dts/output/tmp/pcap/scapy_enp24s0f0.pcap1575908312.03 root@dpdk-lihong-func:/tmp/tester/
09/12/2019 16:18:33                         tester: scp -v /home/mlh/dts/output/tmp/pcap/scapy_enp24s0f0.cmd1575908312.03 root@dpdk-lihong-func:/tmp/tester/
09/12/2019 16:18:35                         tester: python /tmp/tester/scapy_enp24s0f0.cmd1575908312.03
09/12/2019 16:18:36                         tester: packet ready for sending...
Ether(src='00:00:00:02:00:00', dst='00:11:22:33:44:77', type=33024)/Dot1Q(vlan=3977, type=2048, id=0, prio=0)/IP(frag=0, src='199.237.55.144', proto=132, tos=29, dst='96.53.27.108', chksum=56585, len=52, options=[], version=4, flags=0, ihl=5, ttl=98, id=1)/Raw(load='\xdd\xfe\xd9\x03\x00\x00\x00\x01\x12\xc9\xeb\xf1xxxxxxxxxxxxxxxxxxxx')
.
Sent 1 packets.
09/12/2019 16:18:40           TestGeneric_flow_api: vf0: port 0/queue 0: received 1 packets
  src=00:00:00:02:00:00 - dst=00:11:22:33:44:77 - type=0x8100 - length=70 - nb_segs=1 - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN L4_SCTP  - sw ptype: L2_ETHER_VLAN L3_IPV4 L4_SCTP  - l2_len=18 - l3_len=20 - l4_len=12 - Receive queue=0x0
  ol_flags: PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN 

09/12/2019 16:18:40           TestGeneric_flow_api: vf1: port 0/queue 1: received 1 packets
  src=00:00:00:02:00:00 - dst=00:11:22:33:44:77 - type=0x8100 - length=70 - nb_segs=1 - FDIR matched hash=0x0 ID=0x0  - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN L4_SCTP  - sw ptype: L2_ETHER_VLAN L3_IPV4 L4_SCTP  - l2_len=18 - l3_len=20 - l4_len=12 - Receive queue=0x1
  ol_flags: PKT_RX_FDIR PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN 

09/12/2019 16:18:42           dut.dpdk-lihong-func: 
testpmd> port 0/queue 0: received 1 packets
  src=00:00:00:02:00:00 - dst=00:11:22:33:44:77 - type=0x8100 - length=70 - nb_segs=1 - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN L4_SCTP  - sw ptype: L2_ETHER_VLAN L3_IPV4 L4_SCTP  - l2_len=18 - l3_len=20 - l4_len=12 - 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=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 

09/12/2019 16:18:42           dut.dpdk-lihong-func: stop
09/12/2019 16:18:42           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: 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.
09/12/2019 16:18:42           TestGeneric_flow_api: pf: 
testpmd> port 0/queue 0: received 1 packets
  src=00:00:00:02:00:00 - dst=00:11:22:33:44:77 - type=0x8100 - length=70 - nb_segs=1 - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN L4_SCTP  - sw ptype: L2_ETHER_VLAN L3_IPV4 L4_SCTP  - l2_len=18 - l3_len=20 - l4_len=12 - 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=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 

09/12/2019 16:18:44           dut.dpdk-lihong-func: start
09/12/2019 16:18:44           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
09/12/2019 16:18:44           dut.dpdk-lihong-func: flow create 0 ingress pattern eth / vlan tci is 944 / ipv4 dst is 13.190.9.40 src is 132.37.161.177 tos is 79 ttl is 193 / sctp dst is 37053 src is 11690 tag is 1  / end actions passthru / flag /  end
09/12/2019 16:18:44           dut.dpdk-lihong-func: flow create 0 ingress pattern eth / vlan tci is 944 / ipv4 dst is 13.190.9.40 src is 132.37.161.177 tos is 79 ttl is 193 / sctp dst is 37053 src is 11690 tag is 1  / end actions passthru / flag /  end
09/12/2019 16:18:44                         tester: scp -v /home/mlh/dts/output/tmp/pcap/scapy_enp24s0f0.pcap1575908324.91 root@dpdk-lihong-func:/tmp/tester/
09/12/2019 16:18:46                         tester: scp -v /home/mlh/dts/output/tmp/pcap/scapy_enp24s0f0.cmd1575908324.91 root@dpdk-lihong-func:/tmp/tester/
09/12/2019 16:18:48                         tester: python /tmp/tester/scapy_enp24s0f0.cmd1575908324.91
09/12/2019 16:18:48                         tester: packet ready for sending...
Ether(src='00:00:00:02:00:00', dst='3c:fd:fe:c8:17:60', type=33024)/Dot1Q(vlan=944, type=2048, id=0, prio=0)/IP(frag=0, src='132.37.161.177', proto=132, tos=79, dst='13.190.9.40', chksum=48185, len=52, options=[], version=4, flags=0, ihl=5, ttl=193, id=1)/Raw(load='-\xaa\x90\xbd\x00\x00\x00\x01\xe7\xda\xde\x8dxxxxxxxxxxxxxxxxxxxx')
.
Sent 1 packets.
09/12/2019 16:18:53           TestGeneric_flow_api: vf0: 
09/12/2019 16:18:53           TestGeneric_flow_api: vf1: 
09/12/2019 16:18:55           dut.dpdk-lihong-func: 
testpmd> port 0/queue 0: received 1 packets
  src=00:00:00:02:00:00 - dst=3C:FD:FE:C8:17:60 - type=0x8100 - length=70 - nb_segs=1 - FDIR matched hash=0x0 ID=0x0  - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN L4_SCTP  - sw ptype: L2_ETHER_VLAN L3_IPV4 L4_SCTP  - l2_len=18 - l3_len=20 - l4_len=12 - Receive queue=0x0
  ol_flags: PKT_RX_FDIR PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN 

09/12/2019 16:18:55           dut.dpdk-lihong-func: stop
09/12/2019 16:18:55           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: 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.
09/12/2019 16:18:55           TestGeneric_flow_api: pf: 
testpmd> port 0/queue 0: received 1 packets
  src=00:00:00:02:00:00 - dst=3C:FD:FE:C8:17:60 - type=0x8100 - length=70 - nb_segs=1 - FDIR matched hash=0x0 ID=0x0  - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN L4_SCTP  - sw ptype: L2_ETHER_VLAN L3_IPV4 L4_SCTP  - l2_len=18 - l3_len=20 - l4_len=12 - Receive queue=0x0
  ol_flags: PKT_RX_FDIR PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN 

09/12/2019 16:18:57           dut.dpdk-lihong-func: start
09/12/2019 16:18:57           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
09/12/2019 16:18:57           dut.dpdk-lihong-func: flow create 0 ingress pattern eth / ipv4 dst is 37.124.43.104 src is 42.195.65.252 ttl is 217 / udp dst is 23044 src is 64304  / end actions queue index 12 / flag /  end
09/12/2019 16:18:57           dut.dpdk-lihong-func: flow create 0 ingress pattern eth / ipv4 dst is 37.124.43.104 src is 42.195.65.252 ttl is 217 / udp dst is 23044 src is 64304  / end actions queue index 12 / flag /  end
09/12/2019 16:18:57                         tester: scp -v /home/mlh/dts/output/tmp/pcap/scapy_enp24s0f0.pcap1575908337.74 root@dpdk-lihong-func:/tmp/tester/
09/12/2019 16:18:59                         tester: scp -v /home/mlh/dts/output/tmp/pcap/scapy_enp24s0f0.cmd1575908337.74 root@dpdk-lihong-func:/tmp/tester/
09/12/2019 16:19:01                         tester: python /tmp/tester/scapy_enp24s0f0.cmd1575908337.74
09/12/2019 16:19:01                         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='42.195.65.252', proto=17, tos=0, dst='37.124.43.104', chksum=9241, len=48, options=[], version=4, flags=0, ihl=5, ttl=217, id=1)/UDP(dport=23044, sport=64304, len=28, chksum=14377)/Raw(load='xxxxxxxxxxxxxxxxxxxx')
.
Sent 1 packets.
09/12/2019 16:19:06           TestGeneric_flow_api: vf0: 
09/12/2019 16:19:06           TestGeneric_flow_api: vf1: 
09/12/2019 16:19:08           dut.dpdk-lihong-func: 
testpmd> port 0/queue 12: received 1 packets
  src=00:00:00:02:00:00 - dst=3C:FD:FE:C8:17:60 - type=0x0800 - length=62 - nb_segs=1 - FDIR matched hash=0x0 ID=0x0  - 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=0xc
  ol_flags: PKT_RX_FDIR PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN 

09/12/2019 16:19:08           dut.dpdk-lihong-func: stop
09/12/2019 16:19:08           dut.dpdk-lihong-func: stop
Telling cores to stop...
Waiting for lcores to finish...

  ------- Forward Stats for RX Port= 0/Queue=12 -> TX Port= 0/Queue=12 -------
  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.
09/12/2019 16:19:08           TestGeneric_flow_api: pf: 
testpmd> port 0/queue 12: received 1 packets
  src=00:00:00:02:00:00 - dst=3C:FD:FE:C8:17:60 - type=0x0800 - length=62 - nb_segs=1 - FDIR matched hash=0x0 ID=0x0  - 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=0xc
  ol_flags: PKT_RX_FDIR PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN 

09/12/2019 16:19:10           dut.dpdk-lihong-func: start
09/12/2019 16:19:10           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
09/12/2019 16:19:10           dut.dpdk-lihong-func: flow create 0 ingress pattern eth / ipv4 dst is 134.28.246.225 src is 113.220.161.49 tos is 236 / tcp dst is 61806 src is 44365  / end actions queue index 10 / mark id 3 /  end
09/12/2019 16:19:10           dut.dpdk-lihong-func: flow create 0 ingress pattern eth / ipv4 dst is 134.28.246.225 src is 113.220.161.49 tos is 236 / tcp dst is 61806 src is 44365  / end actions queue index 10 / mark id 3 /  end
09/12/2019 16:19:10                         tester: scp -v /home/mlh/dts/output/tmp/pcap/scapy_enp24s0f0.pcap1575908350.56 root@dpdk-lihong-func:/tmp/tester/
09/12/2019 16:19:12                         tester: scp -v /home/mlh/dts/output/tmp/pcap/scapy_enp24s0f0.cmd1575908350.56 root@dpdk-lihong-func:/tmp/tester/
09/12/2019 16:19:14                         tester: python /tmp/tester/scapy_enp24s0f0.cmd1575908350.56
09/12/2019 16:19:14                         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='113.220.161.49', proto=6, tos=236, dst='134.28.246.225', chksum=59843, len=60, options=[], version=4, flags=0, ihl=5, ttl=64, id=1)/TCP(reserved=0, seq=0, ack=0, dataofs=5, urgptr=0, window=8192, flags=2, chksum=44113, dport=61806, sport=44365, options=[])/Raw(load='xxxxxxxxxxxxxxxxxxxx')
.
Sent 1 packets.
09/12/2019 16:19:18           TestGeneric_flow_api: vf0: 
09/12/2019 16:19:18           TestGeneric_flow_api: vf1: 
09/12/2019 16:19:20           dut.dpdk-lihong-func: 
testpmd> port 0/queue 10: received 1 packets
  src=00:00:00:02:00:00 - dst=3C:FD:FE:C8:17:60 - type=0x0800 - length=74 - nb_segs=1 - FDIR matched ID=0x3 - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN L4_TCP  - sw ptype: L2_ETHER L3_IPV4 L4_TCP  - l2_len=14 - l3_len=20 - l4_len=20 - Receive queue=0xa
  ol_flags: PKT_RX_FDIR PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_FDIR_ID PKT_RX_OUTER_L4_CKSUM_UNKNOWN 

09/12/2019 16:19:20           dut.dpdk-lihong-func: stop
09/12/2019 16:19:20           dut.dpdk-lihong-func: stop
Telling cores to stop...
Waiting for lcores to finish...

  ------- Forward Stats for RX Port= 0/Queue=10 -> TX Port= 0/Queue=10 -------
  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.
09/12/2019 16:19:20           TestGeneric_flow_api: pf: 
testpmd> port 0/queue 10: received 1 packets
  src=00:00:00:02:00:00 - dst=3C:FD:FE:C8:17:60 - type=0x0800 - length=74 - nb_segs=1 - FDIR matched ID=0x3 - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN L4_TCP  - sw ptype: L2_ETHER L3_IPV4 L4_TCP  - l2_len=14 - l3_len=20 - l4_len=20 - Receive queue=0xa
  ol_flags: PKT_RX_FDIR PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_FDIR_ID PKT_RX_OUTER_L4_CKSUM_UNKNOWN 

09/12/2019 16:19:22           dut.dpdk-lihong-func: start
09/12/2019 16:19:23           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
09/12/2019 16:19:23           dut.dpdk-lihong-func: flow create 0 ingress pattern eth / ipv4 dst is 14.113.102.122 src is 107.23.6.101 proto is 255  / end actions passthru / mark id 3 /  end
09/12/2019 16:19:23           dut.dpdk-lihong-func: flow create 0 ingress pattern eth / ipv4 dst is 14.113.102.122 src is 107.23.6.101 proto is 255  / end actions passthru / mark id 3 /  end
09/12/2019 16:19:23                         tester: scp -v /home/mlh/dts/output/tmp/pcap/scapy_enp24s0f0.pcap1575908363.38 root@dpdk-lihong-func:/tmp/tester/
09/12/2019 16:19:25                         tester: scp -v /home/mlh/dts/output/tmp/pcap/scapy_enp24s0f0.cmd1575908363.38 root@dpdk-lihong-func:/tmp/tester/
09/12/2019 16:19:27                         tester: python /tmp/tester/scapy_enp24s0f0.cmd1575908363.38
09/12/2019 16:19:27                         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='107.23.6.101', proto=255, tos=0, dst='14.113.102.122', chksum=37743, len=40, options=[], version=4, flags=0, ihl=5, ttl=64, id=1)/Raw(load='xxxxxxxxxxxxxxxxxxxx')
.
Sent 1 packets.
09/12/2019 16:19:31           TestGeneric_flow_api: vf0: 
09/12/2019 16:19:31           TestGeneric_flow_api: vf1: 
09/12/2019 16:19:33           dut.dpdk-lihong-func: 
testpmd> port 0/queue 0: received 1 packets
  src=00:00:00:02:00:00 - dst=3C:FD:FE:C8:17:60 - type=0x0800 - length=60 - nb_segs=1 - FDIR matched ID=0x3 - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN L4_NONFRAG  - sw ptype: L2_ETHER L3_IPV4  - l2_len=14 - l3_len=20 - Receive queue=0x0
  ol_flags: PKT_RX_FDIR PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_FDIR_ID PKT_RX_OUTER_L4_CKSUM_UNKNOWN 

09/12/2019 16:19:33           dut.dpdk-lihong-func: stop
09/12/2019 16:19:33           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: 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.
09/12/2019 16:19:33           TestGeneric_flow_api: pf: 
testpmd> port 0/queue 0: received 1 packets
  src=00:00:00:02:00:00 - dst=3C:FD:FE:C8:17:60 - type=0x0800 - length=60 - nb_segs=1 - FDIR matched ID=0x3 - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN L4_NONFRAG  - sw ptype: L2_ETHER L3_IPV4  - l2_len=14 - l3_len=20 - Receive queue=0x0
  ol_flags: PKT_RX_FDIR PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_FDIR_ID PKT_RX_OUTER_L4_CKSUM_UNKNOWN 

09/12/2019 16:19:35           dut.dpdk-lihong-func: start
09/12/2019 16:19:35           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
09/12/2019 16:19:36                         tester: scp -v /home/mlh/dts/output/tmp/pcap/scapy_enp24s0f0.pcap1575908376.13 root@dpdk-lihong-func:/tmp/tester/
09/12/2019 16:19:38                         tester: scp -v /home/mlh/dts/output/tmp/pcap/scapy_enp24s0f0.cmd1575908376.13 root@dpdk-lihong-func:/tmp/tester/
09/12/2019 16:19:40                         tester: python /tmp/tester/scapy_enp24s0f0.cmd1575908376.13
09/12/2019 16:19:40                         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='192.168.0.3', proto=255, tos=0, dst='192.168.0.4', chksum=63614, len=40, options=[], version=4, flags=0, ihl=5, ttl=64, id=1)/Raw(load='xxxxxxxxxxxxxxxxxxxx')
.
Sent 1 packets.
09/12/2019 16:19:44           TestGeneric_flow_api: vf0: 
09/12/2019 16:19:44           TestGeneric_flow_api: vf1: 
09/12/2019 16:19:46           dut.dpdk-lihong-func: port 0/queue 0: received 1 packets
  src=00:00:00:02:00:00 - dst=3C:FD:FE:C8:17:60 - type=0x0800 - length=60 - nb_segs=1 - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN L4_NONFRAG  - sw ptype: L2_ETHER L3_IPV4  - l2_len=14 - l3_len=20 - 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=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 

09/12/2019 16:19:46           dut.dpdk-lihong-func: stop
09/12/2019 16:19:46           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: 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.
09/12/2019 16:19:46           TestGeneric_flow_api: pf: port 0/queue 0: received 1 packets
  src=00:00:00:02:00:00 - dst=3C:FD:FE:C8:17:60 - type=0x0800 - length=60 - nb_segs=1 - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN L4_NONFRAG  - sw ptype: L2_ETHER L3_IPV4  - l2_len=14 - l3_len=20 - 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=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 

09/12/2019 16:19:48           dut.dpdk-lihong-func: start
09/12/2019 16:19:48           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
09/12/2019 16:19:48           dut.dpdk-lihong-func: flow list 0
09/12/2019 16:19:48           dut.dpdk-lihong-func: flow list 0
ID	Group	Prio	Attr	Rule
0	0	0	i--	ETH IPV4 => QUEUE
1	0	0	i--	ETH IPV4 UDP => QUEUE
2	0	0	i--	ETH IPV4 TCP => QUEUE
3	0	0	i--	ETH VLAN IPV4 SCTP => QUEUE
4	0	0	i--	ETH VLAN IPV4 SCTP => DROP
5	0	0	i-t	ETH IPV4 VF => QUEUE
6	0	0	i-t	ETH VLAN IPV4 SCTP VF => QUEUE
7	0	0	i--	ETH VLAN IPV4 SCTP => PASSTHRU FLAG
8	0	0	i--	ETH IPV4 UDP => QUEUE FLAG
9	0	0	i--	ETH IPV4 TCP => QUEUE MARK
10	0	0	i--	ETH IPV4 => PASSTHRU MARK
09/12/2019 16:19:48           dut.dpdk-lihong-func: flow destroy 0 rule 0
09/12/2019 16:19:48           dut.dpdk-lihong-func: flow destroy 0 rule 0
Flow rule #0 destroyed
09/12/2019 16:19:48           dut.dpdk-lihong-func: flow list 0
09/12/2019 16:19:49           dut.dpdk-lihong-func: flow list 0
ID	Group	Prio	Attr	Rule
1	0	0	i--	ETH IPV4 UDP => QUEUE
2	0	0	i--	ETH IPV4 TCP => QUEUE
3	0	0	i--	ETH VLAN IPV4 SCTP => QUEUE
4	0	0	i--	ETH VLAN IPV4 SCTP => DROP
5	0	0	i-t	ETH IPV4 VF => QUEUE
6	0	0	i-t	ETH VLAN IPV4 SCTP VF => QUEUE
7	0	0	i--	ETH VLAN IPV4 SCTP => PASSTHRU FLAG
8	0	0	i--	ETH IPV4 UDP => QUEUE FLAG
9	0	0	i--	ETH IPV4 TCP => QUEUE MARK
10	0	0	i--	ETH IPV4 => PASSTHRU MARK
09/12/2019 16:19:49           dut.dpdk-lihong-func: flow flush 0
09/12/2019 16:19:49           dut.dpdk-lihong-func: flow flush 0
09/12/2019 16:19:49           dut.dpdk-lihong-func: flow list 0
09/12/2019 16:19:49           dut.dpdk-lihong-func: flow list 0
09/12/2019 16:19:49           TestGeneric_flow_api: Test Case test_fdir_for_ipv4 Result PASSED:
09/12/2019 16:19:56           dut.dpdk-lihong-func: quit
09/12/2019 16:19:57           dut.dpdk-lihong-func: quit
Telling cores to stop...
Waiting for lcores to finish...

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

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

Done.

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

Shutting down port 0...
Closing ports...
Done

Bye...
09/12/2019 16:20:02           dut.dpdk-lihong-func: kill_all: called by dut and prefix list has value.
09/12/2019 16:20:03                            dts: 
TEST SUITE ENDED: TestGeneric_flow_api

      reply	other threads:[~2019-12-09  7:36 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-12-09  0:08 lihong
2019-12-09  7:36 ` Ma, LihongX [this message]

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=BE1E572D0441E34284F1F8B7AC28F1970BB37225@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).