test suite reviews and discussions
 help / color / mirror / Atom feed
* [dts] [dst] [PATCH V1] tests/TestSuite_virtio_user_for_container_networking: support meson build
@ 2020-09-18  8:57 Jiang, YuX
  2020-09-18  9:02 ` Jiang, YuX
  2020-09-28  8:47 ` Tu, Lijuan
  0 siblings, 2 replies; 4+ messages in thread
From: Jiang, YuX @ 2020-09-18  8:57 UTC (permalink / raw)
  To: dts; +Cc: JiangYu

From: JiangYu <yux.jiang@intel.com>

Adapt meson build and kill testpmd_name

Signed-off-by: JiangYu <yux.jiang@intel.com>
---
 tests/TestSuite_virtio_user_for_container_networking.py | 14 ++++++++------
 1 file changed, 8 insertions(+), 6 deletions(-)

diff --git a/tests/TestSuite_virtio_user_for_container_networking.py b/tests/TestSuite_virtio_user_for_container_networking.py
index 36a7838..0fca14a 100644
--- a/tests/TestSuite_virtio_user_for_container_networking.py
+++ b/tests/TestSuite_virtio_user_for_container_networking.py
@@ -72,13 +72,15 @@ class TestVirtioUserForContainer(TestCase):
         # create an instance to set stream field setting
         self.pktgen_helper = PacketGeneratorHelper()
         self.number_of_ports = 1
+        self.app_testpmd_path = self.dut.apps_name['test-pmd']
+        self.testpmd_name = self.app_testpmd_path.split("/")[-1]
 
     def set_up(self):
         """
         Run before each test case.
         """
         self.dut.send_expect('rm -rf ./vhost-net*', '# ')
-        self.dut.send_expect('killall -s INT testpmd', '# ')
+        self.dut.send_expect('killall -s INT %s' % self.testpmd_name, '# ')
         self.vhost_user = self.dut.new_session(suite='vhost-user')
         self.virtio_user = self.dut.new_session(suite='virtio-user')
         # Prepare the result table
@@ -158,7 +160,7 @@ class TestVirtioUserForContainer(TestCase):
         eal_param = self.dut.create_eal_parameters(cores=self.core_list_vhost_user, prefix='vhost', vdevs=["net_vhost0,iface=vhost-net,queues=%d,client=0" % self.queue_number],ports=[self.pci_info])
         if self.check_2M_env:
             eal_param += " --single-file-segments"
-        command_line_client = self.dut.target + '/app/testpmd ' + eal_param + ' -- -i --nb-cores=%d' % self.nb_cores
+        command_line_client = self.app_testpmd_path + eal_param + ' -- -i --nb-cores=%d' % self.nb_cores
         self.vhost_user.send_expect(command_line_client, 'testpmd> ', 30)
         self.vhost_user.send_expect('start', 'testpmd> ', 30)
 
@@ -169,20 +171,20 @@ class TestVirtioUserForContainer(TestCase):
         if self.check_2M_env:
             command_line_user = 'docker run -i -t --privileged -v %s/vhost-net:/tmp/vhost-net ' + \
                             '-v /mnt/huge:/dev/hugepages ' + \
-                            '-v %s:%s %s .%s/%s/app/testpmd -c %s -n %d ' + \
+                            '-v %s:%s %s .%s/%s -c %s -n %d ' + \
                             '-m 1024 --no-pci --file-prefix=container --single-file-segments ' + \
                             '--vdev=virtio_user0,mac=00:11:22:33:44:10,path=/tmp/vhost-net,queues=%d ' + \
                             '-- -i --rxq=%d --txq=%d --nb-cores=%d'
         else:
             command_line_user = 'docker run -i -t --privileged -v %s/vhost-net:/tmp/vhost-net ' + \
                             '-v /mnt/huge:/dev/hugepages ' + \
-                            '-v %s:%s %s .%s/%s/app/testpmd -c %s -n %d ' + \
+                            '-v %s:%s %s .%s/%s -c %s -n %d ' + \
                             '-m 1024 --no-pci --file-prefix=container ' + \
                             '--vdev=virtio_user0,mac=00:11:22:33:44:10,path=/tmp/vhost-net,queues=%d ' + \
                             '-- -i --rxq=%d --txq=%d --nb-cores=%d'
         command_line_user = command_line_user % (self.container_base_dir,
             self.container_base_dir, self.container_base_dir, self.docker_image,
-            self.container_base_dir, self.dut.target, self.core_mask_virtio_user,
+            self.container_base_dir, self.app_testpmd_path, self.core_mask_virtio_user,
             self.mem_channels, self.queue_number, self.queue_number,
             self.queue_number, self.nb_cores)
         self.virtio_user.send_expect(command_line_user, 'testpmd> ', 120)
@@ -227,7 +229,7 @@ class TestVirtioUserForContainer(TestCase):
         """
         Run after each test case.
         """
