test suite reviews and discussions
 help / color / mirror / Atom feed
* [dts] [PATCH V1] tests/TestSuite_vhost_cbdma:add virtio cbdma suite
@ 2020-09-24  3:03 xizhan4x
  2020-09-24  3:04 ` Zhang, XiX
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: xizhan4x @ 2020-09-24  3:03 UTC (permalink / raw)
  To: dts; +Cc: xizhan4x

add virtio cbdma suite

Signed-off-by: xizhan4x <xix.zhang@intel.com>
---
 tests/TestSuite_vhost_cbdma.py | 346 +++++++++++++++++++++++++++++++++++++++++
 1 file changed, 346 insertions(+)
 create mode 100644 tests/TestSuite_vhost_cbdma.py

diff --git a/tests/TestSuite_vhost_cbdma.py b/tests/TestSuite_vhost_cbdma.py
new file mode 100644
index 0000000..e15839f
--- /dev/null
+++ b/tests/TestSuite_vhost_cbdma.py
@@ -0,0 +1,346 @@
+# BSD LICENSE
+#
+# Copyright(c) <2019> Intel Corporation.
+# All rights reserved.
+#
+# Redistribution and use in source and binary forms, with or without
+# modification, are permitted provided that the following conditions
+# are met:
+#
+#   * Redistributions of source code must retain the above copyright
+#     notice, this list of conditions and the following disclaimer.
+#   * Redistributions in binary form must reproduce the above copyright
+#     notice, this list of conditions and the following disclaimer in
+#     the documentation and/or other materials provided with the
+#     distribution.
+#   * Neither the name of Intel Corporation nor the names of its
+#     contributors may be used to endorse or promote products derived
+#     from this software without specific prior written permission.
+#
+# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+"""
+DPDK Test suite.
+We introduce a new vdev parameter to enable DMA acceleration for Tx
+operations of queues:
+ - dmas: This parameter is used to specify the assigned DMA device of
+   a queue.
+ - dmathr: If packets length >= dmathr, leverage I/OAT device to perform memory copy;
+   otherwise, leverage librte_vhost to perform memory copy.
+
+Here is an example:
+ $ ./testpmd -c f -n 4 \
+   --vdev 'net_vhost0,iface=/tmp/s0,queues=1,dmas=[txq0@80:04.0],dmathr=1024'
+"""
+import re
+import time
+from test_case import TestCase
+from settings import HEADER_SIZE
+from pktgen import PacketGeneratorHelper
+from pmd_output import PmdOutput
+
+
+class TestVirTioVhostCbdma(TestCase):
+    def set_up_all(self):
+        # Get and verify the ports
+        self.dut_ports = self.dut.get_ports()
+        self.number_of_ports = 1
+
+        self.vhost_user = self.dut.new_session(suite="vhost-user")
+        self.virtio_user = self.dut.new_session(suite="virtio-user")
+        self.pmdout_vhost_user = PmdOutput(self.dut, self.vhost_user)
+        self.pmdout_virtio_user = PmdOutput(self.dut, self.virtio_user)
+        self.frame_sizes = [64, 1518]
+        self.virtio_mac = "00:01:02:03:04:05"
+        self.headers_size = HEADER_SIZE['eth'] + HEADER_SIZE['ip']
+        self.pci_info = self.dut.ports_info[0]['pci']
+        self.cores = self.dut.get_core_list("all")
+        self.cbdma_dev_infos = []
+
+        self.ports_socket = self.dut.get_numa_id(self.dut_ports[0])
+        self.bind_nic_driver(self.dut_ports)
+        # the path of pcap file
+        self.out_path = '/tmp/%s' % self.suite_name
+        out = self.tester.send_expect('ls -d %s' % self.out_path, '# ')
+        if 'No such file or directory' in out:
+            self.tester.send_expect('mkdir -p %s' % self.out_path, '# ')
+        self.pktgen_helper = PacketGeneratorHelper()
+        self.base_dir = self.dut.base_dir.replace('~', '/root')
+
+    def set_up(self):
+        """
+        Run before each test case.
+        """
+        self.table_header = ['Frame']
+        self.used_cbdma = []
+        self.table_header.append("Mode")
+        self.table_header.append("Mpps")
+        self.table_header.append("% linerate")
+        self.result_table_create(self.table_header)
+        self.vhost = self.dut.new_session(suite="vhost-user")
+        self.dut.send_expect("rm -rf %s/vhost-net*" % self.base_dir, "#")
+        self.dut.send_expect("rm -rf /tmp/s0", "#")
+
+    def bind_nic_driver(self, ports, driver=""):
+        if driver == "igb_uio":
+            for port in ports:
+                netdev = self.dut.ports_info[port]['port']
+                driver = netdev.get_nic_driver()
+                if driver != 'igb_uio':
+                    netdev.bind_driver(driver='igb_uio')
+        else:
+            for port in ports:
+                netdev = self.dut.ports_info[port]['port']
+                driver_now = netdev.get_nic_driver()
+                if driver == "":
+                    driver = netdev.default_driver
+                if driver != driver_now:
+                    netdev.bind_driver(driver=driver)
+
+    def get_cbdma_ports_info_and_bind_to_dpdk(self, cbdma_num):
+        """
+        get all cbdma ports
+        """
+
+        out = self.dut.send_expect('./usertools/dpdk-devbind.py --status-dev misc', '# ', 30)
+        device_info = out.split('\n')
+        for device in device_info:
+            pci_info = re.search('\s*(0000:\d*:\d*.\d*)', device)
+            if pci_info is not None:
+                dev_info = pci_info.group(1)
+                # the numa id of ioat dev, only add the device which
+                # on same socket with nic dev
+                bus = int(dev_info[5:7], base=16)
+                if bus >= 128:
+                    cur_socket = 1
+                else:
+                    cur_socket = 0
+                if self.ports_socket == cur_socket:
+                    self.cbdma_dev_infos.append(pci_info.group(1))
+        self.verify(len(self.cbdma_dev_infos) >= cbdma_num, 'There no enough cbdma device to run this suite')
+
+        self.used_cbdma = self.cbdma_dev_infos[0:cbdma_num]
+
+        self.device_str = ' '.join(self.used_cbdma)
+        self.dut.send_expect('./usertools/dpdk-devbind.py --force --bind=%s %s %s' %
+                             ("igb_uio", self.device_str, self.pci_info), '# ', 60)
+
+    def bind_cbdma_device_to_kernel(self):
+        if self.device_str is not None:
+            self.dut.send_expect('modprobe ioatdma', '# ')
+            self.dut.send_expect('./usertools/dpdk-devbind.py -u %s' % self.device_str, '# ', 30)
+            self.dut.send_expect('./usertools/dpdk-devbind.py --force --bind=ioatdma  %s' % self.device_str,
+                                 '# ', 60)
+
+    @property
+    def check_2m_env(self):
+        out = self.dut.send_expect("cat /proc/meminfo |grep Hugepagesize|awk '{print($2)}'", "# ")
+        return True if out == '2048' else False
+
+    def launch_testpmd_as_vhost_user(self, command, cores="Default", dev=""):
+        self.pmdout_vhost_user.start_testpmd(cores=cores, param=command, vdevs=[dev], ports=[],
+
+                                             prefix="vhost", fixed_prefix=True)
+
+        self.vhost_user.send_expect('set fwd mac', 'testpmd> ', 120)
+        self.vhost_user.send_expect('start', 'testpmd> ', 120)
+
+    def launch_testpmd_as_virtio_user(self, command, cores="Default", dev=""):
+        eal_params = ""
+        if self.check_2m_env:
+            eal_params += " --single-file-segments"
+        self.pmdout_virtio_user.start_testpmd(cores, command, vdevs=[dev], ports=[], no_pci=True,
+                                              prefix="virtio", fixed_prefix=True, eal_param=eal_params)
+
+        self.virtio_user.send_expect('set fwd mac', 'testpmd> ', 120)
+        self.virtio_user.send_expect('start', 'testpmd> ', 120)
+
+    def diff_param_launch_send_and_verify(self, mode, params, dev, cores, is_quit=True):
+        self.launch_testpmd_as_virtio_user(params,
+                                           cores,
+                                           dev=dev)
+
+        self.send_and_verify(mode)
+        if is_quit:
+            self.virtio_user.send_expect("quit", "# ")
+            time.sleep(3)
+
+    def test_perf_pvp_spilt_all_path_with_cbdma_vhost_enqueue_operations(self):
+        """
+        used one cbdma port  bonding igb_uio
+        :return:
+        """
+        txd_rxd = 1024
+        dmathr = 1024
+        eal_tx_rxd = ' --nb-cores=%d --txd=%d --rxd=%d'
+        queue = 1
+        used_cbdma_num = 1
+        self.get_cbdma_ports_info_and_bind_to_dpdk(used_cbdma_num)
+        vhost_vdevs = f"'net_vhost0,iface=/tmp/s0,queues=%d,dmas=[txq0@{self.device_str}],dmathr=%d'"
+        dev_path_mode_mapper = {
+            "inorder_mergeable_path": 'mrg_rxbuf=1,in_order=1',
+            "mergeable_path": 'mrg_rxbuf=1,in_order=0',
+            "inorder_non_mergeable_path": 'mrg_rxbuf=0,in_order=1',
+            "non_mergeable_path": 'mrg_rxbuf=0,in_order=0',
+            "vector_rx_path": 'mrg_rxbuf=0,in_order=0',
+        }
+
+        pvp_split_all_path_virtio_params = "--tx-offloads=0x0 --enable-hw-vlan-strip --nb-cores=%d --txd=%d " \
+                                           "--rxd=%d" % (queue, txd_rxd, txd_rxd)
+        self.launch_testpmd_as_vhost_user(eal_tx_rxd % (queue, txd_rxd, txd_rxd), self.cores[1:3],
+                                          dev=vhost_vdevs % (queue, dmathr), )
+
+        for key, path_mode in dev_path_mode_mapper.items():
+            if key == "vector_rx_path":
+                pvp_split_all_path_virtio_params = eal_tx_rxd % (
+                    queue, txd_rxd, txd_rxd)
+            vdevs = f"'net_virtio_user0,mac={self.virtio_mac},path=/tmp/s0,{path_mode},queues=%d'" % queue
+            self.diff_param_launch_send_and_verify(key, pvp_split_all_path_virtio_params, vdevs,
+                                                   self.cores[4:6],
+                                                   )
+        self.result_table_print()
+
+    def test_perf_dynamic_queue_number_cbdma_vhost_enqueue_operations(self):
+        """
+        # used 2 cbdma ports  bonding igb_uio
+        :return:
+        """
+        used_cbdma_num = 2
+        queue = 2
+        txd_rxd = 1024
+        dmathr = 1024
+        nb_cores = 1
+        virtio_path = "/tmp/s0"
+        path_mode = 'mrg_rxbuf=1,in_order=1'
+        self.get_cbdma_ports_info_and_bind_to_dpdk(used_cbdma_num)
+        vhost_dmas = f"dmas=[txq0@{self.used_cbdma[0]};txq1@{self.used_cbdma[1]}],dmathr={dmathr}"
+
+        eal_params = " --nb-cores=%d --txd=%d --rxd=%d --txq=%d --rxq=%d " % (nb_cores, txd_rxd, txd_rxd, queue, queue)
+
+        dynamic_queue_number_cbdma_virtio_params = f"  --tx-offloads=0x0 --enable-hw-vlan-strip {eal_params}"
+
+        virtio_dev = f"net_virtio_user0,mac={self.virtio_mac},path={virtio_path},{path_mode},queues={queue},server=1"
+        vhost_dev = f"'net_vhost0,iface={virtio_path},queues={queue},client=1,%s'"
+
+        # launch vhost testpmd
+        self.launch_testpmd_as_vhost_user(eal_params, self.cores[27:29],
+                                          dev=vhost_dev % vhost_dmas)
+        #
+        #  queue 2 start virtio testpmd,virtio queue 2 to 1
+        mode = "dynamic_queue2"
+        self.launch_testpmd_as_virtio_user(dynamic_queue_number_cbdma_virtio_params,
+                                           self.cores[29:31],
+                                           dev=virtio_dev)
+        self.send_and_verify(mode)
+        self.vhost_or_virtio_set_one_queue(self.virtio_user)
+        self.send_and_verify("virtio_user_" + mode + "_change_to_1", multiple_queue=False)
+
+        self.virtio_user.send_expect("stop", "testpmd> ")
+        self.virtio_user.send_expect("quit", "# ")
+        time.sleep(5)
+        self.dut.send_expect(f"rm -rf {virtio_path}", "#")
+        # queue 2 start virtio testpmd,vhost queue 2 to 1
+        self.launch_testpmd_as_virtio_user(dynamic_queue_number_cbdma_virtio_params,
+                                           self.cores[29:31],
+                                           dev=virtio_dev)
+        mode = "Relaunch_dynamic_queue2"
+        self.send_and_verify(mode)
+        self.vhost_or_virtio_set_one_queue(self.vhost_user)
+        self.send_and_verify("vhost_user" + mode + "_change_to_1")
+        self.vhost_user.send_expect("quit", "# ")
+        time.sleep(2)
+
+        # Relaunch vhost with another two cbdma channels
+        mode = "Relaunch_vhost_2_cbdma"
+        dmathr = 512
+        vhost_dmas = f"dmas=[txq0@{self.used_cbdma[0]}],dmathr={dmathr}"
+        self.launch_testpmd_as_vhost_user(eal_params, self.cores[27:29],
+                                          dev=vhost_dev % vhost_dmas)
+        self.send_and_verify(mode)
+        self.virtio_user.send_expect("quit", "# ")
+        self.vhost_user.send_expect("quit", "# ")
+        time.sleep(2)
+        self.result_table_print()
+
+    @staticmethod
+    def vhost_or_virtio_set_one_queue(session):
+        session.send_expect('start', 'testpmd> ', 120)
+        session.send_expect('stop', 'testpmd> ', 120)
+        session.send_expect('port stop all', 'testpmd> ', 120)
+        session.send_expect('port config all rxq 1', 'testpmd> ', 120)
+        session.send_expect('port start all', 'testpmd> ', 120)
+        session.send_expect('start', 'testpmd> ', 120)
+        time.sleep(5)
+
+    @property
+    def check_value(self):
+        check_dict = dict.fromkeys(self.frame_sizes)
+        linerate = {64: 0.085, 128: 0.12, 256: 0.20, 512: 0.35, 1024: 0.50, 1280: 0.55, 1518: 0.60}
+        for size in self.frame_sizes:
+            speed = self.wirespeed(self.nic, size, self.number_of_ports)
+            check_dict[size] = round(speed * linerate[size], 2)
+        return check_dict
+
+    def send_and_verify(self, mode, multiple_queue=True):
+        """
+        Send packet with packet generator and verify
+        """
+        for frame_size in self.frame_sizes:
+            payload_size = frame_size - self.headers_size
+            tgen_input = []
+            rx_port = self.tester.get_local_port(self.dut_ports[0])
+            tx_port = self.tester.get_local_port(self.dut_ports[0])
+            ip_src = 'src=RandIP()'
+            if not multiple_queue:
+                ip_src = ""
+
+            pacp = 'wrpcap("%s/vhost.pcap", [Ether(dst="%s")/IP(%s)/("X"*%d)])' \
+                   % (self.out_path, self.virtio_mac, ip_src, payload_size)
+            self.tester.scapy_append(pacp)
+            tgen_input.append((tx_port, rx_port, "%s/vhost.pcap" % self.out_path))
+
+            self.tester.scapy_execute()
+            self.tester.pktgen.clear_streams()
+            streams = self.pktgen_helper.prepare_stream_from_tginput(tgen_input, 100,
+                                                                     None, self.tester.pktgen)
+            trans_options = {'delay': 5, 'duration': 20}
+            _, pps = self.tester.pktgen.measure_throughput(stream_ids=streams, options=trans_options)
+            Mpps = pps / 1000000.0
+            self.verify(Mpps > 0,
+                        "%s can not receive packets of frame size %d" % (self.running_case, frame_size))
+            throughput = Mpps * 100 / \
+                         float(self.wirespeed(self.nic, frame_size, 1))
+
+            results_row = [frame_size]
+            results_row.append(mode)
+            results_row.append(Mpps)
+            results_row.append(throughput)
+            self.result_table_add(results_row)
+
+    def tear_down(self):
+        """
+        Run after each test case.
+        Clear qemu and testpmd to avoid blocking the following TCs
+        """
+        self.bind_cbdma_device_to_kernel()
+        self.bind_nic_driver(self.dut_ports)
+
+    def tear_down_all(self):
+        """
+        Run after each test suite.
+        """
+
+        self.bind_nic_driver(self.dut_ports, self.drivername)
+        self.dut.close_session(self.vhost_user)
+        self.dut.close_session(self.virtio_user)
+
-- 
1.8.3.1


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

* Re: [dts] [PATCH V1] tests/TestSuite_vhost_cbdma:add virtio cbdma suite
  2020-09-24  3:03 [dts] [PATCH V1] tests/TestSuite_vhost_cbdma:add virtio cbdma suite xizhan4x
@ 2020-09-24  3:04 ` Zhang, XiX
  2020-09-29  7:00 ` Wang, Yinan
  2020-10-12  8:18 ` Tu, Lijuan
  2 siblings, 0 replies; 4+ messages in thread
