test suite reviews and discussions
 help / color / mirror / Atom feed
* [dts] [PATCH V1] tests/TestSuite_multiple_pthread: Allocate enough streams based on the number of CPU cores
@ 2020-04-15  5:24 Jiang, YuX
  2020-04-17  3:11 ` Zhao, XinfengX
  2020-04-20  5:21 ` Tu, Lijuan
  0 siblings, 2 replies; 3+ messages in thread
From: Jiang, YuX @ 2020-04-15  5:24 UTC (permalink / raw)
  To: dts; +Cc: Jiang, YuX

From: "Jiang, YuX" <yux.jiang@intel.com>

Add queue number for allocating enough streams according to the count of CPU cores

Signed-off-by: Jiang, YuX <yux.jiang@intel.com>
---
 tests/TestSuite_multiple_pthread.py | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/tests/TestSuite_multiple_pthread.py b/tests/TestSuite_multiple_pthread.py
index fb55de2..8825628 100644
--- a/tests/TestSuite_multiple_pthread.py
+++ b/tests/TestSuite_multiple_pthread.py
@@ -124,7 +124,12 @@ class TestMultiplePthread(TestCase):
         self.result_table_create(header_row)
         self.out_view['data'] = []
 
-        cmdline = './%s/app/testpmd --lcores="%s" -n 4 -- -i' % (self.target, lcores)
+        # Allocate enough streams based on the number of CPUs
+        if len(cpu_list) > 2:
+            queue_num = len(cpu_list)
+            cmdline = './%s/app/testpmd --lcores="%s" -n 4 -- -i --txq=%d --rxq=%d' % (self.target, lcores, queue_num, queue_num)
+        else:
+            cmdline = './%s/app/testpmd --lcores="%s" -n 4 -- -i' % (self.target, lcores)
         # start application
         self.dut.send_expect(cmdline, "testpmd", 60)
 
