test suite reviews and discussions
 help / color / mirror / Atom feed
* Re: [dts] [PATCH V1] tests/vhost_cbdma:Add allow pci option when start testpmd
  2021-01-19 16:23 [dts] [PATCH V1] tests/vhost_cbdma:Add allow pci option when start testpmd Ling Wei
@ 2021-01-19  8:30 ` Ling, WeiX
  2021-01-21  8:29 ` Tu, Lijuan
  1 sibling, 0 replies; 3+ messages in thread
From: Ling, WeiX @ 2021-01-19  8:30 UTC (permalink / raw)
  To: Ling, WeiX, dts

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

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

Regards,
Ling Wei

> -----Original Message-----
> From: Ling Wei <weix.ling@intel.com>
> Sent: Wednesday, January 20, 2021 12:24 AM
> To: dts@dpdk.org
> Cc: Ling, WeiX <weix.ling@intel.com>
> Subject: [dts][PATCH V1] tests/vhost_cbdma:Add allow pci option when start
> testpmd


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

19/01/2021 15:15:04                            dts: 
TEST SUITE : TestVirTioVhostCbdma
19/01/2021 15:15:04                            dts: NIC :        fortville_spirit
19/01/2021 15:15:04             dut.10.240.183.220: 
19/01/2021 15:15:05                         tester: 
19/01/2021 15:15:13                         tester: ls -d /tmp/vhost_cbdma
19/01/2021 15:15:13                         tester: /tmp/vhost_cbdma
19/01/2021 15:15:13             dut.10.240.183.220: cat /proc/meminfo |grep Hugepagesize|awk '{print($2)}'
19/01/2021 15:15:13             dut.10.240.183.220: 1048576
19/01/2021 15:15:13           TestVirTioVhostCbdma: Test Case test_perf_dynamic_queue_number_cbdma_vhost_enqueue_operations Begin
19/01/2021 15:15:13             dut.10.240.183.220: 
19/01/2021 15:15:13                         tester: 
19/01/2021 15:15:13             dut.10.240.183.220: killall -I dpdk-testpmd 
19/01/2021 15:15:14             dut.10.240.183.220: dpdk-testpmd: no process found
19/01/2021 15:15:14             dut.10.240.183.220: rm -rf /root/dpdk/vhost-net*
19/01/2021 15:15:14             dut.10.240.183.220: 
19/01/2021 15:15:14             dut.10.240.183.220: rm -rf /tmp/s0
19/01/2021 15:15:14             dut.10.240.183.220: 
19/01/2021 15:15:14             dut.10.240.183.220: ./usertools/dpdk-devbind.py --status-dev misc
19/01/2021 15:15:14             dut.10.240.183.220: 
Misc (rawdev) devices using kernel driver
=========================================
0000:00:04.0 'Sky Lake-E CBDMA Registers 2021' drv=ioatdma unused=igb_uio,vfio-pci 
0000:00:04.1 'Sky Lake-E CBDMA Registers 2021' drv=ioatdma unused=igb_uio,vfio-pci 
0000:00:04.2 'Sky Lake-E CBDMA Registers 2021' drv=ioatdma unused=igb_uio,vfio-pci 
0000:00:04.3 'Sky Lake-E CBDMA Registers 2021' drv=ioatdma unused=igb_uio,vfio-pci 
0000:00:04.4 'Sky Lake-E CBDMA Registers 2021' drv=ioatdma unused=igb_uio,vfio-pci 
0000:00:04.5 'Sky Lake-E CBDMA Registers 2021' drv=ioatdma unused=igb_uio,vfio-pci 
0000:00:04.6 'Sky Lake-E CBDMA Registers 2021' drv=ioatdma unused=igb_uio,vfio-pci 
0000:00:04.7 'Sky Lake-E CBDMA Registers 2021' drv=ioatdma unused=igb_uio,vfio-pci 
0000:80:04.0 'Sky Lake-E CBDMA Registers 2021' drv=ioatdma unused=igb_uio,vfio-pci 
0000:80:04.1 'Sky Lake-E CBDMA Registers 2021' drv=ioatdma unused=igb_uio,vfio-pci 
0000:80:04.2 'Sky Lake-E CBDMA Registers 2021' drv=ioatdma unused=igb_uio,vfio-pci 
0000:80:04.3 'Sky Lake-E CBDMA Registers 2021' drv=ioatdma unused=igb_uio,vfio-pci 
0000:80:04.4 'Sky Lake-E CBDMA Registers 2021' drv=ioatdma unused=igb_uio,vfio-pci 
0000:80:04.5 'Sky Lake-E CBDMA Registers 2021' drv=ioatdma unused=igb_uio,vfio-pci 
0000:80:04.6 'Sky Lake-E CBDMA Registers 2021' drv=ioatdma unused=igb_uio,vfio-pci 
0000:80:04.7 'Sky Lake-E CBDMA Registers 2021' drv=ioatdma unused=igb_uio,vfio-pci 
19/01/2021 15:15:14             dut.10.240.183.220: modprobe uio
19/01/2021 15:15:14             dut.10.240.183.220: 
19/01/2021 15:15:14             dut.10.240.183.220: lsmod | grep igb_uio
19/01/2021 15:15:14             dut.10.240.183.220: igb_uio                20480  0
uio                    20480  1 igb_uio
19/01/2021 15:15:14             dut.10.240.183.220: rmmod -f igb_uio
19/01/2021 15:15:14             dut.10.240.183.220: 
19/01/2021 15:15:14             dut.10.240.183.220: insmod ./x86_64-native-linuxapp-gcc/kmod/igb_uio.ko
19/01/2021 15:15:14             dut.10.240.183.220: 
19/01/2021 15:15:14             dut.10.240.183.220: lsmod | grep igb_uio
19/01/2021 15:15:14             dut.10.240.183.220: igb_uio                20480  0
uio                    20480  1 igb_uio
19/01/2021 15:15:14             dut.10.240.183.220: ./usertools/dpdk-devbind.py --force --bind=igb_uio 0000:80:04.0 0000:80:04.1 0000:80:04.2 0000:80:04.3 0000:af:00.0
19/01/2021 15:15:17             dut.10.240.183.220: 
19/01/2021 15:15:28             dut.10.240.183.220: cat /proc/meminfo |grep Hugepagesize|awk '{print($2)}'
19/01/2021 15:15:28             dut.10.240.183.220: 1048576
19/01/2021 15:15:39                         tester: ls -d /tmp/vhost_cbdma
19/01/2021 15:15:39                         tester: /tmp/vhost_cbdma
19/01/2021 15:15:39                         tester: scp -v /home/lingwei/dts_cbdma/output/tmp/pcap/multiqueuerandomip_64.pcap root@10.240.183.217:/tmp/vhost_cbdma/multiqueuerandomip_64.pcap
19/01/2021 15:15:41                         pktgen: test port 0 map gen port 0
19/01/2021 15:15:41                         pktgen: test port 0 map gen port 0
19/01/2021 15:15:41                         pktgen: {'arp': '-',
 'cores': [0, 1, 2, 3],
 'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
 'dest': 'b4:96:91:46:e0:5c',
 'driver': 'net_i40e',
 'fc': 'none',
 'fc_supported': 'no',
 'grat_arp': 'off',
 'hw_mac': '3c:fd:fe:c8:17:d0',
 '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': 1,
 'pci_addr': '0000:82:00.0',
 'prom': 'off',
 'prom_supported': 'yes',
 'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
 'rx_filter_mode': 'hardware match',
 'rx_queue': 'off',
 'speed': 40.0,
 'src_ipv4': '-',
 'src_mac': '3c:fd:fe:c8:17:d0',
 'stack': 'legacy',
 'status': 'IDLE',
 'supp_speeds': [40000],
 'vlan': '-',
 'vxlan_fs': '-'}
19/01/2021 15:15:41                         pktgen: trex port <0> not support flow control
19/01/2021 15:15:41                         pktgen: trex packet generator: run traffic 5s to warm up ... 
19/01/2021 15:15:41                         pktgen: check the trex port link status
19/01/2021 15:15:41                         pktgen: {'arp': '-',
 'cores': [0, 1, 2, 3],
 'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
 'dest': 'b4:96:91:46:e0:5c',
 'driver': 'net_i40e',
 'fc': 'none',
 'fc_supported': 'no',
 'grat_arp': 'off',
 'hw_mac': '3c:fd:fe:c8:17:d0',
 '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': 1,
 'pci_addr': '0000:82:00.0',
 'prom': 'on',
 'prom_supported': 'yes',
 'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
 'rx_filter_mode': 'hardware match',
 'rx_queue': 'off',
 'speed': 40.0,
 'src_ipv4': '-',
 'src_mac': '3c:fd:fe:c8:17:d0',
 'stack': 'legacy',
 'status': 'IDLE',
 'supp_speeds': [40000],
 'vlan': '-',
 'vxlan_fs': '-'}
19/01/2021 15:15:41                         pktgen: begin traffic ......
19/01/2021 15:15:41                         pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
19/01/2021 15:15:46                         pktgen: traffic completed. 
19/01/2021 15:15:46                         pktgen: check the trex port link status
19/01/2021 15:15:46                         pktgen: {'arp': '-',
 'cores': [0, 1, 2, 3],
 'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
 'dest': 'b4:96:91:46:e0:5c',
 'driver': 'net_i40e',
 'fc': 'none',
 'fc_supported': 'no',
 'grat_arp': 'off',
 'hw_mac': '3c:fd:fe:c8:17:d0',
 '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': 1,
 'pci_addr': '0000:82:00.0',
 'prom': 'on',
 'prom_supported': 'yes',
 'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
 'rx_filter_mode': 'hardware match',
 'rx_queue': 'off',
 'speed': 40.0,
 'src_ipv4': '-',
 'src_mac': '3c:fd:fe:c8:17:d0',
 'stack': 'legacy',
 'status': 'IDLE',
 'supp_speeds': [40000],
 'vlan': '-',
 'vxlan_fs': '-'}
19/01/2021 15:15:46                         pktgen: begin traffic ......
19/01/2021 15:15:46                         pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
19/01/2021 15:16:06                         pktgen: begin get port statistic ...
19/01/2021 15:16:06                         pktgen: {'options': {'fields_config': {'ip': {'src': {'action': 'random',
                                              'end': '1.1.1.64',
                                              'start': '1.1.1.1',
                                              'step': 1}}},
             'pcap': '/tmp/vhost_cbdma/multiqueuerandomip_64.pcap',
             'stream_config': {'rate': 100,
                               'transmit_mode': 'continuous',
                               'txmode': {}}},
 'pcap_file': '/tmp/vhost_cbdma/multiqueuerandomip_64.pcap',
 'rx_port': 0,
 'tx_port': 0}
19/01/2021 15:16:06                         pktgen: {0: {'ibytes': 9623711552,
     'ierrors': 0,
     'ipackets': 150370495,
     'obytes': 37223951296,
     'oerrors': 0,
     'opackets': 581624274,
     'rx_bps': 3898221824.0,
     'rx_bps_L1': 5116416384.0,
     'rx_pps': 7613716.0,
     'rx_util': 12.79104096,
     'tx_bps': 14767968256.0,
     'tx_bps_L1': 19382958336.0,
     'tx_pps': 28843688.0,
     'tx_util': 48.457395840000004},
 1: {'ibytes': 0,
     'ierrors': 0,
     'ipackets': 0,
     'obytes': 0,
     'oerrors': 0,
     'opackets': 0,
     'rx_bps': 0.0,
     'rx_bps_L1': 0,
     'rx_pps': 0.0,
     'rx_util': 0.0,
     'tx_bps': 0.0,
     'tx_bps_L1': 0,
     'tx_pps': 0.0,
     'tx_util': 0.0},
 'flow_stats': {},
 'global': {'active_flows': 0.0,
            'active_sockets': 0,
            'bw_per_core': 7.3903303146362305,
            'cpu_util': 99.91413116455078,
            'cpu_util_raw': 100.0,
            'open_flows': 0.0,
            'platform_factor': 1.0,
            'queue_full': 0,
            'rx_bps': 3898221824.0,
            'rx_core_pps': 0.0,
            'rx_cpu_util': 0.0,
            'rx_drop_bps': 10869745664.0,
            'rx_pps': 7613716.0,
            'socket_util': 0.0,
            'total_alloc_error': 0,
            'total_clients': 0,
            'total_servers': 0,
            'tx_bps': 14767968256.0,
            'tx_cps': 0.0,
            'tx_expected_bps': 0.0,
            'tx_expected_cps': 0.0,
            'tx_expected_pps': 0.0,
            'tx_pps': 28843688.0},
 'latency': {'global': {'bad_hdr': 0, 'old_flow': 0}},
 'total': {'ibytes': 9623711552,
           'ierrors': 0,
           'ipackets': 150370495,
           'obytes': 37223951296,
           'oerrors': 0,
           'opackets': 581624274,
           'rx_bps': 3898221824.0,
           'rx_bps_L1': 5116416384.0,
           'rx_pps': 7613716.0,
           'rx_util': 12.79104096,
           'tx_bps': 14767968256.0,
           'tx_bps_L1': 19382958336.0,
           'tx_pps': 28843688.0,
           'tx_util': 48.457395840000004}}
19/01/2021 15:16:06                         pktgen: {'ibytes': 9623711552,
 'ierrors': 0,
 'ipackets': 150370495,
 'obytes': 37223951296,
 'oerrors': 0,
 'opackets': 581624274,
 'rx_bps': 3898221824.0,
 'rx_bps_L1': 5116416384.0,
 'rx_pps': 7613716.0,
 'rx_util': 12.79104096,
 'tx_bps': 14767968256.0,
 'tx_bps_L1': 19382958336.0,
 'tx_pps': 28843688.0,
 'tx_util': 48.457395840000004}
19/01/2021 15:16:06                         pktgen: Tx Port 0 stats: 
tx_port: 0,  tx_bps: 14767968256.000000, tx_pps: 28843688.000000 
19/01/2021 15:16:06                         pktgen: {'ibytes': 9623711552,
 'ierrors': 0,
 'ipackets': 150370495,
 'obytes': 37223951296,
 'oerrors': 0,
 'opackets': 581624274,
 'rx_bps': 3898221824.0,
 'rx_bps_L1': 5116416384.0,
 'rx_pps': 7613716.0,
 'rx_util': 12.79104096,
 'tx_bps': 14767968256.0,
 'tx_bps_L1': 19382958336.0,
 'tx_pps': 28843688.0,
 'tx_util': 48.457395840000004}
19/01/2021 15:16:06                         pktgen: Rx Port 0 stats: 
rx_port: 0,  rx_bps: 3898221824.000000, rx_pps: 7613716.000000
19/01/2021 15:16:06                         pktgen: throughput: pps_rx 7613716.000000, bps_rx 3898221824.000000
19/01/2021 15:16:06                         pktgen: traffic completed. 
19/01/2021 15:16:06                         tester: ls -d /tmp/vhost_cbdma
19/01/2021 15:16:06                         tester: /tmp/vhost_cbdma
19/01/2021 15:16:06                         tester: scp -v /home/lingwei/dts_cbdma/output/tmp/pcap/multiqueuerandomip_1518.pcap root@10.240.183.217:/tmp/vhost_cbdma/multiqueuerandomip_1518.pcap
19/01/2021 15:16:08                         pktgen: test port 0 map gen port 0
19/01/2021 15:16:08                         pktgen: test port 0 map gen port 0
19/01/2021 15:16:08                         pktgen: {'arp': '-',
 'cores': [0, 1, 2, 3],
 'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
 'dest': 'b4:96:91:46:e0:5c',
 'driver': 'net_i40e',
 'fc': 'none',
 'fc_supported': 'no',
 'grat_arp': 'off',
 'hw_mac': '3c:fd:fe:c8:17:d0',
 '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': 1,
 'pci_addr': '0000:82:00.0',
 'prom': 'off',
 'prom_supported': 'yes',
 'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
 'rx_filter_mode': 'hardware match',
 'rx_queue': 'off',
 'speed': 40.0,
 'src_ipv4': '-',
 'src_mac': '3c:fd:fe:c8:17:d0',
 'stack': 'legacy',
 'status': 'IDLE',
 'supp_speeds': [40000],
 'vlan': '-',
 'vxlan_fs': '-'}
19/01/2021 15:16:08                         pktgen: trex port <0> not support flow control
19/01/2021 15:16:08                         pktgen: trex packet generator: run traffic 5s to warm up ... 
19/01/2021 15:16:08                         pktgen: check the trex port link status
19/01/2021 15:16:08                         pktgen: {'arp': '-',
 'cores': [0, 1, 2, 3],
 'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
 'dest': 'b4:96:91:46:e0:5c',
 'driver': 'net_i40e',
 'fc': 'none',
 'fc_supported': 'no',
 'grat_arp': 'off',
 'hw_mac': '3c:fd:fe:c8:17:d0',
 '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': 1,
 'pci_addr': '0000:82:00.0',
 'prom': 'on',
 'prom_supported': 'yes',
 'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
 'rx_filter_mode': 'hardware match',
 'rx_queue': 'off',
 'speed': 40.0,
 'src_ipv4': '-',
 'src_mac': '3c:fd:fe:c8:17:d0',
 'stack': 'legacy',
 'status': 'IDLE',
 'supp_speeds': [40000],
 'vlan': '-',
 'vxlan_fs': '-'}
19/01/2021 15:16:08                         pktgen: begin traffic ......
19/01/2021 15:16:08                         pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
19/01/2021 15:16:13                         pktgen: traffic completed. 
19/01/2021 15:16:13                         pktgen: check the trex port link status
19/01/2021 15:16:13                         pktgen: {'arp': '-',
 'cores': [0, 1, 2, 3],
 'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
 'dest': 'b4:96:91:46:e0:5c',
 'driver': 'net_i40e',
 'fc': 'none',
 'fc_supported': 'no',
 'grat_arp': 'off',
 'hw_mac': '3c:fd:fe:c8:17:d0',
 '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': 1,
 'pci_addr': '0000:82:00.0',
 'prom': 'on',
 'prom_supported': 'yes',
 'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
 'rx_filter_mode': 'hardware match',
 'rx_queue': 'off',
 'speed': 40.0,
 'src_ipv4': '-',
 'src_mac': '3c:fd:fe:c8:17:d0',
 'stack': 'legacy',
 'status': 'IDLE',
 'supp_speeds': [40000],
 'vlan': '-',
 'vxlan_fs': '-'}
19/01/2021 15:16:13                         pktgen: begin traffic ......
19/01/2021 15:16:13                         pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
19/01/2021 15:16:33                         pktgen: begin get port statistic ...
19/01/2021 15:16:33                         pktgen: {'options': {'fields_config': {'ip': {'src': {'action': 'random',
                                              'end': '1.1.1.64',
                                              'start': '1.1.1.1',
                                              'step': 1}}},
             'pcap': '/tmp/vhost_cbdma/multiqueuerandomip_1518.pcap',
             'stream_config': {'rate': 100,
                               'transmit_mode': 'continuous',
                               'txmode': {}}},
 'pcap_file': '/tmp/vhost_cbdma/multiqueuerandomip_1518.pcap',
 'rx_port': 0,
 'tx_port': 0}
19/01/2021 15:16:33                         pktgen: {0: {'ibytes': 83660749194,
     'ierrors': 0,
     'ipackets': 55112486,
     'obytes': 98800516122,
     'oerrors': 0,
     'opackets': 65085982,
     'rx_bps': 33518483456.0,
     'rx_bps_L1': 33960097215.999996,
     'rx_pps': 2760086.0,
     'rx_util': 84.90024303999999,
     'tx_bps': 39563120640.0,
     'tx_bps_L1': 40084374040.0,
     'tx_pps': 3257833.75,
     'tx_util': 100.21093510000001},
 1: {'ibytes': 0,
     'ierrors': 0,
     'ipackets': 0,
     'obytes': 0,
     'oerrors': 0,
     'opackets': 0,
     'rx_bps': 0.0,
     'rx_bps_L1': 0,
     'rx_pps': 0.0,
     'rx_util': 0.0,
     'tx_bps': 0.0,
     'tx_bps_L1': 0,
     'tx_pps': 0.0,
     'tx_util': 0.0},
 'flow_stats': {},
 'global': {'active_flows': 0.0,
            'active_sockets': 0,
            'bw_per_core': 23.10295295715332,
            'cpu_util': 85.6235122680664,
            'cpu_util_raw': 86.0,
            'open_flows': 0.0,
            'platform_factor': 1.0,
            'queue_full': 56002241,
            'rx_bps': 33518483456.0,
            'rx_core_pps': 0.0,
            'rx_cpu_util': 0.0,
            'rx_drop_bps': 6044636672.0,
            'rx_pps': 2760086.0,
            'socket_util': 0.0,
            'total_alloc_error': 0,
            'total_clients': 0,
            'total_servers': 0,
            'tx_bps': 39563120640.0,
            'tx_cps': 0.0,
            'tx_expected_bps': 0.0,
            'tx_expected_cps': 0.0,
            'tx_expected_pps': 0.0,
            'tx_pps': 3257833.75},
 'latency': {'global': {'bad_hdr': 0, 'old_flow': 0}},
 'total': {'ibytes': 83660749194,
           'ierrors': 0,
           'ipackets': 55112486,
           'obytes': 98800516122,
           'oerrors': 0,
           'opackets': 65085982,
           'rx_bps': 33518483456.0,
           'rx_bps_L1': 33960097215.999996,
           'rx_pps': 2760086.0,
           'rx_util': 84.90024303999999,
           'tx_bps': 39563120640.0,
           'tx_bps_L1': 40084374040.0,
           'tx_pps': 3257833.75,
           'tx_util': 100.21093510000001}}
19/01/2021 15:16:33                         pktgen: {'ibytes': 83660749194,
 'ierrors': 0,
 'ipackets': 55112486,
 'obytes': 98800516122,
 'oerrors': 0,
 'opackets': 65085982,
 'rx_bps': 33518483456.0,
 'rx_bps_L1': 33960097215.999996,
 'rx_pps': 2760086.0,
 'rx_util': 84.90024303999999,
 'tx_bps': 39563120640.0,
 'tx_bps_L1': 40084374040.0,
 'tx_pps': 3257833.75,
 'tx_util': 100.21093510000001}
19/01/2021 15:16:33                         pktgen: Tx Port 0 stats: 
tx_port: 0,  tx_bps: 39563120640.000000, tx_pps: 3257833.750000 
19/01/2021 15:16:33                         pktgen: {'ibytes': 83660749194,
 'ierrors': 0,
 'ipackets': 55112486,
 'obytes': 98800516122,
 'oerrors': 0,
 'opackets': 65085982,
 'rx_bps': 33518483456.0,
 'rx_bps_L1': 33960097215.999996,
 'rx_pps': 2760086.0,
 'rx_util': 84.90024303999999,
 'tx_bps': 39563120640.0,
 'tx_bps_L1': 40084374040.0,
 'tx_pps': 3257833.75,
 'tx_util': 100.21093510000001}
19/01/2021 15:16:33                         pktgen: Rx Port 0 stats: 
rx_port: 0,  rx_bps: 33518483456.000000, rx_pps: 2760086.000000
19/01/2021 15:16:33                         pktgen: throughput: pps_rx 2760086.000000, bps_rx 33518483456.000000
19/01/2021 15:16:33                         pktgen: traffic completed. 
19/01/2021 15:16:39                         tester: ls -d /tmp/vhost_cbdma
19/01/2021 15:16:39                         tester: /tmp/vhost_cbdma
19/01/2021 15:16:39                         tester: scp -v /home/lingwei/dts_cbdma/output/tmp/pcap/multiqueuerandomip_64.pcap root@10.240.183.217:/tmp/vhost_cbdma/multiqueuerandomip_64.pcap
19/01/2021 15:16:41                         pktgen: test port 0 map gen port 0
19/01/2021 15:16:41                         pktgen: test port 0 map gen port 0
19/01/2021 15:16:41                         pktgen: {'arp': '-',
 'cores': [0, 1, 2, 3],
 'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
 'dest': 'b4:96:91:46:e0:5c',
 'driver': 'net_i40e',
 'fc': 'none',
 'fc_supported': 'no',
 'grat_arp': 'off',
 'hw_mac': '3c:fd:fe:c8:17:d0',
 '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': 1,
 'pci_addr': '0000:82:00.0',
 'prom': 'off',
 'prom_supported': 'yes',
 'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
 'rx_filter_mode': 'hardware match',
 'rx_queue': 'off',
 'speed': 40.0,
 'src_ipv4': '-',
 'src_mac': '3c:fd:fe:c8:17:d0',
 'stack': 'legacy',
 'status': 'IDLE',
 'supp_speeds': [40000],
 'vlan': '-',
 'vxlan_fs': '-'}
19/01/2021 15:16:41                         pktgen: trex port <0> not support flow control
19/01/2021 15:16:41                         pktgen: trex packet generator: run traffic 5s to warm up ... 
19/01/2021 15:16:41                         pktgen: check the trex port link status
19/01/2021 15:16:41                         pktgen: {'arp': '-',
 'cores': [0, 1, 2, 3],
 'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
 'dest': 'b4:96:91:46:e0:5c',
 'driver': 'net_i40e',
 'fc': 'none',
 'fc_supported': 'no',
 'grat_arp': 'off',
 'hw_mac': '3c:fd:fe:c8:17:d0',
 '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': 1,
 'pci_addr': '0000:82:00.0',
 'prom': 'on',
 'prom_supported': 'yes',
 'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
 'rx_filter_mode': 'hardware match',
 'rx_queue': 'off',
 'speed': 40.0,
 'src_ipv4': '-',
 'src_mac': '3c:fd:fe:c8:17:d0',
 'stack': 'legacy',
 'status': 'IDLE',
 'supp_speeds': [40000],
 'vlan': '-',
 'vxlan_fs': '-'}
19/01/2021 15:16:41                         pktgen: begin traffic ......
19/01/2021 15:16:41                         pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
19/01/2021 15:16:46                         pktgen: traffic completed. 
19/01/2021 15:16:46                         pktgen: check the trex port link status
19/01/2021 15:16:46                         pktgen: {'arp': '-',
 'cores': [0, 1, 2, 3],
 'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
 'dest': 'b4:96:91:46:e0:5c',
 'driver': 'net_i40e',
 'fc': 'none',
 'fc_supported': 'no',
 'grat_arp': 'off',
 'hw_mac': '3c:fd:fe:c8:17:d0',
 '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': 1,
 'pci_addr': '0000:82:00.0',
 'prom': 'on',
 'prom_supported': 'yes',
 'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
 'rx_filter_mode': 'hardware match',
 'rx_queue': 'off',
 'speed': 40.0,
 'src_ipv4': '-',
 'src_mac': '3c:fd:fe:c8:17:d0',
 'stack': 'legacy',
 'status': 'IDLE',
 'supp_speeds': [40000],
 'vlan': '-',
 'vxlan_fs': '-'}
19/01/2021 15:16:46                         pktgen: begin traffic ......
19/01/2021 15:16:46                         pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
19/01/2021 15:17:06                         pktgen: begin get port statistic ...
19/01/2021 15:17:06                         pktgen: {'options': {'fields_config': {'ip': {'src': {'action': 'random',
                                              'end': '1.1.1.64',
                                              'start': '1.1.1.1',
                                              'step': 1}}},
             'pcap': '/tmp/vhost_cbdma/multiqueuerandomip_64.pcap',
             'stream_config': {'rate': 100,
                               'transmit_mode': 'continuous',
                               'txmode': {}}},
 'pcap_file': '/tmp/vhost_cbdma/multiqueuerandomip_64.pcap',
 'rx_port': 0,
 'tx_port': 0}
19/01/2021 15:17:06                         pktgen: {0: {'ibytes': 8395015040,
     'ierrors': 0,
     'ipackets': 131172110,
     'obytes': 37243902976,
     'oerrors': 0,
     'opackets': 581936017,
     'rx_bps': 3359843840.0,
     'rx_bps_L1': 4409794160.0,
     'rx_pps': 6562189.5,
     'rx_util': 11.0244854,
     'tx_bps': 14851992576.0,
     'tx_bps_L1': 19493239296.0,
     'tx_pps': 29007792.0,
     'tx_util': 48.73309824},
 1: {'ibytes': 0,
     'ierrors': 0,
     'ipackets': 0,
     'obytes': 0,
     'oerrors': 0,
     'opackets': 0,
     'rx_bps': 0.0,
     'rx_bps_L1': 0,
     'rx_pps': 0.0,
     'rx_util': 0.0,
     'tx_bps': 0.0,
     'tx_bps_L1': 0,
     'tx_pps': 0.0,
     'tx_util': 0.0},
 'flow_stats': {},
 'global': {'active_flows': 0.0,
            'active_sockets': 0,
            'bw_per_core': 7.4324445724487305,
            'cpu_util': 99.91323852539062,
            'cpu_util_raw': 100.0,
            'open_flows': 0.0,
            'platform_factor': 1.0,
            'queue_full': 0,
            'rx_bps': 3359843840.0,
            'rx_core_pps': 0.0,
            'rx_cpu_util': 0.0,
            'rx_drop_bps': 11492148224.0,
            'rx_pps': 6562189.5,
            'socket_util': 0.0,
            'total_alloc_error': 0,
            'total_clients': 0,
            'total_servers': 0,
            'tx_bps': 14851992576.0,
            'tx_cps': 0.0,
            'tx_expected_bps': 0.0,
            'tx_expected_cps': 0.0,
            'tx_expected_pps': 0.0,
            'tx_pps': 29007792.0},
 'latency': {'global': {'bad_hdr': 0, 'old_flow': 0}},
 'total': {'ibytes': 8395015040,
           'ierrors': 0,
           'ipackets': 131172110,
           'obytes': 37243902976,
           'oerrors': 0,
           'opackets': 581936017,
           'rx_bps': 3359843840.0,
           'rx_bps_L1': 4409794160.0,
           'rx_pps': 6562189.5,
           'rx_util': 11.0244854,
           'tx_bps': 14851992576.0,
           'tx_bps_L1': 19493239296.0,
           'tx_pps': 29007792.0,
           'tx_util': 48.73309824}}
19/01/2021 15:17:06                         pktgen: {'ibytes': 8395015040,
 'ierrors': 0,
 'ipackets': 131172110,
 'obytes': 37243902976,
 'oerrors': 0,
 'opackets': 581936017,
 'rx_bps': 3359843840.0,
 'rx_bps_L1': 4409794160.0,
 'rx_pps': 6562189.5,
 'rx_util': 11.0244854,
 'tx_bps': 14851992576.0,
 'tx_bps_L1': 19493239296.0,
 'tx_pps': 29007792.0,
 'tx_util': 48.73309824}
19/01/2021 15:17:06                         pktgen: Tx Port 0 stats: 
tx_port: 0,  tx_bps: 14851992576.000000, tx_pps: 29007792.000000 
19/01/2021 15:17:06                         pktgen: {'ibytes': 8395015040,
 'ierrors': 0,
 'ipackets': 131172110,
 'obytes': 37243902976,
 'oerrors': 0,
 'opackets': 581936017,
 'rx_bps': 3359843840.0,
 'rx_bps_L1': 4409794160.0,
 'rx_pps': 6562189.5,
 'rx_util': 11.0244854,
 'tx_bps': 14851992576.0,
 'tx_bps_L1': 19493239296.0,
 'tx_pps': 29007792.0,
 'tx_util': 48.73309824}
19/01/2021 15:17:06                         pktgen: Rx Port 0 stats: 
rx_port: 0,  rx_bps: 3359843840.000000, rx_pps: 6562189.500000
19/01/2021 15:17:06                         pktgen: throughput: pps_rx 6562189.500000, bps_rx 3359843840.000000
19/01/2021 15:17:06                         pktgen: traffic completed. 
19/01/2021 15:17:06                         tester: ls -d /tmp/vhost_cbdma
19/01/2021 15:17:06                         tester: /tmp/vhost_cbdma
19/01/2021 15:17:06                         tester: scp -v /home/lingwei/dts_cbdma/output/tmp/pcap/multiqueuerandomip_1518.pcap root@10.240.183.217:/tmp/vhost_cbdma/multiqueuerandomip_1518.pcap
19/01/2021 15:17:08                         pktgen: test port 0 map gen port 0
19/01/2021 15:17:08                         pktgen: test port 0 map gen port 0
19/01/2021 15:17:08                         pktgen: {'arp': '-',
 'cores': [0, 1, 2, 3],
 'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
 'dest': 'b4:96:91:46:e0:5c',
 'driver': 'net_i40e',
 'fc': 'none',
 'fc_supported': 'no',
 'grat_arp': 'off',
 'hw_mac': '3c:fd:fe:c8:17:d0',
 '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': 1,
 'pci_addr': '0000:82:00.0',
 'prom': 'off',
 'prom_supported': 'yes',
 'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
 'rx_filter_mode': 'hardware match',
 'rx_queue': 'off',
 'speed': 40.0,
 'src_ipv4': '-',
 'src_mac': '3c:fd:fe:c8:17:d0',
 'stack': 'legacy',
 'status': 'IDLE',
 'supp_speeds': [40000],
 'vlan': '-',
 'vxlan_fs': '-'}
19/01/2021 15:17:08                         pktgen: trex port <0> not support flow control
19/01/2021 15:17:08                         pktgen: trex packet generator: run traffic 5s to warm up ... 
19/01/2021 15:17:08                         pktgen: check the trex port link status
19/01/2021 15:17:08                         pktgen: {'arp': '-',
 'cores': [0, 1, 2, 3],
 'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
 'dest': 'b4:96:91:46:e0:5c',
 'driver': 'net_i40e',
 'fc': 'none',
 'fc_supported': 'no',
 'grat_arp': 'off',
 'hw_mac': '3c:fd:fe:c8:17:d0',
 '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': 1,
 'pci_addr': '0000:82:00.0',
 'prom': 'on',
 'prom_supported': 'yes',
 'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
 'rx_filter_mode': 'hardware match',
 'rx_queue': 'off',
 'speed': 40.0,
 'src_ipv4': '-',
 'src_mac': '3c:fd:fe:c8:17:d0',
 'stack': 'legacy',
 'status': 'IDLE',
 'supp_speeds': [40000],
 'vlan': '-',
 'vxlan_fs': '-'}
19/01/2021 15:17:08                         pktgen: begin traffic ......
19/01/2021 15:17:08                         pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
19/01/2021 15:17:13                         pktgen: traffic completed. 
19/01/2021 15:17:13                         pktgen: check the trex port link status
19/01/2021 15:17:13                         pktgen: {'arp': '-',
 'cores': [0, 1, 2, 3],
 'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
 'dest': 'b4:96:91:46:e0:5c',
 'driver': 'net_i40e',
 'fc': 'none',
 'fc_supported': 'no',
 'grat_arp': 'off',
 'hw_mac': '3c:fd:fe:c8:17:d0',
 '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': 1,
 'pci_addr': '0000:82:00.0',
 'prom': 'on',
 'prom_supported': 'yes',
 'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
 'rx_filter_mode': 'hardware match',
 'rx_queue': 'off',
 'speed': 40.0,
 'src_ipv4': '-',
 'src_mac': '3c:fd:fe:c8:17:d0',
 'stack': 'legacy',
 'status': 'IDLE',
 'supp_speeds': [40000],
 'vlan': '-',
 'vxlan_fs': '-'}
19/01/2021 15:17:13                         pktgen: begin traffic ......
19/01/2021 15:17:13                         pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
19/01/2021 15:17:33                         pktgen: begin get port statistic ...
19/01/2021 15:17:33                         pktgen: {'options': {'fields_config': {'ip': {'src': {'action': 'random',
                                              'end': '1.1.1.64',
                                              'start': '1.1.1.1',
                                              'step': 1}}},
             'pcap': '/tmp/vhost_cbdma/multiqueuerandomip_1518.pcap',
             'stream_config': {'rate': 100,
                               'transmit_mode': 'continuous',
                               'txmode': {}}},
 'pcap_file': '/tmp/vhost_cbdma/multiqueuerandomip_1518.pcap',
 'rx_port': 0,
 'tx_port': 0}