From: Zhang, XiX @ 2020-09-24  3:04 UTC (permalink / raw)
  To: dts

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

Tested-by:Zhang, XiX <xix.zhang@intel.com>


Regards,
Zhang, Xi

> -----Original Message-----
> From: Zhang, XiX
> Sent: Thursday, September 24, 2020 11:04 AM
> To: dts@dpdk.org
> Cc: Zhang, XiX <xix.zhang@intel.com>
> Subject: [dts][PATCH V1] tests/TestSuite_vhost_cbdma:add virtio cbdma suite


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

15/09/2020 13:05:00                            dts: 
TEST SUITE : TestVirTioVhostCbdma
15/09/2020 13:05:00                            dts: NIC :        fortville_spirit
15/09/2020 13:05:00             dut.10.240.183.220: 
15/09/2020 13:05:00                         tester: 
15/09/2020 13:05:07             dut.10.240.183.220: cat /proc/meminfo |grep Hugepagesize|awk '{print($2)}'
15/09/2020 13:05:07             dut.10.240.183.220: 1048576
15/09/2020 13:05:07           TestVirTioVhostCbdma: Test Case test_perf_dynamic_queue_number_cbdma_vhost_enqueue_operations Begin
15/09/2020 13:05:07             dut.10.240.183.220: 
15/09/2020 13:05:07                         tester: 
15/09/2020 13:05:09             dut.10.240.183.220: rm -rf /root/dpdk/vhost-net*
15/09/2020 13:05:09             dut.10.240.183.220: 
15/09/2020 13:05:09             dut.10.240.183.220: rm -rf /tmp/s0
15/09/2020 13:05:09             dut.10.240.183.220: 
15/09/2020 13:05:09             dut.10.240.183.220: ./usertools/dpdk-devbind.py --status-dev misc
15/09/2020 13:05:09             dut.10.240.183.220: 
Misc (rawdev) devices using kernel driver
=========================================
0000:00:04.0 'Sky Lake-E CBDMA Registers 2021' if= drv=ioatdma unused=igb_uio,vfio-pci 
0000:00:04.1 'Sky Lake-E CBDMA Registers 2021' if= drv=ioatdma unused=igb_uio,vfio-pci 
0000:00:04.2 'Sky Lake-E CBDMA Registers 2021' if= drv=ioatdma unused=igb_uio,vfio-pci 
0000:00:04.3 'Sky Lake-E CBDMA Registers 2021' if= drv=ioatdma unused=igb_uio,vfio-pci 
0000:00:04.4 'Sky Lake-E CBDMA Registers 2021' if= drv=ioatdma unused=igb_uio,vfio-pci 
0000:00:04.5 'Sky Lake-E CBDMA Registers 2021' if= drv=ioatdma unused=igb_uio,vfio-pci 
0000:00:04.6 'Sky Lake-E CBDMA Registers 2021' if= drv=ioatdma unused=igb_uio,vfio-pci 
0000:00:04.7 'Sky Lake-E CBDMA Registers 2021' if= drv=ioatdma unused=igb_uio,vfio-pci 
0000:80:04.0 'Sky Lake-E CBDMA Registers 2021' if= drv=ioatdma unused=igb_uio,vfio-pci 
0000:80:04.1 'Sky Lake-E CBDMA Registers 2021' if= drv=ioatdma unused=igb_uio,vfio-pci 
0000:80:04.2 'Sky Lake-E CBDMA Registers 2021' if= drv=ioatdma unused=igb_uio,vfio-pci 
0000:80:04.3 'Sky Lake-E CBDMA Registers 2021' if= drv=ioatdma unused=igb_uio,vfio-pci 
0000:80:04.4 'Sky Lake-E CBDMA Registers 2021' if= drv=ioatdma unused=igb_uio,vfio-pci 
0000:80:04.5 'Sky Lake-E CBDMA Registers 2021' if= drv=ioatdma unused=igb_uio,vfio-pci 
0000:80:04.6 'Sky Lake-E CBDMA Registers 2021' if= drv=ioatdma unused=igb_uio,vfio-pci 
0000:80:04.7 'Sky Lake-E CBDMA Registers 2021' if= drv=ioatdma unused=igb_uio,vfio-pci 
15/09/2020 13:05:09             dut.10.240.183.220: ./usertools/dpdk-devbind.py --force --bind=igb_uio 0000:80:04.0 0000:80:04.1 0000:af:00.0
15/09/2020 13:05:12             dut.10.240.183.220: 
15/09/2020 13:05:23             dut.10.240.183.220: cat /proc/meminfo |grep Hugepagesize|awk '{print($2)}'
15/09/2020 13:05:23             dut.10.240.183.220: 1048576
15/09/2020 13:05:34                         tester: scapy
15/09/2020 13:05:34                         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)
15/09/2020 13:05:36                         tester: wrpcap("/tmp/vhost_cbdma/vhost.pcap", [Ether(dst="00:01:02:03:04:05")/IP()/("X"*26)])
15/09/2020 13:05:36                         tester: 
15/09/2020 13:05:38                         tester: exit()
15/09/2020 13:05:38                         tester: 
15/09/2020 13:05:38                         pktgen: test port 0 map gen port 0
15/09/2020 13:05:38                         pktgen: test port 0 map gen port 0
15/09/2020 13:05:38                         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': '-'}
15/09/2020 13:05:38                         pktgen: trex port <0> not support flow control
15/09/2020 13:05:38                         pktgen: trex packet generator: run traffic 5s to warm up ... 
15/09/2020 13:05:38                         pktgen: check the trex port link status
15/09/2020 13:05:38                         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': '-'}
15/09/2020 13:05:38                         pktgen: begin traffic ......
15/09/2020 13:05:38                         pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
15/09/2020 13:05:43                         pktgen: traffic completed. 
15/09/2020 13:05:43                         pktgen: check the trex port link status
15/09/2020 13:05:43                         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': '-'}
15/09/2020 13:05:43                         pktgen: begin traffic ......
15/09/2020 13:05:43                         pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
15/09/2020 13:06:03                         pktgen: begin get port statistic ...
15/09/2020 13:06:03                         pktgen: {'options': {'pcap': '/tmp/vhost_cbdma/vhost.pcap',
             'stream_config': {'rate': 100,
                               'transmit_mode': 'continuous',
                               'txmode': {}}},
 'pcap_file': '/tmp/vhost_cbdma/vhost.pcap',
 'rx_port': 0,
 'tx_port': 0}
15/09/2020 13:06:03                         pktgen: {0: {'ibytes': 9328881920,
     'ierrors': 0,
     'ipackets': 145763780,
     'obytes': 33732023232,
     'oerrors': 0,
     'opackets': 527062875,
     'rx_bps': 3722376704.0,
     'rx_bps_L1': 4885618784.0,
     'rx_pps': 7270263.0,
     'rx_util': 12.21404696,
     'tx_bps': 13454100480.0,
     'tx_bps_L1': 17658507520.0,
     'tx_pps': 26277544.0,
     'tx_util': 44.1462688},
 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': 6.733526706695557,
            'cpu_util': 99.90381622314453,
            'cpu_util_raw': 100.0,
            'open_flows': 0.0,
            'platform_factor': 1.0,
            'queue_full': 47332256,
            'rx_bps': 3722376704.0,
            'rx_core_pps': 0.0,
            'rx_cpu_util': 0.0,
            'rx_drop_bps': 9731723264.0,
            'rx_pps': 7270263.0,
            'socket_util': 0.0,
            'total_alloc_error': 0,
            'total_clients': 0,
            'total_servers': 0,
            'tx_bps': 13454100480.0,
            'tx_cps': 0.0,
            'tx_expected_bps': 0.0,
            'tx_expected_cps': 0.0,
            'tx_expected_pps': 0.0,
            'tx_pps': 26277544.0},
 'latency': {'global': {'bad_hdr': 0, 'old_flow': 0}},
 'total': {'ibytes': 9328881920,
           'ierrors': 0,
           'ipackets': 145763780,
           'obytes': 33732023232,
           'oerrors': 0,
           'opackets': 527062875,
           'rx_bps': 3722376704.0,
           'rx_bps_L1': 4885618784.0,
           'rx_pps': 7270263.0,
           'rx_util': 12.21404696,
           'tx_bps': 13454100480.0,
           'tx_bps_L1': 17658507520.0,
           'tx_pps': 26277544.0,
           'tx_util': 44.1462688}}
15/09/2020 13:06:03                         pktgen: {'ibytes': 9328881920,
 'ierrors': 0,
 'ipackets': 145763780,
 'obytes': 33732023232,
 'oerrors': 0,
 'opackets': 527062875,
 'rx_bps': 3722376704.0,
 'rx_bps_L1': 4885618784.0,
 'rx_pps': 7270263.0,
 'rx_util': 12.21404696,
 'tx_bps': 13454100480.0,
 'tx_bps_L1': 17658507520.0,
 'tx_pps': 26277544.0,
 'tx_util': 44.1462688}
15/09/2020 13:06:03                         pktgen: Tx Port 0 stats: 
tx_port: 0,  tx_bps: 13454100480.000000, tx_pps: 26277544.000000 
15/09/2020 13:06:03                         pktgen: {'ibytes': 9328881920,
 'ierrors': 0,
 'ipackets': 145763780,
 'obytes': 33732023232,
 'oerrors': 0,
 'opackets': 527062875,
 'rx_bps': 3722376704.0,
 'rx_bps_L1': 4885618784.0,
 'rx_pps': 7270263.0,
 'rx_util': 12.21404696,
 'tx_bps': 13454100480.0,
 'tx_bps_L1': 17658507520.0,
 'tx_pps': 26277544.0,
 'tx_util': 44.1462688}