@@ -178,7 +183,7 @@ class TestMultiplePthread(TestCase):
                       "cpu_list":n[2:4],
                       "core_list":n[4:]},
                      {"lcores": "(%s,%s,%s,%s)@(%s,%s)" % (n[0], n[1], n[2], n[3], n[4], n[5]),
-                      "cpu_list":n[1:3],
+                      "cpu_list":n[1:4],
                       "core_list":n[4:6]},
                      {"lcores": "%s,(%s,%s,%s)@%s" % (n[0], n[1], n[2], n[3], n[4]),
                       "cpu_list":n[1:4],
-- 
2.7.4


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

* Re: [dts] [PATCH V1] tests/TestSuite_multiple_pthread: Allocate enough streams based on the number of CPU cores
  2020-04-15  5:24 [dts] [PATCH V1] tests/TestSuite_multiple_pthread: Allocate enough streams based on the number of CPU cores Jiang, YuX
@ 2020-04-17  3:11 ` Zhao, XinfengX
  2020-04-20  5:21 ` Tu, Lijuan
  1 sibling, 0 replies; 3+ messages in thread
From: Zhao, XinfengX @ 2020-04-17  3:11 UTC (permalink / raw)
  To: dts; +Cc: Jiang, YuX

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

Tested-by:  Zhao, Xinfeng<xinfengx.zhao@intel.com>

-----Original Message-----
From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of Jiang, YuX
Sent: Wednesday, April 15, 2020 1:24 PM
To: dts@dpdk.org
Cc: Jiang, YuX <yux.jiang@intel.com>
Subject: [dts] [PATCH V1] tests/TestSuite_multiple_pthread: Allocate enough streams based on the number of CPU cores

From: "Jiang, YuX" <yux.jiang@intel.com>

Add queue number for allocating enough streams according to the count of CPU cores

Signed-off-by: Jiang, YuX <yux.jiang@intel.com>
---
 tests/TestSuite_multiple_pthread.py | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/tests/TestSuite_multiple_pthread.py b/tests/TestSuite_multiple_pthread.py
index fb55de2..8825628 100644
--- a/tests/TestSuite_multiple_pthread.py
+++ b/tests/TestSuite_multiple_pthread.py
@@ -124,7 +124,12 @@ class TestMultiplePthread(TestCase):
         self.result_table_create(header_row)
         self.out_view['data'] = []
 
-        cmdline = './%s/app/testpmd --lcores="%s" -n 4 -- -i' % (self.target, lcores)
+        # Allocate enough streams based on the number of CPUs
+        if len(cpu_list) > 2:
+            queue_num = len(cpu_list)
+            cmdline = './%s/app/testpmd --lcores="%s" -n 4 -- -i --txq=%d --rxq=%d' % (self.target, lcores, queue_num, queue_num)
+        else:
+            cmdline = './%s/app/testpmd --lcores="%s" -n 4 -- -i' % (self.target, lcores)
         # start application
         self.dut.send_expect(cmdline, "testpmd", 60)
 
@@ -178,7 +183,7 @@ class TestMultiplePthread(TestCase):
                       "cpu_list":n[2:4],
                       "core_list":n[4:]},
                      {"lcores": "(%s,%s,%s,%s)@(%s,%s)" % (n[0], n[1], n[2], n[3], n[4], n[5]),
-                      "cpu_list":n[1:3],
+                      "cpu_list":n[1:4],
                       "core_list":n[4:6]},
                      {"lcores": "%s,(%s,%s,%s)@%s" % (n[0], n[1], n[2], n[3], n[4]),
                       "cpu_list":n[1:4],
-- 
2.7.4


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

13/04/2020 16:49:30                            dts: 
TEST SUITE : TestMultiplePthread
13/04/2020 16:49:30                            dts: NIC :        fortpark_TLV
13/04/2020 16:49:30             dut.10.240.183.162: 
13/04/2020 16:49:30                         tester: 
13/04/2020 16:49:30            TestMultiplePthread: Rerun Test Case test_positive Begin
13/04/2020 16:49:51            TestMultiplePthread: Rerun Test Case test_positive Begin
13/04/2020 16:49:51            TestMultiplePthread: Test Case test_positive Begin
13/04/2020 16:49:51             dut.10.240.183.162: 
13/04/2020 16:49:51                         tester: 
13/04/2020 16:49:51             dut.10.240.183.162: ./x86_64-native-linuxapp-gcc/app/testpmd --lcores="(28,29,30,31,32)@(33,34)" -n 4 -- -i --txq=4 --rxq=4
13/04/2020 16:49:52             dut.10.240.183.162: EAL: Detected 112 lcore(s)
EAL: Detected 2 NUMA nodes
EAL: Multi-process socket /var/run/dpdk/rte/mp_socket
EAL: Selected IOVA mode 'PA'
EAL: 1024 hugepages of size 2097152 reserved, but no mounted hugetlbfs found for that size
EAL: Probing VFIO support...
EAL: PCI device 0000:00:04.0 on NUMA socket 0
EAL:   probe driver: 8086:2021 rawdev_ioat
EAL: PCI device 0000:00:04.1 on NUMA socket 0
EAL:   probe driver: 8086:2021 rawdev_ioat
EAL: PCI device 0000:00:04.2 on NUMA socket 0
EAL:   probe driver: 8086:2021 rawdev_ioat
EAL: PCI device 0000:00:04.3 on NUMA socket 0
EAL:   probe driver: 8086:2021 rawdev_ioat
EAL: PCI device 0000:00:04.4 on NUMA socket 0
EAL:   probe driver: 8086:2021 rawdev_ioat
EAL: PCI device 0000:00:04.5 on NUMA socket 0
EAL:   probe driver: 8086:2021 rawdev_ioat
EAL: PCI device 0000:00:04.6 on NUMA socket 0
EAL:   probe driver: 8086:2021 rawdev_ioat
EAL: PCI device 0000:00:04.7 on NUMA socket 0
EAL:   probe driver: 8086:2021 rawdev_ioat
EAL: PCI device 0000:3d:00.0 on NUMA socket 0
EAL:   probe driver: 8086:37d2 net_i40e
EAL: PCI device 0000:3d:00.1 on NUMA socket 0
EAL:   probe driver: 8086:37d2 net_i40e
EAL: PCI device 0000:80:04.0 on NUMA socket 1
EAL:   probe driver: 8086:2021 rawdev_ioat
EAL: PCI device 0000:80:04.1 on NUMA socket 1
EAL:   probe driver: 8086:2021 rawdev_ioat
EAL: PCI device 0000:80:04.2 on NUMA socket 1
EAL:   probe driver: 8086:2021 rawdev_ioat
EAL: PCI device 0000:80:04.3 on NUMA socket 1
EAL:   probe driver: 8086:2021 rawdev_ioat
EAL: PCI device 0000:80:04.4 on NUMA socket 1
EAL:   probe driver: 8086:2021 rawdev_ioat
EAL: PCI device 0000:80:04.5 on NUMA socket 1
EAL:   probe driver: 8086:2021 rawdev_ioat
EAL: PCI device 0000:80:04.6 on NUMA socket 1
EAL:   probe driver: 8086:2021 rawdev_ioat
EAL: PCI device 0000:80:04.7 on NUMA socket 1
EAL:   probe driver: 8086:2021 rawdev_ioat
EAL: PCI device 0000:b1:00.0 on NUMA socket 1
EAL:   probe driver: 8086:37d0 net_i40e
EAL: PCI device 0000:b1:00.1 on NUMA socket 1
EAL:   probe driver: 8086:37d0 net_i40e
Interactive-mode selected
13/04/2020 16:49:53             dut.10.240.183.162: set corelist 29,30,31,32
13/04/2020 16:49:53             dut.10.240.183.162: set corelist 29,30,31,32
previous number of forwarding cores 1 - changed to number of configured cores 4
13/04/2020 16:49:53             dut.10.240.183.162: start
13/04/2020 16:49:53             dut.10.240.183.162: start
io packet forwarding - ports=2 - cores=4 - streams=8 - NUMA support enabled, MP allocation mode: native
Logical Core 29 (socket 1) forwards packets on 2 streams:
  RX P=0/Q=0 (socket 1) -> TX P=1/Q=0 (socket 1) peer=02:00:00:00:00:01
  RX P=1/Q=0 (socket 1) -> TX P=0/Q=0 (socket 1) peer=02:00:00:00:00:00
Logical Core 30 (socket 1) forwards packets on 2 streams:
  RX P=0/Q=1 (socket 1) -> TX P=1/Q=1 (socket 1) peer=02:00:00:00:00:01
  RX P=1/Q=1 (socket 1) -> TX P=0/Q=1 (socket 1) peer=02:00:00:00:00:00
Logical Core 31 (socket 1) forwards packets on 2 streams:
  RX P=0/Q=2 (socket 1) -> TX P=1/Q=2 (socket 1) peer=02:00:00:00:00:01
  RX P=1/Q=2 (socket 1) -> TX P=0/Q=2 (socket 1) peer=02:00:00:00:00:00
Logical Core 32 (socket 1) forwards packets on 2 streams:
  RX P=0/Q=3 (socket 1) -> TX P=1/Q=3 (socket 1) peer=02:00:00:00:00:01
  RX P=1/Q=3 (socket 1) -> TX P=0/Q=3 (socket 1) peer=02:00:00:00:00:00

  io packet forwarding packets/burst=32
  nb forwarding cores=4 - nb forwarding ports=2
  port 0: RX queue number: 4 Tx queue number: 4
    Rx offloads=0x0 Tx offloads=0x10000
    RX queue: 0
      RX desc=256 - RX free threshold=32
      RX threshold registers: pthresh=8 hthresh=8  wthresh=0
      RX Offloads=0x0
    TX queue: 0
      TX desc=256 - TX free threshold=32
      TX threshold registers: pthresh=32 hthresh=0  wthresh=0
      TX offloads=0x10000 - TX RS bit threshold=32
  port 1: RX queue number: 4 Tx queue number: 4
    Rx offloads=0x0 Tx offloads=0x10000
    RX queue: 0
      RX desc=256 - RX free threshold=32
      RX threshold registers: pthresh=8 hthresh=8  wthresh=0
      RX Offloads=0x0
    TX queue: 0
      TX desc=256 - TX free threshold=32
      TX threshold registers: pthresh=32 hthresh=0  wthresh=0
      TX offloads=0x10000 - TX RS bit threshold=32
13/04/2020 16:49:53             dut.10.240.183.162: show config fwd
13/04/2020 16:49:54             dut.10.240.183.162: show config fwd
io packet forwarding - ports=2 - cores=4 - streams=8 - NUMA support enabled, MP allocation mode: native
Logical Core 29 (socket 1) forwards packets on 2 streams:
  RX P=0/Q=0 (socket 1) -> TX P=1/Q=0 (socket 1) peer=02:00:00:00:00:01
  RX P=1/Q=0 (socket 1) -> TX P=0/Q=0 (socket 1) peer=02:00:00:00:00:00
Logical Core 30 (socket 1) forwards packets on 2 streams:
  RX P=0/Q=1 (socket 1) -> TX P=1/Q=1 (socket 1) peer=02:00:00:00:00:01
  RX P=1/Q=1 (socket 1) -> TX P=0/Q=1 (socket 1) peer=02:00:00:00:00:00
Logical Core 31 (socket 1) forwards packets on 2 streams:
  RX P=0/Q=2 (socket 1) -> TX P=1/Q=2 (socket 1) peer=02:00:00:00:00:01
  RX P=1/Q=2 (socket 1) -> TX P=0/Q=2 (socket 1) peer=02:00:00:00:00:00
Logical Core 32 (socket 1) forwards packets on 2 streams:
  RX P=0/Q=3 (socket 1) -> TX P=1/Q=3 (socket 1) peer=02:00:00:00:00:01
  RX P=1/Q=3 (socket 1) -> TX P=0/Q=3 (socket 1) peer=02:00:00:00:00:00

13/04/2020 16:49:56                         tester: scp -v /home/autoregression/jiangyu/dts/output/tmp/pcap/scapy_ens2f0.pcap1586767794.0319328 root@10.240.183.154:/tmp/tester/
13/04/2020 16:49:58                         tester: scp -v /home/autoregression/jiangyu/dts/output/tmp/pcap/scapy_ens2f0.cmd1586767794.0319328 root@10.240.183.154:/tmp/tester/
13/04/2020 16:50:05                         tester: scp -v /home/autoregression/jiangyu/dts/output/tmp/pcap/scapy_ens2f1.pcap1586767803.4496408 root@10.240.183.154:/tmp/tester/
13/04/2020 16:50:07                         tester: scp -v /home/autoregression/jiangyu/dts/output/tmp/pcap/scapy_ens2f1.cmd1586767803.4496408 root@10.240.183.154:/tmp/tester/
13/04/2020 16:50:14            TestMultiplePthread: 
+-------+-------+--------+------+
|  PID  |  TID  |  %CPU  | PSRF |
+=======+=======+========+======+
| 89887 | 89887 | 15.500 | 34   |
+-------+-------+--------+------+
| 89887 | 89888 | 35     | 0    |
+-------+-------+--------+------+
| 89887 | 89889 | 0      | 100  |
+-------+-------+--------+------+
| 89887 | 89890 | 0      | 34   |
+-------+-------+--------+------+
| 89887 | 89891 | 0      | 34   |
+-------+-------+--------+------+
| 89887 | 89892 | 0      | 34   |
+-------+-------+--------+------+
| 89887 | 89893 | 0      | 33   |
+-------+-------+--------+------+
| 89887 | 89887 | 1.500  | 34   |
+-------+-------+--------+------+
| 89887 | 89888 | 3.200  | 0    |
+-------+-------+--------+------+
| 89887 | 89889 | 0      | 100  |
+-------+-------+--------+------+
| 89887 | 89890 | 45.700 | 33   |
+-------+-------+--------+------+
| 89887 | 89891 | 45.700 | 34   |
+-------+-------+--------+------+
| 89887 | 89892 | 45.600 | 34   |
+-------+-------+--------+------+
| 89887 | 89893 | 45.600 | 33   |
+-------+-------+--------+------+
13/04/2020 16:50:14             dut.10.240.183.162: stop
13/04/2020 16:50:14             dut.10.240.183.162: stop
Telling cores to stop...
Waiting for lcores to finish...

  ------- Forward Stats for RX Port= 0/Queue= 0 -> TX Port= 1/Queue= 0 -------
  RX-packets: 2              TX-packets: 2              TX-dropped: 0             

  ------- Forward Stats for RX Port= 1/Queue= 0 -> TX Port= 0/Queue= 0 -------
  RX-packets: 12578          TX-packets: 12578          TX-dropped: 0             

  ------- Forward Stats for RX Port= 0/Queue= 1 -> TX Port= 1/Queue= 1 -------
  RX-packets: 63553          TX-packets: 63553          TX-dropped: 0             

  ---------------------- Forward statistics for port 0  ----------------------
  RX-packets: 63624          RX-dropped: 0             RX-total: 63624
  TX-packets: 12578          TX-dropped: 0             TX-total: 12578
  ----------------------------------------------------------------------------

  ---------------------- Forward statistics for port 1  ----------------------
  RX-packets: 12650          RX-dropped: 0             RX-total: 12650
  RX-error: 74
  RX-nombufs: 0             
  TX-packets: 63555          TX-dropped: 0             TX-total: 63555
  ----------------------------------------------------------------------------

  +++++++++++++++ Accumulated forward statistics for all ports+++++++++++++++
  RX-packets: 76274          RX-dropped: 0             RX-total: 76274
  TX-packets: 76133          TX-dropped: 0             TX-total: 76133
  ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Done.
13/04/2020 16:50:14             dut.10.240.183.162: quit
13/04/2020 16:50:16             dut.10.240.183.162: quit

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

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

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

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

Bye...
13/04/2020 16:50:16            TestMultiplePthread: Test Case test_positive Result PASSED:
13/04/2020 16:50:16                         tester: ps -ef |grep /tmp/tester/scapy_ens2f0.cmd1586767794.0319328|grep -v grep
13/04/2020 16:50:16                         tester: root     18329 18312 99 16:50 pts/171  00:00:14 python3 /tmp/tester/scapy_ens2f0.cmd1586767794.0319328
13/04/2020 16:50:16                         tester: ps -ef |grep /tmp/tester/scapy_ens2f1.cmd1586767803.4496408|grep -v grep
13/04/2020 16:50:16                         tester: root     18614 18597 77 16:50 pts/173  00:00:03 python3 /tmp/tester/scapy_ens2f1.cmd1586767803.4496408
13/04/2020 16:50:16                         tester: kill -9 18329 18614
13/04/2020 16:50:16                         tester: 
13/04/2020 16:50:17             dut.10.240.183.162: kill_all: called by dut and has no prefix list.
13/04/2020 16:50:20            TestMultiplePthread: Rerun Test Case test_positive Begin
13/04/2020 16:50:20            TestMultiplePthread: Test Case test_positive Begin
13/04/2020 16:50:20             dut.10.240.183.162: 
13/04/2020 16:50:20                         tester: 
13/04/2020 16:50:20             dut.10.240.183.162: ./x86_64-native-linuxapp-gcc/app/testpmd --lcores="(28,127)@(29,30)" -n 4 -- -i
13/04/2020 16:50:21             dut.10.240.183.162: EAL: Detected 112 lcore(s)
EAL: Detected 2 NUMA nodes
EAL: Multi-process socket /var/run/dpdk/rte/mp_socket
EAL: Selected IOVA mode 'PA'
EAL: 1024 hugepages of size 2097152 reserved, but no mounted hugetlbfs found for that size
EAL: Probing VFIO support...
EAL: PCI device 0000:00:04.0 on NUMA socket 0
EAL:   probe driver: 8086:2021 rawdev_ioat
EAL: PCI device 0000:00:04.1 on NUMA socket 0
EAL:   probe driver: 8086:2021 rawdev_ioat
EAL: PCI device 0000:00:04.2 on NUMA socket 0
EAL:   probe driver: 8086:2021 rawdev_ioat
EAL: PCI device 0000:00:04.3 on NUMA socket 0
EAL:   probe driver: 8086:2021 rawdev_ioat
EAL: PCI device 0000:00:04.4 on NUMA socket 0
EAL:   probe driver: 8086:2021 rawdev_ioat
EAL: PCI device 0000:00:04.5 on NUMA socket 0
EAL:   probe driver: 8086:2021 rawdev_ioat
EAL: PCI device 0000:00:04.6 on NUMA socket 0
EAL:   probe driver: 8086:2021 rawdev_ioat
EAL: PCI device 0000:00:04.7 on NUMA socket 0
EAL:   probe driver: 8086:2021 rawdev_ioat
EAL: PCI device 0000:3d:00.0 on NUMA socket 0
EAL:   probe driver: 8086:37d2 net_i40e
EAL: PCI device 0000:3d:00.1 on NUMA socket 0
EAL:   probe driver: 8086:37d2 net_i40e
EAL: PCI device 0000:80:04.0 on NUMA socket 1
EAL:   probe driver: 8086:2021 rawdev_ioat
EAL: PCI device 0000:80:04.1 on NUMA socket 1
EAL:   probe driver: 8086:2021 rawdev_ioat
EAL: PCI device 0000:80:04.2 on NUMA socket 1
EAL:   probe driver: 8086:2021 rawdev_ioat
EAL: PCI device 0000:80:04.3 on NUMA socket 1
EAL:   probe driver: 8086:2021 rawdev_ioat
EAL: PCI device 0000:80:04.4 on NUMA socket 1
EAL:   probe driver: 8086:2021 rawdev_ioat
EAL: PCI device 0000:80:04.5 on NUMA socket 1
EAL:   probe driver: 8086:2021 rawdev_ioat
EAL: PCI device 0000:80:04.6 on NUMA socket 1
EAL:   probe driver: 8086:2021 rawdev_ioat
EAL: PCI device 0000:80:04.7 on NUMA socket 1
EAL:   probe driver: 8086:2021 rawdev_ioat
EAL: PCI device 0000:b1:00.0 on NUMA socket 1
EAL:   probe driver: 8086:37d0 net_i40e
EAL: PCI device 0000:b1:00.1 on NUMA socket 1
EAL:   probe driver: 8086:37d0 net_i40e
Interactive-mode selected
13/04/2020 16:50:23             dut.10.240.183.162: set corelist 127
13/04/2020 16:50:23             dut.10.240.183.162: set corelist 127
13/04/2020 16:50:23             dut.10.240.183.162: start
13/04/2020 16:50:23             dut.10.240.183.162: 
Port 0: link state change event
start
io packet forwarding - ports=2 - cores=1 - streams=2 - NUMA support enabled, MP allocation mode: native
Logical Core 127 (socket 1) forwards packets on 2 streams:
  RX P=0/Q=0 (socket 1) -> TX P=1/Q=0 (socket 1) peer=02:00:00:00:00:01
  RX P=1/Q=0 (socket 1) -> TX P=0/Q=0 (socket 1) peer=02:00:00:00:00:00

  io packet forwarding packets/burst=32
  nb forwarding cores=1 - nb forwarding ports=2
  port 0: RX queue number: 1 Tx queue number: 1
    Rx offloads=0x0 Tx offloads=0x10000
    RX queue: 0
      RX desc=256 - RX free threshold=32
      RX threshold registers: pthresh=8 hthresh=8  wthresh=0
      RX Offloads=0x0
    TX queue: 0
      TX desc=256 - TX free threshold=32
      TX threshold registers: pthresh=32 hthresh=0  wthresh=0
      TX offloads=0x10000 - TX RS bit threshold=32
  port 1: RX queue number: 1 Tx queue number: 1
    Rx offloads=0x0 Tx offloads=0x10000
    RX queue: 0
      RX desc=256 - RX free threshold=32
      RX threshold registers: pthresh=8 hthresh=8  wthresh=0
      RX Offloads=0x0
    TX queue: 0
      TX desc=256 - TX free threshold=32
      TX threshold registers: pthresh=32 hthresh=0  wthresh=0
      TX offloads=0x10000 - TX RS bit threshold=32
13/04/2020 16:50:23             dut.10.240.183.162: show config fwd
13/04/2020 16:50:23             dut.10.240.183.162: show config fwd
io packet forwarding - ports=2 - cores=1 - streams=2 - NUMA support enabled, MP allocation mode: native
Logical Core 127 (socket 1) forwards packets on 2 streams:
  RX P=0/Q=0 (socket 1) -> TX P=1/Q=0 (socket 1) peer=02:00:00:00:00:01
  RX P=1/Q=0 (socket 1) -> TX P=0/Q=0 (socket 1) peer=02:00:00:00:00:00

13/04/2020 16:50:25                         tester: scp -v /home/autoregression/jiangyu/dts/output/tmp/pcap/scapy_ens2f0.pcap1586767823.28201 root@10.240.183.154:/tmp/tester/
13/04/2020 16:50:27                         tester: scp -v /home/autoregression/jiangyu/dts/output/tmp/pcap/scapy_ens2f0.cmd1586767823.28201 root@10.240.183.154:/tmp/tester/
13/04/2020 16:50:34                         tester: scp -v /home/autoregression/jiangyu/dts/output/tmp/pcap/scapy_ens2f1.pcap1586767832.7157552 root@10.240.183.154:/tmp/tester/
13/04/2020 16:50:36                         tester: scp -v /home/autoregression/jiangyu/dts/output/tmp/pcap/scapy_ens2f1.cmd1586767832.7157552 root@10.240.183.154:/tmp/tester/
13/04/2020 16:50:43            TestMultiplePthread: 
+-------+-------+--------+------+
|  PID  |  TID  |  %CPU  | PSRF |
+=======+=======+========+======+
| 89990 | 89990 | 18.500 | 29   |
+-------+-------+--------+------+
| 89990 | 89991 | 60     | 93   |
+-------+-------+--------+------+
| 89990 | 89992 | 0      | 100  |
+-------+-------+--------+------+
| 89990 | 89993 | 0      | 30   |
+-------+-------+--------+------+
| 89990 | 89990 | 1.700  | 29   |
+-------+-------+--------+------+
| 89990 | 89991 | 10.800 | 1    |
+-------+-------+--------+------+
| 89990 | 89992 | 0      | 100  |
+-------+-------+--------+------+
| 89990 | 89993 | 87.800 | 30   |
+-------+-------+--------+------+
13/04/2020 16:50:43             dut.10.240.183.162: stop
13/04/2020 16:50:43             dut.10.240.183.162: stop
Telling cores to stop...
Waiting for lcores to finish...

  ---------------------- Forward statistics for port 0  ----------------------
  RX-packets: 65096          RX-dropped: 0             RX-total: 65096
  TX-packets: 12313          TX-dropped: 0             TX-total: 12313
  ----------------------------------------------------------------------------

  ---------------------- Forward statistics for port 1  ----------------------
  RX-packets: 12314          RX-dropped: 0             RX-total: 12314
  RX-error: 49
  RX-nombufs: 0             
  TX-packets: 65096          TX-dropped: 0             TX-total: 65096
  ----------------------------------------------------------------------------

  +++++++++++++++ Accumulated forward statistics for all ports+++++++++++++++
  RX-packets: 77410          RX-dropped: 0             RX-total: 77410
  TX-packets: 77409          TX-dropped: 0             TX-total: 77409
  ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Done.
13/04/2020 16:50:43             dut.10.240.183.162: quit
13/04/2020 16:50:45             dut.10.240.183.162: quit

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

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

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

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

Bye...
13/04/2020 16:50:45            TestMultiplePthread: Test Case test_positive Result PASSED:
13/04/2020 16:50:45                         tester: ps -ef |grep /tmp/tester/scapy_ens2f0.cmd1586767823.28201|grep -v grep
13/04/2020 16:50:45                         tester: root     18917 18899 99 16:50 pts/171  00:00:14 python3 /tmp/tester/scapy_ens2f0.cmd1586767823.28201
13/04/2020 16:50:45                         tester: ps -ef |grep /tmp/tester/scapy_ens2f1.cmd1586767832.7157552|grep -v grep
13/04/2020 16:50:45                         tester: root     19203 19186 77 16:50 pts/175  00:00:03 python3 /tmp/tester/scapy_ens2f1.cmd1586767832.7157552
13/04/2020 16:50:45                         tester: kill -9 18917 19203
13/04/2020 16:50:45                         tester: 
13/04/2020 16:50:46             dut.10.240.183.162: kill_all: called by dut and has no prefix list.
13/04/2020 16:52:40            TestMultiplePthread: Rerun Test Case test_positive Begin
13/04/2020 16:52:40            TestMultiplePthread: Test Case test_positive Begin
13/04/2020 16:52:40             dut.10.240.183.162: 
13/04/2020 16:52:40                         tester: 
13/04/2020 16:52:40             dut.10.240.183.162: ./x86_64-native-linuxapp-gcc/app/testpmd --lcores="(28,29,30,31)@(32,33)" -n 4 -- -i --txq=3 --rxq=3
13/04/2020 16:52:41             dut.10.240.183.162: EAL: Detected 112 lcore(s)
EAL: Detected 2 NUMA nodes
EAL: Multi-process socket /var/run/dpdk/rte/mp_socket
EAL: Selected IOVA mode 'PA'
EAL: 1024 hugepages of size 2097152 reserved, but no mounted hugetlbfs found for that size
EAL: Probing VFIO support...
EAL: PCI device 0000:00:04.0 on NUMA socket 0
EAL:   probe driver: 8086:2021 rawdev_ioat
EAL: PCI device 0000:00:04.1 on NUMA socket 0
EAL:   probe driver: 8086:2021 rawdev_ioat
EAL: PCI device 0000:00:04.2 on NUMA socket 0
EAL:   probe driver: 8086:2021 rawdev_ioat
EAL: PCI device 0000:00:04.3 on NUMA socket 0
EAL:   probe driver: 8086:2021 rawdev_ioat
EAL: PCI device 0000:00:04.4 on NUMA socket 0
EAL:   probe driver: 8086:2021 rawdev_ioat
EAL: PCI device 0000:00:04.5 on NUMA socket 0
EAL:   probe driver: 8086:2021 rawdev_ioat
EAL: PCI device 0000:00:04.6 on NUMA socket 0
EAL:   probe driver: 8086:2021 rawdev_ioat
EAL: PCI device 0000:00:04.7 on NUMA socket 0
EAL:   probe driver: 8086:2021 rawdev_ioat
EAL: PCI device 0000:3d:00.0 on NUMA socket 0
EAL:   probe driver: 8086:37d2 net_i40e
EAL: PCI device 0000:3d:00.1 on NUMA socket 0
EAL:   probe driver: 8086:37d2 net_i40e
EAL: PCI device 0000:80:04.0 on NUMA socket 1
EAL:   probe driver: 8086:2021 rawdev_ioat
EAL: PCI device 0000:80:04.1 on NUMA socket 1
EAL:   probe driver: 8086:2021 rawdev_ioat
EAL: PCI device 0000:80:04.2 on NUMA socket 1
EAL:   probe driver: 8086:2021 rawdev_ioat
EAL: PCI device 0000:80:04.3 on NUMA socket 1
EAL:   probe driver: 8086:2021 rawdev_ioat
EAL: PCI device 0000:80:04.4 on NUMA socket 1
EAL:   probe driver: 8086:2021 rawdev_ioat
EAL: PCI device 0000:80:04.5 on NUMA socket 1
EAL:   probe driver: 8086:2021 rawdev_ioat
EAL: PCI device 0000:80:04.6 on NUMA socket 1
EAL:   probe driver: 8086:2021 rawdev_ioat
EAL: PCI device 0000:80:04.7 on NUMA socket 1
EAL:   probe driver: 8086:2021 rawdev_ioat
EAL: PCI device 0000:b1:00.0 on NUMA socket 1
EAL:   probe driver: 8086:37d0 net_i40e
EAL: PCI device 0000:b1:00.1 on NUMA socket 1
EAL:   probe driver: 8086:37d0 net_i40e
Interactive-mode selected
13/04/2020 16:52:43             dut.10.240.183.162: set corelist 29,30,31
13/04/2020 16:52:43             dut.10.240.183.162: set corelist 29,30,31
previous number of forwarding cores 1 - changed to number of configured cores 3
13/04/2020 16:52:43             dut.10.240.183.162: start
13/04/2020 16:52:43             dut.10.240.183.162: start

Port 0: link state change event
io packet forwarding - ports=2 - cores=3 - streams=6 - NUMA support enabled, MP allocation mode: native
Logical Core 29 (socket 1) forwards packets on 2 streams:
  RX P=0/Q=0 (socket 1) -> TX P=1/Q=0 (socket 1) peer=02:00:00:00:00:01
  RX P=1/Q=0 (socket 1) -> TX P=0/Q=0 (socket 1) peer=02:00:00:00:00:00
Logical Core 30 (socket 1) forwards packets on 2 streams:
  RX P=0/Q=1 (socket 1) -> TX P=1/Q=1 (socket 1) peer=02:00:00:00:00:01
  RX P=1/Q=1 (socket 1) -> TX P=0/Q=1 (socket 1) peer=02:00:00:00:00:00
Logical Core 31 (socket 1) forwards packets on 2 streams:
  RX P=0/Q=2 (socket 1) -> TX P=1/Q=2 (socket 1) peer=02:00:00:00:00:01
  RX P=1/Q=2 (socket 1) -> TX P=0/Q=2 (socket 1) peer=02:00:00:00:00:00

  io packet forwarding packets/burst=32
  nb forwarding cores=3 - nb forwarding ports=2
  port 0: RX queue number: 3 Tx queue number: 3
    Rx offloads=0x0 Tx offloads=0x10000
    RX queue: 0
      RX desc=256 - RX free threshold=32
      RX threshold registers: pthresh=8 hthresh=8  wthresh=0
      RX Offloads=0x0
    TX queue: 0
      TX desc=256 - TX free threshold=32
      TX threshold registers: pthresh=32 hthresh=0  wthresh=0
      TX offloads=0x10000 - TX RS bit threshold=32
  port 1: RX queue number: 3 Tx queue number: 3
    Rx offloads=0x0 Tx offloads=0x10000
    RX queue: 0
      RX desc=256 - RX free threshold=32
      RX threshold registers: pthresh=8 hthresh=8  wthresh=0
      RX Offloads=0x0
    TX queue: 0
      TX desc=256 - TX free threshold=32
      TX threshold registers: pthresh=32 hthresh=0  wthresh=0
      TX offloads=0x10000 - TX RS bit threshold=32
13/04/2020 16:52:43             dut.10.240.183.162: show config fwd
13/04/2020 16:52:43             dut.10.240.183.162: show config fwd
io packet forwarding - ports=2 - cores=3 - streams=6 - NUMA support enabled, MP allocation mode: native
Logical Core 29 (socket 1) forwards packets on 2 streams:
  RX P=0/Q=0 (socket 1) -> TX P=1/Q=0 (socket 1) peer=02:00:00:00:00:01
  RX P=1/Q=0 (socket 1) -> TX P=0/Q=0 (socket 1) peer=02:00:00:00:00:00
Logical Core 30 (socket 1) forwards packets on 2 streams:
  RX P=0/Q=1 (socket 1) -> TX P=1/Q=1 (socket 1) peer=02:00:00:00:00:01
  RX P=1/Q=1 (socket 1) -> TX P=0/Q=1 (socket 1) peer=02:00:00:00:00:00
Logical Core 31 (socket 1) forwards packets on 2 streams:
  RX P=0/Q=2 (socket 1) -> TX P=1/Q=2 (socket 1) peer=02:00:00:00:00:01
  RX P=1/Q=2 (socket 1) -> TX P=0/Q=2 (socket 1) peer=02:00:00:00:00:00

13/04/2020 16:52:45                         tester: scp -v /home/autoregression/jiangyu/dts/output/tmp/pcap/scapy_ens2f0.pcap1586767963.4929378 root@10.240.183.154:/tmp/tester/
13/04/2020 16:52:47                         tester: scp -v /home/autoregression/jiangyu/dts/output/tmp/pcap/scapy_ens2f0.cmd1586767963.4929378 root@10.240.183.154:/tmp/tester/
13/04/2020 16:52:55                         tester: scp -v /home/autoregression/jiangyu/dts/output/tmp/pcap/scapy_ens2f1.pcap1586767972.9649174 root@10.240.183.154:/tmp/tester/
13/04/2020 16:52:57                         tester: scp -v /home/autoregression/jiangyu/dts/output/tmp/pcap/scapy_ens2f1.cmd1586767972.9649174 root@10.240.183.154:/tmp/tester/
13/04/2020 16:53:04            TestMultiplePthread: 
+-------+-------+--------+------+
|  PID  |  TID  |  %CPU  | PSRF |
+=======+=======+========+======+
| 90118 | 90118 | 19.500 | 32   |
+-------+-------+--------+------+
| 90118 | 90119 | 59     | 39   |
+-------+-------+--------+------+
| 90118 | 90120 | 0      | 17   |
+-------+-------+--------+------+
| 90118 | 90121 | 0      | 33   |
+-------+-------+--------+------+
| 90118 | 90122 | 0      | 32   |
+-------+-------+--------+------+
| 90118 | 90123 | 0      | 32   |
+-------+-------+--------+------+
| 90118 | 90118 | 1.700  | 32   |
+-------+-------+--------+------+
| 90118 | 90119 | 11.500 | 0    |
+-------+-------+--------+------+
| 90118 | 90120 | 0      | 17   |
+-------+-------+--------+------+
| 90118 | 90121 | 87.800 | 33   |
+-------+-------+--------+------+
| 90118 | 90122 | 43.800 | 32   |
+-------+-------+--------+------+
| 90118 | 90123 | 43.900 | 32   |
+-------+-------+--------+------+
13/04/2020 16:53:04             dut.10.240.183.162: stop
13/04/2020 16:53:04             dut.10.240.183.162: stop
Telling cores to stop...
Waiting for lcores to finish...

  ------- Forward Stats for RX Port= 0/Queue= 0 -> TX Port= 1/Queue= 0 -------
  RX-packets: 64836          TX-packets: 64836          TX-dropped: 0             

  ------- Forward Stats for RX Port= 1/Queue= 0 -> TX Port= 0/Queue= 0 -------
  RX-packets: 12332          TX-packets: 12332          TX-dropped: 0             

  ---------------------- Forward statistics for port 0  ----------------------
  RX-packets: 64841          RX-dropped: 0             RX-total: 64841
  TX-packets: 12332          TX-dropped: 0             TX-total: 12332
  ----------------------------------------------------------------------------

  ---------------------- Forward statistics for port 1  ----------------------
  RX-packets: 12337          RX-dropped: 0             RX-total: 12337
  RX-error: 100
  RX-nombufs: 0             
  TX-packets: 64836          TX-dropped: 0             TX-total: 64836
  ----------------------------------------------------------------------------

  +++++++++++++++ Accumulated forward statistics for all ports+++++++++++++++
  RX-packets: 77178          RX-dropped: 0             RX-total: 77178
  TX-packets: 77168          TX-dropped: 0             TX-total: 77168
  ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Done.
13/04/2020 16:53:04             dut.10.240.183.162: quit
13/04/2020 16:53:05             dut.10.240.183.162: quit

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

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

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

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

Bye...
13/04/2020 16:53:05            TestMultiplePthread: Test Case test_positive Result PASSED:
13/04/2020 16:53:05                         tester: ps -ef |grep /tmp/tester/scapy_ens2f0.cmd1586767963.4929378|grep -v grep
13/04/2020 16:53:06                         tester: root     19682 19664 99 16:52 pts/174  00:00:14 python3 /tmp/tester/scapy_ens2f0.cmd1586767963.4929378
13/04/2020 16:53:06                         tester: ps -ef |grep /tmp/tester/scapy_ens2f1.cmd1586767972.9649174|grep -v grep
13/04/2020 16:53:06                         tester: root     19965 19948 77 16:53 pts/176  00:00:03 python3 /tmp/tester/scapy_ens2f1.cmd1586767972.9649174
13/04/2020 16:53:06                         tester: kill -9 19682 19965
13/04/2020 16:53:06                         tester: 
13/04/2020 16:53:06             dut.10.240.183.162: kill_all: called by dut and has no prefix list.
13/04/2020 16:55:57            TestMultiplePthread: Rerun Test Case test_positive Begin
13/04/2020 16:55:57            TestMultiplePthread: Test Case test_positive Begin
13/04/2020 16:55:57             dut.10.240.183.162: 
13/04/2020 16:55:57                         tester: 
13/04/2020 16:55:57             dut.10.240.183.162: ./x86_64-native-linuxapp-gcc/app/testpmd --lcores="28@29,(30,31)@(32,33,34,35)" -n 4 -- -i
13/04/2020 16:55:58             dut.10.240.183.162: EAL: Detected 112 lcore(s)
EAL: Detected 2 NUMA nodes
EAL: Multi-process socket /var/run/dpdk/rte/mp_socket
EAL: Selected IOVA mode 'PA'
EAL: 1024 hugepages of size 2097152 reserved, but no mounted hugetlbfs found for that size
EAL: Probing VFIO support...
EAL: PCI device 0000:00:04.0 on NUMA socket 0
EAL:   probe driver: 8086:2021 rawdev_ioat
EAL: PCI device 0000:00:04.1 on NUMA socket 0
EAL:   probe driver: 8086:2021 rawdev_ioat
EAL: PCI device 0000:00:04.2 on NUMA socket 0
EAL:   probe driver: 8086:2021 rawdev_ioat
EAL: PCI device 0000:00:04.3 on NUMA socket 0
EAL:   probe driver: 8086:2021 rawdev_ioat
EAL: PCI device 0000:00:04.4 on NUMA socket 0
EAL:   probe driver: 8086:2021 rawdev_ioat
EAL: PCI device 0000:00:04.5 on NUMA socket 0
EAL:   probe driver: 8086:2021 rawdev_ioat
EAL: PCI device 0000:00:04.6 on NUMA socket 0
EAL:   probe driver: 8086:2021 rawdev_ioat
EAL: PCI device 0000:00:04.7 on NUMA socket 0
EAL:   probe driver: 8086:2021 rawdev_ioat
EAL: PCI device 0000:3d:00.0 on NUMA socket 0
EAL:   probe driver: 8086:37d2 net_i40e
EAL: PCI device 0000:3d:00.1 on NUMA socket 0
EAL:   probe driver: 8086:37d2 net_i40e
EAL: PCI device 0000:80:04.0 on NUMA socket 1
EAL:   probe driver: 8086:2021 rawdev_ioat
EAL: PCI device 0000:80:04.1 on NUMA socket 1
EAL:   probe driver: 8086:2021 rawdev_ioat
EAL: PCI device 0000:80:04.2 on NUMA socket 1
EAL:   probe driver: 8086:2021 rawdev_ioat
EAL: PCI device 0000:80:04.3 on NUMA socket 1
EAL:   probe driver: 8086:2021 rawdev_ioat
EAL: PCI device 0000:80:04.4 on NUMA socket 1
EAL:   probe driver: 8086:2021 rawdev_ioat
EAL: PCI device 0000:80:04.5 on NUMA socket 1
EAL:   probe driver: 8086:2021 rawdev_ioat
EAL: PCI device 0000:80:04.6 on NUMA socket 1
EAL:   probe driver: 8086:2021 rawdev_ioat
EAL: PCI device 0000:80:04.7 on NUMA socket 1
EAL:   probe driver: 8086:2021 rawdev_ioat
EAL: PCI device 0000:b1:00.0 on NUMA socket 1
EAL:   probe driver: 8086:37d0 net_i40e
EAL: PCI device 0000:b1:00.1 on NUMA socket 1
EAL:   probe driver: 8086:37d0 net_i40e
Interactive-mode selected
13/04/2020 16:56:00             dut.10.240.183.162: set corelist 30,31
13/04/2020 16:56:00             dut.10.240.183.162: set corelist 30,31
previous number of forwarding cores 1 - changed to number of configured cores 2
13/04/2020 16:56:00             dut.10.240.183.162: start
13/04/2020 16:56:00             dut.10.240.183.162: start

Port 0: link state change event
io packet forwarding - ports=2 - cores=2 - streams=2 - NUMA support enabled, MP allocation mode: native
Logical Core 30 (socket 1) forwards packets on 1 streams:
  RX P=0/Q=0 (socket 1) -> TX P=1/Q=0 (socket 1) peer=02:00:00:00:00:01
Logical Core 31 (socket 1) forwards packets on 1 streams:
  RX P=1/Q=0 (socket 1) -> TX P=0/Q=0 (socket 1) peer=02:00:00:00:00:00

  io packet forwarding packets/burst=32
  nb forwarding cores=2 - nb forwarding ports=2
  port 0: RX queue number: 1 Tx queue number: 1
    Rx offloads=0x0 Tx offloads=0x10000
    RX queue: 0
      RX desc=256 - RX free threshold=32
      RX threshold registers: pthresh=8 hthresh=8  wthresh=0
      RX Offloads=0x0
    TX queue: 0
      TX desc=256 - TX free threshold=32
      TX threshold registers: pthresh=32 hthresh=0  wthresh=0
      TX offloads=0x10000 - TX RS bit threshold=32
  port 1: RX queue number: 1 Tx queue number: 1
    Rx offloads=0x0 Tx offloads=0x10000
    RX queue: 0
      RX desc=256 - RX free threshold=32
      RX threshold registers: pthresh=8 hthresh=8  wthresh=0
      RX Offloads=0x0
    TX queue: 0
      TX desc=256 - TX free threshold=32
      TX threshold registers: pthresh=32 hthresh=0  wthresh=0
      TX offloads=0x10000 - TX RS bit threshold=32
13/04/2020 16:56:00             dut.10.240.183.162: show config fwd
13/04/2020 16:56:00             dut.10.240.183.162: show config fwd
io packet forwarding - ports=2 - cores=2 - streams=2 - NUMA support enabled, MP allocation mode: native
Logical Core 30 (socket 1) forwards packets on 1 streams:
  RX P=0/Q=0 (socket 1) -> TX P=1/Q=0 (socket 1) peer=02:00:00:00:00:01
Logical Core 31 (socket 1) forwards packets on 1 streams:
  RX P=1/Q=0 (socket 1) -> TX P=0/Q=0 (socket 1) peer=02:00:00:00:00:00

13/04/2020 16:56:02                         tester: scp -v /home/autoregression/jiangyu/dts/output/tmp/pcap/scapy_ens2f0.pcap1586768160.2844195 root@10.240.183.154:/tmp/tester/
13/04/2020 16:56:04                         tester: scp -v /home/autoregression/jiangyu/dts/output/tmp/pcap/scapy_ens2f0.cmd1586768160.2844195 root@10.240.183.154:/tmp/tester/
13/04/2020 16:56:11                         tester: scp -v /home/autoregression/jiangyu/dts/output/tmp/pcap/scapy_ens2f1.pcap1586768169.7096908 root@10.240.183.154:/tmp/tester/
13/04/2020 16:56:13                         tester: scp -v /home/autoregression/jiangyu/dts/output/tmp/pcap/scapy_ens2f1.cmd1586768169.7096908 root@10.240.183.154:/tmp/tester/
13/04/2020 16:56:20            TestMultiplePthread: 
+-------+-------+--------+------+
|  PID  |  TID  |  %CPU  | PSRF |
+=======+=======+========+======+
| 90795 | 90795 | 19     | 29   |
+-------+-------+--------+------+
| 90795 | 90796 | 60     | 42   |
+-------+-------+--------+------+
| 90795 | 90797 | 0      | 17   |
+-------+-------+--------+------+
| 90795 | 90798 | 0      | 32   |
+-------+-------+--------+------+
| 90795 | 90799 | 0      | 32   |
+-------+-------+--------+------+
| 90795 | 90795 | 1.700  | 29   |
+-------+-------+--------+------+
| 90795 | 90796 | 10.900 | 1    |
+-------+-------+--------+------+
| 90795 | 90797 | 0      | 17   |
+-------+-------+--------+------+
| 90795 | 90798 | 87.400 | 32   |
+-------+-------+--------+------+
| 90795 | 90799 | 87.400 | 33   |
+-------+-------+--------+------+
13/04/2020 16:56:20             dut.10.240.183.162: stop
13/04/2020 16:56:20             dut.10.240.183.162: stop
Telling cores to stop...
Waiting for lcores to finish...

  ---------------------- Forward statistics for port 0  ----------------------
  RX-packets: 63838          RX-dropped: 0             RX-total: 63838
  TX-packets: 12044          TX-dropped: 0             TX-total: 12044
  ----------------------------------------------------------------------------

  ---------------------- Forward statistics for port 1  ----------------------
  RX-packets: 12045          RX-dropped: 0             RX-total: 12045
  RX-error: 87
  RX-nombufs: 0             
  TX-packets: 63838          TX-dropped: 0             TX-total: 63838
  ----------------------------------------------------------------------------

  +++++++++++++++ Accumulated forward statistics for all ports+++++++++++++++
  RX-packets: 75883          RX-dropped: 0             RX-total: 75883
  TX-packets: 75882          TX-dropped: 0             TX-total: 75882
  ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Done.
13/04/2020 16:56:20             dut.10.240.183.162: quit
13/04/2020 16:56:22             dut.10.240.183.162: quit

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

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

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

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

Bye...
13/04/2020 16:56:22            TestMultiplePthread: Test Case test_positive Result PASSED:
13/04/2020 16:56:22                         tester: ps -ef |grep /tmp/tester/scapy_ens2f0.cmd1586768160.2844195|grep -v grep
13/04/2020 16:56:22                         tester: root     20286 20269 99 16:56 pts/171  00:00:14 python3 /tmp/tester/scapy_ens2f0.cmd1586768160.2844195
13/04/2020 16:56:22                         tester: ps -ef |grep /tmp/tester/scapy_ens2f1.cmd1586768169.7096908|grep -v grep
13/04/2020 16:56:22                         tester: root     20570 20553 76 16:56 pts/176  00:00:03 python3 /tmp/tester/scapy_ens2f1.cmd1586768169.7096908
13/04/2020 16:56:22                         tester: kill -9 20286 20570
13/04/2020 16:56:22                         tester: 
13/04/2020 16:56:23             dut.10.240.183.162: kill_all: called by dut and has no prefix list.
13/04/2020 16:57:21            TestMultiplePthread: Rerun Test Case test_positive Begin
13/04/2020 16:57:21            TestMultiplePthread: Test Case test_positive Begin
13/04/2020 16:57:21             dut.10.240.183.162: 
13/04/2020 16:57:21                         tester: 
13/04/2020 16:57:21             dut.10.240.183.162: ./x86_64-native-linuxapp-gcc/app/testpmd --lcores="28,29@(28,29,30,31,32,33),(30,31,33)@32,(34,35)" -n 4 -- -i --txq=4 --rxq=4
13/04/2020 16:57:21             dut.10.240.183.162: EAL: Detected 112 lcore(s)
EAL: Detected 2 NUMA nodes
EAL: Multi-process socket /var/run/dpdk/rte/mp_socket
EAL: Selected IOVA mode 'PA'
EAL: 1024 hugepages of size 2097152 reserved, but no mounted hugetlbfs found for that size
EAL: Probing VFIO support...
EAL: PCI device 0000:00:04.0 on NUMA socket 0
EAL:   probe driver: 8086:2021 rawdev_ioat
EAL: PCI device 0000:00:04.1 on NUMA socket 0
EAL:   probe driver: 8086:2021 rawdev_ioat
EAL: PCI device 0000:00:04.2 on NUMA socket 0
EAL:   probe driver: 8086:2021 rawdev_ioat
EAL: PCI device 0000:00:04.3 on NUMA socket 0
EAL:   probe driver: 8086:2021 rawdev_ioat
EAL: PCI device 0000:00:04.4 on NUMA socket 0
EAL:   probe driver: 8086:2021 rawdev_ioat
EAL: PCI device 0000:00:04.5 on NUMA socket 0
EAL:   probe driver: 8086:2021 rawdev_ioat
EAL: PCI device 0000:00:04.6 on NUMA socket 0
EAL:   probe driver: 8086:2021 rawdev_ioat
EAL: PCI device 0000:00:04.7 on NUMA socket 0
EAL:   probe driver: 8086:2021 rawdev_ioat
EAL: PCI device 0000:3d:00.0 on NUMA socket 0
EAL:   probe driver: 8086:37d2 net_i40e
EAL: PCI device 0000:3d:00.1 on NUMA socket 0
EAL:   probe driver: 8086:37d2 net_i40e
EAL: PCI device 0000:80:04.0 on NUMA socket 1
EAL:   probe driver: 8086:2021 rawdev_ioat
EAL: PCI device 0000:80:04.1 on NUMA socket 1
EAL:   probe driver: 8086:2021 rawdev_ioat
EAL: PCI device 0000:80:04.2 on NUMA socket 1
EAL:   probe driver: 8086:2021 rawdev_ioat
EAL: PCI device 0000:80:04.3 on NUMA socket 1
EAL:   probe driver: 8086:2021 rawdev_ioat
EAL: PCI device 0000:80:04.4 on NUMA socket 1
EAL:   probe driver: 8086:2021 rawdev_ioat
EAL: PCI device 0000:80:04.5 on NUMA socket 1
EAL:   probe driver: 8086:2021 rawdev_ioat
EAL: PCI device 0000:80:04.6 on NUMA socket 1
EAL:   probe driver: 8086:2021 rawdev_ioat
EAL: PCI device 0000:80:04.7 on NUMA socket 1
EAL:   probe driver: 8086:2021 rawdev_ioat
EAL: PCI device 0000:b1:00.0 on NUMA socket 1
EAL:   probe driver: 8086:37d0 net_i40e
EAL: PCI device 0000:b1:00.1 on NUMA socket 1
EAL:   probe driver: 8086:37d0 net_i40e
Interactive-mode selected
13/04/2020 16:57:23             dut.10.240.183.162: set corelist 29,30,31,33
13/04/2020 16:57:23             dut.10.240.183.162: set corelist 29,30,31,33
previous number of forwarding cores 1 - changed to number of configured cores 4
13/04/2020 16:57:23             dut.10.240.183.162: start
13/04/2020 16:57:23             dut.10.240.183.162: start

Port 0: link state change event
io packet forwarding - ports=2 - cores=4 - streams=8 - NUMA support enabled, MP allocation mode: native
Logical Core 29 (socket 1) forwards packets on 2 streams:
  RX P=0/Q=0 (socket 1) -> TX P=1/Q=0 (socket 1) peer=02:00:00:00:00:01
  RX P=1/Q=0 (socket 1) -> TX P=0/Q=0 (socket 1) peer=02:00:00:00:00:00
Logical Core 30 (socket 1) forwards packets on 2 streams:
  RX P=0/Q=1 (socket 1) -> TX P=1/Q=1 (socket 1) peer=02:00:00:00:00:01
  RX P=1/Q=1 (socket 1) -> TX P=0/Q=1 (socket 1) peer=02:00:00:00:00:00
Logical Core 31 (socket 1) forwards packets on 2 streams:
  RX P=0/Q=2 (socket 1) -> TX P=1/Q=2 (socket 1) peer=02:00:00:00:00:01
  RX P=1/Q=2 (socket 1) -> TX P=0/Q=2 (socket 1) peer=02:00:00:00:00:00
Logical Core 33 (socket 1) forwards packets on 2 streams:
  RX P=0/Q=3 (socket 1) -> TX P=1/Q=3 (socket 1) peer=02:00:00:00:00:01
  RX P=1/Q=3 (socket 1) -> TX P=0/Q=3 (socket 1) peer=02:00:00:00:00:00

  io packet forwarding packets/burst=32
  nb forwarding cores=4 - nb forwarding ports=2
  port 0: RX queue number: 4 Tx queue number: 4
    Rx offloads=0x0 Tx offloads=0x10000
    RX queue: 0
      RX desc=256 - RX free threshold=32
      RX threshold registers: pthresh=8 hthresh=8  wthresh=0
      RX Offloads=0x0
    TX queue: 0
      TX desc=256 - TX free threshold=32
      TX threshold registers: pthresh=32 hthresh=0  wthresh=0
      TX offloads=0x10000 - TX RS bit threshold=32
  port 1: RX queue number: 4 Tx queue number: 4
    Rx offloads=0x0 Tx offloads=0x10000
    RX queue: 0
      RX desc=256 - RX free threshold=32
      RX threshold registers: pthresh=8 hthresh=8  wthresh=0
      RX Offloads=0x0
    TX queue: 0
      TX desc=256 - TX free threshold=32
      TX threshold registers: pthresh=32 hthresh=0  wthresh=0
      TX offloads=0x10000 - TX RS bit threshold=32
13/04/2020 16:57:23             dut.10.240.183.162: show config fwd
13/04/2020 16:57:23             dut.10.240.183.162: show config fwd
io packet forwarding - ports=2 - cores=4 - streams=8 - NUMA support enabled, MP allocation mode: native
Logical Core 29 (socket 1) forwards packets on 2 streams:
  RX P=0/Q=0 (socket 1) -> TX P=1/Q=0 (socket 1) peer=02:00:00:00:00:01
  RX P=1/Q=0 (socket 1) -> TX P=0/Q=0 (socket 1) peer=02:00:00:00:00:00
Logical Core 30 (socket 1) forwards packets on 2 streams:
  RX P=0/Q=1 (socket 1) -> TX P=1/Q=1 (socket 1) peer=02:00:00:00:00:01
  RX P=1/Q=1 (socket 1) -> TX P=0/Q=1 (socket 1) peer=02:00:00:00:00:00
Logical Core 31 (socket 1) forwards packets on 2 streams:
  RX P=0/Q=2 (socket 1) -> TX P=1/Q=2 (socket 1) peer=02:00:00:00:00:01
  RX P=1/Q=2 (socket 1) -> TX P=0/Q=2 (socket 1) peer=02:00:00:00:00:00
Logical Core 33 (socket 1) forwards packets on 2 streams:
  RX P=0/Q=3 (socket 1) -> TX P=1/Q=3 (socket 1) peer=02:00:00:00:00:01
  RX P=1/Q=3 (socket 1) -> TX P=0/Q=3 (socket 1) peer=02:00:00:00:00:00

13/04/2020 16:57:25                         tester: scp -v /home/autoregression/jiangyu/dts/output/tmp/pcap/scapy_ens2f0.pcap1586768243.8248186 root@10.240.183.154:/tmp/tester/
13/04/2020 16:57:27                         tester: scp -v /home/autoregression/jiangyu/dts/output/tmp/pcap/scapy_ens2f0.cmd1586768243.8248186 root@10.240.183.154:/tmp/tester/
13/04/2020 16:57:35                         tester: scp -v /home/autoregression/jiangyu/dts/output/tmp/pcap/scapy_ens2f1.pcap1586768253.251553 root@10.240.183.154:/tmp/tester/
13/04/2020 16:57:37                         tester: scp -v /home/autoregression/jiangyu/dts/output/tmp/pcap/scapy_ens2f1.cmd1586768253.251553 root@10.240.183.154:/tmp/tester/
13/04/2020 16:57:44            TestMultiplePthread: 
+-------+-------+--------+------+
|  PID  |  TID  |  %CPU  | PSRF |
+=======+=======+========+======+
| 91011 | 91011 | 21     | 28   |
+-------+-------+--------+------+
| 91011 | 91012 | 59.500 | 99   |
+-------+-------+--------+------+
| 91011 | 91013 | 0      | 73   |
+-------+-------+--------+------+
| 91011 | 91014 | 0      | 28   |
+-------+-------+--------+------+
| 91011 | 91015 | 0      | 32   |
+-------+-------+--------+------+
| 91011 | 91016 | 0      | 32   |
+-------+-------+--------+------+
| 91011 | 91017 | 0      | 32   |
+-------+-------+--------+------+
| 91011 | 91018 | 0      | 34   |
+-------+-------+--------+------+
| 91011 | 91019 | 0      | 34   |
+-------+-------+--------+------+
| 91011 | 91011 | 2      | 28   |
+-------+-------+--------+------+
| 91011 | 91012 | 11.300 | 56   |
+-------+-------+--------+------+
| 91011 | 91013 | 0      | 73   |
+-------+-------+--------+------+
| 91011 | 91014 | 91.400 | 29   |
+-------+-------+--------+------+
| 91011 | 91015 | 30.500 | 32   |
+-------+-------+--------+------+
| 91011 | 91016 | 30.400 | 32   |
+-------+-------+--------+------+
| 91011 | 91017 | 30.500 | 32   |
+-------+-------+--------+------+
| 91011 | 91018 | 0      | 34   |
+-------+-------+--------+------+
| 91011 | 91019 | 0      | 34   |
+-------+-------+--------+------+
13/04/2020 16:57:44             dut.10.240.183.162: stop
13/04/2020 16:57:44             dut.10.240.183.162: stop
Telling cores to stop...
Waiting for lcores to finish...

  ------- Forward Stats for RX Port= 0/Queue= 0 -> TX Port= 1/Queue= 0 -------
  RX-packets: 2              TX-packets: 2              TX-dropped: 0             

  ------- Forward Stats for RX Port= 1/Queue= 0 -> TX Port= 0/Queue= 0 -------
  RX-packets: 11579          TX-packets: 11579          TX-dropped: 0             

  ------- Forward Stats for RX Port= 0/Queue= 1 -> TX Port= 1/Queue= 1 -------
  RX-packets: 64494          TX-packets: 64494          TX-dropped: 0             

  ---------------------- Forward statistics for port 0  ----------------------
  RX-packets: 64507          RX-dropped: 0             RX-total: 64507
  TX-packets: 11579          TX-dropped: 0             TX-total: 11579
  ----------------------------------------------------------------------------

  ---------------------- Forward statistics for port 1  ----------------------
  RX-packets: 11580          RX-dropped: 0             RX-total: 11580
  RX-error: 112
  RX-nombufs: 0             
  TX-packets: 64496          TX-dropped: 0             TX-total: 64496
  ----------------------------------------------------------------------------

  +++++++++++++++ Accumulated forward statistics for all ports+++++++++++++++
  RX-packets: 76087          RX-dropped: 0             RX-total: 76087
  TX-packets: 76075          TX-dropped: 0             TX-total: 76075
  ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Done.
13/04/2020 16:57:44             dut.10.240.183.162: quit
13/04/2020 16:57:46             dut.10.240.183.162: quit

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

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

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

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

Bye...
13/04/2020 16:57:46            TestMultiplePthread: Test Case test_positive Result PASSED:
13/04/2020 16:57:46                         tester: ps -ef |grep /tmp/tester/scapy_ens2f0.cmd1586768243.8248186|grep -v grep
13/04/2020 16:57:46                         tester: root     21447 21430 99 16:57 pts/171  00:00:14 python3 /tmp/tester/scapy_ens2f0.cmd1586768243.8248186
13/04/2020 16:57:46                         tester: ps -ef |grep /tmp/tester/scapy_ens2f1.cmd1586768253.251553|grep -v grep
13/04/2020 16:57:46                         tester: root     21735 21718 77 16:57 pts/176  00:00:03 python3 /tmp/tester/scapy_ens2f1.cmd1586768253.251553
13/04/2020 16:57:46                         tester: kill -9 21447 21735
13/04/2020 16:57:46                         tester: 
13/04/2020 16:57:47             dut.10.240.183.162: kill_all: called by dut and has no prefix list.
13/04/2020 17:05:25            TestMultiplePthread: Rerun Test Case test_positive Begin
13/04/2020 17:05:25            TestMultiplePthread: Test Case test_positive Begin
13/04/2020 17:05:25             dut.10.240.183.162: 
13/04/2020 17:05:25                         tester: 
13/04/2020 17:05:25             dut.10.240.183.162: ./x86_64-native-linuxapp-gcc/app/testpmd --lcores="28,(29,30,31)@32" -n 4 -- -i --txq=3 --rxq=3
13/04/2020 17:05:25             dut.10.240.183.162: EAL: Detected 112 lcore(s)
EAL: Detected 2 NUMA nodes
EAL: Multi-process socket /var/run/dpdk/rte/mp_socket
EAL: Selected IOVA mode 'PA'
EAL: 1024 hugepages of size 2097152 reserved, but no mounted hugetlbfs found for that size
EAL: Probing VFIO support...
EAL: PCI device 0000:00:04.0 on NUMA socket 0
EAL:   probe driver: 8086:2021 rawdev_ioat
EAL: PCI device 0000:00:04.1 on NUMA socket 0
EAL:   probe driver: 8086:2021 rawdev_ioat
EAL: PCI device 0000:00:04.2 on NUMA socket 0
EAL:   probe driver: 8086:2021 rawdev_ioat
EAL: PCI device 0000:00:04.3 on NUMA socket 0
EAL:   probe driver: 8086:2021 rawdev_ioat
EAL: PCI device 0000:00:04.4 on NUMA socket 0
EAL:   probe driver: 8086:2021 rawdev_ioat
EAL: PCI device 0000:00:04.5 on NUMA socket 0
EAL:   probe driver: 8086:2021 rawdev_ioat
EAL: PCI device 0000:00:04.6 on NUMA socket 0
EAL:   probe driver: 8086:2021 rawdev_ioat
EAL: PCI device 0000:00:04.7 on NUMA socket 0
EAL:   probe driver: 8086:2021 rawdev_ioat
EAL: PCI device 0000:3d:00.0 on NUMA socket 0
EAL:   probe driver: 8086:37d2 net_i40e
EAL: PCI device 0000:3d:00.1 on NUMA socket 0
EAL:   probe driver: 8086:37d2 net_i40e
EAL: PCI device 0000:80:04.0 on NUMA socket 1
EAL:   probe driver: 8086:2021 rawdev_ioat
EAL: PCI device 0000:80:04.1 on NUMA socket 1
EAL:   probe driver: 8086:2021 rawdev_ioat
EAL: PCI device 0000:80:04.2 on NUMA socket 1
EAL:   probe driver: 8086:2021 rawdev_ioat
EAL: PCI device 0000:80:04.3 on NUMA socket 1
EAL:   probe driver: 8086:2021 rawdev_ioat
EAL: PCI device 0000:80:04.4 on NUMA socket 1
EAL:   probe driver: 8086:2021 rawdev_ioat
EAL: PCI device 0000:80:04.5 on NUMA socket 1
EAL:   probe driver: 8086:2021 rawdev_ioat
EAL: PCI device 0000:80:04.6 on NUMA socket 1
EAL:   probe driver: 8086:2021 rawdev_ioat
EAL: PCI device 0000:80:04.7 on NUMA socket 1
EAL:   probe driver: 8086:2021 rawdev_ioat
EAL: PCI device 0000:b1:00.0 on NUMA socket 1
EAL:   probe driver: 8086:37d0 net_i40e
EAL: PCI device 0000:b1:00.1 on NUMA socket 1
EAL:   probe driver: 8086:37d0 net_i40e
Interactive-mode selected
13/04/2020 17:05:27             dut.10.240.183.162: set corelist 29,30,31
13/04/2020 17:05:27             dut.10.240.183.162: set corelist 29,30,31
previous number of forwarding cores 1 - changed to number of configured cores 3
13/04/2020 17:05:27             dut.10.240.183.162: start
13/04/2020 17:05:27             dut.10.240.183.162: start
io packet forwarding - ports=2 - cores=3 - streams=6 - NUMA support enabled, MP allocation mode: native
Logical Core 29 (socket 1) forwards packets on 2 streams:
  RX P=0/Q=0 (socket 1) -> TX P=1/Q=0 (socket 1) peer=02:00:00:00:00:01
  RX P=1/Q=0 (socket 1) -> TX P=0/Q=0 (socket 1) peer=02:00:00:00:00:00
Logical Core 30 (socket 1) forwards packets on 2 streams:
  RX P=0/Q=1 (socket 1) -> TX P=1/Q=1 (socket 1) peer=02:00:00:00:00:01
  RX P=1/Q=1 (socket 1) -> TX P=0/Q=1 (socket 1) peer=02:00:00:00:00:00
Logical Core 31 (socket 1) forwards packets on 2 streams:
  RX P=0/Q=2 (socket 1) -> TX P=1/Q=2 (socket 1) peer=02:00:00:00:00:01
  RX P=1/Q=2 (socket 1) -> TX P=0/Q=2 (socket 1) peer=02:00:00:00:00:00

  io packet forwarding packets/burst=32
  nb forwarding cores=3 - nb forwarding ports=2
  port 0: RX queue number: 3 Tx queue number: 3
    Rx offloads=0x0 Tx offloads=0x10000
    RX queue: 0
      RX desc=256 - RX free threshold=32
      RX threshold registers: pthresh=8 hthresh=8  wthresh=0
      RX Offloads=0x0
    TX queue: 0
      TX desc=256 - TX free threshold=32
      TX threshold registers: pthresh=32 hthresh=0  wthresh=0
      TX offloads=0x10000 - TX RS bit threshold=32
  port 1: RX queue number: 3 Tx queue number: 3
    Rx offloads=0x0 Tx offloads=0x10000
    RX queue: 0
      RX desc=256 - RX free threshold=32
      RX threshold registers: pthresh=8 hthresh=8  wthresh=0
      RX Offloads=0x0
    TX queue: 0
      TX desc=256 - TX free threshold=32
      TX threshold registers: pthresh=32 hthresh=0  wthresh=0
      TX offloads=0x10000 - TX RS bit threshold=32
13/04/2020 17:05:27             dut.10.240.183.162: show config fwd
13/04/2020 17:05:27             dut.10.240.183.162: show config fwd
io packet forwarding - ports=2 - cores=3 - streams=6 - NUMA support enabled, MP allocation mode: native
Logical Core 29 (socket 1) forwards packets on 2 streams:
  RX P=0/Q=0 (socket 1) -> TX P=1/Q=0 (socket 1) peer=02:00:00:00:00:01
  RX P=1/Q=0 (socket 1) -> TX P=0/Q=0 (socket 1) peer=02:00:00:00:00:00
Logical Core 30 (socket 1) forwards packets on 2 streams:
  RX P=0/Q=1 (socket 1) -> TX P=1/Q=1 (socket 1) peer=02:00:00:00:00:01
  RX P=1/Q=1 (socket 1) -> TX P=0/Q=1 (socket 1) peer=02:00:00:00:00:00
Logical Core 31 (socket 1) forwards packets on 2 streams:
  RX P=0/Q=2 (socket 1) -> TX P=1/Q=2 (socket 1) peer=02:00:00:00:00:01
  RX P=1/Q=2 (socket 1) -> TX P=0/Q=2 (socket 1) peer=02:00:00:00:00:00

13/04/2020 17:05:29                         tester: scp -v /home/autoregression/jiangyu/dts/output/tmp/pcap/scapy_ens2f0.pcap1586768727.849255 root@10.240.183.154:/tmp/tester/
13/04/2020 17:05:31                         tester: scp -v /home/autoregression/jiangyu/dts/output/tmp/pcap/scapy_ens2f0.cmd1586768727.849255 root@10.240.183.154:/tmp/tester/
13/04/2020 17:05:39                         tester: scp -v /home/autoregression/jiangyu/dts/output/tmp/pcap/scapy_ens2f1.pcap1586768737.2909837 root@10.240.183.154:/tmp/tester/
13/04/2020 17:05:41                         tester: scp -v /home/autoregression/jiangyu/dts/output/tmp/pcap/scapy_ens2f1.cmd1586768737.2909837 root@10.240.183.154:/tmp/tester/
13/04/2020 17:05:48            TestMultiplePthread: 
+-------+-------+--------+------+
|  PID  |  TID  |  %CPU  | PSRF |
+=======+=======+========+======+
| 92909 | 92909 | 15     | 28   |
+-------+-------+--------+------+
| 92909 | 92910 | 59.500 | 53   |
+-------+-------+--------+------+
| 92909 | 92911 | 0      | 73   |
+-------+-------+--------+------+
| 92909 | 92912 | 0      | 32   |
+-------+-------+--------+------+
| 92909 | 92913 | 0      | 32   |
+-------+-------+--------+------+
| 92909 | 92914 | 0      | 32   |
+-------+-------+--------+------+
| 92909 | 92909 | 1.400  | 28   |
+-------+-------+--------+------+
| 92909 | 92910 | 6.100  | 53   |
+-------+-------+--------+------+
| 92909 | 92911 | 0      | 73   |
+-------+-------+--------+------+
| 92909 | 92912 | 30.600 | 32   |
+-------+-------+--------+------+
| 92909 | 92913 | 30.500 | 32   |
+-------+-------+--------+------+
| 92909 | 92914 | 30.500 | 32   |
+-------+-------+--------+------+
13/04/2020 17:05:48             dut.10.240.183.162: stop
13/04/2020 17:05:48             dut.10.240.183.162: stop
Telling cores to stop...
Waiting for lcores to finish...

  ------- Forward Stats for RX Port= 0/Queue= 0 -> TX Port= 1/Queue= 0 -------
  RX-packets: 63420          TX-packets: 63420          TX-dropped: 0             

  ------- Forward Stats for RX Port= 1/Queue= 0 -> TX Port= 0/Queue= 0 -------
  RX-packets: 12016          TX-packets: 12016          TX-dropped: 0             

  ---------------------- Forward statistics for port 0  ----------------------
  RX-packets: 63464          RX-dropped: 0             RX-total: 63464
  TX-packets: 12016          TX-dropped: 0             TX-total: 12016
  ----------------------------------------------------------------------------

  ---------------------- Forward statistics for port 1  ----------------------
  RX-packets: 12060          RX-dropped: 0             RX-total: 12060
  RX-error: 53
  RX-nombufs: 0             
  TX-packets: 63420          TX-dropped: 0             TX-total: 63420
  ----------------------------------------------------------------------------

  +++++++++++++++ Accumulated forward statistics for all ports+++++++++++++++
  RX-packets: 75524          RX-dropped: 0             RX-total: 75524
  TX-packets: 75436          TX-dropped: 0             TX-total: 75436
  ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Done.
13/04/2020 17:05:48             dut.10.240.183.162: quit
13/04/2020 17:05:50             dut.10.240.183.162: quit

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

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

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

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

Bye...
13/04/2020 17:05:50            TestMultiplePthread: Test Case test_positive Result PASSED:
13/04/2020 17:05:50                         tester: ps -ef |grep /tmp/tester/scapy_ens2f0.cmd1586768727.849255|grep -v grep
13/04/2020 17:05:50                         tester: root     26249 26232 97 17:05 pts/171  00:00:14 python3 /tmp/tester/scapy_ens2f0.cmd1586768727.849255
13/04/2020 17:05:50                         tester: ps -ef |grep /tmp/tester/scapy_ens2f1.cmd1586768737.2909837|grep -v grep
13/04/2020 17:05:50                         tester: root     26538 26521 87 17:05 pts/178  00:00:04 python3 /tmp/tester/scapy_ens2f1.cmd1586768737.2909837
13/04/2020 17:05:50                         tester: kill -9 26249 26538
13/04/2020 17:05:51                         tester: 
13/04/2020 17:05:51             dut.10.240.183.162: kill_all: called by dut and has no prefix list.
13/04/2020 17:06:01             dut.10.240.183.162: kill_all: called by dut and has no prefix list.
13/04/2020 17:06:03                            dts: DTS ended

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

* Re: [dts] [PATCH V1] tests/TestSuite_multiple_pthread: Allocate enough streams based on the number of CPU cores
  2020-04-15  5:24 [dts] [PATCH V1] tests/TestSuite_multiple_pthread: Allocate enough streams based on the number of CPU cores Jiang, YuX
  2020-04-17  3:11 ` Zhao, XinfengX
@ 2020-04-20  5:21 ` Tu, Lijuan
  1 sibling, 0 replies; 3+ messages in thread
From: Tu, Lijuan @ 2020-04-20  5:21 UTC (permalink / raw)
  To: Jiang, YuX, dts; +Cc: Jiang, YuX

Applied, thanks

> -----Original Message-----
> From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of Jiang, YuX
> Sent: Wednesday, April 15, 2020 1:24 PM
> To: dts@dpdk.org
> Cc: Jiang, YuX <yux.jiang@intel.com>
> Subject: [dts] [PATCH V1] tests/TestSuite_multiple_pthread: Allocate enough
> streams based on the number of CPU cores
> 
> From: "Jiang, YuX" <yux.jiang@intel.com>
> 
> Add queue number for allocating enough streams according to the count of
> CPU cores
> 
> Signed-off-by: Jiang, YuX <yux.jiang@intel.com>
> ---
>  tests/TestSuite_multiple_pthread.py | 9 +++++++--
>  1 file changed, 7 insertions(+), 2 deletions(-)
> 
> diff --git a/tests/TestSuite_multiple_pthread.py
> b/tests/TestSuite_multiple_pthread.py
> index fb55de2..8825628 100644
> --- a/tests/TestSuite_multiple_pthread.py
> +++ b/tests/TestSuite_multiple_pthread.py
> @@ -124,7 +124,12 @@ class TestMultiplePthread(TestCase):
>          self.result_table_create(header_row)
>          self.out_view['data'] = []
> 
> -        cmdline = './%s/app/testpmd --lcores="%s" -n 4 -- -i' % (self.target,
> lcores)
> +        # Allocate enough streams based on the number of CPUs
> +        if len(cpu_list) > 2:
> +            queue_num = len(cpu_list)
> +            cmdline = './%s/app/testpmd --lcores="%s" -n 4 -- -i --txq=%d --
> rxq=%d' % (self.target, lcores, queue_num, queue_num)
> +        else:
> +            cmdline = './%s/app/testpmd --lcores="%s" -n 4 -- -i' % (self.target,
> lcores)
>          # start application
>          self.dut.send_expect(cmdline, "testpmd", 60)
> 
> @@ -178,7 +183,7 @@ class TestMultiplePthread(TestCase):
>                        "cpu_list":n[2:4],
>                        "core_list":n[4:]},
>                       {"lcores": "(%s,%s,%s,%s)@(%s,%s)" % (n[0], n[1], n[2], n[3], n[4],
> n[5]),
> -                      "cpu_list":n[1:3],
> +                      "cpu_list":n[1:4],
>                        "core_list":n[4:6]},
>                       {"lcores": "%s,(%s,%s,%s)@%s" % (n[0], n[1], n[2], n[3], n[4]),
>                        "cpu_list":n[1:4],
> --
> 2.7.4


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

end of thread, other threads:[~2020-04-20  5:22 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-15  5:24 [dts] [PATCH V1] tests/TestSuite_multiple_pthread: Allocate enough streams based on the number of CPU cores Jiang, YuX
2020-04-17  3:11 ` Zhao, XinfengX
2020-04-20  5:21 ` 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).