19/01/2021 15:17:33                         pktgen: {0: {'ibytes': 49403774508,
     'ierrors': 0,
     'ipackets': 32545309,
     'obytes': 98798926776,
     'oerrors': 0,
     'opackets': 65084936,
     'rx_bps': 19787593728.0,
     'rx_bps_L1': 20048299808.000004,
     'rx_pps': 1629413.0,
     'rx_util': 50.120749520000004,
     'tx_bps': 39564709888.0,
     'tx_bps_L1': 40085984288.0,
     'tx_pps': 3257965.0,
     'tx_util': 100.21496072000001},
 1: {'ibytes': 0,
     'ierrors': 0,
     'ipackets': 0,
     'obytes': 0,
     'oerrors': 0,
     'opackets': 0,
     'rx_bps': 0.0,
     'rx_bps_L1': 0,
     'rx_pps': 0.0,
     'rx_util': 0.0,
     'tx_bps': 0.0,
     'tx_bps_L1': 0,
     'tx_pps': 0.0,
     'tx_util': 0.0},
 'flow_stats': {},
 'global': {'active_flows': 0.0,
            'active_sockets': 0,
            'bw_per_core': 23.221403121948242,
            'cpu_util': 85.19017791748047,
            'cpu_util_raw': 85.0,
            'open_flows': 0.0,
            'platform_factor': 1.0,
            'queue_full': 56730202,
            'rx_bps': 19787593728.0,
            'rx_core_pps': 0.0,
            'rx_cpu_util': 0.0,
            'rx_drop_bps': 19777118208.0,
            'rx_pps': 1629413.0,
            'socket_util': 0.0,
            'total_alloc_error': 0,
            'total_clients': 0,
            'total_servers': 0,
            'tx_bps': 39564709888.0,
            'tx_cps': 0.0,
            'tx_expected_bps': 0.0,
            'tx_expected_cps': 0.0,
            'tx_expected_pps': 0.0,
            'tx_pps': 3257965.0},
 'latency': {'global': {'bad_hdr': 0, 'old_flow': 0}},
 'total': {'ibytes': 49403774508,
           'ierrors': 0,
           'ipackets': 32545309,
           'obytes': 98798926776,
           'oerrors': 0,
           'opackets': 65084936,
           'rx_bps': 19787593728.0,
           'rx_bps_L1': 20048299808.000004,
           'rx_pps': 1629413.0,
           'rx_util': 50.120749520000004,
           'tx_bps': 39564709888.0,
           'tx_bps_L1': 40085984288.0,
           'tx_pps': 3257965.0,
           'tx_util': 100.21496072000001}}
19/01/2021 15:17:33                         pktgen: {'ibytes': 49403774508,
 'ierrors': 0,
 'ipackets': 32545309,
 'obytes': 98798926776,
 'oerrors': 0,
 'opackets': 65084936,
 'rx_bps': 19787593728.0,
 'rx_bps_L1': 20048299808.000004,
 'rx_pps': 1629413.0,
 'rx_util': 50.120749520000004,
 'tx_bps': 39564709888.0,
 'tx_bps_L1': 40085984288.0,
 'tx_pps': 3257965.0,
 'tx_util': 100.21496072000001}
19/01/2021 15:17:33                         pktgen: Tx Port 0 stats: 
tx_port: 0,  tx_bps: 39564709888.000000, tx_pps: 3257965.000000 
19/01/2021 15:17:33                         pktgen: {'ibytes': 49403774508,
 'ierrors': 0,
 'ipackets': 32545309,
 'obytes': 98798926776,
 'oerrors': 0,
 'opackets': 65084936,
 'rx_bps': 19787593728.0,
 'rx_bps_L1': 20048299808.000004,
 'rx_pps': 1629413.0,
 'rx_util': 50.120749520000004,
 'tx_bps': 39564709888.0,
 'tx_bps_L1': 40085984288.0,
 'tx_pps': 3257965.0,
 'tx_util': 100.21496072000001}
19/01/2021 15:17:33                         pktgen: Rx Port 0 stats: 
rx_port: 0,  rx_bps: 19787593728.000000, rx_pps: 1629413.000000
19/01/2021 15:17:33                         pktgen: throughput: pps_rx 1629413.000000, bps_rx 19787593728.000000
19/01/2021 15:17:33                         pktgen: traffic completed. 
19/01/2021 15:17:39             dut.10.240.183.220: rm -rf /tmp/s0
19/01/2021 15:17:39             dut.10.240.183.220: 
19/01/2021 15:17:39             dut.10.240.183.220: cat /proc/meminfo |grep Hugepagesize|awk '{print($2)}'
19/01/2021 15:17:39             dut.10.240.183.220: 1048576
19/01/2021 15:17:50                         tester: ls -d /tmp/vhost_cbdma
19/01/2021 15:17:50                         tester: /tmp/vhost_cbdma
19/01/2021 15:17:50                         tester: scp -v /home/lingwei/dts_cbdma/output/tmp/pcap/multiqueuerandomip_64.pcap root@10.240.183.217:/tmp/vhost_cbdma/multiqueuerandomip_64.pcap
19/01/2021 15:17:52                         pktgen: test port 0 map gen port 0
19/01/2021 15:17:52                         pktgen: test port 0 map gen port 0
19/01/2021 15:17:52                         pktgen: {'arp': '-',
 'cores': [0, 1, 2, 3],
 'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
 'dest': 'b4:96:91:46:e0:5c',
 'driver': 'net_i40e',
 'fc': 'none',
 'fc_supported': 'no',
 'grat_arp': 'off',
 'hw_mac': '3c:fd:fe:c8:17:d0',
 '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': 1,
 'pci_addr': '0000:82:00.0',
 'prom': 'off',
 'prom_supported': 'yes',
 'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
 'rx_filter_mode': 'hardware match',
 'rx_queue': 'off',
 'speed': 40.0,
 'src_ipv4': '-',
 'src_mac': '3c:fd:fe:c8:17:d0',
 'stack': 'legacy',
 'status': 'IDLE',
 'supp_speeds': [40000],
 'vlan': '-',
 'vxlan_fs': '-'}
19/01/2021 15:17:52                         pktgen: trex port <0> not support flow control
19/01/2021 15:17:52                         pktgen: trex packet generator: run traffic 5s to warm up ... 
19/01/2021 15:17:52                         pktgen: check the trex port link status
19/01/2021 15:17:52                         pktgen: {'arp': '-',
 'cores': [0, 1, 2, 3],
 'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
 'dest': 'b4:96:91:46:e0:5c',
 'driver': 'net_i40e',
 'fc': 'none',
 'fc_supported': 'no',
 'grat_arp': 'off',
 'hw_mac': '3c:fd:fe:c8:17:d0',
 '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': 1,
 'pci_addr': '0000:82:00.0',
 'prom': 'on',
 'prom_supported': 'yes',
 'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
 'rx_filter_mode': 'hardware match',
 'rx_queue': 'off',
 'speed': 40.0,
 'src_ipv4': '-',
 'src_mac': '3c:fd:fe:c8:17:d0',
 'stack': 'legacy',
 'status': 'IDLE',
 'supp_speeds': [40000],
 'vlan': '-',
 'vxlan_fs': '-'}
19/01/2021 15:17:52                         pktgen: begin traffic ......
19/01/2021 15:17:52                         pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
19/01/2021 15:17:57                         pktgen: traffic completed. 
19/01/2021 15:17:57                         pktgen: check the trex port link status
19/01/2021 15:17:57                         pktgen: {'arp': '-',
 'cores': [0, 1, 2, 3],
 'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
 'dest': 'b4:96:91:46:e0:5c',
 'driver': 'net_i40e',
 'fc': 'none',
 'fc_supported': 'no',
 'grat_arp': 'off',
 'hw_mac': '3c:fd:fe:c8:17:d0',
 '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': 1,
 'pci_addr': '0000:82:00.0',
 'prom': 'on',
 'prom_supported': 'yes',
 'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
 'rx_filter_mode': 'hardware match',
 'rx_queue': 'off',
 'speed': 40.0,
 'src_ipv4': '-',
 'src_mac': '3c:fd:fe:c8:17:d0',
 'stack': 'legacy',
 'status': 'IDLE',
 'supp_speeds': [40000],
 'vlan': '-',
 'vxlan_fs': '-'}
19/01/2021 15:17:57                         pktgen: begin traffic ......
19/01/2021 15:17:57                         pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
19/01/2021 15:18:17                         pktgen: begin get port statistic ...
19/01/2021 15:18:17                         pktgen: {'options': {'fields_config': {'ip': {'src': {'action': 'random',
                                              'end': '1.1.1.64',
                                              'start': '1.1.1.1',
                                              'step': 1}}},
             'pcap': '/tmp/vhost_cbdma/multiqueuerandomip_64.pcap',
             'stream_config': {'rate': 100,
                               'transmit_mode': 'continuous',
                               'txmode': {}}},
 'pcap_file': '/tmp/vhost_cbdma/multiqueuerandomip_64.pcap',
 'rx_port': 0,
 'tx_port': 0}
19/01/2021 15:18:17                         pktgen: {0: {'ibytes': 9778582016,
     'ierrors': 0,
     'ipackets': 152790365,
     'obytes': 37341442432,
     'oerrors': 0,
     'opackets': 583460050,
     'rx_bps': 3912064000.0,
     'rx_bps_L1': 5134583040.0,
     'rx_pps': 7640744.0,
     'rx_util': 12.836457600000001,
     'tx_bps': 14802869248.0,
     'tx_bps_L1': 19428764288.0,
     'tx_pps': 28911844.0,
     'tx_util': 48.57191072},
 1: {'ibytes': 0,
     'ierrors': 0,
     'ipackets': 0,
     'obytes': 0,
     'oerrors': 0,
     'opackets': 0,
     'rx_bps': 0.0,
     'rx_bps_L1': 0,
     'rx_pps': 0.0,
     'rx_util': 0.0,
     'tx_bps': 0.0,
     'tx_bps_L1': 0,
     'tx_pps': 0.0,
     'tx_util': 0.0},
 'flow_stats': {},
 'global': {'active_flows': 0.0,
            'active_sockets': 0,
            'bw_per_core': 7.408847332000732,
            'cpu_util': 99.89994812011719,
            'cpu_util_raw': 100.0,
            'open_flows': 0.0,
            'platform_factor': 1.0,
            'queue_full': 0,
            'rx_bps': 3912064000.0,
            'rx_core_pps': 0.0,
            'rx_cpu_util': 0.0,
            'rx_drop_bps': 10890804224.0,
            'rx_pps': 7640744.0,
            'socket_util': 0.0,
            'total_alloc_error': 0,
            'total_clients': 0,
            'total_servers': 0,
            'tx_bps': 14802869248.0,
            'tx_cps': 0.0,
            'tx_expected_bps': 0.0,
            'tx_expected_cps': 0.0,
            'tx_expected_pps': 0.0,
            'tx_pps': 28911844.0},
 'latency': {'global': {'bad_hdr': 0, 'old_flow': 0}},
 'total': {'ibytes': 9778582016,
           'ierrors': 0,
           'ipackets': 152790365,
           'obytes': 37341442432,
           'oerrors': 0,
           'opackets': 583460050,
           'rx_bps': 3912064000.0,
           'rx_bps_L1': 5134583040.0,
           'rx_pps': 7640744.0,
           'rx_util': 12.836457600000001,
           'tx_bps': 14802869248.0,
           'tx_bps_L1': 19428764288.0,
           'tx_pps': 28911844.0,
           'tx_util': 48.57191072}}
19/01/2021 15:18:17                         pktgen: {'ibytes': 9778582016,
 'ierrors': 0,
 'ipackets': 152790365,
 'obytes': 37341442432,
 'oerrors': 0,
 'opackets': 583460050,
 'rx_bps': 3912064000.0,
 'rx_bps_L1': 5134583040.0,
 'rx_pps': 7640744.0,
 'rx_util': 12.836457600000001,
 'tx_bps': 14802869248.0,
 'tx_bps_L1': 19428764288.0,
 'tx_pps': 28911844.0,
 'tx_util': 48.57191072}
19/01/2021 15:18:17                         pktgen: Tx Port 0 stats: 
tx_port: 0,  tx_bps: 14802869248.000000, tx_pps: 28911844.000000 
19/01/2021 15:18:17                         pktgen: {'ibytes': 9778582016,
 'ierrors': 0,
 'ipackets': 152790365,
 'obytes': 37341442432,
 'oerrors': 0,
 'opackets': 583460050,
 'rx_bps': 3912064000.0,
 'rx_bps_L1': 5134583040.0,
 'rx_pps': 7640744.0,
 'rx_util': 12.836457600000001,
 'tx_bps': 14802869248.0,
 'tx_bps_L1': 19428764288.0,
 'tx_pps': 28911844.0,
 'tx_util': 48.57191072}
19/01/2021 15:18:17                         pktgen: Rx Port 0 stats: 
rx_port: 0,  rx_bps: 3912064000.000000, rx_pps: 7640744.000000
19/01/2021 15:18:17                         pktgen: throughput: pps_rx 7640744.000000, bps_rx 3912064000.000000
19/01/2021 15:18:17                         pktgen: traffic completed. 
19/01/2021 15:18:17                         tester: ls -d /tmp/vhost_cbdma
19/01/2021 15:18:17                         tester: /tmp/vhost_cbdma
19/01/2021 15:18:18                         tester: scp -v /home/lingwei/dts_cbdma/output/tmp/pcap/multiqueuerandomip_1518.pcap root@10.240.183.217:/tmp/vhost_cbdma/multiqueuerandomip_1518.pcap
19/01/2021 15:18:19                         pktgen: test port 0 map gen port 0
19/01/2021 15:18:19                         pktgen: test port 0 map gen port 0
19/01/2021 15:18:20                         pktgen: {'arp': '-',
 'cores': [0, 1, 2, 3],
 'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
 'dest': 'b4:96:91:46:e0:5c',
 'driver': 'net_i40e',
 'fc': 'none',
 'fc_supported': 'no',
 'grat_arp': 'off',
 'hw_mac': '3c:fd:fe:c8:17:d0',
 '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': 1,
 'pci_addr': '0000:82:00.0',
 'prom': 'off',
 'prom_supported': 'yes',
 'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
 'rx_filter_mode': 'hardware match',
 'rx_queue': 'off',
 'speed': 40.0,
 'src_ipv4': '-',
 'src_mac': '3c:fd:fe:c8:17:d0',
 'stack': 'legacy',
 'status': 'IDLE',
 'supp_speeds': [40000],
 'vlan': '-',
 'vxlan_fs': '-'}
19/01/2021 15:18:20                         pktgen: trex port <0> not support flow control
19/01/2021 15:18:20                         pktgen: trex packet generator: run traffic 5s to warm up ... 
19/01/2021 15:18:20                         pktgen: check the trex port link status
19/01/2021 15:18:20                         pktgen: {'arp': '-',
 'cores': [0, 1, 2, 3],
 'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
 'dest': 'b4:96:91:46:e0:5c',
 'driver': 'net_i40e',
 'fc': 'none',
 'fc_supported': 'no',
 'grat_arp': 'off',
 'hw_mac': '3c:fd:fe:c8:17:d0',
 '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': 1,
 'pci_addr': '0000:82:00.0',
 'prom': 'on',
 'prom_supported': 'yes',
 'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
 'rx_filter_mode': 'hardware match',
 'rx_queue': 'off',
 'speed': 40.0,
 'src_ipv4': '-',
 'src_mac': '3c:fd:fe:c8:17:d0',
 'stack': 'legacy',
 'status': 'IDLE',
 'supp_speeds': [40000],
 'vlan': '-',
 'vxlan_fs': '-'}
19/01/2021 15:18:20                         pktgen: begin traffic ......
19/01/2021 15:18:20                         pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
19/01/2021 15:18:25                         pktgen: traffic completed. 
19/01/2021 15:18:25                         pktgen: check the trex port link status
19/01/2021 15:18:25                         pktgen: {'arp': '-',
 'cores': [0, 1, 2, 3],
 'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
 'dest': 'b4:96:91:46:e0:5c',
 'driver': 'net_i40e',
 'fc': 'none',
 'fc_supported': 'no',
 'grat_arp': 'off',
 'hw_mac': '3c:fd:fe:c8:17:d0',
 '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': 1,
 'pci_addr': '0000:82:00.0',
 'prom': 'on',
 'prom_supported': 'yes',
 'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
 'rx_filter_mode': 'hardware match',
 'rx_queue': 'off',
 'speed': 40.0,
 'src_ipv4': '-',
 'src_mac': '3c:fd:fe:c8:17:d0',
 'stack': 'legacy',
 'status': 'IDLE',
 'supp_speeds': [40000],
 'vlan': '-',
 'vxlan_fs': '-'}
19/01/2021 15:18:25                         pktgen: begin traffic ......
19/01/2021 15:18:25                         pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
19/01/2021 15:18:45                         pktgen: begin get port statistic ...
19/01/2021 15:18:45                         pktgen: {'options': {'fields_config': {'ip': {'src': {'action': 'random',
                                              'end': '1.1.1.64',
                                              'start': '1.1.1.1',
                                              'step': 1}}},
             'pcap': '/tmp/vhost_cbdma/multiqueuerandomip_1518.pcap',
             'stream_config': {'rate': 100,
                               'transmit_mode': 'continuous',
                               'txmode': {}}},
 'pcap_file': '/tmp/vhost_cbdma/multiqueuerandomip_1518.pcap',
 'rx_port': 0,
 'tx_port': 0}
19/01/2021 15:18:45                         pktgen: {0: {'ibytes': 81983479116,
     'ierrors': 0,
     'ipackets': 54007562,
     'obytes': 98801044386,
     'oerrors': 0,
     'opackets': 65086331,
     'rx_bps': 32800210944.0,
     'rx_bps_L1': 33232361223.999996,
     'rx_pps': 2700939.25,
     'rx_util': 83.08090305999998,
     'tx_bps': 39509602304.0,
     'tx_bps_L1': 40030150424.0,
     'tx_pps': 3253425.75,
     'tx_util': 100.07537606000001},
 1: {'ibytes': 0,
     'ierrors': 0,
     'ipackets': 0,
     'obytes': 0,
     'oerrors': 0,
     'opackets': 0,
     'rx_bps': 0.0,
     'rx_bps_L1': 0,
     'rx_pps': 0.0,
     'rx_util': 0.0,
     'tx_bps': 0.0,
     'tx_bps_L1': 0,
     'tx_pps': 0.0,
     'tx_util': 0.0},
 'flow_stats': {},
 'global': {'active_flows': 0.0,
            'active_sockets': 0,
            'bw_per_core': 23.236621856689453,
            'cpu_util': 85.01580810546875,
            'cpu_util_raw': 85.0,
            'open_flows': 0.0,
            'platform_factor': 1.0,
            'queue_full': 56672923,
            'rx_bps': 32800210944.0,
            'rx_core_pps': 0.0,
            'rx_cpu_util': 0.0,
            'rx_drop_bps': 6709390848.0,
            'rx_pps': 2700939.25,
            'socket_util': 0.0,
            'total_alloc_error': 0,
            'total_clients': 0,
            'total_servers': 0,
            'tx_bps': 39509602304.0,
            'tx_cps': 0.0,
            'tx_expected_bps': 0.0,
            'tx_expected_cps': 0.0,
            'tx_expected_pps': 0.0,
            'tx_pps': 3253425.75},
 'latency': {'global': {'bad_hdr': 0, 'old_flow': 0}},
 'total': {'ibytes': 81983479116,
           'ierrors': 0,
           'ipackets': 54007562,
           'obytes': 98801044386,
           'oerrors': 0,
           'opackets': 65086331,
           'rx_bps': 32800210944.0,
           'rx_bps_L1': 33232361223.999996,
           'rx_pps': 2700939.25,
           'rx_util': 83.08090305999998,
           'tx_bps': 39509602304.0,
           'tx_bps_L1': 40030150424.0,
           'tx_pps': 3253425.75,
           'tx_util': 100.07537606000001}}
19/01/2021 15:18:45                         pktgen: {'ibytes': 81983479116,
 'ierrors': 0,
 'ipackets': 54007562,
 'obytes': 98801044386,
 'oerrors': 0,
 'opackets': 65086331,
 'rx_bps': 32800210944.0,
 'rx_bps_L1': 33232361223.999996,
 'rx_pps': 2700939.25,
 'rx_util': 83.08090305999998,
 'tx_bps': 39509602304.0,
 'tx_bps_L1': 40030150424.0,
 'tx_pps': 3253425.75,
 'tx_util': 100.07537606000001}
19/01/2021 15:18:45                         pktgen: Tx Port 0 stats: 
tx_port: 0,  tx_bps: 39509602304.000000, tx_pps: 3253425.750000 
19/01/2021 15:18:45                         pktgen: {'ibytes': 81983479116,
 'ierrors': 0,
 'ipackets': 54007562,
 'obytes': 98801044386,
 'oerrors': 0,
 'opackets': 65086331,
 'rx_bps': 32800210944.0,
 'rx_bps_L1': 33232361223.999996,
 'rx_pps': 2700939.25,
 'rx_util': 83.08090305999998,
 'tx_bps': 39509602304.0,
 'tx_bps_L1': 40030150424.0,
 'tx_pps': 3253425.75,
 'tx_util': 100.07537606000001}
19/01/2021 15:18:45                         pktgen: Rx Port 0 stats: 
rx_port: 0,  rx_bps: 32800210944.000000, rx_pps: 2700939.250000
19/01/2021 15:18:45                         pktgen: throughput: pps_rx 2700939.250000, bps_rx 32800210944.000000
19/01/2021 15:18:45                         pktgen: traffic completed. 
19/01/2021 15:18:51                         tester: ls -d /tmp/vhost_cbdma
19/01/2021 15:18:51                         tester: /tmp/vhost_cbdma
19/01/2021 15:18:51                         tester: scp -v /home/lingwei/dts_cbdma/output/tmp/pcap/multiqueuerandomip_64.pcap root@10.240.183.217:/tmp/vhost_cbdma/multiqueuerandomip_64.pcap
19/01/2021 15:18:53                         pktgen: test port 0 map gen port 0
19/01/2021 15:18:53                         pktgen: test port 0 map gen port 0
19/01/2021 15:18:53                         pktgen: {'arp': '-',
 'cores': [0, 1, 2, 3],
 'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
 'dest': 'b4:96:91:46:e0:5c',
 'driver': 'net_i40e',
 'fc': 'none',
 'fc_supported': 'no',
 'grat_arp': 'off',
 'hw_mac': '3c:fd:fe:c8:17:d0',
 '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': 1,
 'pci_addr': '0000:82:00.0',
 'prom': 'off',
 'prom_supported': 'yes',
 'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
 'rx_filter_mode': 'hardware match',
 'rx_queue': 'off',
 'speed': 40.0,
 'src_ipv4': '-',
 'src_mac': '3c:fd:fe:c8:17:d0',
 'stack': 'legacy',
 'status': 'IDLE',
 'supp_speeds': [40000],
 'vlan': '-',
 'vxlan_fs': '-'}
19/01/2021 15:18:53                         pktgen: trex port <0> not support flow control
19/01/2021 15:18:53                         pktgen: trex packet generator: run traffic 5s to warm up ... 
19/01/2021 15:18:53                         pktgen: check the trex port link status
19/01/2021 15:18:53                         pktgen: {'arp': '-',
 'cores': [0, 1, 2, 3],
 'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
 'dest': 'b4:96:91:46:e0:5c',
 'driver': 'net_i40e',
 'fc': 'none',
 'fc_supported': 'no',
 'grat_arp': 'off',
 'hw_mac': '3c:fd:fe:c8:17:d0',
 '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': 1,
 'pci_addr': '0000:82:00.0',
 'prom': 'on',
 'prom_supported': 'yes',
 'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
 'rx_filter_mode': 'hardware match',
 'rx_queue': 'off',
 'speed': 40.0,
 'src_ipv4': '-',
 'src_mac': '3c:fd:fe:c8:17:d0',
 'stack': 'legacy',
 'status': 'IDLE',
 'supp_speeds': [40000],
 'vlan': '-',
 'vxlan_fs': '-'}
19/01/2021 15:18:53                         pktgen: begin traffic ......
19/01/2021 15:18:53                         pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
19/01/2021 15:18:58                         pktgen: traffic completed. 
19/01/2021 15:18:58                         pktgen: check the trex port link status
19/01/2021 15:18:58                         pktgen: {'arp': '-',
 'cores': [0, 1, 2, 3],
 'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
 'dest': 'b4:96:91:46:e0:5c',
 'driver': 'net_i40e',
 'fc': 'none',
 'fc_supported': 'no',
 'grat_arp': 'off',
 'hw_mac': '3c:fd:fe:c8:17:d0',
 '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': 1,
 'pci_addr': '0000:82:00.0',
 'prom': 'on',
 'prom_supported': 'yes',
 'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
 'rx_filter_mode': 'hardware match',
 'rx_queue': 'off',
 'speed': 40.0,
 'src_ipv4': '-',
 'src_mac': '3c:fd:fe:c8:17:d0',
 'stack': 'legacy',
 'status': 'IDLE',
 'supp_speeds': [40000],
 'vlan': '-',
 'vxlan_fs': '-'}
19/01/2021 15:18:58                         pktgen: begin traffic ......
19/01/2021 15:18:58                         pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
19/01/2021 15:19:18                         pktgen: begin get port statistic ...
19/01/2021 15:19:18                         pktgen: {'options': {'fields_config': {'ip': {'src': {'action': 'random',
                                              'end': '1.1.1.64',
                                              'start': '1.1.1.1',
                                              'step': 1}}},
             'pcap': '/tmp/vhost_cbdma/multiqueuerandomip_64.pcap',
             'stream_config': {'rate': 100,
                               'transmit_mode': 'continuous',
                               'txmode': {}}},
 'pcap_file': '/tmp/vhost_cbdma/multiqueuerandomip_64.pcap',
 'rx_port': 0,
 'tx_port': 0}
19/01/2021 15:19:18                         pktgen: {0: {'ibytes': 10455213824,
     'ierrors': 0,
     'ipackets': 163362729,
     'obytes': 37187213440,
     'oerrors': 0,
     'opackets': 581050264,
     'rx_bps': 4166665472.0,
     'rx_bps_L1': 5468748192.0,
     'rx_pps': 8138017.0,
     'rx_util': 13.67187048,
     'tx_bps': 14724528128.0,
     'tx_bps_L1': 19325941248.0,
     'tx_pps': 28758832.0,
     'tx_util': 48.31485312},
 1: {'ibytes': 0,
     'ierrors': 0,
     'ipackets': 0,
     'obytes': 0,
     'oerrors': 0,
     'opackets': 0,
     'rx_bps': 0.0,
     'rx_bps_L1': 0,
     'rx_pps': 0.0,
     'rx_util': 0.0,
     'tx_bps': 0.0,
     'tx_bps_L1': 0,
     'tx_pps': 0.0,
     'tx_util': 0.0},
 'flow_stats': {},
 'global': {'active_flows': 0.0,
            'active_sockets': 0,
            'bw_per_core': 7.368307590484619,
            'cpu_util': 99.91797637939453,
            'cpu_util_raw': 100.0,
            'open_flows': 0.0,
            'platform_factor': 1.0,
            'queue_full': 0,
            'rx_bps': 4166665472.0,
            'rx_core_pps': 0.0,
            'rx_cpu_util': 0.0,
            'rx_drop_bps': 10557862912.0,
            'rx_pps': 8138017.0,
            'socket_util': 0.0,
            'total_alloc_error': 0,
            'total_clients': 0,
            'total_servers': 0,
            'tx_bps': 14724528128.0,
            'tx_cps': 0.0,
            'tx_expected_bps': 0.0,
            'tx_expected_cps': 0.0,
            'tx_expected_pps': 0.0,
            'tx_pps': 28758832.0},
 'latency': {'global': {'bad_hdr': 0, 'old_flow': 0}},
 'total': {'ibytes': 10455213824,
           'ierrors': 0,
           'ipackets': 163362729,
           'obytes': 37187213440,
           'oerrors': 0,
           'opackets': 581050264,
           'rx_bps': 4166665472.0,
           'rx_bps_L1': 5468748192.0,
           'rx_pps': 8138017.0,
           'rx_util': 13.67187048,
           'tx_bps': 14724528128.0,
           'tx_bps_L1': 19325941248.0,
           'tx_pps': 28758832.0,
           'tx_util': 48.31485312}}
19/01/2021 15:19:18                         pktgen: {'ibytes': 10455213824,
 'ierrors': 0,
 'ipackets': 163362729,
 'obytes': 37187213440,
 'oerrors': 0,
 'opackets': 581050264,
 'rx_bps': 4166665472.0,
 'rx_bps_L1': 5468748192.0,
 'rx_pps': 8138017.0,
 'rx_util': 13.67187048,
 'tx_bps': 14724528128.0,
 'tx_bps_L1': 19325941248.0,
 'tx_pps': 28758832.0,
 'tx_util': 48.31485312}
19/01/2021 15:19:18                         pktgen: Tx Port 0 stats: 
tx_port: 0,  tx_bps: 14724528128.000000, tx_pps: 28758832.000000 
19/01/2021 15:19:18                         pktgen: {'ibytes': 10455213824,
 'ierrors': 0,
 'ipackets': 163362729,
 'obytes': 37187213440,
 'oerrors': 0,
 'opackets': 581050264,
 'rx_bps': 4166665472.0,
 'rx_bps_L1': 5468748192.0,
 'rx_pps': 8138017.0,
 'rx_util': 13.67187048,
 'tx_bps': 14724528128.0,
 'tx_bps_L1': 19325941248.0,
 'tx_pps': 28758832.0,
 'tx_util': 48.31485312}
19/01/2021 15:19:18                         pktgen: Rx Port 0 stats: 
rx_port: 0,  rx_bps: 4166665472.000000, rx_pps: 8138017.000000
19/01/2021 15:19:18                         pktgen: throughput: pps_rx 8138017.000000, bps_rx 4166665472.000000
19/01/2021 15:19:18                         pktgen: traffic completed. 
19/01/2021 15:19:18                         tester: ls -d /tmp/vhost_cbdma
19/01/2021 15:19:18                         tester: /tmp/vhost_cbdma
19/01/2021 15:19:18                         tester: scp -v /home/lingwei/dts_cbdma/output/tmp/pcap/multiqueuerandomip_1518.pcap root@10.240.183.217:/tmp/vhost_cbdma/multiqueuerandomip_1518.pcap
19/01/2021 15:19:20                         pktgen: test port 0 map gen port 0
19/01/2021 15:19:20                         pktgen: test port 0 map gen port 0
19/01/2021 15:19:20                         pktgen: {'arp': '-',
 'cores': [0, 1, 2, 3],
 'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
 'dest': 'b4:96:91:46:e0:5c',
 'driver': 'net_i40e',
 'fc': 'none',
 'fc_supported': 'no',
 'grat_arp': 'off',
 'hw_mac': '3c:fd:fe:c8:17:d0',
 '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': 1,
 'pci_addr': '0000:82:00.0',
 'prom': 'off',
 'prom_supported': 'yes',
 'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
 'rx_filter_mode': 'hardware match',
 'rx_queue': 'off',
 'speed': 40.0,
 'src_ipv4': '-',
 'src_mac': '3c:fd:fe:c8:17:d0',
 'stack': 'legacy',
 'status': 'IDLE',
 'supp_speeds': [40000],
 'vlan': '-',
 'vxlan_fs': '-'}
19/01/2021 15:19:20                         pktgen: trex port <0> not support flow control
19/01/2021 15:19:20                         pktgen: trex packet generator: run traffic 5s to warm up ... 
19/01/2021 15:19:20                         pktgen: check the trex port link status
19/01/2021 15:19:20                         pktgen: {'arp': '-',
 'cores': [0, 1, 2, 3],
 'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
 'dest': 'b4:96:91:46:e0:5c',
 'driver': 'net_i40e',
 'fc': 'none',
 'fc_supported': 'no',
 'grat_arp': 'off',
 'hw_mac': '3c:fd:fe:c8:17:d0',
 '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': 1,
 'pci_addr': '0000:82:00.0',
 'prom': 'on',
 'prom_supported': 'yes',
 'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
 'rx_filter_mode': 'hardware match',
 'rx_queue': 'off',
 'speed': 40.0,
 'src_ipv4': '-',
 'src_mac': '3c:fd:fe:c8:17:d0',
 'stack': 'legacy',
 'status': 'IDLE',
 'supp_speeds': [40000],
 'vlan': '-',
 'vxlan_fs': '-'}
19/01/2021 15:19:20                         pktgen: begin traffic ......
19/01/2021 15:19:20                         pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
19/01/2021 15:19:25                         pktgen: traffic completed. 
19/01/2021 15:19:25                         pktgen: check the trex port link status
19/01/2021 15:19:25                         pktgen: {'arp': '-',
 'cores': [0, 1, 2, 3],
 'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
 'dest': 'b4:96:91:46:e0:5c',
 'driver': 'net_i40e',
 'fc': 'none',
 'fc_supported': 'no',
 'grat_arp': 'off',
 'hw_mac': '3c:fd:fe:c8:17:d0',
 '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': 1,
 'pci_addr': '0000:82:00.0',
 'prom': 'on',
 'prom_supported': 'yes',
 'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
 'rx_filter_mode': 'hardware match',
 'rx_queue': 'off',
 'speed': 40.0,
 'src_ipv4': '-',
 'src_mac': '3c:fd:fe:c8:17:d0',
 'stack': 'legacy',
 'status': 'IDLE',
 'supp_speeds': [40000],
 'vlan': '-',
 'vxlan_fs': '-'}
19/01/2021 15:19:25                         pktgen: begin traffic ......
19/01/2021 15:19:25                         pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
19/01/2021 15:19:45                         pktgen: begin get port statistic ...
19/01/2021 15:19:45                         pktgen: {'options': {'fields_config': {'ip': {'src': {'action': 'random',
                                              'end': '1.1.1.64',
                                              'start': '1.1.1.1',
                                              'step': 1}}},
             'pcap': '/tmp/vhost_cbdma/multiqueuerandomip_1518.pcap',
             'stream_config': {'rate': 100,
                               'transmit_mode': 'continuous',
                               'txmode': {}}},
 'pcap_file': '/tmp/vhost_cbdma/multiqueuerandomip_1518.pcap',
 'rx_port': 0,
 'tx_port': 0}
19/01/2021 15:19:45                         pktgen: {0: {'ibytes': 91709282346,
     'ierrors': 0,
     'ipackets': 60414549,
     'obytes': 98803482294,
     'oerrors': 0,
     'opackets': 65087936,
     'rx_bps': 36714131456.0,
     'rx_bps_L1': 37197848656.0,
     'rx_pps': 3023232.5,
     'rx_util': 92.99462163999999,
     'tx_bps': 39551598592.0,
     'tx_bps_L1': 40072700111.99999,
     'tx_pps': 3256884.5,
     'tx_util': 100.18175027999999},
 1: {'ibytes': 0,
     'ierrors': 0,
     'ipackets': 0,
     'obytes': 0,
     'oerrors': 0,
     'opackets': 0,
     'rx_bps': 0.0,
     'rx_bps_L1': 0,
     'rx_pps': 0.0,
     'rx_util': 0.0,
     'tx_bps': 0.0,
     'tx_bps_L1': 0,
     'tx_pps': 0.0,
     'tx_util': 0.0},
 'flow_stats': {},
 'global': {'active_flows': 0.0,
            'active_sockets': 0,
            'bw_per_core': 23.227699279785156,
            'cpu_util': 85.13886260986328,
            'cpu_util_raw': 85.25,
            'open_flows': 0.0,
            'platform_factor': 1.0,
            'queue_full': 56653846,
            'rx_bps': 36714131456.0,
            'rx_core_pps': 0.0,
            'rx_cpu_util': 0.0,
            'rx_drop_bps': 0.0,
            'rx_pps': 3023232.5,
            'socket_util': 0.0,
            'total_alloc_error': 0,
            'total_clients': 0,
            'total_servers': 0,
            'tx_bps': 39551598592.0,
            'tx_cps': 0.0,
            'tx_expected_bps': 0.0,
            'tx_expected_cps': 0.0,
            'tx_expected_pps': 0.0,
            'tx_pps': 3256884.5},
 'latency': {'global': {'bad_hdr': 0, 'old_flow': 0}},
 'total': {'ibytes': 91709282346,
           'ierrors': 0,
           'ipackets': 60414549,
           'obytes': 98803482294,
           'oerrors': 0,
           'opackets': 65087936,
           'rx_bps': 36714131456.0,
           'rx_bps_L1': 37197848656.0,
           'rx_pps': 3023232.5,
           'rx_util': 92.99462163999999,
           'tx_bps': 39551598592.0,
           'tx_bps_L1': 40072700111.99999,
           'tx_pps': 3256884.5,
           'tx_util': 100.18175027999999}}
19/01/2021 15:19:45                         pktgen: {'ibytes': 91709282346,
 'ierrors': 0,
 'ipackets': 60414549,
 'obytes': 98803482294,
 'oerrors': 0,
 'opackets': 65087936,
 'rx_bps': 36714131456.0,
 'rx_bps_L1': 37197848656.0,
 'rx_pps': 3023232.5,
 'rx_util': 92.99462163999999,
 'tx_bps': 39551598592.0,
 'tx_bps_L1': 40072700111.99999,
 'tx_pps': 3256884.5,
 'tx_util': 100.18175027999999}
