test suite reviews and discussions
 help / color / mirror / Atom feed
From: "Ling, WeiX" <weix.ling@intel.com>
To: "Ma, LihongX" <lihongx.ma@intel.com>, "dts@dpdk.org" <dts@dpdk.org>
Subject: Re: [dts] [PATCH V1] framework/project_dpdk: add examples/all build for meson build
Date: Thu, 10 Sep 2020 08:51:30 +0000	[thread overview]
Message-ID: <9c54a2b4330548629d9b9a307d670fd5@intel.com> (raw)
In-Reply-To: <1599700376-28951-1-git-send-email-lihongx.ma@intel.com>

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

Tested-by: Ling, Wei<weix.ling@intel.com>

Regards,
Ling Wei

-----Original Message-----
From: Ma, LihongX <lihongx.ma@intel.com> 
Sent: Thursday, September 10, 2020 09:13 AM
To: dts@dpdk.org
Cc: Ling, WeiX <weix.ling@intel.com>; Ma, LihongX <lihongx.ma@intel.com>
Subject: [dts][PATCH V1] framework/project_dpdk: add examples/all build for meson build

add support for build all examples in suite

Signed-off-by: LihongX Ma <lihongx.ma@intel.com>
---
 framework/project_dpdk.py | 12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)

diff --git a/framework/project_dpdk.py b/framework/project_dpdk.py index b5727ef..c1b5eaf 100644
--- a/framework/project_dpdk.py
+++ b/framework/project_dpdk.py
@@ -543,18 +543,22 @@ class DPDKdut(Dut):
 
         folder_info = folder.split('/')
         name = folder_info[-1]
-        if name not in self.apps_name:
+        if name != 'examples' and name not in self.apps_name:
             raise Exception('Please config %s file path on conf/app_name.cfg' % name)
 
-        example = '/'.join(folder_info[folder_info.index('examples')+1:])
+        if name == 'examples':
+            example = 'all'
+        else:
+            example = 
+ '/'.join(folder_info[folder_info.index('examples')+1:])
         out = self.send_expect("meson configure -Dexamples=%s %s" % (example, self.target), "# ")
         assert ("FAILED" not in out), "Compilation error... \r\n %s" % out
         out = self.send_expect("ninja -C %s" % self.target, "# ", timeout)
         assert ("FAILED" not in out), "Compilation error... \r\n %s" % out
 
         # verify the app build in the config path
-        out = self.send_expect('ls %s' % self.apps_name[name], "# ", verify=True)
-        assert(isinstance(out, str)), 'please confirm %s app path and name in app_name.cfg' % name
+        if example != 'all':
+            out = self.send_expect('ls %s' % self.apps_name[name], "# ", verify=True)
+            assert(isinstance(out, str)), 'please confirm %s app path 
+ and name in app_name.cfg' % name
 
         return out
 
--
2.7.4


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

10/09/2020 16:40:56                            dts: 
TEST SUITE : TestTSO
10/09/2020 16:40:56                            dts: NIC :        columbiaville_25g
10/09/2020 16:40:56             dut.10.240.183.113: 
10/09/2020 16:40:56                         tester: 
10/09/2020 16:40:56                         tester: ifconfig TREX:0 mtu 9000
10/09/2020 16:40:56                         tester: SIOCSIFMTU: No such device
10/09/2020 16:40:56                        TestTSO: Test Case test_perf_TSO_2ports Begin
10/09/2020 16:40:56             dut.10.240.183.113: 
10/09/2020 16:40:56                         tester: 
10/09/2020 16:40:56                        TestTSO: Executing PMD using 1S/1C/2T

10/09/2020 16:40:56             dut.10.240.183.113: x86_64-native-linuxapp-gcc/app/dpdk-testpmd  -c 0x1000000000000010000000 -n 4  -w 0000:af:00.0 -w 0000:af:00.1 -- -i --rxd=512 --txd=512 --burst=32 --rxfreet=64 --mbcache=128 --portmask=0x3 --max-pkt-len=9000 --txpt=36 --txht=0 --txwt=0 --txfreet=32 --txrst=32 
10/09/2020 16:40:58             dut.10.240.183.113: EAL: Detected 112 lcore(s)
EAL: Detected 2 NUMA nodes
EAL: Multi-process socket /var/run/dpdk/rte/mp_socket
EAL: Selected IOVA mode 'VA'
EAL: Probing VFIO support...
EAL: VFIO support initialized
EAL:   using IOMMU type 1 (Type 1)
EAL: Probe PCI driver: net_ice (8086:159b) device: 0000:af:00.0 (socket 1)
ice_load_pkg_type(): Active package is: 1.3.16.0, ICE OS Default Package
ice_init_proto_xtr(): Protocol extraction is not supported
EAL: Probe PCI driver: net_ice (8086:159b) device: 0000:af:00.1 (socket 1)
ice_load_pkg_type(): Active package is: 1.3.16.0, ICE OS Default Package
ice_init_proto_xtr(): Protocol extraction is not supported
EAL: No legacy callbacks, legacy socket not created
Interactive-mode selected
testpmd: create a new mbuf pool <mbuf_pool_socket_1>: n=151552, size=2176, socket=1
testpmd: preferred mempool ops selected: ring_mp_mc
Configuring Port 0 (socket 1)
Port 0: 00:00:00:00:01:00
Configuring Port 1 (socket 1)
Port 1: 00:00:00:00:01:01
Checking link statuses...
Done
10/09/2020 16:40:58             dut.10.240.183.113: port stop all
10/09/2020 16:40:58             dut.10.240.183.113: 
Stopping ports...
Checking link statuses...
Done
10/09/2020 16:40:58             dut.10.240.183.113: csum set ip hw 0
10/09/2020 16:40:58             dut.10.240.183.113: 
Parse tunnel is off
IP checksum offload is hw
UDP checksum offload is sw
TCP checksum offload is sw
SCTP checksum offload is sw
Outer-Ip checksum offload is sw
Outer-Udp checksum offload is sw
10/09/2020 16:40:58             dut.10.240.183.113: csum set udp hw 0
10/09/2020 16:40:58             dut.10.240.183.113: 
Parse tunnel is off
IP checksum offload is hw
UDP checksum offload is hw
TCP checksum offload is sw
SCTP checksum offload is sw
Outer-Ip checksum offload is sw
Outer-Udp checksum offload is sw
10/09/2020 16:40:58             dut.10.240.183.113: csum set tcp hw 0
10/09/2020 16:40:58             dut.10.240.183.113: 
Parse tunnel is off
IP checksum offload is hw
UDP checksum offload is hw
TCP checksum offload is hw
SCTP checksum offload is sw
Outer-Ip checksum offload is sw
Outer-Udp checksum offload is sw
10/09/2020 16:40:58             dut.10.240.183.113: csum set sctp hw 0
10/09/2020 16:40:58             dut.10.240.183.113: 
Parse tunnel is off
IP checksum offload is hw
UDP checksum offload is hw
TCP checksum offload is hw
SCTP checksum offload is hw
Outer-Ip checksum offload is sw
Outer-Udp checksum offload is sw
10/09/2020 16:40:58             dut.10.240.183.113: csum set outer-ip hw 0
10/09/2020 16:40:58             dut.10.240.183.113: 
Parse tunnel is off
IP checksum offload is hw
UDP checksum offload is hw
TCP checksum offload is hw
SCTP checksum offload is hw
Outer-Ip checksum offload is hw
Outer-Udp checksum offload is sw
10/09/2020 16:40:58             dut.10.240.183.113: csum parse-tunnel on 0
10/09/2020 16:40:58             dut.10.240.183.113: 
Parse tunnel is on
IP checksum offload is hw
UDP checksum offload is hw
TCP checksum offload is hw
SCTP checksum offload is hw
Outer-Ip checksum offload is hw
Outer-Udp checksum offload is sw
10/09/2020 16:40:58             dut.10.240.183.113: csum set ip hw 1
10/09/2020 16:40:59             dut.10.240.183.113: 
Parse tunnel is off
IP checksum offload is hw
UDP checksum offload is sw
TCP checksum offload is sw
SCTP checksum offload is sw
Outer-Ip checksum offload is sw
Outer-Udp checksum offload is sw
10/09/2020 16:40:59             dut.10.240.183.113: csum set udp hw 1
10/09/2020 16:40:59             dut.10.240.183.113: 
Parse tunnel is off
IP checksum offload is hw
UDP checksum offload is hw
TCP checksum offload is sw
SCTP checksum offload is sw
Outer-Ip checksum offload is sw
Outer-Udp checksum offload is sw
10/09/2020 16:40:59             dut.10.240.183.113: csum set tcp hw 1
10/09/2020 16:40:59             dut.10.240.183.113: 
Parse tunnel is off
IP checksum offload is hw
UDP checksum offload is hw
TCP checksum offload is hw
SCTP checksum offload is sw
Outer-Ip checksum offload is sw
Outer-Udp checksum offload is sw
10/09/2020 16:40:59             dut.10.240.183.113: csum set sctp hw 1
10/09/2020 16:40:59             dut.10.240.183.113: 
Parse tunnel is off
IP checksum offload is hw
UDP checksum offload is hw
TCP checksum offload is hw
SCTP checksum offload is hw
Outer-Ip checksum offload is sw
Outer-Udp checksum offload is sw
10/09/2020 16:40:59             dut.10.240.183.113: csum set outer-ip hw 1
10/09/2020 16:40:59             dut.10.240.183.113: 
Parse tunnel is off
IP checksum offload is hw
UDP checksum offload is hw
TCP checksum offload is hw
SCTP checksum offload is hw
Outer-Ip checksum offload is hw
Outer-Udp checksum offload is sw
10/09/2020 16:40:59             dut.10.240.183.113: csum parse-tunnel on 1
10/09/2020 16:40:59             dut.10.240.183.113: 
Parse tunnel is on
IP checksum offload is hw
UDP checksum offload is hw
TCP checksum offload is hw
SCTP checksum offload is hw
Outer-Ip checksum offload is hw
Outer-Udp checksum offload is sw
10/09/2020 16:40:59             dut.10.240.183.113: tso set 800 1
10/09/2020 16:40:59             dut.10.240.183.113: 
TSO segment size for non-tunneled packets is 800
10/09/2020 16:40:59             dut.10.240.183.113: set fwd csum
10/09/2020 16:40:59             dut.10.240.183.113: 
Set csum packet forwarding mode
10/09/2020 16:40:59             dut.10.240.183.113: port start all
10/09/2020 16:40:59             dut.10.240.183.113: 
Configuring Port 0 (socket 1)
Port 0: 00:00:00:00:01:00
Configuring Port 1 (socket 1)
Port 1: 00:00:00:00:01:01
Checking link statuses...
Done
10/09/2020 16:40:59             dut.10.240.183.113: set promisc all off
10/09/2020 16:40:59             dut.10.240.183.113: 
10/09/2020 16:40:59             dut.10.240.183.113: start
10/09/2020 16:40:59             dut.10.240.183.113: 
csum packet forwarding - ports=2 - cores=1 - streams=2 - NUMA support enabled, MP allocation mode: native
Logical Core 84 (socket 1) forwards packets on 2 streams:
  RX P=0/Q=0 (socket 1) -> TX P=1/Q=0 (socket 1) peer=02:00:00:00:00:01
  RX P=1/Q=0 (socket 1) -> TX P=0/Q=0 (socket 1) peer=02:00:00:00:00:00

  csum packet forwarding packets/burst=32
  nb forwarding cores=1 - nb forwarding ports=2
  port 0: RX queue number: 1 Tx queue number: 1
    Rx offloads=0x800 Tx offloads=0x1009e
    RX queue: 0
      RX desc=512 - RX free threshold=64
      RX threshold registers: pthresh=8 hthresh=8  wthresh=0
      RX Offloads=0x800
    TX queue: 0
      TX desc=512 - TX free threshold=32
      TX threshold registers: pthresh=36 hthresh=0  wthresh=0
      TX offloads=0x1009e - TX RS bit threshold=32
  port 1: RX queue number: 1 Tx queue number: 1
    Rx offloads=0x800 Tx offloads=0x100be
    RX queue: 0
      RX desc=512 - RX free threshold=64
      RX threshold registers: pthresh=8 hthresh=8  wthresh=0
      RX Offloads=0x800
    TX queue: 0
      TX desc=512 - TX free threshold=32
      TX threshold registers: pthresh=36 hthresh=0  wthresh=0
      TX offloads=0x100be - TX RS bit threshold=32
