test suite reviews and discussions
 help / color / mirror / Atom feed
* [dts] [PATCH V3] tests/vm2vm_virtio_user:fix send packet count wrong issue sync with testplan and optimization script code
@ 2021-03-03  5:30 Ling Wei
  2021-03-03  5:34 ` Ling, WeiX
  2021-03-03  5:36 ` Tu, Lijuan
  0 siblings, 2 replies; 3+ messages in thread
From: Ling Wei @ 2021-03-03  5:30 UTC (permalink / raw)
  To: dts; +Cc: Ling Wei

1.Fix test case 12 and 13 check packet count wrong issue sync with
  testplan.
2.Modify send_* patch function name for increase readability.
3.Add check step about execution drivername is igb_uio or not when 
  run CBDMA test case.

Signed-off-by: Ling Wei <weix.ling@intel.com>
---
 tests/TestSuite_vm2vm_virtio_user.py | 86 ++++++++++++++++++----------
 1 file changed, 55 insertions(+), 31 deletions(-)

diff --git a/tests/TestSuite_vm2vm_virtio_user.py b/tests/TestSuite_vm2vm_virtio_user.py
index 815afbdd..7f63380d 100644
--- a/tests/TestSuite_vm2vm_virtio_user.py
+++ b/tests/TestSuite_vm2vm_virtio_user.py
@@ -160,12 +160,11 @@ class TestVM2VMVirtioUser(TestCase):
         self.virtio_user0_pmd.start_testpmd(cores=self.core_list_virtio0, param=params, eal_param=eal_params, \
                                            no_pci=True, ports=[],prefix=self.virtio_prefix_0, fixed_prefix=True)
 
-    def check_packet_payload_valid_with_cbdma(self, filename, small_pkts_num, large_8k_pkts_num, large_2k_pkts_num):
+    def check_packet_payload_valid_with_cbdma(self, filename, total_pkts_num, large_8k_pkts_num, large_2k_pkts_num):
         """
         check the payload is valid
         """
         # stop pdump
-        total_pkts_num = small_pkts_num
         actual_8k_pkt_num = 0
         actual_2k_pkt_num = 0
         time.sleep(20)
@@ -197,7 +196,10 @@ class TestVM2VMVirtioUser(TestCase):
         # the virtio0 will send 251 small pkts
         self.start_virtio_testpmd_with_vhost_net0_cbdma(path_mode, extern_param, ringsize)
 
-    def resend_32_large_pkt_from_virtio0(self):
+    def send_32_2k_pkts_from_virtio0(self):
+        """
+        send 32 2k length packets from virtio_user0 testpmd
+        """
         self.virtio_user0_pmd.execute_cmd('stop')
         self.virtio_user0_pmd.execute_cmd('set burst 32')
         self.virtio_user0_pmd.execute_cmd('set txpkts 2000')
@@ -343,13 +345,13 @@ class TestVM2VMVirtioUser(TestCase):
         # then resend 32 large pkts, all will received
         self.logger.info('check pcap file info about virtio')
         self.get_dump_file_of_virtio_user(path_mode, extern_params, ringsize)
-        self.resend_32_large_pkt_from_virtio0()
+        self.send_32_2k_pkts_from_virtio0()
         self.check_packet_payload_valid(self.dump_virtio_pcap, small_pkts_num, large_8k_pkts_num, large_2k_pkts_num)
 
         # get dump pcap file of vhost
         self.logger.info('check pcap file info about vhost')
         self.get_dump_file_of_vhost_user(path_mode, extern_params, ringsize)
-        self.resend_32_large_pkt_from_virtio0()
+        self.send_32_2k_pkts_from_virtio0()
         self.check_packet_payload_valid(self.dump_vhost_pcap, small_pkts_num, large_8k_pkts_num, large_2k_pkts_num)
 
         self.logger.info('diff the pcap file of vhost and virtio')
@@ -503,13 +505,13 @@ class TestVM2VMVirtioUser(TestCase):
         # then virtio send 32 large pkts, the virtio will all received
         self.logger.info('check pcap file info about virtio')
         self.get_dump_file_of_virtio_user(path_mode, extern_params, ringsize)
-        self.resend_32_large_pkt_from_virtio0()
+        self.send_32_2k_pkts_from_virtio0()
         self.check_packet_payload_valid(self.dump_virtio_pcap, small_pkts_num, large_8k_pkts_num, large_2k_pkts_num)
 
         # get dump pcap file of vhost
         self.logger.info('check pcap file info about vhost')
         self.get_dump_file_of_vhost_user(path_mode, extern_params, ringsize)
-        self.resend_32_large_pkt_from_virtio0()
+        self.send_32_2k_pkts_from_virtio0()
         self.check_packet_payload_valid(self.dump_vhost_pcap, small_pkts_num, large_8k_pkts_num, large_2k_pkts_num)
 
         self.logger.info('diff the pcap file of vhost and virtio')
@@ -671,9 +673,9 @@ class TestVM2VMVirtioUser(TestCase):
         self.cbdma_nic_dev_num = 4
         self.bind_nic_driver(self.dut_ports)
         self.get_cbdma_ports_info_and_bind_to_dpdk()
-        small_pkts_num = 512
         large_8k_pkts_num = 502
-        large_2k_pkts_num = 10
+        large_2k_pkts_num = 64
+        total_pkts_num = large_8k_pkts_num + large_2k_pkts_num
         self.queue_num=2
         self.nopci=False
         path_mode = 'server=1,packed_vq=0,mrg_rxbuf=1,in_order=1'
@@ -686,17 +688,22 @@ class TestVM2VMVirtioUser(TestCase):
                 f"--vdev 'eth_vhost1,iface=vhost-net1,queues=2,client=1,dmas=[txq0@{self.cbdma_dev_infos[2]};txq1@{self.cbdma_dev_infos[3]}],dmathr=512'"
 
         self.get_dump_file_of_virtio_user_cbdma(path_mode, extern_params, ringsize, vdevs, no_pci=False)