19/01/2021 15:19:45                         pktgen: Tx Port 0 stats: 
tx_port: 0,  tx_bps: 39551598592.000000, tx_pps: 3256884.500000 
19/01/2021 15:19:45                         pktgen: {'ibytes': 91709282346,
 'ierrors': 0,
 'ipackets': 60414549,
 'obytes': 98803482294,
 'oerrors': 0,
 'opackets': 65087936,
 'rx_bps': 36714131456.0,
 'rx_bps_L1': 37197848656.0,
 'rx_pps': 3023232.5,
 'rx_util': 92.99462163999999,
 'tx_bps': 39551598592.0,
 'tx_bps_L1': 40072700111.99999,
 'tx_pps': 3256884.5,
 'tx_util': 100.18175027999999}
19/01/2021 15:19:45                         pktgen: Rx Port 0 stats: 
rx_port: 0,  rx_bps: 36714131456.000000, rx_pps: 3023232.500000
19/01/2021 15:19:45                         pktgen: throughput: pps_rx 3023232.500000, bps_rx 36714131456.000000
19/01/2021 15:19:45                         pktgen: traffic completed. 
19/01/2021 15:19:59                         tester: ls -d /tmp/vhost_cbdma
19/01/2021 15:19:59                         tester: /tmp/vhost_cbdma
19/01/2021 15:19:59                         tester: scp -v /home/lingwei/dts_cbdma/output/tmp/pcap/multiqueuerandomip_64.pcap root@10.240.183.217:/tmp/vhost_cbdma/multiqueuerandomip_64.pcap
19/01/2021 15:20:01                         pktgen: test port 0 map gen port 0
19/01/2021 15:20:01                         pktgen: test port 0 map gen port 0
19/01/2021 15:20:01                         pktgen: {'arp': '-',
 'cores': [0, 1, 2, 3],
 'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
 'dest': 'b4:96:91:46:e0:5c',
 'driver': 'net_i40e',
 'fc': 'none',
 'fc_supported': 'no',
 'grat_arp': 'off',
 'hw_mac': '3c:fd:fe:c8:17:d0',
 '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': 1,
 'pci_addr': '0000:82:00.0',
 'prom': 'off',
 'prom_supported': 'yes',
 'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
 'rx_filter_mode': 'hardware match',
 'rx_queue': 'off',
 'speed': 40.0,
 'src_ipv4': '-',
 'src_mac': '3c:fd:fe:c8:17:d0',
 'stack': 'legacy',
 'status': 'IDLE',
 'supp_speeds': [40000],
 'vlan': '-',
 'vxlan_fs': '-'}
19/01/2021 15:20:01                         pktgen: trex port <0> not support flow control
19/01/2021 15:20:01                         pktgen: trex packet generator: run traffic 5s to warm up ... 
19/01/2021 15:20:01                         pktgen: check the trex port link status
19/01/2021 15:20:01                         pktgen: {'arp': '-',
 'cores': [0, 1, 2, 3],
 'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
 'dest': 'b4:96:91:46:e0:5c',
 'driver': 'net_i40e',
 'fc': 'none',
 'fc_supported': 'no',
 'grat_arp': 'off',
 'hw_mac': '3c:fd:fe:c8:17:d0',
 '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': 1,
 'pci_addr': '0000:82:00.0',
 'prom': 'on',
 'prom_supported': 'yes',
 'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
 'rx_filter_mode': 'hardware match',
 'rx_queue': 'off',
 'speed': 40.0,
 'src_ipv4': '-',
 'src_mac': '3c:fd:fe:c8:17:d0',
 'stack': 'legacy',
 'status': 'IDLE',
 'supp_speeds': [40000],
 'vlan': '-',
 'vxlan_fs': '-'}
19/01/2021 15:20:01                         pktgen: begin traffic ......
19/01/2021 15:20:01                         pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
19/01/2021 15:20:06                         pktgen: traffic completed. 
19/01/2021 15:20:06                         pktgen: check the trex port link status
19/01/2021 15:20:06                         pktgen: {'arp': '-',
 'cores': [0, 1, 2, 3],
 'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
 'dest': 'b4:96:91:46:e0:5c',
 'driver': 'net_i40e',
 'fc': 'none',
 'fc_supported': 'no',
 'grat_arp': 'off',
 'hw_mac': '3c:fd:fe:c8:17:d0',
 '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': 1,
 'pci_addr': '0000:82:00.0',
 'prom': 'on',
 'prom_supported': 'yes',
 'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
 'rx_filter_mode': 'hardware match',
 'rx_queue': 'off',
 'speed': 40.0,
 'src_ipv4': '-',
 'src_mac': '3c:fd:fe:c8:17:d0',
 'stack': 'legacy',
 'status': 'IDLE',
 'supp_speeds': [40000],
 'vlan': '-',
 'vxlan_fs': '-'}
19/01/2021 15:20:06                         pktgen: begin traffic ......
19/01/2021 15:20:06                         pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
19/01/2021 15:20:26                         pktgen: begin get port statistic ...
19/01/2021 15:20:26                         pktgen: {'options': {'fields_config': {'ip': {'src': {'action': 'random',
                                              'end': '1.1.1.64',
                                              'start': '1.1.1.1',
                                              'step': 1}}},
             'pcap': '/tmp/vhost_cbdma/multiqueuerandomip_64.pcap',
             'stream_config': {'rate': 100,
                               'transmit_mode': 'continuous',
                               'txmode': {}}},
 'pcap_file': '/tmp/vhost_cbdma/multiqueuerandomip_64.pcap',
 'rx_port': 0,
 'tx_port': 0}
19/01/2021 15:20:26                         pktgen: {0: {'ibytes': 9632085568,
     'ierrors': 0,
     'ipackets': 150501357,
     'obytes': 37106943488,
     'oerrors': 0,
     'opackets': 579796025,
     'rx_bps': 3889286400.0,
     'rx_bps_L1': 5104687999.999999,
     'rx_pps': 7596260.0,
     'rx_util': 12.761719999999999,
     'tx_bps': 14782001152.0,
     'tx_bps_L1': 19401376512.0,
     'tx_pps': 28871096.0,
     'tx_util': 48.50344128},
 1: {'ibytes': 0,
     'ierrors': 0,
     'ipackets': 0,
     'obytes': 0,
     'oerrors': 0,
     'opackets': 0,
     'rx_bps': 0.0,
     'rx_bps_L1': 0,
     'rx_pps': 0.0,
     'rx_util': 0.0,
     'tx_bps': 0.0,
     'tx_bps_L1': 0,
     'tx_pps': 0.0,
     'tx_util': 0.0},
 'flow_stats': {},
 'global': {'active_flows': 0.0,
            'active_sockets': 0,
            'bw_per_core': 7.397586822509766,
            'cpu_util': 99.91096496582031,
            'cpu_util_raw': 100.0,
            'open_flows': 0.0,
            'platform_factor': 1.0,
            'queue_full': 0,
            'rx_bps': 3889286400.0,
            'rx_core_pps': 0.0,
            'rx_cpu_util': 0.0,
            'rx_drop_bps': 10892715008.0,
            'rx_pps': 7596260.0,
            'socket_util': 0.0,
            'total_alloc_error': 0,
            'total_clients': 0,
            'total_servers': 0,
            'tx_bps': 14782001152.0,
            'tx_cps': 0.0,
            'tx_expected_bps': 0.0,
            'tx_expected_cps': 0.0,
            'tx_expected_pps': 0.0,
            'tx_pps': 28871096.0},
 'latency': {'global': {'bad_hdr': 0, 'old_flow': 0}},
 'total': {'ibytes': 9632085568,
           'ierrors': 0,
           'ipackets': 150501357,
           'obytes': 37106943488,
           'oerrors': 0,
           'opackets': 579796025,
           'rx_bps': 3889286400.0,
           'rx_bps_L1': 5104687999.999999,
           'rx_pps': 7596260.0,
           'rx_util': 12.761719999999999,
           'tx_bps': 14782001152.0,
           'tx_bps_L1': 19401376512.0,
           'tx_pps': 28871096.0,
           'tx_util': 48.50344128}}
19/01/2021 15:20:26                         pktgen: {'ibytes': 9632085568,
 'ierrors': 0,
 'ipackets': 150501357,
 'obytes': 37106943488,
 'oerrors': 0,
 'opackets': 579796025,
 'rx_bps': 3889286400.0,
 'rx_bps_L1': 5104687999.999999,
 'rx_pps': 7596260.0,
 'rx_util': 12.761719999999999,
 'tx_bps': 14782001152.0,
 'tx_bps_L1': 19401376512.0,
 'tx_pps': 28871096.0,
 'tx_util': 48.50344128}
19/01/2021 15:20:26                         pktgen: Tx Port 0 stats: 
tx_port: 0,  tx_bps: 14782001152.000000, tx_pps: 28871096.000000 
19/01/2021 15:20:26                         pktgen: {'ibytes': 9632085568,
 'ierrors': 0,
 'ipackets': 150501357,
 'obytes': 37106943488,
 'oerrors': 0,
 'opackets': 579796025,
 'rx_bps': 3889286400.0,
 'rx_bps_L1': 5104687999.999999,
 'rx_pps': 7596260.0,
 'rx_util': 12.761719999999999,
 'tx_bps': 14782001152.0,
 'tx_bps_L1': 19401376512.0,
 'tx_pps': 28871096.0,
 'tx_util': 48.50344128}
19/01/2021 15:20:26                         pktgen: Rx Port 0 stats: 
rx_port: 0,  rx_bps: 3889286400.000000, rx_pps: 7596260.000000
19/01/2021 15:20:26                         pktgen: throughput: pps_rx 7596260.000000, bps_rx 3889286400.000000
19/01/2021 15:20:26                         pktgen: traffic completed. 
19/01/2021 15:20:26                         tester: ls -d /tmp/vhost_cbdma
19/01/2021 15:20:26                         tester: /tmp/vhost_cbdma
19/01/2021 15:20:26                         tester: scp -v /home/lingwei/dts_cbdma/output/tmp/pcap/multiqueuerandomip_1518.pcap root@10.240.183.217:/tmp/vhost_cbdma/multiqueuerandomip_1518.pcap
19/01/2021 15:20:28                         pktgen: test port 0 map gen port 0
19/01/2021 15:20:28                         pktgen: test port 0 map gen port 0
19/01/2021 15:20:28                         pktgen: {'arp': '-',
 'cores': [0, 1, 2, 3],
 'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
 'dest': 'b4:96:91:46:e0:5c',
 'driver': 'net_i40e',
 'fc': 'none',
 'fc_supported': 'no',
 'grat_arp': 'off',
 'hw_mac': '3c:fd:fe:c8:17:d0',
 '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': 1,
 'pci_addr': '0000:82:00.0',
 'prom': 'off',
 'prom_supported': 'yes',
 'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
 'rx_filter_mode': 'hardware match',
 'rx_queue': 'off',
 'speed': 40.0,
 'src_ipv4': '-',
 'src_mac': '3c:fd:fe:c8:17:d0',
 'stack': 'legacy',
 'status': 'IDLE',
 'supp_speeds': [40000],
 'vlan': '-',
 'vxlan_fs': '-'}
19/01/2021 15:20:28                         pktgen: trex port <0> not support flow control
19/01/2021 15:20:28                         pktgen: trex packet generator: run traffic 5s to warm up ... 
19/01/2021 15:20:28                         pktgen: check the trex port link status
19/01/2021 15:20:28                         pktgen: {'arp': '-',
 'cores': [0, 1, 2, 3],
 'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
 'dest': 'b4:96:91:46:e0:5c',
 'driver': 'net_i40e',
 'fc': 'none',
 'fc_supported': 'no',
 'grat_arp': 'off',
 'hw_mac': '3c:fd:fe:c8:17:d0',
 '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': 1,
 'pci_addr': '0000:82:00.0',
 'prom': 'on',
 'prom_supported': 'yes',
 'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
 'rx_filter_mode': 'hardware match',
 'rx_queue': 'off',
 'speed': 40.0,
 'src_ipv4': '-',
 'src_mac': '3c:fd:fe:c8:17:d0',
 'stack': 'legacy',
 'status': 'IDLE',
 'supp_speeds': [40000],
 'vlan': '-',
 'vxlan_fs': '-'}
19/01/2021 15:20:28                         pktgen: begin traffic ......
19/01/2021 15:20:28                         pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
19/01/2021 15:20:33                         pktgen: traffic completed. 
19/01/2021 15:20:33                         pktgen: check the trex port link status
19/01/2021 15:20:33                         pktgen: {'arp': '-',
 'cores': [0, 1, 2, 3],
 'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
 'dest': 'b4:96:91:46:e0:5c',
 'driver': 'net_i40e',
 'fc': 'none',
 'fc_supported': 'no',
 'grat_arp': 'off',
 'hw_mac': '3c:fd:fe:c8:17:d0',
 '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': 1,
 'pci_addr': '0000:82:00.0',
 'prom': 'on',
 'prom_supported': 'yes',
 'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
 'rx_filter_mode': 'hardware match',
 'rx_queue': 'off',
 'speed': 40.0,
 'src_ipv4': '-',
 'src_mac': '3c:fd:fe:c8:17:d0',
 'stack': 'legacy',
 'status': 'IDLE',
 'supp_speeds': [40000],
 'vlan': '-',
 'vxlan_fs': '-'}
19/01/2021 15:20:33                         pktgen: begin traffic ......
19/01/2021 15:20:33                         pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
19/01/2021 15:20:53                         pktgen: begin get port statistic ...
19/01/2021 15:20:53                         pktgen: {'options': {'fields_config': {'ip': {'src': {'action': 'random',
                                              'end': '1.1.1.64',
                                              'start': '1.1.1.1',
                                              'step': 1}}},
             'pcap': '/tmp/vhost_cbdma/multiqueuerandomip_1518.pcap',
             'stream_config': {'rate': 100,
                               'transmit_mode': 'continuous',
                               'txmode': {}}},
 'pcap_file': '/tmp/vhost_cbdma/multiqueuerandomip_1518.pcap',
 'rx_port': 0,
 'tx_port': 0}
19/01/2021 15:20:53                         pktgen: {0: {'ibytes': 83164619736,
     'ierrors': 0,
     'ipackets': 54785655,
     'obytes': 98799048216,
     'oerrors': 0,
     'opackets': 65085014,
     'rx_bps': 33264171008.0,
     'rx_bps_L1': 33702434207.999996,
     'rx_pps': 2739145.0,
     'rx_util': 84.25608551999998,
     'tx_bps': 39494979584.0,
     'tx_bps_L1': 40015335024.0,
     'tx_pps': 3252221.5,
     'tx_util': 100.03833756},
 1: {'ibytes': 0,
     'ierrors': 0,
     'ipackets': 0,
     'obytes': 0,
     'oerrors': 0,
     'opackets': 0,
     'rx_bps': 0.0,
     'rx_bps_L1': 0,
     'rx_pps': 0.0,
     'rx_util': 0.0,
     'tx_bps': 0.0,
     'tx_bps_L1': 0,
     'tx_pps': 0.0,
     'tx_util': 0.0},
 'flow_stats': {},
 'global': {'active_flows': 0.0,
            'active_sockets': 0,
            'bw_per_core': 23.327293395996094,
            'cpu_util': 84.65401458740234,
            'cpu_util_raw': 84.25,
            'open_flows': 0.0,
            'platform_factor': 1.0,
            'queue_full': 56684861,
            'rx_bps': 33264171008.0,
            'rx_core_pps': 0.0,
            'rx_cpu_util': 0.0,
            'rx_drop_bps': 6230808576.0,
            'rx_pps': 2739145.0,
            'socket_util': 0.0,
            'total_alloc_error': 0,
            'total_clients': 0,
            'total_servers': 0,
            'tx_bps': 39494979584.0,
            'tx_cps': 0.0,
            'tx_expected_bps': 0.0,
            'tx_expected_cps': 0.0,
            'tx_expected_pps': 0.0,
            'tx_pps': 3252221.5},
 'latency': {'global': {'bad_hdr': 0, 'old_flow': 0}},
 'total': {'ibytes': 83164619736,
           'ierrors': 0,
           'ipackets': 54785655,
           'obytes': 98799048216,
           'oerrors': 0,
           'opackets': 65085014,
           'rx_bps': 33264171008.0,
           'rx_bps_L1': 33702434207.999996,
           'rx_pps': 2739145.0,
           'rx_util': 84.25608551999998,
           'tx_bps': 39494979584.0,
           'tx_bps_L1': 40015335024.0,
           'tx_pps': 3252221.5,
           'tx_util': 100.03833756}}
19/01/2021 15:20:53                         pktgen: {'ibytes': 83164619736,
 'ierrors': 0,
 'ipackets': 54785655,
 'obytes': 98799048216,
 'oerrors': 0,
 'opackets': 65085014,
 'rx_bps': 33264171008.0,
 'rx_bps_L1': 33702434207.999996,
 'rx_pps': 2739145.0,
 'rx_util': 84.25608551999998,
 'tx_bps': 39494979584.0,
 'tx_bps_L1': 40015335024.0,
 'tx_pps': 3252221.5,
 'tx_util': 100.03833756}
19/01/2021 15:20:53                         pktgen: Tx Port 0 stats: 
tx_port: 0,  tx_bps: 39494979584.000000, tx_pps: 3252221.500000 
19/01/2021 15:20:53                         pktgen: {'ibytes': 83164619736,
 'ierrors': 0,
 'ipackets': 54785655,
 'obytes': 98799048216,
 'oerrors': 0,
 'opackets': 65085014,
 'rx_bps': 33264171008.0,
 'rx_bps_L1': 33702434207.999996,
 'rx_pps': 2739145.0,
 'rx_util': 84.25608551999998,
 'tx_bps': 39494979584.0,
 'tx_bps_L1': 40015335024.0,
 'tx_pps': 3252221.5,
 'tx_util': 100.03833756}
19/01/2021 15:20:53                         pktgen: Rx Port 0 stats: 
rx_port: 0,  rx_bps: 33264171008.000000, rx_pps: 2739145.000000
19/01/2021 15:20:53                         pktgen: throughput: pps_rx 2739145.000000, bps_rx 33264171008.000000
19/01/2021 15:20:53                         pktgen: traffic completed. 
19/01/2021 15:20:54           TestVirTioVhostCbdma: 
+-------+-----------------------------------------------+-------+------------+
| Frame |                 Mode/RXD-TXD                  | Mpps  | % linerate |
+=======+===============================================+=======+============+
| 64    | dynamic_queue2                                | 7.614 | 12.791     |
+-------+-----------------------------------------------+-------+------------+
| 1518  | dynamic_queue2                                | 2.760 | 84.900     |
+-------+-----------------------------------------------+-------+------------+
| 64    | virtio_user_dynamic_queue2_change_to_1        | 6.562 | 11.024     |
+-------+-----------------------------------------------+-------+------------+
| 1518  | virtio_user_dynamic_queue2_change_to_1        | 1.629 | 50.121     |
+-------+-----------------------------------------------+-------+------------+
| 64    | Relaunch_dynamic_queue2                       | 7.641 | 12.836     |
+-------+-----------------------------------------------+-------+------------+
| 1518  | Relaunch_dynamic_queue2                       | 2.701 | 83.081     |
+-------+-----------------------------------------------+-------+------------+
| 64    | vhost_userRelaunch_dynamic_queue2_change_to_1 | 8.138 | 13.672     |
+-------+-----------------------------------------------+-------+------------+
| 1518  | vhost_userRelaunch_dynamic_queue2_change_to_1 | 3.023 | 92.995     |
+-------+-----------------------------------------------+-------+------------+
| 64    | Relaunch_vhost_2_cbdma                        | 7.596 | 12.762     |
+-------+-----------------------------------------------+-------+------------+
| 1518  | Relaunch_vhost_2_cbdma                        | 2.739 | 84.256     |
+-------+-----------------------------------------------+-------+------------+
19/01/2021 15:20:54           TestVirTioVhostCbdma: 
+-------+-----------------------------------------------+------------+------------+---------+---------------------+-----------------------+
| Frame |                 Mode/RXD-TXD                  |    Mpps    | % linerate | nb_desc | Expected Throughput | Throughput Difference |
+=======+===============================================+============+============+=========+=====================+=======================+
| 64    | dynamic_queue2                                | 7.614 Mpps | 12.791%    | 1024    | 0.000 Mpps          | 7.614 Mpps            |
+-------+-----------------------------------------------+------------+------------+---------+---------------------+-----------------------+
| 1518  | dynamic_queue2                                | 2.760 Mpps | 84.900%    | 1024    | 0.000 Mpps          | 2.760 Mpps            |
+-------+-----------------------------------------------+------------+------------+---------+---------------------+-----------------------+
| 64    | virtio_user_dynamic_queue2_change_to_1        | 6.562 Mpps | 11.024%    | 1024    | 0.000 Mpps          | 6.562 Mpps            |
+-------+-----------------------------------------------+------------+------------+---------+---------------------+-----------------------+
| 1518  | virtio_user_dynamic_queue2_change_to_1        | 1.629 Mpps | 50.121%    | 1024    | 0.000 Mpps          | 1.629 Mpps            |
+-------+-----------------------------------------------+------------+------------+---------+---------------------+-----------------------+
| 64    | Relaunch_dynamic_queue2                       | 7.641 Mpps | 12.836%    | 1024    | 0.000 Mpps          | 7.641 Mpps            |
+-------+-----------------------------------------------+------------+------------+---------+---------------------+-----------------------+
| 1518  | Relaunch_dynamic_queue2                       | 2.701 Mpps | 83.081%    | 1024    | 0.000 Mpps          | 2.701 Mpps            |
+-------+-----------------------------------------------+------------+------------+---------+---------------------+-----------------------+
| 64    | vhost_userRelaunch_dynamic_queue2_change_to_1 | 8.138 Mpps | 13.672%    | 1024    | 0.000 Mpps          | 8.138 Mpps            |
+-------+-----------------------------------------------+------------+------------+---------+---------------------+-----------------------+
| 1518  | vhost_userRelaunch_dynamic_queue2_change_to_1 | 3.023 Mpps | 92.995%    | 1024    | 0.000 Mpps          | 3.023 Mpps            |
+-------+-----------------------------------------------+------------+------------+---------+---------------------+-----------------------+
| 64    | Relaunch_vhost_2_cbdma                        | 7.596 Mpps | 12.762%    | 1024    | 0.000 Mpps          | 7.596 Mpps            |
+-------+-----------------------------------------------+------------+------------+---------+---------------------+-----------------------+
| 1518  | Relaunch_vhost_2_cbdma                        | 2.739 Mpps | 84.256%    | 1024    | 0.000 Mpps          | 2.739 Mpps            |
+-------+-----------------------------------------------+------------+------------+---------+---------------------+-----------------------+
19/01/2021 15:20:54           TestVirTioVhostCbdma: Accept tolerance are (Mpps) -0.000000
19/01/2021 15:20:54           TestVirTioVhostCbdma: Throughput Difference are (Mpps) 7.614000
19/01/2021 15:20:54           TestVirTioVhostCbdma: Accept tolerance are (Mpps) -0.000000
19/01/2021 15:20:54           TestVirTioVhostCbdma: Throughput Difference are (Mpps) 2.760000
19/01/2021 15:20:54           TestVirTioVhostCbdma: Accept tolerance are (Mpps) -0.000000
19/01/2021 15:20:54           TestVirTioVhostCbdma: Throughput Difference are (Mpps) 6.562000
19/01/2021 15:20:54           TestVirTioVhostCbdma: Accept tolerance are (Mpps) -0.000000
19/01/2021 15:20:54           TestVirTioVhostCbdma: Throughput Difference are (Mpps) 1.629000
19/01/2021 15:20:54           TestVirTioVhostCbdma: Accept tolerance are (Mpps) -0.000000
19/01/2021 15:20:54           TestVirTioVhostCbdma: Throughput Difference are (Mpps) 7.641000
19/01/2021 15:20:54           TestVirTioVhostCbdma: Accept tolerance are (Mpps) -0.000000
19/01/2021 15:20:54           TestVirTioVhostCbdma: Throughput Difference are (Mpps) 2.701000
19/01/2021 15:20:54           TestVirTioVhostCbdma: Accept tolerance are (Mpps) -0.000000
19/01/2021 15:20:54           TestVirTioVhostCbdma: Throughput Difference are (Mpps) 8.138000
19/01/2021 15:20:54           TestVirTioVhostCbdma: Accept tolerance are (Mpps) -0.000000
19/01/2021 15:20:54           TestVirTioVhostCbdma: Throughput Difference are (Mpps) 3.023000
19/01/2021 15:20:54           TestVirTioVhostCbdma: Accept tolerance are (Mpps) -0.000000
19/01/2021 15:20:54           TestVirTioVhostCbdma: Throughput Difference are (Mpps) 7.596000
19/01/2021 15:20:54           TestVirTioVhostCbdma: Accept tolerance are (Mpps) -0.000000
19/01/2021 15:20:54           TestVirTioVhostCbdma: Throughput Difference are (Mpps) 2.739000
19/01/2021 15:20:54           TestVirTioVhostCbdma: Test Case test_perf_dynamic_queue_number_cbdma_vhost_enqueue_operations Result PASSED:
19/01/2021 15:20:54             dut.10.240.183.220: killall -I dpdk-testpmd 
19/01/2021 15:20:54             dut.10.240.183.220: dpdk-testpmd: no process found
19/01/2021 15:20:54             dut.10.240.183.220: modprobe ioatdma
19/01/2021 15:20:55             dut.10.240.183.220: 
19/01/2021 15:20:55             dut.10.240.183.220: ./usertools/dpdk-devbind.py -u 0000:80:04.0 0000:80:04.1 0000:80:04.2 0000:80:04.3
19/01/2021 15:20:55             dut.10.240.183.220: 
19/01/2021 15:20:55             dut.10.240.183.220: ./usertools/dpdk-devbind.py --force --bind=ioatdma  0000:80:04.0 0000:80:04.1 0000:80:04.2 0000:80:04.3
19/01/2021 15:20:55             dut.10.240.183.220: 
19/01/2021 15:20:57           TestVirTioVhostCbdma: Test Case test_perf_pvp_spilt_all_path_with_cbdma_vhost_enqueue_operations Begin
19/01/2021 15:20:57             dut.10.240.183.220: 
19/01/2021 15:20:57                         tester: 
19/01/2021 15:20:57             dut.10.240.183.220: killall -I dpdk-testpmd 
19/01/2021 15:20:58             dut.10.240.183.220: dpdk-testpmd: no process found
19/01/2021 15:20:58             dut.10.240.183.220: rm -rf /root/dpdk/vhost-net*
19/01/2021 15:20:58             dut.10.240.183.220: 
19/01/2021 15:20:58             dut.10.240.183.220: rm -rf /tmp/s0
19/01/2021 15:20:58             dut.10.240.183.220: 
19/01/2021 15:20:58             dut.10.240.183.220: ./usertools/dpdk-devbind.py --status-dev misc
19/01/2021 15:20:58             dut.10.240.183.220: 
Misc (rawdev) devices using kernel driver
=========================================
0000:00:04.0 'Sky Lake-E CBDMA Registers 2021' drv=ioatdma unused=igb_uio,vfio-pci 
0000:00:04.1 'Sky Lake-E CBDMA Registers 2021' drv=ioatdma unused=igb_uio,vfio-pci 
0000:00:04.2 'Sky Lake-E CBDMA Registers 2021' drv=ioatdma unused=igb_uio,vfio-pci 
0000:00:04.3 'Sky Lake-E CBDMA Registers 2021' drv=ioatdma unused=igb_uio,vfio-pci 
0000:00:04.4 'Sky Lake-E CBDMA Registers 2021' drv=ioatdma unused=igb_uio,vfio-pci 
0000:00:04.5 'Sky Lake-E CBDMA Registers 2021' drv=ioatdma unused=igb_uio,vfio-pci 
0000:00:04.6 'Sky Lake-E CBDMA Registers 2021' drv=ioatdma unused=igb_uio,vfio-pci 
0000:00:04.7 'Sky Lake-E CBDMA Registers 2021' drv=ioatdma unused=igb_uio,vfio-pci 
0000:80:04.0 'Sky Lake-E CBDMA Registers 2021' drv=ioatdma unused=igb_uio,vfio-pci 
0000:80:04.1 'Sky Lake-E CBDMA Registers 2021' drv=ioatdma unused=igb_uio,vfio-pci 
0000:80:04.2 'Sky Lake-E CBDMA Registers 2021' drv=ioatdma unused=igb_uio,vfio-pci 
0000:80:04.3 'Sky Lake-E CBDMA Registers 2021' drv=ioatdma unused=igb_uio,vfio-pci 
0000:80:04.4 'Sky Lake-E CBDMA Registers 2021' drv=ioatdma unused=igb_uio,vfio-pci 
0000:80:04.5 'Sky Lake-E CBDMA Registers 2021' drv=ioatdma unused=igb_uio,vfio-pci 
0000:80:04.6 'Sky Lake-E CBDMA Registers 2021' drv=ioatdma unused=igb_uio,vfio-pci 
0000:80:04.7 'Sky Lake-E CBDMA Registers 2021' drv=ioatdma unused=igb_uio,vfio-pci 
19/01/2021 15:20:58             dut.10.240.183.220: modprobe uio
19/01/2021 15:20:58             dut.10.240.183.220: 
19/01/2021 15:20:58             dut.10.240.183.220: lsmod | grep igb_uio
19/01/2021 15:20:58             dut.10.240.183.220: igb_uio                20480  0
uio                    20480  1 igb_uio
19/01/2021 15:20:58             dut.10.240.183.220: rmmod -f igb_uio
19/01/2021 15:20:58             dut.10.240.183.220: 
19/01/2021 15:20:58             dut.10.240.183.220: insmod ./x86_64-native-linuxapp-gcc/kmod/igb_uio.ko
19/01/2021 15:20:58             dut.10.240.183.220: 
19/01/2021 15:20:58             dut.10.240.183.220: lsmod | grep igb_uio
19/01/2021 15:20:58             dut.10.240.183.220: igb_uio                20480  0
uio                    20480  1 igb_uio
19/01/2021 15:20:58             dut.10.240.183.220: ./usertools/dpdk-devbind.py --force --bind=igb_uio 0000:80:04.0 0000:af:00.0
19/01/2021 15:21:01             dut.10.240.183.220: 
19/01/2021 15:21:12             dut.10.240.183.220: cat /proc/meminfo |grep Hugepagesize|awk '{print($2)}'
19/01/2021 15:21:12             dut.10.240.183.220: 1048576
19/01/2021 15:21:23                         tester: ls -d /tmp/vhost_cbdma
19/01/2021 15:21:23                         tester: /tmp/vhost_cbdma
19/01/2021 15:21:23                         tester: scp -v /home/lingwei/dts_cbdma/output/tmp/pcap/multiqueuerandomip_64.pcap root@10.240.183.217:/tmp/vhost_cbdma/multiqueuerandomip_64.pcap
19/01/2021 15:21:25                         pktgen: test port 0 map gen port 0
19/01/2021 15:21:25                         pktgen: test port 0 map gen port 0
19/01/2021 15:21:25                         pktgen: {'arp': '-',
 'cores': [0, 1, 2, 3],
 'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
 'dest': 'b4:96:91:46:e0:5c',
 'driver': 'net_i40e',
 'fc': 'none',
 'fc_supported': 'no',
 'grat_arp': 'off',
 'hw_mac': '3c:fd:fe:c8:17:d0',
 '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': 1,
 'pci_addr': '0000:82:00.0',
 'prom': 'off',
 'prom_supported': 'yes',
 'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
 'rx_filter_mode': 'hardware match',
 'rx_queue': 'off',
 'speed': 40.0,
 'src_ipv4': '-',
 'src_mac': '3c:fd:fe:c8:17:d0',
 'stack': 'legacy',
 'status': 'IDLE',
 'supp_speeds': [40000],
 'vlan': '-',
 'vxlan_fs': '-'}
19/01/2021 15:21:25                         pktgen: trex port <0> not support flow control
19/01/2021 15:21:25                         pktgen: trex packet generator: run traffic 5s to warm up ... 
19/01/2021 15:21:25                         pktgen: check the trex port link status
19/01/2021 15:21:25                         pktgen: {'arp': '-',
 'cores': [0, 1, 2, 3],
 'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
 'dest': 'b4:96:91:46:e0:5c',
 'driver': 'net_i40e',
 'fc': 'none',
 'fc_supported': 'no',
 'grat_arp': 'off',
 'hw_mac': '3c:fd:fe:c8:17:d0',
 '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': 1,
 'pci_addr': '0000:82:00.0',
 'prom': 'on',
 'prom_supported': 'yes',
 'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
 'rx_filter_mode': 'hardware match',
 'rx_queue': 'off',
 'speed': 40.0,
 'src_ipv4': '-',
 'src_mac': '3c:fd:fe:c8:17:d0',
 'stack': 'legacy',
 'status': 'IDLE',
 'supp_speeds': [40000],
 'vlan': '-',
 'vxlan_fs': '-'}
19/01/2021 15:21:25                         pktgen: begin traffic ......
19/01/2021 15:21:25                         pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
19/01/2021 15:21:30                         pktgen: traffic completed. 
19/01/2021 15:21:30                         pktgen: check the trex port link status
19/01/2021 15:21:30                         pktgen: {'arp': '-',
 'cores': [0, 1, 2, 3],
 'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
 'dest': 'b4:96:91:46:e0:5c',
 'driver': 'net_i40e',
 'fc': 'none',
 'fc_supported': 'no',
 'grat_arp': 'off',
 'hw_mac': '3c:fd:fe:c8:17:d0',
 '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': 1,
 'pci_addr': '0000:82:00.0',
 'prom': 'on',
 'prom_supported': 'yes',
 'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
 'rx_filter_mode': 'hardware match',
 'rx_queue': 'off',
 'speed': 40.0,
 'src_ipv4': '-',
 'src_mac': '3c:fd:fe:c8:17:d0',
 'stack': 'legacy',
 'status': 'IDLE',
 'supp_speeds': [40000],
 'vlan': '-',
 'vxlan_fs': '-'}
19/01/2021 15:21:30                         pktgen: begin traffic ......
19/01/2021 15:21:30                         pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
19/01/2021 15:21:50                         pktgen: begin get port statistic ...
19/01/2021 15:21:50                         pktgen: {'options': {'fields_config': {'ip': {'src': {'action': 'random',
                                              'end': '1.1.1.64',
                                              'start': '1.1.1.1',
                                              'step': 1}}},
             'pcap': '/tmp/vhost_cbdma/multiqueuerandomip_64.pcap',
             'stream_config': {'rate': 100,
                               'transmit_mode': 'continuous',
                               'txmode': {}}},
 'pcap_file': '/tmp/vhost_cbdma/multiqueuerandomip_64.pcap',
 'rx_port': 0,
 'tx_port': 0}
19/01/2021 15:21:50                         pktgen: {0: {'ibytes': 9807813248,
     'ierrors': 0,
     'ipackets': 153247092,
     'obytes': 37114701504,
     'oerrors': 0,
     'opackets': 579917235,
     'rx_bps': 3913593088.0,
     'rx_bps_L1': 5136590048.0,
     'rx_pps': 7643731.0,
     'rx_util': 12.841475120000002,
     'tx_bps': 14725251072.0,
     'tx_bps_L1': 19326892032.0,
     'tx_pps': 28760256.0,
     'tx_util': 48.31723008},
 1: {'ibytes': 0,
     'ierrors': 0,
     'ipackets': 0,
     'obytes': 0,
     'oerrors': 0,
     'opackets': 0,
     'rx_bps': 0.0,
     'rx_bps_L1': 0,
     'rx_pps': 0.0,
     'rx_util': 0.0,
     'tx_bps': 0.0,
     'tx_bps_L1': 0,
     'tx_pps': 0.0,
     'tx_util': 0.0},
 'flow_stats': {},
 'global': {'active_flows': 0.0,
            'active_sockets': 0,
            'bw_per_core': 7.369324684143066,
            'cpu_util': 99.90909576416016,
            'cpu_util_raw': 100.0,
            'open_flows': 0.0,
            'platform_factor': 1.0,
            'queue_full': 0,
            'rx_bps': 3913593088.0,
            'rx_core_pps': 0.0,
            'rx_cpu_util': 0.0,
            'rx_drop_bps': 10811658240.0,
            'rx_pps': 7643731.0,
            'socket_util': 0.0,
            'total_alloc_error': 0,
            'total_clients': 0,
            'total_servers': 0,
            'tx_bps': 14725251072.0,
            'tx_cps': 0.0,
            'tx_expected_bps': 0.0,
            'tx_expected_cps': 0.0,
            'tx_expected_pps': 0.0,
            'tx_pps': 28760256.0},
 'latency': {'global': {'bad_hdr': 0, 'old_flow': 0}},
 'total': {'ibytes': 9807813248,
           'ierrors': 0,
           'ipackets': 153247092,
           'obytes': 37114701504,
           'oerrors': 0,
           'opackets': 579917235,
           'rx_bps': 3913593088.0,
           'rx_bps_L1': 5136590048.0,
           'rx_pps': 7643731.0,
           'rx_util': 12.841475120000002,
           'tx_bps': 14725251072.0,
           'tx_bps_L1': 19326892032.0,
           'tx_pps': 28760256.0,
           'tx_util': 48.31723008}}