15/09/2020 13:06:03                         pktgen: Rx Port 0 stats: 
rx_port: 0,  rx_bps: 3722376704.000000, rx_pps: 7270263.000000
15/09/2020 13:06:03                         pktgen: throughput: pps_rx 7270263.000000, bps_rx 3722376704.000000
15/09/2020 13:06:03                         pktgen: traffic completed. 
15/09/2020 13:06:03                         tester: scapy
15/09/2020 13:06:03                         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)
15/09/2020 13:06:05                         tester: wrpcap("/tmp/vhost_cbdma/vhost.pcap", [Ether(dst="00:01:02:03:04:05")/IP()/("X"*1480)])
15/09/2020 13:06:05                         tester: 
15/09/2020 13:06:07                         tester: exit()
15/09/2020 13:06:07                         tester: 
15/09/2020 13:06:07                         pktgen: test port 0 map gen port 0
15/09/2020 13:06:07                         pktgen: test port 0 map gen port 0
15/09/2020 13:06:07                         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': '-'}
15/09/2020 13:06:07                         pktgen: trex port <0> not support flow control
15/09/2020 13:06:07                         pktgen: trex packet generator: run traffic 5s to warm up ... 
15/09/2020 13:06:07                         pktgen: check the trex port link status
15/09/2020 13:06:07                         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': '-'}
15/09/2020 13:06:07                         pktgen: begin traffic ......
15/09/2020 13:06:07                         pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
15/09/2020 13:06:12                         pktgen: traffic completed. 
15/09/2020 13:06:12                         pktgen: check the trex port link status
15/09/2020 13:06:12                         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': '-'}
15/09/2020 13:06:12                         pktgen: begin traffic ......
15/09/2020 13:06:12                         pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
15/09/2020 13:06:32                         pktgen: begin get port statistic ...
15/09/2020 13:06:32                         pktgen: {'options': {'pcap': '/tmp/vhost_cbdma/vhost.pcap',
             'stream_config': {'rate': 100,
                               'transmit_mode': 'continuous',
                               'txmode': {}}},
 'pcap_file': '/tmp/vhost_cbdma/vhost.pcap',
 'rx_port': 0,
 'tx_port': 0}
15/09/2020 13:06:32                         pktgen: {0: {'ibytes': 98803706958,
     'ierrors': 0,
     'ipackets': 65088084,
     'obytes': 98803708476,
     'oerrors': 0,
     'opackets': 65088086,
     'rx_bps': 39442673664.0,
     'rx_bps_L1': 39962339904.0,
     'rx_pps': 3247914.0,
     'rx_util': 99.90584976,
     'tx_bps': 39442509824.0,
     'tx_bps_L1': 39962173944.0,
     'tx_pps': 3247900.75,
     'tx_util': 99.90543486},
 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': 25.403533935546875,
            'cpu_util': 77.6319351196289,
            'cpu_util_raw': 78.0,
            'open_flows': 0.0,
            'platform_factor': 1.0,
            'queue_full': 53535328,
            'rx_bps': 39442673664.0,
            'rx_core_pps': 0.0,
            'rx_cpu_util': 0.0,
            'rx_drop_bps': 0.0,
            'rx_pps': 3247914.0,
            'socket_util': 0.0,
            'total_alloc_error': 0,
            'total_clients': 0,
            'total_servers': 0,
            'tx_bps': 39442509824.0,
            'tx_cps': 0.0,
            'tx_expected_bps': 0.0,
            'tx_expected_cps': 0.0,
            'tx_expected_pps': 0.0,
            'tx_pps': 3247900.75},
 'latency': {'global': {'bad_hdr': 0, 'old_flow': 0}},
 'total': {'ibytes': 98803706958,
           'ierrors': 0,
           'ipackets': 65088084,
           'obytes': 98803708476,
           'oerrors': 0,
           'opackets': 65088086,
           'rx_bps': 39442673664.0,
           'rx_bps_L1': 39962339904.0,
           'rx_pps': 3247914.0,
           'rx_util': 99.90584976,
           'tx_bps': 39442509824.0,
           'tx_bps_L1': 39962173944.0,
           'tx_pps': 3247900.75,
           'tx_util': 99.90543486}}
15/09/2020 13:06:32                         pktgen: {'ibytes': 98803706958,
 'ierrors': 0,
 'ipackets': 65088084,
 'obytes': 98803708476,
 'oerrors': 0,
 'opackets': 65088086,
 'rx_bps': 39442673664.0,
 'rx_bps_L1': 39962339904.0,
 'rx_pps': 3247914.0,
 'rx_util': 99.90584976,
 'tx_bps': 39442509824.0,
 'tx_bps_L1': 39962173944.0,
 'tx_pps': 3247900.75,
 'tx_util': 99.90543486}
15/09/2020 13:06:32                         pktgen: Tx Port 0 stats: 
tx_port: 0,  tx_bps: 39442509824.000000, tx_pps: 3247900.750000 
15/09/2020 13:06:32                         pktgen: {'ibytes': 98803706958,
 'ierrors': 0,
 'ipackets': 65088084,
 'obytes': 98803708476,
 'oerrors': 0,
 'opackets': 65088086,
 'rx_bps': 39442673664.0,
 'rx_bps_L1': 39962339904.0,
 'rx_pps': 3247914.0,
 'rx_util': 99.90584976,
 'tx_bps': 39442509824.0,
 'tx_bps_L1': 39962173944.0,
 'tx_pps': 3247900.75,
 'tx_util': 99.90543486}
15/09/2020 13:06:32                         pktgen: Rx Port 0 stats: 
rx_port: 0,  rx_bps: 39442673664.000000, rx_pps: 3247914.000000
15/09/2020 13:06:32                         pktgen: throughput: pps_rx 3247914.000000, bps_rx 39442673664.000000
15/09/2020 13:06:32                         pktgen: traffic completed. 
15/09/2020 13:06:38                         tester: scapy
15/09/2020 13:06:38                         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)
15/09/2020 13:06:40                         tester: wrpcap("/tmp/vhost_cbdma/vhost.pcap", [Ether(dst="00:01:02:03:04:05")/IP()/("X"*26)])
15/09/2020 13:06:40                         tester: 
15/09/2020 13:06:42                         tester: exit()
15/09/2020 13:06:42                         tester: 
15/09/2020 13:06:42                         pktgen: test port 0 map gen port 0
15/09/2020 13:06:42                         pktgen: test port 0 map gen port 0
15/09/2020 13:06:42                         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': '-'}
15/09/2020 13:06:42                         pktgen: trex port <0> not support flow control
15/09/2020 13:06:42                         pktgen: trex packet generator: run traffic 5s to warm up ... 
15/09/2020 13:06:42                         pktgen: check the trex port link status
15/09/2020 13:06:42                         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': '-'}
15/09/2020 13:06:42                         pktgen: begin traffic ......
15/09/2020 13:06:42                         pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
15/09/2020 13:06:47                         pktgen: traffic completed. 
15/09/2020 13:06:47                         pktgen: check the trex port link status
15/09/2020 13:06: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': '-'}
15/09/2020 13:06:47                         pktgen: begin traffic ......
15/09/2020 13:06:47                         pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
15/09/2020 13:07:07                         pktgen: begin get port statistic ...
15/09/2020 13:07:07                         pktgen: {'options': {'pcap': '/tmp/vhost_cbdma/vhost.pcap',
             'stream_config': {'rate': 100,
                               'transmit_mode': 'continuous',
                               'txmode': {}}},
 'pcap_file': '/tmp/vhost_cbdma/vhost.pcap',
 'rx_port': 0,
 'tx_port': 0}
15/09/2020 13:07:07                         pktgen: {0: {'ibytes': 9366692416,
     'ierrors': 0,
     'ipackets': 146354570,
     'obytes': 32924531392,
     'oerrors': 0,
     'opackets': 514445824,
     'rx_bps': 3740637952.0,
     'rx_bps_L1': 4909587472.0,
     'rx_pps': 7305934.5,
     'rx_util': 12.27396868,
     'tx_bps': 13124498432.0,
     'tx_bps_L1': 17225902592.0,
     'tx_pps': 25633776.0,
     'tx_util': 43.06475648},
 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': 6.569151878356934,
            'cpu_util': 99.8949203491211,
            'cpu_util_raw': 100.0,
            'open_flows': 0.0,
            'platform_factor': 1.0,
            'queue_full': 47809062,
            'rx_bps': 3740637952.0,
            'rx_core_pps': 0.0,
            'rx_cpu_util': 0.0,
            'rx_drop_bps': 9383860224.0,
            'rx_pps': 7305934.5,
            'socket_util': 0.0,
            'total_alloc_error': 0,
            'total_clients': 0,
            'total_servers': 0,
            'tx_bps': 13124498432.0,
            'tx_cps': 0.0,
            'tx_expected_bps': 0.0,
            'tx_expected_cps': 0.0,
            'tx_expected_pps': 0.0,
            'tx_pps': 25633776.0},
 'latency': {'global': {'bad_hdr': 0, 'old_flow': 0}},
 'total': {'ibytes': 9366692416,
           'ierrors': 0,
           'ipackets': 146354570,
           'obytes': 32924531392,
           'oerrors': 0,
           'opackets': 514445824,
           'rx_bps': 3740637952.0,
           'rx_bps_L1': 4909587472.0,
           'rx_pps': 7305934.5,
           'rx_util': 12.27396868,
           'tx_bps': 13124498432.0,
           'tx_bps_L1': 17225902592.0,
           'tx_pps': 25633776.0,
           'tx_util': 43.06475648}}
15/09/2020 13:07:07                         pktgen: {'ibytes': 9366692416,
 'ierrors': 0,
 'ipackets': 146354570,
 'obytes': 32924531392,
 'oerrors': 0,
 'opackets': 514445824,
 'rx_bps': 3740637952.0,
 'rx_bps_L1': 4909587472.0,
 'rx_pps': 7305934.5,
 'rx_util': 12.27396868,
 'tx_bps': 13124498432.0,
 'tx_bps_L1': 17225902592.0,
 'tx_pps': 25633776.0,
 'tx_util': 43.06475648}
15/09/2020 13:07:07                         pktgen: Tx Port 0 stats: 
tx_port: 0,  tx_bps: 13124498432.000000, tx_pps: 25633776.000000 
15/09/2020 13:07:07                         pktgen: {'ibytes': 9366692416,
 'ierrors': 0,
 'ipackets': 146354570,
 'obytes': 32924531392,
 'oerrors': 0,
 'opackets': 514445824,
 'rx_bps': 3740637952.0,
 'rx_bps_L1': 4909587472.0,
 'rx_pps': 7305934.5,
 'rx_util': 12.27396868,
 'tx_bps': 13124498432.0,
 'tx_bps_L1': 17225902592.0,
 'tx_pps': 25633776.0,
 'tx_util': 43.06475648}
15/09/2020 13:07:07                         pktgen: Rx Port 0 stats: 
rx_port: 0,  rx_bps: 3740637952.000000, rx_pps: 7305934.500000
15/09/2020 13:07:07                         pktgen: throughput: pps_rx 7305934.500000, bps_rx 3740637952.000000
15/09/2020 13:07:07                         pktgen: traffic completed. 
15/09/2020 13:07:07                         tester: scapy
15/09/2020 13:07: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)
15/09/2020 13:07:10                         tester: wrpcap("/tmp/vhost_cbdma/vhost.pcap", [Ether(dst="00:01:02:03:04:05")/IP()/("X"*1480)])
15/09/2020 13:07:10                         tester: 
15/09/2020 13:07:12                         tester: exit()
15/09/2020 13:07:12                         tester: 
15/09/2020 13:07:12                         pktgen: test port 0 map gen port 0
15/09/2020 13:07:12                         pktgen: test port 0 map gen port 0
15/09/2020 13:07:12                         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': '-'}
15/09/2020 13:07:12                         pktgen: trex port <0> not support flow control
15/09/2020 13:07:12                         pktgen: trex packet generator: run traffic 5s to warm up ... 
15/09/2020 13:07:12                         pktgen: check the trex port link status
15/09/2020 13:07:12                         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': '-'}
15/09/2020 13:07:12                         pktgen: begin traffic ......
15/09/2020 13:07:12                         pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
15/09/2020 13:07:17                         pktgen: traffic completed. 
15/09/2020 13:07:17                         pktgen: check the trex port link status
15/09/2020 13:07:17                         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': '-'}
15/09/2020 13:07:17                         pktgen: begin traffic ......
15/09/2020 13:07:17                         pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
15/09/2020 13:07:37                         pktgen: begin get port statistic ...
15/09/2020 13:07:37                         pktgen: {'options': {'pcap': '/tmp/vhost_cbdma/vhost.pcap',
             'stream_config': {'rate': 100,
                               'transmit_mode': 'continuous',
                               'txmode': {}}},
 'pcap_file': '/tmp/vhost_cbdma/vhost.pcap',
 'rx_port': 0,
 'tx_port': 0}
15/09/2020 13:07:37                         pktgen: {0: {'ibytes': 98800065276,
     'ierrors': 0,
     'ipackets': 65085685,
     'obytes': 98800094118,
     'oerrors': 0,
     'opackets': 65085705,
     'rx_bps': 39397724160.0,
     'rx_bps_L1': 39916798160.0,
     'rx_pps': 3244212.5,
     'rx_util': 99.7919954,
     'tx_bps': 39397687296.0,
     'tx_bps_L1': 39916760896.0,
     'tx_pps': 3244210.0,
     'tx_util': 99.79190224},
 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': 25.388328552246094,
            'cpu_util': 77.59015655517578,
            'cpu_util_raw': 77.0,
            'open_flows': 0.0,
            'platform_factor': 1.0,
            'queue_full': 53570998,
            'rx_bps': 39397724160.0,
            'rx_core_pps': 0.0,
            'rx_cpu_util': 0.0,
            'rx_drop_bps': 0.0,
            'rx_pps': 3244212.5,
            'socket_util': 0.0,
            'total_alloc_error': 0,
            'total_clients': 0,
            'total_servers': 0,
            'tx_bps': 39397687296.0,
            'tx_cps': 0.0,
            'tx_expected_bps': 0.0,
            'tx_expected_cps': 0.0,
            'tx_expected_pps': 0.0,
            'tx_pps': 3244210.0},
 'latency': {'global': {'bad_hdr': 0, 'old_flow': 0}},
 'total': {'ibytes': 98800065276,
           'ierrors': 0,
           'ipackets': 65085685,
           'obytes': 98800094118,
           'oerrors': 0,
           'opackets': 65085705,
           'rx_bps': 39397724160.0,
           'rx_bps_L1': 39916798160.0,
           'rx_pps': 3244212.5,
           'rx_util': 99.7919954,
           'tx_bps': 39397687296.0,
           'tx_bps_L1': 39916760896.0,
           'tx_pps': 3244210.0,
           'tx_util': 99.79190224}}