10/09/2020 16:40:59                        TestTSO: Running with frame size 186 
10/09/2020 16:40:59                         tester: scapy
10/09/2020 16:40:59                         tester: INFO: Can't import matplotlib. Not critical, but won't be able to plot.
INFO: Can't import networkx. Not criticial, but won't be able to draw network graphs.
INFO: Can't import PyX. Won't be able to use psdump() or pdfdump().
WARNING: IPython not available. Using standard Python shell instead.
Welcome to Scapy (3.0.0)
10/09/2020 16:41:01                         tester: wrpcap("/home/lingwei/dts_meson/output/dts0.pcap", [Ether(dst="00:00:00:00:01:00",src="52:00:00:00:00:01")/IP(src="192.168.1.1",dst="192.168.1.2")/TCP(sport=1021,dport=1021)/("X"*128)])
10/09/2020 16:41:01                         tester: 
10/09/2020 16:41:01                         tester: wrpcap("/home/lingwei/dts_meson/output/dts1.pcap", [Ether(dst="00:00:00:00:01:01",src="52:00:00:00:00:01")/IP(src="192.168.1.1",dst="192.168.1.2")/TCP(sport=1021,dport=1021)/("X"*128)])
10/09/2020 16:41:02                         tester: 
10/09/2020 16:41:04                         tester: exit()
10/09/2020 16:41:04                         tester: 
10/09/2020 16:41:04                         pktgen: test port 0 map gen port 0
10/09/2020 16:41:04                         pktgen: test port 1 map gen port 1
10/09/2020 16:41:04                         pktgen: test port 1 map gen port 1
10/09/2020 16:41:04                         pktgen: test port 0 map gen port 0
10/09/2020 16:41:04                         pktgen: {'arp': '-',
 'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15],
 'description': 'Ethernet Controller XXV710 for 25GbE SFP28',
 'dest': '00:00:00:00:01:01',
 'driver': 'net_i40e',
 'fc': 'none',
 'fc_supported': 'no',
 'grat_arp': 'off',
 'hw_mac': '3c:fd:fe:cf:30:b0',
 'index': 1,
 'ipv6': 'off',
 'is_fc_supported': False,
 'is_led_supported': True,
 'is_link_supported': True,
 'is_prom_supported': True,
 'is_virtual': 'no',
 'is_vxlan_supported': 'yes',
 'layer_mode': 'Ethernet',
 'led_change_supported': 'yes',
 'link': 'UP',
 'link_change_supported': 'yes',
 'mult': 'off',
 'numa': 0,
 'pci_addr': '0000:1a:00.0',
 'prom': 'off',
 'prom_supported': 'yes',
 'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
 'rx_filter_mode': 'hardware match',
 'rx_queue': 'off',
 'speed': 25.0,
 'src_ipv4': '-',
 'src_mac': '3c:fd:fe:cf:30:b0',
 'stack': 'legacy',
 'status': 'IDLE',
 'supp_speeds': [25000],
 'vlan': '-',
 'vxlan_fs': '-'}
10/09/2020 16:41:04                         pktgen: trex port <1> not support flow control
10/09/2020 16:41:04                         pktgen: check the trex port link status
10/09/2020 16:41:04                         pktgen: {'arp': '-',
 'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15],
 'description': 'Ethernet Controller XXV710 for 25GbE SFP28',
 'dest': '00:00:00:00:01:00',
 'driver': 'net_i40e',
 'fc': 'none',
 'fc_supported': 'no',
 'grat_arp': 'off',
 'hw_mac': '3c:fd:fe:cf:31:ac',
 'index': 0,
 'ipv6': 'off',
 'is_fc_supported': False,
 'is_led_supported': True,
 'is_link_supported': True,
 'is_prom_supported': True,
 'is_virtual': 'no',
 'is_vxlan_supported': 'yes',
 'layer_mode': 'Ethernet',
 'led_change_supported': 'yes',
 'link': 'UP',
 'link_change_supported': 'yes',
 'mult': 'off',
 'numa': 0,
 'pci_addr': '0000:18:00.0',
 'prom': 'on',
 'prom_supported': 'yes',
 'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
 'rx_filter_mode': 'hardware match',
 'rx_queue': 'off',
 'speed': 25.0,
 'src_ipv4': '-',
 'src_mac': '3c:fd:fe:cf:31:ac',
 'stack': 'legacy',
 'status': 'IDLE',
 'supp_speeds': [25000],
 'vlan': '-',
 'vxlan_fs': '-'}
10/09/2020 16:41:04                         pktgen: {'arp': '-',
 'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15],
 'description': 'Ethernet Controller XXV710 for 25GbE SFP28',
 'dest': '00:00:00:00:01:01',
 'driver': 'net_i40e',
 'fc': 'none',
 'fc_supported': 'no',
 'grat_arp': 'off',
 'hw_mac': '3c:fd:fe:cf:30:b0',
 'index': 1,
 'ipv6': 'off',
 'is_fc_supported': False,
 'is_led_supported': True,
 'is_link_supported': True,
 'is_prom_supported': True,
 'is_virtual': 'no',
 'is_vxlan_supported': 'yes',
 'layer_mode': 'Ethernet',
 'led_change_supported': 'yes',
 'link': 'UP',
 'link_change_supported': 'yes',
 'mult': 'off',
 'numa': 0,
 'pci_addr': '0000:1a:00.0',
 'prom': 'on',
 'prom_supported': 'yes',
 'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
 'rx_filter_mode': 'hardware match',
 'rx_queue': 'off',
 'speed': 25.0,
 'src_ipv4': '-',
 'src_mac': '3c:fd:fe:cf:30:b0',
 'stack': 'legacy',
 'status': 'IDLE',
 'supp_speeds': [25000],
 'vlan': '-',
 'vxlan_fs': '-'}
10/09/2020 16:41:04                         pktgen: begin traffic ......
10/09/2020 16:41:04                         pktgen: {'ports': [0, 1], 'mult': '100%', 'core_mask': None, 'force': True}
10/09/2020 16:41:14                         pktgen: begin get port statistic ...
10/09/2020 16:41:14                         pktgen: {'options': {'pcap': '/home/lingwei/dts_meson/output/dts0.pcap',
             'stream_config': {'rate': 100,
                               'transmit_mode': 'continuous',
                               'txmode': {}}},
 'pcap_file': '/home/lingwei/dts_meson/output/dts0.pcap',
 'rx_port': 1,
 'tx_port': 0}
10/09/2020 16:41:14                         pktgen: {0: {'ibytes': 12771504000,
     'ierrors': 0,
     'ipackets': 68664000,
     'obytes': 28251032964,
     'oerrors': 0,
     'opackets': 151887284,
     'rx_bps': 10194461696.0,
     'rx_bps_L1': 11290641136.0,
     'rx_pps': 6851121.5,
     'rx_util': 45.162564544,
     'tx_bps': 22550935552.0,
     'tx_bps_L1': 24975766912.0,
     'tx_pps': 15155196.0,
     'tx_util': 99.903067648},
 1: {'ibytes': 12774896640,
     'ierrors': 0,
     'ipackets': 68682240,
     'obytes': 28248130620,
     'oerrors': 0,
     'opackets': 151871689,
     'rx_bps': 10194489344.0,
     'rx_bps_L1': 11290670304.0,
     'rx_pps': 6851131.0,
     'rx_util': 45.162681216,
     'tx_bps': 22551027712.0,
     'tx_bps_L1': 24975869312.0,
     'tx_pps': 15155260.0,
     'tx_util': 99.903477248},
 'flow_stats': {},
 'global': {'active_flows': 0.0,
            'active_sockets': 0,
            'bw_per_core': 11.477426528930664,
            'cpu_util': 49.12028884887695,
            'cpu_util_raw': 19.3125,
            'open_flows': 0.0,
            'platform_factor': 1.0,
            'queue_full': 74104672,
            'rx_bps': 20388952064.0,
            'rx_core_pps': 0.0,
            'rx_cpu_util': 0.0,
            'rx_drop_bps': 24713009152.0,
            'rx_pps': 13702252.0,
            'socket_util': 0.0,
            'total_alloc_error': 0,
            'total_clients': 0,
            'total_servers': 0,
            'tx_bps': 45101961216.0,
            'tx_cps': 0.0,
            'tx_expected_bps': 0.0,
            'tx_expected_cps': 0.0,
            'tx_expected_pps': 0.0,
            'tx_pps': 30310456.0},
 'latency': {'global': {'bad_hdr': 0, 'old_flow': 0}},
 'total': {'ibytes': 25546400640,
           'ierrors': 0,
           'ipackets': 137346240,
           'obytes': 56499163584,
           'oerrors': 0,
           'opackets': 303758973,
           'rx_bps': 20388951040.0,
           'rx_bps_L1': 22581311440.0,
           'rx_pps': 13702252.5,
           'rx_util': 90.32524576,
           'tx_bps': 45101963264.0,
           'tx_bps_L1': 49951636224.0,
           'tx_pps': 30310456.0,
           'tx_util': 199.806544896}}
10/09/2020 16:41:14                         pktgen: {'ibytes': 12771504000,
 'ierrors': 0,
 'ipackets': 68664000,
 'obytes': 28251032964,
 'oerrors': 0,
 'opackets': 151887284,
 'rx_bps': 10194461696.0,
 'rx_bps_L1': 11290641136.0,
 'rx_pps': 6851121.5,
 'rx_util': 45.162564544,
 'tx_bps': 22550935552.0,
 'tx_bps_L1': 24975766912.0,
 'tx_pps': 15155196.0,
 'tx_util': 99.903067648}
10/09/2020 16:41:14                         pktgen: Tx Port 0 stats: 
tx_port: 0,  tx_bps: 22550935552.000000, tx_pps: 15155196.000000 
10/09/2020 16:41:14                         pktgen: {'ibytes': 12774896640,
 'ierrors': 0,
 'ipackets': 68682240,
 'obytes': 28248130620,
 'oerrors': 0,
 'opackets': 151871689,
 'rx_bps': 10194489344.0,
 'rx_bps_L1': 11290670304.0,
 'rx_pps': 6851131.0,
 'rx_util': 45.162681216,
 'tx_bps': 22551027712.0,
 'tx_bps_L1': 24975869312.0,
 'tx_pps': 15155260.0,
 'tx_util': 99.903477248}
10/09/2020 16:41:14                         pktgen: Rx Port 1 stats: 
rx_port: 1,  rx_bps: 10194489344.000000, rx_pps: 6851131.000000
10/09/2020 16:41:14                         pktgen: {'options': {'pcap': '/home/lingwei/dts_meson/output/dts1.pcap',
             'stream_config': {'rate': 100,
                               'transmit_mode': 'continuous',
                               'txmode': {}}},
 'pcap_file': '/home/lingwei/dts_meson/output/dts1.pcap',
 'rx_port': 0,
 'tx_port': 1}