19/01/2021 15:21:50                         pktgen: {'ibytes': 9807813248,
 'ierrors': 0,
 'ipackets': 153247092,
 'obytes': 37114701504,
 'oerrors': 0,
 'opackets': 579917235,
 'rx_bps': 3913593088.0,
 'rx_bps_L1': 5136590048.0,
 'rx_pps': 7643731.0,
 'rx_util': 12.841475120000002,
 'tx_bps': 14725251072.0,
 'tx_bps_L1': 19326892032.0,
 'tx_pps': 28760256.0,
 'tx_util': 48.31723008}
19/01/2021 15:21:50                         pktgen: Tx Port 0 stats: 
tx_port: 0,  tx_bps: 14725251072.000000, tx_pps: 28760256.000000 
19/01/2021 15:21:50                         pktgen: {'ibytes': 9807813248,
 'ierrors': 0,
 'ipackets': 153247092,
 'obytes': 37114701504,
 'oerrors': 0,
 'opackets': 579917235,
 'rx_bps': 3913593088.0,
 'rx_bps_L1': 5136590048.0,
 'rx_pps': 7643731.0,
 'rx_util': 12.841475120000002,
 'tx_bps': 14725251072.0,
 'tx_bps_L1': 19326892032.0,
 'tx_pps': 28760256.0,
 'tx_util': 48.31723008}
19/01/2021 15:21:50                         pktgen: Rx Port 0 stats: 
rx_port: 0,  rx_bps: 3913593088.000000, rx_pps: 7643731.000000
19/01/2021 15:21:50                         pktgen: throughput: pps_rx 7643731.000000, bps_rx 3913593088.000000
19/01/2021 15:21:50                         pktgen: traffic completed. 
19/01/2021 15:21:50                         tester: ls -d /tmp/vhost_cbdma
19/01/2021 15:21:50                         tester: /tmp/vhost_cbdma
19/01/2021 15:21:50                         tester: scp -v /home/lingwei/dts_cbdma/output/tmp/pcap/multiqueuerandomip_1518.pcap root@10.240.183.217:/tmp/vhost_cbdma/multiqueuerandomip_1518.pcap
19/01/2021 15:21:52                         pktgen: test port 0 map gen port 0
19/01/2021 15:21:52                         pktgen: test port 0 map gen port 0
19/01/2021 15:21:52                         pktgen: {'arp': '-',
 'cores': [0, 1, 2, 3],
 'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
 'dest': 'b4:96:91:46:e0:5c',
 'driver': 'net_i40e',
 'fc': 'none',
 'fc_supported': 'no',
 'grat_arp': 'off',
 'hw_mac': '3c:fd:fe:c8:17:d0',
 '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': 1,
 'pci_addr': '0000:82:00.0',
 'prom': 'off',
 'prom_supported': 'yes',
 'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
 'rx_filter_mode': 'hardware match',
 'rx_queue': 'off',
 'speed': 40.0,
 'src_ipv4': '-',
 'src_mac': '3c:fd:fe:c8:17:d0',
 'stack': 'legacy',
 'status': 'IDLE',
 'supp_speeds': [40000],
 'vlan': '-',
 'vxlan_fs': '-'}
19/01/2021 15:21:52                         pktgen: trex port <0> not support flow control
19/01/2021 15:21:52                         pktgen: trex packet generator: run traffic 5s to warm up ... 
19/01/2021 15:21:52                         pktgen: check the trex port link status
19/01/2021 15:21:52                         pktgen: {'arp': '-',
 'cores': [0, 1, 2, 3],
 'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
 'dest': 'b4:96:91:46:e0:5c',
 'driver': 'net_i40e',
 'fc': 'none',
 'fc_supported': 'no',
 'grat_arp': 'off',
 'hw_mac': '3c:fd:fe:c8:17:d0',
 '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': 1,
 'pci_addr': '0000:82:00.0',
 'prom': 'on',
 'prom_supported': 'yes',
 'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
 'rx_filter_mode': 'hardware match',
 'rx_queue': 'off',
 'speed': 40.0,
 'src_ipv4': '-',
 'src_mac': '3c:fd:fe:c8:17:d0',
 'stack': 'legacy',
 'status': 'IDLE',
 'supp_speeds': [40000],
 'vlan': '-',
 'vxlan_fs': '-'}
19/01/2021 15:21:52                         pktgen: begin traffic ......
19/01/2021 15:21:52                         pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
19/01/2021 15:21:57                         pktgen: traffic completed. 
19/01/2021 15:21:57                         pktgen: check the trex port link status
19/01/2021 15:21:57                         pktgen: {'arp': '-',
 'cores': [0, 1, 2, 3],
 'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
 'dest': 'b4:96:91:46:e0:5c',
 'driver': 'net_i40e',
 'fc': 'none',
 'fc_supported': 'no',
 'grat_arp': 'off',
 'hw_mac': '3c:fd:fe:c8:17:d0',
 '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': 1,
 'pci_addr': '0000:82:00.0',
 'prom': 'on',
 'prom_supported': 'yes',
 'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
 'rx_filter_mode': 'hardware match',
 'rx_queue': 'off',
 'speed': 40.0,
 'src_ipv4': '-',
 'src_mac': '3c:fd:fe:c8:17:d0',
 'stack': 'legacy',
 'status': 'IDLE',
 'supp_speeds': [40000],
 'vlan': '-',
 'vxlan_fs': '-'}
19/01/2021 15:21:57                         pktgen: begin traffic ......
19/01/2021 15:21:57                         pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
19/01/2021 15:22:17                         pktgen: begin get port statistic ...
19/01/2021 15:22:17                         pktgen: {'options': {'fields_config': {'ip': {'src': {'action': 'random',
                                              'end': '1.1.1.64',
                                              'start': '1.1.1.1',
                                              'step': 1}}},
             'pcap': '/tmp/vhost_cbdma/multiqueuerandomip_1518.pcap',
             'stream_config': {'rate': 100,
                               'transmit_mode': 'continuous',
                               'txmode': {}}},
 'pcap_file': '/tmp/vhost_cbdma/multiqueuerandomip_1518.pcap',
 'rx_port': 0,
 'tx_port': 0}
19/01/2021 15:22:17                         pktgen: {0: {'ibytes': 98798398512,
     'ierrors': 0,
     'ipackets': 65084587,
     'obytes': 98798393958,
     'oerrors': 0,
     'opackets': 65084585,
     'rx_bps': 39528144896.0,
     'rx_bps_L1': 40048937296.0,
     'rx_pps': 3254952.5,
     'rx_util': 100.12234324,
     'tx_bps': 39528153088.0,
     'tx_bps_L1': 40048945808.0,
     'tx_pps': 3254954.5,
     'tx_util': 100.12236452},
 1: {'ibytes': 0,
     'ierrors': 0,
     'ipackets': 0,
     'obytes': 0,
     'oerrors': 0,
     'opackets': 0,
     'rx_bps': 0.0,
     'rx_bps_L1': 0,
     'rx_pps': 0.0,
     'rx_util': 0.0,
     'tx_bps': 0.0,
     'tx_bps_L1': 0,
     'tx_pps': 0.0,
     'tx_util': 0.0},
 'flow_stats': {},
 'global': {'active_flows': 0.0,
            'active_sockets': 0,
            'bw_per_core': 23.217620849609375,
            'cpu_util': 85.12532806396484,
            'cpu_util_raw': 84.0,
            'open_flows': 0.0,
            'platform_factor': 1.0,
            'queue_full': 56718991,
            'rx_bps': 39528144896.0,
            'rx_core_pps': 0.0,
            'rx_cpu_util': 0.0,
            'rx_drop_bps': 0.0,
            'rx_pps': 3254952.5,
            'socket_util': 0.0,
            'total_alloc_error': 0,
            'total_clients': 0,
            'total_servers': 0,
            'tx_bps': 39528153088.0,
            'tx_cps': 0.0,
            'tx_expected_bps': 0.0,
            'tx_expected_cps': 0.0,
            'tx_expected_pps': 0.0,
            'tx_pps': 3254954.5},
 'latency': {'global': {'bad_hdr': 0, 'old_flow': 0}},
 'total': {'ibytes': 98798398512,
           'ierrors': 0,
           'ipackets': 65084587,
           'obytes': 98798393958,
           'oerrors': 0,
           'opackets': 65084585,
           'rx_bps': 39528144896.0,
           'rx_bps_L1': 40048937296.0,
           'rx_pps': 3254952.5,
           'rx_util': 100.12234324,
           'tx_bps': 39528153088.0,
           'tx_bps_L1': 40048945808.0,
           'tx_pps': 3254954.5,
           'tx_util': 100.12236452}}
19/01/2021 15:22:17                         pktgen: {'ibytes': 98798398512,
 'ierrors': 0,
 'ipackets': 65084587,
 'obytes': 98798393958,
 'oerrors': 0,
 'opackets': 65084585,
 'rx_bps': 39528144896.0,
 'rx_bps_L1': 40048937296.0,
 'rx_pps': 3254952.5,
 'rx_util': 100.12234324,
 'tx_bps': 39528153088.0,
 'tx_bps_L1': 40048945808.0,
 'tx_pps': 3254954.5,
 'tx_util': 100.12236452}
19/01/2021 15:22:17                         pktgen: Tx Port 0 stats: 
tx_port: 0,  tx_bps: 39528153088.000000, tx_pps: 3254954.500000 
19/01/2021 15:22:17                         pktgen: {'ibytes': 98798398512,
 'ierrors': 0,
 'ipackets': 65084587,
 'obytes': 98798393958,
 'oerrors': 0,
 'opackets': 65084585,
 'rx_bps': 39528144896.0,
 'rx_bps_L1': 40048937296.0,
 'rx_pps': 3254952.5,
 'rx_util': 100.12234324,
 'tx_bps': 39528153088.0,
 'tx_bps_L1': 40048945808.0,
 'tx_pps': 3254954.5,
 'tx_util': 100.12236452}
19/01/2021 15:22:17                         pktgen: Rx Port 0 stats: 
rx_port: 0,  rx_bps: 39528144896.000000, rx_pps: 3254952.500000
19/01/2021 15:22:17                         pktgen: throughput: pps_rx 3254952.500000, bps_rx 39528144896.000000
19/01/2021 15:22:17                         pktgen: traffic completed. 
19/01/2021 15:22:18                         tester: ls -d /tmp/vhost_cbdma
19/01/2021 15:22:18                         tester: /tmp/vhost_cbdma
19/01/2021 15:22:18                         tester: scp -v /home/lingwei/dts_cbdma/output/tmp/pcap/multiqueuerandomip_64.pcap root@10.240.183.217:/tmp/vhost_cbdma/multiqueuerandomip_64.pcap
19/01/2021 15:22:20                         pktgen: test port 0 map gen port 0
19/01/2021 15:22:20                         pktgen: test port 0 map gen port 0
19/01/2021 15:22:20                         pktgen: {'arp': '-',
 'cores': [0, 1, 2, 3],
 'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
 'dest': 'b4:96:91:46:e0:5c',
 'driver': 'net_i40e',
 'fc': 'none',
 'fc_supported': 'no',
 'grat_arp': 'off',
 'hw_mac': '3c:fd:fe:c8:17:d0',
 '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': 1,
 'pci_addr': '0000:82:00.0',
 'prom': 'off',
 'prom_supported': 'yes',
 'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
 'rx_filter_mode': 'hardware match',
 'rx_queue': 'off',
 'speed': 40.0,
 'src_ipv4': '-',
 'src_mac': '3c:fd:fe:c8:17:d0',
 'stack': 'legacy',
 'status': 'IDLE',
 'supp_speeds': [40000],
 'vlan': '-',
 'vxlan_fs': '-'}
19/01/2021 15:22:20                         pktgen: trex port <0> not support flow control
19/01/2021 15:22:20                         pktgen: trex packet generator: run traffic 5s to warm up ... 
19/01/2021 15:22:20                         pktgen: check the trex port link status
19/01/2021 15:22:20                         pktgen: {'arp': '-',
 'cores': [0, 1, 2, 3],
 'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
 'dest': 'b4:96:91:46:e0:5c',
 'driver': 'net_i40e',
 'fc': 'none',
 'fc_supported': 'no',
 'grat_arp': 'off',
 'hw_mac': '3c:fd:fe:c8:17:d0',
 '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': 1,
 'pci_addr': '0000:82:00.0',
 'prom': 'on',
 'prom_supported': 'yes',
 'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
 'rx_filter_mode': 'hardware match',
 'rx_queue': 'off',
 'speed': 40.0,
 'src_ipv4': '-',
 'src_mac': '3c:fd:fe:c8:17:d0',
 'stack': 'legacy',
 'status': 'IDLE',
 'supp_speeds': [40000],
 'vlan': '-',
 'vxlan_fs': '-'}
19/01/2021 15:22:20                         pktgen: begin traffic ......
19/01/2021 15:22:20                         pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
19/01/2021 15:22:25                         pktgen: traffic completed. 
19/01/2021 15:22:25                         pktgen: check the trex port link status
19/01/2021 15:22:25                         pktgen: {'arp': '-',
 'cores': [0, 1, 2, 3],
 'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
 'dest': 'b4:96:91:46:e0:5c',
 'driver': 'net_i40e',
 'fc': 'none',
 'fc_supported': 'no',
 'grat_arp': 'off',
 'hw_mac': '3c:fd:fe:c8:17:d0',
 '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': 1,
 'pci_addr': '0000:82:00.0',
 'prom': 'on',
 'prom_supported': 'yes',
 'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
 'rx_filter_mode': 'hardware match',
 'rx_queue': 'off',
 'speed': 40.0,
 'src_ipv4': '-',
 'src_mac': '3c:fd:fe:c8:17:d0',
 'stack': 'legacy',
 'status': 'IDLE',
 'supp_speeds': [40000],
 'vlan': '-',
 'vxlan_fs': '-'}
19/01/2021 15:22:25                         pktgen: begin traffic ......
19/01/2021 15:22:25                         pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
19/01/2021 15:22:45                         pktgen: begin get port statistic ...
19/01/2021 15:22:45                         pktgen: {'options': {'fields_config': {'ip': {'src': {'action': 'random',
                                              'end': '1.1.1.64',
                                              'start': '1.1.1.1',
                                              'step': 1}}},
             'pcap': '/tmp/vhost_cbdma/multiqueuerandomip_64.pcap',
             'stream_config': {'rate': 100,
                               'transmit_mode': 'continuous',
                               'txmode': {}}},
 'pcap_file': '/tmp/vhost_cbdma/multiqueuerandomip_64.pcap',
 'rx_port': 0,
 'tx_port': 0}
19/01/2021 15:22:45                         pktgen: {0: {'ibytes': 9922983744,
     'ierrors': 0,
     'ipackets': 155046621,
     'obytes': 37205225728,
     'oerrors': 0,
     'opackets': 581331683,
     'rx_bps': 3963131136.0,
     'rx_bps_L1': 5201609376.0,
     'rx_pps': 7740489.0,
     'rx_util': 13.004023440000001,
     'tx_bps': 14710647808.0,
     'tx_bps_L1': 19307724288.0,
     'tx_pps': 28731728.0,
     'tx_util': 48.26931072},
 1: {'ibytes': 0,
     'ierrors': 0,
     'ipackets': 0,
     'obytes': 0,
     'oerrors': 0,
     'opackets': 0,
     'rx_bps': 0.0,
     'rx_bps_L1': 0,
     'rx_pps': 0.0,
     'rx_util': 0.0,
     'tx_bps': 0.0,
     'tx_bps_L1': 0,
     'tx_pps': 0.0,
     'tx_util': 0.0},
 'flow_stats': {},
 'global': {'active_flows': 0.0,
            'active_sockets': 0,
            'bw_per_core': 7.35942268371582,
            'cpu_util': 99.94430541992188,
            'cpu_util_raw': 100.0,
            'open_flows': 0.0,
            'platform_factor': 1.0,
            'queue_full': 0,
            'rx_bps': 3963131136.0,
            'rx_core_pps': 0.0,
            'rx_cpu_util': 0.0,
            'rx_drop_bps': 10747516928.0,
            'rx_pps': 7740489.0,
            'socket_util': 0.0,
            'total_alloc_error': 0,
            'total_clients': 0,
            'total_servers': 0,
            'tx_bps': 14710647808.0,
            'tx_cps': 0.0,
            'tx_expected_bps': 0.0,
            'tx_expected_cps': 0.0,
            'tx_expected_pps': 0.0,
            'tx_pps': 28731728.0},
 'latency': {'global': {'bad_hdr': 0, 'old_flow': 0}},
 'total': {'ibytes': 9922983744,
           'ierrors': 0,
           'ipackets': 155046621,
           'obytes': 37205225728,
           'oerrors': 0,
           'opackets': 581331683,
           'rx_bps': 3963131136.0,
           'rx_bps_L1': 5201609376.0,
           'rx_pps': 7740489.0,
           'rx_util': 13.004023440000001,
           'tx_bps': 14710647808.0,
           'tx_bps_L1': 19307724288.0,
           'tx_pps': 28731728.0,
           'tx_util': 48.26931072}}
19/01/2021 15:22:45                         pktgen: {'ibytes': 9922983744,
 'ierrors': 0,
 'ipackets': 155046621,
 'obytes': 37205225728,
 'oerrors': 0,
 'opackets': 581331683,
 'rx_bps': 3963131136.0,
 'rx_bps_L1': 5201609376.0,
 'rx_pps': 7740489.0,
 'rx_util': 13.004023440000001,
 'tx_bps': 14710647808.0,
 'tx_bps_L1': 19307724288.0,
 'tx_pps': 28731728.0,
 'tx_util': 48.26931072}
19/01/2021 15:22:45                         pktgen: Tx Port 0 stats: 
tx_port: 0,  tx_bps: 14710647808.000000, tx_pps: 28731728.000000 
19/01/2021 15:22:45                         pktgen: {'ibytes': 9922983744,
 'ierrors': 0,
 'ipackets': 155046621,
 'obytes': 37205225728,
 'oerrors': 0,
 'opackets': 581331683,
 'rx_bps': 3963131136.0,
 'rx_bps_L1': 5201609376.0,
 'rx_pps': 7740489.0,
 'rx_util': 13.004023440000001,
 'tx_bps': 14710647808.0,
 'tx_bps_L1': 19307724288.0,
 'tx_pps': 28731728.0,
 'tx_util': 48.26931072}
19/01/2021 15:22:45                         pktgen: Rx Port 0 stats: 
rx_port: 0,  rx_bps: 3963131136.000000, rx_pps: 7740489.000000
19/01/2021 15:22:45                         pktgen: throughput: pps_rx 7740489.000000, bps_rx 3963131136.000000
19/01/2021 15:22:45                         pktgen: traffic completed. 
19/01/2021 15:22:45                         tester: ls -d /tmp/vhost_cbdma
19/01/2021 15:22:45                         tester: /tmp/vhost_cbdma
19/01/2021 15:22:45                         tester: scp -v /home/lingwei/dts_cbdma/output/tmp/pcap/multiqueuerandomip_1518.pcap root@10.240.183.217:/tmp/vhost_cbdma/multiqueuerandomip_1518.pcap
19/01/2021 15:22:47                         pktgen: test port 0 map gen port 0
19/01/2021 15:22:47                         pktgen: test port 0 map gen port 0
19/01/2021 15:22:47                         pktgen: {'arp': '-',
 'cores': [0, 1, 2, 3],
 'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
 'dest': 'b4:96:91:46:e0:5c',
 'driver': 'net_i40e',
 'fc': 'none',
 'fc_supported': 'no',
 'grat_arp': 'off',
 'hw_mac': '3c:fd:fe:c8:17:d0',
 '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': 1,
 'pci_addr': '0000:82:00.0',
 'prom': 'off',
 'prom_supported': 'yes',
 'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
 'rx_filter_mode': 'hardware match',
 'rx_queue': 'off',
 'speed': 40.0,
 'src_ipv4': '-',
 'src_mac': '3c:fd:fe:c8:17:d0',
 'stack': 'legacy',
 'status': 'IDLE',
 'supp_speeds': [40000],
 'vlan': '-',
 'vxlan_fs': '-'}
19/01/2021 15:22:47                         pktgen: trex port <0> not support flow control
19/01/2021 15:22:47                         pktgen: trex packet generator: run traffic 5s to warm up ... 
19/01/2021 15:22:47                         pktgen: check the trex port link status
19/01/2021 15:22:47                         pktgen: {'arp': '-',
 'cores': [0, 1, 2, 3],
 'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
 'dest': 'b4:96:91:46:e0:5c',
 'driver': 'net_i40e',
 'fc': 'none',
 'fc_supported': 'no',
 'grat_arp': 'off',
 'hw_mac': '3c:fd:fe:c8:17:d0',
 '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': 1,
 'pci_addr': '0000:82:00.0',
 'prom': 'on',
 'prom_supported': 'yes',
 'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
 'rx_filter_mode': 'hardware match',
 'rx_queue': 'off',
 'speed': 40.0,
 'src_ipv4': '-',
 'src_mac': '3c:fd:fe:c8:17:d0',
 'stack': 'legacy',
 'status': 'IDLE',
 'supp_speeds': [40000],
 'vlan': '-',
 'vxlan_fs': '-'}
19/01/2021 15:22:47                         pktgen: begin traffic ......
19/01/2021 15:22:47                         pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
19/01/2021 15:22:52                         pktgen: traffic completed. 
19/01/2021 15:22:52                         pktgen: check the trex port link status
19/01/2021 15:22:52                         pktgen: {'arp': '-',
 'cores': [0, 1, 2, 3],
 'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
 'dest': 'b4:96:91:46:e0:5c',
 'driver': 'net_i40e',
 'fc': 'none',
 'fc_supported': 'no',
 'grat_arp': 'off',
 'hw_mac': '3c:fd:fe:c8:17:d0',
 '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': 1,
 'pci_addr': '0000:82:00.0',
 'prom': 'on',
 'prom_supported': 'yes',
 'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
 'rx_filter_mode': 'hardware match',
 'rx_queue': 'off',
 'speed': 40.0,
 'src_ipv4': '-',
 'src_mac': '3c:fd:fe:c8:17:d0',
 'stack': 'legacy',
 'status': 'IDLE',
 'supp_speeds': [40000],
 'vlan': '-',
 'vxlan_fs': '-'}
19/01/2021 15:22:52                         pktgen: begin traffic ......
19/01/2021 15:22:52                         pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
19/01/2021 15:23:12                         pktgen: begin get port statistic ...
19/01/2021 15:23:12                         pktgen: {'options': {'fields_config': {'ip': {'src': {'action': 'random',
                                              'end': '1.1.1.64',
                                              'start': '1.1.1.1',
                                              'step': 1}}},
             'pcap': '/tmp/vhost_cbdma/multiqueuerandomip_1518.pcap',
             'stream_config': {'rate': 100,
                               'transmit_mode': 'continuous',
                               'txmode': {}}},
 'pcap_file': '/tmp/vhost_cbdma/multiqueuerandomip_1518.pcap',
 'rx_port': 0,
 'tx_port': 0}
19/01/2021 15:23:12                         pktgen: {0: {'ibytes': 98797083924,
     'ierrors': 0,
     'ipackets': 65083721,
     'obytes': 98797077852,
     'oerrors': 0,
     'opackets': 65083717,
     'rx_bps': 39505412096.0,
     'rx_bps_L1': 40025905056.0,
     'rx_pps': 3253081.0,
     'rx_util': 100.06476264,
     'tx_bps': 39505428480.0,
     'tx_bps_L1': 40025921800.0,
     'tx_pps': 3253083.25,
     'tx_util': 100.0648045},
 1: {'ibytes': 0,
     'ierrors': 0,
     'ipackets': 0,
     'obytes': 0,
     'oerrors': 0,
     'opackets': 0,
     'rx_bps': 0.0,
     'rx_bps_L1': 0,
     'rx_pps': 0.0,
     'rx_util': 0.0,
     'tx_bps': 0.0,
     'tx_bps_L1': 0,
     'tx_pps': 0.0,
     'tx_util': 0.0},
 'flow_stats': {},
 'global': {'active_flows': 0.0,
            'active_sockets': 0,
            'bw_per_core': 23.17135238647461,
            'cpu_util': 85.24626922607422,
            'cpu_util_raw': 85.0,
            'open_flows': 0.0,
            'platform_factor': 1.0,
            'queue_full': 56713099,
            'rx_bps': 39505412096.0,
            'rx_core_pps': 0.0,
            'rx_cpu_util': 0.0,
            'rx_drop_bps': 0.0,
            'rx_pps': 3253081.0,
            'socket_util': 0.0,
            'total_alloc_error': 0,
            'total_clients': 0,
            'total_servers': 0,
            'tx_bps': 39505428480.0,
            'tx_cps': 0.0,
            'tx_expected_bps': 0.0,
            'tx_expected_cps': 0.0,
            'tx_expected_pps': 0.0,
            'tx_pps': 3253083.25},
 'latency': {'global': {'bad_hdr': 0, 'old_flow': 0}},
 'total': {'ibytes': 98797083924,
           'ierrors': 0,
           'ipackets': 65083721,
           'obytes': 98797077852,
           'oerrors': 0,
           'opackets': 65083717,
           'rx_bps': 39505412096.0,
           'rx_bps_L1': 40025905056.0,
           'rx_pps': 3253081.0,
           'rx_util': 100.06476264,
           'tx_bps': 39505428480.0,
           'tx_bps_L1': 40025921800.0,
           'tx_pps': 3253083.25,
           'tx_util': 100.0648045}}
19/01/2021 15:23:12                         pktgen: {'ibytes': 98797083924,
 'ierrors': 0,
 'ipackets': 65083721,
 'obytes': 98797077852,
 'oerrors': 0,
 'opackets': 65083717,
 'rx_bps': 39505412096.0,
 'rx_bps_L1': 40025905056.0,
 'rx_pps': 3253081.0,
 'rx_util': 100.06476264,
 'tx_bps': 39505428480.0,
 'tx_bps_L1': 40025921800.0,
 'tx_pps': 3253083.25,
 'tx_util': 100.0648045}
19/01/2021 15:23:12                         pktgen: Tx Port 0 stats: 
tx_port: 0,  tx_bps: 39505428480.000000, tx_pps: 3253083.250000 
19/01/2021 15:23:12                         pktgen: {'ibytes': 98797083924,
 'ierrors': 0,
 'ipackets': 65083721,
 'obytes': 98797077852,
 'oerrors': 0,
 'opackets': 65083717,
 'rx_bps': 39505412096.0,
 'rx_bps_L1': 40025905056.0,
 'rx_pps': 3253081.0,
 'rx_util': 100.06476264,
 'tx_bps': 39505428480.0,
 'tx_bps_L1': 40025921800.0,
 'tx_pps': 3253083.25,
 'tx_util': 100.0648045}
19/01/2021 15:23:12                         pktgen: Rx Port 0 stats: 
rx_port: 0,  rx_bps: 39505412096.000000, rx_pps: 3253081.000000
19/01/2021 15:23:12                         pktgen: throughput: pps_rx 3253081.000000, bps_rx 39505412096.000000
19/01/2021 15:23:12                         pktgen: traffic completed. 
19/01/2021 15:23:16             dut.10.240.183.220: cat /proc/meminfo |grep Hugepagesize|awk '{print($2)}'
19/01/2021 15:23:16             dut.10.240.183.220: 1048576
19/01/2021 15:23:27                         tester: ls -d /tmp/vhost_cbdma
19/01/2021 15:23:27                         tester: /tmp/vhost_cbdma
19/01/2021 15:23:27                         tester: scp -v /home/lingwei/dts_cbdma/output/tmp/pcap/multiqueuerandomip_64.pcap root@10.240.183.217:/tmp/vhost_cbdma/multiqueuerandomip_64.pcap
19/01/2021 15:23:29                         pktgen: test port 0 map gen port 0
19/01/2021 15:23:29                         pktgen: test port 0 map gen port 0
19/01/2021 15:23:29                         pktgen: {'arp': '-',
 'cores': [0, 1, 2, 3],
 'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
 'dest': 'b4:96:91:46:e0:5c',
 'driver': 'net_i40e',
 'fc': 'none',
 'fc_supported': 'no',
 'grat_arp': 'off',
 'hw_mac': '3c:fd:fe:c8:17:d0',
 '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': 1,
 'pci_addr': '0000:82:00.0',
 'prom': 'off',
 'prom_supported': 'yes',
 'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
 'rx_filter_mode': 'hardware match',
 'rx_queue': 'off',
 'speed': 40.0,
 'src_ipv4': '-',
 'src_mac': '3c:fd:fe:c8:17:d0',
 'stack': 'legacy',
 'status': 'IDLE',
 'supp_speeds': [40000],
 'vlan': '-',
 'vxlan_fs': '-'}
19/01/2021 15:23:29                         pktgen: trex port <0> not support flow control
19/01/2021 15:23:29                         pktgen: trex packet generator: run traffic 5s to warm up ... 
19/01/2021 15:23:29                         pktgen: check the trex port link status
19/01/2021 15:23:29                         pktgen: {'arp': '-',
 'cores': [0, 1, 2, 3],
 'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
 'dest': 'b4:96:91:46:e0:5c',
 'driver': 'net_i40e',
 'fc': 'none',
 'fc_supported': 'no',
 'grat_arp': 'off',
 'hw_mac': '3c:fd:fe:c8:17:d0',
 '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': 1,
 'pci_addr': '0000:82:00.0',
 'prom': 'on',
 'prom_supported': 'yes',
 'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
 'rx_filter_mode': 'hardware match',
 'rx_queue': 'off',
 'speed': 40.0,
 'src_ipv4': '-',
 'src_mac': '3c:fd:fe:c8:17:d0',
 'stack': 'legacy',
 'status': 'IDLE',
 'supp_speeds': [40000],
 'vlan': '-',
 'vxlan_fs': '-'}
19/01/2021 15:23:29                         pktgen: begin traffic ......
19/01/2021 15:23:29                         pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
19/01/2021 15:23:34                         pktgen: traffic completed. 
19/01/2021 15:23:34                         pktgen: check the trex port link status
19/01/2021 15:23:34                         pktgen: {'arp': '-',
 'cores': [0, 1, 2, 3],
 'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
 'dest': 'b4:96:91:46:e0:5c',
 'driver': 'net_i40e',
 'fc': 'none',
 'fc_supported': 'no',
 'grat_arp': 'off',
 'hw_mac': '3c:fd:fe:c8:17:d0',
 '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': 1,
 'pci_addr': '0000:82:00.0',
 'prom': 'on',
 'prom_supported': 'yes',
 'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
 'rx_filter_mode': 'hardware match',
 'rx_queue': 'off',
 'speed': 40.0,
 'src_ipv4': '-',
 'src_mac': '3c:fd:fe:c8:17:d0',
 'stack': 'legacy',
 'status': 'IDLE',
 'supp_speeds': [40000],
 'vlan': '-',
 'vxlan_fs': '-'}
19/01/2021 15:23:34                         pktgen: begin traffic ......
19/01/2021 15:23:34                         pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
19/01/2021 15:23:54                         pktgen: begin get port statistic ...
19/01/2021 15:23:54                         pktgen: {'options': {'fields_config': {'ip': {'src': {'action': 'random',
                                              'end': '1.1.1.64',
                                              'start': '1.1.1.1',
                                              'step': 1}}},
             'pcap': '/tmp/vhost_cbdma/multiqueuerandomip_64.pcap',
             'stream_config': {'rate': 100,
                               'transmit_mode': 'continuous',
                               'txmode': {}}},
 'pcap_file': '/tmp/vhost_cbdma/multiqueuerandomip_64.pcap',
 'rx_port': 0,
 'tx_port': 0}
19/01/2021 15:23:54                         pktgen: {0: {'ibytes': 9694574272,
     'ierrors': 0,
     'ipackets': 151477723,
     'obytes': 37245766848,
     'oerrors': 0,
     'opackets': 581965130,
     'rx_bps': 3867334656.0,
     'rx_bps_L1': 5075876576.0,
     'rx_pps': 7553387.0,
     'rx_util': 12.68969144,
     'tx_bps': 14772142080.0,
     'tx_bps_L1': 19388436800.0,
     'tx_pps': 28851842.0,
     'tx_util': 48.471092},
 1: {'ibytes': 0,
     'ierrors': 0,
     'ipackets': 0,
     'obytes': 0,
     'oerrors': 0,
     'opackets': 0,
     'rx_bps': 0.0,
     'rx_bps_L1': 0,
     'rx_pps': 0.0,
     'rx_util': 0.0,
     'tx_bps': 0.0,
     'tx_bps_L1': 0,
     'tx_pps': 0.0,
     'tx_util': 0.0},
 'flow_stats': {},
 'global': {'active_flows': 0.0,
            'active_sockets': 0,
            'bw_per_core': 7.392852783203125,
            'cpu_util': 99.90826416015625,
            'cpu_util_raw': 100.0,
            'open_flows': 0.0,
            'platform_factor': 1.0,
            'queue_full': 0,
            'rx_bps': 3867334656.0,
            'rx_core_pps': 0.0,
            'rx_cpu_util': 0.0,
            'rx_drop_bps': 10904806400.0,
            'rx_pps': 7553387.0,
            'socket_util': 0.0,
            'total_alloc_error': 0,
            'total_clients': 0,
            'total_servers': 0,
            'tx_bps': 14772142080.0,
            'tx_cps': 0.0,
            'tx_expected_bps': 0.0,
            'tx_expected_cps': 0.0,
            'tx_expected_pps': 0.0,
            'tx_pps': 28851842.0},
 'latency': {'global': {'bad_hdr': 0, 'old_flow': 0}},
 'total': {'ibytes': 9694574272,
           'ierrors': 0,
           'ipackets': 151477723,
           'obytes': 37245766848,
           'oerrors': 0,
           'opackets': 581965130,
           'rx_bps': 3867334656.0,
           'rx_bps_L1': 5075876576.0,
           'rx_pps': 7553387.0,
           'rx_util': 12.68969144,
           'tx_bps': 14772142080.0,
           'tx_bps_L1': 19388436800.0,
           'tx_pps': 28851842.0,
           'tx_util': 48.471092}}
19/01/2021 15:23:54                         pktgen: {'ibytes': 9694574272,
 'ierrors': 0,
 'ipackets': 151477723,
 'obytes': 37245766848,
 'oerrors': 0,
 'opackets': 581965130,
 'rx_bps': 3867334656.0,
 'rx_bps_L1': 5075876576.0,
 'rx_pps': 7553387.0,
 'rx_util': 12.68969144,
 'tx_bps': 14772142080.0,
 'tx_bps_L1': 19388436800.0,
 'tx_pps': 28851842.0,
 'tx_util': 48.471092}
19/01/2021 15:23:54                         pktgen: Tx Port 0 stats: 
tx_port: 0,  tx_bps: 14772142080.000000, tx_pps: 28851842.000000 
19/01/2021 15:23:54                         pktgen: {'ibytes': 9694574272,
 'ierrors': 0,
 'ipackets': 151477723,
 'obytes': 37245766848,
 'oerrors': 0,
 'opackets': 581965130,
 'rx_bps': 3867334656.0,
 'rx_bps_L1': 5075876576.0,
 'rx_pps': 7553387.0,
 'rx_util': 12.68969144,
 'tx_bps': 14772142080.0,
 'tx_bps_L1': 19388436800.0,
 'tx_pps': 28851842.0,
 'tx_util': 48.471092}
19/01/2021 15:23:54                         pktgen: Rx Port 0 stats: 
rx_port: 0,  rx_bps: 3867334656.000000, rx_pps: 7553387.000000
19/01/2021 15:23:54                         pktgen: throughput: pps_rx 7553387.000000, bps_rx 3867334656.000000
19/01/2021 15:23:54                         pktgen: traffic completed. 
19/01/2021 15:23:54                         tester: ls -d /tmp/vhost_cbdma
19/01/2021 15:23:54                         tester: /tmp/vhost_cbdma
19/01/2021 15:23:54                         tester: scp -v /home/lingwei/dts_cbdma/output/tmp/pcap/multiqueuerandomip_1518.pcap root@10.240.183.217:/tmp/vhost_cbdma/multiqueuerandomip_1518.pcap
19/01/2021 15:23:56                         pktgen: test port 0 map gen port 0
19/01/2021 15:23:56                         pktgen: test port 0 map gen port 0
19/01/2021 15:23:56                         pktgen: {'arp': '-',
 'cores': [0, 1, 2, 3],
 'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
 'dest': 'b4:96:91:46:e0:5c',
 'driver': 'net_i40e',
 'fc': 'none',
 'fc_supported': 'no',
 'grat_arp': 'off',
 'hw_mac': '3c:fd:fe:c8:17:d0',
 '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': 1,
 'pci_addr': '0000:82:00.0',
 'prom': 'off',
 'prom_supported': 'yes',
 'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
 'rx_filter_mode': 'hardware match',
 'rx_queue': 'off',
 'speed': 40.0,
 'src_ipv4': '-',
 'src_mac': '3c:fd:fe:c8:17:d0',
 'stack': 'legacy',
 'status': 'IDLE',
 'supp_speeds': [40000],
 'vlan': '-',
 'vxlan_fs': '-'}