15/09/2020 13:07:37                         pktgen: {'ibytes': 98800065276,
 'ierrors': 0,
 'ipackets': 65085685,
 'obytes': 98800094118,
 'oerrors': 0,
 'opackets': 65085705,
 'rx_bps': 39397724160.0,
 'rx_bps_L1': 39916798160.0,
 'rx_pps': 3244212.5,
 'rx_util': 99.7919954,
 'tx_bps': 39397687296.0,
 'tx_bps_L1': 39916760896.0,
 'tx_pps': 3244210.0,
 'tx_util': 99.79190224}
15/09/2020 13:07:37                         pktgen: Tx Port 0 stats: 
tx_port: 0,  tx_bps: 39397687296.000000, tx_pps: 3244210.000000 
15/09/2020 13:07:37                         pktgen: {'ibytes': 98800065276,
 'ierrors': 0,
 'ipackets': 65085685,
 'obytes': 98800094118,
 'oerrors': 0,
 'opackets': 65085705,
 'rx_bps': 39397724160.0,
 'rx_bps_L1': 39916798160.0,
 'rx_pps': 3244212.5,
 'rx_util': 99.7919954,
 'tx_bps': 39397687296.0,
 'tx_bps_L1': 39916760896.0,
 'tx_pps': 3244210.0,
 'tx_util': 99.79190224}
15/09/2020 13:07:37                         pktgen: Rx Port 0 stats: 
rx_port: 0,  rx_bps: 39397724160.000000, rx_pps: 3244212.500000
15/09/2020 13:07:37                         pktgen: throughput: pps_rx 3244212.500000, bps_rx 39397724160.000000
15/09/2020 13:07:37                         pktgen: traffic completed. 
15/09/2020 13:07:43             dut.10.240.183.220: rm -rf /tmp/s0
15/09/2020 13:07:43             dut.10.240.183.220: 
15/09/2020 13:07:43             dut.10.240.183.220: cat /proc/meminfo |grep Hugepagesize|awk '{print($2)}'
15/09/2020 13:07:43             dut.10.240.183.220: 1048576
15/09/2020 13:07:54                         tester: scapy
15/09/2020 13:07: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)
15/09/2020 13:07:56                         tester: wrpcap("/tmp/vhost_cbdma/vhost.pcap", [Ether(dst="00:01:02:03:04:05")/IP()/("X"*26)])
15/09/2020 13:07:56                         tester: 
15/09/2020 13:07:58                         tester: exit()
15/09/2020 13:07:58                         tester: 
15/09/2020 13:07:58                         pktgen: test port 0 map gen port 0
15/09/2020 13:07:58                         pktgen: test port 0 map gen port 0
15/09/2020 13:07: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': '-'}
15/09/2020 13:07:58                         pktgen: trex port <0> not support flow control
15/09/2020 13:07:58                         pktgen: trex packet generator: run traffic 5s to warm up ... 
15/09/2020 13:07:58                         pktgen: check the trex port link status
15/09/2020 13:07: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': '-'}
15/09/2020 13:07:58                         pktgen: begin traffic ......
15/09/2020 13:07:58                         pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
15/09/2020 13:08:03                         pktgen: traffic completed. 
15/09/2020 13:08:03                         pktgen: check the trex port link status
15/09/2020 13:08:03                         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': '-'}
15/09/2020 13:08:03                         pktgen: begin traffic ......
15/09/2020 13:08:03                         pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
15/09/2020 13:08:23                         pktgen: begin get port statistic ...
15/09/2020 13:08:23                         pktgen: {'options': {'pcap': '/tmp/vhost_cbdma/vhost.pcap',
             'stream_config': {'rate': 100,
                               'transmit_mode': 'continuous',
                               'txmode': {}}},
 'pcap_file': '/tmp/vhost_cbdma/vhost.pcap',
 'rx_port': 0,
 'tx_port': 0}
15/09/2020 13:08:23                         pktgen: {0: {'ibytes': 9243372160,
     'ierrors': 0,
     'ipackets': 144427690,
     'obytes': 33724641472,
     'oerrors': 0,
     'opackets': 526947563,
     'rx_bps': 3704201472.0,
     'rx_bps_L1': 4861765152.0,
     'rx_pps': 7234773.0,
     'rx_util': 12.15441288,
     'tx_bps': 13512988672.0,
     'tx_bps_L1': 17735798272.0,
     'tx_pps': 26392560.0,
     'tx_util': 44.33949568},
 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': 6.7632622718811035,
            'cpu_util': 99.89993286132812,
            'cpu_util_raw': 100.0,
            'open_flows': 0.0,
            'platform_factor': 1.0,
            'queue_full': 47282107,
            'rx_bps': 3704201472.0,
            'rx_core_pps': 0.0,
            'rx_cpu_util': 0.0,
            'rx_drop_bps': 9808787456.0,
            'rx_pps': 7234773.0,
            'socket_util': 0.0,
            'total_alloc_error': 0,
            'total_clients': 0,
            'total_servers': 0,
            'tx_bps': 13512988672.0,
            'tx_cps': 0.0,
            'tx_expected_bps': 0.0,
            'tx_expected_cps': 0.0,
            'tx_expected_pps': 0.0,
            'tx_pps': 26392560.0},
 'latency': {'global': {'bad_hdr': 0, 'old_flow': 0}},
 'total': {'ibytes': 9243372160,
           'ierrors': 0,
           'ipackets': 144427690,
           'obytes': 33724641472,
           'oerrors': 0,
           'opackets': 526947563,
           'rx_bps': 3704201472.0,
           'rx_bps_L1': 4861765152.0,
           'rx_pps': 7234773.0,
           'rx_util': 12.15441288,
           'tx_bps': 13512988672.0,
           'tx_bps_L1': 17735798272.0,
           'tx_pps': 26392560.0,
           'tx_util': 44.33949568}}
15/09/2020 13:08:23                         pktgen: {'ibytes': 9243372160,
 'ierrors': 0,
 'ipackets': 144427690,
 'obytes': 33724641472,
 'oerrors': 0,
 'opackets': 526947563,
 'rx_bps': 3704201472.0,
 'rx_bps_L1': 4861765152.0,
 'rx_pps': 7234773.0,
 'rx_util': 12.15441288,
 'tx_bps': 13512988672.0,
 'tx_bps_L1': 17735798272.0,
 'tx_pps': 26392560.0,
 'tx_util': 44.33949568}
15/09/2020 13:08:23                         pktgen: Tx Port 0 stats: 
tx_port: 0,  tx_bps: 13512988672.000000, tx_pps: 26392560.000000 
15/09/2020 13:08:23                         pktgen: {'ibytes': 9243372160,
 'ierrors': 0,
 'ipackets': 144427690,
 'obytes': 33724641472,
 'oerrors': 0,
 'opackets': 526947563,
 'rx_bps': 3704201472.0,
 'rx_bps_L1': 4861765152.0,
 'rx_pps': 7234773.0,
 'rx_util': 12.15441288,
 'tx_bps': 13512988672.0,
 'tx_bps_L1': 17735798272.0,
 'tx_pps': 26392560.0,
 'tx_util': 44.33949568}
15/09/2020 13:08:23                         pktgen: Rx Port 0 stats: 
rx_port: 0,  rx_bps: 3704201472.000000, rx_pps: 7234773.000000
15/09/2020 13:08:23                         pktgen: throughput: pps_rx 7234773.000000, bps_rx 3704201472.000000
15/09/2020 13:08:23                         pktgen: traffic completed. 
15/09/2020 13:08:23                         tester: scapy
15/09/2020 13:08: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)
15/09/2020 13:08:25                         tester: wrpcap("/tmp/vhost_cbdma/vhost.pcap", [Ether(dst="00:01:02:03:04:05")/IP()/("X"*1480)])
15/09/2020 13:08:25                         tester: 
15/09/2020 13:08:27                         tester: exit()
15/09/2020 13:08:28                         tester: 
15/09/2020 13:08:28                         pktgen: test port 0 map gen port 0
15/09/2020 13:08:28                         pktgen: test port 0 map gen port 0
15/09/2020 13:08:28                         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': '-'}
15/09/2020 13:08:28                         pktgen: trex port <0> not support flow control
15/09/2020 13:08:28                         pktgen: trex packet generator: run traffic 5s to warm up ... 
15/09/2020 13:08:28                         pktgen: check the trex port link status
15/09/2020 13:08:28                         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': '-'}
15/09/2020 13:08:28                         pktgen: begin traffic ......
15/09/2020 13:08:28                         pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
15/09/2020 13:08:33                         pktgen: traffic completed. 
15/09/2020 13:08:33                         pktgen: check the trex port link status
15/09/2020 13:08: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': '-'}
15/09/2020 13:08:33                         pktgen: begin traffic ......
15/09/2020 13:08:33                         pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
15/09/2020 13:08:53                         pktgen: begin get port statistic ...
15/09/2020 13:08:53                         pktgen: {'options': {'pcap': '/tmp/vhost_cbdma/vhost.pcap',
             'stream_config': {'rate': 100,
                               'transmit_mode': 'continuous',
                               'txmode': {}}},
 'pcap_file': '/tmp/vhost_cbdma/vhost.pcap',
 'rx_port': 0,
 'tx_port': 0}
15/09/2020 13:08:53                         pktgen: {0: {'ibytes': 98801654622,
     'ierrors': 0,
     'ipackets': 65086732,
     'obytes': 98801637924,
     'oerrors': 0,
     'opackets': 65086721,
     'rx_bps': 39513968640.0,
     'rx_bps_L1': 40034574400.0,
     'rx_pps': 3253786.0,
     'rx_util': 100.086436,
     'tx_bps': 39513968640.0,
     'tx_bps_L1': 40034574440.0,
     'tx_pps': 3253786.25,
     'tx_util': 100.08643610000001},
 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': 25.429044723510742,
            'cpu_util': 77.6945571899414,
            'cpu_util_raw': 77.5,
            'open_flows': 0.0,
            'platform_factor': 1.0,
            'queue_full': 53714457,
            'rx_bps': 39513968640.0,
            'rx_core_pps': 0.0,
            'rx_cpu_util': 0.0,
            'rx_drop_bps': 0.0,
            'rx_pps': 3253786.0,
            'socket_util': 0.0,
            'total_alloc_error': 0,
            'total_clients': 0,
            'total_servers': 0,
            'tx_bps': 39513968640.0,
            'tx_cps': 0.0,
            'tx_expected_bps': 0.0,
            'tx_expected_cps': 0.0,
            'tx_expected_pps': 0.0,
            'tx_pps': 3253786.25},
 'latency': {'global': {'bad_hdr': 0, 'old_flow': 0}},
 'total': {'ibytes': 98801654622,
           'ierrors': 0,
           'ipackets': 65086732,
           'obytes': 98801637924,
           'oerrors': 0,
           'opackets': 65086721,
           'rx_bps': 39513968640.0,
           'rx_bps_L1': 40034574400.0,
           'rx_pps': 3253786.0,
           'rx_util': 100.086436,
           'tx_bps': 39513968640.0,
           'tx_bps_L1': 40034574440.0,
           'tx_pps': 3253786.25,
           'tx_util': 100.08643610000001}}
15/09/2020 13:08:53                         pktgen: {'ibytes': 98801654622,
 'ierrors': 0,
 'ipackets': 65086732,
 'obytes': 98801637924,
 'oerrors': 0,
 'opackets': 65086721,
 'rx_bps': 39513968640.0,
 'rx_bps_L1': 40034574400.0,
 'rx_pps': 3253786.0,
 'rx_util': 100.086436,
 'tx_bps': 39513968640.0,
 'tx_bps_L1': 40034574440.0,
 'tx_pps': 3253786.25,
 'tx_util': 100.08643610000001}
15/09/2020 13:08:53                         pktgen: Tx Port 0 stats: 
tx_port: 0,  tx_bps: 39513968640.000000, tx_pps: 3253786.250000 
15/09/2020 13:08:53                         pktgen: {'ibytes': 98801654622,
 'ierrors': 0,
 'ipackets': 65086732,
 'obytes': 98801637924,
 'oerrors': 0,
 'opackets': 65086721,
 'rx_bps': 39513968640.0,
 'rx_bps_L1': 40034574400.0,
 'rx_pps': 3253786.0,
 'rx_util': 100.086436,
 'tx_bps': 39513968640.0,
 'tx_bps_L1': 40034574440.0,
 'tx_pps': 3253786.25,
 'tx_util': 100.08643610000001}
15/09/2020 13:08:53                         pktgen: Rx Port 0 stats: 
rx_port: 0,  rx_bps: 39513968640.000000, rx_pps: 3253786.000000
15/09/2020 13:08:53                         pktgen: throughput: pps_rx 3253786.000000, bps_rx 39513968640.000000
15/09/2020 13:08:53                         pktgen: traffic completed. 
15/09/2020 13:08:58                         tester: scapy
15/09/2020 13:08:58                         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)
15/09/2020 13:09:00                         tester: wrpcap("/tmp/vhost_cbdma/vhost.pcap", [Ether(dst="00:01:02:03:04:05")/IP()/("X"*26)])
15/09/2020 13:09:01                         tester: 
15/09/2020 13:09:03                         tester: exit()
15/09/2020 13:09:03                         tester: 
15/09/2020 13:09:03                         pktgen: test port 0 map gen port 0
15/09/2020 13:09:03                         pktgen: test port 0 map gen port 0
15/09/2020 13:09:03                         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': '-'}
15/09/2020 13:09:03                         pktgen: trex port <0> not support flow control
15/09/2020 13:09:03                         pktgen: trex packet generator: run traffic 5s to warm up ... 
15/09/2020 13:09:03                         pktgen: check the trex port link status
15/09/2020 13:09:03                         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': '-'}
15/09/2020 13:09:03                         pktgen: begin traffic ......
15/09/2020 13:09:03                         pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
15/09/2020 13:09:08                         pktgen: traffic completed. 
15/09/2020 13:09:08                         pktgen: check the trex port link status
15/09/2020 13:09:08                         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': '-'}
15/09/2020 13:09:08                         pktgen: begin traffic ......
15/09/2020 13:09:08                         pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
15/09/2020 13:09:28                         pktgen: begin get port statistic ...
15/09/2020 13:09:28                         pktgen: {'options': {'pcap': '/tmp/vhost_cbdma/vhost.pcap',
             'stream_config': {'rate': 100,
                               'transmit_mode': 'continuous',
                               'txmode': {}}},
 'pcap_file': '/tmp/vhost_cbdma/vhost.pcap',
 'rx_port': 0,
 'tx_port': 0}