10/09/2020 16:41:14                         pktgen: {0: {'ibytes': 12776935014,
     'ierrors': 0,
     'ipackets': 68693215,
     'obytes': 28263038706,
     'oerrors': 0,
     'opackets': 151951834,
     'rx_bps': 10194461696.0,
     'rx_bps_L1': 11290641136.0,
     'rx_pps': 6851121.5,
     'rx_util': 45.162564544,
     'tx_bps': 22550935552.0,
     'tx_bps_L1': 24975766912.0,
     'tx_pps': 15155196.0,
     'tx_util': 99.903067648},
 1: {'ibytes': 12780330816,
     'ierrors': 0,
     'ipackets': 68711456,
     'obytes': 28260138222,
     'oerrors': 0,
     'opackets': 151936248,
     'rx_bps': 10194489344.0,
     'rx_bps_L1': 11290670304.0,
     'rx_pps': 6851131.0,
     'rx_util': 45.162681216,
     'tx_bps': 22551027712.0,
     'tx_bps_L1': 24975869312.0,
     'tx_pps': 15155260.0,
     'tx_util': 99.903477248},
 'flow_stats': {},
 'global': {'active_flows': 0.0,
            'active_sockets': 0,
            'bw_per_core': 11.477426528930664,
            'cpu_util': 49.12028884887695,
            'cpu_util_raw': 19.3125,
            'open_flows': 0.0,
            'platform_factor': 1.0,
            'queue_full': 74109639,
            'rx_bps': 20388952064.0,
            'rx_core_pps': 0.0,
            'rx_cpu_util': 0.0,
            'rx_drop_bps': 24713009152.0,
            'rx_pps': 13702252.0,
            'socket_util': 0.0,
            'total_alloc_error': 0,
            'total_clients': 0,
            'total_servers': 0,
            'tx_bps': 45101961216.0,
            'tx_cps': 0.0,
            'tx_expected_bps': 0.0,
            'tx_expected_cps': 0.0,
            'tx_expected_pps': 0.0,
            'tx_pps': 30310456.0},
 'latency': {'global': {'bad_hdr': 0, 'old_flow': 0}},
 'total': {'ibytes': 25557265830,
           'ierrors': 0,
           'ipackets': 137404671,
           'obytes': 56523176928,
           'oerrors': 0,
           'opackets': 303888082,
           'rx_bps': 20388951040.0,
           'rx_bps_L1': 22581311440.0,
           'rx_pps': 13702252.5,
           'rx_util': 90.32524576,
           'tx_bps': 45101963264.0,
           'tx_bps_L1': 49951636224.0,
           'tx_pps': 30310456.0,
           'tx_util': 199.806544896}}
10/09/2020 16:41:14                         pktgen: {'ibytes': 12780330816,
 'ierrors': 0,
 'ipackets': 68711456,
 'obytes': 28260138222,
 'oerrors': 0,
 'opackets': 151936248,
 'rx_bps': 10194489344.0,
 'rx_bps_L1': 11290670304.0,
 'rx_pps': 6851131.0,
 'rx_util': 45.162681216,
 'tx_bps': 22551027712.0,
 'tx_bps_L1': 24975869312.0,
 'tx_pps': 15155260.0,
 'tx_util': 99.903477248}
10/09/2020 16:41:14                         pktgen: Tx Port 1 stats: 
tx_port: 1,  tx_bps: 22551027712.000000, tx_pps: 15155260.000000 
10/09/2020 16:41:14                         pktgen: {'ibytes': 12776935014,
 'ierrors': 0,
 'ipackets': 68693215,
 'obytes': 28263038706,
 'oerrors': 0,
 'opackets': 151951834,
 'rx_bps': 10194461696.0,
 'rx_bps_L1': 11290641136.0,
 'rx_pps': 6851121.5,
 'rx_util': 45.162564544,
 'tx_bps': 22550935552.0,
 'tx_bps_L1': 24975766912.0,
 'tx_pps': 15155196.0,
 'tx_util': 99.903067648}
10/09/2020 16:41:14                         pktgen: Rx Port 0 stats: 
rx_port: 0,  rx_bps: 10194461696.000000, rx_pps: 6851121.500000
10/09/2020 16:41:14                         pktgen: throughput: pps_rx 13702252.500000, bps_rx 20388951040.000000
10/09/2020 16:41:14                         pktgen: traffic completed. 
10/09/2020 16:41:14                        TestTSO: Running with frame size 858 
10/09/2020 16:41:14                         tester: scapy
10/09/2020 16:41:14                         tester: INFO: Can't import matplotlib. Not critical, but won't be able to plot.
INFO: Can't import networkx. Not criticial, but won't be able to draw network graphs.
INFO: Can't import PyX. Won't be able to use psdump() or pdfdump().
WARNING: IPython not available. Using standard Python shell instead.
Welcome to Scapy (3.0.0)
10/09/2020 16:41:16                         tester: wrpcap("/home/lingwei/dts_meson/output/dts0.pcap", [Ether(dst="00:00:00:00:01:00",src="52:00:00:00:00:01")/IP(src="192.168.1.1",dst="192.168.1.2")/TCP(sport=1021,dport=1021)/("X"*800)])
10/09/2020 16:41:16                         tester: 
10/09/2020 16:41:16                         tester: wrpcap("/home/lingwei/dts_meson/output/dts1.pcap", [Ether(dst="00:00:00:00:01:01",src="52:00:00:00:00:01")/IP(src="192.168.1.1",dst="192.168.1.2")/TCP(sport=1021,dport=1021)/("X"*800)])
10/09/2020 16:41:16                         tester: 
10/09/2020 16:41:18                         tester: exit()
10/09/2020 16:41:18                         tester: 
10/09/2020 16:41:18                         pktgen: test port 0 map gen port 0
10/09/2020 16:41:18                         pktgen: test port 1 map gen port 1
10/09/2020 16:41:18                         pktgen: test port 1 map gen port 1
10/09/2020 16:41:18                         pktgen: test port 0 map gen port 0
10/09/2020 16:41:18                         pktgen: test port 0 map gen port 0
10/09/2020 16:41:18                         pktgen: test port 1 map gen port 1
10/09/2020 16:41:18                         pktgen: test port 1 map gen port 1
10/09/2020 16:41:18                         pktgen: test port 0 map gen port 0
10/09/2020 16:41:18                         pktgen: {'arp': '-',
 'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15],
 'description': 'Ethernet Controller XXV710 for 25GbE SFP28',
 'dest': '00:00:00:00:01:01',
 'driver': 'net_i40e',
 'fc': 'none',
 'fc_supported': 'no',
 'grat_arp': 'off',
 'hw_mac': '3c:fd:fe:cf:30:b0',
 'index': 1,
 'ipv6': 'off',
 'is_fc_supported': False,
 'is_led_supported': True,
 'is_link_supported': True,
 'is_prom_supported': True,
 'is_virtual': 'no',
 'is_vxlan_supported': 'yes',
 'layer_mode': 'Ethernet',
 'led_change_supported': 'yes',
 'link': 'UP',
 'link_change_supported': 'yes',
 'mult': 'off',
 'numa': 0,
 'pci_addr': '0000:1a:00.0',
 'prom': 'off',
 'prom_supported': 'yes',
 'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
 'rx_filter_mode': 'hardware match',
 'rx_queue': 'off',
 'speed': 25.0,
 'src_ipv4': '-',
 'src_mac': '3c:fd:fe:cf:30:b0',
 'stack': 'legacy',
 'status': 'IDLE',
 'supp_speeds': [25000],
 'vlan': '-',
 'vxlan_fs': '-'}
10/09/2020 16:41:18                         pktgen: trex port <1> not support flow control
10/09/2020 16:41:18                         pktgen: check the trex port link status
10/09/2020 16:41:18                         pktgen: {'arp': '-',
 'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15],
 'description': 'Ethernet Controller XXV710 for 25GbE SFP28',
 'dest': '00:00:00:00:01:00',
 'driver': 'net_i40e',
 'fc': 'none',
 'fc_supported': 'no',
 'grat_arp': 'off',
 'hw_mac': '3c:fd:fe:cf:31:ac',
 'index': 0,
 'ipv6': 'off',
 'is_fc_supported': False,
 'is_led_supported': True,
 'is_link_supported': True,
 'is_prom_supported': True,
 'is_virtual': 'no',
 'is_vxlan_supported': 'yes',
 'layer_mode': 'Ethernet',
 'led_change_supported': 'yes',
 'link': 'UP',
 'link_change_supported': 'yes',
 'mult': 'off',
 'numa': 0,
 'pci_addr': '0000:18:00.0',
 'prom': 'on',
 'prom_supported': 'yes',
 'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
 'rx_filter_mode': 'hardware match',
 'rx_queue': 'off',
 'speed': 25.0,
 'src_ipv4': '-',
 'src_mac': '3c:fd:fe:cf:31:ac',
 'stack': 'legacy',
 'status': 'IDLE',
 'supp_speeds': [25000],
 'vlan': '-',
 'vxlan_fs': '-'}
10/09/2020 16:41:18                         pktgen: {'arp': '-',
 'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15],
 'description': 'Ethernet Controller XXV710 for 25GbE SFP28',
 'dest': '00:00:00:00:01:01',
 'driver': 'net_i40e',
 'fc': 'none',
 'fc_supported': 'no',
 'grat_arp': 'off',
 'hw_mac': '3c:fd:fe:cf:30:b0',
 'index': 1,
 'ipv6': 'off',
 'is_fc_supported': False,
 'is_led_supported': True,
 'is_link_supported': True,
 'is_prom_supported': True,
 'is_virtual': 'no',
 'is_vxlan_supported': 'yes',
 'layer_mode': 'Ethernet',
 'led_change_supported': 'yes',
 'link': 'UP',
 'link_change_supported': 'yes',
 'mult': 'off',
 'numa': 0,
 'pci_addr': '0000:1a:00.0',
 'prom': 'on',
 'prom_supported': 'yes',
 'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
 'rx_filter_mode': 'hardware match',
 'rx_queue': 'off',
 'speed': 25.0,
 'src_ipv4': '-',
 'src_mac': '3c:fd:fe:cf:30:b0',
 'stack': 'legacy',
 'status': 'IDLE',
 'supp_speeds': [25000],
 'vlan': '-',
 'vxlan_fs': '-'}
10/09/2020 16:41:18                         pktgen: begin traffic ......
10/09/2020 16:41:18                         pktgen: {'ports': [0, 1], 'mult': '100%', 'core_mask': None, 'force': True}
10/09/2020 16:41:28                         pktgen: begin get port statistic ...
10/09/2020 16:41:28                         pktgen: {'options': {'pcap': '/home/lingwei/dts_meson/output/dts0.pcap',
             'stream_config': {'rate': 100,
                               'transmit_mode': 'continuous',
                               'txmode': {}}},
 'pcap_file': '/home/lingwei/dts_meson/output/dts0.pcap',
 'rx_port': 1,
 'tx_port': 0}