19/01/2021 15:23:56                         pktgen: trex port <0> not support flow control
19/01/2021 15:23:56                         pktgen: trex packet generator: run traffic 5s to warm up ... 
19/01/2021 15:23:56                         pktgen: check the trex port link status
19/01/2021 15:23:56                         pktgen: {'arp': '-',
 'cores': [0, 1, 2, 3],
 'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
 'dest': 'b4:96:91:46:e0:5c',
 'driver': 'net_i40e',
 'fc': 'none',
 'fc_supported': 'no',
 'grat_arp': 'off',
 'hw_mac': '3c:fd:fe:c8:17:d0',
 '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': 1,
 'pci_addr': '0000:82:00.0',
 'prom': 'on',
 'prom_supported': 'yes',
 'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
 'rx_filter_mode': 'hardware match',
 'rx_queue': 'off',
 'speed': 40.0,
 'src_ipv4': '-',
 'src_mac': '3c:fd:fe:c8:17:d0',
 'stack': 'legacy',
 'status': 'IDLE',
 'supp_speeds': [40000],
 'vlan': '-',
 'vxlan_fs': '-'}
19/01/2021 15:23:56                         pktgen: begin traffic ......
19/01/2021 15:23:56                         pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
19/01/2021 15:24:01                         pktgen: traffic completed. 
19/01/2021 15:24:01                         pktgen: check the trex port link status
19/01/2021 15:24:01                         pktgen: {'arp': '-',
 'cores': [0, 1, 2, 3],
 'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
 'dest': 'b4:96:91:46:e0:5c',
 'driver': 'net_i40e',
 'fc': 'none',
 'fc_supported': 'no',
 'grat_arp': 'off',
 'hw_mac': '3c:fd:fe:c8:17:d0',
 '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': 1,
 'pci_addr': '0000:82:00.0',
 'prom': 'on',
 'prom_supported': 'yes',
 'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
 'rx_filter_mode': 'hardware match',
 'rx_queue': 'off',
 'speed': 40.0,
 'src_ipv4': '-',
 'src_mac': '3c:fd:fe:c8:17:d0',
 'stack': 'legacy',
 'status': 'IDLE',
 'supp_speeds': [40000],
 'vlan': '-',
 'vxlan_fs': '-'}
19/01/2021 15:24:01                         pktgen: begin traffic ......
19/01/2021 15:24:01                         pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
19/01/2021 15:24:21                         pktgen: begin get port statistic ...
19/01/2021 15:24:21                         pktgen: {'options': {'fields_config': {'ip': {'src': {'action': 'random',
                                              'end': '1.1.1.64',
                                              'start': '1.1.1.1',
                                              'step': 1}}},
             'pcap': '/tmp/vhost_cbdma/multiqueuerandomip_1518.pcap',
             'stream_config': {'rate': 100,
                               'transmit_mode': 'continuous',
                               'txmode': {}}},
 'pcap_file': '/tmp/vhost_cbdma/multiqueuerandomip_1518.pcap',
 'rx_port': 0,
 'tx_port': 0}
19/01/2021 15:24:21                         pktgen: {0: {'ibytes': 98800173054,
     'ierrors': 0,
     'ipackets': 65085756,
     'obytes': 98800183680,
     'oerrors': 0,
     'opackets': 65085764,
     'rx_bps': 39559643136.0,
     'rx_bps_L1': 40080850576.0,
     'rx_pps': 3257546.5,
     'rx_util': 100.20212644,
     'tx_bps': 39559688192.0,
     'tx_bps_L1': 40080896191.99999,
     'tx_pps': 3257550.0,
     'tx_util': 100.20224047999997},
 1: {'ibytes': 0,
     'ierrors': 0,
     'ipackets': 0,
     'obytes': 0,
     'oerrors': 0,
     'opackets': 0,
     'rx_bps': 0.0,
     'rx_bps_L1': 0,
     'rx_pps': 0.0,
     'rx_util': 0.0,
     'tx_bps': 0.0,
     'tx_bps_L1': 0,
     'tx_pps': 0.0,
     'tx_util': 0.0},
 'flow_stats': {},
 'global': {'active_flows': 0.0,
            'active_sockets': 0,
            'bw_per_core': 23.09363555908203,
            'cpu_util': 85.65062713623047,
            'cpu_util_raw': 85.5,
            'open_flows': 0.0,
            'platform_factor': 1.0,
            'queue_full': 56570892,
            'rx_bps': 39559643136.0,
            'rx_core_pps': 0.0,
            'rx_cpu_util': 0.0,
            'rx_drop_bps': 0.0,
            'rx_pps': 3257546.5,
            'socket_util': 0.0,
            'total_alloc_error': 0,
            'total_clients': 0,
            'total_servers': 0,
            'tx_bps': 39559688192.0,
            'tx_cps': 0.0,
            'tx_expected_bps': 0.0,
            'tx_expected_cps': 0.0,
            'tx_expected_pps': 0.0,
            'tx_pps': 3257550.0},
 'latency': {'global': {'bad_hdr': 0, 'old_flow': 0}},
 'total': {'ibytes': 98800173054,
           'ierrors': 0,
           'ipackets': 65085756,
           'obytes': 98800183680,
           'oerrors': 0,
           'opackets': 65085764,
           'rx_bps': 39559643136.0,
           'rx_bps_L1': 40080850576.0,
           'rx_pps': 3257546.5,
           'rx_util': 100.20212644,
           'tx_bps': 39559688192.0,
           'tx_bps_L1': 40080896191.99999,
           'tx_pps': 3257550.0,
           'tx_util': 100.20224047999997}}
19/01/2021 15:24:21                         pktgen: {'ibytes': 98800173054,
 'ierrors': 0,
 'ipackets': 65085756,
 'obytes': 98800183680,
 'oerrors': 0,
 'opackets': 65085764,
 'rx_bps': 39559643136.0,
 'rx_bps_L1': 40080850576.0,
 'rx_pps': 3257546.5,
 'rx_util': 100.20212644,
 'tx_bps': 39559688192.0,
 'tx_bps_L1': 40080896191.99999,
 'tx_pps': 3257550.0,
 'tx_util': 100.20224047999997}
19/01/2021 15:24:21                         pktgen: Tx Port 0 stats: 
tx_port: 0,  tx_bps: 39559688192.000000, tx_pps: 3257550.000000 
19/01/2021 15:24:21                         pktgen: {'ibytes': 98800173054,
 'ierrors': 0,
 'ipackets': 65085756,
 'obytes': 98800183680,
 'oerrors': 0,
 'opackets': 65085764,
 'rx_bps': 39559643136.0,
 'rx_bps_L1': 40080850576.0,
 'rx_pps': 3257546.5,
 'rx_util': 100.20212644,
 'tx_bps': 39559688192.0,
 'tx_bps_L1': 40080896191.99999,
 'tx_pps': 3257550.0,
 'tx_util': 100.20224047999997}
19/01/2021 15:24:21                         pktgen: Rx Port 0 stats: 
rx_port: 0,  rx_bps: 39559643136.000000, rx_pps: 3257546.500000
19/01/2021 15:24:21                         pktgen: throughput: pps_rx 3257546.500000, bps_rx 39559643136.000000
19/01/2021 15:24:21                         pktgen: traffic completed. 
19/01/2021 15:24:21                         tester: ls -d /tmp/vhost_cbdma
19/01/2021 15:24:22                         tester: /tmp/vhost_cbdma
19/01/2021 15:24:22                         tester: scp -v /home/lingwei/dts_cbdma/output/tmp/pcap/multiqueuerandomip_64.pcap root@10.240.183.217:/tmp/vhost_cbdma/multiqueuerandomip_64.pcap
19/01/2021 15:24:24                         pktgen: test port 0 map gen port 0
19/01/2021 15:24:24                         pktgen: test port 0 map gen port 0
19/01/2021 15:24:24                         pktgen: {'arp': '-',
 'cores': [0, 1, 2, 3],
 'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
 'dest': 'b4:96:91:46:e0:5c',
 'driver': 'net_i40e',
 'fc': 'none',
 'fc_supported': 'no',
 'grat_arp': 'off',
 'hw_mac': '3c:fd:fe:c8:17:d0',
 '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': 1,
 'pci_addr': '0000:82:00.0',
 'prom': 'off',
 'prom_supported': 'yes',
 'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
 'rx_filter_mode': 'hardware match',
 'rx_queue': 'off',
 'speed': 40.0,
 'src_ipv4': '-',
 'src_mac': '3c:fd:fe:c8:17:d0',
 'stack': 'legacy',
 'status': 'IDLE',
 'supp_speeds': [40000],
 'vlan': '-',
 'vxlan_fs': '-'}
19/01/2021 15:24:24                         pktgen: trex port <0> not support flow control
19/01/2021 15:24:24                         pktgen: trex packet generator: run traffic 5s to warm up ... 
19/01/2021 15:24:24                         pktgen: check the trex port link status
19/01/2021 15:24:24                         pktgen: {'arp': '-',
 'cores': [0, 1, 2, 3],
 'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
 'dest': 'b4:96:91:46:e0:5c',
 'driver': 'net_i40e',
 'fc': 'none',
 'fc_supported': 'no',
 'grat_arp': 'off',
 'hw_mac': '3c:fd:fe:c8:17:d0',
 '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': 1,
 'pci_addr': '0000:82:00.0',
 'prom': 'on',
 'prom_supported': 'yes',
 'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
 'rx_filter_mode': 'hardware match',
 'rx_queue': 'off',
 'speed': 40.0,
 'src_ipv4': '-',
 'src_mac': '3c:fd:fe:c8:17:d0',
 'stack': 'legacy',
 'status': 'IDLE',
 'supp_speeds': [40000],
 'vlan': '-',
 'vxlan_fs': '-'}
19/01/2021 15:24:24                         pktgen: begin traffic ......
19/01/2021 15:24:24                         pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
19/01/2021 15:24:29                         pktgen: traffic completed. 
19/01/2021 15:24:29                         pktgen: check the trex port link status
19/01/2021 15:24:29                         pktgen: {'arp': '-',
 'cores': [0, 1, 2, 3],
 'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
 'dest': 'b4:96:91:46:e0:5c',
 'driver': 'net_i40e',
 'fc': 'none',
 'fc_supported': 'no',
 'grat_arp': 'off',
 'hw_mac': '3c:fd:fe:c8:17:d0',
 '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': 1,
 'pci_addr': '0000:82:00.0',
 'prom': 'on',
 'prom_supported': 'yes',
 'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
 'rx_filter_mode': 'hardware match',
 'rx_queue': 'off',
 'speed': 40.0,
 'src_ipv4': '-',
 'src_mac': '3c:fd:fe:c8:17:d0',
 'stack': 'legacy',
 'status': 'IDLE',
 'supp_speeds': [40000],
 'vlan': '-',
 'vxlan_fs': '-'}
19/01/2021 15:24:29                         pktgen: begin traffic ......
19/01/2021 15:24:29                         pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
19/01/2021 15:24:49                         pktgen: begin get port statistic ...
19/01/2021 15:24:49                         pktgen: {'options': {'fields_config': {'ip': {'src': {'action': 'random',
                                              'end': '1.1.1.64',
                                              'start': '1.1.1.1',
                                              'step': 1}}},
             'pcap': '/tmp/vhost_cbdma/multiqueuerandomip_64.pcap',
             'stream_config': {'rate': 100,
                               'transmit_mode': 'continuous',
                               'txmode': {}}},
 'pcap_file': '/tmp/vhost_cbdma/multiqueuerandomip_64.pcap',
 'rx_port': 0,
 'tx_port': 0}
19/01/2021 15:24:49                         pktgen: {0: {'ibytes': 9739097536,
     'ierrors': 0,
     'ipackets': 152173415,
     'obytes': 36950381184,
     'oerrors': 0,
     'opackets': 577349727,
     'rx_bps': 3883217152.0,
     'rx_bps_L1': 5096722912.000001,
     'rx_pps': 7584411.0,
     'rx_util': 12.741807280000003,
     'tx_bps': 14699688960.0,
     'tx_bps_L1': 19293342080.0,
     'tx_pps': 28710332.0,
     'tx_util': 48.2333552},
 1: {'ibytes': 0,
     'ierrors': 0,
     'ipackets': 0,
     'obytes': 0,
     'oerrors': 0,
     'opackets': 0,
     'rx_bps': 0.0,
     'rx_bps_L1': 0,
     'rx_pps': 0.0,
     'rx_util': 0.0,
     'tx_bps': 0.0,
     'tx_bps_L1': 0,
     'tx_pps': 0.0,
     'tx_util': 0.0},
 'flow_stats': {},
 'global': {'active_flows': 0.0,
            'active_sockets': 0,
            'bw_per_core': 7.353876113891602,
            'cpu_util': 99.94517517089844,
            'cpu_util_raw': 100.0,
            'open_flows': 0.0,
            'platform_factor': 1.0,
            'queue_full': 0,
            'rx_bps': 3883217152.0,
            'rx_core_pps': 0.0,
            'rx_cpu_util': 0.0,
            'rx_drop_bps': 10816472064.0,
            'rx_pps': 7584411.0,
            'socket_util': 0.0,
            'total_alloc_error': 0,
            'total_clients': 0,
            'total_servers': 0,
            'tx_bps': 14699688960.0,
            'tx_cps': 0.0,
            'tx_expected_bps': 0.0,
            'tx_expected_cps': 0.0,
            'tx_expected_pps': 0.0,
            'tx_pps': 28710332.0},
 'latency': {'global': {'bad_hdr': 0, 'old_flow': 0}},
 'total': {'ibytes': 9739097536,
           'ierrors': 0,
           'ipackets': 152173415,
           'obytes': 36950381184,
           'oerrors': 0,
           'opackets': 577349727,
           'rx_bps': 3883217152.0,
           'rx_bps_L1': 5096722912.000001,
           'rx_pps': 7584411.0,
           'rx_util': 12.741807280000003,
           'tx_bps': 14699688960.0,
           'tx_bps_L1': 19293342080.0,
           'tx_pps': 28710332.0,
           'tx_util': 48.2333552}}
19/01/2021 15:24:49                         pktgen: {'ibytes': 9739097536,
 'ierrors': 0,
 'ipackets': 152173415,
 'obytes': 36950381184,
 'oerrors': 0,
 'opackets': 577349727,
 'rx_bps': 3883217152.0,
 'rx_bps_L1': 5096722912.000001,
 'rx_pps': 7584411.0,
 'rx_util': 12.741807280000003,
 'tx_bps': 14699688960.0,
 'tx_bps_L1': 19293342080.0,
 'tx_pps': 28710332.0,
 'tx_util': 48.2333552}
19/01/2021 15:24:49                         pktgen: Tx Port 0 stats: 
tx_port: 0,  tx_bps: 14699688960.000000, tx_pps: 28710332.000000 
19/01/2021 15:24:49                         pktgen: {'ibytes': 9739097536,
 'ierrors': 0,
 'ipackets': 152173415,
 'obytes': 36950381184,
 'oerrors': 0,
 'opackets': 577349727,
 'rx_bps': 3883217152.0,
 'rx_bps_L1': 5096722912.000001,
 'rx_pps': 7584411.0,
 'rx_util': 12.741807280000003,
 'tx_bps': 14699688960.0,
 'tx_bps_L1': 19293342080.0,
 'tx_pps': 28710332.0,
 'tx_util': 48.2333552}
19/01/2021 15:24:49                         pktgen: Rx Port 0 stats: 
rx_port: 0,  rx_bps: 3883217152.000000, rx_pps: 7584411.000000
19/01/2021 15:24:49                         pktgen: throughput: pps_rx 7584411.000000, bps_rx 3883217152.000000
19/01/2021 15:24:49                         pktgen: traffic completed. 
19/01/2021 15:24:49                         tester: ls -d /tmp/vhost_cbdma
19/01/2021 15:24:49                         tester: /tmp/vhost_cbdma
19/01/2021 15:24:49                         tester: scp -v /home/lingwei/dts_cbdma/output/tmp/pcap/multiqueuerandomip_1518.pcap root@10.240.183.217:/tmp/vhost_cbdma/multiqueuerandomip_1518.pcap
19/01/2021 15:24:51                         pktgen: test port 0 map gen port 0
19/01/2021 15:24:51                         pktgen: test port 0 map gen port 0
19/01/2021 15:24:51                         pktgen: {'arp': '-',
 'cores': [0, 1, 2, 3],
 'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
 'dest': 'b4:96:91:46:e0:5c',
 'driver': 'net_i40e',
 'fc': 'none',
 'fc_supported': 'no',
 'grat_arp': 'off',
 'hw_mac': '3c:fd:fe:c8:17:d0',
 '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': 1,
 'pci_addr': '0000:82:00.0',
 'prom': 'off',
 'prom_supported': 'yes',
 'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
 'rx_filter_mode': 'hardware match',
 'rx_queue': 'off',
 'speed': 40.0,
 'src_ipv4': '-',
 'src_mac': '3c:fd:fe:c8:17:d0',
 'stack': 'legacy',
 'status': 'IDLE',
 'supp_speeds': [40000],
 'vlan': '-',
 'vxlan_fs': '-'}
19/01/2021 15:24:51                         pktgen: trex port <0> not support flow control
19/01/2021 15:24:51                         pktgen: trex packet generator: run traffic 5s to warm up ... 
19/01/2021 15:24:51                         pktgen: check the trex port link status
19/01/2021 15:24:51                         pktgen: {'arp': '-',
 'cores': [0, 1, 2, 3],
 'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
 'dest': 'b4:96:91:46:e0:5c',
 'driver': 'net_i40e',
 'fc': 'none',
 'fc_supported': 'no',
 'grat_arp': 'off',
 'hw_mac': '3c:fd:fe:c8:17:d0',
 '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': 1,
 'pci_addr': '0000:82:00.0',
 'prom': 'on',
 'prom_supported': 'yes',
 'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
 'rx_filter_mode': 'hardware match',
 'rx_queue': 'off',
 'speed': 40.0,
 'src_ipv4': '-',
 'src_mac': '3c:fd:fe:c8:17:d0',
 'stack': 'legacy',
 'status': 'IDLE',
 'supp_speeds': [40000],
 'vlan': '-',
 'vxlan_fs': '-'}
19/01/2021 15:24:51                         pktgen: begin traffic ......
19/01/2021 15:24:51                         pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
19/01/2021 15:24:56                         pktgen: traffic completed. 
19/01/2021 15:24:56                         pktgen: check the trex port link status
19/01/2021 15:24:56                         pktgen: {'arp': '-',
 'cores': [0, 1, 2, 3],
 'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
 'dest': 'b4:96:91:46:e0:5c',
 'driver': 'net_i40e',
 'fc': 'none',
 'fc_supported': 'no',
 'grat_arp': 'off',
 'hw_mac': '3c:fd:fe:c8:17:d0',
 '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': 1,
 'pci_addr': '0000:82:00.0',
 'prom': 'on',
 'prom_supported': 'yes',
 'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
 'rx_filter_mode': 'hardware match',
 'rx_queue': 'off',
 'speed': 40.0,
 'src_ipv4': '-',
 'src_mac': '3c:fd:fe:c8:17:d0',
 'stack': 'legacy',
 'status': 'IDLE',
 'supp_speeds': [40000],
 'vlan': '-',
 'vxlan_fs': '-'}
19/01/2021 15:24:56                         pktgen: begin traffic ......
19/01/2021 15:24:56                         pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
19/01/2021 15:25:16                         pktgen: begin get port statistic ...
19/01/2021 15:25:16                         pktgen: {'options': {'fields_config': {'ip': {'src': {'action': 'random',
                                              'end': '1.1.1.64',
                                              'start': '1.1.1.1',
                                              'step': 1}}},
             'pcap': '/tmp/vhost_cbdma/multiqueuerandomip_1518.pcap',
             'stream_config': {'rate': 100,
                               'transmit_mode': 'continuous',
                               'txmode': {}}},
 'pcap_file': '/tmp/vhost_cbdma/multiqueuerandomip_1518.pcap',
 'rx_port': 0,
 'tx_port': 0}
19/01/2021 15:25:16                         pktgen: {0: {'ibytes': 98802743028,
     'ierrors': 0,
     'ipackets': 65087449,
     'obytes': 98802750618,
     'oerrors': 0,
     'opackets': 65087454,
     'rx_bps': 39560253440.0,
     'rx_bps_L1': 40081468880.0,
     'rx_pps': 3257596.5,
     'rx_util': 100.2036722,
     'tx_bps': 39560302592.0,
     'tx_bps_L1': 40081518592.0,
     'tx_pps': 3257600.0,
     'tx_util': 100.20379648},
 1: {'ibytes': 0,
     'ierrors': 0,
     'ipackets': 0,
     'obytes': 0,
     'oerrors': 0,
     'opackets': 0,
     'rx_bps': 0.0,
     'rx_bps_L1': 0,
     'rx_pps': 0.0,
     'rx_util': 0.0,
     'tx_bps': 0.0,
     'tx_bps_L1': 0,
     'tx_pps': 0.0,
     'tx_util': 0.0},
 'flow_stats': {},
 'global': {'active_flows': 0.0,
            'active_sockets': 0,
            'bw_per_core': 23.29676055908203,
            'cpu_util': 84.90515899658203,
            'cpu_util_raw': 84.5,
            'open_flows': 0.0,
            'platform_factor': 1.0,
            'queue_full': 56570593,
            'rx_bps': 39560253440.0,
            'rx_core_pps': 0.0,
            'rx_cpu_util': 0.0,
            'rx_drop_bps': 0.0,
            'rx_pps': 3257596.5,
            'socket_util': 0.0,
            'total_alloc_error': 0,
            'total_clients': 0,
            'total_servers': 0,
            'tx_bps': 39560302592.0,
            'tx_cps': 0.0,
            'tx_expected_bps': 0.0,
            'tx_expected_cps': 0.0,
            'tx_expected_pps': 0.0,
            'tx_pps': 3257600.0},
 'latency': {'global': {'bad_hdr': 0, 'old_flow': 0}},
 'total': {'ibytes': 98802743028,
           'ierrors': 0,
           'ipackets': 65087449,
           'obytes': 98802750618,
           'oerrors': 0,
           'opackets': 65087454,
           'rx_bps': 39560253440.0,
           'rx_bps_L1': 40081468880.0,
           'rx_pps': 3257596.5,
           'rx_util': 100.2036722,
           'tx_bps': 39560302592.0,
           'tx_bps_L1': 40081518592.0,
           'tx_pps': 3257600.0,
           'tx_util': 100.20379648}}
19/01/2021 15:25:16                         pktgen: {'ibytes': 98802743028,
 'ierrors': 0,
 'ipackets': 65087449,
 'obytes': 98802750618,
 'oerrors': 0,
 'opackets': 65087454,
 'rx_bps': 39560253440.0,
 'rx_bps_L1': 40081468880.0,
 'rx_pps': 3257596.5,
 'rx_util': 100.2036722,
 'tx_bps': 39560302592.0,
 'tx_bps_L1': 40081518592.0,
 'tx_pps': 3257600.0,
 'tx_util': 100.20379648}
19/01/2021 15:25:16                         pktgen: Tx Port 0 stats: 
tx_port: 0,  tx_bps: 39560302592.000000, tx_pps: 3257600.000000 
19/01/2021 15:25:16                         pktgen: {'ibytes': 98802743028,
 'ierrors': 0,
 'ipackets': 65087449,
 'obytes': 98802750618,
 'oerrors': 0,
 'opackets': 65087454,
 'rx_bps': 39560253440.0,
 'rx_bps_L1': 40081468880.0,
 'rx_pps': 3257596.5,
 'rx_util': 100.2036722,
 'tx_bps': 39560302592.0,
 'tx_bps_L1': 40081518592.0,
 'tx_pps': 3257600.0,
 'tx_util': 100.20379648}
19/01/2021 15:25:16                         pktgen: Rx Port 0 stats: 
rx_port: 0,  rx_bps: 39560253440.000000, rx_pps: 3257596.500000
19/01/2021 15:25:16                         pktgen: throughput: pps_rx 3257596.500000, bps_rx 39560253440.000000
19/01/2021 15:25:16                         pktgen: traffic completed. 
19/01/2021 15:25:19             dut.10.240.183.220: cat /proc/meminfo |grep Hugepagesize|awk '{print($2)}'
19/01/2021 15:25:20             dut.10.240.183.220: 1048576
19/01/2021 15:25:30                         tester: ls -d /tmp/vhost_cbdma
19/01/2021 15:25:31                         tester: /tmp/vhost_cbdma
19/01/2021 15:25:31                         tester: scp -v /home/lingwei/dts_cbdma/output/tmp/pcap/multiqueuerandomip_64.pcap root@10.240.183.217:/tmp/vhost_cbdma/multiqueuerandomip_64.pcap
19/01/2021 15:25:33                         pktgen: test port 0 map gen port 0
19/01/2021 15:25:33                         pktgen: test port 0 map gen port 0
19/01/2021 15:25:33                         pktgen: {'arp': '-',
 'cores': [0, 1, 2, 3],
 'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
 'dest': 'b4:96:91:46:e0:5c',
 'driver': 'net_i40e',
 'fc': 'none',
 'fc_supported': 'no',
 'grat_arp': 'off',
 'hw_mac': '3c:fd:fe:c8:17:d0',
 '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': 1,
 'pci_addr': '0000:82:00.0',
 'prom': 'off',
 'prom_supported': 'yes',
 'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
 'rx_filter_mode': 'hardware match',
 'rx_queue': 'off',
 'speed': 40.0,
 'src_ipv4': '-',
 'src_mac': '3c:fd:fe:c8:17:d0',
 'stack': 'legacy',
 'status': 'IDLE',
 'supp_speeds': [40000],
 'vlan': '-',
 'vxlan_fs': '-'}
19/01/2021 15:25:33                         pktgen: trex port <0> not support flow control
19/01/2021 15:25:33                         pktgen: trex packet generator: run traffic 5s to warm up ... 
19/01/2021 15:25:33                         pktgen: check the trex port link status
19/01/2021 15:25:33                         pktgen: {'arp': '-',
 'cores': [0, 1, 2, 3],
 'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
 'dest': 'b4:96:91:46:e0:5c',
 'driver': 'net_i40e',
 'fc': 'none',
 'fc_supported': 'no',
 'grat_arp': 'off',
 'hw_mac': '3c:fd:fe:c8:17:d0',
 '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': 1,
 'pci_addr': '0000:82:00.0',
 'prom': 'on',
 'prom_supported': 'yes',
 'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
 'rx_filter_mode': 'hardware match',
 'rx_queue': 'off',
 'speed': 40.0,
 'src_ipv4': '-',
 'src_mac': '3c:fd:fe:c8:17:d0',
 'stack': 'legacy',
 'status': 'IDLE',
 'supp_speeds': [40000],
 'vlan': '-',
 'vxlan_fs': '-'}
19/01/2021 15:25:33                         pktgen: begin traffic ......
19/01/2021 15:25:33                         pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
19/01/2021 15:25:38                         pktgen: traffic completed. 
19/01/2021 15:25:38                         pktgen: check the trex port link status
19/01/2021 15:25:38                         pktgen: {'arp': '-',
 'cores': [0, 1, 2, 3],
 'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
 'dest': 'b4:96:91:46:e0:5c',
 'driver': 'net_i40e',
 'fc': 'none',
 'fc_supported': 'no',
 'grat_arp': 'off',
 'hw_mac': '3c:fd:fe:c8:17:d0',
 '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': 1,
 'pci_addr': '0000:82:00.0',
 'prom': 'on',
 'prom_supported': 'yes',
 'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
 'rx_filter_mode': 'hardware match',
 'rx_queue': 'off',
 'speed': 40.0,
 'src_ipv4': '-',
 'src_mac': '3c:fd:fe:c8:17:d0',
 'stack': 'legacy',
 'status': 'IDLE',
 'supp_speeds': [40000],
 'vlan': '-',
 'vxlan_fs': '-'}
19/01/2021 15:25:38                         pktgen: begin traffic ......
19/01/2021 15:25:38                         pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
19/01/2021 15:25:58                         pktgen: begin get port statistic ...
19/01/2021 15:25:58                         pktgen: {'options': {'fields_config': {'ip': {'src': {'action': 'random',
                                              'end': '1.1.1.64',
                                              'start': '1.1.1.1',
                                              'step': 1}}},
             'pcap': '/tmp/vhost_cbdma/multiqueuerandomip_64.pcap',
             'stream_config': {'rate': 100,
                               'transmit_mode': 'continuous',
                               'txmode': {}}},
 'pcap_file': '/tmp/vhost_cbdma/multiqueuerandomip_64.pcap',
 'rx_port': 0,
 'tx_port': 0}
19/01/2021 15:25:58                         pktgen: {0: {'ibytes': 9947603392,
     'ierrors': 0,
     'ipackets': 155431309,
     'obytes': 37057480832,
     'oerrors': 0,
     'opackets': 579023172,
     'rx_bps': 3965398016.0,
     'rx_bps_L1': 5204584576.0,
     'rx_pps': 7744916.0,
     'rx_util': 13.01146144,
     'tx_bps': 14694814720.0,
     'tx_bps_L1': 19286942720.0,
     'tx_pps': 28700800.0,
     'tx_util': 48.2173568},
 1: {'ibytes': 0,
     'ierrors': 0,
     'ipackets': 0,
     'obytes': 0,
     'oerrors': 0,
     'opackets': 0,
     'rx_bps': 0.0,
     'rx_bps_L1': 0,
     'rx_pps': 0.0,
     'rx_util': 0.0,
     'tx_bps': 0.0,
     'tx_bps_L1': 0,
     'tx_pps': 0.0,
     'tx_util': 0.0},
 'flow_stats': {},
 'global': {'active_flows': 0.0,
            'active_sockets': 0,
            'bw_per_core': 7.354172229766846,
            'cpu_util': 99.90801239013672,
            'cpu_util_raw': 100.0,
            'open_flows': 0.0,
            'platform_factor': 1.0,
            'queue_full': 0,
            'rx_bps': 3965398016.0,
            'rx_core_pps': 0.0,
            'rx_cpu_util': 0.0,
            'rx_drop_bps': 10729415680.0,
            'rx_pps': 7744916.0,
            'socket_util': 0.0,
            'total_alloc_error': 0,
            'total_clients': 0,
            'total_servers': 0,
            'tx_bps': 14694814720.0,
            'tx_cps': 0.0,
            'tx_expected_bps': 0.0,
            'tx_expected_cps': 0.0,
            'tx_expected_pps': 0.0,
            'tx_pps': 28700800.0},
 'latency': {'global': {'bad_hdr': 0, 'old_flow': 0}},
 'total': {'ibytes': 9947603392,
           'ierrors': 0,
           'ipackets': 155431309,
           'obytes': 37057480832,
           'oerrors': 0,
           'opackets': 579023172,
           'rx_bps': 3965398016.0,
           'rx_bps_L1': 5204584576.0,
           'rx_pps': 7744916.0,
           'rx_util': 13.01146144,
           'tx_bps': 14694814720.0,
           'tx_bps_L1': 19286942720.0,
           'tx_pps': 28700800.0,
           'tx_util': 48.2173568}}
19/01/2021 15:25:58                         pktgen: {'ibytes': 9947603392,
 'ierrors': 0,
 'ipackets': 155431309,
 'obytes': 37057480832,
 'oerrors': 0,
 'opackets': 579023172,
 'rx_bps': 3965398016.0,
 'rx_bps_L1': 5204584576.0,
 'rx_pps': 7744916.0,
 'rx_util': 13.01146144,
 'tx_bps': 14694814720.0,
 'tx_bps_L1': 19286942720.0,
 'tx_pps': 28700800.0,
 'tx_util': 48.2173568}
19/01/2021 15:25:58                         pktgen: Tx Port 0 stats: 
tx_port: 0,  tx_bps: 14694814720.000000, tx_pps: 28700800.000000 
19/01/2021 15:25:58                         pktgen: {'ibytes': 9947603392,
 'ierrors': 0,
 'ipackets': 155431309,
 'obytes': 37057480832,
 'oerrors': 0,
 'opackets': 579023172,
 'rx_bps': 3965398016.0,
 'rx_bps_L1': 5204584576.0,
 'rx_pps': 7744916.0,
 'rx_util': 13.01146144,
 'tx_bps': 14694814720.0,
 'tx_bps_L1': 19286942720.0,
 'tx_pps': 28700800.0,
 'tx_util': 48.2173568}
19/01/2021 15:25:58                         pktgen: Rx Port 0 stats: 
rx_port: 0,  rx_bps: 3965398016.000000, rx_pps: 7744916.000000
19/01/2021 15:25:58                         pktgen: throughput: pps_rx 7744916.000000, bps_rx 3965398016.000000
19/01/2021 15:25:58                         pktgen: traffic completed. 
19/01/2021 15:25:58                         tester: ls -d /tmp/vhost_cbdma
19/01/2021 15:25:58                         tester: /tmp/vhost_cbdma
19/01/2021 15:25:58                         tester: scp -v /home/lingwei/dts_cbdma/output/tmp/pcap/multiqueuerandomip_1518.pcap root@10.240.183.217:/tmp/vhost_cbdma/multiqueuerandomip_1518.pcap
19/01/2021 15:26:00                         pktgen: test port 0 map gen port 0
19/01/2021 15:26:00                         pktgen: test port 0 map gen port 0
19/01/2021 15:26:00                         pktgen: {'arp': '-',
 'cores': [0, 1, 2, 3],
 'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
 'dest': 'b4:96:91:46:e0:5c',
 'driver': 'net_i40e',
 'fc': 'none',
 'fc_supported': 'no',
 'grat_arp': 'off',
 'hw_mac': '3c:fd:fe:c8:17:d0',
 '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': 1,
 'pci_addr': '0000:82:00.0',
 'prom': 'off',
 'prom_supported': 'yes',
 'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
 'rx_filter_mode': 'hardware match',
 'rx_queue': 'off',
 'speed': 40.0,
 'src_ipv4': '-',
 'src_mac': '3c:fd:fe:c8:17:d0',
 'stack': 'legacy',
 'status': 'IDLE',
 'supp_speeds': [40000],
 'vlan': '-',
 'vxlan_fs': '-'}
19/01/2021 15:26:00                         pktgen: trex port <0> not support flow control
19/01/2021 15:26:00                         pktgen: trex packet generator: run traffic 5s to warm up ... 
19/01/2021 15:26:00                         pktgen: check the trex port link status
19/01/2021 15:26:00                         pktgen: {'arp': '-',
 'cores': [0, 1, 2, 3],
 'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
 'dest': 'b4:96:91:46:e0:5c',
 'driver': 'net_i40e',
 'fc': 'none',
 'fc_supported': 'no',
 'grat_arp': 'off',
 'hw_mac': '3c:fd:fe:c8:17:d0',
 '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': 1,
 'pci_addr': '0000:82:00.0',
 'prom': 'on',
 'prom_supported': 'yes',
 'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
 'rx_filter_mode': 'hardware match',
 'rx_queue': 'off',
 'speed': 40.0,
 'src_ipv4': '-',
 'src_mac': '3c:fd:fe:c8:17:d0',
 'stack': 'legacy',
 'status': 'IDLE',
 'supp_speeds': [40000],
 'vlan': '-',
 'vxlan_fs': '-'}
19/01/2021 15:26:00                         pktgen: begin traffic ......
19/01/2021 15:26:00                         pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
19/01/2021 15:26:05                         pktgen: traffic completed. 
19/01/2021 15:26:05                         pktgen: check the trex port link status
19/01/2021 15:26:05                         pktgen: {'arp': '-',
 'cores': [0, 1, 2, 3],
 'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
 'dest': 'b4:96:91:46:e0:5c',
 'driver': 'net_i40e',
 'fc': 'none',
 'fc_supported': 'no',
 'grat_arp': 'off',
 'hw_mac': '3c:fd:fe:c8:17:d0',
 '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': 1,
 'pci_addr': '0000:82:00.0',
 'prom': 'on',
 'prom_supported': 'yes',
 'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
 'rx_filter_mode': 'hardware match',
 'rx_queue': 'off',
 'speed': 40.0,
 'src_ipv4': '-',
 'src_mac': '3c:fd:fe:c8:17:d0',
 'stack': 'legacy',
 'status': 'IDLE',
 'supp_speeds': [40000],
 'vlan': '-',
 'vxlan_fs': '-'}