15/09/2020 13:09:28                         pktgen: {0: {'ibytes': 9376729856,
     'ierrors': 0,
     'ipackets': 146511420,
     'obytes': 33047792768,
     'oerrors': 0,
     'opackets': 516371781,
     'rx_bps': 3754752256.0,
     'rx_bps_L1': 4928114016.0,
     'rx_pps': 7333511.0,
     'rx_util': 12.32028504,
     'tx_bps': 13217927168.0,
     'tx_bps_L1': 17348529728.0,
     'tx_pps': 25816266.0,
     'tx_util': 43.37132432},
 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': 6.6146368980407715,
            'cpu_util': 99.91423034667969,
            'cpu_util_raw': 100.0,
            'open_flows': 0.0,
            'platform_factor': 1.0,
            'queue_full': 47818417,
            'rx_bps': 3754752256.0,
            'rx_core_pps': 0.0,
            'rx_cpu_util': 0.0,
            'rx_drop_bps': 9463175168.0,
            'rx_pps': 7333511.0,
            'socket_util': 0.0,
            'total_alloc_error': 0,
            'total_clients': 0,
            'total_servers': 0,
            'tx_bps': 13217927168.0,
            'tx_cps': 0.0,
            'tx_expected_bps': 0.0,
            'tx_expected_cps': 0.0,
            'tx_expected_pps': 0.0,
            'tx_pps': 25816266.0},
 'latency': {'global': {'bad_hdr': 0, 'old_flow': 0}},
 'total': {'ibytes': 9376729856,
           'ierrors': 0,
           'ipackets': 146511420,
           'obytes': 33047792768,
           'oerrors': 0,
           'opackets': 516371781,
           'rx_bps': 3754752256.0,
           'rx_bps_L1': 4928114016.0,
           'rx_pps': 7333511.0,
           'rx_util': 12.32028504,
           'tx_bps': 13217927168.0,
           'tx_bps_L1': 17348529728.0,
           'tx_pps': 25816266.0,
           'tx_util': 43.37132432}}
15/09/2020 13:09:28                         pktgen: {'ibytes': 9376729856,
 'ierrors': 0,
 'ipackets': 146511420,
 'obytes': 33047792768,
 'oerrors': 0,
 'opackets': 516371781,
 'rx_bps': 3754752256.0,
 'rx_bps_L1': 4928114016.0,
 'rx_pps': 7333511.0,
 'rx_util': 12.32028504,
 'tx_bps': 13217927168.0,
 'tx_bps_L1': 17348529728.0,
 'tx_pps': 25816266.0,
 'tx_util': 43.37132432}
15/09/2020 13:09:28                         pktgen: Tx Port 0 stats: 
tx_port: 0,  tx_bps: 13217927168.000000, tx_pps: 25816266.000000 
15/09/2020 13:09:28                         pktgen: {'ibytes': 9376729856,
 'ierrors': 0,
 'ipackets': 146511420,
 'obytes': 33047792768,
 'oerrors': 0,
 'opackets': 516371781,
 'rx_bps': 3754752256.0,
 'rx_bps_L1': 4928114016.0,
 'rx_pps': 7333511.0,
 'rx_util': 12.32028504,
 'tx_bps': 13217927168.0,
 'tx_bps_L1': 17348529728.0,
 'tx_pps': 25816266.0,
 'tx_util': 43.37132432}
15/09/2020 13:09:28                         pktgen: Rx Port 0 stats: 
rx_port: 0,  rx_bps: 3754752256.000000, rx_pps: 7333511.000000
15/09/2020 13:09:28                         pktgen: throughput: pps_rx 7333511.000000, bps_rx 3754752256.000000
15/09/2020 13:09:28                         pktgen: traffic completed. 
15/09/2020 13:09:28                         tester: scapy
15/09/2020 13:09: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)
15/09/2020 13:09:30                         tester: wrpcap("/tmp/vhost_cbdma/vhost.pcap", [Ether(dst="00:01:02:03:04:05")/IP()/("X"*1480)])
15/09/2020 13:09:30                         tester: 
15/09/2020 13:09:32                         tester: exit()
15/09/2020 13:09:32                         tester: 
15/09/2020 13:09:32                         pktgen: test port 0 map gen port 0
15/09/2020 13:09:32                         pktgen: test port 0 map gen port 0
15/09/2020 13:09:32                         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': '-'}
15/09/2020 13:09:32                         pktgen: trex port <0> not support flow control
15/09/2020 13:09:32                         pktgen: trex packet generator: run traffic 5s to warm up ... 
15/09/2020 13:09:32                         pktgen: check the trex port link status
15/09/2020 13:09:32                         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': '-'}
15/09/2020 13:09:32                         pktgen: begin traffic ......
15/09/2020 13:09:32                         pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
15/09/2020 13:09:37                         pktgen: traffic completed. 
15/09/2020 13:09:37                         pktgen: check the trex port link status
15/09/2020 13:09:37                         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': '-'}
15/09/2020 13:09:37                         pktgen: begin traffic ......
15/09/2020 13:09:37                         pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
15/09/2020 13:09:57                         pktgen: begin get port statistic ...
15/09/2020 13:09:57                         pktgen: {'options': {'pcap': '/tmp/vhost_cbdma/vhost.pcap',
             'stream_config': {'rate': 100,
                               'transmit_mode': 'continuous',
                               'txmode': {}}},
 'pcap_file': '/tmp/vhost_cbdma/vhost.pcap',
 'rx_port': 0,
 'tx_port': 0}
15/09/2020 13:09:57                         pktgen: {0: {'ibytes': 98801613636,
     'ierrors': 0,
     'ipackets': 65086705,
     'obytes': 98801599974,
     'oerrors': 0,
     'opackets': 65086696,
     'rx_bps': 39372476416.0,
     'rx_bps_L1': 39891217856.0,
     'rx_pps': 3242134.0,
     'rx_util': 99.72804464000001,
     'tx_bps': 39372480512.0,
     'tx_bps_L1': 39891222192.0,
     'tx_pps': 3242135.5,
     'tx_util': 99.72805548},
 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': 25.387893676757812,
            'cpu_util': 77.54183959960938,
            'cpu_util_raw': 78.5,
            'open_flows': 0.0,
            'platform_factor': 1.0,
            'queue_full': 53638988,
            'rx_bps': 39372476416.0,
            'rx_core_pps': 0.0,
            'rx_cpu_util': 0.0,
            'rx_drop_bps': 0.0,
            'rx_pps': 3242134.0,
            'socket_util': 0.0,
            'total_alloc_error': 0,
            'total_clients': 0,
            'total_servers': 0,
            'tx_bps': 39372480512.0,
            'tx_cps': 0.0,
            'tx_expected_bps': 0.0,
            'tx_expected_cps': 0.0,
            'tx_expected_pps': 0.0,
            'tx_pps': 3242135.5},
 'latency': {'global': {'bad_hdr': 0, 'old_flow': 0}},
 'total': {'ibytes': 98801613636,
           'ierrors': 0,
           'ipackets': 65086705,
           'obytes': 98801599974,
           'oerrors': 0,
           'opackets': 65086696,
           'rx_bps': 39372476416.0,
           'rx_bps_L1': 39891217856.0,
           'rx_pps': 3242134.0,
           'rx_util': 99.72804464000001,
           'tx_bps': 39372480512.0,
           'tx_bps_L1': 39891222192.0,
           'tx_pps': 3242135.5,
           'tx_util': 99.72805548}}
15/09/2020 13:09:57                         pktgen: {'ibytes': 98801613636,
 'ierrors': 0,
 'ipackets': 65086705,
 'obytes': 98801599974,
 'oerrors': 0,
 'opackets': 65086696,
 'rx_bps': 39372476416.0,
 'rx_bps_L1': 39891217856.0,
 'rx_pps': 3242134.0,
 'rx_util': 99.72804464000001,
 'tx_bps': 39372480512.0,
 'tx_bps_L1': 39891222192.0,
 'tx_pps': 3242135.5,
 'tx_util': 99.72805548}
15/09/2020 13:09:57                         pktgen: Tx Port 0 stats: 
tx_port: 0,  tx_bps: 39372480512.000000, tx_pps: 3242135.500000 
15/09/2020 13:09:57                         pktgen: {'ibytes': 98801613636,
 'ierrors': 0,
 'ipackets': 65086705,
 'obytes': 98801599974,
 'oerrors': 0,
 'opackets': 65086696,
 'rx_bps': 39372476416.0,
 'rx_bps_L1': 39891217856.0,
 'rx_pps': 3242134.0,
 'rx_util': 99.72804464000001,
 'tx_bps': 39372480512.0,
 'tx_bps_L1': 39891222192.0,
 'tx_pps': 3242135.5,
 'tx_util': 99.72805548}
15/09/2020 13:09:57                         pktgen: Rx Port 0 stats: 
rx_port: 0,  rx_bps: 39372476416.000000, rx_pps: 3242134.000000
15/09/2020 13:09:57                         pktgen: throughput: pps_rx 3242134.000000, bps_rx 39372476416.000000
15/09/2020 13:09:57                         pktgen: traffic completed. 
15/09/2020 13:10:11                         tester: scapy
15/09/2020 13:10: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)
15/09/2020 13:10:13                         tester: wrpcap("/tmp/vhost_cbdma/vhost.pcap", [Ether(dst="00:01:02:03:04:05")/IP()/("X"*26)])
15/09/2020 13:10:13                         tester: 
15/09/2020 13:10:15                         tester: exit()
15/09/2020 13:10:15                         tester: 
15/09/2020 13:10:15                         pktgen: test port 0 map gen port 0
15/09/2020 13:10:15                         pktgen: test port 0 map gen port 0
15/09/2020 13:10:16                         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': '-'}
15/09/2020 13:10:16                         pktgen: trex port <0> not support flow control
15/09/2020 13:10:16                         pktgen: trex packet generator: run traffic 5s to warm up ... 
15/09/2020 13:10:16                         pktgen: check the trex port link status
15/09/2020 13:10:16                         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': '-'}
15/09/2020 13:10:16                         pktgen: begin traffic ......
15/09/2020 13:10:16                         pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
15/09/2020 13:10:21                         pktgen: traffic completed. 
15/09/2020 13:10:21                         pktgen: check the trex port link status
15/09/2020 13:10:21                         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': '-'}
15/09/2020 13:10:21                         pktgen: begin traffic ......
15/09/2020 13:10:21                         pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
15/09/2020 13:10:41                         pktgen: begin get port statistic ...
15/09/2020 13:10:41                         pktgen: {'options': {'pcap': '/tmp/vhost_cbdma/vhost.pcap',
             'stream_config': {'rate': 100,
                               'transmit_mode': 'continuous',
                               'txmode': {}}},
 'pcap_file': '/tmp/vhost_cbdma/vhost.pcap',
 'rx_port': 0,
 'tx_port': 0}
15/09/2020 13:10:41                         pktgen: {0: {'ibytes': 9313657728,
     'ierrors': 0,
     'ipackets': 145525902,
     'obytes': 33737931072,
     'oerrors': 0,
     'opackets': 527155211,
     'rx_bps': 3724362752.0,
     'rx_bps_L1': 4888228432.0,
     'rx_pps': 7274160.5,
     'rx_util': 12.220571080000001,
     'tx_bps': 13485863936.0,
     'tx_bps_L1': 17700197376.0,
     'tx_pps': 26339584.0,
     'tx_util': 44.25049344},
 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': 6.750545978546143,
            'cpu_util': 99.88720703125,
            'cpu_util_raw': 100.0,
            'open_flows': 0.0,
            'platform_factor': 1.0,
            'queue_full': 47283122,
            'rx_bps': 3724362752.0,
            'rx_core_pps': 0.0,
            'rx_cpu_util': 0.0,
            'rx_drop_bps': 9761502208.0,
            'rx_pps': 7274160.5,
            'socket_util': 0.0,
            'total_alloc_error': 0,
            'total_clients': 0,
            'total_servers': 0,
            'tx_bps': 13485863936.0,
            'tx_cps': 0.0,
            'tx_expected_bps': 0.0,
            'tx_expected_cps': 0.0,
            'tx_expected_pps': 0.0,
            'tx_pps': 26339584.0},
 'latency': {'global': {'bad_hdr': 0, 'old_flow': 0}},
 'total': {'ibytes': 9313657728,
           'ierrors': 0,
           'ipackets': 145525902,
           'obytes': 33737931072,
           'oerrors': 0,
           'opackets': 527155211,
           'rx_bps': 3724362752.0,
           'rx_bps_L1': 4888228432.0,
           'rx_pps': 7274160.5,
           'rx_util': 12.220571080000001,
           'tx_bps': 13485863936.0,
           'tx_bps_L1': 17700197376.0,
           'tx_pps': 26339584.0,
           'tx_util': 44.25049344}}
15/09/2020 13:10:41                         pktgen: {'ibytes': 9313657728,
 'ierrors': 0,
 'ipackets': 145525902,
 'obytes': 33737931072,
 'oerrors': 0,
 'opackets': 527155211,
 'rx_bps': 3724362752.0,
 'rx_bps_L1': 4888228432.0,
 'rx_pps': 7274160.5,
 'rx_util': 12.220571080000001,
 'tx_bps': 13485863936.0,
 'tx_bps_L1': 17700197376.0,
 'tx_pps': 26339584.0,
 'tx_util': 44.25049344}