-        self.send_8k_pkt()
-        self.check_packet_payload_valid_with_cbdma(self.dump_virtio_pcap, small_pkts_num, large_8k_pkts_num,
-                                                   large_2k_pkts_num)
+        self.send_251_8k_and_32_2k_pkts()
+        # execute stop and port stop all to avoid testpmd tail_pkts issue.
+        self.vhost_user_pmd.execute_cmd('stop')
+        self.vhost_user_pmd.execute_cmd('port stop all')
+        self.check_packet_payload_valid_with_cbdma(self.dump_virtio_pcap, total_pkts_num, large_8k_pkts_num, large_2k_pkts_num)
         # get dump pcap file of vhost
         self.logger.info('check pcap file info about vhost')
-        small_pkts_num = 512
         large_8k_pkts_num = 54
-        large_2k_pkts_num = 458
+        large_2k_pkts_num = 512
+        total_pkts_num = large_8k_pkts_num + large_2k_pkts_num
         self.get_dump_file_of_virtio_user_cbdma(path_mode, extern_params, ringsize, vdevs, no_pci=False)
-        self.send_multiple_pkt()
-        self.check_packet_payload_valid_with_cbdma(self.dump_virtio_pcap, small_pkts_num, large_8k_pkts_num, large_2k_pkts_num)
+        self.send_27_8k_and_256_2k_pkts()
+        # execute stop and port stop all to avoid testpmd tail_pkts issue.
+        self.vhost_user_pmd.execute_cmd('stop')
+        self.vhost_user_pmd.execute_cmd('port stop all')
+        self.check_packet_payload_valid_with_cbdma(self.dump_virtio_pcap, total_pkts_num, large_8k_pkts_num, large_2k_pkts_num)
 
         self.logger.info('diff the pcap file of vhost and virtio')
 
@@ -708,9 +715,9 @@ class TestVM2VMVirtioUser(TestCase):
         self.cbdma_nic_dev_num = 4
         self.bind_nic_driver(self.dut_ports)
         self.get_cbdma_ports_info_and_bind_to_dpdk()
-        small_pkts_num = 448
         large_8k_pkts_num = 54
-        large_2k_pkts_num = 394
+        large_2k_pkts_num = 448
+        total_pkts_num = large_8k_pkts_num + large_2k_pkts_num
         self.queue_num=2
         self.nopci=False
         path_mode = 'server=1,packed_vq=0,mrg_rxbuf=1,in_order=0'
@@ -723,20 +730,26 @@ class TestVM2VMVirtioUser(TestCase):
                 f"--vdev 'eth_vhost1,iface=vhost-net1,queues=2,client=1,dmas=[txq0@{self.cbdma_dev_infos[2]};txq1@{self.cbdma_dev_infos[3]}],dmathr=512'"
 
         self.get_dump_file_of_virtio_user_cbdma(path_mode, extern_params, ringsize, vdevs, no_pci=False)
-        self.send_multiple_pkt_with_8k54_2k394()
-        self.check_packet_payload_valid_with_cbdma(self.dump_virtio_pcap, small_pkts_num, large_8k_pkts_num, large_2k_pkts_num)
+        self.send_27_8k_and_224_2k_pkts()
+        # execute stop and port stop all to avoid testpmd tail_pkts issue.
+        self.vhost_user_pmd.execute_cmd('stop')
+        self.vhost_user_pmd.execute_cmd('port stop all')
+        self.check_packet_payload_valid_with_cbdma(self.dump_virtio_pcap, total_pkts_num, large_8k_pkts_num, large_2k_pkts_num)
         # get dump pcap file of vhost
         self.logger.info('check pcap file info about vhost')
-        small_pkts_num = 448
-        large_8k_pkts_num = 448
+        large_8k_pkts_num = 502
         large_2k_pkts_num = 0
+        total_pkts_num = large_8k_pkts_num + large_2k_pkts_num
         self.get_dump_file_of_virtio_user_cbdma(path_mode, extern_params, ringsize, vdevs, no_pci=False)
-        self.send_multiple_pkt_with_8k448()
-        self.check_packet_payload_valid_with_cbdma(self.dump_virtio_pcap, small_pkts_num, large_8k_pkts_num, large_2k_pkts_num)
+        self.send_251_8k_pkts()
+        # execute stop and port stop all to avoid testpmd tail_pkts issue.
+        self.vhost_user_pmd.execute_cmd('stop')
+        self.vhost_user_pmd.execute_cmd('port stop all')
+        self.check_packet_payload_valid_with_cbdma(self.dump_virtio_pcap, total_pkts_num, large_8k_pkts_num, large_2k_pkts_num)
 
         self.logger.info('diff the pcap file of vhost and virtio')
 
-    def send_multiple_pkt_with_8k54_2k394(self):
+    def send_27_8k_and_224_2k_pkts(self):
         self.virtio_user0_pmd.execute_cmd('set burst 1')
         self.virtio_user0_pmd.execute_cmd('set txpkts 2000,2000,2000,2000')
         self.virtio_user0_pmd.execute_cmd('start tx_first 27')
@@ -746,7 +759,10 @@ class TestVM2VMVirtioUser(TestCase):
         self.virtio_user0_pmd.execute_cmd('start tx_first 7')
         self.vhost_user_pmd.execute_cmd('start')
 
-    def send_multiple_pkt_with_8k448(self):
+    def send_251_8k_pkts(self):
+        """
+        send 251 8k length packets from virtio_user0 testpmd
+        """
         self.virtio_user0_pmd.execute_cmd('set burst 1')
         self.virtio_user0_pmd.execute_cmd('set txpkts 2000,2000,2000,2000')
         self.virtio_user0_pmd.execute_cmd('start tx_first 27')