19/01/2021 15:26:05                         pktgen: begin traffic ......
19/01/2021 15:26:05                         pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
19/01/2021 15:26:25                         pktgen: begin get port statistic ...
19/01/2021 15:26:25                         pktgen: {'options': {'fields_config': {'ip': {'src': {'action': 'random',
                                              'end': '1.1.1.64',
                                              'start': '1.1.1.1',
                                              'step': 1}}},
             'pcap': '/tmp/vhost_cbdma/multiqueuerandomip_1518.pcap',
             'stream_config': {'rate': 100,
                               'transmit_mode': 'continuous',
                               'txmode': {}}},
 'pcap_file': '/tmp/vhost_cbdma/multiqueuerandomip_1518.pcap',
 'rx_port': 0,
 'tx_port': 0}
19/01/2021 15:26:25                         pktgen: {0: {'ibytes': 98799137778,
     'ierrors': 0,
     'ipackets': 65085074,
     'obytes': 98799124116,
     'oerrors': 0,
     'opackets': 65085066,
     'rx_bps': 39395401728.0,
     'rx_bps_L1': 39914445248.0,
     'rx_pps': 3244022.0,
     'rx_util': 99.78611312,
     'tx_bps': 39395373056.0,
     'tx_bps_L1': 39914416256.0,
     'tx_pps': 3244020.0,
     'tx_util': 99.78604064},
 1: {'ibytes': 0,
     'ierrors': 0,
     'ipackets': 0,
     'obytes': 0,
     'oerrors': 0,
     'opackets': 0,
     'rx_bps': 0.0,
     'rx_bps_L1': 0,
     'rx_pps': 0.0,
     'rx_util': 0.0,
     'tx_bps': 0.0,
     'tx_bps_L1': 0,
     'tx_pps': 0.0,
     'tx_util': 0.0},
 'flow_stats': {},
 'global': {'active_flows': 0.0,
            'active_sockets': 0,
            'bw_per_core': 23.213512420654297,
            'cpu_util': 84.85440063476562,
            'cpu_util_raw': 84.0,
            'open_flows': 0.0,
            'platform_factor': 1.0,
            'queue_full': 56571560,
            'rx_bps': 39395401728.0,
            'rx_core_pps': 0.0,
            'rx_cpu_util': 0.0,
            'rx_drop_bps': 0.0,
            'rx_pps': 3244022.0,
            'socket_util': 0.0,
            'total_alloc_error': 0,
            'total_clients': 0,
            'total_servers': 0,
            'tx_bps': 39395373056.0,
            'tx_cps': 0.0,
            'tx_expected_bps': 0.0,
            'tx_expected_cps': 0.0,
            'tx_expected_pps': 0.0,
            'tx_pps': 3244020.0},
 'latency': {'global': {'bad_hdr': 0, 'old_flow': 0}},
 'total': {'ibytes': 98799137778,
           'ierrors': 0,
           'ipackets': 65085074,
           'obytes': 98799124116,
           'oerrors': 0,
           'opackets': 65085066,
           'rx_bps': 39395401728.0,
           'rx_bps_L1': 39914445248.0,
           'rx_pps': 3244022.0,
           'rx_util': 99.78611312,
           'tx_bps': 39395373056.0,
           'tx_bps_L1': 39914416256.0,
           'tx_pps': 3244020.0,
           'tx_util': 99.78604064}}
19/01/2021 15:26:25                         pktgen: {'ibytes': 98799137778,
 'ierrors': 0,
 'ipackets': 65085074,
 'obytes': 98799124116,
 'oerrors': 0,
 'opackets': 65085066,
 'rx_bps': 39395401728.0,
 'rx_bps_L1': 39914445248.0,
 'rx_pps': 3244022.0,
 'rx_util': 99.78611312,
 'tx_bps': 39395373056.0,
 'tx_bps_L1': 39914416256.0,
 'tx_pps': 3244020.0,
 'tx_util': 99.78604064}
19/01/2021 15:26:25                         pktgen: Tx Port 0 stats: 
tx_port: 0,  tx_bps: 39395373056.000000, tx_pps: 3244020.000000 
19/01/2021 15:26:25                         pktgen: {'ibytes': 98799137778,
 'ierrors': 0,
 'ipackets': 65085074,
 'obytes': 98799124116,
 'oerrors': 0,
 'opackets': 65085066,
 'rx_bps': 39395401728.0,
 'rx_bps_L1': 39914445248.0,
 'rx_pps': 3244022.0,
 'rx_util': 99.78611312,
 'tx_bps': 39395373056.0,
 'tx_bps_L1': 39914416256.0,
 'tx_pps': 3244020.0,
 'tx_util': 99.78604064}
19/01/2021 15:26:25                         pktgen: Rx Port 0 stats: 
rx_port: 0,  rx_bps: 39395401728.000000, rx_pps: 3244022.000000
19/01/2021 15:26:25                         pktgen: throughput: pps_rx 3244022.000000, bps_rx 39395401728.000000
19/01/2021 15:26:25                         pktgen: traffic completed. 
19/01/2021 15:26:25                         tester: ls -d /tmp/vhost_cbdma
19/01/2021 15:26:25                         tester: /tmp/vhost_cbdma
19/01/2021 15:26:25                         tester: scp -v /home/lingwei/dts_cbdma/output/tmp/pcap/multiqueuerandomip_64.pcap root@10.240.183.217:/tmp/vhost_cbdma/multiqueuerandomip_64.pcap
19/01/2021 15:26:27                         pktgen: test port 0 map gen port 0
19/01/2021 15:26:27                         pktgen: test port 0 map gen port 0
19/01/2021 15:26:27                         pktgen: {'arp': '-',
 'cores': [0, 1, 2, 3],
 'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
 'dest': 'b4:96:91:46:e0:5c',
 'driver': 'net_i40e',
 'fc': 'none',
 'fc_supported': 'no',
 'grat_arp': 'off',
 'hw_mac': '3c:fd:fe:c8:17:d0',
 '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': 1,
 'pci_addr': '0000:82:00.0',
 'prom': 'off',
 'prom_supported': 'yes',
 'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
 'rx_filter_mode': 'hardware match',
 'rx_queue': 'off',
 'speed': 40.0,
 'src_ipv4': '-',
 'src_mac': '3c:fd:fe:c8:17:d0',
 'stack': 'legacy',
 'status': 'IDLE',
 'supp_speeds': [40000],
 'vlan': '-',
 'vxlan_fs': '-'}
19/01/2021 15:26:27                         pktgen: trex port <0> not support flow control
19/01/2021 15:26:27                         pktgen: trex packet generator: run traffic 5s to warm up ... 
19/01/2021 15:26:27                         pktgen: check the trex port link status
19/01/2021 15:26:27                         pktgen: {'arp': '-',
 'cores': [0, 1, 2, 3],
 'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
 'dest': 'b4:96:91:46:e0:5c',
 'driver': 'net_i40e',
 'fc': 'none',
 'fc_supported': 'no',
 'grat_arp': 'off',
 'hw_mac': '3c:fd:fe:c8:17:d0',
 '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': 1,
 'pci_addr': '0000:82:00.0',
 'prom': 'on',
 'prom_supported': 'yes',
 'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
 'rx_filter_mode': 'hardware match',
 'rx_queue': 'off',
 'speed': 40.0,
 'src_ipv4': '-',
 'src_mac': '3c:fd:fe:c8:17:d0',
 'stack': 'legacy',
 'status': 'IDLE',
 'supp_speeds': [40000],
 'vlan': '-',
 'vxlan_fs': '-'}
19/01/2021 15:26:27                         pktgen: begin traffic ......
19/01/2021 15:26:27                         pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
19/01/2021 15:26:32                         pktgen: traffic completed. 
19/01/2021 15:26:32                         pktgen: check the trex port link status
19/01/2021 15:26:32                         pktgen: {'arp': '-',
 'cores': [0, 1, 2, 3],
 'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
 'dest': 'b4:96:91:46:e0:5c',
 'driver': 'net_i40e',
 'fc': 'none',
 'fc_supported': 'no',
 'grat_arp': 'off',
 'hw_mac': '3c:fd:fe:c8:17:d0',
 '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': 1,
 'pci_addr': '0000:82:00.0',
 'prom': 'on',
 'prom_supported': 'yes',
 'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
 'rx_filter_mode': 'hardware match',
 'rx_queue': 'off',
 'speed': 40.0,
 'src_ipv4': '-',
 'src_mac': '3c:fd:fe:c8:17:d0',
 'stack': 'legacy',
 'status': 'IDLE',
 'supp_speeds': [40000],
 'vlan': '-',
 'vxlan_fs': '-'}
19/01/2021 15:26:32                         pktgen: begin traffic ......
19/01/2021 15:26:32                         pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
19/01/2021 15:26:52                         pktgen: begin get port statistic ...
19/01/2021 15:26:52                         pktgen: {'options': {'fields_config': {'ip': {'src': {'action': 'random',
                                              'end': '1.1.1.64',
                                              'start': '1.1.1.1',
                                              'step': 1}}},
             'pcap': '/tmp/vhost_cbdma/multiqueuerandomip_64.pcap',
             'stream_config': {'rate': 100,
                               'transmit_mode': 'continuous',
                               'txmode': {}}},
 'pcap_file': '/tmp/vhost_cbdma/multiqueuerandomip_64.pcap',
 'rx_port': 0,
 'tx_port': 0}
19/01/2021 15:26:52                         pktgen: {0: {'ibytes': 9946712832,
     'ierrors': 0,
     'ipackets': 155417388,
     'obytes': 37845550528,
     'oerrors': 0,
     'opackets': 591336765,
     'rx_bps': 3977730816.0,
     'rx_bps_L1': 5220771296.0,
     'rx_pps': 7769003.0,
     'rx_util': 13.051928239999999,
     'tx_bps': 15022403584.0,
     'tx_bps_L1': 19716905984.0,
     'tx_pps': 29340640.0,
     'tx_util': 49.29226496},
 1: {'ibytes': 0,
     'ierrors': 0,
     'ipackets': 0,
     'obytes': 0,
     'oerrors': 0,
     'opackets': 0,
     'rx_bps': 0.0,
     'rx_bps_L1': 0,
     'rx_pps': 0.0,
     'rx_util': 0.0,
     'tx_bps': 0.0,
     'tx_bps_L1': 0,
     'tx_pps': 0.0,
     'tx_util': 0.0},
 'flow_stats': {},
 'global': {'active_flows': 0.0,
            'active_sockets': 0,
            'bw_per_core': 7.515317916870117,
            'cpu_util': 99.94522857666016,
            'cpu_util_raw': 100.0,
            'open_flows': 0.0,
            'platform_factor': 1.0,
            'queue_full': 0,
            'rx_bps': 3977730816.0,
            'rx_core_pps': 0.0,
            'rx_cpu_util': 0.0,
            'rx_drop_bps': 11044672512.0,
            'rx_pps': 7769003.0,
            'socket_util': 0.0,
            'total_alloc_error': 0,
            'total_clients': 0,
            'total_servers': 0,
            'tx_bps': 15022403584.0,
            'tx_cps': 0.0,
            'tx_expected_bps': 0.0,
            'tx_expected_cps': 0.0,
            'tx_expected_pps': 0.0,
            'tx_pps': 29340640.0},
 'latency': {'global': {'bad_hdr': 0, 'old_flow': 0}},
 'total': {'ibytes': 9946712832,
           'ierrors': 0,
           'ipackets': 155417388,
           'obytes': 37845550528,
           'oerrors': 0,
           'opackets': 591336765,
           'rx_bps': 3977730816.0,
           'rx_bps_L1': 5220771296.0,
           'rx_pps': 7769003.0,
           'rx_util': 13.051928239999999,
           'tx_bps': 15022403584.0,
           'tx_bps_L1': 19716905984.0,
           'tx_pps': 29340640.0,
           'tx_util': 49.29226496}}
19/01/2021 15:26:52                         pktgen: {'ibytes': 9946712832,
 'ierrors': 0,
 'ipackets': 155417388,
 'obytes': 37845550528,
 'oerrors': 0,
 'opackets': 591336765,
 'rx_bps': 3977730816.0,
 'rx_bps_L1': 5220771296.0,
 'rx_pps': 7769003.0,
 'rx_util': 13.051928239999999,
 'tx_bps': 15022403584.0,
 'tx_bps_L1': 19716905984.0,
 'tx_pps': 29340640.0,
 'tx_util': 49.29226496}
19/01/2021 15:26:52                         pktgen: Tx Port 0 stats: 
tx_port: 0,  tx_bps: 15022403584.000000, tx_pps: 29340640.000000 
19/01/2021 15:26:52                         pktgen: {'ibytes': 9946712832,
 'ierrors': 0,
 'ipackets': 155417388,
 'obytes': 37845550528,
 'oerrors': 0,
 'opackets': 591336765,
 'rx_bps': 3977730816.0,
 'rx_bps_L1': 5220771296.0,
 'rx_pps': 7769003.0,
 'rx_util': 13.051928239999999,
 'tx_bps': 15022403584.0,
 'tx_bps_L1': 19716905984.0,
 'tx_pps': 29340640.0,
 'tx_util': 49.29226496}
19/01/2021 15:26:52                         pktgen: Rx Port 0 stats: 
rx_port: 0,  rx_bps: 3977730816.000000, rx_pps: 7769003.000000
19/01/2021 15:26:52                         pktgen: throughput: pps_rx 7769003.000000, bps_rx 3977730816.000000
19/01/2021 15:26:52                         pktgen: traffic completed. 
19/01/2021 15:26:52                         tester: ls -d /tmp/vhost_cbdma
19/01/2021 15:26:53                         tester: /tmp/vhost_cbdma
19/01/2021 15:26:53                         tester: scp -v /home/lingwei/dts_cbdma/output/tmp/pcap/multiqueuerandomip_1518.pcap root@10.240.183.217:/tmp/vhost_cbdma/multiqueuerandomip_1518.pcap
19/01/2021 15:26:55                         pktgen: test port 0 map gen port 0
19/01/2021 15:26:55                         pktgen: test port 0 map gen port 0
19/01/2021 15:26:55                         pktgen: {'arp': '-',
 'cores': [0, 1, 2, 3],
 'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
 'dest': 'b4:96:91:46:e0:5c',
 'driver': 'net_i40e',
 'fc': 'none',
 'fc_supported': 'no',
 'grat_arp': 'off',
 'hw_mac': '3c:fd:fe:c8:17:d0',
 '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': 1,
 'pci_addr': '0000:82:00.0',
 'prom': 'off',
 'prom_supported': 'yes',
 'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
 'rx_filter_mode': 'hardware match',
 'rx_queue': 'off',
 'speed': 40.0,
 'src_ipv4': '-',
 'src_mac': '3c:fd:fe:c8:17:d0',
 'stack': 'legacy',
 'status': 'IDLE',
 'supp_speeds': [40000],
 'vlan': '-',
 'vxlan_fs': '-'}
19/01/2021 15:26:55                         pktgen: trex port <0> not support flow control
19/01/2021 15:26:55                         pktgen: trex packet generator: run traffic 5s to warm up ... 
19/01/2021 15:26:55                         pktgen: check the trex port link status
19/01/2021 15:26:55                         pktgen: {'arp': '-',
 'cores': [0, 1, 2, 3],
 'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
 'dest': 'b4:96:91:46:e0:5c',
 'driver': 'net_i40e',
 'fc': 'none',
 'fc_supported': 'no',
 'grat_arp': 'off',
 'hw_mac': '3c:fd:fe:c8:17:d0',
 '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': 1,
 'pci_addr': '0000:82:00.0',
 'prom': 'on',
 'prom_supported': 'yes',
 'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
 'rx_filter_mode': 'hardware match',
 'rx_queue': 'off',
 'speed': 40.0,
 'src_ipv4': '-',
 'src_mac': '3c:fd:fe:c8:17:d0',
 'stack': 'legacy',
 'status': 'IDLE',
 'supp_speeds': [40000],
 'vlan': '-',
 'vxlan_fs': '-'}
19/01/2021 15:26:55                         pktgen: begin traffic ......
19/01/2021 15:26:55                         pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
19/01/2021 15:27:00                         pktgen: traffic completed. 
19/01/2021 15:27:00                         pktgen: check the trex port link status
19/01/2021 15:27:00                         pktgen: {'arp': '-',
 'cores': [0, 1, 2, 3],
 'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
 'dest': 'b4:96:91:46:e0:5c',
 'driver': 'net_i40e',
 'fc': 'none',
 'fc_supported': 'no',
 'grat_arp': 'off',
 'hw_mac': '3c:fd:fe:c8:17:d0',
 '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': 1,
 'pci_addr': '0000:82:00.0',
 'prom': 'on',
 'prom_supported': 'yes',
 'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
 'rx_filter_mode': 'hardware match',
 'rx_queue': 'off',
 'speed': 40.0,
 'src_ipv4': '-',
 'src_mac': '3c:fd:fe:c8:17:d0',
 'stack': 'legacy',
 'status': 'IDLE',
 'supp_speeds': [40000],
 'vlan': '-',
 'vxlan_fs': '-'}
19/01/2021 15:27:00                         pktgen: begin traffic ......
19/01/2021 15:27:00                         pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
19/01/2021 15:27:20                         pktgen: begin get port statistic ...
19/01/2021 15:27:20                         pktgen: {'options': {'fields_config': {'ip': {'src': {'action': 'random',
                                              'end': '1.1.1.64',
                                              'start': '1.1.1.1',
                                              'step': 1}}},
             'pcap': '/tmp/vhost_cbdma/multiqueuerandomip_1518.pcap',
             'stream_config': {'rate': 100,
                               'transmit_mode': 'continuous',
                               'txmode': {}}},
 'pcap_file': '/tmp/vhost_cbdma/multiqueuerandomip_1518.pcap',
 'rx_port': 0,
 'tx_port': 0}
19/01/2021 15:27:20                         pktgen: {0: {'ibytes': 98800130550,
     'ierrors': 0,
     'ipackets': 65085728,
     'obytes': 98800132068,
     'oerrors': 0,
     'opackets': 65085729,
     'rx_bps': 39482368000.0,
     'rx_bps_L1': 40002557200.0,
     'rx_pps': 3251182.5,
     'rx_util': 100.006393,
     'tx_bps': 39482384384.0,
     'tx_bps_L1': 40002573984.0,
     'tx_pps': 3251185.0,
     'tx_util': 100.00643495999999},
 1: {'ibytes': 0,
     'ierrors': 0,
     'ipackets': 0,
     'obytes': 0,
     'oerrors': 0,
     'opackets': 0,
     'rx_bps': 0.0,
     'rx_bps_L1': 0,
     'rx_pps': 0.0,
     'rx_util': 0.0,
     'tx_bps': 0.0,
     'tx_bps_L1': 0,
     'tx_pps': 0.0,
     'tx_util': 0.0},
 'flow_stats': {},
 'global': {'active_flows': 0.0,
            'active_sockets': 0,
            'bw_per_core': 23.1774845123291,
            'cpu_util': 85.17400360107422,
            'cpu_util_raw': 84.0,
            'open_flows': 0.0,
            'platform_factor': 1.0,
            'queue_full': 56593382,
            'rx_bps': 39482368000.0,
            'rx_core_pps': 0.0,
            'rx_cpu_util': 0.0,
            'rx_drop_bps': 0.0,
            'rx_pps': 3251182.5,
            'socket_util': 0.0,
            'total_alloc_error': 0,
            'total_clients': 0,
            'total_servers': 0,
            'tx_bps': 39482384384.0,
            'tx_cps': 0.0,
            'tx_expected_bps': 0.0,
            'tx_expected_cps': 0.0,
            'tx_expected_pps': 0.0,
            'tx_pps': 3251185.0},
 'latency': {'global': {'bad_hdr': 0, 'old_flow': 0}},
 'total': {'ibytes': 98800130550,
           'ierrors': 0,
           'ipackets': 65085728,
           'obytes': 98800132068,
           'oerrors': 0,
           'opackets': 65085729,
           'rx_bps': 39482368000.0,
           'rx_bps_L1': 40002557200.0,
           'rx_pps': 3251182.5,
           'rx_util': 100.006393,
           'tx_bps': 39482384384.0,
           'tx_bps_L1': 40002573984.0,
           'tx_pps': 3251185.0,
           'tx_util': 100.00643495999999}}
19/01/2021 15:27:20                         pktgen: {'ibytes': 98800130550,
 'ierrors': 0,
 'ipackets': 65085728,
 'obytes': 98800132068,
 'oerrors': 0,
 'opackets': 65085729,
 'rx_bps': 39482368000.0,
 'rx_bps_L1': 40002557200.0,
 'rx_pps': 3251182.5,
 'rx_util': 100.006393,
 'tx_bps': 39482384384.0,
 'tx_bps_L1': 40002573984.0,
 'tx_pps': 3251185.0,
 'tx_util': 100.00643495999999}
19/01/2021 15:27:20                         pktgen: Tx Port 0 stats: 
tx_port: 0,  tx_bps: 39482384384.000000, tx_pps: 3251185.000000 
19/01/2021 15:27:20                         pktgen: {'ibytes': 98800130550,
 'ierrors': 0,
 'ipackets': 65085728,
 'obytes': 98800132068,
 'oerrors': 0,
 'opackets': 65085729,
 'rx_bps': 39482368000.0,
 'rx_bps_L1': 40002557200.0,
 'rx_pps': 3251182.5,
 'rx_util': 100.006393,
 'tx_bps': 39482384384.0,
 'tx_bps_L1': 40002573984.0,
 'tx_pps': 3251185.0,
 'tx_util': 100.00643495999999}
19/01/2021 15:27:20                         pktgen: Rx Port 0 stats: 
rx_port: 0,  rx_bps: 39482368000.000000, rx_pps: 3251182.500000
19/01/2021 15:27:20                         pktgen: throughput: pps_rx 3251182.500000, bps_rx 39482368000.000000
19/01/2021 15:27:20                         pktgen: traffic completed. 
19/01/2021 15:27:23             dut.10.240.183.220: cat /proc/meminfo |grep Hugepagesize|awk '{print($2)}'
19/01/2021 15:27:23             dut.10.240.183.220: 1048576
19/01/2021 15:27:34                         tester: ls -d /tmp/vhost_cbdma
19/01/2021 15:27:34                         tester: /tmp/vhost_cbdma
19/01/2021 15:27:34                         tester: scp -v /home/lingwei/dts_cbdma/output/tmp/pcap/multiqueuerandomip_64.pcap root@10.240.183.217:/tmp/vhost_cbdma/multiqueuerandomip_64.pcap
19/01/2021 15:27:36                         pktgen: test port 0 map gen port 0
19/01/2021 15:27:36                         pktgen: test port 0 map gen port 0
19/01/2021 15:27:36                         pktgen: {'arp': '-',
 'cores': [0, 1, 2, 3],
 'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
 'dest': 'b4:96:91:46:e0:5c',
 'driver': 'net_i40e',
 'fc': 'none',
 'fc_supported': 'no',
 'grat_arp': 'off',
 'hw_mac': '3c:fd:fe:c8:17:d0',
 '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': 1,
 'pci_addr': '0000:82:00.0',
 'prom': 'off',
 'prom_supported': 'yes',
 'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
 'rx_filter_mode': 'hardware match',
 'rx_queue': 'off',
 'speed': 40.0,
 'src_ipv4': '-',
 'src_mac': '3c:fd:fe:c8:17:d0',
 'stack': 'legacy',
 'status': 'IDLE',
 'supp_speeds': [40000],
 'vlan': '-',
 'vxlan_fs': '-'}
19/01/2021 15:27:36                         pktgen: trex port <0> not support flow control
19/01/2021 15:27:36                         pktgen: trex packet generator: run traffic 5s to warm up ... 
19/01/2021 15:27:36                         pktgen: check the trex port link status
19/01/2021 15:27:36                         pktgen: {'arp': '-',
 'cores': [0, 1, 2, 3],
 'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
 'dest': 'b4:96:91:46:e0:5c',
 'driver': 'net_i40e',
 'fc': 'none',
 'fc_supported': 'no',
 'grat_arp': 'off',
 'hw_mac': '3c:fd:fe:c8:17:d0',
 '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': 1,
 'pci_addr': '0000:82:00.0',
 'prom': 'on',
 'prom_supported': 'yes',
 'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
 'rx_filter_mode': 'hardware match',
 'rx_queue': 'off',
 'speed': 40.0,
 'src_ipv4': '-',
 'src_mac': '3c:fd:fe:c8:17:d0',
 'stack': 'legacy',
 'status': 'IDLE',
 'supp_speeds': [40000],
 'vlan': '-',
 'vxlan_fs': '-'}
19/01/2021 15:27:36                         pktgen: begin traffic ......
19/01/2021 15:27:36                         pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
19/01/2021 15:27:41                         pktgen: traffic completed. 
19/01/2021 15:27:41                         pktgen: check the trex port link status
19/01/2021 15:27:41                         pktgen: {'arp': '-',
 'cores': [0, 1, 2, 3],
 'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
 'dest': 'b4:96:91:46:e0:5c',
 'driver': 'net_i40e',
 'fc': 'none',
 'fc_supported': 'no',
 'grat_arp': 'off',
 'hw_mac': '3c:fd:fe:c8:17:d0',
 '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': 1,
 'pci_addr': '0000:82:00.0',
 'prom': 'on',
 'prom_supported': 'yes',
 'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
 'rx_filter_mode': 'hardware match',
 'rx_queue': 'off',
 'speed': 40.0,
 'src_ipv4': '-',
 'src_mac': '3c:fd:fe:c8:17:d0',
 'stack': 'legacy',
 'status': 'IDLE',
 'supp_speeds': [40000],
 'vlan': '-',
 'vxlan_fs': '-'}
19/01/2021 15:27:41                         pktgen: begin traffic ......
19/01/2021 15:27:41                         pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
19/01/2021 15:28:01                         pktgen: begin get port statistic ...
19/01/2021 15:28:01                         pktgen: {'options': {'fields_config': {'ip': {'src': {'action': 'random',
                                              'end': '1.1.1.64',
                                              'start': '1.1.1.1',
                                              'step': 1}}},
             'pcap': '/tmp/vhost_cbdma/multiqueuerandomip_64.pcap',
             'stream_config': {'rate': 100,
                               'transmit_mode': 'continuous',
                               'txmode': {}}},
 'pcap_file': '/tmp/vhost_cbdma/multiqueuerandomip_64.pcap',
 'rx_port': 0,
 'tx_port': 0}
19/01/2021 15:28:01                         pktgen: {0: {'ibytes': 9791725184,
     'ierrors': 0,
     'ipackets': 152995718,
     'obytes': 37246156480,
     'oerrors': 0,
     'opackets': 581971254,
     'rx_bps': 3923053056.0,
     'rx_bps_L1': 5149007296.0,
     'rx_pps': 7662214.0,
     'rx_util': 12.87251824,
     'tx_bps': 14823659520.0,
     'tx_bps_L1': 19456050560.000004,
     'tx_pps': 28952444.0,
     'tx_util': 48.640126400000014},
 1: {'ibytes': 0,
     'ierrors': 0,
     'ipackets': 0,
     'obytes': 0,
     'oerrors': 0,
     'opackets': 0,
     'rx_bps': 0.0,
     'rx_bps_L1': 0,
     'rx_pps': 0.0,
     'rx_util': 0.0,
     'tx_bps': 0.0,
     'tx_bps_L1': 0,
     'tx_pps': 0.0,
     'tx_util': 0.0},
 'flow_stats': {},
 'global': {'active_flows': 0.0,
            'active_sockets': 0,
            'bw_per_core': 7.418593883514404,
            'cpu_util': 99.90882110595703,
            'cpu_util_raw': 100.0,
            'open_flows': 0.0,
            'platform_factor': 1.0,
            'queue_full': 0,
            'rx_bps': 3923053056.0,
            'rx_core_pps': 0.0,
            'rx_cpu_util': 0.0,
            'rx_drop_bps': 10900605952.0,
            'rx_pps': 7662214.0,
            'socket_util': 0.0,
            'total_alloc_error': 0,
            'total_clients': 0,
            'total_servers': 0,
            'tx_bps': 14823659520.0,
            'tx_cps': 0.0,
            'tx_expected_bps': 0.0,
            'tx_expected_cps': 0.0,
            'tx_expected_pps': 0.0,
            'tx_pps': 28952444.0},
 'latency': {'global': {'bad_hdr': 0, 'old_flow': 0}},
 'total': {'ibytes': 9791725184,
           'ierrors': 0,
           'ipackets': 152995718,
           'obytes': 37246156480,
           'oerrors': 0,
           'opackets': 581971254,
           'rx_bps': 3923053056.0,
           'rx_bps_L1': 5149007296.0,
           'rx_pps': 7662214.0,
           'rx_util': 12.87251824,
           'tx_bps': 14823659520.0,
           'tx_bps_L1': 19456050560.000004,
           'tx_pps': 28952444.0,
           'tx_util': 48.640126400000014}}
19/01/2021 15:28:01                         pktgen: {'ibytes': 9791725184,
 'ierrors': 0,
 'ipackets': 152995718,
 'obytes': 37246156480,
 'oerrors': 0,
 'opackets': 581971254,
 'rx_bps': 3923053056.0,
 'rx_bps_L1': 5149007296.0,
 'rx_pps': 7662214.0,
 'rx_util': 12.87251824,
 'tx_bps': 14823659520.0,
 'tx_bps_L1': 19456050560.000004,
 'tx_pps': 28952444.0,
 'tx_util': 48.640126400000014}
19/01/2021 15:28:01                         pktgen: Tx Port 0 stats: 
tx_port: 0,  tx_bps: 14823659520.000000, tx_pps: 28952444.000000 
19/01/2021 15:28:01                         pktgen: {'ibytes': 9791725184,
 'ierrors': 0,
 'ipackets': 152995718,
 'obytes': 37246156480,
 'oerrors': 0,
 'opackets': 581971254,
 'rx_bps': 3923053056.0,
 'rx_bps_L1': 5149007296.0,
 'rx_pps': 7662214.0,
 'rx_util': 12.87251824,
 'tx_bps': 14823659520.0,
 'tx_bps_L1': 19456050560.000004,
 'tx_pps': 28952444.0,
 'tx_util': 48.640126400000014}
19/01/2021 15:28:01                         pktgen: Rx Port 0 stats: 
rx_port: 0,  rx_bps: 3923053056.000000, rx_pps: 7662214.000000
19/01/2021 15:28:01                         pktgen: throughput: pps_rx 7662214.000000, bps_rx 3923053056.000000
19/01/2021 15:28:01                         pktgen: traffic completed. 
19/01/2021 15:28:01                         tester: ls -d /tmp/vhost_cbdma
19/01/2021 15:28:02                         tester: /tmp/vhost_cbdma
19/01/2021 15:28:02                         tester: scp -v /home/lingwei/dts_cbdma/output/tmp/pcap/multiqueuerandomip_1518.pcap root@10.240.183.217:/tmp/vhost_cbdma/multiqueuerandomip_1518.pcap
19/01/2021 15:28:04                         pktgen: test port 0 map gen port 0
19/01/2021 15:28:04                         pktgen: test port 0 map gen port 0
19/01/2021 15:28:04                         pktgen: {'arp': '-',
 'cores': [0, 1, 2, 3],
 'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
 'dest': 'b4:96:91:46:e0:5c',
 'driver': 'net_i40e',
 'fc': 'none',
 'fc_supported': 'no',
 'grat_arp': 'off',
 'hw_mac': '3c:fd:fe:c8:17:d0',
 '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': 1,
 'pci_addr': '0000:82:00.0',
 'prom': 'off',
 'prom_supported': 'yes',
 'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
 'rx_filter_mode': 'hardware match',
 'rx_queue': 'off',
 'speed': 40.0,
 'src_ipv4': '-',
 'src_mac': '3c:fd:fe:c8:17:d0',
 'stack': 'legacy',
 'status': 'IDLE',
 'supp_speeds': [40000],
 'vlan': '-',
 'vxlan_fs': '-'}
19/01/2021 15:28:04                         pktgen: trex port <0> not support flow control
19/01/2021 15:28:04                         pktgen: trex packet generator: run traffic 5s to warm up ... 
19/01/2021 15:28:04                         pktgen: check the trex port link status
19/01/2021 15:28:04                         pktgen: {'arp': '-',
 'cores': [0, 1, 2, 3],
 'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
 'dest': 'b4:96:91:46:e0:5c',
 'driver': 'net_i40e',
 'fc': 'none',
 'fc_supported': 'no',
 'grat_arp': 'off',
 'hw_mac': '3c:fd:fe:c8:17:d0',
 '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': 1,
 'pci_addr': '0000:82:00.0',
 'prom': 'on',
 'prom_supported': 'yes',
 'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
 'rx_filter_mode': 'hardware match',
 'rx_queue': 'off',
 'speed': 40.0,
 'src_ipv4': '-',
 'src_mac': '3c:fd:fe:c8:17:d0',
 'stack': 'legacy',
 'status': 'IDLE',
 'supp_speeds': [40000],
 'vlan': '-',
 'vxlan_fs': '-'}
19/01/2021 15:28:04                         pktgen: begin traffic ......
19/01/2021 15:28:04                         pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
19/01/2021 15:28:09                         pktgen: traffic completed. 
19/01/2021 15:28:09                         pktgen: check the trex port link status
19/01/2021 15:28:09                         pktgen: {'arp': '-',
 'cores': [0, 1, 2, 3],
 'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
 'dest': 'b4:96:91:46:e0:5c',
 'driver': 'net_i40e',
 'fc': 'none',
 'fc_supported': 'no',
 'grat_arp': 'off',
 'hw_mac': '3c:fd:fe:c8:17:d0',
 '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': 1,
 'pci_addr': '0000:82:00.0',
 'prom': 'on',
 'prom_supported': 'yes',
 'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
 'rx_filter_mode': 'hardware match',
 'rx_queue': 'off',
 'speed': 40.0,
 'src_ipv4': '-',
 'src_mac': '3c:fd:fe:c8:17:d0',
 'stack': 'legacy',
 'status': 'IDLE',
 'supp_speeds': [40000],
 'vlan': '-',
 'vxlan_fs': '-'}
19/01/2021 15:28:09                         pktgen: begin traffic ......
19/01/2021 15:28:09                         pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
19/01/2021 15:28:29                         pktgen: begin get port statistic ...
19/01/2021 15:28:29                         pktgen: {'options': {'fields_config': {'ip': {'src': {'action': 'random',
                                              'end': '1.1.1.64',
                                              'start': '1.1.1.1',
                                              'step': 1}}},
             'pcap': '/tmp/vhost_cbdma/multiqueuerandomip_1518.pcap',
             'stream_config': {'rate': 100,
                               'transmit_mode': 'continuous',
                               'txmode': {}}},
 'pcap_file': '/tmp/vhost_cbdma/multiqueuerandomip_1518.pcap',
 'rx_port': 0,
 'tx_port': 0}
19/01/2021 15:28:29                         pktgen: {0: {'ibytes': 98803291026,
     'ierrors': 0,
     'ipackets': 65087811,
     'obytes': 98803301652,
     'oerrors': 0,
     'opackets': 65087818,
     'rx_bps': 39394738176.0,
     'rx_bps_L1': 39913773016.0,
     'rx_pps': 3243967.75,
     'rx_util': 99.78443254,
     'tx_bps': 39394725888.0,
     'tx_bps_L1': 39913760607.99999,
     'tx_pps': 3243967.0,
     'tx_util': 99.78440151999997},
 1: {'ibytes': 0,
     'ierrors': 0,
     'ipackets': 0,
     'obytes': 0,
     'oerrors': 0,
     'opackets': 0,
     'rx_bps': 0.0,
     'rx_bps_L1': 0,
     'rx_pps': 0.0,
     'rx_util': 0.0,
     'tx_bps': 0.0,
     'tx_bps_L1': 0,
     'tx_pps': 0.0,
     'tx_util': 0.0},
 'flow_stats': {},
 'global': {'active_flows': 0.0,
            'active_sockets': 0,
            'bw_per_core': 23.114418029785156,
            'cpu_util': 85.21678161621094,
            'cpu_util_raw': 84.75,
            'open_flows': 0.0,
            'platform_factor': 1.0,
            'queue_full': 56599972,
            'rx_bps': 39394738176.0,
            'rx_core_pps': 0.0,
            'rx_cpu_util': 0.0,
            'rx_drop_bps': 0.0,
            'rx_pps': 3243967.75,
            'socket_util': 0.0,
            'total_alloc_error': 0,
            'total_clients': 0,
            'total_servers': 0,
            'tx_bps': 39394725888.0,
            'tx_cps': 0.0,
            'tx_expected_bps': 0.0,
            'tx_expected_cps': 0.0,
            'tx_expected_pps': 0.0,
            'tx_pps': 3243967.0},
 'latency': {'global': {'bad_hdr': 0, 'old_flow': 0}},
 'total': {'ibytes': 98803291026,
           'ierrors': 0,
           'ipackets': 65087811,
           'obytes': 98803301652,
           'oerrors': 0,
           'opackets': 65087818,
           'rx_bps': 39394738176.0,
           'rx_bps_L1': 39913773016.0,
           'rx_pps': 3243967.75,
           'rx_util': 99.78443254,
           'tx_bps': 39394725888.0,
           'tx_bps_L1': 39913760607.99999,
           'tx_pps': 3243967.0,
           'tx_util': 99.78440151999997}}