15/09/2020 13:10:41                         pktgen: Tx Port 0 stats: 
tx_port: 0,  tx_bps: 13485863936.000000, tx_pps: 26339584.000000 
15/09/2020 13:10:41                         pktgen: {'ibytes': 9313657728,
 'ierrors': 0,
 'ipackets': 145525902,
 'obytes': 33737931072,
 'oerrors': 0,
 'opackets': 527155211,
 'rx_bps': 3724362752.0,
 'rx_bps_L1': 4888228432.0,
 'rx_pps': 7274160.5,
 'rx_util': 12.220571080000001,
 'tx_bps': 13485863936.0,
 'tx_bps_L1': 17700197376.0,
 'tx_pps': 26339584.0,
 'tx_util': 44.25049344}
15/09/2020 13:10:41                         pktgen: Rx Port 0 stats: 
rx_port: 0,  rx_bps: 3724362752.000000, rx_pps: 7274160.500000
15/09/2020 13:10:41                         pktgen: throughput: pps_rx 7274160.500000, bps_rx 3724362752.000000
15/09/2020 13:10:41                         pktgen: traffic completed. 
15/09/2020 13:10:41                         tester: scapy
15/09/2020 13:10:41                         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)
15/09/2020 13:10:43                         tester: wrpcap("/tmp/vhost_cbdma/vhost.pcap", [Ether(dst="00:01:02:03:04:05")/IP()/("X"*1480)])
15/09/2020 13:10:43                         tester: 
15/09/2020 13:10:45                         tester: exit()
15/09/2020 13:10:45                         tester: 
15/09/2020 13:10:45                         pktgen: test port 0 map gen port 0
15/09/2020 13:10:45                         pktgen: test port 0 map gen port 0
15/09/2020 13:10:45                         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': '-'}
15/09/2020 13:10:45                         pktgen: trex port <0> not support flow control
15/09/2020 13:10:45                         pktgen: trex packet generator: run traffic 5s to warm up ... 
15/09/2020 13:10:45                         pktgen: check the trex port link status
15/09/2020 13:10:45                         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': '-'}
15/09/2020 13:10:45                         pktgen: begin traffic ......
15/09/2020 13:10:45                         pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
15/09/2020 13:10:50                         pktgen: traffic completed. 
15/09/2020 13:10:50                         pktgen: check the trex port link status
15/09/2020 13:10:50                         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': '-'}
15/09/2020 13:10:50                         pktgen: begin traffic ......
15/09/2020 13:10:50                         pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
15/09/2020 13:11:10                         pktgen: begin get port statistic ...
15/09/2020 13:11:10                         pktgen: {'options': {'pcap': '/tmp/vhost_cbdma/vhost.pcap',
             'stream_config': {'rate': 100,
                               'transmit_mode': 'continuous',
                               'txmode': {}}},
 'pcap_file': '/tmp/vhost_cbdma/vhost.pcap',
 'rx_port': 0,
 'tx_port': 0}
15/09/2020 13:11:10                         pktgen: {0: {'ibytes': 98804467476,
     'ierrors': 0,
     'ipackets': 65088585,
     'obytes': 98804482656,
     'oerrors': 0,
     'opackets': 65088595,
     'rx_bps': 39562616832.0,
     'rx_bps_L1': 40083863432.0,
     'rx_pps': 3257791.25,
     'rx_util': 100.20965858,
     'tx_bps': 39562645504.0,
     'tx_bps_L1': 40083892584.0,
     'tx_pps': 3257794.25,
     'tx_util': 100.20973146},
 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': 25.547119140625,
            'cpu_util': 77.43074035644531,
            'cpu_util_raw': 76.0,
            'open_flows': 0.0,
            'platform_factor': 1.0,
            'queue_full': 53687291,
            'rx_bps': 39562616832.0,
            'rx_core_pps': 0.0,
            'rx_cpu_util': 0.0,
            'rx_drop_bps': 0.0,
            'rx_pps': 3257791.25,
            'socket_util': 0.0,
            'total_alloc_error': 0,
            'total_clients': 0,
            'total_servers': 0,
            'tx_bps': 39562645504.0,
            'tx_cps': 0.0,
            'tx_expected_bps': 0.0,
            'tx_expected_cps': 0.0,
            'tx_expected_pps': 0.0,
            'tx_pps': 3257794.25},
 'latency': {'global': {'bad_hdr': 0, 'old_flow': 0}},
 'total': {'ibytes': 98804467476,
           'ierrors': 0,
           'ipackets': 65088585,
           'obytes': 98804482656,
           'oerrors': 0,
           'opackets': 65088595,
           'rx_bps': 39562616832.0,
           'rx_bps_L1': 40083863432.0,
           'rx_pps': 3257791.25,
           'rx_util': 100.20965858,
           'tx_bps': 39562645504.0,
           'tx_bps_L1': 40083892584.0,
           'tx_pps': 3257794.25,
           'tx_util': 100.20973146}}
15/09/2020 13:11:10                         pktgen: {'ibytes': 98804467476,
 'ierrors': 0,
 'ipackets': 65088585,
 'obytes': 98804482656,
 'oerrors': 0,
 'opackets': 65088595,
 'rx_bps': 39562616832.0,
 'rx_bps_L1': 40083863432.0,
 'rx_pps': 3257791.25,
 'rx_util': 100.20965858,
 'tx_bps': 39562645504.0,
 'tx_bps_L1': 40083892584.0,
 'tx_pps': 3257794.25,
 'tx_util': 100.20973146}
15/09/2020 13:11:10                         pktgen: Tx Port 0 stats: 
tx_port: 0,  tx_bps: 39562645504.000000, tx_pps: 3257794.250000 
15/09/2020 13:11:10                         pktgen: {'ibytes': 98804467476,
 'ierrors': 0,
 'ipackets': 65088585,
 'obytes': 98804482656,
 'oerrors': 0,
 'opackets': 65088595,
 'rx_bps': 39562616832.0,
 'rx_bps_L1': 40083863432.0,
 'rx_pps': 3257791.25,
 'rx_util': 100.20965858,
 'tx_bps': 39562645504.0,
 'tx_bps_L1': 40083892584.0,
 'tx_pps': 3257794.25,
 'tx_util': 100.20973146}
15/09/2020 13:11:10                         pktgen: Rx Port 0 stats: 
rx_port: 0,  rx_bps: 39562616832.000000, rx_pps: 3257791.250000
15/09/2020 13:11:10                         pktgen: throughput: pps_rx 3257791.250000, bps_rx 39562616832.000000
15/09/2020 13:11:10                         pktgen: traffic completed. 
15/09/2020 13:11:14           TestVirTioVhostCbdma: 
+-------+-----------------------------------------------+-------+------------+
| Frame |                     Mode                      | Mpps  | % linerate |
+=======+===============================================+=======+============+
| 64    | dynamic_queue2                                | 7.270 | 12.214     |
+-------+-----------------------------------------------+-------+------------+
| 1518  | dynamic_queue2                                | 3.248 | 99.906     |
+-------+-----------------------------------------------+-------+------------+
| 64    | virtio_user_dynamic_queue2_change_to_1        | 7.306 | 12.274     |
+-------+-----------------------------------------------+-------+------------+
| 1518  | virtio_user_dynamic_queue2_change_to_1        | 3.244 | 99.792     |
+-------+-----------------------------------------------+-------+------------+
| 64    | Relaunch_dynamic_queue2                       | 7.235 | 12.154     |
+-------+-----------------------------------------------+-------+------------+
| 1518  | Relaunch_dynamic_queue2                       | 3.254 | 100.086    |
+-------+-----------------------------------------------+-------+------------+
| 64    | vhost_userRelaunch_dynamic_queue2_change_to_1 | 7.334 | 12.320     |
+-------+-----------------------------------------------+-------+------------+
| 1518  | vhost_userRelaunch_dynamic_queue2_change_to_1 | 3.242 | 99.728     |
+-------+-----------------------------------------------+-------+------------+
| 64    | Relaunch_vhost_2_cbdma                        | 7.274 | 12.221     |
+-------+-----------------------------------------------+-------+------------+
| 1518  | Relaunch_vhost_2_cbdma                        | 3.258 | 100.210    |
+-------+-----------------------------------------------+-------+------------+
15/09/2020 13:11:14           TestVirTioVhostCbdma: Test Case test_perf_dynamic_queue_number_cbdma_vhost_enqueue_operations Result PASSED:
15/09/2020 13:11:14             dut.10.240.183.220: modprobe ioatdma
15/09/2020 13:11:14             dut.10.240.183.220: 
15/09/2020 13:11:14             dut.10.240.183.220: ./usertools/dpdk-devbind.py -u 0000:80:04.0 0000:80:04.1
15/09/2020 13:11:15             dut.10.240.183.220: 
15/09/2020 13:11:15             dut.10.240.183.220: ./usertools/dpdk-devbind.py --force --bind=ioatdma  0000:80:04.0 0000:80:04.1
15/09/2020 13:11:15             dut.10.240.183.220: 
15/09/2020 13:11:17           TestVirTioVhostCbdma: Test Case test_perf_pvp_spilt_all_path_with_cbdma_vhost_enqueue_operations Begin
15/09/2020 13:11:17             dut.10.240.183.220: 
15/09/2020 13:11:17                         tester: 
15/09/2020 13:11:19             dut.10.240.183.220: rm -rf /root/dpdk/vhost-net*
15/09/2020 13:11:19             dut.10.240.183.220: 
15/09/2020 13:11:19             dut.10.240.183.220: rm -rf /tmp/s0
15/09/2020 13:11:19             dut.10.240.183.220: 
15/09/2020 13:11:19             dut.10.240.183.220: ./usertools/dpdk-devbind.py --status-dev misc
15/09/2020 13:11:19             dut.10.240.183.220: 
Misc (rawdev) devices using kernel driver
=========================================
0000:00:04.0 'Sky Lake-E CBDMA Registers 2021' if= drv=ioatdma unused=igb_uio,vfio-pci 
0000:00:04.1 'Sky Lake-E CBDMA Registers 2021' if= drv=ioatdma unused=igb_uio,vfio-pci 
0000:00:04.2 'Sky Lake-E CBDMA Registers 2021' if= drv=ioatdma unused=igb_uio,vfio-pci 
0000:00:04.3 'Sky Lake-E CBDMA Registers 2021' if= drv=ioatdma unused=igb_uio,vfio-pci 
0000:00:04.4 'Sky Lake-E CBDMA Registers 2021' if= drv=ioatdma unused=igb_uio,vfio-pci 
0000:00:04.5 'Sky Lake-E CBDMA Registers 2021' if= drv=ioatdma unused=igb_uio,vfio-pci 
0000:00:04.6 'Sky Lake-E CBDMA Registers 2021' if= drv=ioatdma unused=igb_uio,vfio-pci 
0000:00:04.7 'Sky Lake-E CBDMA Registers 2021' if= drv=ioatdma unused=igb_uio,vfio-pci 
0000:80:04.0 'Sky Lake-E CBDMA Registers 2021' if= drv=ioatdma unused=igb_uio,vfio-pci 
0000:80:04.1 'Sky Lake-E CBDMA Registers 2021' if= drv=ioatdma unused=igb_uio,vfio-pci 
0000:80:04.2 'Sky Lake-E CBDMA Registers 2021' if= drv=ioatdma unused=igb_uio,vfio-pci 
0000:80:04.3 'Sky Lake-E CBDMA Registers 2021' if= drv=ioatdma unused=igb_uio,vfio-pci 
0000:80:04.4 'Sky Lake-E CBDMA Registers 2021' if= drv=ioatdma unused=igb_uio,vfio-pci 
0000:80:04.5 'Sky Lake-E CBDMA Registers 2021' if= drv=ioatdma unused=igb_uio,vfio-pci 
0000:80:04.6 'Sky Lake-E CBDMA Registers 2021' if= drv=ioatdma unused=igb_uio,vfio-pci 
0000:80:04.7 'Sky Lake-E CBDMA Registers 2021' if= drv=ioatdma unused=igb_uio,vfio-pci 
15/09/2020 13:11:19             dut.10.240.183.220: ./usertools/dpdk-devbind.py --force --bind=igb_uio 0000:80:04.0 0000:af:00.0
15/09/2020 13:11:22             dut.10.240.183.220: 
15/09/2020 13:11:33             dut.10.240.183.220: cat /proc/meminfo |grep Hugepagesize|awk '{print($2)}'
15/09/2020 13:11:33             dut.10.240.183.220: 1048576
15/09/2020 13:11:44                         tester: scapy
15/09/2020 13:11:44                         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)
15/09/2020 13:11:46                         tester: wrpcap("/tmp/vhost_cbdma/vhost.pcap", [Ether(dst="00:01:02:03:04:05")/IP()/("X"*26)])
15/09/2020 13:11:46                         tester: 
15/09/2020 13:11:48                         tester: exit()
15/09/2020 13:11:48                         tester: 
15/09/2020 13:11:48                         pktgen: test port 0 map gen port 0
15/09/2020 13:11:48                         pktgen: test port 0 map gen port 0
15/09/2020 13:11:48                         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': '-'}
15/09/2020 13:11:48                         pktgen: trex port <0> not support flow control
15/09/2020 13:11:48                         pktgen: trex packet generator: run traffic 5s to warm up ... 
15/09/2020 13:11:48                         pktgen: check the trex port link status
15/09/2020 13:11:48                         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': '-'}
15/09/2020 13:11:48                         pktgen: begin traffic ......
15/09/2020 13:11:48                         pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
15/09/2020 13:11:53                         pktgen: traffic completed. 
15/09/2020 13:11:53                         pktgen: check the trex port link status
15/09/2020 13:11:53                         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': '-'}
15/09/2020 13:11:53                         pktgen: begin traffic ......
15/09/2020 13:11:53                         pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
15/09/2020 13:12:13                         pktgen: begin get port statistic ...
15/09/2020 13:12:13                         pktgen: {'options': {'pcap': '/tmp/vhost_cbdma/vhost.pcap',
             'stream_config': {'rate': 100,
                               'transmit_mode': 'continuous',
                               'txmode': {}}},
 'pcap_file': '/tmp/vhost_cbdma/vhost.pcap',
 'rx_port': 0,
 'tx_port': 0}