10/09/2020 16:41:28                         pktgen: {0: {'ibytes': 30570148752,
     'ierrors': 0,
     'ipackets': 35629547,
     'obytes': 30573775518,
     'oerrors': 0,
     'opackets': 35633775,
     'rx_bps': 24462374912.0,
     'rx_bps_L1': 25032655712.000004,
     'rx_pps': 3564255.0,
     'rx_util': 100.130622848,
     'tx_bps': 24463183872.0,
     'tx_bps_L1': 25033558792.0,
     'tx_pps': 3564843.25,
     'tx_util': 100.134235168},
 1: {'ibytes': 30574575174,
     'ierrors': 0,
     'ipackets': 35634707,
     'obytes': 30570782814,
     'oerrors': 0,
     'opackets': 35630287,
     'rx_bps': 24462233600.0,
     'rx_bps_L1': 25032510960.0,
     'rx_pps': 3564233.5,
     'rx_util': 100.13004384,
     'tx_bps': 24463298560.0,
     'tx_bps_L1': 25033676080.000004,
     'tx_pps': 3564859.5,
     'tx_util': 100.13470432000003},
 'flow_stats': {},
 'global': {'active_flows': 0.0,
            'active_sockets': 0,
            'bw_per_core': 40.99981689453125,
            'cpu_util': 14.916677474975586,
            'cpu_util_raw': 16.375,
            'open_flows': 0.0,
            'platform_factor': 1.0,
            'queue_full': 15555121,
            'rx_bps': 48924610560.0,
            'rx_core_pps': 0.0,
            'rx_cpu_util': 0.0,
            'rx_drop_bps': 0.0,
            'rx_pps': 7128488.5,
            'socket_util': 0.0,
            'total_alloc_error': 0,
            'total_clients': 0,
            'total_servers': 0,
            'tx_bps': 48926482432.0,
            'tx_cps': 0.0,
            'tx_expected_bps': 0.0,
            'tx_expected_cps': 0.0,
            'tx_expected_pps': 0.0,
            'tx_pps': 7129703.0},
 'latency': {'global': {'bad_hdr': 0, 'old_flow': 0}},
 'total': {'ibytes': 61144723926,
           'ierrors': 0,
           'ipackets': 71264254,
           'obytes': 61144558332,
           'oerrors': 0,
           'opackets': 71264062,
           'rx_bps': 48924608512.0,
           'rx_bps_L1': 50065166672.0,
           'rx_pps': 7128488.5,
           'rx_util': 200.26066668800001,
           'tx_bps': 48926482432.0,
           'tx_bps_L1': 50067234872.0,
           'tx_pps': 7129702.75,
           'tx_util': 200.26893948800003}}
10/09/2020 16:41:28                         pktgen: {'ibytes': 30570148752,
 'ierrors': 0,
 'ipackets': 35629547,
 'obytes': 30573775518,
 'oerrors': 0,
 'opackets': 35633775,
 'rx_bps': 24462374912.0,
 'rx_bps_L1': 25032655712.000004,
 'rx_pps': 3564255.0,
 'rx_util': 100.130622848,
 'tx_bps': 24463183872.0,
 'tx_bps_L1': 25033558792.0,
 'tx_pps': 3564843.25,
 'tx_util': 100.134235168}
10/09/2020 16:41:28                         pktgen: Tx Port 0 stats: 
tx_port: 0,  tx_bps: 24463183872.000000, tx_pps: 3564843.250000 
10/09/2020 16:41:28                         pktgen: {'ibytes': 30574575174,
 'ierrors': 0,
 'ipackets': 35634707,
 'obytes': 30570782814,
 'oerrors': 0,
 'opackets': 35630287,
 'rx_bps': 24462233600.0,
 'rx_bps_L1': 25032510960.0,
 'rx_pps': 3564233.5,
 'rx_util': 100.13004384,
 'tx_bps': 24463298560.0,
 'tx_bps_L1': 25033676080.000004,
 'tx_pps': 3564859.5,
 'tx_util': 100.13470432000003}
10/09/2020 16:41:28                         pktgen: Rx Port 1 stats: 
rx_port: 1,  rx_bps: 24462233600.000000, rx_pps: 3564233.500000
10/09/2020 16:41:28                         pktgen: {'options': {'pcap': '/home/lingwei/dts_meson/output/dts1.pcap',
             'stream_config': {'rate': 100,
                               'transmit_mode': 'continuous',
                               'txmode': {}}},
 'pcap_file': '/home/lingwei/dts_meson/output/dts1.pcap',
 'rx_port': 0,
 'tx_port': 1}
10/09/2020 16:41:28                         pktgen: {0: {'ibytes': 30582964698,
     'ierrors': 0,
     'ipackets': 35644485,
     'obytes': 30586594038,
     'oerrors': 0,
     'opackets': 35648715,
     'rx_bps': 24462374912.0,
     'rx_bps_L1': 25032655712.000004,
     'rx_pps': 3564255.0,
     'rx_util': 100.130622848,
     'tx_bps': 24463183872.0,
     'tx_bps_L1': 25033558792.0,
     'tx_pps': 3564843.25,
     'tx_util': 100.134235168},
 1: {'ibytes': 30587391978,
     'ierrors': 0,
     'ipackets': 35649645,
     'obytes': 30583599618,
     'oerrors': 0,
     'opackets': 35645223,
     'rx_bps': 24462233600.0,
     'rx_bps_L1': 25032510960.0,
     'rx_pps': 3564233.5,
     'rx_util': 100.13004384,
     'tx_bps': 24463298560.0,
     'tx_bps_L1': 25033676080.000004,
     'tx_pps': 3564859.5,
     'tx_util': 100.13470432000003},
 'flow_stats': {},
 'global': {'active_flows': 0.0,
            'active_sockets': 0,
            'bw_per_core': 40.99981689453125,
            'cpu_util': 14.916677474975586,
            'cpu_util_raw': 16.375,
            'open_flows': 0.0,
            'platform_factor': 1.0,
            'queue_full': 15560581,
            'rx_bps': 48924610560.0,
            'rx_core_pps': 0.0,
            'rx_cpu_util': 0.0,
            'rx_drop_bps': 0.0,
            'rx_pps': 7128488.5,
            'socket_util': 0.0,
            'total_alloc_error': 0,
            'total_clients': 0,
            'total_servers': 0,
            'tx_bps': 48926482432.0,
            'tx_cps': 0.0,
            'tx_expected_bps': 0.0,
            'tx_expected_cps': 0.0,
            'tx_expected_pps': 0.0,
            'tx_pps': 7129703.0},
 'latency': {'global': {'bad_hdr': 0, 'old_flow': 0}},
 'total': {'ibytes': 61170356676,
           'ierrors': 0,
           'ipackets': 71294130,
           'obytes': 61170193656,
           'oerrors': 0,
           'opackets': 71293938,
           'rx_bps': 48924608512.0,
           'rx_bps_L1': 50065166672.0,
           'rx_pps': 7128488.5,
           'rx_util': 200.26066668800001,
           'tx_bps': 48926482432.0,
           'tx_bps_L1': 50067234872.0,
           'tx_pps': 7129702.75,
           'tx_util': 200.26893948800003}}
10/09/2020 16:41:28                         pktgen: {'ibytes': 30587391978,
 'ierrors': 0,
 'ipackets': 35649645,
 'obytes': 30583599618,
 'oerrors': 0,
 'opackets': 35645223,
 'rx_bps': 24462233600.0,
 'rx_bps_L1': 25032510960.0,
 'rx_pps': 3564233.5,
 'rx_util': 100.13004384,
 'tx_bps': 24463298560.0,
 'tx_bps_L1': 25033676080.000004,
 'tx_pps': 3564859.5,
 'tx_util': 100.13470432000003}
10/09/2020 16:41:28                         pktgen: Tx Port 1 stats: 
tx_port: 1,  tx_bps: 24463298560.000000, tx_pps: 3564859.500000 
10/09/2020 16:41:28                         pktgen: {'ibytes': 30582964698,
 'ierrors': 0,
 'ipackets': 35644485,
 'obytes': 30586594038,
 'oerrors': 0,
 'opackets': 35648715,
 'rx_bps': 24462374912.0,
 'rx_bps_L1': 25032655712.000004,
 'rx_pps': 3564255.0,
 'rx_util': 100.130622848,
 'tx_bps': 24463183872.0,
 'tx_bps_L1': 25033558792.0,
 'tx_pps': 3564843.25,
 'tx_util': 100.134235168}
10/09/2020 16:41:28                         pktgen: Rx Port 0 stats: 
rx_port: 0,  rx_bps: 24462374912.000000, rx_pps: 3564255.000000
10/09/2020 16:41:28                         pktgen: throughput: pps_rx 7128488.500000, bps_rx 48924608512.000000
10/09/2020 16:41:28                         pktgen: traffic completed. 
10/09/2020 16:41:28                        TestTSO: Running with frame size 859 
10/09/2020 16:41:28                         tester: scapy
10/09/2020 16:41:28                         tester: INFO: Can't import matplotlib. Not critical, but won't be able to plot.
INFO: Can't import networkx. Not criticial, but won't be able to draw network graphs.
INFO: Can't import PyX. Won't be able to use psdump() or pdfdump().
WARNING: IPython not available. Using standard Python shell instead.
Welcome to Scapy (3.0.0)
10/09/2020 16:41:30                         tester: wrpcap("/home/lingwei/dts_meson/output/dts0.pcap", [Ether(dst="00:00:00:00:01:00",src="52:00:00:00:00:01")/IP(src="192.168.1.1",dst="192.168.1.2")/TCP(sport=1021,dport=1021)/("X"*801)])
10/09/2020 16:41:30                         tester: 
10/09/2020 16:41:30                         tester: wrpcap("/home/lingwei/dts_meson/output/dts1.pcap", [Ether(dst="00:00:00:00:01:01",src="52:00:00:00:00:01")/IP(src="192.168.1.1",dst="192.168.1.2")/TCP(sport=1021,dport=1021)/("X"*801)])
10/09/2020 16:41:30                         tester: 
10/09/2020 16:41:32                         tester: exit()
10/09/2020 16:41:32                         tester: 
10/09/2020 16:41:32                         pktgen: test port 0 map gen port 0
10/09/2020 16:41:32                         pktgen: test port 1 map gen port 1
10/09/2020 16:41:32                         pktgen: test port 1 map gen port 1
10/09/2020 16:41:32                         pktgen: test port 0 map gen port 0
10/09/2020 16:41:32                         pktgen: test port 0 map gen port 0
10/09/2020 16:41:32                         pktgen: test port 1 map gen port 1
10/09/2020 16:41:32                         pktgen: test port 1 map gen port 1
10/09/2020 16:41:32                         pktgen: test port 0 map gen port 0
10/09/2020 16:41:32                         pktgen: test port 0 map gen port 0
10/09/2020 16:41:32                         pktgen: test port 1 map gen port 1
10/09/2020 16:41:32                         pktgen: test port 1 map gen port 1
10/09/2020 16:41:32                         pktgen: test port 0 map gen port 0
10/09/2020 16:41:32                         pktgen: {'arp': '-',
 'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15],
 'description': 'Ethernet Controller XXV710 for 25GbE SFP28',
 'dest': '00:00:00:00:01:01',
 'driver': 'net_i40e',
 'fc': 'none',
 'fc_supported': 'no',
 'grat_arp': 'off',
 'hw_mac': '3c:fd:fe:cf:30:b0',
 'index': 1,
 'ipv6': 'off',
 'is_fc_supported': False,
 'is_led_supported': True,
 'is_link_supported': True,
 'is_prom_supported': True,
 'is_virtual': 'no',
 'is_vxlan_supported': 'yes',
 'layer_mode': 'Ethernet',
 'led_change_supported': 'yes',
 'link': 'UP',
 'link_change_supported': 'yes',
 'mult': 'off',
 'numa': 0,
 'pci_addr': '0000:1a:00.0',
 'prom': 'off',
 'prom_supported': 'yes',
 'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
 'rx_filter_mode': 'hardware match',
 'rx_queue': 'off',
 'speed': 25.0,
 'src_ipv4': '-',
 'src_mac': '3c:fd:fe:cf:30:b0',
 'stack': 'legacy',
 'status': 'IDLE',
 'supp_speeds': [25000],
 'vlan': '-',
 'vxlan_fs': '-'}