19/01/2021 15:28:29                         pktgen: {'ibytes': 98803291026,
 'ierrors': 0,
 'ipackets': 65087811,
 'obytes': 98803301652,
 'oerrors': 0,
 'opackets': 65087818,
 'rx_bps': 39394738176.0,
 'rx_bps_L1': 39913773016.0,
 'rx_pps': 3243967.75,
 'rx_util': 99.78443254,
 'tx_bps': 39394725888.0,
 'tx_bps_L1': 39913760607.99999,
 'tx_pps': 3243967.0,
 'tx_util': 99.78440151999997}
19/01/2021 15:28:29                         pktgen: Tx Port 0 stats: 
tx_port: 0,  tx_bps: 39394725888.000000, tx_pps: 3243967.000000 
19/01/2021 15:28:29                         pktgen: {'ibytes': 98803291026,
 'ierrors': 0,
 'ipackets': 65087811,
 'obytes': 98803301652,
 'oerrors': 0,
 'opackets': 65087818,
 'rx_bps': 39394738176.0,
 'rx_bps_L1': 39913773016.0,
 'rx_pps': 3243967.75,
 'rx_util': 99.78443254,
 'tx_bps': 39394725888.0,
 'tx_bps_L1': 39913760607.99999,
 'tx_pps': 3243967.0,
 'tx_util': 99.78440151999997}
19/01/2021 15:28:29                         pktgen: Rx Port 0 stats: 
rx_port: 0,  rx_bps: 39394738176.000000, rx_pps: 3243967.750000
19/01/2021 15:28:29                         pktgen: throughput: pps_rx 3243967.750000, bps_rx 39394738176.000000
19/01/2021 15:28:29                         pktgen: traffic completed. 
19/01/2021 15:28:29                         tester: ls -d /tmp/vhost_cbdma
19/01/2021 15:28:29                         tester: /tmp/vhost_cbdma
19/01/2021 15:28:29                         tester: scp -v /home/lingwei/dts_cbdma/output/tmp/pcap/multiqueuerandomip_64.pcap root@10.240.183.217:/tmp/vhost_cbdma/multiqueuerandomip_64.pcap
19/01/2021 15:28:31                         pktgen: test port 0 map gen port 0
19/01/2021 15:28:31                         pktgen: test port 0 map gen port 0
19/01/2021 15:28:31                         pktgen: {'arp': '-',
 'cores': [0, 1, 2, 3],
 'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
 'dest': 'b4:96:91:46:e0:5c',
 'driver': 'net_i40e',
 'fc': 'none',
 'fc_supported': 'no',
 'grat_arp': 'off',
 'hw_mac': '3c:fd:fe:c8:17:d0',
 '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': 1,
 'pci_addr': '0000:82:00.0',
 'prom': 'off',
 'prom_supported': 'yes',
 'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
 'rx_filter_mode': 'hardware match',
 'rx_queue': 'off',
 'speed': 40.0,
 'src_ipv4': '-',
 'src_mac': '3c:fd:fe:c8:17:d0',
 'stack': 'legacy',
 'status': 'IDLE',
 'supp_speeds': [40000],
 'vlan': '-',
 'vxlan_fs': '-'}
19/01/2021 15:28:31                         pktgen: trex port <0> not support flow control
19/01/2021 15:28:31                         pktgen: trex packet generator: run traffic 5s to warm up ... 
19/01/2021 15:28:31                         pktgen: check the trex port link status
19/01/2021 15:28:31                         pktgen: {'arp': '-',
 'cores': [0, 1, 2, 3],
 'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
 'dest': 'b4:96:91:46:e0:5c',
 'driver': 'net_i40e',
 'fc': 'none',
 'fc_supported': 'no',
 'grat_arp': 'off',
 'hw_mac': '3c:fd:fe:c8:17:d0',
 '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': 1,
 'pci_addr': '0000:82:00.0',
 'prom': 'on',
 'prom_supported': 'yes',
 'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
 'rx_filter_mode': 'hardware match',
 'rx_queue': 'off',
 'speed': 40.0,
 'src_ipv4': '-',
 'src_mac': '3c:fd:fe:c8:17:d0',
 'stack': 'legacy',
 'status': 'IDLE',
 'supp_speeds': [40000],
 'vlan': '-',
 'vxlan_fs': '-'}
19/01/2021 15:28:31                         pktgen: begin traffic ......
19/01/2021 15:28:31                         pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
19/01/2021 15:28:36                         pktgen: traffic completed. 
19/01/2021 15:28:36                         pktgen: check the trex port link status
19/01/2021 15:28:36                         pktgen: {'arp': '-',
 'cores': [0, 1, 2, 3],
 'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
 'dest': 'b4:96:91:46:e0:5c',
 'driver': 'net_i40e',
 'fc': 'none',
 'fc_supported': 'no',
 'grat_arp': 'off',
 'hw_mac': '3c:fd:fe:c8:17:d0',
 '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': 1,
 'pci_addr': '0000:82:00.0',
 'prom': 'on',
 'prom_supported': 'yes',
 'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
 'rx_filter_mode': 'hardware match',
 'rx_queue': 'off',
 'speed': 40.0,
 'src_ipv4': '-',
 'src_mac': '3c:fd:fe:c8:17:d0',
 'stack': 'legacy',
 'status': 'IDLE',
 'supp_speeds': [40000],
 'vlan': '-',
 'vxlan_fs': '-'}
19/01/2021 15:28:36                         pktgen: begin traffic ......
19/01/2021 15:28:36                         pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
19/01/2021 15:28:56                         pktgen: begin get port statistic ...
19/01/2021 15:28:56                         pktgen: {'options': {'fields_config': {'ip': {'src': {'action': 'random',
                                              'end': '1.1.1.64',
                                              'start': '1.1.1.1',
                                              'step': 1}}},
             'pcap': '/tmp/vhost_cbdma/multiqueuerandomip_64.pcap',
             'stream_config': {'rate': 100,
                               'transmit_mode': 'continuous',
                               'txmode': {}}},
 'pcap_file': '/tmp/vhost_cbdma/multiqueuerandomip_64.pcap',
 'rx_port': 0,
 'tx_port': 0}
19/01/2021 15:28:56                         pktgen: {0: {'ibytes': 9824654848,
     'ierrors': 0,
     'ipackets': 153510232,
     'obytes': 37323607552,
     'oerrors': 0,
     'opackets': 583181407,
     'rx_bps': 3919856896.0,
     'rx_bps_L1': 5144811616.0,
     'rx_pps': 7655967.0,
     'rx_util': 12.86202904,
     'tx_bps': 14717731840.0,
     'tx_bps_L1': 19317018880.0,
     'tx_pps': 28745544.0,
     'tx_util': 48.2925472},
 1: {'ibytes': 0,
     'ierrors': 0,
     'ipackets': 0,
     'obytes': 0,
     'oerrors': 0,
     'opackets': 0,
     'rx_bps': 0.0,
     'rx_bps_L1': 0,
     'rx_pps': 0.0,
     'rx_util': 0.0,
     'tx_bps': 0.0,
     'tx_bps_L1': 0,
     'tx_pps': 0.0,
     'tx_util': 0.0},
 'flow_stats': {},
 'global': {'active_flows': 0.0,
            'active_sockets': 0,
            'bw_per_core': 7.362957000732422,
            'cpu_util': 99.9444351196289,
            'cpu_util_raw': 100.0,
            'open_flows': 0.0,
            'platform_factor': 1.0,
            'queue_full': 0,
            'rx_bps': 3919856896.0,
            'rx_core_pps': 0.0,
            'rx_cpu_util': 0.0,
            'rx_drop_bps': 10797875200.0,
            'rx_pps': 7655967.0,
            'socket_util': 0.0,
            'total_alloc_error': 0,
            'total_clients': 0,
            'total_servers': 0,
            'tx_bps': 14717731840.0,
            'tx_cps': 0.0,
            'tx_expected_bps': 0.0,
            'tx_expected_cps': 0.0,
            'tx_expected_pps': 0.0,
            'tx_pps': 28745544.0},
 'latency': {'global': {'bad_hdr': 0, 'old_flow': 0}},
 'total': {'ibytes': 9824654848,
           'ierrors': 0,
           'ipackets': 153510232,
           'obytes': 37323607552,
           'oerrors': 0,
           'opackets': 583181407,
           'rx_bps': 3919856896.0,
           'rx_bps_L1': 5144811616.0,
           'rx_pps': 7655967.0,
           'rx_util': 12.86202904,
           'tx_bps': 14717731840.0,
           'tx_bps_L1': 19317018880.0,
           'tx_pps': 28745544.0,
           'tx_util': 48.2925472}}
19/01/2021 15:28:56                         pktgen: {'ibytes': 9824654848,
 'ierrors': 0,
 'ipackets': 153510232,
 'obytes': 37323607552,
 'oerrors': 0,
 'opackets': 583181407,
 'rx_bps': 3919856896.0,
 'rx_bps_L1': 5144811616.0,
 'rx_pps': 7655967.0,
 'rx_util': 12.86202904,
 'tx_bps': 14717731840.0,
 'tx_bps_L1': 19317018880.0,
 'tx_pps': 28745544.0,
 'tx_util': 48.2925472}
19/01/2021 15:28:56                         pktgen: Tx Port 0 stats: 
tx_port: 0,  tx_bps: 14717731840.000000, tx_pps: 28745544.000000 
19/01/2021 15:28:56                         pktgen: {'ibytes': 9824654848,
 'ierrors': 0,
 'ipackets': 153510232,
 'obytes': 37323607552,
 'oerrors': 0,
 'opackets': 583181407,
 'rx_bps': 3919856896.0,
 'rx_bps_L1': 5144811616.0,
 'rx_pps': 7655967.0,
 'rx_util': 12.86202904,
 'tx_bps': 14717731840.0,
 'tx_bps_L1': 19317018880.0,
 'tx_pps': 28745544.0,
 'tx_util': 48.2925472}
19/01/2021 15:28:56                         pktgen: Rx Port 0 stats: 
rx_port: 0,  rx_bps: 3919856896.000000, rx_pps: 7655967.000000
19/01/2021 15:28:56                         pktgen: throughput: pps_rx 7655967.000000, bps_rx 3919856896.000000
19/01/2021 15:28:56                         pktgen: traffic completed. 
19/01/2021 15:28:56                         tester: ls -d /tmp/vhost_cbdma
19/01/2021 15:28:56                         tester: /tmp/vhost_cbdma
19/01/2021 15:28:56                         tester: scp -v /home/lingwei/dts_cbdma/output/tmp/pcap/multiqueuerandomip_1518.pcap root@10.240.183.217:/tmp/vhost_cbdma/multiqueuerandomip_1518.pcap
19/01/2021 15:28:58                         pktgen: test port 0 map gen port 0
19/01/2021 15:28:58                         pktgen: test port 0 map gen port 0
19/01/2021 15:28:58                         pktgen: {'arp': '-',
 'cores': [0, 1, 2, 3],
 'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
 'dest': 'b4:96:91:46:e0:5c',
 'driver': 'net_i40e',
 'fc': 'none',
 'fc_supported': 'no',
 'grat_arp': 'off',
 'hw_mac': '3c:fd:fe:c8:17:d0',
 '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': 1,
 'pci_addr': '0000:82:00.0',
 'prom': 'off',
 'prom_supported': 'yes',
 'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
 'rx_filter_mode': 'hardware match',
 'rx_queue': 'off',
 'speed': 40.0,
 'src_ipv4': '-',
 'src_mac': '3c:fd:fe:c8:17:d0',
 'stack': 'legacy',
 'status': 'IDLE',
 'supp_speeds': [40000],
 'vlan': '-',
 'vxlan_fs': '-'}
19/01/2021 15:28:58                         pktgen: trex port <0> not support flow control
19/01/2021 15:28:58                         pktgen: trex packet generator: run traffic 5s to warm up ... 
19/01/2021 15:28:58                         pktgen: check the trex port link status
19/01/2021 15:28:58                         pktgen: {'arp': '-',
 'cores': [0, 1, 2, 3],
 'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
 'dest': 'b4:96:91:46:e0:5c',
 'driver': 'net_i40e',
 'fc': 'none',
 'fc_supported': 'no',
 'grat_arp': 'off',
 'hw_mac': '3c:fd:fe:c8:17:d0',
 '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': 1,
 'pci_addr': '0000:82:00.0',
 'prom': 'on',
 'prom_supported': 'yes',
 'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
 'rx_filter_mode': 'hardware match',
 'rx_queue': 'off',
 'speed': 40.0,
 'src_ipv4': '-',
 'src_mac': '3c:fd:fe:c8:17:d0',
 'stack': 'legacy',
 'status': 'IDLE',
 'supp_speeds': [40000],
 'vlan': '-',
 'vxlan_fs': '-'}
19/01/2021 15:28:58                         pktgen: begin traffic ......
19/01/2021 15:28:58                         pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
19/01/2021 15:29:03                         pktgen: traffic completed. 
19/01/2021 15:29:03                         pktgen: check the trex port link status
19/01/2021 15:29:03                         pktgen: {'arp': '-',
 'cores': [0, 1, 2, 3],
 'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
 'dest': 'b4:96:91:46:e0:5c',
 'driver': 'net_i40e',
 'fc': 'none',
 'fc_supported': 'no',
 'grat_arp': 'off',
 'hw_mac': '3c:fd:fe:c8:17:d0',
 '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': 1,
 'pci_addr': '0000:82:00.0',
 'prom': 'on',
 'prom_supported': 'yes',
 'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
 'rx_filter_mode': 'hardware match',
 'rx_queue': 'off',
 'speed': 40.0,
 'src_ipv4': '-',
 'src_mac': '3c:fd:fe:c8:17:d0',
 'stack': 'legacy',
 'status': 'IDLE',
 'supp_speeds': [40000],
 'vlan': '-',
 'vxlan_fs': '-'}
19/01/2021 15:29:03                         pktgen: begin traffic ......
19/01/2021 15:29:03                         pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
19/01/2021 15:29:23                         pktgen: begin get port statistic ...
19/01/2021 15:29:23                         pktgen: {'options': {'fields_config': {'ip': {'src': {'action': 'random',
                                              'end': '1.1.1.64',
                                              'start': '1.1.1.1',
                                              'step': 1}}},
             'pcap': '/tmp/vhost_cbdma/multiqueuerandomip_1518.pcap',
             'stream_config': {'rate': 100,
                               'transmit_mode': 'continuous',
                               'txmode': {}}},
 'pcap_file': '/tmp/vhost_cbdma/multiqueuerandomip_1518.pcap',
 'rx_port': 0,
 'tx_port': 0}
19/01/2021 15:29:23                         pktgen: {0: {'ibytes': 98786711430,
     'ierrors': 0,
     'ipackets': 65076888,
     'obytes': 98786722056,
     'oerrors': 0,
     'opackets': 65076895,
     'rx_bps': 39506079744.0,
     'rx_bps_L1': 40026581424.00001,
     'rx_pps': 3253135.5,
     'rx_util': 100.06645356000001,
     'tx_bps': 39506083840.0,
     'tx_bps_L1': 40026585720.0,
     'tx_pps': 3253136.75,
     'tx_util': 100.06646429999999},
 1: {'ibytes': 0,
     'ierrors': 0,
     'ipackets': 0,
     'obytes': 0,
     'oerrors': 0,
     'opackets': 0,
     'rx_bps': 0.0,
     'rx_bps_L1': 0,
     'rx_pps': 0.0,
     'rx_util': 0.0,
     'tx_bps': 0.0,
     'tx_bps_L1': 0,
     'tx_pps': 0.0,
     'tx_util': 0.0},
 'flow_stats': {},
 'global': {'active_flows': 0.0,
            'active_sockets': 0,
            'bw_per_core': 23.121566772460938,
            'cpu_util': 85.43124389648438,
            'cpu_util_raw': 85.0,
            'open_flows': 0.0,
            'platform_factor': 1.0,
            'queue_full': 56415172,
            'rx_bps': 39506079744.0,
            'rx_core_pps': 0.0,
            'rx_cpu_util': 0.0,
            'rx_drop_bps': 0.0,
            'rx_pps': 3253135.5,
            'socket_util': 0.0,
            'total_alloc_error': 0,
            'total_clients': 0,
            'total_servers': 0,
            'tx_bps': 39506083840.0,
            'tx_cps': 0.0,
            'tx_expected_bps': 0.0,
            'tx_expected_cps': 0.0,
            'tx_expected_pps': 0.0,
            'tx_pps': 3253136.75},
 'latency': {'global': {'bad_hdr': 0, 'old_flow': 0}},
 'total': {'ibytes': 98786711430,
           'ierrors': 0,
           'ipackets': 65076888,
           'obytes': 98786722056,
           'oerrors': 0,
           'opackets': 65076895,
           'rx_bps': 39506079744.0,
           'rx_bps_L1': 40026581424.00001,
           'rx_pps': 3253135.5,
           'rx_util': 100.06645356000001,
           'tx_bps': 39506083840.0,
           'tx_bps_L1': 40026585720.0,
           'tx_pps': 3253136.75,
           'tx_util': 100.06646429999999}}
19/01/2021 15:29:23                         pktgen: {'ibytes': 98786711430,
 'ierrors': 0,
 'ipackets': 65076888,
 'obytes': 98786722056,
 'oerrors': 0,
 'opackets': 65076895,
 'rx_bps': 39506079744.0,
 'rx_bps_L1': 40026581424.00001,
 'rx_pps': 3253135.5,
 'rx_util': 100.06645356000001,
 'tx_bps': 39506083840.0,
 'tx_bps_L1': 40026585720.0,
 'tx_pps': 3253136.75,
 'tx_util': 100.06646429999999}
19/01/2021 15:29:23                         pktgen: Tx Port 0 stats: 
tx_port: 0,  tx_bps: 39506083840.000000, tx_pps: 3253136.750000 
19/01/2021 15:29:23                         pktgen: {'ibytes': 98786711430,
 'ierrors': 0,
 'ipackets': 65076888,
 'obytes': 98786722056,
 'oerrors': 0,
 'opackets': 65076895,
 'rx_bps': 39506079744.0,
 'rx_bps_L1': 40026581424.00001,
 'rx_pps': 3253135.5,
 'rx_util': 100.06645356000001,
 'tx_bps': 39506083840.0,
 'tx_bps_L1': 40026585720.0,
 'tx_pps': 3253136.75,
 'tx_util': 100.06646429999999}
19/01/2021 15:29:23                         pktgen: Rx Port 0 stats: 
rx_port: 0,  rx_bps: 39506079744.000000, rx_pps: 3253135.500000
19/01/2021 15:29:23                         pktgen: throughput: pps_rx 3253135.500000, bps_rx 39506079744.000000
19/01/2021 15:29:23                         pktgen: traffic completed. 
19/01/2021 15:29:27             dut.10.240.183.220: cat /proc/meminfo |grep Hugepagesize|awk '{print($2)}'
19/01/2021 15:29:27             dut.10.240.183.220: 1048576
19/01/2021 15:29:38                         tester: ls -d /tmp/vhost_cbdma
19/01/2021 15:29:38                         tester: /tmp/vhost_cbdma
19/01/2021 15:29:38                         tester: scp -v /home/lingwei/dts_cbdma/output/tmp/pcap/multiqueuerandomip_64.pcap root@10.240.183.217:/tmp/vhost_cbdma/multiqueuerandomip_64.pcap
19/01/2021 15:29:40                         pktgen: test port 0 map gen port 0
19/01/2021 15:29:40                         pktgen: test port 0 map gen port 0
19/01/2021 15:29:40                         pktgen: {'arp': '-',
 'cores': [0, 1, 2, 3],
 'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
 'dest': 'b4:96:91:46:e0:5c',
 'driver': 'net_i40e',
 'fc': 'none',
 'fc_supported': 'no',
 'grat_arp': 'off',
 'hw_mac': '3c:fd:fe:c8:17:d0',
 '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': 1,
 'pci_addr': '0000:82:00.0',
 'prom': 'off',
 'prom_supported': 'yes',
 'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
 'rx_filter_mode': 'hardware match',
 'rx_queue': 'off',
 'speed': 40.0,
 'src_ipv4': '-',
 'src_mac': '3c:fd:fe:c8:17:d0',
 'stack': 'legacy',
 'status': 'IDLE',
 'supp_speeds': [40000],
 'vlan': '-',
 'vxlan_fs': '-'}
19/01/2021 15:29:40                         pktgen: trex port <0> not support flow control
19/01/2021 15:29:40                         pktgen: trex packet generator: run traffic 5s to warm up ... 
19/01/2021 15:29:40                         pktgen: check the trex port link status
19/01/2021 15:29:40                         pktgen: {'arp': '-',
 'cores': [0, 1, 2, 3],
 'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
 'dest': 'b4:96:91:46:e0:5c',
 'driver': 'net_i40e',
 'fc': 'none',
 'fc_supported': 'no',
 'grat_arp': 'off',
 'hw_mac': '3c:fd:fe:c8:17:d0',
 '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': 1,
 'pci_addr': '0000:82:00.0',
 'prom': 'on',
 'prom_supported': 'yes',
 'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
 'rx_filter_mode': 'hardware match',
 'rx_queue': 'off',
 'speed': 40.0,
 'src_ipv4': '-',
 'src_mac': '3c:fd:fe:c8:17:d0',
 'stack': 'legacy',
 'status': 'IDLE',
 'supp_speeds': [40000],
 'vlan': '-',
 'vxlan_fs': '-'}
19/01/2021 15:29:40                         pktgen: begin traffic ......
19/01/2021 15:29:40                         pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
19/01/2021 15:29:45                         pktgen: traffic completed. 
19/01/2021 15:29:45                         pktgen: check the trex port link status
19/01/2021 15:29:45                         pktgen: {'arp': '-',
 'cores': [0, 1, 2, 3],
 'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
 'dest': 'b4:96:91:46:e0:5c',
 'driver': 'net_i40e',
 'fc': 'none',
 'fc_supported': 'no',
 'grat_arp': 'off',
 'hw_mac': '3c:fd:fe:c8:17:d0',
 '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': 1,
 'pci_addr': '0000:82:00.0',
 'prom': 'on',
 'prom_supported': 'yes',
 'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
 'rx_filter_mode': 'hardware match',
 'rx_queue': 'off',
 'speed': 40.0,
 'src_ipv4': '-',
 'src_mac': '3c:fd:fe:c8:17:d0',
 'stack': 'legacy',
 'status': 'IDLE',
 'supp_speeds': [40000],
 'vlan': '-',
 'vxlan_fs': '-'}
19/01/2021 15:29:45                         pktgen: begin traffic ......
19/01/2021 15:29:45                         pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
19/01/2021 15:30:05                         pktgen: begin get port statistic ...
19/01/2021 15:30:05                         pktgen: {'options': {'fields_config': {'ip': {'src': {'action': 'random',
                                              'end': '1.1.1.64',
                                              'start': '1.1.1.1',
                                              'step': 1}}},
             'pcap': '/tmp/vhost_cbdma/multiqueuerandomip_64.pcap',
             'stream_config': {'rate': 100,
                               'transmit_mode': 'continuous',
                               'txmode': {}}},
 'pcap_file': '/tmp/vhost_cbdma/multiqueuerandomip_64.pcap',
 'rx_port': 0,
 'tx_port': 0}
19/01/2021 15:30:05                         pktgen: {0: {'ibytes': 9815025088,
     'ierrors': 0,
     'ipackets': 153359767,
     'obytes': 37121472960,
     'oerrors': 0,
     'opackets': 580023040,
     'rx_bps': 3930562816.0,
     'rx_bps_L1': 5158862336.0,
     'rx_pps': 7676872.0,
     'rx_util': 12.89715584,
     'tx_bps': 14771825664.0,
     'tx_bps_L1': 19388019584.0,
     'tx_pps': 28851212.0,
     'tx_util': 48.47004896},
 1: {'ibytes': 0,
     'ierrors': 0,
     'ipackets': 0,
     'obytes': 0,
     'oerrors': 0,
     'opackets': 0,
     'rx_bps': 0.0,
     'rx_bps_L1': 0,
     'rx_pps': 0.0,
     'rx_util': 0.0,
     'tx_bps': 0.0,
     'tx_bps_L1': 0,
     'tx_pps': 0.0,
     'tx_util': 0.0},
 'flow_stats': {},
 'global': {'active_flows': 0.0,
            'active_sockets': 0,
            'bw_per_core': 7.392786502838135,
            'cpu_util': 99.90702056884766,
            'cpu_util_raw': 100.0,
            'open_flows': 0.0,
            'platform_factor': 1.0,
            'queue_full': 0,
            'rx_bps': 3930562816.0,
            'rx_core_pps': 0.0,
            'rx_cpu_util': 0.0,
            'rx_drop_bps': 10841263104.0,
            'rx_pps': 7676872.0,
            'socket_util': 0.0,
            'total_alloc_error': 0,
            'total_clients': 0,
            'total_servers': 0,
            'tx_bps': 14771825664.0,
            'tx_cps': 0.0,
            'tx_expected_bps': 0.0,
            'tx_expected_cps': 0.0,
            'tx_expected_pps': 0.0,
            'tx_pps': 28851212.0},
 'latency': {'global': {'bad_hdr': 0, 'old_flow': 0}},
 'total': {'ibytes': 9815025088,
           'ierrors': 0,
           'ipackets': 153359767,
           'obytes': 37121472960,
           'oerrors': 0,
           'opackets': 580023040,
           'rx_bps': 3930562816.0,
           'rx_bps_L1': 5158862336.0,
           'rx_pps': 7676872.0,
           'rx_util': 12.89715584,
           'tx_bps': 14771825664.0,
           'tx_bps_L1': 19388019584.0,
           'tx_pps': 28851212.0,
           'tx_util': 48.47004896}}
19/01/2021 15:30:05                         pktgen: {'ibytes': 9815025088,
 'ierrors': 0,
 'ipackets': 153359767,
 'obytes': 37121472960,
 'oerrors': 0,
 'opackets': 580023040,
 'rx_bps': 3930562816.0,
 'rx_bps_L1': 5158862336.0,
 'rx_pps': 7676872.0,
 'rx_util': 12.89715584,
 'tx_bps': 14771825664.0,
 'tx_bps_L1': 19388019584.0,
 'tx_pps': 28851212.0,
 'tx_util': 48.47004896}
19/01/2021 15:30:05                         pktgen: Tx Port 0 stats: 
tx_port: 0,  tx_bps: 14771825664.000000, tx_pps: 28851212.000000 
19/01/2021 15:30:05                         pktgen: {'ibytes': 9815025088,
 'ierrors': 0,
 'ipackets': 153359767,
 'obytes': 37121472960,
 'oerrors': 0,
 'opackets': 580023040,
 'rx_bps': 3930562816.0,
 'rx_bps_L1': 5158862336.0,
 'rx_pps': 7676872.0,
 'rx_util': 12.89715584,
 'tx_bps': 14771825664.0,
 'tx_bps_L1': 19388019584.0,
 'tx_pps': 28851212.0,
 'tx_util': 48.47004896}
19/01/2021 15:30:05                         pktgen: Rx Port 0 stats: 
rx_port: 0,  rx_bps: 3930562816.000000, rx_pps: 7676872.000000
19/01/2021 15:30:05                         pktgen: throughput: pps_rx 7676872.000000, bps_rx 3930562816.000000
19/01/2021 15:30:05                         pktgen: traffic completed. 
19/01/2021 15:30:05                         tester: ls -d /tmp/vhost_cbdma
19/01/2021 15:30:05                         tester: /tmp/vhost_cbdma
19/01/2021 15:30:05                         tester: scp -v /home/lingwei/dts_cbdma/output/tmp/pcap/multiqueuerandomip_1518.pcap root@10.240.183.217:/tmp/vhost_cbdma/multiqueuerandomip_1518.pcap
19/01/2021 15:30:07                         pktgen: test port 0 map gen port 0
19/01/2021 15:30:07                         pktgen: test port 0 map gen port 0
19/01/2021 15:30:07                         pktgen: {'arp': '-',
 'cores': [0, 1, 2, 3],
 'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
 'dest': 'b4:96:91:46:e0:5c',
 'driver': 'net_i40e',
 'fc': 'none',
 'fc_supported': 'no',
 'grat_arp': 'off',
 'hw_mac': '3c:fd:fe:c8:17:d0',
 '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': 1,
 'pci_addr': '0000:82:00.0',
 'prom': 'off',
 'prom_supported': 'yes',
 'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
 'rx_filter_mode': 'hardware match',
 'rx_queue': 'off',
 'speed': 40.0,
 'src_ipv4': '-',
 'src_mac': '3c:fd:fe:c8:17:d0',
 'stack': 'legacy',
 'status': 'IDLE',
 'supp_speeds': [40000],
 'vlan': '-',
 'vxlan_fs': '-'}
19/01/2021 15:30:07                         pktgen: trex port <0> not support flow control
19/01/2021 15:30:07                         pktgen: trex packet generator: run traffic 5s to warm up ... 
19/01/2021 15:30:07                         pktgen: check the trex port link status
19/01/2021 15:30:07                         pktgen: {'arp': '-',
 'cores': [0, 1, 2, 3],
 'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
 'dest': 'b4:96:91:46:e0:5c',
 'driver': 'net_i40e',
 'fc': 'none',
 'fc_supported': 'no',
 'grat_arp': 'off',
 'hw_mac': '3c:fd:fe:c8:17:d0',
 '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': 1,
 'pci_addr': '0000:82:00.0',
 'prom': 'on',
 'prom_supported': 'yes',
 'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
 'rx_filter_mode': 'hardware match',
 'rx_queue': 'off',
 'speed': 40.0,
 'src_ipv4': '-',
 'src_mac': '3c:fd:fe:c8:17:d0',
 'stack': 'legacy',
 'status': 'IDLE',
 'supp_speeds': [40000],
 'vlan': '-',
 'vxlan_fs': '-'}
19/01/2021 15:30:07                         pktgen: begin traffic ......
19/01/2021 15:30:07                         pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
19/01/2021 15:30:12                         pktgen: traffic completed. 
19/01/2021 15:30:12                         pktgen: check the trex port link status
19/01/2021 15:30:12                         pktgen: {'arp': '-',
 'cores': [0, 1, 2, 3],
 'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
 'dest': 'b4:96:91:46:e0:5c',
 'driver': 'net_i40e',
 'fc': 'none',
 'fc_supported': 'no',
 'grat_arp': 'off',
 'hw_mac': '3c:fd:fe:c8:17:d0',
 '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': 1,
 'pci_addr': '0000:82:00.0',
 'prom': 'on',
 'prom_supported': 'yes',
 'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
 'rx_filter_mode': 'hardware match',
 'rx_queue': 'off',
 'speed': 40.0,
 'src_ipv4': '-',
 'src_mac': '3c:fd:fe:c8:17:d0',
 'stack': 'legacy',
 'status': 'IDLE',
 'supp_speeds': [40000],
 'vlan': '-',
 'vxlan_fs': '-'}
19/01/2021 15:30:12                         pktgen: begin traffic ......
19/01/2021 15:30:12                         pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
19/01/2021 15:30:33                         pktgen: begin get port statistic ...
19/01/2021 15:30:33                         pktgen: {'options': {'fields_config': {'ip': {'src': {'action': 'random',
                                              'end': '1.1.1.64',
                                              'start': '1.1.1.1',
                                              'step': 1}}},
             'pcap': '/tmp/vhost_cbdma/multiqueuerandomip_1518.pcap',
             'stream_config': {'rate': 100,
                               'transmit_mode': 'continuous',
                               'txmode': {}}},
 'pcap_file': '/tmp/vhost_cbdma/multiqueuerandomip_1518.pcap',
 'rx_port': 0,
 'tx_port': 0}
19/01/2021 15:30:33                         pktgen: {0: {'ibytes': 98798629248,
     'ierrors': 0,
     'ipackets': 65084739,
     'obytes': 98798644428,
     'oerrors': 0,
     'opackets': 65084749,
     'rx_bps': 39396122624.0,
     'rx_bps_L1': 39915175664.0,
     'rx_pps': 3244081.5,
     'rx_util': 99.78793916000001,
     'tx_bps': 39396188160.0,
     'tx_bps_L1': 39915242000.0,
     'tx_pps': 3244086.5,
     'tx_util': 99.788105},
 1: {'ibytes': 0,
     'ierrors': 0,
     'ipackets': 0,
     'obytes': 0,
     'oerrors': 0,
     'opackets': 0,
     'rx_bps': 0.0,
     'rx_bps_L1': 0,
     'rx_pps': 0.0,
     'rx_util': 0.0,
     'tx_bps': 0.0,
     'tx_bps_L1': 0,
     'tx_pps': 0.0,
     'tx_util': 0.0},
 'flow_stats': {},
 'global': {'active_flows': 0.0,
            'active_sockets': 0,
            'bw_per_core': 23.186622619628906,
            'cpu_util': 84.9545669555664,
            'cpu_util_raw': 84.25,
            'open_flows': 0.0,
            'platform_factor': 1.0,
            'queue_full': 56435105,
            'rx_bps': 39396122624.0,
            'rx_core_pps': 0.0,
            'rx_cpu_util': 0.0,
            'rx_drop_bps': 0.0,
            'rx_pps': 3244081.5,
            'socket_util': 0.0,
            'total_alloc_error': 0,
            'total_clients': 0,
            'total_servers': 0,
            'tx_bps': 39396188160.0,
            'tx_cps': 0.0,
            'tx_expected_bps': 0.0,
            'tx_expected_cps': 0.0,
            'tx_expected_pps': 0.0,
            'tx_pps': 3244086.5},
 'latency': {'global': {'bad_hdr': 0, 'old_flow': 0}},
 'total': {'ibytes': 98798629248,
           'ierrors': 0,
           'ipackets': 65084739,
           'obytes': 98798644428,
           'oerrors': 0,
           'opackets': 65084749,
           'rx_bps': 39396122624.0,
           'rx_bps_L1': 39915175664.0,
           'rx_pps': 3244081.5,
           'rx_util': 99.78793916000001,
           'tx_bps': 39396188160.0,
           'tx_bps_L1': 39915242000.0,
           'tx_pps': 3244086.5,
           'tx_util': 99.788105}}
19/01/2021 15:30:33                         pktgen: {'ibytes': 98798629248,
 'ierrors': 0,
 'ipackets': 65084739,
 'obytes': 98798644428,
 'oerrors': 0,
 'opackets': 65084749,
 'rx_bps': 39396122624.0,
 'rx_bps_L1': 39915175664.0,
 'rx_pps': 3244081.5,
 'rx_util': 99.78793916000001,
 'tx_bps': 39396188160.0,
 'tx_bps_L1': 39915242000.0,
 'tx_pps': 3244086.5,
 'tx_util': 99.788105}
19/01/2021 15:30:33                         pktgen: Tx Port 0 stats: 
tx_port: 0,  tx_bps: 39396188160.000000, tx_pps: 3244086.500000 
19/01/2021 15:30:33                         pktgen: {'ibytes': 98798629248,
 'ierrors': 0,
 'ipackets': 65084739,
 'obytes': 98798644428,
 'oerrors': 0,
 'opackets': 65084749,
 'rx_bps': 39396122624.0,
 'rx_bps_L1': 39915175664.0,
 'rx_pps': 3244081.5,
 'rx_util': 99.78793916000001,
 'tx_bps': 39396188160.0,
 'tx_bps_L1': 39915242000.0,
 'tx_pps': 3244086.5,
 'tx_util': 99.788105}
19/01/2021 15:30:33                         pktgen: Rx Port 0 stats: 
rx_port: 0,  rx_bps: 39396122624.000000, rx_pps: 3244081.500000
19/01/2021 15:30:33                         pktgen: throughput: pps_rx 3244081.500000, bps_rx 39396122624.000000
19/01/2021 15:30:33                         pktgen: traffic completed. 
19/01/2021 15:30:33                         tester: ls -d /tmp/vhost_cbdma
19/01/2021 15:30:33                         tester: /tmp/vhost_cbdma
19/01/2021 15:30:33                         tester: scp -v /home/lingwei/dts_cbdma/output/tmp/pcap/multiqueuerandomip_64.pcap root@10.240.183.217:/tmp/vhost_cbdma/multiqueuerandomip_64.pcap
19/01/2021 15:30:35                         pktgen: test port 0 map gen port 0
19/01/2021 15:30:35                         pktgen: test port 0 map gen port 0
19/01/2021 15:30:35                         pktgen: {'arp': '-',
 'cores': [0, 1, 2, 3],
 'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
 'dest': 'b4:96:91:46:e0:5c',
 'driver': 'net_i40e',
 'fc': 'none',
 'fc_supported': 'no',
 'grat_arp': 'off',
 'hw_mac': '3c:fd:fe:c8:17:d0',
 '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': 1,
 'pci_addr': '0000:82:00.0',
 'prom': 'off',
 'prom_supported': 'yes',
 'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
 'rx_filter_mode': 'hardware match',
 'rx_queue': 'off',
 'speed': 40.0,
 'src_ipv4': '-',
 'src_mac': '3c:fd:fe:c8:17:d0',
 'stack': 'legacy',
 'status': 'IDLE',
 'supp_speeds': [40000],
 'vlan': '-',
 'vxlan_fs': '-'}