-        self.dut.send_expect('killall -s INT testpmd', '# ')
+        self.dut.send_expect('killall -s INT %s' % self.testpmd_name, '# ')
 
     def tear_down_all(self):
         """
-- 
2.7.4


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

* Re: [dts] [dst] [PATCH V1] tests/TestSuite_virtio_user_for_container_networking: support meson build
  2020-09-18  8:57 [dts] [dst] [PATCH V1] tests/TestSuite_virtio_user_for_container_networking: support meson build Jiang, YuX
@ 2020-09-18  9:02 ` Jiang, YuX
  2020-09-28  1:18   ` Ma, LihongX
  2020-09-28  8:47 ` Tu, Lijuan
  1 sibling, 1 reply; 4+ messages in thread
From: Jiang, YuX @ 2020-09-18  9:02 UTC (permalink / raw)
  To: dts; +Cc: Jiang, YuX

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

Tested-by: Jiang, YuX <yux.jiang@intel.com>

    Best Regards
    Jiang yu


> -----Original Message-----
> From: Jiang, YuX
> Sent: Friday, September 18, 2020 4:58 PM
> To: dts@dpdk.org
> Cc: Jiang, YuX <yux.jiang@intel.com>
> Subject: [dst] [PATCH V1]
> tests/TestSuite_virtio_user_for_container_networking: support meson build


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

18/09/2020 16:35:04                            dts: 
TEST SUITE : TestVirtioUserForContainer
18/09/2020 16:35:04                            dts: NIC :        fortville_spirit
18/09/2020 16:35:04             dut.10.240.183.220: 
18/09/2020 16:35:05                         tester: 
18/09/2020 16:35:05     TestVirtioUserForContainer: You can config packet_size in file virtio_user_for_container_networking.cfg, in region 'suite' like packet_sizes=[64, 128, 256]
18/09/2020 16:35:05                         tester: ls -d /tmp
18/09/2020 16:35:05                         tester: /tmp
18/09/2020 16:35:05             dut.10.240.183.220: cat /proc/meminfo |grep Hugepagesize|awk '{print($2)}'
18/09/2020 16:35:05             dut.10.240.183.220: 1048576
18/09/2020 16:35:05     TestVirtioUserForContainer: Test Case test_perf_packet_fwd_for_container Begin
18/09/2020 16:35:05             dut.10.240.183.220: 
18/09/2020 16:35:05                         tester: 
18/09/2020 16:35:05             dut.10.240.183.220: rm -rf ./vhost-net*
18/09/2020 16:35:05             dut.10.240.183.220: 
18/09/2020 16:35:05             dut.10.240.183.220: killall -s INT dpdk-testpmd 
18/09/2020 16:35:05             dut.10.240.183.220: dpdk-testpmd: no process found
18/09/2020 16:35:08             dut.10.240.183.220: cat /proc/meminfo |grep Hugepagesize|awk '{print($2)}'
18/09/2020 16:35:08             dut.10.240.183.220: 1048576
18/09/2020 16:35:09             dut.10.240.183.220: cat /proc/meminfo |grep Hugepagesize|awk '{print($2)}'
18/09/2020 16:35:09             dut.10.240.183.220: 1048576
18/09/2020 16:35:11                         tester: scapy
18/09/2020 16:35:11                         tester: INFO: Can't import matplotlib. Not critical, but won't be able to plot.
INFO: Can't import networkx. Not criticial, but won't be able to draw network graphs.
INFO: Can't import PyX. Won't be able to use psdump() or pdfdump().
WARNING: IPython not available. Using standard Python shell instead.
Welcome to Scapy (3.0.0)
18/09/2020 16:35:13                         tester: wrpcap("/tmp/vhost.pcap", [Ether(dst="00:11:22:33:44:10")/IP()/UDP()/("X"*18)])
18/09/2020 16:35:13                         tester: 
18/09/2020 16:35:15                         tester: exit()
18/09/2020 16:35:15                         tester: 
18/09/2020 16:35:15                         pktgen: test port 0 map gen port 0
18/09/2020 16:35:15                         pktgen: test port 0 map gen port 0
18/09/2020 16:35:15                         pktgen: {'arp': '-',
 'cores': [0, 1, 2, 3],
 'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
 'dest': '00:00:00:00:01:00',
 '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': '-'}
18/09/2020 16:35:15                         pktgen: trex port <0> not support flow control
18/09/2020 16:35:15                         pktgen: check the trex port link status
18/09/2020 16:35:15                         pktgen: {'arp': '-',
 'cores': [0, 1, 2, 3],
 'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
 'dest': '00:00:00:00:01:00',
 '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': '-'}
18/09/2020 16:35:15                         pktgen: begin traffic ......
18/09/2020 16:35:15                         pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
18/09/2020 16:35:25                         pktgen: begin get port statistic ...
18/09/2020 16:35:25                         pktgen: {'options': {'fields_config': {'mac': {'dst': {'action': 'inc',
                                               'end': '00:11:22:33:44:10',
                                               'start': '00:11:22:33:44:10',
                                               'step': 1}}},
             'pcap': '/tmp/vhost.pcap',
             'stream_config': {'rate': 100,
                               'transmit_mode': 'continuous',
                               'txmode': {}}},
 'pcap_file': '/tmp/vhost.pcap',
 'rx_port': 0,
 'tx_port': 0}
18/09/2020 16:35:25                         pktgen: {0: {'ibytes': 5508696000,
     'ierrors': 0,
     'ipackets': 86073376,
     'obytes': 19942724288,
     'oerrors': 0,
     'opackets': 311605099,
     'rx_bps': 4402866688.0,
     'rx_bps_L1': 5778763488.0,
     'rx_pps': 8599355.0,
     'rx_util': 14.446908720000001,
     'tx_bps': 15914359808.0,
     'tx_bps_L1': 20887596928.0,
     'tx_pps': 31082732.0,
     'tx_util': 52.21899232},
 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': 8.46231460571289,
            'cpu_util': 94.03076934814453,
            'cpu_util_raw': 100.0,
            'open_flows': 0.0,
            'platform_factor': 1.0,
            'queue_full': 0,
            'rx_bps': 4402866688.0,
            'rx_core_pps': 0.0,
            'rx_cpu_util': 0.0,
            'rx_drop_bps': 11511492608.0,
            'rx_pps': 8599355.0,
            'socket_util': 0.0,
            'total_alloc_error': 0,
            'total_clients': 0,
            'total_servers': 0,
            'tx_bps': 15914359808.0,
            'tx_cps': 0.0,
            'tx_expected_bps': 0.0,
            'tx_expected_cps': 0.0,
            'tx_expected_pps': 0.0,
            'tx_pps': 31082732.0},
 'latency': {'global': {'bad_hdr': 0, 'old_flow': 0}},
 'total': {'ibytes': 5508696000,
           'ierrors': 0,
           'ipackets': 86073376,
           'obytes': 19942724288,
           'oerrors': 0,
           'opackets': 311605099,
           'rx_bps': 4402866688.0,
           'rx_bps_L1': 5778763488.0,
           'rx_pps': 8599355.0,
           'rx_util': 14.446908720000001,
           'tx_bps': 15914359808.0,
           'tx_bps_L1': 20887596928.0,
           'tx_pps': 31082732.0,
           'tx_util': 52.21899232}}
18/09/2020 16:35:25                         pktgen: {'ibytes': 5508696000,
 'ierrors': 0,
 'ipackets': 86073376,
 'obytes': 19942724288,
 'oerrors': 0,
 'opackets': 311605099,
 'rx_bps': 4402866688.0,
 'rx_bps_L1': 5778763488.0,
 'rx_pps': 8599355.0,
 'rx_util': 14.446908720000001,
 'tx_bps': 15914359808.0,
 'tx_bps_L1': 20887596928.0,
 'tx_pps': 31082732.0,
 'tx_util': 52.21899232}
18/09/2020 16:35:25                         pktgen: Tx Port 0 stats: 
tx_port: 0,  tx_bps: 15914359808.000000, tx_pps: 31082732.000000 
18/09/2020 16:35:25                         pktgen: {'ibytes': 5508696000,
 'ierrors': 0,
 'ipackets': 86073376,
 'obytes': 19942724288,
 'oerrors': 0,
 'opackets': 311605099,
 'rx_bps': 4402866688.0,
 'rx_bps_L1': 5778763488.0,
 'rx_pps': 8599355.0,
 'rx_util': 14.446908720000001,
 'tx_bps': 15914359808.0,
 'tx_bps_L1': 20887596928.0,
 'tx_pps': 31082732.0,
 'tx_util': 52.21899232}
18/09/2020 16:35:25                         pktgen: Rx Port 0 stats: 
rx_port: 0,  rx_bps: 4402866688.000000, rx_pps: 8599355.000000
18/09/2020 16:35:25                         pktgen: throughput: pps_rx 8599355.000000, bps_rx 4402866688.000000
18/09/2020 16:35:25                         pktgen: traffic completed. 
18/09/2020 16:35:25                         tester: scapy
18/09/2020 16:35:25                         tester: INFO: Can't import matplotlib. Not critical, but won't be able to plot.
INFO: Can't import networkx. Not criticial, but won't be able to draw network graphs.
INFO: Can't import PyX. Won't be able to use psdump() or pdfdump().
WARNING: IPython not available. Using standard Python shell instead.
Welcome to Scapy (3.0.0)
18/09/2020 16:35:27                         tester: wrpcap("/tmp/vhost.pcap", [Ether(dst="00:11:22:33:44:10")/IP()/UDP()/("X"*82)])
18/09/2020 16:35:27                         tester: 
18/09/2020 16:35:29                         tester: exit()
18/09/2020 16:35:29                         tester: 
18/09/2020 16:35:29                         pktgen: test port 0 map gen port 0
18/09/2020 16:35:29                         pktgen: test port 0 map gen port 0
18/09/2020 16:35:29                         pktgen: {'arp': '-',
 'cores': [0, 1, 2, 3],
 'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
 'dest': '00:00:00:00:01:00',
 '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': '-'}
18/09/2020 16:35:29                         pktgen: trex port <0> not support flow control
18/09/2020 16:35:29                         pktgen: check the trex port link status
18/09/2020 16:35:29                         pktgen: {'arp': '-',
 'cores': [0, 1, 2, 3],
 'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
 'dest': '00:00:00:00:01:00',
 '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': '-'}
18/09/2020 16:35:29                         pktgen: begin traffic ......
18/09/2020 16:35:29                         pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
18/09/2020 16:35:39                         pktgen: begin get port statistic ...
18/09/2020 16:35:39                         pktgen: {'options': {'fields_config': {'mac': {'dst': {'action': 'inc',
                                               'end': '00:11:22:33:44:10',
                                               'start': '00:11:22:33:44:10',
                                               'step': 1}}},
             'pcap': '/tmp/vhost.pcap',
             'stream_config': {'rate': 100,
                               'transmit_mode': 'continuous',
                               'txmode': {}}},
 'pcap_file': '/tmp/vhost.pcap',
 'rx_port': 0,
 'tx_port': 0}
18/09/2020 16:35:39                         pktgen: {0: {'ibytes': 9940775936,
     'ierrors': 0,
     'ipackets': 77662321,
     'obytes': 43273615744,
     'oerrors': 0,
     'opackets': 338075165,
     'rx_bps': 7946790912.0,
     'rx_bps_L1': 9188542112.0,
     'rx_pps': 7760945.0,
     'rx_util': 22.97135528,
     'tx_bps': 34612248576.0,
     'tx_bps_L1': 40020649216.0,
     'tx_pps': 33802504.0,
     'tx_util': 100.05162304},
 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': 19.856189727783203,
            'cpu_util': 87.1573257446289,
            'cpu_util_raw': 91.0,
            'open_flows': 0.0,
            'platform_factor': 1.0,
            'queue_full': 963130,
            'rx_bps': 7946790912.0,
            'rx_core_pps': 0.0,
            'rx_cpu_util': 0.0,
            'rx_drop_bps': 26665459712.0,
            'rx_pps': 7760945.0,
            'socket_util': 0.0,
            'total_alloc_error': 0,
            'total_clients': 0,
            'total_servers': 0,
            'tx_bps': 34612248576.0,
            'tx_cps': 0.0,
            'tx_expected_bps': 0.0,
            'tx_expected_cps': 0.0,
            'tx_expected_pps': 0.0,
            'tx_pps': 33802504.0},
 'latency': {'global': {'bad_hdr': 0, 'old_flow': 0}},
 'total': {'ibytes': 9940775936,
           'ierrors': 0,
           'ipackets': 77662321,
           'obytes': 43273615744,
           'oerrors': 0,
           'opackets': 338075165,
           'rx_bps': 7946790912.0,
           'rx_bps_L1': 9188542112.0,
           'rx_pps': 7760945.0,
           'rx_util': 22.97135528,
           'tx_bps': 34612248576.0,
           'tx_bps_L1': 40020649216.0,
           'tx_pps': 33802504.0,
           'tx_util': 100.05162304}}
18/09/2020 16:35:39                         pktgen: {'ibytes': 9940775936,
 'ierrors': 0,
 'ipackets': 77662321,
 'obytes': 43273615744,
 'oerrors': 0,
 'opackets': 338075165,
 'rx_bps': 7946790912.0,
 'rx_bps_L1': 9188542112.0,
 'rx_pps': 7760945.0,
 'rx_util': 22.97135528,
 'tx_bps': 34612248576.0,
 'tx_bps_L1': 40020649216.0,
 'tx_pps': 33802504.0,
 'tx_util': 100.05162304}
18/09/2020 16:35:39                         pktgen: Tx Port 0 stats: 
tx_port: 0,  tx_bps: 34612248576.000000, tx_pps: 33802504.000000 
18/09/2020 16:35:39                         pktgen: {'ibytes': 9940775936,
 'ierrors': 0,
 'ipackets': 77662321,
 'obytes': 43273615744,
 'oerrors': 0,
 'opackets': 338075165,
 'rx_bps': 7946790912.0,
 'rx_bps_L1': 9188542112.0,
 'rx_pps': 7760945.0,
 'rx_util': 22.97135528,
 'tx_bps': 34612248576.0,
 'tx_bps_L1': 40020649216.0,
 'tx_pps': 33802504.0,
 'tx_util': 100.05162304}
18/09/2020 16:35:39                         pktgen: Rx Port 0 stats: 
rx_port: 0,  rx_bps: 7946790912.000000, rx_pps: 7760945.000000
18/09/2020 16:35:39                         pktgen: throughput: pps_rx 7760945.000000, bps_rx 7946790912.000000
18/09/2020 16:35:39                         pktgen: traffic completed. 
18/09/2020 16:35:39                         tester: scapy
18/09/2020 16:35:40                         tester: INFO: Can't import matplotlib. Not critical, but won't be able to plot.
INFO: Can't import networkx. Not criticial, but won't be able to draw network graphs.
INFO: Can't import PyX. Won't be able to use psdump() or pdfdump().
WARNING: IPython not available. Using standard Python shell instead.
Welcome to Scapy (3.0.0)
18/09/2020 16:35:42                         tester: wrpcap("/tmp/vhost.pcap", [Ether(dst="00:11:22:33:44:10")/IP()/UDP()/("X"*210)])
18/09/2020 16:35:42                         tester: 
18/09/2020 16:35:44                         tester: exit()
18/09/2020 16:35:44                         tester: 
18/09/2020 16:35:44                         pktgen: test port 0 map gen port 0
18/09/2020 16:35:44                         pktgen: test port 0 map gen port 0
18/09/2020 16:35:44                         pktgen: {'arp': '-',
 'cores': [0, 1, 2, 3],
 'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
 'dest': '00:00:00:00:01:00',
 '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': '-'}
18/09/2020 16:35:44                         pktgen: trex port <0> not support flow control
18/09/2020 16:35:44                         pktgen: check the trex port link status
18/09/2020 16:35:44                         pktgen: {'arp': '-',
 'cores': [0, 1, 2, 3],
 'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
 'dest': '00:00:00:00:01:00',
 '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': '-'}
18/09/2020 16:35:44                         pktgen: begin traffic ......
18/09/2020 16:35:44                         pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
18/09/2020 16:35:54                         pktgen: begin get port statistic ...
18/09/2020 16:35:54                         pktgen: {'options': {'fields_config': {'mac': {'dst': {'action': 'inc',
                                               'end': '00:11:22:33:44:10',
                                               'start': '00:11:22:33:44:10',
                                               'step': 1}}},
             'pcap': '/tmp/vhost.pcap',
             'stream_config': {'rate': 100,
                               'transmit_mode': 'continuous',
                               'txmode': {}}},
 'pcap_file': '/tmp/vhost.pcap',
 'rx_port': 0,
 'tx_port': 0}
18/09/2020 16:35:54                         pktgen: {0: {'ibytes': 18187616000,
     'ierrors': 0,
     'ipackets': 71045387,
     'obytes': 46401313024,
     'oerrors': 0,
     'opackets': 181255152,
     'rx_bps': 14468885504.0,
     'rx_bps_L1': 15599333824.0,
     'rx_pps': 7065302.0,
     'rx_util': 38.998334559999996,
     'tx_bps': 36949131264.0,
     'tx_bps_L1': 39836068864.0,
     'tx_pps': 18043360.0,
     'tx_util': 99.59017216},
 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': 19.496150970458984,
            'cpu_util': 94.76006317138672,
            'cpu_util_raw': 99.0,
            'open_flows': 0.0,
            'platform_factor': 1.0,
            'queue_full': 18478964,
            'rx_bps': 14468885504.0,
            'rx_core_pps': 0.0,
            'rx_cpu_util': 0.0,
            'rx_drop_bps': 22480246784.0,
            'rx_pps': 7065302.0,
            'socket_util': 0.0,
            'total_alloc_error': 0,
            'total_clients': 0,
            'total_servers': 0,
            'tx_bps': 36949131264.0,
            'tx_cps': 0.0,
            'tx_expected_bps': 0.0,
            'tx_expected_cps': 0.0,
            'tx_expected_pps': 0.0,
            'tx_pps': 18043360.0},
 'latency': {'global': {'bad_hdr': 0, 'old_flow': 0}},
 'total': {'ibytes': 18187616000,
           'ierrors': 0,
           'ipackets': 71045387,
           'obytes': 46401313024,
           'oerrors': 0,
           'opackets': 181255152,
           'rx_bps': 14468885504.0,
           'rx_bps_L1': 15599333824.0,
           'rx_pps': 7065302.0,
           'rx_util': 38.998334559999996,
           'tx_bps': 36949131264.0,
           'tx_bps_L1': 39836068864.0,
           'tx_pps': 18043360.0,
           'tx_util': 99.59017216}}
18/09/2020 16:35:54                         pktgen: {'ibytes': 18187616000,
 'ierrors': 0,
 'ipackets': 71045387,
 'obytes': 46401313024,
 'oerrors': 0,
 'opackets': 181255152,
 'rx_bps': 14468885504.0,
 'rx_bps_L1': 15599333824.0,
 'rx_pps': 7065302.0,
 'rx_util': 38.998334559999996,
 'tx_bps': 36949131264.0,
 'tx_bps_L1': 39836068864.0,
 'tx_pps': 18043360.0,
 'tx_util': 99.59017216}
18/09/2020 16:35:54                         pktgen: Tx Port 0 stats: 
tx_port: 0,  tx_bps: 36949131264.000000, tx_pps: 18043360.000000 
18/09/2020 16:35:54                         pktgen: {'ibytes': 18187616000,
 'ierrors': 0,
 'ipackets': 71045387,
 'obytes': 46401313024,
 'oerrors': 0,
 'opackets': 181255152,
 'rx_bps': 14468885504.0,
 'rx_bps_L1': 15599333824.0,
 'rx_pps': 7065302.0,
 'rx_util': 38.998334559999996,
 'tx_bps': 36949131264.0,
 'tx_bps_L1': 39836068864.0,
 'tx_pps': 18043360.0,
 'tx_util': 99.59017216}
18/09/2020 16:35:54                         pktgen: Rx Port 0 stats: 
rx_port: 0,  rx_bps: 14468885504.000000, rx_pps: 7065302.000000
18/09/2020 16:35:54                         pktgen: throughput: pps_rx 7065302.000000, bps_rx 14468885504.000000
18/09/2020 16:35:54                         pktgen: traffic completed. 
18/09/2020 16:35:54                         tester: scapy
18/09/2020 16:35:54                         tester: INFO: Can't import matplotlib. Not critical, but won't be able to plot.
INFO: Can't import networkx. Not criticial, but won't be able to draw network graphs.
INFO: Can't import PyX. Won't be able to use psdump() or pdfdump().
WARNING: IPython not available. Using standard Python shell instead.
Welcome to Scapy (3.0.0)
18/09/2020 16:35:56                         tester: wrpcap("/tmp/vhost.pcap", [Ether(dst="00:11:22:33:44:10")/IP()/UDP()/("X"*466)])
18/09/2020 16:35:56                         tester: 
18/09/2020 16:35:58                         tester: exit()
18/09/2020 16:35:58                         tester: 
18/09/2020 16:35:58                         pktgen: test port 0 map gen port 0
18/09/2020 16:35:58                         pktgen: test port 0 map gen port 0
18/09/2020 16:35:58                         pktgen: {'arp': '-',
 'cores': [0, 1, 2, 3],
 'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
 'dest': '00:00:00:00:01:00',
 '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': '-'}
18/09/2020 16:35:58                         pktgen: trex port <0> not support flow control
18/09/2020 16:35:58                         pktgen: check the trex port link status
18/09/2020 16:35:58                         pktgen: {'arp': '-',
 'cores': [0, 1, 2, 3],
 'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
 'dest': '00:00:00:00:01:00',
 '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': '-'}
18/09/2020 16:35:58                         pktgen: begin traffic ......
18/09/2020 16:35:58                         pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
18/09/2020 16:36:08                         pktgen: begin get port statistic ...
18/09/2020 16:36:08                         pktgen: {'options': {'fields_config': {'mac': {'dst': {'action': 'inc',
                                               'end': '00:11:22:33:44:10',
                                               'start': '00:11:22:33:44:10',
                                               'step': 1}}},
             'pcap': '/tmp/vhost.pcap',
             'stream_config': {'rate': 100,
                               'transmit_mode': 'continuous',
                               'txmode': {}}},
 'pcap_file': '/tmp/vhost.pcap',
 'rx_port': 0,
 'tx_port': 0}
18/09/2020 16:36:08                         pktgen: {0: {'ibytes': 28808765440,
     'ierrors': 0,
     'ipackets': 56267128,
     'obytes': 48173145600,
     'oerrors': 0,
     'opackets': 94088183,
     'rx_bps': 23051390976.0,
     'rx_bps_L1': 23951869376.0,
     'rx_pps': 5627990.0,
     'rx_util': 59.879673440000005,
     'tx_bps': 38536404992.0,
     'tx_bps_L1': 40041819072.0,
     'tx_pps': 9408838.0,
     'tx_util': 100.10454768},
 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': 61.22183609008789,
            'cpu_util': 31.472761154174805,
            'cpu_util_raw': 31.25,
            'open_flows': 0.0,
            'platform_factor': 1.0,
            'queue_full': 2370728,
            'rx_bps': 23051390976.0,
            'rx_core_pps': 0.0,
            'rx_cpu_util': 0.0,
            'rx_drop_bps': 15485016064.0,
            'rx_pps': 5627990.0,
            'socket_util': 0.0,
            'total_alloc_error': 0,
            'total_clients': 0,
            'total_servers': 0,
            'tx_bps': 38536404992.0,
            'tx_cps': 0.0,
            'tx_expected_bps': 0.0,
            'tx_expected_cps': 0.0,
            'tx_expected_pps': 0.0,
            'tx_pps': 9408838.0},
 'latency': {'global': {'bad_hdr': 0, 'old_flow': 0}},
 'total': {'ibytes': 28808765440,
           'ierrors': 0,
           'ipackets': 56267128,
           'obytes': 48173145600,
           'oerrors': 0,
           'opackets': 94088183,
           'rx_bps': 23051390976.0,
           'rx_bps_L1': 23951869376.0,
           'rx_pps': 5627990.0,
           'rx_util': 59.879673440000005,
           'tx_bps': 38536404992.0,
           'tx_bps_L1': 40041819072.0,
           'tx_pps': 9408838.0,
           'tx_util': 100.10454768}}
18/09/2020 16:36:08                         pktgen: {'ibytes': 28808765440,
 'ierrors': 0,
 'ipackets': 56267128,
 'obytes': 48173145600,
 'oerrors': 0,
 'opackets': 94088183,
 'rx_bps': 23051390976.0,
 'rx_bps_L1': 23951869376.0,
 'rx_pps': 5627990.0,
 'rx_util': 59.879673440000005,
 'tx_bps': 38536404992.0,
 'tx_bps_L1': 40041819072.0,
 'tx_pps': 9408838.0,
 'tx_util': 100.10454768}
18/09/2020 16:36:08                         pktgen: Tx Port 0 stats: 
tx_port: 0,  tx_bps: 38536404992.000000, tx_pps: 9408838.000000 
18/09/2020 16:36:08                         pktgen: {'ibytes': 28808765440,
 'ierrors': 0,
 'ipackets': 56267128,
 'obytes': 48173145600,
 'oerrors': 0,
 'opackets': 94088183,
 'rx_bps': 23051390976.0,
 'rx_bps_L1': 23951869376.0,
 'rx_pps': 5627990.0,
 'rx_util': 59.879673440000005,
 'tx_bps': 38536404992.0,
 'tx_bps_L1': 40041819072.0,
 'tx_pps': 9408838.0,
 'tx_util': 100.10454768}
18/09/2020 16:36:08                         pktgen: Rx Port 0 stats: 
rx_port: 0,  rx_bps: 23051390976.000000, rx_pps: 5627990.000000
18/09/2020 16:36:08                         pktgen: throughput: pps_rx 5627990.000000, bps_rx 23051390976.000000
18/09/2020 16:36:08                         pktgen: traffic completed. 
18/09/2020 16:36:08                         tester: scapy
18/09/2020 16:36:08                         tester: INFO: Can't import matplotlib. Not critical, but won't be able to plot.
INFO: Can't import networkx. Not criticial, but won't be able to draw network graphs.
INFO: Can't import PyX. Won't be able to use psdump() or pdfdump().
WARNING: IPython not available. Using standard Python shell instead.
Welcome to Scapy (3.0.0)
18/09/2020 16:36:10                         tester: wrpcap("/tmp/vhost.pcap", [Ether(dst="00:11:22:33:44:10")/IP()/UDP()/("X"*978)])
18/09/2020 16:36:10                         tester: 
18/09/2020 16:36:12                         tester: exit()
18/09/2020 16:36:12                         tester: 
18/09/2020 16:36:12                         pktgen: test port 0 map gen port 0
18/09/2020 16:36:12                         pktgen: test port 0 map gen port 0
18/09/2020 16:36:13                         pktgen: {'arp': '-',
 'cores': [0, 1, 2, 3],
 'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
 'dest': '00:00:00:00:01:00',
 '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': '-'}
18/09/2020 16:36:13                         pktgen: trex port <0> not support flow control
18/09/2020 16:36:13                         pktgen: check the trex port link status
18/09/2020 16:36:13                         pktgen: {'arp': '-',
 'cores': [0, 1, 2, 3],
 'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
 'dest': '00:00:00:00:01:00',
 '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': '-'}
18/09/2020 16:36:13                         pktgen: begin traffic ......
18/09/2020 16:36:13                         pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
18/09/2020 16:36:23                         pktgen: begin get port statistic ...
18/09/2020 16:36:23                         pktgen: {'options': {'fields_config': {'mac': {'dst': {'action': 'inc',
                                               'end': '00:11:22:33:44:10',
                                               'start': '00:11:22:33:44:10',
                                               'step': 1}}},
             'pcap': '/tmp/vhost.pcap',
             'stream_config': {'rate': 100,
                               'transmit_mode': 'continuous',
                               'txmode': {}}},
 'pcap_file': '/tmp/vhost.pcap',
 'rx_port': 0,
 'tx_port': 0}
18/09/2020 16:36:23                         pktgen: {0: {'ibytes': 41712664576,
     'ierrors': 0,
     'ipackets': 40735029,
     'obytes': 49089765376,
     'oerrors': 0,
     'opackets': 47939228,
     'rx_bps': 33229101056.0,
     'rx_bps_L1': 33878137696.000004,
     'rx_pps': 4056479.0,
     'rx_util': 84.69534424000001,
     'tx_bps': 39098060800.0,
     'tx_bps_L1': 39861746480.0,
     'tx_pps': 4773035.5,
     'tx_util': 99.6543662},
 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': 22.275598526000977,
            'cpu_util': 87.75984191894531,
            'cpu_util_raw': 94.0,
            'open_flows': 0.0,
            'platform_factor': 1.0,
            'queue_full': 29967145,
            'rx_bps': 33229101056.0,
            'rx_core_pps': 0.0,
            'rx_cpu_util': 0.0,
            'rx_drop_bps': 5868960768.0,
            'rx_pps': 4056479.0,
            'socket_util': 0.0,
            'total_alloc_error': 0,
            'total_clients': 0,
            'total_servers': 0,
            'tx_bps': 39098060800.0,
            'tx_cps': 0.0,
            'tx_expected_bps': 0.0,
            'tx_expected_cps': 0.0,
            'tx_expected_pps': 0.0,
            'tx_pps': 4773035.5},
 'latency': {'global': {'bad_hdr': 0, 'old_flow': 0}},
 'total': {'ibytes': 41712664576,
           'ierrors': 0,
           'ipackets': 40735029,
           'obytes': 49089765376,
           'oerrors': 0,
           'opackets': 47939228,
           'rx_bps': 33229101056.0,
           'rx_bps_L1': 33878137696.000004,
           'rx_pps': 4056479.0,
           'rx_util': 84.69534424000001,
           'tx_bps': 39098060800.0,
           'tx_bps_L1': 39861746480.0,
           'tx_pps': 4773035.5,
           'tx_util': 99.6543662}}
18/09/2020 16:36:23                         pktgen: {'ibytes': 41712664576,
 'ierrors': 0,
 'ipackets': 40735029,
 'obytes': 49089765376,
 'oerrors': 0,
 'opackets': 47939228,
 'rx_bps': 33229101056.0,
 'rx_bps_L1': 33878137696.000004,
 'rx_pps': 4056479.0,
 'rx_util': 84.69534424000001,
 'tx_bps': 39098060800.0,
 'tx_bps_L1': 39861746480.0,
 'tx_pps': 4773035.5,
 'tx_util': 99.6543662}
18/09/2020 16:36:23                         pktgen: Tx Port 0 stats: 
tx_port: 0,  tx_bps: 39098060800.000000, tx_pps: 4773035.500000 
18/09/2020 16:36:23                         pktgen: {'ibytes': 41712664576,
 'ierrors': 0,
 'ipackets': 40735029,
 'obytes': 49089765376,
 'oerrors': 0,
 'opackets': 47939228,
 'rx_bps': 33229101056.0,
 'rx_bps_L1': 33878137696.000004,
 'rx_pps': 4056479.0,
 'rx_util': 84.69534424000001,
 'tx_bps': 39098060800.0,
 'tx_bps_L1': 39861746480.0,
 'tx_pps': 4773035.5,
 'tx_util': 99.6543662}
18/09/2020 16:36:23                         pktgen: Rx Port 0 stats: 
rx_port: 0,  rx_bps: 33229101056.000000, rx_pps: 4056479.000000
18/09/2020 16:36:23                         pktgen: throughput: pps_rx 4056479.000000, bps_rx 33229101056.000000
18/09/2020 16:36:23                         pktgen: traffic completed. 
18/09/2020 16:36:23                         tester: scapy
18/09/2020 16:36:23                         tester: INFO: Can't import matplotlib. Not critical, but won't be able to plot.
INFO: Can't import networkx. Not criticial, but won't be able to draw network graphs.
INFO: Can't import PyX. Won't be able to use psdump() or pdfdump().
WARNING: IPython not available. Using standard Python shell instead.
Welcome to Scapy (3.0.0)
18/09/2020 16:36:25                         tester: wrpcap("/tmp/vhost.pcap", [Ether(dst="00:11:22:33:44:10")/IP()/UDP()/("X"*1472)])
18/09/2020 16:36:25                         tester: 
18/09/2020 16:36:27                         tester: exit()
18/09/2020 16:36:27                         tester: 
18/09/2020 16:36:27                         pktgen: test port 0 map gen port 0
18/09/2020 16:36:27                         pktgen: test port 0 map gen port 0
18/09/2020 16:36:27                         pktgen: {'arp': '-',
 'cores': [0, 1, 2, 3],
 'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
 'dest': '00:00:00:00:01:00',
 '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': '-'}
18/09/2020 16:36:27                         pktgen: trex port <0> not support flow control
18/09/2020 16:36:27                         pktgen: check the trex port link status
18/09/2020 16:36:27                         pktgen: {'arp': '-',
 'cores': [0, 1, 2, 3],
 'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
 'dest': '00:00:00:00:01:00',
 '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': '-'}
18/09/2020 16:36:27                         pktgen: begin traffic ......
18/09/2020 16:36:27                         pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
18/09/2020 16:36:37                         pktgen: begin get port statistic ...
18/09/2020 16:36:37                         pktgen: {'options': {'fields_config': {'mac': {'dst': {'action': 'inc',
                                               'end': '00:11:22:33:44:10',
                                               'start': '00:11:22:33:44:10',
                                               'step': 1}}},
             'pcap': '/tmp/vhost.pcap',
             'stream_config': {'rate': 100,
                               'transmit_mode': 'continuous',
                               'txmode': {}}},
 'pcap_file': '/tmp/vhost.pcap',
 'rx_port': 0,
 'tx_port': 0}
18/09/2020 16:36:37                         pktgen: {0: {'ibytes': 49405290990,
     'ierrors': 0,
     'ipackets': 32546308,
     'obytes': 49405216608,
     'oerrors': 0,
     'opackets': 32546259,
     'rx_bps': 39448408064.0,
     'rx_bps_L1': 39968166944.0,
     'rx_pps': 3248493.0,
     'rx_util': 99.92041736,
     'tx_bps': 39448838144.0,
     'tx_bps_L1': 39968605744.0,
     'tx_pps': 3248547.5,
     'tx_util': 99.92151436},
 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': 24.31424331665039,
            'cpu_util': 81.1229019165039,
            'cpu_util_raw': 84.5,
            'open_flows': 0.0,
            'platform_factor': 1.0,
            'queue_full': 27824596,
            'rx_bps': 39448408064.0,
            'rx_core_pps': 0.0,
            'rx_cpu_util': 0.0,
            'rx_drop_bps': 0.0,
            'rx_pps': 3248493.0,
            'socket_util': 0.0,
            'total_alloc_error': 0,
            'total_clients': 0,
            'total_servers': 0,
            'tx_bps': 39448838144.0,
            'tx_cps': 0.0,
            'tx_expected_bps': 0.0,
            'tx_expected_cps': 0.0,
            'tx_expected_pps': 0.0,
            'tx_pps': 3248547.5},
 'latency': {'global': {'bad_hdr': 0, 'old_flow': 0}},
 'total': {'ibytes': 49405290990,
           'ierrors': 0,
           'ipackets': 32546308,
           'obytes': 49405216608,
           'oerrors': 0,
           'opackets': 32546259,
           'rx_bps': 39448408064.0,
           'rx_bps_L1': 39968166944.0,
           'rx_pps': 3248493.0,
           'rx_util': 99.92041736,
           'tx_bps': 39448838144.0,
           'tx_bps_L1': 39968605744.0,
           'tx_pps': 3248547.5,
           'tx_util': 99.92151436}}
18/09/2020 16:36:37                         pktgen: {'ibytes': 49405290990,
 'ierrors': 0,
 'ipackets': 32546308,
 'obytes': 49405216608,
 'oerrors': 0,
 'opackets': 32546259,
 'rx_bps': 39448408064.0,
 'rx_bps_L1': 39968166944.0,
 'rx_pps': 3248493.0,
 'rx_util': 99.92041736,
 'tx_bps': 39448838144.0,
 'tx_bps_L1': 39968605744.0,
 'tx_pps': 3248547.5,
 'tx_util': 99.92151436}
18/09/2020 16:36:37                         pktgen: Tx Port 0 stats: 
tx_port: 0,  tx_bps: 39448838144.000000, tx_pps: 3248547.500000 
18/09/2020 16:36:37                         pktgen: {'ibytes': 49405290990,
 'ierrors': 0,
 'ipackets': 32546308,
 'obytes': 49405216608,
 'oerrors': 0,
 'opackets': 32546259,
 'rx_bps': 39448408064.0,
 'rx_bps_L1': 39968166944.0,
 'rx_pps': 3248493.0,
 'rx_util': 99.92041736,
 'tx_bps': 39448838144.0,
 'tx_bps_L1': 39968605744.0,
 'tx_pps': 3248547.5,
 'tx_util': 99.92151436}
18/09/2020 16:36:37                         pktgen: Rx Port 0 stats: 
rx_port: 0,  rx_bps: 39448408064.000000, rx_pps: 3248493.000000
18/09/2020 16:36:37                         pktgen: throughput: pps_rx 3248493.000000, bps_rx 39448408064.000000
18/09/2020 16:36:37                         pktgen: traffic completed. 
18/09/2020 16:36:37     TestVirtioUserForContainer: 
+-------+---------------------+-------+-----------+------------+
| Frame |        Mode         | Mpps  | Queue Num | % linerate |
+=======+=====================+=======+===========+============+
| 64    | virtio in container | 8.599 | 1         | 14.447     |
+-------+---------------------+-------+-----------+------------+
| 128   | virtio in container | 7.761 | 1         | 22.972     |
+-------+---------------------+-------+-----------+------------+
| 256   | virtio in container | 7.065 | 1         | 39.000     |
+-------+---------------------+-------+-----------+------------+
| 512   | virtio in container | 5.628 | 1         | 59.882     |
+-------+---------------------+-------+-----------+------------+
| 1024  | virtio in container | 4.056 | 1         | 84.699     |
+-------+---------------------+-------+-----------+------------+
| 1518  | virtio in container | 3.248 | 1         | 99.924     |
+-------+---------------------+-------+-----------+------------+
18/09/2020 16:36:39     TestVirtioUserForContainer: Test Case test_perf_packet_fwd_for_container Result PASSED:
18/09/2020 16:36:39             dut.10.240.183.220: killall -s INT dpdk-testpmd 
18/09/2020 16:36:39             dut.10.240.183.220: dpdk-testpmd: no process found
18/09/2020 16:36:39     TestVirtioUserForContainer: Test Case test_perf_packet_fwd_with_multi_queues_for_container Begin
18/09/2020 16:36:39             dut.10.240.183.220: 
18/09/2020 16:36:40                         tester: 
18/09/2020 16:36:40             dut.10.240.183.220: rm -rf ./vhost-net*
18/09/2020 16:36:40             dut.10.240.183.220: 
18/09/2020 16:36:40             dut.10.240.183.220: killall -s INT dpdk-testpmd 
18/09/2020 16:36:40             dut.10.240.183.220: dpdk-testpmd: no process found
18/09/2020 16:36:43             dut.10.240.183.220: cat /proc/meminfo |grep Hugepagesize|awk '{print($2)}'
18/09/2020 16:36:43             dut.10.240.183.220: 1048576
18/09/2020 16:36:44             dut.10.240.183.220: cat /proc/meminfo |grep Hugepagesize|awk '{print($2)}'
18/09/2020 16:36:44             dut.10.240.183.220: 1048576
18/09/2020 16:36:45                         tester: scapy
18/09/2020 16:36:45                         tester: INFO: Can't import matplotlib. Not critical, but won't be able to plot.
INFO: Can't import networkx. Not criticial, but won't be able to draw network graphs.
INFO: Can't import PyX. Won't be able to use psdump() or pdfdump().
WARNING: IPython not available. Using standard Python shell instead.
Welcome to Scapy (3.0.0)
18/09/2020 16:36:47                         tester: wrpcap("/tmp/vhost.pcap", [Ether(dst="00:11:22:33:44:10")/IP()/UDP()/("X"*18)])
18/09/2020 16:36:47                         tester: 
18/09/2020 16:36:49                         tester: exit()
18/09/2020 16:36:49                         tester: 
18/09/2020 16:36:49                         pktgen: test port 0 map gen port 0
18/09/2020 16:36:49                         pktgen: test port 0 map gen port 0
18/09/2020 16:36:49                         pktgen: {'arp': '-',
 'cores': [0, 1, 2, 3],
 'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
 'dest': '00:00:00:00:01:00',
 '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': '-'}
18/09/2020 16:36:49                         pktgen: trex port <0> not support flow control
18/09/2020 16:36:49                         pktgen: check the trex port link status
18/09/2020 16:36:49                         pktgen: {'arp': '-',
 'cores': [0, 1, 2, 3],
 'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
 'dest': '00:00:00:00:01:00',
 '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': '-'}
18/09/2020 16:36:49                         pktgen: begin traffic ......
18/09/2020 16:36:49                         pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
18/09/2020 16:36:59                         pktgen: begin get port statistic ...
18/09/2020 16:36:59                         pktgen: {'options': {'fields_config': {'mac': {'dst': {'action': 'inc',
                                               'end': '00:11:22:33:44:10',
                                               'start': '00:11:22:33:44:10',
                                               'step': 1}}},
             'pcap': '/tmp/vhost.pcap',
             'stream_config': {'rate': 100,
                               'transmit_mode': 'continuous',
                               'txmode': {}}},
 'pcap_file': '/tmp/vhost.pcap',
 'rx_port': 0,
 'tx_port': 0}
18/09/2020 16:36:59                         pktgen: {0: {'ibytes': 9973097600,
     'ierrors': 0,
     'ipackets': 155829664,
     'obytes': 22430325760,
     'oerrors': 0,
     'opackets': 350473873,
     'rx_bps': 7969090048.0,
     'rx_bps_L1': 10459427168.0,
     'rx_pps': 15564607.0,
     'rx_util': 26.148567919999998,
     'tx_bps': 17967546368.0,
     'tx_bps_L1': 23582399488.0,
     'tx_pps': 35092832.0,
     'tx_util': 58.955998720000004},
 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': 9.563641548156738,
            'cpu_util': 93.93673706054688,
            'cpu_util_raw': 100.0,
            'open_flows': 0.0,
            'platform_factor': 1.0,
            'queue_full': 0,
            'rx_bps': 7969090048.0,
            'rx_core_pps': 0.0,
            'rx_cpu_util': 0.0,
            'rx_drop_bps': 9998456832.0,
            'rx_pps': 15564607.0,
            'socket_util': 0.0,
            'total_alloc_error': 0,
            'total_clients': 0,
            'total_servers': 0,
            'tx_bps': 17967546368.0,
            'tx_cps': 0.0,
            'tx_expected_bps': 0.0,
            'tx_expected_cps': 0.0,
            'tx_expected_pps': 0.0,
            'tx_pps': 35092832.0},
 'latency': {'global': {'bad_hdr': 0, 'old_flow': 0}},
 'total': {'ibytes': 9973097600,
           'ierrors': 0,
           'ipackets': 155829664,
           'obytes': 22430325760,
           'oerrors': 0,
           'opackets': 350473873,
           'rx_bps': 7969090048.0,
           'rx_bps_L1': 10459427168.0,
           'rx_pps': 15564607.0,
           'rx_util': 26.148567919999998,
           'tx_bps': 17967546368.0,
           'tx_bps_L1': 23582399488.0,
           'tx_pps': 35092832.0,
           'tx_util': 58.955998720000004}}
18/09/2020 16:36:59                         pktgen: {'ibytes': 9973097600,
 'ierrors': 0,
 'ipackets': 155829664,
 'obytes': 22430325760,
 'oerrors': 0,
 'opackets': 350473873,
 'rx_bps': 7969090048.0,
 'rx_bps_L1': 10459427168.0,
 'rx_pps': 15564607.0,
 'rx_util': 26.148567919999998,
 'tx_bps': 17967546368.0,
 'tx_bps_L1': 23582399488.0,
 'tx_pps': 35092832.0,
 'tx_util': 58.955998720000004}
18/09/2020 16:36:59                         pktgen: Tx Port 0 stats: 
tx_port: 0,  tx_bps: 17967546368.000000, tx_pps: 35092832.000000 
18/09/2020 16:36:59                         pktgen: {'ibytes': 9973097600,
 'ierrors': 0,
 'ipackets': 155829664,
 'obytes': 22430325760,
 'oerrors': 0,
 'opackets': 350473873,
 'rx_bps': 7969090048.0,
 'rx_bps_L1': 10459427168.0,
 'rx_pps': 15564607.0,
 'rx_util': 26.148567919999998,
 'tx_bps': 17967546368.0,
 'tx_bps_L1': 23582399488.0,
 'tx_pps': 35092832.0,
 'tx_util': 58.955998720000004}
18/09/2020 16:36:59                         pktgen: Rx Port 0 stats: 
rx_port: 0,  rx_bps: 7969090048.000000, rx_pps: 15564607.000000
18/09/2020 16:36:59                         pktgen: throughput: pps_rx 15564607.000000, bps_rx 7969090048.000000
18/09/2020 16:36:59                         pktgen: traffic completed. 
18/09/2020 16:36:59                         tester: scapy
18/09/2020 16:37:00                         tester: INFO: Can't import matplotlib. Not critical, but won't be able to plot.
INFO: Can't import networkx. Not criticial, but won't be able to draw network graphs.
INFO: Can't import PyX. Won't be able to use psdump() or pdfdump().
WARNING: IPython not available. Using standard Python shell instead.
Welcome to Scapy (3.0.0)
18/09/2020 16:37:02                         tester: wrpcap("/tmp/vhost.pcap", [Ether(dst="00:11:22:33:44:10")/IP()/UDP()/("X"*82)])
18/09/2020 16:37:02                         tester: 
18/09/2020 16:37:04                         tester: exit()
18/09/2020 16:37:04                         tester: 
18/09/2020 16:37:04                         pktgen: test port 0 map gen port 0
18/09/2020 16:37:04                         pktgen: test port 0 map gen port 0
18/09/2020 16:37:04                         pktgen: {'arp': '-',
 'cores': [0, 1, 2, 3],
 'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
 'dest': '00:00:00:00:01:00',
 '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': '-'}
18/09/2020 16:37:04                         pktgen: trex port <0> not support flow control
18/09/2020 16:37:04                         pktgen: check the trex port link status
18/09/2020 16:37:04                         pktgen: {'arp': '-',
 'cores': [0, 1, 2, 3],
 'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
 'dest': '00:00:00:00:01:00',
 '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': '-'}
18/09/2020 16:37:04                         pktgen: begin traffic ......
18/09/2020 16:37:04                         pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
18/09/2020 16:37:14                         pktgen: begin get port statistic ...
18/09/2020 16:37:14                         pktgen: {'options': {'fields_config': {'mac': {'dst': {'action': 'inc',
                                               'end': '00:11:22:33:44:10',
                                               'start': '00:11:22:33:44:10',
                                               'step': 1}}},
             'pcap': '/tmp/vhost.pcap',
             'stream_config': {'rate': 100,
                               'transmit_mode': 'continuous',
                               'txmode': {}}},
 'pcap_file': '/tmp/vhost.pcap',
 'rx_port': 0,
 'tx_port': 0}
18/09/2020 16:37:14                         pktgen: {0: {'ibytes': 16954174976,
     'ierrors': 0,
     'ipackets': 132454520,
     'obytes': 43263897984,
     'oerrors': 0,
     'opackets': 337999231,
     'rx_bps': 13536221184.0,
     'rx_bps_L1': 15651381504.000002,
     'rx_pps': 13219752.0,
     'rx_util': 39.128453760000006,
     'tx_bps': 34544930816.0,
     'tx_bps_L1': 39942863616.0,
     'tx_pps': 33737080.0,
     'tx_util': 99.85715904},
 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': 19.470054626464844,
            'cpu_util': 88.71297454833984,
            'cpu_util_raw': 92.5,
            'open_flows': 0.0,
            'platform_factor': 1.0,
            'queue_full': 895521,
            'rx_bps': 13536221184.0,
            'rx_core_pps': 0.0,
            'rx_cpu_util': 0.0,
            'rx_drop_bps': 21008707584.0,
            'rx_pps': 13219752.0,
            'socket_util': 0.0,
            'total_alloc_error': 0,
            'total_clients': 0,
            'total_servers': 0,
            'tx_bps': 34544930816.0,
            'tx_cps': 0.0,
            'tx_expected_bps': 0.0,
            'tx_expected_cps': 0.0,
            'tx_expected_pps': 0.0,
            'tx_pps': 33737080.0},
 'latency': {'global': {'bad_hdr': 0, 'old_flow': 0}},
 'total': {'ibytes': 16954174976,
           'ierrors': 0,
           'ipackets': 132454520,
           'obytes': 43263897984,
           'oerrors': 0,
           'opackets': 337999231,
           'rx_bps': 13536221184.0,
           'rx_bps_L1': 15651381504.000002,
           'rx_pps': 13219752.0,
           'rx_util': 39.128453760000006,
           'tx_bps': 34544930816.0,
           'tx_bps_L1': 39942863616.0,
           'tx_pps': 33737080.0,
           'tx_util': 99.85715904}}
18/09/2020 16:37:14                         pktgen: {'ibytes': 16954174976,
 'ierrors': 0,
 'ipackets': 132454520,
 'obytes': 43263897984,
 'oerrors': 0,
 'opackets': 337999231,
 'rx_bps': 13536221184.0,
 'rx_bps_L1': 15651381504.000002,
 'rx_pps': 13219752.0,
 'rx_util': 39.128453760000006,
 'tx_bps': 34544930816.0,
 'tx_bps_L1': 39942863616.0,
 'tx_pps': 33737080.0,
 'tx_util': 99.85715904}
18/09/2020 16:37:14                         pktgen: Tx Port 0 stats: 
tx_port: 0,  tx_bps: 34544930816.000000, tx_pps: 33737080.000000 
18/09/2020 16:37:14                         pktgen: {'ibytes': 16954174976,
 'ierrors': 0,
 'ipackets': 132454520,
 'obytes': 43263897984,
 'oerrors': 0,
 'opackets': 337999231,
 'rx_bps': 13536221184.0,
 'rx_bps_L1': 15651381504.000002,
 'rx_pps': 13219752.0,
 'rx_util': 39.128453760000006,
 'tx_bps': 34544930816.0,
 'tx_bps_L1': 39942863616.0,
 'tx_pps': 33737080.0,
 'tx_util': 99.85715904}
18/09/2020 16:37:14                         pktgen: Rx Port 0 stats: 
rx_port: 0,  rx_bps: 13536221184.000000, rx_pps: 13219752.000000
18/09/2020 16:37:14                         pktgen: throughput: pps_rx 13219752.000000, bps_rx 13536221184.000000
18/09/2020 16:37:14                         pktgen: traffic completed. 
18/09/2020 16:37:14                         tester: scapy
18/09/2020 16:37:14                         tester: INFO: Can't import matplotlib. Not critical, but won't be able to plot.
INFO: Can't import networkx. Not criticial, but won't be able to draw network graphs.
INFO: Can't import PyX. Won't be able to use psdump() or pdfdump().
WARNING: IPython not available. Using standard Python shell instead.
Welcome to Scapy (3.0.0)
18/09/2020 16:37:16                         tester: wrpcap("/tmp/vhost.pcap", [Ether(dst="00:11:22:33:44:10")/IP()/UDP()/("X"*210)])
18/09/2020 16:37:16                         tester: 
18/09/2020 16:37:18                         tester: exit()
18/09/2020 16:37:18                         tester: 
18/09/2020 16:37:18                         pktgen: test port 0 map gen port 0
18/09/2020 16:37:18                         pktgen: test port 0 map gen port 0
18/09/2020 16:37:18                         pktgen: {'arp': '-',
 'cores': [0, 1, 2, 3],
 'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
 'dest': '00:00:00:00:01:00',
 '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': '-'}
18/09/2020 16:37:18                         pktgen: trex port <0> not support flow control
18/09/2020 16:37:18                         pktgen: check the trex port link status
18/09/2020 16:37:18                         pktgen: {'arp': '-',
 'cores': [0, 1, 2, 3],
 'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
 'dest': '00:00:00:00:01:00',
 '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': '-'}
18/09/2020 16:37:18                         pktgen: begin traffic ......
18/09/2020 16:37:18                         pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
18/09/2020 16:37:28                         pktgen: begin get port statistic ...
18/09/2020 16:37:28                         pktgen: {'options': {'fields_config': {'mac': {'dst': {'action': 'inc',
                                               'end': '00:11:22:33:44:10',
                                               'start': '00:11:22:33:44:10',
                                               'step': 1}}},
             'pcap': '/tmp/vhost.pcap',
             'stream_config': {'rate': 100,
                               'transmit_mode': 'continuous',
                               'txmode': {}}},
 'pcap_file': '/tmp/vhost.pcap',
 'rx_port': 0,
 'tx_port': 0}
18/09/2020 16:37:28                         pktgen: {0: {'ibytes': 29511809536,
     'ierrors': 0,
     'ipackets': 115280511,
     'obytes': 46404195840,
     'oerrors': 0,
     'opackets': 181266406,
     'rx_bps': 23575736320.0,
     'rx_bps_L1': 25417651679.999996,
     'rx_pps': 11511971.0,
     'rx_util': 63.544129199999986,
     'tx_bps': 37092495360.0,
     'tx_bps_L1': 39990500799.99999,
     'tx_pps': 18112534.0,
     'tx_util': 99.97625199999997},
 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': 19.700550079345703,
            'cpu_util': 94.14076232910156,
            'cpu_util_raw': 97.0,
            'open_flows': 0.0,
            'platform_factor': 1.0,
            'queue_full': 17704259,
            'rx_bps': 23575736320.0,
            'rx_core_pps': 0.0,
            'rx_cpu_util': 0.0,
            'rx_drop_bps': 13516760064.0,
            'rx_pps': 11511971.0,
            'socket_util': 0.0,
            'total_alloc_error': 0,
            'total_clients': 0,
            'total_servers': 0,
            'tx_bps': 37092495360.0,
            'tx_cps': 0.0,
            'tx_expected_bps': 0.0,
            'tx_expected_cps': 0.0,
            'tx_expected_pps': 0.0,
            'tx_pps': 18112534.0},
 'latency': {'global': {'bad_hdr': 0, 'old_flow': 0}},
 'total': {'ibytes': 29511809536,
           'ierrors': 0,
           'ipackets': 115280511,
           'obytes': 46404195840,
           'oerrors': 0,
           'opackets': 181266406,
           'rx_bps': 23575736320.0,
           'rx_bps_L1': 25417651679.999996,
           'rx_pps': 11511971.0,
           'rx_util': 63.544129199999986,
           'tx_bps': 37092495360.0,
           'tx_bps_L1': 39990500799.99999,
           'tx_pps': 18112534.0,
           'tx_util': 99.97625199999997}}
18/09/2020 16:37:28                         pktgen: {'ibytes': 29511809536,
 'ierrors': 0,
 'ipackets': 115280511,
 'obytes': 46404195840,
 'oerrors': 0,
 'opackets': 181266406,
 'rx_bps': 23575736320.0,
 'rx_bps_L1': 25417651679.999996,
 'rx_pps': 11511971.0,
 'rx_util': 63.544129199999986,
 'tx_bps': 37092495360.0,
 'tx_bps_L1': 39990500799.99999,
 'tx_pps': 18112534.0,
 'tx_util': 99.97625199999997}
18/09/2020 16:37:28                         pktgen: Tx Port 0 stats: 
tx_port: 0,  tx_bps: 37092495360.000000, tx_pps: 18112534.000000 
18/09/2020 16:37:28                         pktgen: {'ibytes': 29511809536,
 'ierrors': 0,
 'ipackets': 115280511,
 'obytes': 46404195840,
 'oerrors': 0,
 'opackets': 181266406,
 'rx_bps': 23575736320.0,
 'rx_bps_L1': 25417651679.999996,
 'rx_pps': 11511971.0,
 'rx_util': 63.544129199999986,
 'tx_bps': 37092495360.0,
 'tx_bps_L1': 39990500799.99999,
 'tx_pps': 18112534.0,
 'tx_util': 99.97625199999997}
18/09/2020 16:37:28                         pktgen: Rx Port 0 stats: 
rx_port: 0,  rx_bps: 23575736320.000000, rx_pps: 11511971.000000
18/09/2020 16:37:28                         pktgen: throughput: pps_rx 11511971.000000, bps_rx 23575736320.000000
18/09/2020 16:37:28                         pktgen: traffic completed. 
18/09/2020 16:37:28                         tester: scapy
18/09/2020 16:37:28                         tester: INFO: Can't import matplotlib. Not critical, but won't be able to plot.
INFO: Can't import networkx. Not criticial, but won't be able to draw network graphs.
INFO: Can't import PyX. Won't be able to use psdump() or pdfdump().
WARNING: IPython not available. Using standard Python shell instead.
Welcome to Scapy (3.0.0)
18/09/2020 16:37:30                         tester: wrpcap("/tmp/vhost.pcap", [Ether(dst="00:11:22:33:44:10")/IP()/UDP()/("X"*466)])
18/09/2020 16:37:31                         tester: 
18/09/2020 16:37:33                         tester: exit()
18/09/2020 16:37:33                         tester: 
18/09/2020 16:37:33                         pktgen: test port 0 map gen port 0
18/09/2020 16:37:33                         pktgen: test port 0 map gen port 0
18/09/2020 16:37:33                         pktgen: {'arp': '-',
 'cores': [0, 1, 2, 3],
 'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
 'dest': '00:00:00:00:01:00',
 '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': '-'}
18/09/2020 16:37:33                         pktgen: trex port <0> not support flow control
18/09/2020 16:37:33                         pktgen: check the trex port link status
18/09/2020 16:37:33                         pktgen: {'arp': '-',
 'cores': [0, 1, 2, 3],
 'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
 'dest': '00:00:00:00:01:00',
 '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': '-'}
18/09/2020 16:37:33                         pktgen: begin traffic ......
18/09/2020 16:37:33                         pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
18/09/2020 16:37:43                         pktgen: begin get port statistic ...
18/09/2020 16:37:43                         pktgen: {'options': {'fields_config': {'mac': {'dst': {'action': 'inc',
                                               'end': '00:11:22:33:44:10',
                                               'start': '00:11:22:33:44:10',
                                               'step': 1}}},
             'pcap': '/tmp/vhost.pcap',
             'stream_config': {'rate': 100,
                               'transmit_mode': 'continuous',
                               'txmode': {}}},
 'pcap_file': '/tmp/vhost.pcap',
 'rx_port': 0,
 'tx_port': 0}
18/09/2020 16:37:43                         pktgen: {0: {'ibytes': 39013413376,
     'ierrors': 0,
     'ipackets': 76198082,
     'obytes': 48153254912,
     'oerrors': 0,
     'opackets': 94049334,
     'rx_bps': 31152259072.0,
     'rx_bps_L1': 32369203712.0,
     'rx_pps': 7605904.0,
     'rx_util': 80.92300928,
     'tx_bps': 38469984256.0,
     'tx_bps_L1': 39972811936.0,
     'tx_pps': 9392673.0,
     'tx_util': 99.93202984},
 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': 61.65757369995117,
            'cpu_util': 31.19647979736328,
            'cpu_util_raw': 30.25,
            'open_flows': 0.0,
            'platform_factor': 1.0,
            'queue_full': 2350231,
            'rx_bps': 31152259072.0,
            'rx_core_pps': 0.0,
            'rx_cpu_util': 0.0,
            'rx_drop_bps': 7317724672.0,
            'rx_pps': 7605904.0,
            'socket_util': 0.0,
            'total_alloc_error': 0,
            'total_clients': 0,
            'total_servers': 0,
            'tx_bps': 38469984256.0,
            'tx_cps': 0.0,
            'tx_expected_bps': 0.0,
            'tx_expected_cps': 0.0,
            'tx_expected_pps': 0.0,
            'tx_pps': 9392673.0},
 'latency': {'global': {'bad_hdr': 0, 'old_flow': 0}},
 'total': {'ibytes': 39013413376,
           'ierrors': 0,
           'ipackets': 76198082,
           'obytes': 48153254912,
           'oerrors': 0,
           'opackets': 94049334,
           'rx_bps': 31152259072.0,
           'rx_bps_L1': 32369203712.0,
           'rx_pps': 7605904.0,
           'rx_util': 80.92300928,
           'tx_bps': 38469984256.0,
           'tx_bps_L1': 39972811936.0,
           'tx_pps': 9392673.0,
           'tx_util': 99.93202984}}
18/09/2020 16:37:43                         pktgen: {'ibytes': 39013413376,
 'ierrors': 0,
 'ipackets': 76198082,
 'obytes': 48153254912,
 'oerrors': 0,
 'opackets': 94049334,
 'rx_bps': 31152259072.0,
 'rx_bps_L1': 32369203712.0,
 'rx_pps': 7605904.0,
 'rx_util': 80.92300928,
 'tx_bps': 38469984256.0,
 'tx_bps_L1': 39972811936.0,
 'tx_pps': 9392673.0,
 'tx_util': 99.93202984}
18/09/2020 16:37:43                         pktgen: Tx Port 0 stats: 
tx_port: 0,  tx_bps: 38469984256.000000, tx_pps: 9392673.000000 
18/09/2020 16:37:43                         pktgen: {'ibytes': 39013413376,
 'ierrors': 0,
 'ipackets': 76198082,
 'obytes': 48153254912,
 'oerrors': 0,
 'opackets': 94049334,
 'rx_bps': 31152259072.0,
 'rx_bps_L1': 32369203712.0,
 'rx_pps': 7605904.0,
 'rx_util': 80.92300928,
 'tx_bps': 38469984256.0,
 'tx_bps_L1': 39972811936.0,
 'tx_pps': 9392673.0,
 'tx_util': 99.93202984}
18/09/2020 16:37:43                         pktgen: Rx Port 0 stats: 
rx_port: 0,  rx_bps: 31152259072.000000, rx_pps: 7605904.000000
18/09/2020 16:37:43                         pktgen: throughput: pps_rx 7605904.000000, bps_rx 31152259072.000000
18/09/2020 16:37:43                         pktgen: traffic completed. 
18/09/2020 16:37:43                         tester: scapy
18/09/2020 16:37:43                         tester: INFO: Can't import matplotlib. Not critical, but won't be able to plot.
INFO: Can't import networkx. Not criticial, but won't be able to draw network graphs.
INFO: Can't import PyX. Won't be able to use psdump() or pdfdump().
WARNING: IPython not available. Using standard Python shell instead.
Welcome to Scapy (3.0.0)
18/09/2020 16:37:45                         tester: wrpcap("/tmp/vhost.pcap", [Ether(dst="00:11:22:33:44:10")/IP()/UDP()/("X"*978)])
18/09/2020 16:37:45                         tester: 
18/09/2020 16:37:47                         tester: exit()
18/09/2020 16:37:47                         tester: 
18/09/2020 16:37:47                         pktgen: test port 0 map gen port 0
18/09/2020 16:37:47                         pktgen: test port 0 map gen port 0
18/09/2020 16:37:47                         pktgen: {'arp': '-',
 'cores': [0, 1, 2, 3],
 'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
 'dest': '00:00:00:00:01:00',
 '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': '-'}
18/09/2020 16:37:47                         pktgen: trex port <0> not support flow control
18/09/2020 16:37:47                         pktgen: check the trex port link status
18/09/2020 16:37:47                         pktgen: {'arp': '-',
 'cores': [0, 1, 2, 3],
 'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
 'dest': '00:00:00:00:01:00',
 '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': '-'}
18/09/2020 16:37:47                         pktgen: begin traffic ......
18/09/2020 16:37:47                         pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
18/09/2020 16:37:57                         pktgen: begin get port statistic ...
18/09/2020 16:37:57                         pktgen: {'options': {'fields_config': {'mac': {'dst': {'action': 'inc',
                                               'end': '00:11:22:33:44:10',
                                               'start': '00:11:22:33:44:10',
                                               'step': 1}}},
             'pcap': '/tmp/vhost.pcap',
             'stream_config': {'rate': 100,
                               'transmit_mode': 'continuous',
                               'txmode': {}}},
 'pcap_file': '/tmp/vhost.pcap',
 'rx_port': 0,
 'tx_port': 0}
18/09/2020 16:37:57                         pktgen: {0: {'ibytes': 49096074240,
     'ierrors': 0,
     'ipackets': 47945390,
     'obytes': 49096022016,
     'oerrors': 0,
     'opackets': 47945338,
     'rx_bps': 39195029504.0,
     'rx_bps_L1': 39960604064.0,
     'rx_pps': 4784841.0,
     'rx_util': 99.90151016,
     'tx_bps': 39195570176.0,
     'tx_bps_L1': 39961166096.0,
     'tx_pps': 4784974.5,
     'tx_util': 99.90291524},
 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': 22.428647994995117,
            'cpu_util': 87.37836456298828,
            'cpu_util_raw': 93.0,
            'open_flows': 0.0,
            'platform_factor': 1.0,
            'queue_full': 29950178,
            'rx_bps': 39195029504.0,
            'rx_core_pps': 0.0,
            'rx_cpu_util': 0.0,
            'rx_drop_bps': 0.0,
            'rx_pps': 4784841.0,
            'socket_util': 0.0,
            'total_alloc_error': 0,
            'total_clients': 0,
            'total_servers': 0,
            'tx_bps': 39195570176.0,
            'tx_cps': 0.0,
            'tx_expected_bps': 0.0,
            'tx_expected_cps': 0.0,
            'tx_expected_pps': 0.0,
            'tx_pps': 4784974.5},
 'latency': {'global': {'bad_hdr': 0, 'old_flow': 0}},
 'total': {'ibytes': 49096074240,
           'ierrors': 0,
           'ipackets': 47945390,
           'obytes': 49096022016,
           'oerrors': 0,
           'opackets': 47945338,
           'rx_bps': 39195029504.0,
           'rx_bps_L1': 39960604064.0,
           'rx_pps': 4784841.0,
           'rx_util': 99.90151016,
           'tx_bps': 39195570176.0,
           'tx_bps_L1': 39961166096.0,
           'tx_pps': 4784974.5,
           'tx_util': 99.90291524}}
18/09/2020 16:37:57                         pktgen: {'ibytes': 49096074240,
 'ierrors': 0,
 'ipackets': 47945390,
 'obytes': 49096022016,
 'oerrors': 0,
 'opackets': 47945338,
 'rx_bps': 39195029504.0,
 'rx_bps_L1': 39960604064.0,
 'rx_pps': 4784841.0,
 'rx_util': 99.90151016,
 'tx_bps': 39195570176.0,
 'tx_bps_L1': 39961166096.0,
 'tx_pps': 4784974.5,
 'tx_util': 99.90291524}
18/09/2020 16:37:57                         pktgen: Tx Port 0 stats: 
tx_port: 0,  tx_bps: 39195570176.000000, tx_pps: 4784974.500000 
18/09/2020 16:37:57                         pktgen: {'ibytes': 49096074240,
 'ierrors': 0,
 'ipackets': 47945390,
 'obytes': 49096022016,
 'oerrors': 0,
 'opackets': 47945338,
 'rx_bps': 39195029504.0,
 'rx_bps_L1': 39960604064.0,
 'rx_pps': 4784841.0,
 'rx_util': 99.90151016,
 'tx_bps': 39195570176.0,
 'tx_bps_L1': 39961166096.0,
 'tx_pps': 4784974.5,
 'tx_util': 99.90291524}
18/09/2020 16:37:57                         pktgen: Rx Port 0 stats: 
rx_port: 0,  rx_bps: 39195029504.000000, rx_pps: 4784841.000000
18/09/2020 16:37:57                         pktgen: throughput: pps_rx 4784841.000000, bps_rx 39195029504.000000
18/09/2020 16:37:57                         pktgen: traffic completed. 
18/09/2020 16:37:57                         tester: scapy
18/09/2020 16:37:57                         tester: INFO: Can't import matplotlib. Not critical, but won't be able to plot.
INFO: Can't import networkx. Not criticial, but won't be able to draw network graphs.
INFO: Can't import PyX. Won't be able to use psdump() or pdfdump().
WARNING: IPython not available. Using standard Python shell instead.
Welcome to Scapy (3.0.0)
18/09/2020 16:37:59                         tester: wrpcap("/tmp/vhost.pcap", [Ether(dst="00:11:22:33:44:10")/IP()/UDP()/("X"*1472)])
18/09/2020 16:37:59                         tester: 
18/09/2020 16:38:01                         tester: exit()
18/09/2020 16:38:01                         tester: 
18/09/2020 16:38:01                         pktgen: test port 0 map gen port 0
18/09/2020 16:38:01                         pktgen: test port 0 map gen port 0
18/09/2020 16:38:02                         pktgen: {'arp': '-',
 'cores': [0, 1, 2, 3],
 'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
 'dest': '00:00:00:00:01:00',
 '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': '-'}
18/09/2020 16:38:02                         pktgen: trex port <0> not support flow control
18/09/2020 16:38:02                         pktgen: check the trex port link status
18/09/2020 16:38:02                         pktgen: {'arp': '-',
 'cores': [0, 1, 2, 3],
 'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
 'dest': '00:00:00:00:01:00',
 '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': '-'}
18/09/2020 16:38:02                         pktgen: begin traffic ......
18/09/2020 16:38:02                         pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
18/09/2020 16:38:12                         pktgen: begin get port statistic ...
18/09/2020 16:38:12                         pktgen: {'options': {'fields_config': {'mac': {'dst': {'action': 'inc',
                                               'end': '00:11:22:33:44:10',
                                               'start': '00:11:22:33:44:10',
                                               'step': 1}}},
             'pcap': '/tmp/vhost.pcap',
             'stream_config': {'rate': 100,
                               'transmit_mode': 'continuous',
                               'txmode': {}}},
 'pcap_file': '/tmp/vhost.pcap',
 'rx_port': 0,
 'tx_port': 0}
18/09/2020 16:38:12                         pktgen: {0: {'ibytes': 49402560108,
     'ierrors': 0,
     'ipackets': 32544509,
     'obytes': 49402469028,
     'oerrors': 0,
     'opackets': 32544448,
     'rx_bps': 39449104384.0,
     'rx_bps_L1': 39968877504.0,
     'rx_pps': 3248582.0,
     'rx_util': 99.92219376,
     'tx_bps': 39449100288.0,
     'tx_bps_L1': 39968873288.0,
     'tx_pps': 3248581.25,
     'tx_util': 99.92218322000001},
 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': 24.49907112121582,
            'cpu_util': 80.51142120361328,
            'cpu_util_raw': 83.25,
            'open_flows': 0.0,
            'platform_factor': 1.0,
            'queue_full': 27821451,
            'rx_bps': 39449104384.0,
            'rx_core_pps': 0.0,
            'rx_cpu_util': 0.0,
            'rx_drop_bps': 0.0,
            'rx_pps': 3248582.0,
            'socket_util': 0.0,
            'total_alloc_error': 0,
            'total_clients': 0,
            'total_servers': 0,
            'tx_bps': 39449100288.0,
            'tx_cps': 0.0,
            'tx_expected_bps': 0.0,
            'tx_expected_cps': 0.0,
            'tx_expected_pps': 0.0,
            'tx_pps': 3248581.25},
 'latency': {'global': {'bad_hdr': 0, 'old_flow': 0}},
 'total': {'ibytes': 49402560108,
           'ierrors': 0,
           'ipackets': 32544509,
           'obytes': 49402469028,
           'oerrors': 0,
           'opackets': 32544448,
           'rx_bps': 39449104384.0,
           'rx_bps_L1': 39968877504.0,
           'rx_pps': 3248582.0,
           'rx_util': 99.92219376,
           'tx_bps': 39449100288.0,
           'tx_bps_L1': 39968873288.0,
           'tx_pps': 3248581.25,
           'tx_util': 99.92218322000001}}
18/09/2020 16:38:12                         pktgen: {'ibytes': 49402560108,
 'ierrors': 0,
 'ipackets': 32544509,
 'obytes': 49402469028,
 'oerrors': 0,
 'opackets': 32544448,
 'rx_bps': 39449104384.0,
 'rx_bps_L1': 39968877504.0,
 'rx_pps': 3248582.0,
 'rx_util': 99.92219376,
 'tx_bps': 39449100288.0,
 'tx_bps_L1': 39968873288.0,
 'tx_pps': 3248581.25,
 'tx_util': 99.92218322000001}
18/09/2020 16:38:12                         pktgen: Tx Port 0 stats: 
tx_port: 0,  tx_bps: 39449100288.000000, tx_pps: 3248581.250000 
18/09/2020 16:38:12                         pktgen: {'ibytes': 49402560108,
 'ierrors': 0,
 'ipackets': 32544509,
 'obytes': 49402469028,
 'oerrors': 0,
 'opackets': 32544448,
 'rx_bps': 39449104384.0,
 'rx_bps_L1': 39968877504.0,
 'rx_pps': 3248582.0,
 'rx_util': 99.92219376,
 'tx_bps': 39449100288.0,
 'tx_bps_L1': 39968873288.0,
 'tx_pps': 3248581.25,
 'tx_util': 99.92218322000001}
18/09/2020 16:38:12                         pktgen: Rx Port 0 stats: 
rx_port: 0,  rx_bps: 39449104384.000000, rx_pps: 3248582.000000
18/09/2020 16:38:12                         pktgen: throughput: pps_rx 3248582.000000, bps_rx 39449104384.000000
18/09/2020 16:38:12                         pktgen: traffic completed. 
18/09/2020 16:38:12     TestVirtioUserForContainer: 
+-------+---------------------+--------+-----------+------------+
| Frame |        Mode         |  Mpps  | Queue Num | % linerate |
+=======+=====================+========+===========+============+
| 64    | virtio in container | 15.565 | 2         | 26.149     |
+-------+---------------------+--------+-----------+------------+
| 128   | virtio in container | 13.220 | 2         | 39.130     |
+-------+---------------------+--------+-----------+------------+
| 256   | virtio in container | 11.512 | 2         | 63.546     |
+-------+---------------------+--------+-----------+------------+
| 512   | virtio in container | 7.606  | 2         | 80.927     |
+-------+---------------------+--------+-----------+------------+
| 1024  | virtio in container | 4.785  | 2         | 99.907     |
+-------+---------------------+--------+-----------+------------+
| 1518  | virtio in container | 3.249  | 2         | 99.926     |
+-------+---------------------+--------+-----------+------------+
18/09/2020 16:38:14     TestVirtioUserForContainer: Test Case test_perf_packet_fwd_with_multi_queues_for_container Result PASSED:
18/09/2020 16:38:14             dut.10.240.183.220: killall -s INT dpdk-testpmd 
18/09/2020 16:38:14             dut.10.240.183.220: dpdk-testpmd: no process found
18/09/2020 16:38:14                            dts: 
TEST SUITE ENDED: TestVirtioUserForContainer

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

* Re: [dts] [dst] [PATCH V1] tests/TestSuite_virtio_user_for_container_networking: support meson build
  2020-09-18  9:02 ` Jiang, YuX
@ 2020-09-28  1:18   ` Ma, LihongX
  0 siblings, 0 replies; 4+ messages in thread
From: Ma, LihongX @ 2020-09-28  1:18 UTC (permalink / raw)
  To: Jiang, YuX, dts; +Cc: Jiang, YuX

Acked-by: Lihong Ma<lihongx.ma@intel.com>

Regards,
Ma,lihong

> -----Original Message-----
> From: dts <dts-bounces@dpdk.org> On Behalf Of Jiang, YuX
> Sent: Friday, September 18, 2020 5:02 PM
> To: dts@dpdk.org
> Cc: Jiang, YuX <yux.jiang@intel.com>
> Subject: Re: [dts] [dst] [PATCH V1]
> tests/TestSuite_virtio_user_for_container_networking: support meson build
> 


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

* Re: [dts] [dst] [PATCH V1] tests/TestSuite_virtio_user_for_container_networking: support meson build
  2020-09-18  8:57 [dts] [dst] [PATCH V1] tests/TestSuite_virtio_user_for_container_networking: support meson build Jiang, YuX
  2020-09-18  9:02 ` Jiang, YuX
@ 2020-09-28  8:47 ` Tu, Lijuan
  1 sibling, 0 replies; 4+ messages in thread
From: Tu, Lijuan @ 2020-09-28  8:47 UTC (permalink / raw)
  To: Jiang, YuX, dts; +Cc: Jiang, YuX

> Adapt meson build and kill testpmd_name
> 
> Signed-off-by: JiangYu <yux.jiang@intel.com>

Applied

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

end of thread, other threads:[~2020-09-28  8:47 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-18  8:57 [dts] [dst] [PATCH V1] tests/TestSuite_virtio_user_for_container_networking: support meson build Jiang, YuX
2020-09-18  9:02 ` Jiang, YuX
2020-09-28  1:18   ` Ma, LihongX
2020-09-28  8:47 ` 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).