10/09/2020 16:41:32                         pktgen: trex port <1> not support flow control
10/09/2020 16:41:32                         pktgen: check the trex port link status
10/09/2020 16:41:32                         pktgen: {'arp': '-',
 'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15],
 'description': 'Ethernet Controller XXV710 for 25GbE SFP28',
 'dest': '00:00:00:00:01:00',
 'driver': 'net_i40e',
 'fc': 'none',
 'fc_supported': 'no',
 'grat_arp': 'off',
 'hw_mac': '3c:fd:fe:cf:31:ac',
 'index': 0,
 'ipv6': 'off',
 'is_fc_supported': False,
 'is_led_supported': True,
 'is_link_supported': True,
 'is_prom_supported': True,
 'is_virtual': 'no',
 'is_vxlan_supported': 'yes',
 'layer_mode': 'Ethernet',
 'led_change_supported': 'yes',
 'link': 'UP',
 'link_change_supported': 'yes',
 'mult': 'off',
 'numa': 0,
 'pci_addr': '0000:18:00.0',
 'prom': 'on',
 'prom_supported': 'yes',
 'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
 'rx_filter_mode': 'hardware match',
 'rx_queue': 'off',
 'speed': 25.0,
 'src_ipv4': '-',
 'src_mac': '3c:fd:fe:cf:31:ac',
 'stack': 'legacy',
 'status': 'IDLE',
 'supp_speeds': [25000],
 'vlan': '-',
 'vxlan_fs': '-'}
10/09/2020 16:41:32                         pktgen: {'arp': '-',
 'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15],
 'description': 'Ethernet Controller XXV710 for 25GbE SFP28',
 'dest': '00:00:00:00:01:01',
 'driver': 'net_i40e',
 'fc': 'none',
 'fc_supported': 'no',
 'grat_arp': 'off',
 'hw_mac': '3c:fd:fe:cf:30:b0',
 'index': 1,
 'ipv6': 'off',
 'is_fc_supported': False,
 'is_led_supported': True,
 'is_link_supported': True,
 'is_prom_supported': True,
 'is_virtual': 'no',
 'is_vxlan_supported': 'yes',
 'layer_mode': 'Ethernet',
 'led_change_supported': 'yes',
 'link': 'UP',
 'link_change_supported': 'yes',
 'mult': 'off',
 'numa': 0,
 'pci_addr': '0000:1a:00.0',
 'prom': 'on',
 'prom_supported': 'yes',
 'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
 'rx_filter_mode': 'hardware match',
 'rx_queue': 'off',
 'speed': 25.0,
 'src_ipv4': '-',
 'src_mac': '3c:fd:fe:cf:30:b0',
 'stack': 'legacy',
 'status': 'IDLE',
 'supp_speeds': [25000],
 'vlan': '-',
 'vxlan_fs': '-'}
10/09/2020 16:41:32                         pktgen: begin traffic ......
10/09/2020 16:41:32                         pktgen: {'ports': [0, 1], 'mult': '100%', 'core_mask': None, 'force': True}
10/09/2020 16:41:43                         pktgen: begin get port statistic ...
10/09/2020 16:41:43                         pktgen: {'options': {'pcap': '/home/lingwei/dts_meson/output/dts0.pcap',
             'stream_config': {'rate': 100,
                               'transmit_mode': 'continuous',
                               'txmode': {}}},
 'pcap_file': '/home/lingwei/dts_meson/output/dts0.pcap',
 'rx_port': 1,
 'tx_port': 0}
10/09/2020 16:41:43                         pktgen: {0: {'ibytes': 30570837612,
     'ierrors': 0,
     'ipackets': 35588872,
     'obytes': 30574508119,
     'oerrors': 0,
     'opackets': 35593146,
     'rx_bps': 24337903616.0,
     'rx_bps_L1': 24904560336.0,
     'rx_pps': 3541604.5,
     'rx_util': 99.618241344,
     'tx_bps': 24338765824.0,
     'tx_bps_L1': 24905442664.000004,
     'tx_pps': 3541730.25,
     'tx_util': 99.62177065600002},
 1: {'ibytes': 29988893630,
     'ierrors': 0,
     'ipackets': 65051836,
     'obytes': 30572701642,
     'oerrors': 0,
     'opackets': 35591042,
     'rx_bps': 23870183424.0,
     'rx_bps_L1': 24905726624.0,
     'rx_pps': 6472145.0,
     'rx_util': 99.622906496,
     'tx_bps': 24338876416.0,
     'tx_bps_L1': 24905555936.0,
     'tx_pps': 3541747.0,
     'tx_util': 99.62222374400001},
 'flow_stats': {},
 'global': {'active_flows': 0.0,
            'active_sockets': 0,
            'bw_per_core': 39.19914245605469,
            'cpu_util': 15.522546768188477,
            'cpu_util_raw': 17.375,
            'open_flows': 0.0,
            'platform_factor': 1.0,
            'queue_full': 17075263,
            'rx_bps': 48208084992.0,
            'rx_core_pps': 0.0,
            'rx_cpu_util': 0.0,
            'rx_drop_bps': 0.0,
            'rx_pps': 10013750.0,
            'socket_util': 0.0,
            'total_alloc_error': 0,
            'total_clients': 0,
            'total_servers': 0,
            'tx_bps': 48677642240.0,
            'tx_cps': 0.0,
            'tx_expected_bps': 0.0,
            'tx_expected_cps': 0.0,
            'tx_expected_pps': 0.0,
            'tx_pps': 7083477.0},
 'latency': {'global': {'bad_hdr': 0, 'old_flow': 0}},
 'total': {'ibytes': 60559731242,
           'ierrors': 0,
           'ipackets': 100640708,
           'obytes': 61147209761,
           'oerrors': 0,
           'opackets': 71184188,
           'rx_bps': 48208087040.0,
           'rx_bps_L1': 49810286960.0,
           'rx_pps': 10013749.5,
           'rx_util': 199.24114784,
           'tx_bps': 48677642240.0,
           'tx_bps_L1': 49810998600.0,
           'tx_pps': 7083477.25,
           'tx_util': 199.24399440000002}}
10/09/2020 16:41:43                         pktgen: {'ibytes': 30570837612,
 'ierrors': 0,
 'ipackets': 35588872,
 'obytes': 30574508119,
 'oerrors': 0,
 'opackets': 35593146,
 'rx_bps': 24337903616.0,
 'rx_bps_L1': 24904560336.0,
 'rx_pps': 3541604.5,
 'rx_util': 99.618241344,
 'tx_bps': 24338765824.0,
 'tx_bps_L1': 24905442664.000004,
 'tx_pps': 3541730.25,
 'tx_util': 99.62177065600002}
10/09/2020 16:41:43                         pktgen: Tx Port 0 stats: 
tx_port: 0,  tx_bps: 24338765824.000000, tx_pps: 3541730.250000 
10/09/2020 16:41:43                         pktgen: {'ibytes': 29988893630,
 'ierrors': 0,
 'ipackets': 65051836,
 'obytes': 30572701642,
 'oerrors': 0,
 'opackets': 35591042,
 'rx_bps': 23870183424.0,
 'rx_bps_L1': 24905726624.0,
 'rx_pps': 6472145.0,
 'rx_util': 99.622906496,
 'tx_bps': 24338876416.0,
 'tx_bps_L1': 24905555936.0,
 'tx_pps': 3541747.0,
 'tx_util': 99.62222374400001}
10/09/2020 16:41:43                         pktgen: Rx Port 1 stats: 
rx_port: 1,  rx_bps: 23870183424.000000, rx_pps: 6472145.000000
10/09/2020 16:41:43                         pktgen: {'options': {'pcap': '/home/lingwei/dts_meson/output/dts1.pcap',
             'stream_config': {'rate': 100,
                               'transmit_mode': 'continuous',
                               'txmode': {}}},
 'pcap_file': '/home/lingwei/dts_meson/output/dts1.pcap',
 'rx_port': 0,
 'tx_port': 1}
10/09/2020 16:41:43                         pktgen: {0: {'ibytes': 30583549094,
     'ierrors': 0,
     'ipackets': 35603669,
     'obytes': 30587221319,
     'oerrors': 0,
     'opackets': 35607942,
     'rx_bps': 24337903616.0,
     'rx_bps_L1': 24904560336.0,
     'rx_pps': 3541604.5,
     'rx_util': 99.618241344,
     'tx_bps': 24338765824.0,
     'tx_bps_L1': 24905442664.000004,
     'tx_pps': 3541730.25,
     'tx_util': 99.62177065600002},
 1: {'ibytes': 30001356304,
     'ierrors': 0,
     'ipackets': 65078870,
     'obytes': 30585409688,
     'oerrors': 0,
     'opackets': 35605836,
     'rx_bps': 23870183424.0,
     'rx_bps_L1': 24905726624.0,
     'rx_pps': 6472145.0,
     'rx_util': 99.622906496,
     'tx_bps': 24338876416.0,
     'tx_bps_L1': 24905555936.0,
     'tx_pps': 3541747.0,
     'tx_util': 99.62222374400001},
 'flow_stats': {},
 'global': {'active_flows': 0.0,
            'active_sockets': 0,
            'bw_per_core': 39.19914245605469,
            'cpu_util': 15.522546768188477,
            'cpu_util_raw': 17.375,
            'open_flows': 0.0,
            'platform_factor': 1.0,
            'queue_full': 17083128,
            'rx_bps': 48208084992.0,
            'rx_core_pps': 0.0,
            'rx_cpu_util': 0.0,
            'rx_drop_bps': 0.0,
            'rx_pps': 10013750.0,
            'socket_util': 0.0,
            'total_alloc_error': 0,
            'total_clients': 0,
            'total_servers': 0,
            'tx_bps': 48677642240.0,
            'tx_cps': 0.0,
            'tx_expected_bps': 0.0,
            'tx_expected_cps': 0.0,
            'tx_expected_pps': 0.0,
            'tx_pps': 7083477.0},
 'latency': {'global': {'bad_hdr': 0, 'old_flow': 0}},
 'total': {'ibytes': 60584905398,
           'ierrors': 0,
           'ipackets': 100682539,
           'obytes': 61172631007,
           'oerrors': 0,
           'opackets': 71213778,
           'rx_bps': 48208087040.0,
           'rx_bps_L1': 49810286960.0,
           'rx_pps': 10013749.5,
           'rx_util': 199.24114784,
           'tx_bps': 48677642240.0,
           'tx_bps_L1': 49810998600.0,
           'tx_pps': 7083477.25,
           'tx_util': 199.24399440000002}}
10/09/2020 16:41:43                         pktgen: {'ibytes': 30001356304,
 'ierrors': 0,
 'ipackets': 65078870,
 'obytes': 30585409688,
 'oerrors': 0,
 'opackets': 35605836,
 'rx_bps': 23870183424.0,
 'rx_bps_L1': 24905726624.0,
 'rx_pps': 6472145.0,
 'rx_util': 99.622906496,
 'tx_bps': 24338876416.0,
 'tx_bps_L1': 24905555936.0,
 'tx_pps': 3541747.0,
 'tx_util': 99.62222374400001}
10/09/2020 16:41:43                         pktgen: Tx Port 1 stats: 
tx_port: 1,  tx_bps: 24338876416.000000, tx_pps: 3541747.000000 
10/09/2020 16:41:43                         pktgen: {'ibytes': 30583549094,
 'ierrors': 0,
 'ipackets': 35603669,
 'obytes': 30587221319,
 'oerrors': 0,
 'opackets': 35607942,
 'rx_bps': 24337903616.0,
 'rx_bps_L1': 24904560336.0,
 'rx_pps': 3541604.5,
 'rx_util': 99.618241344,
 'tx_bps': 24338765824.0,
 'tx_bps_L1': 24905442664.000004,
 'tx_pps': 3541730.25,
 'tx_util': 99.62177065600002}