19/01/2021 15:30:35                         pktgen: trex port <0> not support flow control
19/01/2021 15:30:35                         pktgen: trex packet generator: run traffic 5s to warm up ... 
19/01/2021 15:30:35                         pktgen: check the trex port link status
19/01/2021 15:30:35                         pktgen: {'arp': '-',
 'cores': [0, 1, 2, 3],
 'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
 'dest': 'b4:96:91:46:e0:5c',
 'driver': 'net_i40e',
 'fc': 'none',
 'fc_supported': 'no',
 'grat_arp': 'off',
 'hw_mac': '3c:fd:fe:c8:17:d0',
 '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': 1,
 'pci_addr': '0000:82:00.0',
 'prom': 'on',
 'prom_supported': 'yes',
 'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
 'rx_filter_mode': 'hardware match',
 'rx_queue': 'off',
 'speed': 40.0,
 'src_ipv4': '-',
 'src_mac': '3c:fd:fe:c8:17:d0',
 'stack': 'legacy',
 'status': 'IDLE',
 'supp_speeds': [40000],
 'vlan': '-',
 'vxlan_fs': '-'}
19/01/2021 15:30:35                         pktgen: begin traffic ......
19/01/2021 15:30:35                         pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
19/01/2021 15:30:40                         pktgen: traffic completed. 
19/01/2021 15:30:40                         pktgen: check the trex port link status
19/01/2021 15:30:40                         pktgen: {'arp': '-',
 'cores': [0, 1, 2, 3],
 'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
 'dest': 'b4:96:91:46:e0:5c',
 'driver': 'net_i40e',
 'fc': 'none',
 'fc_supported': 'no',
 'grat_arp': 'off',
 'hw_mac': '3c:fd:fe:c8:17:d0',
 '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': 1,
 'pci_addr': '0000:82:00.0',
 'prom': 'on',
 'prom_supported': 'yes',
 'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
 'rx_filter_mode': 'hardware match',
 'rx_queue': 'off',
 'speed': 40.0,
 'src_ipv4': '-',
 'src_mac': '3c:fd:fe:c8:17:d0',
 'stack': 'legacy',
 'status': 'IDLE',
 'supp_speeds': [40000],
 'vlan': '-',
 'vxlan_fs': '-'}
19/01/2021 15:30:40                         pktgen: begin traffic ......
19/01/2021 15:30:40                         pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
19/01/2021 15:31:00                         pktgen: begin get port statistic ...
19/01/2021 15:31:00                         pktgen: {'options': {'fields_config': {'ip': {'src': {'action': 'random',
                                              'end': '1.1.1.64',
                                              'start': '1.1.1.1',
                                              'step': 1}}},
             'pcap': '/tmp/vhost_cbdma/multiqueuerandomip_64.pcap',
             'stream_config': {'rate': 100,
                               'transmit_mode': 'continuous',
                               'txmode': {}}},
 'pcap_file': '/tmp/vhost_cbdma/multiqueuerandomip_64.pcap',
 'rx_port': 0,
 'tx_port': 0}
19/01/2021 15:31:00                         pktgen: {0: {'ibytes': 9839786624,
     'ierrors': 0,
     'ipackets': 153746666,
     'obytes': 37238990976,
     'oerrors': 0,
     'opackets': 581859284,
     'rx_bps': 3936598784.0,
     'rx_bps_L1': 5166785344.0,
     'rx_pps': 7688666.0,
     'rx_util': 12.91696336,
     'tx_bps': 14774777856.0,
     'tx_bps_L1': 19391893376.0,
     'tx_pps': 28856972.0,
     'tx_util': 48.47973344},
 1: {'ibytes': 0,
     'ierrors': 0,
     'ipackets': 0,
     'obytes': 0,
     'oerrors': 0,
     'opackets': 0,
     'rx_bps': 0.0,
     'rx_bps_L1': 0,
     'rx_pps': 0.0,
     'rx_util': 0.0,
     'tx_bps': 0.0,
     'tx_bps_L1': 0,
     'tx_pps': 0.0,
     'tx_util': 0.0},
 'flow_stats': {},
 'global': {'active_flows': 0.0,
            'active_sockets': 0,
            'bw_per_core': 7.391502380371094,
            'cpu_util': 99.94435119628906,
            'cpu_util_raw': 100.0,
            'open_flows': 0.0,
            'platform_factor': 1.0,
            'queue_full': 0,
            'rx_bps': 3936598784.0,
            'rx_core_pps': 0.0,
            'rx_cpu_util': 0.0,
            'rx_drop_bps': 10838179840.0,
            'rx_pps': 7688666.0,
            'socket_util': 0.0,
            'total_alloc_error': 0,
            'total_clients': 0,
            'total_servers': 0,
            'tx_bps': 14774777856.0,
            'tx_cps': 0.0,
            'tx_expected_bps': 0.0,
            'tx_expected_cps': 0.0,
            'tx_expected_pps': 0.0,
            'tx_pps': 28856972.0},
 'latency': {'global': {'bad_hdr': 0, 'old_flow': 0}},
 'total': {'ibytes': 9839786624,
           'ierrors': 0,
           'ipackets': 153746666,
           'obytes': 37238990976,
           'oerrors': 0,
           'opackets': 581859284,
           'rx_bps': 3936598784.0,
           'rx_bps_L1': 5166785344.0,
           'rx_pps': 7688666.0,
           'rx_util': 12.91696336,
           'tx_bps': 14774777856.0,
           'tx_bps_L1': 19391893376.0,
           'tx_pps': 28856972.0,
           'tx_util': 48.47973344}}
19/01/2021 15:31:00                         pktgen: {'ibytes': 9839786624,
 'ierrors': 0,
 'ipackets': 153746666,
 'obytes': 37238990976,
 'oerrors': 0,
 'opackets': 581859284,
 'rx_bps': 3936598784.0,
 'rx_bps_L1': 5166785344.0,
 'rx_pps': 7688666.0,
 'rx_util': 12.91696336,
 'tx_bps': 14774777856.0,
 'tx_bps_L1': 19391893376.0,
 'tx_pps': 28856972.0,
 'tx_util': 48.47973344}
19/01/2021 15:31:00                         pktgen: Tx Port 0 stats: 
tx_port: 0,  tx_bps: 14774777856.000000, tx_pps: 28856972.000000 
19/01/2021 15:31:00                         pktgen: {'ibytes': 9839786624,
 'ierrors': 0,
 'ipackets': 153746666,
 'obytes': 37238990976,
 'oerrors': 0,
 'opackets': 581859284,
 'rx_bps': 3936598784.0,
 'rx_bps_L1': 5166785344.0,
 'rx_pps': 7688666.0,
 'rx_util': 12.91696336,
 'tx_bps': 14774777856.0,
 'tx_bps_L1': 19391893376.0,
 'tx_pps': 28856972.0,
 'tx_util': 48.47973344}
19/01/2021 15:31:00                         pktgen: Rx Port 0 stats: 
rx_port: 0,  rx_bps: 3936598784.000000, rx_pps: 7688666.000000
19/01/2021 15:31:00                         pktgen: throughput: pps_rx 7688666.000000, bps_rx 3936598784.000000
19/01/2021 15:31:00                         pktgen: traffic completed. 
19/01/2021 15:31:00                         tester: ls -d /tmp/vhost_cbdma
19/01/2021 15:31:00                         tester: /tmp/vhost_cbdma
19/01/2021 15:31:00                         tester: scp -v /home/lingwei/dts_cbdma/output/tmp/pcap/multiqueuerandomip_1518.pcap root@10.240.183.217:/tmp/vhost_cbdma/multiqueuerandomip_1518.pcap
19/01/2021 15:31:02                         pktgen: test port 0 map gen port 0
19/01/2021 15:31:02                         pktgen: test port 0 map gen port 0
19/01/2021 15:31:02                         pktgen: {'arp': '-',
 'cores': [0, 1, 2, 3],
 'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
 'dest': 'b4:96:91:46:e0:5c',
 'driver': 'net_i40e',
 'fc': 'none',
 'fc_supported': 'no',
 'grat_arp': 'off',
 'hw_mac': '3c:fd:fe:c8:17:d0',
 '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': 1,
 'pci_addr': '0000:82:00.0',
 'prom': 'off',
 'prom_supported': 'yes',
 'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
 'rx_filter_mode': 'hardware match',
 'rx_queue': 'off',
 'speed': 40.0,
 'src_ipv4': '-',
 'src_mac': '3c:fd:fe:c8:17:d0',
 'stack': 'legacy',
 'status': 'IDLE',
 'supp_speeds': [40000],
 'vlan': '-',
 'vxlan_fs': '-'}
19/01/2021 15:31:02                         pktgen: trex port <0> not support flow control
19/01/2021 15:31:02                         pktgen: trex packet generator: run traffic 5s to warm up ... 
19/01/2021 15:31:02                         pktgen: check the trex port link status
19/01/2021 15:31:02                         pktgen: {'arp': '-',
 'cores': [0, 1, 2, 3],
 'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
 'dest': 'b4:96:91:46:e0:5c',
 'driver': 'net_i40e',
 'fc': 'none',
 'fc_supported': 'no',
 'grat_arp': 'off',
 'hw_mac': '3c:fd:fe:c8:17:d0',
 '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': 1,
 'pci_addr': '0000:82:00.0',
 'prom': 'on',
 'prom_supported': 'yes',
 'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
 'rx_filter_mode': 'hardware match',
 'rx_queue': 'off',
 'speed': 40.0,
 'src_ipv4': '-',
 'src_mac': '3c:fd:fe:c8:17:d0',
 'stack': 'legacy',
 'status': 'IDLE',
 'supp_speeds': [40000],
 'vlan': '-',
 'vxlan_fs': '-'}
19/01/2021 15:31:02                         pktgen: begin traffic ......
19/01/2021 15:31:02                         pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
19/01/2021 15:31:07                         pktgen: traffic completed. 
19/01/2021 15:31:07                         pktgen: check the trex port link status
19/01/2021 15:31:07                         pktgen: {'arp': '-',
 'cores': [0, 1, 2, 3],
 'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
 'dest': 'b4:96:91:46:e0:5c',
 'driver': 'net_i40e',
 'fc': 'none',
 'fc_supported': 'no',
 'grat_arp': 'off',
 'hw_mac': '3c:fd:fe:c8:17:d0',
 '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': 1,
 'pci_addr': '0000:82:00.0',
 'prom': 'on',
 'prom_supported': 'yes',
 'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
 'rx_filter_mode': 'hardware match',
 'rx_queue': 'off',
 'speed': 40.0,
 'src_ipv4': '-',
 'src_mac': '3c:fd:fe:c8:17:d0',
 'stack': 'legacy',
 'status': 'IDLE',
 'supp_speeds': [40000],
 'vlan': '-',
 'vxlan_fs': '-'}
19/01/2021 15:31:07                         pktgen: begin traffic ......
19/01/2021 15:31:07                         pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
19/01/2021 15:31:27                         pktgen: begin get port statistic ...
19/01/2021 15:31:27                         pktgen: {'options': {'fields_config': {'ip': {'src': {'action': 'random',
                                              'end': '1.1.1.64',
                                              'start': '1.1.1.1',
                                              'step': 1}}},
             'pcap': '/tmp/vhost_cbdma/multiqueuerandomip_1518.pcap',
             'stream_config': {'rate': 100,
                               'transmit_mode': 'continuous',
                               'txmode': {}}},
 'pcap_file': '/tmp/vhost_cbdma/multiqueuerandomip_1518.pcap',
 'rx_port': 0,
 'tx_port': 0}
19/01/2021 15:31:27                         pktgen: {0: {'ibytes': 98798441016,
     'ierrors': 0,
     'ipackets': 65084615,
     'obytes': 98798459232,
     'oerrors': 0,
     'opackets': 65084627,
     'rx_bps': 39504900096.0,
     'rx_bps_L1': 40025386256.00001,
     'rx_pps': 3253038.5,
     'rx_util': 100.06346564000002,
     'tx_bps': 39504883712.0,
     'tx_bps_L1': 40025369712.0,
     'tx_pps': 3253037.5,
     'tx_util': 100.06342427999999},
 1: {'ibytes': 0,
     'ierrors': 0,
     'ipackets': 0,
     'obytes': 0,
     'oerrors': 0,
     'opackets': 0,
     'rx_bps': 0.0,
     'rx_bps_L1': 0,
     'rx_pps': 0.0,
     'rx_util': 0.0,
     'tx_bps': 0.0,
     'tx_bps_L1': 0,
     'tx_pps': 0.0,
     'tx_util': 0.0},
 'flow_stats': {},
 'global': {'active_flows': 0.0,
            'active_sockets': 0,
            'bw_per_core': 23.21000099182129,
            'cpu_util': 85.1031494140625,
            'cpu_util_raw': 84.25,
            'open_flows': 0.0,
            'platform_factor': 1.0,
            'queue_full': 56533783,
            'rx_bps': 39504900096.0,
            'rx_core_pps': 0.0,
            'rx_cpu_util': 0.0,
            'rx_drop_bps': 0.0,
            'rx_pps': 3253038.5,
            'socket_util': 0.0,
            'total_alloc_error': 0,
            'total_clients': 0,
            'total_servers': 0,
            'tx_bps': 39504883712.0,
            'tx_cps': 0.0,
            'tx_expected_bps': 0.0,
            'tx_expected_cps': 0.0,
            'tx_expected_pps': 0.0,
            'tx_pps': 3253037.5},
 'latency': {'global': {'bad_hdr': 0, 'old_flow': 0}},
 'total': {'ibytes': 98798441016,
           'ierrors': 0,
           'ipackets': 65084615,
           'obytes': 98798459232,
           'oerrors': 0,
           'opackets': 65084627,
           'rx_bps': 39504900096.0,
           'rx_bps_L1': 40025386256.00001,
           'rx_pps': 3253038.5,
           'rx_util': 100.06346564000002,
           'tx_bps': 39504883712.0,
           'tx_bps_L1': 40025369712.0,
           'tx_pps': 3253037.5,
           'tx_util': 100.06342427999999}}
19/01/2021 15:31:27                         pktgen: {'ibytes': 98798441016,
 'ierrors': 0,
 'ipackets': 65084615,
 'obytes': 98798459232,
 'oerrors': 0,
 'opackets': 65084627,
 'rx_bps': 39504900096.0,
 'rx_bps_L1': 40025386256.00001,
 'rx_pps': 3253038.5,
 'rx_util': 100.06346564000002,
 'tx_bps': 39504883712.0,
 'tx_bps_L1': 40025369712.0,
 'tx_pps': 3253037.5,
 'tx_util': 100.06342427999999}
19/01/2021 15:31:27                         pktgen: Tx Port 0 stats: 
tx_port: 0,  tx_bps: 39504883712.000000, tx_pps: 3253037.500000 
19/01/2021 15:31:27                         pktgen: {'ibytes': 98798441016,
 'ierrors': 0,
 'ipackets': 65084615,
 'obytes': 98798459232,
 'oerrors': 0,
 'opackets': 65084627,
 'rx_bps': 39504900096.0,
 'rx_bps_L1': 40025386256.00001,
 'rx_pps': 3253038.5,
 'rx_util': 100.06346564000002,
 'tx_bps': 39504883712.0,
 'tx_bps_L1': 40025369712.0,
 'tx_pps': 3253037.5,
 'tx_util': 100.06342427999999}
19/01/2021 15:31:27                         pktgen: Rx Port 0 stats: 
rx_port: 0,  rx_bps: 39504900096.000000, rx_pps: 3253038.500000
19/01/2021 15:31:27                         pktgen: throughput: pps_rx 3253038.500000, bps_rx 39504900096.000000
19/01/2021 15:31:27                         pktgen: traffic completed. 
19/01/2021 15:31:31           TestVirTioVhostCbdma: 
+-------+-----------------------------------------+-------+------------+
| Frame |              Mode/RXD-TXD               | Mpps  | % linerate |
+=======+=========================================+=======+============+
| 64    | inorder_mergeable_path                  | 7.644 | 12.841     |
+-------+-----------------------------------------+-------+------------+
| 1518  | inorder_mergeable_path                  | 3.255 | 100.122    |
+-------+-----------------------------------------+-------+------------+
| 64    | inorder_mergeable_path_RestartVhost     | 7.740 | 13.004     |
+-------+-----------------------------------------+-------+------------+
| 1518  | inorder_mergeable_path_RestartVhost     | 3.253 | 100.065    |
+-------+-----------------------------------------+-------+------------+
| 64    | mergeable_path                          | 7.553 | 12.690     |
+-------+-----------------------------------------+-------+------------+
| 1518  | mergeable_path                          | 3.258 | 100.202    |
+-------+-----------------------------------------+-------+------------+
| 64    | mergeable_path_RestartVhost             | 7.584 | 12.742     |
+-------+-----------------------------------------+-------+------------+
| 1518  | mergeable_path_RestartVhost             | 3.258 | 100.204    |
+-------+-----------------------------------------+-------+------------+
| 64    | inorder_non_mergeable_path              | 7.745 | 13.011     |
+-------+-----------------------------------------+-------+------------+
| 1518  | inorder_non_mergeable_path              | 3.244 | 99.786     |
+-------+-----------------------------------------+-------+------------+
| 64    | inorder_non_mergeable_path_RestartVhost | 7.769 | 13.052     |
+-------+-----------------------------------------+-------+------------+
| 1518  | inorder_non_mergeable_path_RestartVhost | 3.251 | 100.006    |
+-------+-----------------------------------------+-------+------------+
| 64    | non_mergeable_path                      | 7.662 | 12.873     |
+-------+-----------------------------------------+-------+------------+
| 1518  | non_mergeable_path                      | 3.244 | 99.784     |
+-------+-----------------------------------------+-------+------------+
| 64    | non_mergeable_path_RestartVhost         | 7.656 | 12.862     |
+-------+-----------------------------------------+-------+------------+
| 1518  | non_mergeable_path_RestartVhost         | 3.253 | 100.066    |
+-------+-----------------------------------------+-------+------------+
| 64    | vector_rx_path                          | 7.677 | 12.897     |
+-------+-----------------------------------------+-------+------------+
| 1518  | vector_rx_path                          | 3.244 | 99.788     |
+-------+-----------------------------------------+-------+------------+
| 64    | vector_rx_path_RestartVhost             | 7.689 | 12.917     |
+-------+-----------------------------------------+-------+------------+
| 1518  | vector_rx_path_RestartVhost             | 3.253 | 100.063    |
+-------+-----------------------------------------+-------+------------+
19/01/2021 15:31:31           TestVirTioVhostCbdma: 
+-------+-----------------------------------------+------------+------------+---------+---------------------+-----------------------+
| Frame |              Mode/RXD-TXD               |    Mpps    | % linerate | nb_desc | Expected Throughput | Throughput Difference |
+=======+=========================================+============+============+=========+=====================+=======================+
| 64    | inorder_mergeable_path                  | 7.644 Mpps | 12.841%    | 1024    | 0.000 Mpps          | 7.644 Mpps            |
+-------+-----------------------------------------+------------+------------+---------+---------------------+-----------------------+
| 1518  | inorder_mergeable_path                  | 3.255 Mpps | 100.122%   | 1024    | 0.000 Mpps          | 3.255 Mpps            |
+-------+-----------------------------------------+------------+------------+---------+---------------------+-----------------------+
| 64    | inorder_mergeable_path_RestartVhost     | 7.740 Mpps | 13.004%    | 1024    | 0.000 Mpps          | 7.740 Mpps            |
+-------+-----------------------------------------+------------+------------+---------+---------------------+-----------------------+
| 1518  | inorder_mergeable_path_RestartVhost     | 3.253 Mpps | 100.065%   | 1024    | 0.000 Mpps          | 3.253 Mpps            |
+-------+-----------------------------------------+------------+------------+---------+---------------------+-----------------------+
| 64    | mergeable_path                          | 7.553 Mpps | 12.690%    | 1024    | 0.000 Mpps          | 7.553 Mpps            |
+-------+-----------------------------------------+------------+------------+---------+---------------------+-----------------------+
| 1518  | mergeable_path                          | 3.258 Mpps | 100.202%   | 1024    | 0.000 Mpps          | 3.258 Mpps            |
+-------+-----------------------------------------+------------+------------+---------+---------------------+-----------------------+
| 64    | mergeable_path_RestartVhost             | 7.584 Mpps | 12.742%    | 1024    | 0.000 Mpps          | 7.584 Mpps            |
+-------+-----------------------------------------+------------+------------+---------+---------------------+-----------------------+
| 1518  | mergeable_path_RestartVhost             | 3.258 Mpps | 100.204%   | 1024    | 0.000 Mpps          | 3.258 Mpps            |
+-------+-----------------------------------------+------------+------------+---------+---------------------+-----------------------+
| 64    | inorder_non_mergeable_path              | 7.745 Mpps | 13.011%    | 1024    | 0.000 Mpps          | 7.745 Mpps            |
+-------+-----------------------------------------+------------+------------+---------+---------------------+-----------------------+
| 1518  | inorder_non_mergeable_path              | 3.244 Mpps | 99.786%    | 1024    | 0.000 Mpps          | 3.244 Mpps            |
+-------+-----------------------------------------+------------+------------+---------+---------------------+-----------------------+
| 64    | inorder_non_mergeable_path_RestartVhost | 7.769 Mpps | 13.052%    | 1024    | 0.000 Mpps          | 7.769 Mpps            |
+-------+-----------------------------------------+------------+------------+---------+---------------------+-----------------------+
| 1518  | inorder_non_mergeable_path_RestartVhost | 3.251 Mpps | 100.006%   | 1024    | 0.000 Mpps          | 3.251 Mpps            |
+-------+-----------------------------------------+------------+------------+---------+---------------------+-----------------------+
| 64    | non_mergeable_path                      | 7.662 Mpps | 12.873%    | 1024    | 0.000 Mpps          | 7.662 Mpps            |
+-------+-----------------------------------------+------------+------------+---------+---------------------+-----------------------+
| 1518  | non_mergeable_path                      | 3.244 Mpps | 99.784%    | 1024    | 0.000 Mpps          | 3.244 Mpps            |
+-------+-----------------------------------------+------------+------------+---------+---------------------+-----------------------+
| 64    | non_mergeable_path_RestartVhost         | 7.656 Mpps | 12.862%    | 1024    | 0.000 Mpps          | 7.656 Mpps            |
+-------+-----------------------------------------+------------+------------+---------+---------------------+-----------------------+
| 1518  | non_mergeable_path_RestartVhost         | 3.253 Mpps | 100.066%   | 1024    | 0.000 Mpps          | 3.253 Mpps            |
+-------+-----------------------------------------+------------+------------+---------+---------------------+-----------------------+
| 64    | vector_rx_path                          | 7.677 Mpps | 12.897%    | 1024    | 0.000 Mpps          | 7.677 Mpps            |
+-------+-----------------------------------------+------------+------------+---------+---------------------+-----------------------+
| 1518  | vector_rx_path                          | 3.244 Mpps | 99.788%    | 1024    | 0.000 Mpps          | 3.244 Mpps            |
+-------+-----------------------------------------+------------+------------+---------+---------------------+-----------------------+
| 64    | vector_rx_path_RestartVhost             | 7.689 Mpps | 12.917%    | 1024    | 0.000 Mpps          | 7.689 Mpps            |
+-------+-----------------------------------------+------------+------------+---------+---------------------+-----------------------+
| 1518  | vector_rx_path_RestartVhost             | 3.253 Mpps | 100.063%   | 1024    | 0.000 Mpps          | 3.253 Mpps            |
+-------+-----------------------------------------+------------+------------+---------+---------------------+-----------------------+
19/01/2021 15:31:31           TestVirTioVhostCbdma: Accept tolerance are (Mpps) -0.000000
19/01/2021 15:31:31           TestVirTioVhostCbdma: Throughput Difference are (Mpps) 7.644000
19/01/2021 15:31:31           TestVirTioVhostCbdma: Accept tolerance are (Mpps) -0.000000
19/01/2021 15:31:31           TestVirTioVhostCbdma: Throughput Difference are (Mpps) 3.255000
19/01/2021 15:31:31           TestVirTioVhostCbdma: Accept tolerance are (Mpps) -0.000000
19/01/2021 15:31:31           TestVirTioVhostCbdma: Throughput Difference are (Mpps) 7.740000
19/01/2021 15:31:31           TestVirTioVhostCbdma: Accept tolerance are (Mpps) -0.000000
19/01/2021 15:31:31           TestVirTioVhostCbdma: Throughput Difference are (Mpps) 3.253000
19/01/2021 15:31:31           TestVirTioVhostCbdma: Accept tolerance are (Mpps) -0.000000
19/01/2021 15:31:31           TestVirTioVhostCbdma: Throughput Difference are (Mpps) 7.553000
19/01/2021 15:31:31           TestVirTioVhostCbdma: Accept tolerance are (Mpps) -0.000000
19/01/2021 15:31:31           TestVirTioVhostCbdma: Throughput Difference are (Mpps) 3.258000
19/01/2021 15:31:31           TestVirTioVhostCbdma: Accept tolerance are (Mpps) -0.000000
19/01/2021 15:31:31           TestVirTioVhostCbdma: Throughput Difference are (Mpps) 7.584000
19/01/2021 15:31:31           TestVirTioVhostCbdma: Accept tolerance are (Mpps) -0.000000
19/01/2021 15:31:31           TestVirTioVhostCbdma: Throughput Difference are (Mpps) 3.258000
19/01/2021 15:31:31           TestVirTioVhostCbdma: Accept tolerance are (Mpps) -0.000000
19/01/2021 15:31:31           TestVirTioVhostCbdma: Throughput Difference are (Mpps) 7.745000
19/01/2021 15:31:31           TestVirTioVhostCbdma: Accept tolerance are (Mpps) -0.000000
19/01/2021 15:31:31           TestVirTioVhostCbdma: Throughput Difference are (Mpps) 3.244000
19/01/2021 15:31:31           TestVirTioVhostCbdma: Accept tolerance are (Mpps) -0.000000
19/01/2021 15:31:31           TestVirTioVhostCbdma: Throughput Difference are (Mpps) 7.769000
19/01/2021 15:31:31           TestVirTioVhostCbdma: Accept tolerance are (Mpps) -0.000000
19/01/2021 15:31:31           TestVirTioVhostCbdma: Throughput Difference are (Mpps) 3.251000
19/01/2021 15:31:31           TestVirTioVhostCbdma: Accept tolerance are (Mpps) -0.000000
19/01/2021 15:31:31           TestVirTioVhostCbdma: Throughput Difference are (Mpps) 7.662000
19/01/2021 15:31:31           TestVirTioVhostCbdma: Accept tolerance are (Mpps) -0.000000
19/01/2021 15:31:31           TestVirTioVhostCbdma: Throughput Difference are (Mpps) 3.244000
19/01/2021 15:31:31           TestVirTioVhostCbdma: Accept tolerance are (Mpps) -0.000000
19/01/2021 15:31:31           TestVirTioVhostCbdma: Throughput Difference are (Mpps) 7.656000
19/01/2021 15:31:31           TestVirTioVhostCbdma: Accept tolerance are (Mpps) -0.000000
19/01/2021 15:31:31           TestVirTioVhostCbdma: Throughput Difference are (Mpps) 3.253000
19/01/2021 15:31:31           TestVirTioVhostCbdma: Accept tolerance are (Mpps) -0.000000
19/01/2021 15:31:31           TestVirTioVhostCbdma: Throughput Difference are (Mpps) 7.677000
19/01/2021 15:31:31           TestVirTioVhostCbdma: Accept tolerance are (Mpps) -0.000000
19/01/2021 15:31:31           TestVirTioVhostCbdma: Throughput Difference are (Mpps) 3.244000
19/01/2021 15:31:31           TestVirTioVhostCbdma: Accept tolerance are (Mpps) -0.000000
19/01/2021 15:31:31           TestVirTioVhostCbdma: Throughput Difference are (Mpps) 7.689000
19/01/2021 15:31:31           TestVirTioVhostCbdma: Accept tolerance are (Mpps) -0.000000
19/01/2021 15:31:31           TestVirTioVhostCbdma: Throughput Difference are (Mpps) 3.253000
19/01/2021 15:31:31           TestVirTioVhostCbdma: Test Case test_perf_pvp_spilt_all_path_with_cbdma_vhost_enqueue_operations Result PASSED:
19/01/2021 15:31:31             dut.10.240.183.220: killall -I dpdk-testpmd 
19/01/2021 15:31:32             dut.10.240.183.220: dpdk-testpmd: no process found
19/01/2021 15:31:32             dut.10.240.183.220: modprobe ioatdma
19/01/2021 15:31:32             dut.10.240.183.220: 
19/01/2021 15:31:32             dut.10.240.183.220: ./usertools/dpdk-devbind.py -u 0000:80:04.0
19/01/2021 15:31:32             dut.10.240.183.220: 
19/01/2021 15:31:32             dut.10.240.183.220: ./usertools/dpdk-devbind.py --force --bind=ioatdma  0000:80:04.0
19/01/2021 15:31:32             dut.10.240.183.220: 
19/01/2021 15:31:34                            dts: 
TEST SUITE ENDED: TestVirTioVhostCbdma

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

* [dts] [PATCH V1] tests/vhost_cbdma:Add allow pci option when start testpmd
@ 2021-01-19 16:23 Ling Wei
  2021-01-19  8:30 ` Ling, WeiX
  2021-01-21  8:29 ` Tu, Lijuan
  0 siblings, 2 replies; 3+ messages in thread
From: Ling Wei @ 2021-01-19 16:23 UTC (permalink / raw)
  To: dts; +Cc: Ling Wei

1.add allow pci option when start testpmd.

2.insmod igb_uio before bind cbdma device to igb_uio.

Signed-off-by: Ling Wei <weix.ling@intel.com>
---
 tests/TestSuite_vhost_cbdma.py | 25 ++++++++++++++++++++-----
 1 file changed, 20 insertions(+), 5 deletions(-)

diff --git a/tests/TestSuite_vhost_cbdma.py b/tests/TestSuite_vhost_cbdma.py
index 977f2905..78d5523b 100644
--- a/tests/TestSuite_vhost_cbdma.py
+++ b/tests/TestSuite_vhost_cbdma.py
@@ -159,6 +159,7 @@ class TestVirTioVhostCbdma(TestCase):
         self.used_cbdma = self.cbdma_dev_infos[0:cbdma_num]
 
         self.device_str = ' '.join(self.used_cbdma)
+        self.dut.setup_modules(self.target, "igb_uio", "None")
         self.dut.send_expect('./usertools/dpdk-devbind.py --force --bind=%s %s %s' %
                              ("igb_uio", self.device_str, self.pci_info), '# ', 60)
 
@@ -202,7 +203,7 @@ class TestVirTioVhostCbdma(TestCase):
         return True if out == '2048' else False
 
     def launch_testpmd_as_vhost_user(self, command, cores="Default", dev="", ports = ""):
-        self.pmdout_vhost_user.start_testpmd(cores=cores, param=command, vdevs=[dev], ports=[ports],
+        self.pmdout_vhost_user.start_testpmd(cores=cores, param=command, vdevs=[dev], ports=ports,
                                              prefix="vhost", fixed_prefix=True)
 
         self.vhost_user.send_expect('set fwd mac', 'testpmd> ', 120)
@@ -263,8 +264,11 @@ class TestVirTioVhostCbdma(TestCase):
 
         pvp_split_all_path_virtio_params = "--tx-offloads=0x0 --enable-hw-vlan-strip --nb-cores=%d --txd=%d " \
                                            "--rxd=%d" % (queue, txd_rxd, txd_rxd)
+        allow_pci = [self.dut.ports_info[0]['pci']]
+        for index in range(used_cbdma_num):
+            allow_pci.append(self.cbdma_dev_infos[index])
         self.launch_testpmd_as_vhost_user(eal_tx_rxd % (queue, txd_rxd, txd_rxd), self.cores[0:2],
-                                          dev=vhost_vdevs % (queue, dmathr), ports=self.dut_ports[0])
+                                          dev=vhost_vdevs % (queue, dmathr), ports=allow_pci)
 
         for key, path_mode in dev_path_mode_mapper.items():
             if key == "vector_rx_path":
@@ -317,8 +321,12 @@ class TestVirTioVhostCbdma(TestCase):
         vhost_dev = f"'net_vhost0,iface={virtio_path},queues={queue},client=1,%s'"
 
         # launch vhost testpmd
+        allow_pci = [self.dut.ports_info[0]['pci']]
+        for index in range(used_cbdma_num):
+            if index < used_cbdma_num / 2:
+                allow_pci.append(self.cbdma_dev_infos[index])
         self.launch_testpmd_as_vhost_user(eal_params, self.cores[0:2],
-                                          dev=vhost_dev % vhost_dmas, ports=self.dut_ports[0])
+                                          dev=vhost_dev % vhost_dmas, ports=allow_pci)
         #
         #  queue 2 start virtio testpmd, check perforamnce and RX/TX
         mode = "dynamic_queue2"
@@ -358,8 +366,12 @@ class TestVirTioVhostCbdma(TestCase):
         self.mode_list.append(mode)
         dmathr = 512
         vhost_dmas = f"dmas=[txq0@{self.used_cbdma[2]};txq1@{self.used_cbdma[3]}],dmathr={dmathr}"
+        allow_pci = [self.dut.ports_info[0]['pci']]
+        for index in range(used_cbdma_num):
+            if index >= used_cbdma_num / 2:
+                allow_pci.append(self.cbdma_dev_infos[index])
         self.launch_testpmd_as_vhost_user(eal_params, self.cores[0:2],
-                                          dev=vhost_dev % vhost_dmas, ports=self.dut_ports[0])
+                                          dev=vhost_dev % vhost_dmas, ports=allow_pci)
         self.virtio_user.send_expect("clear port stats all", "testpmd> ", 30)
         self.send_and_verify(mode, queue_list=range(queue))
         self.check_port_stats_result(self.virtio_user)
@@ -388,7 +400,10 @@ class TestVirTioVhostCbdma(TestCase):
         virtio_dev0 = f"net_virtio_user0,mac=00:01:02:03:04:05,path=./vhost-net0,queues=2,server=1,packed_vq=0,mrg_rxbuf=1,in_order=0,queue_size=4096"
         virtio_dev1 = f"net_virtio_user1,mac=00:01:02:03:04:05,path=./vhost-net1,queues=2,server=1,packed_vq=0,mrg_rxbuf=1,in_order=0,queue_size=4096"
         vdev_params = '{} --vdev {}'.format(vhost_vdev[0], vhost_vdev[1])
-        self.pmdout_vhost_user.start_testpmd(cores=self.cores[0:2], param=params, vdevs=[vdev_params], ports=[], prefix="vhost", fixed_prefix=True)
+        allow_pci = []
+        for index in range(used_cbdma_num):
+            allow_pci.append(self.cbdma_dev_infos[index])
+        self.pmdout_vhost_user.start_testpmd(cores=self.cores[0:2], param=params, vdevs=[vdev_params], ports=allow_pci, prefix="vhost", fixed_prefix=True)
         self.vhost_user.send_expect('start', 'testpmd> ', 120)
         # vid0,qid0,dma2,threshold:4096
         self.launch_testpmd_as_virtio_user1(params, self.cores[2:4], dev=virtio_dev1)
-- 
2.25.1


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

* Re: [dts] [PATCH V1] tests/vhost_cbdma:Add allow pci option when start testpmd
  2021-01-19 16:23 [dts] [PATCH V1] tests/vhost_cbdma:Add allow pci option when start testpmd Ling Wei
  2021-01-19  8:30 ` Ling, WeiX
@ 2021-01-21  8:29 ` Tu, Lijuan
  1 sibling, 0 replies; 3+ messages in thread
From: Tu, Lijuan @ 2021-01-21  8:29 UTC (permalink / raw)
  To: Ling, WeiX, dts; +Cc: Ling, WeiX

> Subject: [dts] [PATCH V1] tests/vhost_cbdma:Add allow pci option when
> start testpmd
> 
> 1.add allow pci option when start testpmd.
> 
> 2.insmod igb_uio before bind cbdma device to igb_uio.
> 
> Signed-off-by: Ling Wei <weix.ling@intel.com>

Applied

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

end of thread, other threads:[~2021-01-21  8:29 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-19 16:23 [dts] [PATCH V1] tests/vhost_cbdma:Add allow pci option when start testpmd Ling Wei
2021-01-19  8:30 ` Ling, WeiX
2021-01-21  8:29 ` Tu, Lijuan

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