15/09/2020 13:12:13                         pktgen: {0: {'ibytes': 7785206528,
     'ierrors': 0,
     'ipackets': 121643852,
     'obytes': 32972502528,
     'oerrors': 0,
     'opackets': 515195372,
     'rx_bps': 3120932096.0,
     'rx_bps_L1': 4096222816.0,
     'rx_pps': 6095567.0,
     'rx_util': 10.24055704,
     'tx_bps': 13202056192.0,
     'tx_bps_L1': 17327699712.0,
     'tx_pps': 25785272.0,
     'tx_util': 43.31924928},
 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': 6.606644630432129,
            'cpu_util': 99.91498565673828,
            'cpu_util_raw': 100.0,
            'open_flows': 0.0,
            'platform_factor': 1.0,
            'queue_full': 47842300,
            'rx_bps': 3120932096.0,
            'rx_core_pps': 0.0,
            'rx_cpu_util': 0.0,
            'rx_drop_bps': 10081125376.0,
            'rx_pps': 6095567.0,
            'socket_util': 0.0,
            'total_alloc_error': 0,
            'total_clients': 0,
            'total_servers': 0,
            'tx_bps': 13202056192.0,
            'tx_cps': 0.0,
            'tx_expected_bps': 0.0,
            'tx_expected_cps': 0.0,
            'tx_expected_pps': 0.0,
            'tx_pps': 25785272.0},
 'latency': {'global': {'bad_hdr': 0, 'old_flow': 0}},
 'total': {'ibytes': 7785206528,
           'ierrors': 0,
           'ipackets': 121643852,
           'obytes': 32972502528,
           'oerrors': 0,
           'opackets': 515195372,
           'rx_bps': 3120932096.0,
           'rx_bps_L1': 4096222816.0,
           'rx_pps': 6095567.0,
           'rx_util': 10.24055704,
           'tx_bps': 13202056192.0,
           'tx_bps_L1': 17327699712.0,
           'tx_pps': 25785272.0,
           'tx_util': 43.31924928}}
15/09/2020 13:12:13                         pktgen: {'ibytes': 7785206528,
 'ierrors': 0,
 'ipackets': 121643852,
 'obytes': 32972502528,
 'oerrors': 0,
 'opackets': 515195372,
 'rx_bps': 3120932096.0,
 'rx_bps_L1': 4096222816.0,
 'rx_pps': 6095567.0,
 'rx_util': 10.24055704,
 'tx_bps': 13202056192.0,
 'tx_bps_L1': 17327699712.0,
 'tx_pps': 25785272.0,
 'tx_util': 43.31924928}
15/09/2020 13:12:13                         pktgen: Tx Port 0 stats: 
tx_port: 0,  tx_bps: 13202056192.000000, tx_pps: 25785272.000000 
15/09/2020 13:12:13                         pktgen: {'ibytes': 7785206528,
 'ierrors': 0,
 'ipackets': 121643852,
 'obytes': 32972502528,
 'oerrors': 0,
 'opackets': 515195372,
 'rx_bps': 3120932096.0,
 'rx_bps_L1': 4096222816.0,
 'rx_pps': 6095567.0,
 'rx_util': 10.24055704,
 'tx_bps': 13202056192.0,
 'tx_bps_L1': 17327699712.0,
 'tx_pps': 25785272.0,
 'tx_util': 43.31924928}
15/09/2020 13:12:13                         pktgen: Rx Port 0 stats: 
rx_port: 0,  rx_bps: 3120932096.000000, rx_pps: 6095567.000000
15/09/2020 13:12:13                         pktgen: throughput: pps_rx 6095567.000000, bps_rx 3120932096.000000
15/09/2020 13:12:13                         pktgen: traffic completed. 
15/09/2020 13:12:13                         tester: scapy
15/09/2020 13:12:13                         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)
15/09/2020 13:12:15                         tester: wrpcap("/tmp/vhost_cbdma/vhost.pcap", [Ether(dst="00:01:02:03:04:05")/IP()/("X"*1480)])
15/09/2020 13:12:15                         tester: 
15/09/2020 13:12:17                         tester: exit()
15/09/2020 13:12:17                         tester: 
15/09/2020 13:12:17                         pktgen: test port 0 map gen port 0
15/09/2020 13:12:17                         pktgen: test port 0 map gen port 0
15/09/2020 13:12:17                         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': '-'}
15/09/2020 13:12:17                         pktgen: trex port <0> not support flow control
15/09/2020 13:12:17                         pktgen: trex packet generator: run traffic 5s to warm up ... 
15/09/2020 13:12:17                         pktgen: check the trex port link status
15/09/2020 13:12:17                         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': '-'}
15/09/2020 13:12:17                         pktgen: begin traffic ......
15/09/2020 13:12:17                         pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
15/09/2020 13:12:22                         pktgen: traffic completed. 
15/09/2020 13:12:22                         pktgen: check the trex port link status
15/09/2020 13:12:22                         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': '-'}
15/09/2020 13:12:23                         pktgen: begin traffic ......
15/09/2020 13:12:23                         pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
15/09/2020 13:12:43                         pktgen: begin get port statistic ...
15/09/2020 13:12:43                         pktgen: {'options': {'pcap': '/tmp/vhost_cbdma/vhost.pcap',
             'stream_config': {'rate': 100,
                               'transmit_mode': 'continuous',
                               'txmode': {}}},
 'pcap_file': '/tmp/vhost_cbdma/vhost.pcap',
 'rx_port': 0,
 'tx_port': 0}
15/09/2020 13:12:43                         pktgen: {0: {'ibytes': 52465003668,
     'ierrors': 0,
     'ipackets': 34561927,
     'obytes': 98799445932,
     'oerrors': 0,
     'opackets': 65085277,
     'rx_bps': 21014007808.0,
     'rx_bps_L1': 21290872088.0,
     'rx_pps': 1730401.75,
     'rx_util': 53.22718022,
     'tx_bps': 39509884928.0,
     'tx_bps_L1': 40030436688.0,
     'tx_pps': 3253448.5,
     'tx_util': 100.07609172000001},
 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': 25.421619415283203,
            'cpu_util': 77.70922088623047,
            'cpu_util_raw': 77.75,
            'open_flows': 0.0,
            'platform_factor': 1.0,
            'queue_full': 53650210,
            'rx_bps': 21014007808.0,
            'rx_core_pps': 0.0,
            'rx_cpu_util': 0.0,
            'rx_drop_bps': 18495879168.0,
            'rx_pps': 1730401.75,
            'socket_util': 0.0,
            'total_alloc_error': 0,
            'total_clients': 0,
            'total_servers': 0,
            'tx_bps': 39509884928.0,
            'tx_cps': 0.0,
            'tx_expected_bps': 0.0,
            'tx_expected_cps': 0.0,
            'tx_expected_pps': 0.0,
            'tx_pps': 3253448.5},
 'latency': {'global': {'bad_hdr': 0, 'old_flow': 0}},
 'total': {'ibytes': 52465003668,
           'ierrors': 0,
           'ipackets': 34561927,
           'obytes': 98799445932,
           'oerrors': 0,
           'opackets': 65085277,
           'rx_bps': 21014007808.0,
           'rx_bps_L1': 21290872088.0,
           'rx_pps': 1730401.75,
           'rx_util': 53.22718022,
           'tx_bps': 39509884928.0,
           'tx_bps_L1': 40030436688.0,
           'tx_pps': 3253448.5,
           'tx_util': 100.07609172000001}}
15/09/2020 13:12:43                         pktgen: {'ibytes': 52465003668,
 'ierrors': 0,
 'ipackets': 34561927,
 'obytes': 98799445932,
 'oerrors': 0,
 'opackets': 65085277,
 'rx_bps': 21014007808.0,
 'rx_bps_L1': 21290872088.0,
 'rx_pps': 1730401.75,
 'rx_util': 53.22718022,
 'tx_bps': 39509884928.0,
 'tx_bps_L1': 40030436688.0,
 'tx_pps': 3253448.5,
 'tx_util': 100.07609172000001}
15/09/2020 13:12:43                         pktgen: Tx Port 0 stats: 
tx_port: 0,  tx_bps: 39509884928.000000, tx_pps: 3253448.500000 
15/09/2020 13:12:43                         pktgen: {'ibytes': 52465003668,
 'ierrors': 0,
 'ipackets': 34561927,
 'obytes': 98799445932,
 'oerrors': 0,
 'opackets': 65085277,
 'rx_bps': 21014007808.0,
 'rx_bps_L1': 21290872088.0,
 'rx_pps': 1730401.75,
 'rx_util': 53.22718022,
 'tx_bps': 39509884928.0,
 'tx_bps_L1': 40030436688.0,
 'tx_pps': 3253448.5,
 'tx_util': 100.07609172000001}
15/09/2020 13:12:43                         pktgen: Rx Port 0 stats: 
rx_port: 0,  rx_bps: 21014007808.000000, rx_pps: 1730401.750000
15/09/2020 13:12:43                         pktgen: throughput: pps_rx 1730401.750000, bps_rx 21014007808.000000
15/09/2020 13:12:43                         pktgen: traffic completed. 
15/09/2020 13:12:43           TestVirTioVhostCbdma: Test Case test_perf_pvp_spilt_all_path_with_cbdma_vhost_enqueue_operations Result FAILED: 'test_perf_pvp_spilt_all_path_with_cbdma_vhost_enqueue_operations of frame size 1518 speed verify failed, expect 1.95, result 1.73040175'
15/09/2020 13:12:43             dut.10.240.183.220: modprobe ioatdma
15/09/2020 13:12:43             dut.10.240.183.220: 
15/09/2020 13:12:43             dut.10.240.183.220: ./usertools/dpdk-devbind.py -u 0000:80:04.0
15/09/2020 13:12:43             dut.10.240.183.220: 
15/09/2020 13:12:43             dut.10.240.183.220: ./usertools/dpdk-devbind.py --force --bind=ioatdma  0000:80:04.0
15/09/2020 13:12:43             dut.10.240.183.220: 
15/09/2020 13:12:45                            dts: 
TEST SUITE ENDED: TestVirTioVhostCbdma
15/09/2020 13:19:40                            dts: 
TEST SUITE : TestVirTioVhostCbdma
15/09/2020 13:19:40                            dts: NIC :        fortville_spirit
15/09/2020 13:19:40             dut.10.240.183.220: 
15/09/2020 13:19:40                         tester: 
15/09/2020 13:19:47             dut.10.240.183.220: cat /proc/meminfo |grep Hugepagesize|awk '{print($2)}'
15/09/2020 13:19:47             dut.10.240.183.220: 1048576
15/09/2020 13:19:47           TestVirTioVhostCbdma: Test Case test_perf_pvp_spilt_all_path_with_cbdma_vhost_enqueue_operations Begin
15/09/2020 13:19:47             dut.10.240.183.220: 
15/09/2020 13:19:47                         tester: 
15/09/2020 13:19:49             dut.10.240.183.220: rm -rf /root/dpdk/vhost-net*
15/09/2020 13:19:49             dut.10.240.183.220: 
15/09/2020 13:19:49             dut.10.240.183.220: rm -rf /tmp/s0
15/09/2020 13:19:49             dut.10.240.183.220: 
15/09/2020 13:19:49             dut.10.240.183.220: ./usertools/dpdk-devbind.py --status-dev misc
15/09/2020 13:19:49             dut.10.240.183.220: 
Misc (rawdev) devices using kernel driver
=========================================
0000:00:04.0 'Sky Lake-E CBDMA Registers 2021' if= drv=ioatdma unused=igb_uio,vfio-pci 
0000:00:04.1 'Sky Lake-E CBDMA Registers 2021' if= drv=ioatdma unused=igb_uio,vfio-pci 
0000:00:04.2 'Sky Lake-E CBDMA Registers 2021' if= drv=ioatdma unused=igb_uio,vfio-pci 
0000:00:04.3 'Sky Lake-E CBDMA Registers 2021' if= drv=ioatdma unused=igb_uio,vfio-pci 
0000:00:04.4 'Sky Lake-E CBDMA Registers 2021' if= drv=ioatdma unused=igb_uio,vfio-pci 
0000:00:04.5 'Sky Lake-E CBDMA Registers 2021' if= drv=ioatdma unused=igb_uio,vfio-pci 
0000:00:04.6 'Sky Lake-E CBDMA Registers 2021' if= drv=ioatdma unused=igb_uio,vfio-pci 
0000:00:04.7 'Sky Lake-E CBDMA Registers 2021' if= drv=ioatdma unused=igb_uio,vfio-pci 
0000:80:04.0 'Sky Lake-E CBDMA Registers 2021' if= drv=ioatdma unused=igb_uio,vfio-pci 
0000:80:04.1 'Sky Lake-E CBDMA Registers 2021' if= drv=ioatdma unused=igb_uio,vfio-pci 
0000:80:04.2 'Sky Lake-E CBDMA Registers 2021' if= drv=ioatdma unused=igb_uio,vfio-pci 
0000:80:04.3 'Sky Lake-E CBDMA Registers 2021' if= drv=ioatdma unused=igb_uio,vfio-pci 
0000:80:04.4 'Sky Lake-E CBDMA Registers 2021' if= drv=ioatdma unused=igb_uio,vfio-pci 
0000:80:04.5 'Sky Lake-E CBDMA Registers 2021' if= drv=ioatdma unused=igb_uio,vfio-pci 
0000:80:04.6 'Sky Lake-E CBDMA Registers 2021' if= drv=ioatdma unused=igb_uio,vfio-pci 
0000:80:04.7 'Sky Lake-E CBDMA Registers 2021' if= drv=ioatdma unused=igb_uio,vfio-pci 
15/09/2020 13:19:49             dut.10.240.183.220: ./usertools/dpdk-devbind.py --force --bind=igb_uio 0000:80:04.0 0000:af:00.0
15/09/2020 13:19:52             dut.10.240.183.220: 
15/09/2020 13:20:03             dut.10.240.183.220: cat /proc/meminfo |grep Hugepagesize|awk '{print($2)}'
15/09/2020 13:20:03             dut.10.240.183.220: 1048576
15/09/2020 13:20:14                         tester: scapy
15/09/2020 13:20: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)
15/09/2020 13:20:16                         tester: wrpcap("/tmp/vhost_cbdma/vhost.pcap", [Ether(dst="00:01:02:03:04:05")/IP()/("X"*26)])
15/09/2020 13:20:16                         tester: 
15/09/2020 13:20:18                         tester: exit()
15/09/2020 13:20:18                         tester: 
15/09/2020 13:20:18                         pktgen: test port 0 map gen port 0
15/09/2020 13:20:18                         pktgen: test port 0 map gen port 0
15/09/2020 13:20: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': '-'}
15/09/2020 13:20:18                         pktgen: trex port <0> not support flow control
15/09/2020 13:20:18                         pktgen: trex packet generator: run traffic 5s to warm up ... 
15/09/2020 13:20:18                         pktgen: check the trex port link status
15/09/2020 13:20: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': '-'}
15/09/2020 13:20:18                         pktgen: begin traffic ......
15/09/2020 13:20:18                         pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
15/09/2020 13:20:23                         pktgen: traffic completed. 
15/09/2020 13:20:23                         pktgen: check the trex port link status
15/09/2020 13:20:23                         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': '-'}
15/09/2020 13:20:23                         pktgen: begin traffic ......
15/09/2020 13:20:23                         pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
15/09/2020 13:20:43                         pktgen: begin get port statistic ...
15/09/2020 13:20:43                         pktgen: {'options': {'pcap': '/tmp/vhost_cbdma/vhost.pcap',
             'stream_config': {'rate': 100,
                               'transmit_mode': 'continuous',
                               'txmode': {}}},
 'pcap_file': '/tmp/vhost_cbdma/vhost.pcap',
 'rx_port': 0,
 'tx_port': 0}