10/09/2020 16:41:43                         pktgen: Rx Port 0 stats: 
rx_port: 0,  rx_bps: 24337903616.000000, rx_pps: 3541604.500000
10/09/2020 16:41:43                         pktgen: throughput: pps_rx 10013749.500000, bps_rx 48208087040.000000
10/09/2020 16:41:43                         pktgen: traffic completed. 
10/09/2020 16:41:43                        TestTSO: Running with frame size 1758 
10/09/2020 16:41:43                         tester: scapy
10/09/2020 16:41:43                         tester: INFO: Can't import matplotlib. Not critical, but won't be able to plot.
INFO: Can't import networkx. Not criticial, but won't be able to draw network graphs.
INFO: Can't import PyX. Won't be able to use psdump() or pdfdump().
WARNING: IPython not available. Using standard Python shell instead.
Welcome to Scapy (3.0.0)
10/09/2020 16:41:45                         tester: wrpcap("/home/lingwei/dts_meson/output/dts0.pcap", [Ether(dst="00:00:00:00:01:00",src="52:00:00:00:00:01")/IP(src="192.168.1.1",dst="192.168.1.2")/TCP(sport=1021,dport=1021)/("X"*1700)])
10/09/2020 16:41:45                         tester: 
10/09/2020 16:41:45                         tester: wrpcap("/home/lingwei/dts_meson/output/dts1.pcap", [Ether(dst="00:00:00:00:01:01",src="52:00:00:00:00:01")/IP(src="192.168.1.1",dst="192.168.1.2")/TCP(sport=1021,dport=1021)/("X"*1700)])
10/09/2020 16:41:45                         tester: 
10/09/2020 16:41:47                         tester: exit()
10/09/2020 16:41:47                         tester: 
10/09/2020 16:41:47                         pktgen: test port 0 map gen port 0
10/09/2020 16:41:47                         pktgen: test port 1 map gen port 1
10/09/2020 16:41:47                         pktgen: test port 1 map gen port 1
10/09/2020 16:41:47                         pktgen: test port 0 map gen port 0
10/09/2020 16:41:47                         pktgen: test port 0 map gen port 0
10/09/2020 16:41:47                         pktgen: test port 1 map gen port 1
10/09/2020 16:41:47                         pktgen: test port 1 map gen port 1
10/09/2020 16:41:47                         pktgen: test port 0 map gen port 0
10/09/2020 16:41:47                         pktgen: test port 0 map gen port 0
10/09/2020 16:41:47                         pktgen: test port 1 map gen port 1
10/09/2020 16:41:47                         pktgen: test port 1 map gen port 1
10/09/2020 16:41:47                         pktgen: test port 0 map gen port 0
10/09/2020 16:41:47                         pktgen: test port 0 map gen port 0
10/09/2020 16:41:47                         pktgen: test port 1 map gen port 1
10/09/2020 16:41:47                         pktgen: test port 1 map gen port 1
10/09/2020 16:41:47                         pktgen: test port 0 map gen port 0
10/09/2020 16:41:47                         pktgen: {'arp': '-',
 'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15],
 'description': 'Ethernet Controller XXV710 for 25GbE SFP28',
 'dest': '00:00:00:00:01:01',
 'driver': 'net_i40e',
 'fc': 'none',
 'fc_supported': 'no',
 'grat_arp': 'off',
 'hw_mac': '3c:fd:fe:cf:30:b0',
 'index': 1,
 'ipv6': 'off',
 'is_fc_supported': False,
 'is_led_supported': True,
 'is_link_supported': True,
 'is_prom_supported': True,
 'is_virtual': 'no',
 'is_vxlan_supported': 'yes',
 'layer_mode': 'Ethernet',
 'led_change_supported': 'yes',
 'link': 'UP',
 'link_change_supported': 'yes',
 'mult': 'off',
 'numa': 0,
 'pci_addr': '0000:1a:00.0',
 'prom': 'off',
 'prom_supported': 'yes',
 'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
 'rx_filter_mode': 'hardware match',
 'rx_queue': 'off',
 'speed': 25.0,
 'src_ipv4': '-',
 'src_mac': '3c:fd:fe:cf:30:b0',
 'stack': 'legacy',
 'status': 'IDLE',
 'supp_speeds': [25000],
 'vlan': '-',
 'vxlan_fs': '-'}
10/09/2020 16:41:47                         pktgen: trex port <1> not support flow control
10/09/2020 16:41:47                         pktgen: check the trex port link status
10/09/2020 16:41:47                         pktgen: {'arp': '-',
 'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15],
 'description': 'Ethernet Controller XXV710 for 25GbE SFP28',
 'dest': '00:00:00:00:01:00',
 'driver': 'net_i40e',
 'fc': 'none',
 'fc_supported': 'no',
 'grat_arp': 'off',
 'hw_mac': '3c:fd:fe:cf:31:ac',
 'index': 0,
 'ipv6': 'off',
 'is_fc_supported': False,
 'is_led_supported': True,
 'is_link_supported': True,
 'is_prom_supported': True,
 'is_virtual': 'no',
 'is_vxlan_supported': 'yes',
 'layer_mode': 'Ethernet',
 'led_change_supported': 'yes',
 'link': 'UP',
 'link_change_supported': 'yes',
 'mult': 'off',
 'numa': 0,
 'pci_addr': '0000:18:00.0',
 'prom': 'on',
 'prom_supported': 'yes',
 'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
 'rx_filter_mode': 'hardware match',
 'rx_queue': 'off',
 'speed': 25.0,
 'src_ipv4': '-',
 'src_mac': '3c:fd:fe:cf:31:ac',
 'stack': 'legacy',
 'status': 'IDLE',
 'supp_speeds': [25000],
 'vlan': '-',
 'vxlan_fs': '-'}
10/09/2020 16:41:47                         pktgen: {'arp': '-',
 'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15],
 'description': 'Ethernet Controller XXV710 for 25GbE SFP28',
 'dest': '00:00:00:00:01:01',
 'driver': 'net_i40e',
 'fc': 'none',
 'fc_supported': 'no',
 'grat_arp': 'off',
 'hw_mac': '3c:fd:fe:cf:30:b0',
 'index': 1,
 'ipv6': 'off',
 'is_fc_supported': False,
 'is_led_supported': True,
 'is_link_supported': True,
 'is_prom_supported': True,
 'is_virtual': 'no',
 'is_vxlan_supported': 'yes',
 'layer_mode': 'Ethernet',
 'led_change_supported': 'yes',
 'link': 'UP',
 'link_change_supported': 'yes',
 'mult': 'off',
 'numa': 0,
 'pci_addr': '0000:1a:00.0',
 'prom': 'on',
 'prom_supported': 'yes',
 'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
 'rx_filter_mode': 'hardware match',
 'rx_queue': 'off',
 'speed': 25.0,
 'src_ipv4': '-',
 'src_mac': '3c:fd:fe:cf:30:b0',
 'stack': 'legacy',
 'status': 'IDLE',
 'supp_speeds': [25000],
 'vlan': '-',
 'vxlan_fs': '-'}
10/09/2020 16:41:47                         pktgen: begin traffic ......
10/09/2020 16:41:47                         pktgen: {'ports': [0, 1], 'mult': '100%', 'core_mask': None, 'force': True}
10/09/2020 16:41:57                         pktgen: begin get port statistic ...
10/09/2020 16:41:57                         pktgen: {'options': {'pcap': '/home/lingwei/dts_meson/output/dts0.pcap',
             'stream_config': {'rate': 100,
                               'transmit_mode': 'continuous',
                               'txmode': {}}},
 'pcap_file': '/home/lingwei/dts_meson/output/dts0.pcap',
 'rx_port': 1,
 'tx_port': 0}
10/09/2020 16:41:57                         pktgen: {0: {'ibytes': 30932187558,
     'ierrors': 0,
     'ipackets': 17595103,
     'obytes': 30933059526,
     'oerrors': 0,
     'opackets': 17595599,
     'rx_bps': 24664002560.0,
     'rx_bps_L1': 24944619920.000004,
     'rx_pps': 1753858.5,
     'rx_util': 99.77847968000002,
     'tx_bps': 24663885824.0,
     'tx_bps_L1': 24944501804.000004,
     'tx_pps': 1753849.875,
     'tx_util': 99.77800721600002},
 1: {'ibytes': 30317354616,
     'ierrors': 0,
     'ipackets': 48533657,
     'obytes': 30932827470,
     'oerrors': 0,
     'opackets': 17595466,
     'rx_bps': 24170868736.0,
     'rx_bps_L1': 24944773376.000004,
     'rx_pps': 4836904.0,
     'rx_util': 99.77909350400002,
     'tx_bps': 24664010752.0,
     'tx_bps_L1': 24944628132.0,
     'tx_pps': 1753858.625,
     'tx_util': 99.778512528},
 'flow_stats': {},
 'global': {'active_flows': 0.0,
            'active_sockets': 0,
            'bw_per_core': 112.1550064086914,
            'cpu_util': 5.497736930847168,
            'cpu_util_raw': 7.75,
            'open_flows': 0.0,
            'platform_factor': 1.0,
            'queue_full': 3679457,
            'rx_bps': 48834871296.0,
            'rx_core_pps': 0.0,
            'rx_cpu_util': 0.0,
            'rx_drop_bps': 0.0,
            'rx_pps': 6590762.5,
            'socket_util': 0.0,
            'total_alloc_error': 0,
            'total_clients': 0,
            'total_servers': 0,
            'tx_bps': 49327898624.0,
            'tx_cps': 0.0,
            'tx_expected_bps': 0.0,
            'tx_expected_cps': 0.0,
            'tx_expected_pps': 0.0,
            'tx_pps': 3507708.5},
 'latency': {'global': {'bad_hdr': 0, 'old_flow': 0}},
 'total': {'ibytes': 61249542174,
           'ierrors': 0,
           'ipackets': 66128760,
           'obytes': 61865886996,
           'oerrors': 0,
           'opackets': 35191065,
           'rx_bps': 48834871296.0,
           'rx_bps_L1': 49889393296.00001,
           'rx_pps': 6590762.5,
           'rx_util': 199.55757318400003,
           'tx_bps': 49327896576.0,
           'tx_bps_L1': 49889129936.0,
           'tx_pps': 3507708.5,
           'tx_util': 199.556519744}}
10/09/2020 16:41:57                         pktgen: {'ibytes': 30932187558,
 'ierrors': 0,
 'ipackets': 17595103,
 'obytes': 30933059526,
 'oerrors': 0,
 'opackets': 17595599,
 'rx_bps': 24664002560.0,
 'rx_bps_L1': 24944619920.000004,
 'rx_pps': 1753858.5,
 'rx_util': 99.77847968000002,
 'tx_bps': 24663885824.0,
 'tx_bps_L1': 24944501804.000004,
 'tx_pps': 1753849.875,
 'tx_util': 99.77800721600002}
10/09/2020 16:41:57                         pktgen: Tx Port 0 stats: 
tx_port: 0,  tx_bps: 24663885824.000000, tx_pps: 1753849.875000 
10/09/2020 16:41:57                         pktgen: {'ibytes': 30317354616,
 'ierrors': 0,
 'ipackets': 48533657,
 'obytes': 30932827470,
 'oerrors': 0,
 'opackets': 17595466,
 'rx_bps': 24170868736.0,
 'rx_bps_L1': 24944773376.000004,
 'rx_pps': 4836904.0,
 'rx_util': 99.77909350400002,
 'tx_bps': 24664010752.0,
 'tx_bps_L1': 24944628132.0,
 'tx_pps': 1753858.625,
 'tx_util': 99.778512528}
10/09/2020 16:41:57                         pktgen: Rx Port 1 stats: 
rx_port: 1,  rx_bps: 24170868736.000000, rx_pps: 4836904.000000
10/09/2020 16:41:57                         pktgen: {'options': {'pcap': '/home/lingwei/dts_meson/output/dts1.pcap',
             'stream_config': {'rate': 100,
                               'transmit_mode': 'continuous',
                               'txmode': {}}},
 'pcap_file': '/home/lingwei/dts_meson/output/dts1.pcap',
 'rx_port': 0,
 'tx_port': 1}