@@ -756,7 +772,10 @@ class TestVM2VMVirtioUser(TestCase):
         self.virtio_user0_pmd.execute_cmd('start tx_first 7')
         self.vhost_user_pmd.execute_cmd('start')
 
-    def send_8k_pkt(self):
+    def send_251_8k_and_32_2k_pkts(self):
+        """
+        send 251 8k and 32 2k length packets from virtio_user0 testpmd
+        """
         self.virtio_user0_pmd.execute_cmd('set burst 1')
         self.virtio_user0_pmd.execute_cmd('set txpkts 2000,2000,2000,2000')
         self.virtio_user0_pmd.execute_cmd('start tx_first 27')
@@ -768,7 +787,10 @@ class TestVM2VMVirtioUser(TestCase):
         self.virtio_user0_pmd.execute_cmd('start tx_first 1')
         self.vhost_user_pmd.execute_cmd('start')
 
-    def send_multiple_pkt(self):
+    def send_27_8k_and_256_2k_pkts(self):
+        """
+        send 27 8k and 256 2k length packets from virtio_user0 testpmd
+        """
         self.virtio_user0_pmd.execute_cmd('set burst 1')
         self.virtio_user0_pmd.execute_cmd('set txpkts 2000,2000,2000,2000')
         self.virtio_user0_pmd.execute_cmd('start tx_first 27')
@@ -785,9 +807,11 @@ class TestVM2VMVirtioUser(TestCase):
         """
         get all cbdma ports
         """
+        # check driver name in execution.cfg
+        self.verify(self.drivername == 'igb_uio',
+                    "CBDMA test case only use igb_uio driver, need config drivername=igb_uio in execution.cfg")
         str_info = 'Misc (rawdev) devices using kernel driver'
-        out = self.dut.send_expect('./usertools/dpdk-devbind.py --status-dev misc',
-                                   '# ', 30)
+        out = self.dut.send_expect('./usertools/dpdk-devbind.py --status-dev misc', '# ', 30)
         device_info = out.split('\n')
         for device in device_info:
             pci_info = re.search('\s*(0000:\d*:\d*.\d*)', device)
@@ -804,4 +828,4 @@ class TestVM2VMVirtioUser(TestCase):
                     self.cbdma_dev_infos.append(pci_info.group(1))
         self.verify(len(self.cbdma_dev_infos) >= 8, 'There no enough cbdma device to run this suite')
         self.device_str = ' '.join(self.cbdma_dev_infos[0:self.cbdma_nic_dev_num])
-        self.dut.send_expect('./usertools/dpdk-devbind.py --force --bind=igb_uio %s' % self.device_str, '# ', 60)
+        self.dut.send_expect('./usertools/dpdk-devbind.py --force --bind=%s %s' % (self.drivername, self.device_str), '# ', 60)
-- 
2.25.1


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

* Re: [dts] [PATCH V3] tests/vm2vm_virtio_user:fix send packet count wrong issue sync with testplan and optimization script code
  2021-03-03  5:30 [dts] [PATCH V3] tests/vm2vm_virtio_user:fix send packet count wrong issue sync with testplan and optimization script code Ling Wei
@ 2021-03-03  5:34 ` Ling, WeiX
  2021-03-03  5:36 ` Tu, Lijuan
  1 sibling, 0 replies; 3+ messages in thread
From: Ling, WeiX @ 2021-03-03  5:34 UTC (permalink / raw)
  To: dts

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

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

Regards,
Ling Wei

> -----Original Message-----
> From: Ling, WeiX <weix.ling@intel.com>
> Sent: Wednesday, March 3, 2021 01:30 PM
> To: dts@dpdk.org
> Cc: Ling, WeiX <weix.ling@intel.com>
> Subject: [dts][PATCH V3] tests/vm2vm_virtio_user:fix send packet count
> wrong issue sync with testplan and optimization script code
> 
> 1.Fix test case 12 and 13 check packet count wrong issue sync with
>   testplan.
> 2.Modify send_* patch function name for increase readability.
> 3.Add check step about execution drivername is igb_uio or not when
>   run CBDMA test case.