15/09/2020 13:20:43                         pktgen: {0: {'ibytes': 7806558336,
     'ierrors': 0,
     'ipackets': 121977474,
     'obytes': 33489893376,
     'oerrors': 0,
     'opackets': 523279602,
     'rx_bps': 3113405952.0,
     'rx_bps_L1': 4086344832.0,
     'rx_pps': 6080868.0,
     'rx_util': 10.21586208,
     'tx_bps': 13355528192.0,
     'tx_bps_L1': 17529129792.0,
     'tx_pps': 26085010.0,
     'tx_util': 43.82282448},
 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': 6.684209823608398,
            'cpu_util': 99.903564453125,
            'cpu_util_raw': 100.0,
            'open_flows': 0.0,
            'platform_factor': 1.0,
            'queue_full': 48206787,
            'rx_bps': 3113405952.0,
            'rx_core_pps': 0.0,
            'rx_cpu_util': 0.0,
            'rx_drop_bps': 10242121728.0,
            'rx_pps': 6080868.0,
            'socket_util': 0.0,
            'total_alloc_error': 0,
            'total_clients': 0,
            'total_servers': 0,
            'tx_bps': 13355528192.0,
            'tx_cps': 0.0,
            'tx_expected_bps': 0.0,
            'tx_expected_cps': 0.0,
            'tx_expected_pps': 0.0,
            'tx_pps': 26085010.0},
 'latency': {'global': {'bad_hdr': 0, 'old_flow': 0}},
 'total': {'ibytes': 7806558336,
           'ierrors': 0,
           'ipackets': 121977474,
           'obytes': 33489893376,
           'oerrors': 0,
           'opackets': 523279602,
           'rx_bps': 3113405952.0,
           'rx_bps_L1': 4086344832.0,
           'rx_pps': 6080868.0,
           'rx_util': 10.21586208,
           'tx_bps': 13355528192.0,
           'tx_bps_L1': 17529129792.0,
           'tx_pps': 26085010.0,
           'tx_util': 43.82282448}}
15/09/2020 13:20:43                         pktgen: {'ibytes': 7806558336,
 'ierrors': 0,
 'ipackets': 121977474,
 'obytes': 33489893376,
 'oerrors': 0,
 'opackets': 523279602,
 'rx_bps': 3113405952.0,
 'rx_bps_L1': 4086344832.0,
 'rx_pps': 6080868.0,
 'rx_util': 10.21586208,
 'tx_bps': 13355528192.0,
 'tx_bps_L1': 17529129792.0,
 'tx_pps': 26085010.0,
 'tx_util': 43.82282448}
15/09/2020 13:20:43                         pktgen: Tx Port 0 stats: 
tx_port: 0,  tx_bps: 13355528192.000000, tx_pps: 26085010.000000 
15/09/2020 13:20:43                         pktgen: {'ibytes': 7806558336,
 'ierrors': 0,
 'ipackets': 121977474,
 'obytes': 33489893376,
 'oerrors': 0,
 'opackets': 523279602,
 'rx_bps': 3113405952.0,
 'rx_bps_L1': 4086344832.0,
 'rx_pps': 6080868.0,
 'rx_util': 10.21586208,
 'tx_bps': 13355528192.0,
 'tx_bps_L1': 17529129792.0,
 'tx_pps': 26085010.0,
 'tx_util': 43.82282448}
15/09/2020 13:20:43                         pktgen: Rx Port 0 stats: 
rx_port: 0,  rx_bps: 3113405952.000000, rx_pps: 6080868.000000
15/09/2020 13:20:43                         pktgen: throughput: pps_rx 6080868.000000, bps_rx 3113405952.000000
15/09/2020 13:20:43                         pktgen: traffic completed. 
15/09/2020 13:20:43                         tester: scapy
15/09/2020 13:20:44                         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)
15/09/2020 13:20:46                         tester: wrpcap("/tmp/vhost_cbdma/vhost.pcap", [Ether(dst="00:01:02:03:04:05")/IP()/("X"*1480)])
15/09/2020 13:20:46                         tester: 
15/09/2020 13:20:48                         tester: exit()
15/09/2020 13:20:48                         tester: 
15/09/2020 13:20:48                         pktgen: test port 0 map gen port 0
15/09/2020 13:20:48                         pktgen: test port 0 map gen port 0
15/09/2020 13:20:48                         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': '-'}
15/09/2020 13:20:48                         pktgen: trex port <0> not support flow control
15/09/2020 13:20:48                         pktgen: trex packet generator: run traffic 5s to warm up ... 
15/09/2020 13:20:48                         pktgen: check the trex port link status
15/09/2020 13:20:48                         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': '-'}
15/09/2020 13:20:48                         pktgen: begin traffic ......
15/09/2020 13:20:48                         pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
15/09/2020 13:20:53                         pktgen: traffic completed. 
15/09/2020 13:20:53                         pktgen: check the trex port link status
15/09/2020 13:20:53                         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': '-'}
15/09/2020 13:20:53                         pktgen: begin traffic ......
15/09/2020 13:20:53                         pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
15/09/2020 13:21:13                         pktgen: begin get port statistic ...
15/09/2020 13:21:13                         pktgen: {'options': {'pcap': '/tmp/vhost_cbdma/vhost.pcap',
             'stream_config': {'rate': 100,
                               'transmit_mode': 'continuous',
                               'txmode': {}}},
 'pcap_file': '/tmp/vhost_cbdma/vhost.pcap',
 'rx_port': 0,
 'tx_port': 0}
15/09/2020 13:21:13                         pktgen: {0: {'ibytes': 51390141264,
     'ierrors': 0,
     'ipackets': 33853852,
     'obytes': 98796438774,
     'oerrors': 0,
     'opackets': 65083297,
     'rx_bps': 20598620160.0,
     'rx_bps_L1': 20870011900.0,
     'rx_pps': 1696198.375,
     'rx_util': 52.17502975,
     'tx_bps': 39388938240.0,
     'tx_bps_L1': 39907896720.0,
     'tx_pps': 3243490.5,
     'tx_util': 99.7697418},
 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': 25.312734603881836,
            'cpu_util': 77.8045883178711,
            'cpu_util_raw': 76.25,
            'open_flows': 0.0,
            'platform_factor': 1.0,
            'queue_full': 54306586,
            'rx_bps': 20598620160.0,
            'rx_core_pps': 0.0,
            'rx_cpu_util': 0.0,
            'rx_drop_bps': 18790316032.0,
            'rx_pps': 1696198.375,
            'socket_util': 0.0,
            'total_alloc_error': 0,
            'total_clients': 0,
            'total_servers': 0,
            'tx_bps': 39388938240.0,
            'tx_cps': 0.0,
            'tx_expected_bps': 0.0,
            'tx_expected_cps': 0.0,
            'tx_expected_pps': 0.0,
            'tx_pps': 3243490.5},
 'latency': {'global': {'bad_hdr': 0, 'old_flow': 0}},
 'total': {'ibytes': 51390141264,
           'ierrors': 0,
           'ipackets': 33853852,
           'obytes': 98796438774,
           'oerrors': 0,
           'opackets': 65083297,
           'rx_bps': 20598620160.0,
           'rx_bps_L1': 20870011900.0,
           'rx_pps': 1696198.375,
           'rx_util': 52.17502975,
           'tx_bps': 39388938240.0,
           'tx_bps_L1': 39907896720.0,
           'tx_pps': 3243490.5,
           'tx_util': 99.7697418}}
15/09/2020 13:21:13                         pktgen: {'ibytes': 51390141264,
 'ierrors': 0,
 'ipackets': 33853852,
 'obytes': 98796438774,
 'oerrors': 0,
 'opackets': 65083297,
 'rx_bps': 20598620160.0,
 'rx_bps_L1': 20870011900.0,
 'rx_pps': 1696198.375,
 'rx_util': 52.17502975,
 'tx_bps': 39388938240.0,
 'tx_bps_L1': 39907896720.0,
 'tx_pps': 3243490.5,
 'tx_util': 99.7697418}
15/09/2020 13:21:13                         pktgen: Tx Port 0 stats: 
tx_port: 0,  tx_bps: 39388938240.000000, tx_pps: 3243490.500000 
15/09/2020 13:21:13                         pktgen: {'ibytes': 51390141264,
 'ierrors': 0,
 'ipackets': 33853852,
 'obytes': 98796438774,
 'oerrors': 0,
 'opackets': 65083297,
 'rx_bps': 20598620160.0,
 'rx_bps_L1': 20870011900.0,
 'rx_pps': 1696198.375,
 'rx_util': 52.17502975,
 'tx_bps': 39388938240.0,
 'tx_bps_L1': 39907896720.0,
 'tx_pps': 3243490.5,
 'tx_util': 99.7697418}
15/09/2020 13:21:13                         pktgen: Rx Port 0 stats: 
rx_port: 0,  rx_bps: 20598620160.000000, rx_pps: 1696198.375000
15/09/2020 13:21:13                         pktgen: throughput: pps_rx 1696198.375000, bps_rx 20598620160.000000
15/09/2020 13:21:13                         pktgen: traffic completed. 
15/09/2020 13:21:13           TestVirTioVhostCbdma: Test Case test_perf_pvp_spilt_all_path_with_cbdma_vhost_enqueue_operations Result FAILED: 'test_perf_pvp_spilt_all_path_with_cbdma_vhost_enqueue_operations of frame size 1518 speed verify failed, expect 1.95, result 1.696198375'
15/09/2020 13:21:13             dut.10.240.183.220: modprobe ioatdma
15/09/2020 13:21:13             dut.10.240.183.220: 
15/09/2020 13:21:13             dut.10.240.183.220: ./usertools/dpdk-devbind.py -u 0000:80:04.0
15/09/2020 13:21:13             dut.10.240.183.220: 
15/09/2020 13:21:13             dut.10.240.183.220: ./usertools/dpdk-devbind.py --force --bind=ioatdma  0000:80:04.0
15/09/2020 13:21:14             dut.10.240.183.220: 
15/09/2020 13:21:15                            dts: 
TEST SUITE ENDED: TestVirTioVhostCbdma

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

* Re: [dts] [PATCH V1] tests/TestSuite_vhost_cbdma:add virtio cbdma suite
  2020-09-24  3:03 [dts] [PATCH V1] tests/TestSuite_vhost_cbdma:add virtio cbdma suite xizhan4x
  2020-09-24  3:04 ` Zhang, XiX
@ 2020-09-29  7:00 ` Wang, Yinan
  2020-10-12  8:18 ` Tu, Lijuan
  2 siblings, 0 replies; 4+ messages in thread
From: Wang, Yinan @ 2020-09-29  7:00 UTC (permalink / raw)
  To: Zhang, XiX, dts; +Cc: Zhang, XiX



> -----Original Message-----
> From: dts <dts-bounces@dpdk.org> On Behalf Of xizhan4x
> Sent: 2020?9?24? 11:04
> To: dts@dpdk.org
> Cc: Zhang, XiX <xix.zhang@intel.com>
> Subject: [dts] [PATCH V1] tests/TestSuite_vhost_cbdma:add virtio cbdma suite
> 
> add virtio cbdma suite
> 
> Signed-off-by: xizhan4x <xix.zhang@intel.com>

Acked-by: Wang, Yinan <yinan.wang@intel.com>

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

* Re: [dts] [PATCH V1] tests/TestSuite_vhost_cbdma:add virtio cbdma suite
  2020-09-24  3:03 [dts] [PATCH V1] tests/TestSuite_vhost_cbdma:add virtio cbdma suite xizhan4x
  2020-09-24  3:04 ` Zhang, XiX
  2020-09-29  7:00 ` Wang, Yinan
@ 2020-10-12  8:18 ` Tu, Lijuan
  2 siblings, 0 replies; 4+ messages in thread
From: Tu, Lijuan @ 2020-10-12  8:18 UTC (permalink / raw)
  To: Zhang, XiX, dts; +Cc: Zhang, XiX

> add virtio cbdma suite
> 
> Signed-off-by: xizhan4x <xix.zhang@intel.com>

Applied

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

end of thread, other threads:[~2020-10-12  8:18 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-24  3:03 [dts] [PATCH V1] tests/TestSuite_vhost_cbdma:add virtio cbdma suite xizhan4x
2020-09-24  3:04 ` Zhang, XiX
2020-09-29  7:00 ` Wang, Yinan
2020-10-12  8:18 ` 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).