10/09/2020 16:41:57                         pktgen: {0: {'ibytes': 30944931300,
     'ierrors': 0,
     'ipackets': 17602351,
     'obytes': 30945803268,
     'oerrors': 0,
     'opackets': 17602848,
     'rx_bps': 24664002560.0,
     'rx_bps_L1': 24944619920.000004,
     'rx_pps': 1753858.5,
     'rx_util': 99.77847968000002,
     'tx_bps': 24663885824.0,
     'tx_bps_L1': 24944501804.000004,
     'tx_pps': 1753849.875,
     'tx_util': 99.77800721600002},
 1: {'ibytes': 30329838188,
     'ierrors': 0,
     'ipackets': 48553642,
     'obytes': 30945567696,
     'oerrors': 0,
     'opackets': 17602714,
     'rx_bps': 24170868736.0,
     'rx_bps_L1': 24944773376.000004,
     'rx_pps': 4836904.0,
     'rx_util': 99.77909350400002,
     'tx_bps': 24664010752.0,
     'tx_bps_L1': 24944628132.0,
     'tx_pps': 1753858.625,
     'tx_util': 99.778512528},
 'flow_stats': {},
 'global': {'active_flows': 0.0,
            'active_sockets': 0,
            'bw_per_core': 112.1550064086914,
            'cpu_util': 5.497736930847168,
            'cpu_util_raw': 7.75,
            'open_flows': 0.0,
            'platform_factor': 1.0,
            'queue_full': 3686907,
            'rx_bps': 48834871296.0,
            'rx_core_pps': 0.0,
            'rx_cpu_util': 0.0,
            'rx_drop_bps': 0.0,
            'rx_pps': 6590762.5,
            'socket_util': 0.0,
            'total_alloc_error': 0,
            'total_clients': 0,
            'total_servers': 0,
            'tx_bps': 49327898624.0,
            'tx_cps': 0.0,
            'tx_expected_bps': 0.0,
            'tx_expected_cps': 0.0,
            'tx_expected_pps': 0.0,
            'tx_pps': 3507708.5},
 'latency': {'global': {'bad_hdr': 0, 'old_flow': 0}},
 'total': {'ibytes': 61274769488,
           'ierrors': 0,
           'ipackets': 66155993,
           'obytes': 61891370964,
           'oerrors': 0,
           'opackets': 35205562,
           'rx_bps': 48834871296.0,
           'rx_bps_L1': 49889393296.00001,
           'rx_pps': 6590762.5,
           'rx_util': 199.55757318400003,
           'tx_bps': 49327896576.0,
           'tx_bps_L1': 49889129936.0,
           'tx_pps': 3507708.5,
           'tx_util': 199.556519744}}
10/09/2020 16:41:57                         pktgen: {'ibytes': 30329838188,
 'ierrors': 0,
 'ipackets': 48553642,
 'obytes': 30945567696,
 'oerrors': 0,
 'opackets': 17602714,
 'rx_bps': 24170868736.0,
 'rx_bps_L1': 24944773376.000004,
 'rx_pps': 4836904.0,
 'rx_util': 99.77909350400002,
 'tx_bps': 24664010752.0,
 'tx_bps_L1': 24944628132.0,
 'tx_pps': 1753858.625,
 'tx_util': 99.778512528}
10/09/2020 16:41:57                         pktgen: Tx Port 1 stats: 
tx_port: 1,  tx_bps: 24664010752.000000, tx_pps: 1753858.625000 
10/09/2020 16:41:57                         pktgen: {'ibytes': 30944931300,
 'ierrors': 0,
 'ipackets': 17602351,
 'obytes': 30945803268,
 'oerrors': 0,
 'opackets': 17602848,
 'rx_bps': 24664002560.0,
 'rx_bps_L1': 24944619920.000004,
 'rx_pps': 1753858.5,
 'rx_util': 99.77847968000002,
 'tx_bps': 24663885824.0,
 'tx_bps_L1': 24944501804.000004,
 'tx_pps': 1753849.875,
 'tx_util': 99.77800721600002}
10/09/2020 16:41:57                         pktgen: Rx Port 0 stats: 
rx_port: 0,  rx_bps: 24664002560.000000, rx_pps: 1753858.500000
10/09/2020 16:41:57                         pktgen: throughput: pps_rx 6590762.500000, bps_rx 48834871296.000000
10/09/2020 16:41:57                         pktgen: traffic completed. 
10/09/2020 16:41:57                        TestTSO: Running with frame size 2558 
10/09/2020 16:41:57                         tester: scapy
10/09/2020 16:41:57                         tester: INFO: Can't import matplotlib. Not critical, but won't be able to plot.
INFO: Can't import networkx. Not criticial, but won't be able to draw network graphs.
INFO: Can't import PyX. Won't be able to use psdump() or pdfdump().
WARNING: IPython not available. Using standard Python shell instead.
Welcome to Scapy (3.0.0)
10/09/2020 16:41:59                         tester: wrpcap("/home/lingwei/dts_meson/output/dts0.pcap", [Ether(dst="00:00:00:00:01:00",src="52:00:00:00:00:01")/IP(src="192.168.1.1",dst="192.168.1.2")/TCP(sport=1021,dport=1021)/("X"*2500)])
10/09/2020 16:41:59                         tester: 
10/09/2020 16:41:59                         tester: wrpcap("/home/lingwei/dts_meson/output/dts1.pcap", [Ether(dst="00:00:00:00:01:01",src="52:00:00:00:00:01")/IP(src="192.168.1.1",dst="192.168.1.2")/TCP(sport=1021,dport=1021)/("X"*2500)])
10/09/2020 16:41:59                         tester: 
10/09/2020 16:42:01                         tester: exit()
10/09/2020 16:42:01                         tester: 
10/09/2020 16:42:01                         pktgen: test port 0 map gen port 0
10/09/2020 16:42:01                         pktgen: test port 1 map gen port 1
10/09/2020 16:42:01                         pktgen: test port 1 map gen port 1
10/09/2020 16:42:01                         pktgen: test port 0 map gen port 0
10/09/2020 16:42:01                         pktgen: test port 0 map gen port 0
10/09/2020 16:42:01                         pktgen: test port 1 map gen port 1
10/09/2020 16:42:01                         pktgen: test port 1 map gen port 1
10/09/2020 16:42:01                         pktgen: test port 0 map gen port 0
10/09/2020 16:42:01                         pktgen: test port 0 map gen port 0
10/09/2020 16:42:01                         pktgen: test port 1 map gen port 1
10/09/2020 16:42:01                         pktgen: test port 1 map gen port 1
10/09/2020 16:42:01                         pktgen: test port 0 map gen port 0
10/09/2020 16:42:01                         pktgen: test port 0 map gen port 0
10/09/2020 16:42:01                         pktgen: test port 1 map gen port 1
10/09/2020 16:42:01                         pktgen: test port 1 map gen port 1
10/09/2020 16:42:01                         pktgen: test port 0 map gen port 0
10/09/2020 16:42:01                         pktgen: test port 0 map gen port 0
10/09/2020 16:42:01                         pktgen: test port 1 map gen port 1
10/09/2020 16:42:01                         pktgen: test port 1 map gen port 1
10/09/2020 16:42:01                         pktgen: test port 0 map gen port 0
10/09/2020 16:42:01                         pktgen: {'arp': '-',
 'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15],
 'description': 'Ethernet Controller XXV710 for 25GbE SFP28',
 'dest': '00:00:00:00:01:01',
 'driver': 'net_i40e',
 'fc': 'none',
 'fc_supported': 'no',
 'grat_arp': 'off',
 'hw_mac': '3c:fd:fe:cf:30:b0',
 'index': 1,
 'ipv6': 'off',
 'is_fc_supported': False,
 'is_led_supported': True,
 'is_link_supported': True,
 'is_prom_supported': True,
 'is_virtual': 'no',
 'is_vxlan_supported': 'yes',
 'layer_mode': 'Ethernet',
 'led_change_supported': 'yes',
 'link': 'UP',
 'link_change_supported': 'yes',
 'mult': 'off',
 'numa': 0,
 'pci_addr': '0000:1a:00.0',
 'prom': 'off',
 'prom_supported': 'yes',
 'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
 'rx_filter_mode': 'hardware match',
 'rx_queue': 'off',
 'speed': 25.0,
 'src_ipv4': '-',
 'src_mac': '3c:fd:fe:cf:30:b0',
 'stack': 'legacy',
 'status': 'IDLE',
 'supp_speeds': [25000],
 'vlan': '-',
 'vxlan_fs': '-'}
10/09/2020 16:42:01                         pktgen: trex port <1> not support flow control
10/09/2020 16:42:01                         pktgen: check the trex port link status
10/09/2020 16:42:01                         pktgen: {'arp': '-',
 'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15],
 'description': 'Ethernet Controller XXV710 for 25GbE SFP28',
 'dest': '00:00:00:00:01:00',
 'driver': 'net_i40e',
 'fc': 'none',
 'fc_supported': 'no',
 'grat_arp': 'off',
 'hw_mac': '3c:fd:fe:cf:31:ac',
 'index': 0,
 'ipv6': 'off',
 'is_fc_supported': False,
 'is_led_supported': True,
 'is_link_supported': True,
 'is_prom_supported': True,
 'is_virtual': 'no',
 'is_vxlan_supported': 'yes',
 'layer_mode': 'Ethernet',
 'led_change_supported': 'yes',
 'link': 'UP',
 'link_change_supported': 'yes',
 'mult': 'off',
 'numa': 0,
 'pci_addr': '0000:18:00.0',
 'prom': 'on',
 'prom_supported': 'yes',
 'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
 'rx_filter_mode': 'hardware match',
 'rx_queue': 'off',
 'speed': 25.0,
 'src_ipv4': '-',
 'src_mac': '3c:fd:fe:cf:31:ac',
 'stack': 'legacy',
 'status': 'IDLE',
 'supp_speeds': [25000],
 'vlan': '-',
 'vxlan_fs': '-'}
10/09/2020 16:42:01                         pktgen: {'arp': '-',
 'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15],
 'description': 'Ethernet Controller XXV710 for 25GbE SFP28',
 'dest': '00:00:00:00:01:01',
 'driver': 'net_i40e',
 'fc': 'none',
 'fc_supported': 'no',
 'grat_arp': 'off',
 'hw_mac': '3c:fd:fe:cf:30:b0',
 'index': 1,
 'ipv6': 'off',
 'is_fc_supported': False,
 'is_led_supported': True,
 'is_link_supported': True,
 'is_prom_supported': True,
 'is_virtual': 'no',
 'is_vxlan_supported': 'yes',
 'layer_mode': 'Ethernet',
 'led_change_supported': 'yes',
 'link': 'UP',
 'link_change_supported': 'yes',
 'mult': 'off',
 'numa': 0,
 'pci_addr': '0000:1a:00.0',
 'prom': 'on',
 'prom_supported': 'yes',
 'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
 'rx_filter_mode': 'hardware match',
 'rx_queue': 'off',
 'speed': 25.0,
 'src_ipv4': '-',
 'src_mac': '3c:fd:fe:cf:30:b0',
 'stack': 'legacy',
 'status': 'IDLE',
 'supp_speeds': [25000],
 'vlan': '-',
 'vxlan_fs': '-'}
10/09/2020 16:42:01                         pktgen: begin traffic ......
10/09/2020 16:42:01                         pktgen: {'ports': [0, 1], 'mult': '100%', 'core_mask': None, 'force': True}
10/09/2020 16:42:11                         pktgen: begin get port statistic ...
10/09/2020 16:42:11                         pktgen: {'options': {'pcap': '/home/lingwei/dts_meson/output/dts0.pcap',
             'stream_config': {'rate': 100,
                               'transmit_mode': 'continuous',
                               'txmode': {}}},
 'pcap_file': '/home/lingwei/dts_meson/output/dts0.pcap',
 'rx_port': 1,
 'tx_port': 0}