[-- 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

[-- Attachment #3: TestVM2VMVirtioUser.log --]
[-- Type: application/octet-stream, Size: 22863 bytes --]

03/03/2021 13:11:51                            dts: 
TEST SUITE : TestVM2VMVirtioUser
03/03/2021 13:11:51                            dts: NIC :        fortville_spirit
03/03/2021 13:11:51             dut.10.240.183.220: 
03/03/2021 13:11:51                         tester: 
03/03/2021 13:11:58             dut.10.240.183.220: echo 0000:af:00.0 > /sys/bus/pci/devices/0000\:af\:00.0/driver/unbind
03/03/2021 13:11:58             dut.10.240.183.220: 
03/03/2021 13:11:58             dut.10.240.183.220: modprobe i40e
03/03/2021 13:11:58             dut.10.240.183.220: 
03/03/2021 13:11:58             dut.10.240.183.220: echo 0000:af:00.0 > /sys/bus/pci/drivers/i40e/bind
03/03/2021 13:11:58             dut.10.240.183.220: 
03/03/2021 13:11:58             dut.10.240.183.220: ifconfig ens802f0 up
03/03/2021 13:11:59             dut.10.240.183.220: 
03/03/2021 13:11:59             dut.10.240.183.220: echo 0000:af:00.1 > /sys/bus/pci/devices/0000\:af\:00.1/driver/unbind
03/03/2021 13:11:59             dut.10.240.183.220: 
03/03/2021 13:11:59             dut.10.240.183.220: modprobe i40e
03/03/2021 13:11:59             dut.10.240.183.220: 
03/03/2021 13:11:59             dut.10.240.183.220: echo 0000:af:00.1 > /sys/bus/pci/drivers/i40e/bind
03/03/2021 13:11:59             dut.10.240.183.220: 
03/03/2021 13:11:59             dut.10.240.183.220: ifconfig ens802f1 up
03/03/2021 13:11:59             dut.10.240.183.220: 
03/03/2021 13:11:59             dut.10.240.183.220: cat /proc/meminfo |grep Hugepagesize|awk '{print($2)}'
03/03/2021 13:11:59             dut.10.240.183.220: 1048576
03/03/2021 13:11:59            TestVM2VMVirtioUser: Test Case test_vm2vm_virtio_user_packed_virtqueue_inorder_mergeable_path Begin
03/03/2021 13:12:00             dut.10.240.183.220: 
03/03/2021 13:12:00                         tester: 
03/03/2021 13:12:00             dut.10.240.183.220: rm -rf ./vhost-net*
03/03/2021 13:12:00             dut.10.240.183.220: 
03/03/2021 13:12:00             dut.10.240.183.220: rm -rf /tmp/pdump-virtio-rx.pcap
03/03/2021 13:12:00             dut.10.240.183.220: 
03/03/2021 13:12:00             dut.10.240.183.220: rm -rf /tmp/pdump-vhost-rx.pcap
03/03/2021 13:12:00             dut.10.240.183.220: 
03/03/2021 13:12:00            TestVM2VMVirtioUser: check pcap file info about virtio
03/03/2021 13:12:10             dut.10.240.183.220: cat /proc/meminfo |grep Hugepagesize|awk '{print($2)}'
03/03/2021 13:12:11             dut.10.240.183.220: 1048576
03/03/2021 13:12:22             dut.10.240.183.220: cat /proc/meminfo |grep Hugepagesize|awk '{print($2)}'
03/03/2021 13:12:22             dut.10.240.183.220: 1048576
03/03/2021 13:12:57             dut.10.240.183.220: scp -v root@10.240.183.220:/tmp/pdump-virtio-rx.pcap /tmp/pdump-virtio-rx.pcap
03/03/2021 13:12:59            TestVM2VMVirtioUser: check pcap file info about vhost
03/03/2021 13:13:10             dut.10.240.183.220: cat /proc/meminfo |grep Hugepagesize|awk '{print($2)}'
03/03/2021 13:13:10             dut.10.240.183.220: 1048576
03/03/2021 13:13:45             dut.10.240.183.220: scp -v root@10.240.183.220:/tmp/pdump-vhost-rx.pcap /tmp/pdump-vhost-rx.pcap
03/03/2021 13:13:47            TestVM2VMVirtioUser: diff the pcap file of vhost and virtio
03/03/2021 13:13:47            TestVM2VMVirtioUser: Test Case test_vm2vm_virtio_user_packed_virtqueue_inorder_mergeable_path Result PASSED:
03/03/2021 13:13:54             dut.10.240.183.220: kill_all: called by dut and prefix list has value.
03/03/2021 13:13:59            TestVM2VMVirtioUser: Test Case test_vm2vm_virtio_user_packed_virtqueue_inorder_no_mergeable_path Begin
03/03/2021 13:13:59             dut.10.240.183.220: 
03/03/2021 13:13:59                         tester: 
03/03/2021 13:13:59             dut.10.240.183.220: rm -rf ./vhost-net*
03/03/2021 13:13:59             dut.10.240.183.220: 
03/03/2021 13:13:59             dut.10.240.183.220: rm -rf /tmp/pdump-virtio-rx.pcap
03/03/2021 13:13:59             dut.10.240.183.220: 
03/03/2021 13:13:59             dut.10.240.183.220: rm -rf /tmp/pdump-vhost-rx.pcap
03/03/2021 13:13:59             dut.10.240.183.220: 
03/03/2021 13:13:59            TestVM2VMVirtioUser: check pcap file info about virtio
03/03/2021 13:14:10             dut.10.240.183.220: cat /proc/meminfo |grep Hugepagesize|awk '{print($2)}'
03/03/2021 13:14:10             dut.10.240.183.220: 1048576
03/03/2021 13:14:21             dut.10.240.183.220: cat /proc/meminfo |grep Hugepagesize|awk '{print($2)}'
03/03/2021 13:14:21             dut.10.240.183.220: 1048576
03/03/2021 13:14:57             dut.10.240.183.220: scp -v root@10.240.183.220:/tmp/pdump-virtio-rx.pcap /tmp/pdump-virtio-rx.pcap
03/03/2021 13:14:59            TestVM2VMVirtioUser: check pcap file info about vhost
03/03/2021 13:15:09             dut.10.240.183.220: cat /proc/meminfo |grep Hugepagesize|awk '{print($2)}'
03/03/2021 13:15:09             dut.10.240.183.220: 1048576
03/03/2021 13:15:44             dut.10.240.183.220: scp -v root@10.240.183.220:/tmp/pdump-vhost-rx.pcap /tmp/pdump-vhost-rx.pcap
03/03/2021 13:15:46            TestVM2VMVirtioUser: diff the pcap file of vhost and virtio
03/03/2021 13:15:46            TestVM2VMVirtioUser: Test Case test_vm2vm_virtio_user_packed_virtqueue_inorder_no_mergeable_path Result PASSED:
03/03/2021 13:15:46             dut.10.240.183.220: kill_all: called by dut and prefix list has value.
03/03/2021 13:15:51            TestVM2VMVirtioUser: Test Case test_vm2vm_virtio_user_packed_virtqueue_mergeable_path Begin
03/03/2021 13:15:51             dut.10.240.183.220: 
03/03/2021 13:15:51                         tester: 
03/03/2021 13:15:51             dut.10.240.183.220: rm -rf ./vhost-net*
03/03/2021 13:15:51             dut.10.240.183.220: 
03/03/2021 13:15:51             dut.10.240.183.220: rm -rf /tmp/pdump-virtio-rx.pcap
03/03/2021 13:15:51             dut.10.240.183.220: 
03/03/2021 13:15:51             dut.10.240.183.220: rm -rf /tmp/pdump-vhost-rx.pcap
03/03/2021 13:15:52             dut.10.240.183.220: 
03/03/2021 13:15:52            TestVM2VMVirtioUser: check pcap file info about virtio
03/03/2021 13:16:02             dut.10.240.183.220: cat /proc/meminfo |grep Hugepagesize|awk '{print($2)}'
03/03/2021 13:16:02             dut.10.240.183.220: 1048576
03/03/2021 13:16:13             dut.10.240.183.220: cat /proc/meminfo |grep Hugepagesize|awk '{print($2)}'
03/03/2021 13:16:13             dut.10.240.183.220: 1048576
03/03/2021 13:16:49             dut.10.240.183.220: scp -v root@10.240.183.220:/tmp/pdump-virtio-rx.pcap /tmp/pdump-virtio-rx.pcap
03/03/2021 13:16:51            TestVM2VMVirtioUser: check pcap file info about vhost
03/03/2021 13:17:02             dut.10.240.183.220: cat /proc/meminfo |grep Hugepagesize|awk '{print($2)}'
03/03/2021 13:17:02             dut.10.240.183.220: 1048576
03/03/2021 13:17:37             dut.10.240.183.220: scp -v root@10.240.183.220:/tmp/pdump-vhost-rx.pcap /tmp/pdump-vhost-rx.pcap
03/03/2021 13:17:39            TestVM2VMVirtioUser: diff the pcap file of vhost and virtio
03/03/2021 13:17:40            TestVM2VMVirtioUser: Test Case test_vm2vm_virtio_user_packed_virtqueue_mergeable_path Result PASSED:
03/03/2021 13:17:40             dut.10.240.183.220: kill_all: called by dut and prefix list has value.
03/03/2021 13:17:44            TestVM2VMVirtioUser: Test Case test_vm2vm_virtio_user_packed_virtqueue_no_mergeable_path Begin
03/03/2021 13:17:44             dut.10.240.183.220: 
03/03/2021 13:17:45                         tester: 
03/03/2021 13:17:45             dut.10.240.183.220: rm -rf ./vhost-net*
03/03/2021 13:17:45             dut.10.240.183.220: 
03/03/2021 13:17:45             dut.10.240.183.220: rm -rf /tmp/pdump-virtio-rx.pcap
03/03/2021 13:17:45             dut.10.240.183.220: 
03/03/2021 13:17:45             dut.10.240.183.220: rm -rf /tmp/pdump-vhost-rx.pcap
03/03/2021 13:17:45             dut.10.240.183.220: 
03/03/2021 13:17:45            TestVM2VMVirtioUser: check pcap file info about virtio
03/03/2021 13:17:55             dut.10.240.183.220: cat /proc/meminfo |grep Hugepagesize|awk '{print($2)}'
03/03/2021 13:17:55             dut.10.240.183.220: 1048576
03/03/2021 13:18:07             dut.10.240.183.220: cat /proc/meminfo |grep Hugepagesize|awk '{print($2)}'
03/03/2021 13:18:07             dut.10.240.183.220: 1048576
03/03/2021 13:18:42             dut.10.240.183.220: scp -v root@10.240.183.220:/tmp/pdump-virtio-rx.pcap /tmp/pdump-virtio-rx.pcap
03/03/2021 13:18:44            TestVM2VMVirtioUser: check pcap file info about vhost
03/03/2021 13:18:55             dut.10.240.183.220: cat /proc/meminfo |grep Hugepagesize|awk '{print($2)}'
03/03/2021 13:18:55             dut.10.240.183.220: 1048576
03/03/2021 13:19:30             dut.10.240.183.220: scp -v root@10.240.183.220:/tmp/pdump-vhost-rx.pcap /tmp/pdump-vhost-rx.pcap
03/03/2021 13:19:32            TestVM2VMVirtioUser: diff the pcap file of vhost and virtio
03/03/2021 13:19:32            TestVM2VMVirtioUser: Test Case test_vm2vm_virtio_user_packed_virtqueue_no_mergeable_path Result PASSED:
03/03/2021 13:19:32             dut.10.240.183.220: kill_all: called by dut and prefix list has value.
03/03/2021 13:19:37            TestVM2VMVirtioUser: Test Case test_vm2vm_virtio_user_packed_virtqueue_vectorized_path Begin
03/03/2021 13:19:37             dut.10.240.183.220: 
03/03/2021 13:19:37                         tester: 
03/03/2021 13:19:37             dut.10.240.183.220: rm -rf ./vhost-net*
03/03/2021 13:19:37             dut.10.240.183.220: 
03/03/2021 13:19:37             dut.10.240.183.220: rm -rf /tmp/pdump-virtio-rx.pcap
03/03/2021 13:19:37             dut.10.240.183.220: 
03/03/2021 13:19:37             dut.10.240.183.220: rm -rf /tmp/pdump-vhost-rx.pcap
03/03/2021 13:19:37             dut.10.240.183.220: 
03/03/2021 13:19:37            TestVM2VMVirtioUser: check pcap file info about virtio
03/03/2021 13:19:48             dut.10.240.183.220: cat /proc/meminfo |grep Hugepagesize|awk '{print($2)}'
03/03/2021 13:19:48             dut.10.240.183.220: 1048576
03/03/2021 13:19:59             dut.10.240.183.220: cat /proc/meminfo |grep Hugepagesize|awk '{print($2)}'
03/03/2021 13:19:59             dut.10.240.183.220: 1048576
03/03/2021 13:20:35             dut.10.240.183.220: scp -v root@10.240.183.220:/tmp/pdump-virtio-rx.pcap /tmp/pdump-virtio-rx.pcap
03/03/2021 13:20:36            TestVM2VMVirtioUser: check pcap file info about vhost
03/03/2021 13:20:47             dut.10.240.183.220: cat /proc/meminfo |grep Hugepagesize|awk '{print($2)}'
03/03/2021 13:20:47             dut.10.240.183.220: 1048576
03/03/2021 13:21:22             dut.10.240.183.220: scp -v root@10.240.183.220:/tmp/pdump-vhost-rx.pcap /tmp/pdump-vhost-rx.pcap
03/03/2021 13:21:24            TestVM2VMVirtioUser: diff the pcap file of vhost and virtio
03/03/2021 13:21:24            TestVM2VMVirtioUser: Test Case test_vm2vm_virtio_user_packed_virtqueue_vectorized_path Result PASSED:
03/03/2021 13:21:24             dut.10.240.183.220: kill_all: called by dut and prefix list has value.
03/03/2021 13:21:29            TestVM2VMVirtioUser: Test Case test_vm2vm_virtio_user_packed_virtqueue_vectorized_path_ringsize_not_powerof_2 Begin
03/03/2021 13:21:29             dut.10.240.183.220: 
03/03/2021 13:21:29                         tester: 
03/03/2021 13:21:29             dut.10.240.183.220: rm -rf ./vhost-net*
03/03/2021 13:21:29             dut.10.240.183.220: 
03/03/2021 13:21:29             dut.10.240.183.220: rm -rf /tmp/pdump-virtio-rx.pcap
03/03/2021 13:21:29             dut.10.240.183.220: 
03/03/2021 13:21:29             dut.10.240.183.220: rm -rf /tmp/pdump-vhost-rx.pcap
03/03/2021 13:21:29             dut.10.240.183.220: 
03/03/2021 13:21:29            TestVM2VMVirtioUser: check pcap file info about virtio
03/03/2021 13:21:40             dut.10.240.183.220: cat /proc/meminfo |grep Hugepagesize|awk '{print($2)}'
03/03/2021 13:21:40             dut.10.240.183.220: 1048576
03/03/2021 13:21:51             dut.10.240.183.220: cat /proc/meminfo |grep Hugepagesize|awk '{print($2)}'
03/03/2021 13:21:51             dut.10.240.183.220: 1048576
03/03/2021 13:22:27             dut.10.240.183.220: scp -v root@10.240.183.220:/tmp/pdump-virtio-rx.pcap /tmp/pdump-virtio-rx.pcap
03/03/2021 13:22:29            TestVM2VMVirtioUser: check pcap file info about vhost
03/03/2021 13:22:39             dut.10.240.183.220: cat /proc/meminfo |grep Hugepagesize|awk '{print($2)}'
03/03/2021 13:22:39             dut.10.240.183.220: 1048576
03/03/2021 13:23:14             dut.10.240.183.220: scp -v root@10.240.183.220:/tmp/pdump-vhost-rx.pcap /tmp/pdump-vhost-rx.pcap
03/03/2021 13:23:16            TestVM2VMVirtioUser: diff the pcap file of vhost and virtio
03/03/2021 13:23:16            TestVM2VMVirtioUser: Test Case test_vm2vm_virtio_user_packed_virtqueue_vectorized_path_ringsize_not_powerof_2 Result PASSED:
03/03/2021 13:23:17             dut.10.240.183.220: kill_all: called by dut and prefix list has value.
03/03/2021 13:23:21            TestVM2VMVirtioUser: Test Case test_vm2vm_virtio_user_split_virtqueue_inorder_mergeable_path Begin
03/03/2021 13:23:21             dut.10.240.183.220: 
03/03/2021 13:23:21                         tester: 
03/03/2021 13:23:21             dut.10.240.183.220: rm -rf ./vhost-net*
03/03/2021 13:23:21             dut.10.240.183.220: 
03/03/2021 13:23:21             dut.10.240.183.220: rm -rf /tmp/pdump-virtio-rx.pcap
03/03/2021 13:23:22             dut.10.240.183.220: 
03/03/2021 13:23:22             dut.10.240.183.220: rm -rf /tmp/pdump-vhost-rx.pcap
03/03/2021 13:23:22             dut.10.240.183.220: 
03/03/2021 13:23:22            TestVM2VMVirtioUser: check pcap file info about virtio
03/03/2021 13:23:32             dut.10.240.183.220: cat /proc/meminfo |grep Hugepagesize|awk '{print($2)}'
03/03/2021 13:23:32             dut.10.240.183.220: 1048576
03/03/2021 13:23:43             dut.10.240.183.220: cat /proc/meminfo |grep Hugepagesize|awk '{print($2)}'
03/03/2021 13:23:44             dut.10.240.183.220: 1048576
03/03/2021 13:24:19             dut.10.240.183.220: scp -v root@10.240.183.220:/tmp/pdump-virtio-rx.pcap /tmp/pdump-virtio-rx.pcap
03/03/2021 13:24:21            TestVM2VMVirtioUser: check pcap file info about vhost
03/03/2021 13:24:32             dut.10.240.183.220: cat /proc/meminfo |grep Hugepagesize|awk '{print($2)}'
03/03/2021 13:24:32             dut.10.240.183.220: 1048576
03/03/2021 13:25:07             dut.10.240.183.220: scp -v root@10.240.183.220:/tmp/pdump-vhost-rx.pcap /tmp/pdump-vhost-rx.pcap
03/03/2021 13:25:09            TestVM2VMVirtioUser: diff the pcap file of vhost and virtio
03/03/2021 13:25:09            TestVM2VMVirtioUser: Test Case test_vm2vm_virtio_user_split_virtqueue_inorder_mergeable_path Result PASSED:
03/03/2021 13:25:09             dut.10.240.183.220: kill_all: called by dut and prefix list has value.
03/03/2021 13:25:14            TestVM2VMVirtioUser: Test Case test_vm2vm_virtio_user_split_virtqueue_inorder_mergeable_path_with_cbdma Result SKIPPED:
03/03/2021 13:25:14            TestVM2VMVirtioUser: Test Case test_vm2vm_virtio_user_split_virtqueue_inorder_no_mergeable_path Begin
03/03/2021 13:25:14             dut.10.240.183.220: 
03/03/2021 13:25:14                         tester: 
03/03/2021 13:25:14             dut.10.240.183.220: rm -rf ./vhost-net*
03/03/2021 13:25:14             dut.10.240.183.220: 
03/03/2021 13:25:14             dut.10.240.183.220: rm -rf /tmp/pdump-virtio-rx.pcap
03/03/2021 13:25:14             dut.10.240.183.220: 
03/03/2021 13:25:14             dut.10.240.183.220: rm -rf /tmp/pdump-vhost-rx.pcap
03/03/2021 13:25:14             dut.10.240.183.220: 
03/03/2021 13:25:14            TestVM2VMVirtioUser: check pcap file info about virtio
03/03/2021 13:25:25             dut.10.240.183.220: cat /proc/meminfo |grep Hugepagesize|awk '{print($2)}'
03/03/2021 13:25:25             dut.10.240.183.220: 1048576
03/03/2021 13:25:36             dut.10.240.183.220: cat /proc/meminfo |grep Hugepagesize|awk '{print($2)}'
03/03/2021 13:25:36             dut.10.240.183.220: 1048576
03/03/2021 13:26:12             dut.10.240.183.220: scp -v root@10.240.183.220:/tmp/pdump-virtio-rx.pcap /tmp/pdump-virtio-rx.pcap
03/03/2021 13:26:14            TestVM2VMVirtioUser: check pcap file info about vhost
03/03/2021 13:26:24             dut.10.240.183.220: cat /proc/meminfo |grep Hugepagesize|awk '{print($2)}'
03/03/2021 13:26:25             dut.10.240.183.220: 1048576
03/03/2021 13:26:59             dut.10.240.183.220: scp -v root@10.240.183.220:/tmp/pdump-vhost-rx.pcap /tmp/pdump-vhost-rx.pcap
03/03/2021 13:27:01            TestVM2VMVirtioUser: diff the pcap file of vhost and virtio
03/03/2021 13:27:01            TestVM2VMVirtioUser: Test Case test_vm2vm_virtio_user_split_virtqueue_inorder_no_mergeable_path Result PASSED:
03/03/2021 13:27:02             dut.10.240.183.220: kill_all: called by dut and prefix list has value.
03/03/2021 13:27:06            TestVM2VMVirtioUser: Test Case test_vm2vm_virtio_user_split_virtqueue_mergeable_path Begin
03/03/2021 13:27:06             dut.10.240.183.220: 
03/03/2021 13:27:06                         tester: 
03/03/2021 13:27:06             dut.10.240.183.220: rm -rf ./vhost-net*
03/03/2021 13:27:07             dut.10.240.183.220: 
03/03/2021 13:27:07             dut.10.240.183.220: rm -rf /tmp/pdump-virtio-rx.pcap
03/03/2021 13:27:07             dut.10.240.183.220: 
03/03/2021 13:27:07             dut.10.240.183.220: rm -rf /tmp/pdump-vhost-rx.pcap
03/03/2021 13:27:07             dut.10.240.183.220: 
03/03/2021 13:27:07            TestVM2VMVirtioUser: check pcap file info about virtio
03/03/2021 13:27:17             dut.10.240.183.220: cat /proc/meminfo |grep Hugepagesize|awk '{print($2)}'
03/03/2021 13:27:17             dut.10.240.183.220: 1048576
03/03/2021 13:27:28             dut.10.240.183.220: cat /proc/meminfo |grep Hugepagesize|awk '{print($2)}'
03/03/2021 13:27:29             dut.10.240.183.220: 1048576
03/03/2021 13:28:04             dut.10.240.183.220: scp -v root@10.240.183.220:/tmp/pdump-virtio-rx.pcap /tmp/pdump-virtio-rx.pcap
03/03/2021 13:28:06            TestVM2VMVirtioUser: check pcap file info about vhost
03/03/2021 13:28:17             dut.10.240.183.220: cat /proc/meminfo |grep Hugepagesize|awk '{print($2)}'
03/03/2021 13:28:17             dut.10.240.183.220: 1048576
03/03/2021 13:28:52             dut.10.240.183.220: scp -v root@10.240.183.220:/tmp/pdump-vhost-rx.pcap /tmp/pdump-vhost-rx.pcap
03/03/2021 13:28:54            TestVM2VMVirtioUser: diff the pcap file of vhost and virtio
03/03/2021 13:28:55            TestVM2VMVirtioUser: Test Case test_vm2vm_virtio_user_split_virtqueue_mergeable_path Result PASSED:
03/03/2021 13:28:55             dut.10.240.183.220: kill_all: called by dut and prefix list has value.
03/03/2021 13:28:59            TestVM2VMVirtioUser: Test Case test_vm2vm_virtio_user_split_virtqueue_mergeable_path_with_cbdma Result SKIPPED:
03/03/2021 13:28:59            TestVM2VMVirtioUser: Test Case test_vm2vm_virtio_user_split_virtqueue_no_mergeable_path Begin
03/03/2021 13:29:00             dut.10.240.183.220: 
03/03/2021 13:29:00                         tester: 
03/03/2021 13:29:00             dut.10.240.183.220: rm -rf ./vhost-net*
03/03/2021 13:29:00             dut.10.240.183.220: 
03/03/2021 13:29:00             dut.10.240.183.220: rm -rf /tmp/pdump-virtio-rx.pcap
03/03/2021 13:29:00             dut.10.240.183.220: 
03/03/2021 13:29:00             dut.10.240.183.220: rm -rf /tmp/pdump-vhost-rx.pcap
03/03/2021 13:29:00             dut.10.240.183.220: 
03/03/2021 13:29:00            TestVM2VMVirtioUser: check pcap file info about virtio
03/03/2021 13:29:10             dut.10.240.183.220: cat /proc/meminfo |grep Hugepagesize|awk '{print($2)}'
03/03/2021 13:29:11             dut.10.240.183.220: 1048576
03/03/2021 13:29:22             dut.10.240.183.220: cat /proc/meminfo |grep Hugepagesize|awk '{print($2)}'
03/03/2021 13:29:22             dut.10.240.183.220: 1048576
03/03/2021 13:29:57             dut.10.240.183.220: scp -v root@10.240.183.220:/tmp/pdump-virtio-rx.pcap /tmp/pdump-virtio-rx.pcap
03/03/2021 13:29:59            TestVM2VMVirtioUser: check pcap file info about vhost
03/03/2021 13:30:10             dut.10.240.183.220: cat /proc/meminfo |grep Hugepagesize|awk '{print($2)}'
03/03/2021 13:30:10             dut.10.240.183.220: 1048576
03/03/2021 13:30:45             dut.10.240.183.220: scp -v root@10.240.183.220:/tmp/pdump-vhost-rx.pcap /tmp/pdump-vhost-rx.pcap
03/03/2021 13:30:47            TestVM2VMVirtioUser: diff the pcap file of vhost and virtio
03/03/2021 13:30:47            TestVM2VMVirtioUser: Test Case test_vm2vm_virtio_user_split_virtqueue_no_mergeable_path Result PASSED:
03/03/2021 13:30:47             dut.10.240.183.220: kill_all: called by dut and prefix list has value.
03/03/2021 13:30:52            TestVM2VMVirtioUser: Test Case test_vm2vm_virtio_user_split_virtqueue_vector_rx_path Begin
03/03/2021 13:30:52             dut.10.240.183.220: 
03/03/2021 13:30:52                         tester: 
03/03/2021 13:30:52             dut.10.240.183.220: rm -rf ./vhost-net*
03/03/2021 13:30:52             dut.10.240.183.220: 
03/03/2021 13:30:52             dut.10.240.183.220: rm -rf /tmp/pdump-virtio-rx.pcap
03/03/2021 13:30:52             dut.10.240.183.220: 
03/03/2021 13:30:52             dut.10.240.183.220: rm -rf /tmp/pdump-vhost-rx.pcap
03/03/2021 13:30:52             dut.10.240.183.220: 
03/03/2021 13:30:52            TestVM2VMVirtioUser: check pcap file info about virtio
03/03/2021 13:31:03             dut.10.240.183.220: cat /proc/meminfo |grep Hugepagesize|awk '{print($2)}'
03/03/2021 13:31:03             dut.10.240.183.220: 1048576
03/03/2021 13:31:14             dut.10.240.183.220: cat /proc/meminfo |grep Hugepagesize|awk '{print($2)}'
03/03/2021 13:31:14             dut.10.240.183.220: 1048576
03/03/2021 13:31:50             dut.10.240.183.220: scp -v root@10.240.183.220:/tmp/pdump-virtio-rx.pcap /tmp/pdump-virtio-rx.pcap
03/03/2021 13:31:51            TestVM2VMVirtioUser: check pcap file info about vhost
03/03/2021 13:32:02             dut.10.240.183.220: cat /proc/meminfo |grep Hugepagesize|awk '{print($2)}'
03/03/2021 13:32:02             dut.10.240.183.220: 1048576
03/03/2021 13:32:37             dut.10.240.183.220: scp -v root@10.240.183.220:/tmp/pdump-vhost-rx.pcap /tmp/pdump-vhost-rx.pcap
03/03/2021 13:32:39            TestVM2VMVirtioUser: diff the pcap file of vhost and virtio
03/03/2021 13:32:39            TestVM2VMVirtioUser: Test Case test_vm2vm_virtio_user_split_virtqueue_vector_rx_path Result PASSED:
03/03/2021 13:32:39             dut.10.240.183.220: kill_all: called by dut and prefix list has value.
03/03/2021 13:32:44                            dts: 
TEST SUITE ENDED: TestVM2VMVirtioUser

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

* Re: [dts] [PATCH V3] tests/vm2vm_virtio_user:fix send packet count wrong issue sync with testplan and optimization script code
  2021-03-03  5:30 [dts] [PATCH V3] tests/vm2vm_virtio_user:fix send packet count wrong issue sync with testplan and optimization script code Ling Wei
  2021-03-03  5:34 ` Ling, WeiX
@ 2021-03-03  5:36 ` Tu, Lijuan
  1 sibling, 0 replies; 3+ messages in thread
From: Tu, Lijuan @ 2021-03-03  5:36 UTC (permalink / raw)
  To: Ling, WeiX, dts; +Cc: Ling, WeiX

> 1.Fix test case 12 and 13 check packet count wrong issue sync with
>   testplan.
> 2.Modify send_* patch function name for increase readability.
> 3.Add check step about execution drivername is igb_uio or not when
>   run CBDMA test case.
> 
> Signed-off-by: Ling Wei <weix.ling@intel.com>

Applied, thanks

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

end of thread, other threads:[~2021-03-03  5:37 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-03  5:30 [dts] [PATCH V3] tests/vm2vm_virtio_user:fix send packet count wrong issue sync with testplan and optimization script code Ling Wei
2021-03-03  5:34 ` Ling, WeiX
2021-03-03  5:36 ` 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).