10/09/2020 16:42:11                         pktgen: {0: {'ibytes': 31042685740,
     'ierrors': 0,
     'ipackets': 12135531,
     'obytes': 31045824406,
     'oerrors': 0,
     'opackets': 12136759,
     'rx_bps': 24831664128.0,
     'rx_bps_L1': 25025821768.000004,
     'rx_pps': 1213485.25,
     'rx_util': 100.10328707200003,
     'tx_bps': 24831498240.0,
     'tx_bps_L1': 25025654600.0,
     'tx_pps': 1213477.25,
     'tx_util': 100.10261840000001},
 1: {'ibytes': 30399880936,
     'ierrors': 0,
     'ipackets': 44509346,
     'obytes': 31043330356,
     'oerrors': 0,
     'opackets': 12135783,
     'rx_bps': 24313948160.0,
     'rx_bps_L1': 25025929600.0,
     'rx_pps': 4449884.0,
     'rx_util': 100.1037184,
     'tx_bps': 24831612928.0,
     'tx_bps_L1': 25025770208.0,
     'tx_pps': 1213483.0,
     'tx_util': 100.10308083199999},
 'flow_stats': {},
 'global': {'active_flows': 0.0,
            'active_sockets': 0,
            'bw_per_core': 910.489990234375,
            'cpu_util': 0.6818184852600098,
            'cpu_util_raw': 0.0625,
            'open_flows': 0.0,
            'platform_factor': 1.0,
            'queue_full': 37716,
            'rx_bps': 49145610240.0,
            'rx_core_pps': 0.0,
            'rx_cpu_util': 0.0,
            'rx_drop_bps': 0.0,
            'rx_pps': 5663369.0,
            'socket_util': 0.0,
            'total_alloc_error': 0,
            'total_clients': 0,
            'total_servers': 0,
            'tx_bps': 49663111168.0,
            'tx_cps': 0.0,
            'tx_expected_bps': 0.0,
            'tx_expected_cps': 0.0,
            'tx_expected_pps': 0.0,
            'tx_pps': 2426960.25},
 'latency': {'global': {'bad_hdr': 0, 'old_flow': 0}},
 'total': {'ibytes': 61442566676,
           'ierrors': 0,
           'ipackets': 56644877,
           'obytes': 62089154762,
           'oerrors': 0,
           'opackets': 24272542,
           'rx_bps': 49145612288.0,
           'rx_bps_L1': 50051751368.0,
           'rx_pps': 5663369.25,
           'rx_util': 200.20700547200005,
           'tx_bps': 49663111168.0,
           'tx_bps_L1': 50051424808.0,
           'tx_pps': 2426960.25,
           'tx_util': 200.205699232}}
10/09/2020 16:42:11                         pktgen: {'ibytes': 31042685740,
 'ierrors': 0,
 'ipackets': 12135531,
 'obytes': 31045824406,
 'oerrors': 0,
 'opackets': 12136759,
 'rx_bps': 24831664128.0,
 'rx_bps_L1': 25025821768.000004,
 'rx_pps': 1213485.25,
 'rx_util': 100.10328707200003,
 'tx_bps': 24831498240.0,
 'tx_bps_L1': 25025654600.0,
 'tx_pps': 1213477.25,
 'tx_util': 100.10261840000001}
10/09/2020 16:42:11                         pktgen: Tx Port 0 stats: 
tx_port: 0,  tx_bps: 24831498240.000000, tx_pps: 1213477.250000 
10/09/2020 16:42:11                         pktgen: {'ibytes': 30399880936,
 'ierrors': 0,
 'ipackets': 44509346,
 'obytes': 31043330356,
 'oerrors': 0,
 'opackets': 12135783,
 'rx_bps': 24313948160.0,
 'rx_bps_L1': 25025929600.0,
 'rx_pps': 4449884.0,
 'rx_util': 100.1037184,
 'tx_bps': 24831612928.0,
 'tx_bps_L1': 25025770208.0,
 'tx_pps': 1213483.0,
 'tx_util': 100.10308083199999}
10/09/2020 16:42:11                         pktgen: Rx Port 1 stats: 
rx_port: 1,  rx_bps: 24313948160.000000, rx_pps: 4449884.000000
10/09/2020 16:42:11                         pktgen: {'options': {'pcap': '/home/lingwei/dts_meson/output/dts1.pcap',
             'stream_config': {'rate': 100,
                               'transmit_mode': 'continuous',
                               'txmode': {}}},
 'pcap_file': '/home/lingwei/dts_meson/output/dts1.pcap',
 'rx_port': 0,
 'tx_port': 1}
10/09/2020 16:42:11                         pktgen: {0: {'ibytes': 31055923390,
     'ierrors': 0,
     'ipackets': 12140706,
     'obytes': 31059062056,
     'oerrors': 0,
     'opackets': 12141933,
     'rx_bps': 24831664128.0,
     'rx_bps_L1': 25025821768.000004,
     'rx_pps': 1213485.25,
     'rx_util': 100.10328707200003,
     'tx_bps': 24831498240.0,
     'tx_bps_L1': 25025654600.0,
     'tx_pps': 1213477.25,
     'tx_util': 100.10261840000001},
 1: {'ibytes': 30412837954,
     'ierrors': 0,
     'ipackets': 44528317,
     'obytes': 31056562890,
     'oerrors': 0,
     'opackets': 12140956,
     'rx_bps': 24313948160.0,
     'rx_bps_L1': 25025929600.0,
     'rx_pps': 4449884.0,
     'rx_util': 100.1037184,
     'tx_bps': 24831612928.0,
     'tx_bps_L1': 25025770208.0,
     'tx_pps': 1213483.0,
     'tx_util': 100.10308083199999},
 'flow_stats': {},
 'global': {'active_flows': 0.0,
            'active_sockets': 0,
            'bw_per_core': 910.489990234375,
            'cpu_util': 0.6818184852600098,
            'cpu_util_raw': 0.0625,
            'open_flows': 0.0,
            'platform_factor': 1.0,
            'queue_full': 41265,
            'rx_bps': 49145610240.0,
            'rx_core_pps': 0.0,
            'rx_cpu_util': 0.0,
            'rx_drop_bps': 0.0,
            'rx_pps': 5663369.0,
            'socket_util': 0.0,
            'total_alloc_error': 0,
            'total_clients': 0,
            'total_servers': 0,
            'tx_bps': 49663111168.0,
            'tx_cps': 0.0,
            'tx_expected_bps': 0.0,
            'tx_expected_cps': 0.0,
            'tx_expected_pps': 0.0,
            'tx_pps': 2426960.25},
 'latency': {'global': {'bad_hdr': 0, 'old_flow': 0}},
 'total': {'ibytes': 61468761344,
           'ierrors': 0,
           'ipackets': 56669023,
           'obytes': 62115624946,
           'oerrors': 0,
           'opackets': 24282889,
           'rx_bps': 49145612288.0,
           'rx_bps_L1': 50051751368.0,
           'rx_pps': 5663369.25,
           'rx_util': 200.20700547200005,
           'tx_bps': 49663111168.0,
           'tx_bps_L1': 50051424808.0,
           'tx_pps': 2426960.25,
           'tx_util': 200.205699232}}
10/09/2020 16:42:11                         pktgen: {'ibytes': 30412837954,
 'ierrors': 0,
 'ipackets': 44528317,
 'obytes': 31056562890,
 'oerrors': 0,
 'opackets': 12140956,
 'rx_bps': 24313948160.0,
 'rx_bps_L1': 25025929600.0,
 'rx_pps': 4449884.0,
 'rx_util': 100.1037184,
 'tx_bps': 24831612928.0,
 'tx_bps_L1': 25025770208.0,
 'tx_pps': 1213483.0,
 'tx_util': 100.10308083199999}
10/09/2020 16:42:11                         pktgen: Tx Port 1 stats: 
tx_port: 1,  tx_bps: 24831612928.000000, tx_pps: 1213483.000000 
10/09/2020 16:42:11                         pktgen: {'ibytes': 31055923390,
 'ierrors': 0,
 'ipackets': 12140706,
 'obytes': 31059062056,
 'oerrors': 0,
 'opackets': 12141933,
 'rx_bps': 24831664128.0,
 'rx_bps_L1': 25025821768.000004,
 'rx_pps': 1213485.25,
 'rx_util': 100.10328707200003,
 'tx_bps': 24831498240.0,
 'tx_bps_L1': 25025654600.0,
 'tx_pps': 1213477.25,
 'tx_util': 100.10261840000001}
10/09/2020 16:42:11                         pktgen: Rx Port 0 stats: 
rx_port: 0,  rx_bps: 24831664128.000000, rx_pps: 1213485.250000
10/09/2020 16:42:11                         pktgen: throughput: pps_rx 5663369.250000, bps_rx 49145612288.000000
10/09/2020 16:42:11                         pktgen: traffic completed. 
10/09/2020 16:42:11             dut.10.240.183.113: stop
10/09/2020 16:42:11             dut.10.240.183.113: 
Telling cores to ...
Waiting for lcores to finish...

  ---------------------- Forward statistics for port 0  ----------------------
  RX-packets: 169852935      RX-dropped: 83284395      RX-total: 253137330
  Bad-ipcsum: 0              Bad-l4csum: 0             Bad-outer-l4csum: 0             
  TX-packets: 169866366      TX-dropped: 0             TX-total: 169866366
  ----------------------------------------------------------------------------

  ---------------------- Forward statistics for port 1  ----------------------
  RX-packets: 169866366      RX-dropped: 83284723      RX-total: 253151089
  Bad-ipcsum: 0              Bad-l4csum: 0             Bad-outer-l4csum: 0             
  TX-packets: 262785063      TX-dropped: 5502570       TX-total: 268287633
  ----------------------------------------------------------------------------

  +++++++++++++++ Accumulated forward statistics for all ports+++++++++++++++
  RX-packets: 339719301      RX-dropped: 166569118     RX-total: 506288419
  TX-packets: 432651429      TX-dropped: 5502570       TX-total: 438153999
  ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Done.
10/09/2020 16:42:11             dut.10.240.183.113: quit
10/09/2020 16:42:12             dut.10.240.183.113: 

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

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

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

Port 1: link state change event
Done

Shutting down port 1...
Closing ports...
Done

Bye...
10/09/2020 16:42:17                        TestTSO: 
+------------+---------------+------------+
| Frame Size | 1S/1C/2T Mpps | % linerate |
+============+===============+============+
| 128        | 13.702        | 45         |
+------------+---------------+------------+
| 800        | 7.128         | 100        |
+------------+---------------+------------+
| 801        | 10.014        | 140        |
+------------+---------------+------------+
| 1700       | 6.591         | 187        |
+------------+---------------+------------+
| 2500       | 5.663         | 233        |
+------------+---------------+------------+
10/09/2020 16:42:17                        TestTSO: Test Case test_perf_TSO_2ports Result PASSED:
10/09/2020 16:42:17             dut.10.240.183.113: kill_all: called by dut and has no prefix list.
10/09/2020 16:42:21                            dts: 
TEST SUITE ENDED: TestTSO

  reply	other threads:[~2020-09-10  8:51 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-09-10  1:12 LihongX Ma
2020-09-10  8:51 ` Ling, WeiX [this message]
2020-09-15  8:33 ` 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=9c54a2b4330548629d9b9a307d670fd5@intel.com \
    --to=weix.ling@intel.com \
    --cc=dts@dpdk.org \
    --cc=lihongx.ma@intel.com \
    /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).