* Re: [dts] [PATCH V2 0/2]tests/cvl_advanced_rss
2020-06-18 15:18 [dts] [PATCH V2 0/2]tests/cvl_advanced_rss Zeng Xiaoxiao
@ 2020-06-18 6:42 ` Zeng, XiaoxiaoX
2020-06-18 6:45 ` He, Zhiwei
2020-06-18 6:54 ` He, Zhiwei
` (3 subsequent siblings)
4 siblings, 1 reply; 7+ messages in thread
From: Zeng, XiaoxiaoX @ 2020-06-18 6:42 UTC (permalink / raw)
To: dts
[-- Attachment #1: Type: text/plain, Size: 820 bytes --]
Tested-by: Zeng, XiaoxiaoX <xiaoxiaox.zeng@intel.com>
Best regards,
Zeng,xiaoxiao
> -----Original Message-----
> From: Zeng, XiaoxiaoX <xiaoxiaox.zeng@intel.com>
> Sent: Thursday, June 18, 2020 11:18 PM
> To: dts@dpdk.org
> Cc: Zeng, XiaoxiaoX <xiaoxiaox.zeng@intel.com>
> Subject: [dts] [PATCH V2 0/2]tests/cvl_advanced_rss
>
> *.add a dictionary to store result logs in cvl_advanced_rss.
> *.modify PF verify function in rte_flow_common.
>
> *** BLURB HERE ***
>
> Zeng Xiaoxiao (2):
> optimize cvl_advanced_rss code
> optimize cvl_advanced_rss verify function
>
> tests/TestSuite_cvl_advanced_rss.py | 32 +++++++++++++++-------
> tests/rte_flow_common.py | 41 +++++++++++++----------------
> 2 files changed, 40 insertions(+), 33 deletions(-)
>
> --
> 2.17.1
[-- Attachment #2: AdvancedRSSTest.log --]
[-- Type: application/octet-stream, Size: 34726 bytes --]
18/06/2020 13:52:29 dts:
TEST SUITE : AdvancedRSSTest
18/06/2020 13:52:29 dts: NIC : columbiaville_100g
18/06/2020 13:52:29 dut.10.240.183.181:
18/06/2020 13:52:29 tester:
18/06/2020 13:52:29 AdvancedRSSTest: Test Case test_rss_simple_xor Begin
18/06/2020 13:52:29 dut.10.240.183.181:
18/06/2020 13:52:29 tester:
18/06/2020 13:52:29 dut.10.240.183.181: kill_all: called by dut and has no prefix list.
18/06/2020 13:52:30 dut.10.240.183.181: ./x86_64-native-linuxapp-gcc/app/testpmd -l 1,2 -n 4 -w 0000:18:00.0 --file-prefix=dpdk_32426_20200618135206 -- -i --rxq=64 --txq=64
18/06/2020 13:52:31 dut.10.240.183.181: EAL: Detected 72 lcore(s)
EAL: Detected 2 NUMA nodes
EAL: Multi-process socket /var/run/dpdk/dpdk_32426_20200618135206/mp_socket
EAL: Selected IOVA mode 'VA'
EAL: Probing VFIO support...
EAL: VFIO support initialized
EAL: using IOMMU type 1 (Type 1)
EAL: Probe PCI driver: net_ice (8086:1592) device: 0000:18:00.0 (socket 0)
ice_load_pkg_type(): Active package is: 1.3.16.0, ICE COMMS Package
EAL: No legacy callbacks, legacy socket not created
Interactive-mode selected
testpmd: create a new mbuf pool <mbuf_pool_socket_0>: n=155456, size=2176, socket=0
testpmd: preferred mempool ops selected: ring_mp_mc
Warning! port-topology=paired and odd forward ports number, the last port will pair with itself.
Configuring Port 0 (socket 0)
Port 0: 68:05:CA:A3:19:90
Checking link statuses...
Done
18/06/2020 13:52:31 AdvancedRSSTest: EAL: Detected 72 lcore(s)
EAL: Detected 2 NUMA nodes
EAL: Multi-process socket /var/run/dpdk/dpdk_32426_20200618135206/mp_socket
EAL: Selected IOVA mode 'VA'
EAL: Probing VFIO support...
EAL: VFIO support initialized
EAL: using IOMMU type 1 (Type 1)
EAL: Probe PCI driver: net_ice (8086:1592) device: 0000:18:00.0 (socket 0)
ice_load_pkg_type(): Active package is: 1.3.16.0, ICE COMMS Package
EAL: No legacy callbacks, legacy socket not created
Interactive-mode selected
testpmd: create a new mbuf pool <mbuf_pool_socket_0>: n=155456, size=2176, socket=0
testpmd: preferred mempool ops selected: ring_mp_mc
Warning! port-topology=paired and odd forward ports number, the last port will pair with itself.
Configuring Port 0 (socket 0)
Port 0: 68:05:CA:A3:19:90
Checking link statuses...
Done
18/06/2020 13:52:31 dut.10.240.183.181: port config 0 rss-hash-key ipv4 1234abcd1234abcd1234abcd1234abcd1234abcd1234abcd1234abcd1234abcd1234abcd1234abcd1234abcd1234abcd1234abcd
18/06/2020 13:52:31 dut.10.240.183.181: port config 0 rss-hash-key ipv4 1234abcd1234abcd1234abcd1234abcd1234abcd1234abcd1234abcd1234abcd1234abcd1234abcd1234abcd1234abcd1234abcd
18/06/2020 13:52:31 dut.10.240.183.181: rx_vxlan_port add 4789 0
18/06/2020 13:52:31 dut.10.240.183.181: rx_vxlan_port add 4789 0
18/06/2020 13:52:31 dut.10.240.183.181: set fwd rxonly
18/06/2020 13:52:31 dut.10.240.183.181: set fwd rxonly
Set rxonly packet forwarding mode
18/06/2020 13:52:31 dut.10.240.183.181: set verbose 1
18/06/2020 13:52:32 dut.10.240.183.181: set verbose 1
Change verbose level from 0 to 1
18/06/2020 13:52:32 dut.10.240.183.181: flow create 0 ingress pattern end actions rss func simple_xor key_len 0 queues end / end
18/06/2020 13:52:32 dut.10.240.183.181: flow create 0 ingress pattern end actions rss func simple_xor key_len 0 queues end / end
Flow rule #0 created
18/06/2020 13:52:32 dut.10.240.183.181: start
18/06/2020 13:52:32 dut.10.240.183.181: start
rxonly packet forwarding - ports=1 - cores=1 - streams=64 - NUMA support enabled, MP allocation mode: native
Logical Core 2 (socket 0) forwards packets on 64 streams:
RX P=0/Q=0 (socket 0) -> TX P=0/Q=0 (socket 0) peer=02:00:00:00:00:00
RX P=0/Q=1 (socket 0) -> TX P=0/Q=1 (socket 0) peer=02:00:00:00:00:00
RX P=0/Q=2 (socket 0) -> TX P=0/Q=2 (socket 0) peer=02:00:00:00:00:00
RX P=0/Q=3 (socket 0) -> TX P=0/Q=3 (socket 0) peer=02:00:00:00:00:00
RX P=0/Q=4 (socket 0) -> TX P=0/Q=4 (socket 0) peer=02:00:00:00:00:00
RX P=0/Q=5 (socket 0) -> TX P=0/Q=5 (socket 0) peer=02:00:00:00:00:00
RX P=0/Q=6 (socket 0) -> TX P=0/Q=6 (socket 0) peer=02:00:00:00:00:00
RX P=0/Q=7 (socket 0) -> TX P=0/Q=7 (socket 0) peer=02:00:00:00:00:00
RX P=0/Q=8 (socket 0) -> TX P=0/Q=8 (socket 0) peer=02:00:00:00:00:00
RX P=0/Q=9 (socket 0) -> TX P=0/Q=9 (socket 0) peer=02:00:00:00:00:00
RX P=0/Q=10 (socket 0) -> TX P=0/Q=10 (socket 0) peer=02:00:00:00:00:00
RX P=0/Q=11 (socket 0) -> TX P=0/Q=11 (socket 0) peer=02:00:00:00:00:00
RX P=0/Q=12 (socket 0) -> TX P=0/Q=12 (socket 0) peer=02:00:00:00:00:00
RX P=0/Q=13 (socket 0) -> TX P=0/Q=13 (socket 0) peer=02:00:00:00:00:00
RX P=0/Q=14 (socket 0) -> TX P=0/Q=14 (socket 0) peer=02:00:00:00:00:00
RX P=0/Q=15 (socket 0) -> TX P=0/Q=15 (socket 0) peer=02:00:00:00:00:00
RX P=0/Q=16 (socket 0) -> TX P=0/Q=16 (socket 0) peer=02:00:00:00:00:00
RX P=0/Q=17 (socket 0) -> TX P=0/Q=17 (socket 0) peer=02:00:00:00:00:00
RX P=0/Q=18 (socket 0) -> TX P=0/Q=18 (socket 0) peer=02:00:00:00:00:00
RX P=0/Q=19 (socket 0) -> TX P=0/Q=19 (socket 0) peer=02:00:00:00:00:00
RX P=0/Q=20 (socket 0) -> TX P=0/Q=20 (socket 0) peer=02:00:00:00:00:00
RX P=0/Q=21 (socket 0) -> TX P=0/Q=21 (socket 0) peer=02:00:00:00:00:00
RX P=0/Q=22 (socket 0) -> TX P=0/Q=22 (socket 0) peer=02:00:00:00:00:00
RX P=0/Q=23 (socket 0) -> TX P=0/Q=23 (socket 0) peer=02:00:00:00:00:00
RX P=0/Q=24 (socket 0) -> TX P=0/Q=24 (socket 0) peer=02:00:00:00:00:00
RX P=0/Q=25 (socket 0) -> TX P=0/Q=25 (socket 0) peer=02:00:00:00:00:00
RX P=0/Q=26 (socket 0) -> TX P=0/Q=26 (socket 0) peer=02:00:00:00:00:00
RX P=0/Q=27 (socket 0) -> TX P=0/Q=27 (socket 0) peer=02:00:00:00:00:00
RX P=0/Q=28 (socket 0) -> TX P=0/Q=28 (socket 0) peer=02:00:00:00:00:00
RX P=0/Q=29 (socket 0) -> TX P=0/Q=29 (socket 0) peer=02:00:00:00:00:00
RX P=0/Q=30 (socket 0) -> TX P=0/Q=30 (socket 0) peer=02:00:00:00:00:00
RX P=0/Q=31 (socket 0) -> TX P=0/Q=31 (socket 0) peer=02:00:00:00:00:00
RX P=0/Q=32 (socket 0) -> TX P=0/Q=32 (socket 0) peer=02:00:00:00:00:00
RX P=0/Q=33 (socket 0) -> TX P=0/Q=33 (socket 0) peer=02:00:00:00:00:00
RX P=0/Q=34 (socket 0) -> TX P=0/Q=34 (socket 0) peer=02:00:00:00:00:00
RX P=0/Q=35 (socket 0) -> TX P=0/Q=35 (socket 0) peer=02:00:00:00:00:00
RX P=0/Q=36 (socket 0) -> TX P=0/Q=36 (socket 0) peer=02:00:00:00:00:00
RX P=0/Q=37 (socket 0) -> TX P=0/Q=37 (socket 0) peer=02:00:00:00:00:00
RX P=0/Q=38 (socket 0) -> TX P=0/Q=38 (socket 0) peer=02:00:00:00:00:00
RX P=0/Q=39 (socket 0) -> TX P=0/Q=39 (socket 0) peer=02:00:00:00:00:00
RX P=0/Q=40 (socket 0) -> TX P=0/Q=40 (socket 0) peer=02:00:00:00:00:00
RX P=0/Q=41 (socket 0) -> TX P=0/Q=41 (socket 0) peer=02:00:00:00:00:00
RX P=0/Q=42 (socket 0) -> TX P=0/Q=42 (socket 0) peer=02:00:00:00:00:00
RX P=0/Q=43 (socket 0) -> TX P=0/Q=43 (socket 0) peer=02:00:00:00:00:00
RX P=0/Q=44 (socket 0) -> TX P=0/Q=44 (socket 0) peer=02:00:00:00:00:00
RX P=0/Q=45 (socket 0) -> TX P=0/Q=45 (socket 0) peer=02:00:00:00:00:00
RX P=0/Q=46 (socket 0) -> TX P=0/Q=46 (socket 0) peer=02:00:00:00:00:00
RX P=0/Q=47 (socket 0) -> TX P=0/Q=47 (socket 0) peer=02:00:00:00:00:00
RX P=0/Q=48 (socket 0) -> TX P=0/Q=48 (socket 0) peer=02:00:00:00:00:00
RX P=0/Q=49 (socket 0) -> TX P=0/Q=49 (socket 0) peer=02:00:00:00:00:00
RX P=0/Q=50 (socket 0) -> TX P=0/Q=50 (socket 0) peer=02:00:00:00:00:00
RX P=0/Q=51 (socket 0) -> TX P=0/Q=51 (socket 0) peer=02:00:00:00:00:00
RX P=0/Q=52 (socket 0) -> TX P=0/Q=52 (socket 0) peer=02:00:00:00:00:00
RX P=0/Q=53 (socket 0) -> TX P=0/Q=53 (socket 0) peer=02:00:00:00:00:00
RX P=0/Q=54 (socket 0) -> TX P=0/Q=54 (socket 0) peer=02:00:00:00:00:00
RX P=0/Q=55 (socket 0) -> TX P=0/Q=55 (socket 0) peer=02:00:00:00:00:00
RX P=0/Q=56 (socket 0) -> TX P=0/Q=56 (socket 0) peer=02:00:00:00:00:00
RX P=0/Q=57 (socket 0) -> TX P=0/Q=57 (socket 0) peer=02:00:00:00:00:00
RX P=0/Q=58 (socket 0) -> TX P=0/Q=58 (socket 0) peer=02:00:00:00:00:00
RX P=0/Q=59 (socket 0) -> TX P=0/Q=59 (socket 0) peer=02:00:00:00:00:00
RX P=0/Q=60 (socket 0) -> TX P=0/Q=60 (socket 0) peer=02:00:00:00:00:00
RX P=0/Q=61 (socket 0) -> TX P=0/Q=61 (socket 0) peer=02:00:00:00:00:00
RX P=0/Q=62 (socket 0) -> TX P=0/Q=62 (socket 0) peer=02:00:00:00:00:00
RX P=0/Q=63 (socket 0) -> TX P=0/Q=63 (socket 0) peer=02:00:00:00:00:00
rxonly packet forwarding packets/burst=32
nb forwarding cores=1 - nb forwarding ports=1
port 0: RX queue number: 64 Tx queue number: 64
Rx offloads=0x0 Tx offloads=0x10000
RX queue: 0
RX desc=1024 - RX free threshold=32
RX threshold registers: pthresh=8 hthresh=8 wthresh=0
RX Offloads=0x0
TX queue: 0
TX desc=1024 - TX free threshold=32
TX threshold registers: pthresh=32 hthresh=0 wthresh=0
TX offloads=0x10000 - TX RS bit threshold=32
18/06/2020 13:52:34 tester: scp -v /home/local_debug/output/tmp/pcap/scapy_ens8.pcap1592488354.2084444 root@10.240.183.103:/tmp/tester/
18/06/2020 13:52:36 tester: scp -v /home/local_debug/output/tmp/pcap/scapy_ens8.cmd1592488354.2084444 root@10.240.183.103:/tmp/tester/
18/06/2020 13:52:38 tester: python3 /tmp/tester/scapy_ens8.cmd1592488354.2084444
18/06/2020 13:52:38 tester: packet ready for sending...
Sent 0 packets.
18/06/2020 13:52:41 dut.10.240.183.181:
Port 0: link state change event
18/06/2020 13:52:41 dut.10.240.183.181: stop
18/06/2020 13:52:41 dut.10.240.183.181: stop
Telling cores to stop...
Waiting for lcores to finish...
---------------------- Forward statistics for port 0 ----------------------
RX-packets: 0 RX-dropped: 0 RX-total: 0
TX-packets: 0 TX-dropped: 0 TX-total: 0
----------------------------------------------------------------------------
+++++++++++++++ Accumulated forward statistics for all ports+++++++++++++++
RX-packets: 0 RX-dropped: 0 RX-total: 0
TX-packets: 0 TX-dropped: 0 TX-total: 0
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Done.
18/06/2020 13:52:41 AdvancedRSSTest: Test Case test_rss_simple_xor Result ERROR: Traceback (most recent call last):
File "/home/local_debug/framework/test_case.py", line 316, in _execute_test_case
case_obj()
File "tests/TestSuite_cvl_advanced_rss.py", line 1023, in test_rss_simple_xor
self._rte_flow_validate_pattern(tvs_mac_rss_simple_xor, command, is_vxlan=True)
File "tests/TestSuite_cvl_advanced_rss.py", line 959, in _rte_flow_validate_pattern
ret_result, log_msg = tv["check_func"](out)
TypeError: 'NoneType' object is not iterable
18/06/2020 13:52:41 dut.10.240.183.181: kill_all: called by dut and prefix list has value.
18/06/2020 13:52:44 dut.10.240.183.181: Killed
[PEXPECT]#
18/06/2020 13:52:44 dts:
TEST SUITE ENDED: AdvancedRSSTest
18/06/2020 13:58:24 dts:
TEST SUITE : AdvancedRSSTest
18/06/2020 13:58:24 dts: NIC : columbiaville_100g
18/06/2020 13:58:24 dut.10.240.183.181:
18/06/2020 13:58:24 tester:
18/06/2020 13:58:24 AdvancedRSSTest: Test Case test_rss_simple_xor Begin
18/06/2020 13:58:24 dut.10.240.183.181:
18/06/2020 13:58:24 tester:
18/06/2020 13:58:24 dut.10.240.183.181: kill_all: called by dut and has no prefix list.
18/06/2020 13:58:25 dut.10.240.183.181: ./x86_64-native-linuxapp-gcc/app/testpmd -l 1,2 -n 4 -w 0000:18:00.0 --file-prefix=dpdk_536_20200618135801 -- -i --rxq=64 --txq=64
18/06/2020 13:58:26 dut.10.240.183.181: EAL: Detected 72 lcore(s)
EAL: Detected 2 NUMA nodes
EAL: Multi-process socket /var/run/dpdk/dpdk_536_20200618135801/mp_socket
EAL: Selected IOVA mode 'VA'
EAL: Probing VFIO support...
EAL: VFIO support initialized
EAL: using IOMMU type 1 (Type 1)
EAL: Probe PCI driver: net_ice (8086:1592) device: 0000:18:00.0 (socket 0)
ice_load_pkg_type(): Active package is: 1.3.16.0, ICE COMMS Package
EAL: No legacy callbacks, legacy socket not created
Interactive-mode selected
testpmd: create a new mbuf pool <mbuf_pool_socket_0>: n=155456, size=2176, socket=0
testpmd: preferred mempool ops selected: ring_mp_mc
Warning! port-topology=paired and odd forward ports number, the last port will pair with itself.
Configuring Port 0 (socket 0)
Port 0: link state change event
Port 0: 68:05:CA:A3:19:90
Checking link statuses...
Done
18/06/2020 13:58:26 AdvancedRSSTest: EAL: Detected 72 lcore(s)
EAL: Detected 2 NUMA nodes
EAL: Multi-process socket /var/run/dpdk/dpdk_536_20200618135801/mp_socket
EAL: Selected IOVA mode 'VA'
EAL: Probing VFIO support...
EAL: VFIO support initialized
EAL: using IOMMU type 1 (Type 1)
EAL: Probe PCI driver: net_ice (8086:1592) device: 0000:18:00.0 (socket 0)
ice_load_pkg_type(): Active package is: 1.3.16.0, ICE COMMS Package
EAL: No legacy callbacks, legacy socket not created
Interactive-mode selected
testpmd: create a new mbuf pool <mbuf_pool_socket_0>: n=155456, size=2176, socket=0
testpmd: preferred mempool ops selected: ring_mp_mc
Warning! port-topology=paired and odd forward ports number, the last port will pair with itself.
Configuring Port 0 (socket 0)
Port 0: link state change event
Port 0: 68:05:CA:A3:19:90
Checking link statuses...
Done
18/06/2020 13:58:26 dut.10.240.183.181: port config 0 rss-hash-key ipv4 1234abcd1234abcd1234abcd1234abcd1234abcd1234abcd1234abcd1234abcd1234abcd1234abcd1234abcd1234abcd1234abcd
18/06/2020 13:58:26 dut.10.240.183.181: port config 0 rss-hash-key ipv4 1234abcd1234abcd1234abcd1234abcd1234abcd1234abcd1234abcd1234abcd1234abcd1234abcd1234abcd1234abcd1234abcd
18/06/2020 13:58:26 dut.10.240.183.181: rx_vxlan_port add 4789 0
18/06/2020 13:58:26 dut.10.240.183.181: rx_vxlan_port add 4789 0
18/06/2020 13:58:26 dut.10.240.183.181: set fwd rxonly
18/06/2020 13:58:26 dut.10.240.183.181: set fwd rxonly
Set rxonly packet forwarding mode
18/06/2020 13:58:26 dut.10.240.183.181: set verbose 1
18/06/2020 13:58:26 dut.10.240.183.181: set verbose 1
Change verbose level from 0 to 1
18/06/2020 13:58:26 dut.10.240.183.181: flow create 0 ingress pattern end actions rss func simple_xor key_len 0 queues end / end
18/06/2020 13:58:27 dut.10.240.183.181: flow create 0 ingress pattern end actions rss func simple_xor key_len 0 queues end / end
Flow rule #0 created
18/06/2020 13:58:27 dut.10.240.183.181: start
18/06/2020 13:58:27 dut.10.240.183.181: start
rxonly packet forwarding - ports=1 - cores=1 - streams=64 - NUMA support enabled, MP allocation mode: native
Logical Core 2 (socket 0) forwards packets on 64 streams:
RX P=0/Q=0 (socket 0) -> TX P=0/Q=0 (socket 0) peer=02:00:00:00:00:00
RX P=0/Q=1 (socket 0) -> TX P=0/Q=1 (socket 0) peer=02:00:00:00:00:00
RX P=0/Q=2 (socket 0) -> TX P=0/Q=2 (socket 0) peer=02:00:00:00:00:00
RX P=0/Q=3 (socket 0) -> TX P=0/Q=3 (socket 0) peer=02:00:00:00:00:00
RX P=0/Q=4 (socket 0) -> TX P=0/Q=4 (socket 0) peer=02:00:00:00:00:00
RX P=0/Q=5 (socket 0) -> TX P=0/Q=5 (socket 0) peer=02:00:00:00:00:00
RX P=0/Q=6 (socket 0) -> TX P=0/Q=6 (socket 0) peer=02:00:00:00:00:00
RX P=0/Q=7 (socket 0) -> TX P=0/Q=7 (socket 0) peer=02:00:00:00:00:00
RX P=0/Q=8 (socket 0) -> TX P=0/Q=8 (socket 0) peer=02:00:00:00:00:00
RX P=0/Q=9 (socket 0) -> TX P=0/Q=9 (socket 0) peer=02:00:00:00:00:00
RX P=0/Q=10 (socket 0) -> TX P=0/Q=10 (socket 0) peer=02:00:00:00:00:00
RX P=0/Q=11 (socket 0) -> TX P=0/Q=11 (socket 0) peer=02:00:00:00:00:00
RX P=0/Q=12 (socket 0) -> TX P=0/Q=12 (socket 0) peer=02:00:00:00:00:00
RX P=0/Q=13 (socket 0) -> TX P=0/Q=13 (socket 0) peer=02:00:00:00:00:00
RX P=0/Q=14 (socket 0) -> TX P=0/Q=14 (socket 0) peer=02:00:00:00:00:00
RX P=0/Q=15 (socket 0) -> TX P=0/Q=15 (socket 0) peer=02:00:00:00:00:00
RX P=0/Q=16 (socket 0) -> TX P=0/Q=16 (socket 0) peer=02:00:00:00:00:00
RX P=0/Q=17 (socket 0) -> TX P=0/Q=17 (socket 0) peer=02:00:00:00:00:00
RX P=0/Q=18 (socket 0) -> TX P=0/Q=18 (socket 0) peer=02:00:00:00:00:00
RX P=0/Q=19 (socket 0) -> TX P=0/Q=19 (socket 0) peer=02:00:00:00:00:00
RX P=0/Q=20 (socket 0) -> TX P=0/Q=20 (socket 0) peer=02:00:00:00:00:00
RX P=0/Q=21 (socket 0) -> TX P=0/Q=21 (socket 0) peer=02:00:00:00:00:00
RX P=0/Q=22 (socket 0) -> TX P=0/Q=22 (socket 0) peer=02:00:00:00:00:00
RX P=0/Q=23 (socket 0) -> TX P=0/Q=23 (socket 0) peer=02:00:00:00:00:00
RX P=0/Q=24 (socket 0) -> TX P=0/Q=24 (socket 0) peer=02:00:00:00:00:00
RX P=0/Q=25 (socket 0) -> TX P=0/Q=25 (socket 0) peer=02:00:00:00:00:00
RX P=0/Q=26 (socket 0) -> TX P=0/Q=26 (socket 0) peer=02:00:00:00:00:00
RX P=0/Q=27 (socket 0) -> TX P=0/Q=27 (socket 0) peer=02:00:00:00:00:00
RX P=0/Q=28 (socket 0) -> TX P=0/Q=28 (socket 0) peer=02:00:00:00:00:00
RX P=0/Q=29 (socket 0) -> TX P=0/Q=29 (socket 0) peer=02:00:00:00:00:00
RX P=0/Q=30 (socket 0) -> TX P=0/Q=30 (socket 0) peer=02:00:00:00:00:00
RX P=0/Q=31 (socket 0) -> TX P=0/Q=31 (socket 0) peer=02:00:00:00:00:00
RX P=0/Q=32 (socket 0) -> TX P=0/Q=32 (socket 0) peer=02:00:00:00:00:00
RX P=0/Q=33 (socket 0) -> TX P=0/Q=33 (socket 0) peer=02:00:00:00:00:00
RX P=0/Q=34 (socket 0) -> TX P=0/Q=34 (socket 0) peer=02:00:00:00:00:00
RX P=0/Q=35 (socket 0) -> TX P=0/Q=35 (socket 0) peer=02:00:00:00:00:00
RX P=0/Q=36 (socket 0) -> TX P=0/Q=36 (socket 0) peer=02:00:00:00:00:00
RX P=0/Q=37 (socket 0) -> TX P=0/Q=37 (socket 0) peer=02:00:00:00:00:00
RX P=0/Q=38 (socket 0) -> TX P=0/Q=38 (socket 0) peer=02:00:00:00:00:00
RX P=0/Q=39 (socket 0) -> TX P=0/Q=39 (socket 0) peer=02:00:00:00:00:00
RX P=0/Q=40 (socket 0) -> TX P=0/Q=40 (socket 0) peer=02:00:00:00:00:00
RX P=0/Q=41 (socket 0) -> TX P=0/Q=41 (socket 0) peer=02:00:00:00:00:00
RX P=0/Q=42 (socket 0) -> TX P=0/Q=42 (socket 0) peer=02:00:00:00:00:00
RX P=0/Q=43 (socket 0) -> TX P=0/Q=43 (socket 0) peer=02:00:00:00:00:00
RX P=0/Q=44 (socket 0) -> TX P=0/Q=44 (socket 0) peer=02:00:00:00:00:00
RX P=0/Q=45 (socket 0) -> TX P=0/Q=45 (socket 0) peer=02:00:00:00:00:00
RX P=0/Q=46 (socket 0) -> TX P=0/Q=46 (socket 0) peer=02:00:00:00:00:00
RX P=0/Q=47 (socket 0) -> TX P=0/Q=47 (socket 0) peer=02:00:00:00:00:00
RX P=0/Q=48 (socket 0) -> TX P=0/Q=48 (socket 0) peer=02:00:00:00:00:00
RX P=0/Q=49 (socket 0) -> TX P=0/Q=49 (socket 0) peer=02:00:00:00:00:00
RX P=0/Q=50 (socket 0) -> TX P=0/Q=50 (socket 0) peer=02:00:00:00:00:00
RX P=0/Q=51 (socket 0) -> TX P=0/Q=51 (socket 0) peer=02:00:00:00:00:00
RX P=0/Q=52 (socket 0) -> TX P=0/Q=52 (socket 0) peer=02:00:00:00:00:00
RX P=0/Q=53 (socket 0) -> TX P=0/Q=53 (socket 0) peer=02:00:00:00:00:00
RX P=0/Q=54 (socket 0) -> TX P=0/Q=54 (socket 0) peer=02:00:00:00:00:00
RX P=0/Q=55 (socket 0) -> TX P=0/Q=55 (socket 0) peer=02:00:00:00:00:00
RX P=0/Q=56 (socket 0) -> TX P=0/Q=56 (socket 0) peer=02:00:00:00:00:00
RX P=0/Q=57 (socket 0) -> TX P=0/Q=57 (socket 0) peer=02:00:00:00:00:00
RX P=0/Q=58 (socket 0) -> TX P=0/Q=58 (socket 0) peer=02:00:00:00:00:00
RX P=0/Q=59 (socket 0) -> TX P=0/Q=59 (socket 0) peer=02:00:00:00:00:00
RX P=0/Q=60 (socket 0) -> TX P=0/Q=60 (socket 0) peer=02:00:00:00:00:00
RX P=0/Q=61 (socket 0) -> TX P=0/Q=61 (socket 0) peer=02:00:00:00:00:00
RX P=0/Q=62 (socket 0) -> TX P=0/Q=62 (socket 0) peer=02:00:00:00:00:00
RX P=0/Q=63 (socket 0) -> TX P=0/Q=63 (socket 0) peer=02:00:00:00:00:00
rxonly packet forwarding packets/burst=32
nb forwarding cores=1 - nb forwarding ports=1
port 0: RX queue number: 64 Tx queue number: 64
Rx offloads=0x0 Tx offloads=0x10000
RX queue: 0
RX desc=1024 - RX free threshold=32
RX threshold registers: pthresh=8 hthresh=8 wthresh=0
RX Offloads=0x0
TX queue: 0
TX desc=1024 - TX free threshold=32
TX threshold registers: pthresh=32 hthresh=0 wthresh=0
TX offloads=0x10000 - TX RS bit threshold=32
18/06/2020 13:58:29 tester: scp -v /home/local_debug/output/tmp/pcap/scapy_ens8.pcap1592488709.147035 root@10.240.183.103:/tmp/tester/
18/06/2020 13:58:31 tester: scp -v /home/local_debug/output/tmp/pcap/scapy_ens8.cmd1592488709.147035 root@10.240.183.103:/tmp/tester/
18/06/2020 13:58:32 tester: python3 /tmp/tester/scapy_ens8.cmd1592488709.147035
18/06/2020 13:58:33 tester: packet ready for sending...
Ether(dst='64:f6:9d:0f:b5:91', src='52:54:00:e8:02:19', type=2048)/IP(version=4, ihl=5, tos=0, len=500, id=1, flags=0, frag=0, ttl=64, proto=0, chksum=28675, src='1.1.4.1', dst='2.2.2.3')/Raw(load=b'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX')
Ether(dst='64:f6:9d:0f:b5:91', src='52:54:00:e8:02:19', type=2048)/IP(version=4, ihl=5, tos=0, len=500, id=1, flags=0, frag=0, ttl=64, proto=0, chksum=28675, src='2.2.2.3', dst='1.1.4.1')/Raw(load=b'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX')
..
Sent 2 packets.
18/06/2020 13:58:36 dut.10.240.183.181: port 0/queue 2: received 1 packets
src=52:54:00:E8:02:19 - dst=64:F6:9D:0F:B5:91 - type=0x0800 - length=514 - nb_segs=1 - RSS hash=0x3030602 - RSS queue=0x2 - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN L4_NONFRAG - sw ptype: L2_ETHER L3_IPV4 - l2_len=14 - l3_len=20 - Receive queue=0x2
ol_flags: PKT_RX_RSS_HASH PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN
port 0/queue 2: received 1 packets
src=52:54:00:E8:02:19 - dst=64:F6:9D:0F:B5:91 - type=0x0800 - length=514 - nb_segs=1 - RSS hash=0x3030602 - RSS queue=0x2 - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN L4_NONFRAG - sw ptype: L2_ETHER L3_IPV4 - l2_len=14 - l3_len=20 - Receive queue=0x2
ol_flags: PKT_RX_RSS_HASH PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN
18/06/2020 13:58:36 dut.10.240.183.181: stop
18/06/2020 13:58:36 dut.10.240.183.181: stop
Telling cores to stop...
Waiting for lcores to finish...
------- Forward Stats for RX Port= 0/Queue= 2 -> TX Port= 0/Queue= 2 -------
RX-packets: 2 TX-packets: 0 TX-dropped: 0
---------------------- Forward statistics for port 0 ----------------------
RX-packets: 2 RX-dropped: 0 RX-total: 2
TX-packets: 0 TX-dropped: 0 TX-total: 0
----------------------------------------------------------------------------
+++++++++++++++ Accumulated forward statistics for all ports+++++++++++++++
RX-packets: 2 RX-dropped: 0 RX-total: 2
TX-packets: 0 TX-dropped: 0 TX-total: 0
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Done.
18/06/2020 13:58:36 dut.10.240.183.181: flow create 0 ingress pattern end actions rss func simple_xor key_len 0 queues end / end
18/06/2020 13:58:36 dut.10.240.183.181: flow create 0 ingress pattern end actions rss func simple_xor key_len 0 queues end / end
Flow rule #1 created
18/06/2020 13:58:36 dut.10.240.183.181: start
18/06/2020 13:58:36 dut.10.240.183.181: start
rxonly packet forwarding - ports=1 - cores=1 - streams=64 - NUMA support enabled, MP allocation mode: native
Logical Core 2 (socket 0) forwards packets on 64 streams:
RX P=0/Q=0 (socket 0) -> TX P=0/Q=0 (socket 0) peer=02:00:00:00:00:00
RX P=0/Q=1 (socket 0) -> TX P=0/Q=1 (socket 0) peer=02:00:00:00:00:00
RX P=0/Q=2 (socket 0) -> TX P=0/Q=2 (socket 0) peer=02:00:00:00:00:00
RX P=0/Q=3 (socket 0) -> TX P=0/Q=3 (socket 0) peer=02:00:00:00:00:00
RX P=0/Q=4 (socket 0) -> TX P=0/Q=4 (socket 0) peer=02:00:00:00:00:00
RX P=0/Q=5 (socket 0) -> TX P=0/Q=5 (socket 0) peer=02:00:00:00:00:00
RX P=0/Q=6 (socket 0) -> TX P=0/Q=6 (socket 0) peer=02:00:00:00:00:00
RX P=0/Q=7 (socket 0) -> TX P=0/Q=7 (socket 0) peer=02:00:00:00:00:00
RX P=0/Q=8 (socket 0) -> TX P=0/Q=8 (socket 0) peer=02:00:00:00:00:00
RX P=0/Q=9 (socket 0) -> TX P=0/Q=9 (socket 0) peer=02:00:00:00:00:00
RX P=0/Q=10 (socket 0) -> TX P=0/Q=10 (socket 0) peer=02:00:00:00:00:00
RX P=0/Q=11 (socket 0) -> TX P=0/Q=11 (socket 0) peer=02:00:00:00:00:00
RX P=0/Q=12 (socket 0) -> TX P=0/Q=12 (socket 0) peer=02:00:00:00:00:00
RX P=0/Q=13 (socket 0) -> TX P=0/Q=13 (socket 0) peer=02:00:00:00:00:00
RX P=0/Q=14 (socket 0) -> TX P=0/Q=14 (socket 0) peer=02:00:00:00:00:00
RX P=0/Q=15 (socket 0) -> TX P=0/Q=15 (socket 0) peer=02:00:00:00:00:00
RX P=0/Q=16 (socket 0) -> TX P=0/Q=16 (socket 0) peer=02:00:00:00:00:00
RX P=0/Q=17 (socket 0) -> TX P=0/Q=17 (socket 0) peer=02:00:00:00:00:00
RX P=0/Q=18 (socket 0) -> TX P=0/Q=18 (socket 0) peer=02:00:00:00:00:00
RX P=0/Q=19 (socket 0) -> TX P=0/Q=19 (socket 0) peer=02:00:00:00:00:00
RX P=0/Q=20 (socket 0) -> TX P=0/Q=20 (socket 0) peer=02:00:00:00:00:00
RX P=0/Q=21 (socket 0) -> TX P=0/Q=21 (socket 0) peer=02:00:00:00:00:00
RX P=0/Q=22 (socket 0) -> TX P=0/Q=22 (socket 0) peer=02:00:00:00:00:00
RX P=0/Q=23 (socket 0) -> TX P=0/Q=23 (socket 0) peer=02:00:00:00:00:00
RX P=0/Q=24 (socket 0) -> TX P=0/Q=24 (socket 0) peer=02:00:00:00:00:00
RX P=0/Q=25 (socket 0) -> TX P=0/Q=25 (socket 0) peer=02:00:00:00:00:00
RX P=0/Q=26 (socket 0) -> TX P=0/Q=26 (socket 0) peer=02:00:00:00:00:00
RX P=0/Q=27 (socket 0) -> TX P=0/Q=27 (socket 0) peer=02:00:00:00:00:00
RX P=0/Q=28 (socket 0) -> TX P=0/Q=28 (socket 0) peer=02:00:00:00:00:00
RX P=0/Q=29 (socket 0) -> TX P=0/Q=29 (socket 0) peer=02:00:00:00:00:00
RX P=0/Q=30 (socket 0) -> TX P=0/Q=30 (socket 0) peer=02:00:00:00:00:00
RX P=0/Q=31 (socket 0) -> TX P=0/Q=31 (socket 0) peer=02:00:00:00:00:00
RX P=0/Q=32 (socket 0) -> TX P=0/Q=32 (socket 0) peer=02:00:00:00:00:00
RX P=0/Q=33 (socket 0) -> TX P=0/Q=33 (socket 0) peer=02:00:00:00:00:00
RX P=0/Q=34 (socket 0) -> TX P=0/Q=34 (socket 0) peer=02:00:00:00:00:00
RX P=0/Q=35 (socket 0) -> TX P=0/Q=35 (socket 0) peer=02:00:00:00:00:00
RX P=0/Q=36 (socket 0) -> TX P=0/Q=36 (socket 0) peer=02:00:00:00:00:00
RX P=0/Q=37 (socket 0) -> TX P=0/Q=37 (socket 0) peer=02:00:00:00:00:00
RX P=0/Q=38 (socket 0) -> TX P=0/Q=38 (socket 0) peer=02:00:00:00:00:00
RX P=0/Q=39 (socket 0) -> TX P=0/Q=39 (socket 0) peer=02:00:00:00:00:00
RX P=0/Q=40 (socket 0) -> TX P=0/Q=40 (socket 0) peer=02:00:00:00:00:00
RX P=0/Q=41 (socket 0) -> TX P=0/Q=41 (socket 0) peer=02:00:00:00:00:00
RX P=0/Q=42 (socket 0) -> TX P=0/Q=42 (socket 0) peer=02:00:00:00:00:00
RX P=0/Q=43 (socket 0) -> TX P=0/Q=43 (socket 0) peer=02:00:00:00:00:00
RX P=0/Q=44 (socket 0) -> TX P=0/Q=44 (socket 0) peer=02:00:00:00:00:00
RX P=0/Q=45 (socket 0) -> TX P=0/Q=45 (socket 0) peer=02:00:00:00:00:00
RX P=0/Q=46 (socket 0) -> TX P=0/Q=46 (socket 0) peer=02:00:00:00:00:00
RX P=0/Q=47 (socket 0) -> TX P=0/Q=47 (socket 0) peer=02:00:00:00:00:00
RX P=0/Q=48 (socket 0) -> TX P=0/Q=48 (socket 0) peer=02:00:00:00:00:00
RX P=0/Q=49 (socket 0) -> TX P=0/Q=49 (socket 0) peer=02:00:00:00:00:00
RX P=0/Q=50 (socket 0) -> TX P=0/Q=50 (socket 0) peer=02:00:00:00:00:00
RX P=0/Q=51 (socket 0) -> TX P=0/Q=51 (socket 0) peer=02:00:00:00:00:00
RX P=0/Q=52 (socket 0) -> TX P=0/Q=52 (socket 0) peer=02:00:00:00:00:00
RX P=0/Q=53 (socket 0) -> TX P=0/Q=53 (socket 0) peer=02:00:00:00:00:00
RX P=0/Q=54 (socket 0) -> TX P=0/Q=54 (socket 0) peer=02:00:00:00:00:00
RX P=0/Q=55 (socket 0) -> TX P=0/Q=55 (socket 0) peer=02:00:00:00:00:00
RX P=0/Q=56 (socket 0) -> TX P=0/Q=56 (socket 0) peer=02:00:00:00:00:00
RX P=0/Q=57 (socket 0) -> TX P=0/Q=57 (socket 0) peer=02:00:00:00:00:00
RX P=0/Q=58 (socket 0) -> TX P=0/Q=58 (socket 0) peer=02:00:00:00:00:00
RX P=0/Q=59 (socket 0) -> TX P=0/Q=59 (socket 0) peer=02:00:00:00:00:00
RX P=0/Q=60 (socket 0) -> TX P=0/Q=60 (socket 0) peer=02:00:00:00:00:00
RX P=0/Q=61 (socket 0) -> TX P=0/Q=61 (socket 0) peer=02:00:00:00:00:00
RX P=0/Q=62 (socket 0) -> TX P=0/Q=62 (socket 0) peer=02:00:00:00:00:00
RX P=0/Q=63 (socket 0) -> TX P=0/Q=63 (socket 0) peer=02:00:00:00:00:00
rxonly packet forwarding packets/burst=32
nb forwarding cores=1 - nb forwarding ports=1
port 0: RX queue number: 64 Tx queue number: 64
Rx offloads=0x0 Tx offloads=0x10000
RX queue: 0
RX desc=1024 - RX free threshold=32
RX threshold registers: pthresh=8 hthresh=8 wthresh=0
RX Offloads=0x0
TX queue: 0
TX desc=1024 - TX free threshold=32
TX threshold registers: pthresh=32 hthresh=0 wthresh=0
TX offloads=0x10000 - TX RS bit threshold=32
18/06/2020 13:58:38 tester: scp -v /home/local_debug/output/tmp/pcap/scapy_ens8.pcap1592488718.526634 root@10.240.183.103:/tmp/tester/
18/06/2020 13:58:40 tester: scp -v /home/local_debug/output/tmp/pcap/scapy_ens8.cmd1592488718.526634 root@10.240.183.103:/tmp/tester/
18/06/2020 13:58:42 tester: python3 /tmp/tester/scapy_ens8.cmd1592488718.526634
18/06/2020 13:58:42 tester: packet ready for sending...
Ether(dst='ff:ff:ff:ff:ff:ff', src='00:00:00:00:00:00', type=34525)/IPv6(version=6, tc=0, fl=0, plen=488, nh=59, hlim=64, src='cdcd:910a:2222:5498:8475:1111:3900:2020', dst='abab:910b:6666:3457:8295:3333:1800:2929')/Raw(load=b'\x08\x00%-\x00\x00\x00\x00XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX')
Ether(dst='ff:ff:ff:ff:ff:ff', src='00:00:00:00:00:00', type=34525)/IPv6(version=6, tc=0, fl=0, plen=488, nh=59, hlim=64, src='abab:910b:6666:3457:8295:3333:1800:2929', dst='cdcd:910a:2222:5498:8475:1111:3900:2020')/Raw(load=b'\x08\x00%-\x00\x00\x00\x00XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX')
..
Sent 2 packets.
18/06/2020 13:58:45 dut.10.240.183.181: port 0/queue 37: received 1 packets
src=00:00:00:00:00:00 - dst=FF:FF:FF:FF:FF:FF - type=0x86dd - length=542 - nb_segs=1 - RSS hash=0x5c24be5 - RSS queue=0x25 - hw ptype: L2_ETHER L3_IPV6_EXT_UNKNOWN L4_NONFRAG - sw ptype: L2_ETHER L3_IPV6 - l2_len=14 - l3_len=40 - Receive queue=0x25
ol_flags: PKT_RX_RSS_HASH PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN
port 0/queue 37: received 1 packets
src=00:00:00:00:00:00 - dst=FF:FF:FF:FF:FF:FF - type=0x86dd - length=542 - nb_segs=1 - RSS hash=0x5c24be5 - RSS queue=0x25 - hw ptype: L2_ETHER L3_IPV6_EXT_UNKNOWN L4_NONFRAG - sw ptype: L2_ETHER L3_IPV6 - l2_len=14 - l3_len=40 - Receive queue=0x25
ol_flags: PKT_RX_RSS_HASH PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN
18/06/2020 13:58:45 dut.10.240.183.181: stop
18/06/2020 13:58:45 dut.10.240.183.181: stop
Telling cores to stop...
Waiting for lcores to finish...
------- Forward Stats for RX Port= 0/Queue=37 -> TX Port= 0/Queue=37 -------
RX-packets: 2 TX-packets: 0 TX-dropped: 0
---------------------- Forward statistics for port 0 ----------------------
RX-packets: 2 RX-dropped: 0 RX-total: 2
TX-packets: 0 TX-dropped: 0 TX-total: 0
----------------------------------------------------------------------------
+++++++++++++++ Accumulated forward statistics for all ports+++++++++++++++
RX-packets: 2 RX-dropped: 0 RX-total: 2
TX-packets: 0 TX-dropped: 0 TX-total: 0
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Done.
18/06/2020 13:58:45 dut.10.240.183.181: flow flush 0
18/06/2020 13:58:45 dut.10.240.183.181: flow flush 0
18/06/2020 13:58:45 dut.10.240.183.181: quit
18/06/2020 13:58:47 dut.10.240.183.181: quit
Stopping port 0...
Stopping ports...
Done
Shutting down port 0...
Closing ports...
Done
Bye...
18/06/2020 13:58:47 AdvancedRSSTest: Test Case test_rss_simple_xor Result PASSED:
18/06/2020 13:58:47 dut.10.240.183.181: kill_all: called by dut and prefix list has value.
18/06/2020 13:58:47 dts:
TEST SUITE ENDED: AdvancedRSSTest
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [dts] [PATCH V2 0/2]tests/cvl_advanced_rss
2020-06-18 6:42 ` Zeng, XiaoxiaoX
@ 2020-06-18 6:45 ` He, Zhiwei
0 siblings, 0 replies; 7+ messages in thread
From: He, Zhiwei @ 2020-06-18 6:45 UTC (permalink / raw)
To: Zeng, XiaoxiaoX, dts
Acked-by: He Zhiwei <zhiwei.he@intel.com>
-----Original Message-----
From: dts <dts-bounces@dpdk.org> On Behalf Of Zeng, XiaoxiaoX
Sent: Thursday, June 18, 2020 2:42 PM
To: dts@dpdk.org
Subject: Re: [dts] [PATCH V2 0/2]tests/cvl_advanced_rss
Tested-by: Zeng, XiaoxiaoX <xiaoxiaox.zeng@intel.com>
Best regards,
Zeng,xiaoxiao
> -----Original Message-----
> From: Zeng, XiaoxiaoX <xiaoxiaox.zeng@intel.com>
> Sent: Thursday, June 18, 2020 11:18 PM
> To: dts@dpdk.org
> Cc: Zeng, XiaoxiaoX <xiaoxiaox.zeng@intel.com>
> Subject: [dts] [PATCH V2 0/2]tests/cvl_advanced_rss
>
> *.add a dictionary to store result logs in cvl_advanced_rss.
> *.modify PF verify function in rte_flow_common.
>
> *** BLURB HERE ***
>
> Zeng Xiaoxiao (2):
> optimize cvl_advanced_rss code
> optimize cvl_advanced_rss verify function
>
> tests/TestSuite_cvl_advanced_rss.py | 32 +++++++++++++++-------
> tests/rte_flow_common.py | 41 +++++++++++++----------------
> 2 files changed, 40 insertions(+), 33 deletions(-)
>
> --
> 2.17.1
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [dts] [PATCH V2 0/2]tests/cvl_advanced_rss
2020-06-18 15:18 [dts] [PATCH V2 0/2]tests/cvl_advanced_rss Zeng Xiaoxiao
2020-06-18 6:42 ` Zeng, XiaoxiaoX
@ 2020-06-18 6:54 ` He, Zhiwei
2020-06-18 15:18 ` [dts] [PATCH V2 1/2]tests/cvl_advanced_rss: optimize cvl_advanced_rss code Zeng Xiaoxiao
` (2 subsequent siblings)
4 siblings, 0 replies; 7+ messages in thread
From: He, Zhiwei @ 2020-06-18 6:54 UTC (permalink / raw)
To: Zeng, XiaoxiaoX, dts; +Cc: Zeng, XiaoxiaoX
Acked-by: He Zhiwei <zhiwei.he@intel.com>
-----Original Message-----
From: dts <dts-bounces@dpdk.org> On Behalf Of Zeng Xiaoxiao
Sent: Thursday, June 18, 2020 11:18 PM
To: dts@dpdk.org
Cc: Zeng, XiaoxiaoX <xiaoxiaox.zeng@intel.com>
Subject: [dts] [PATCH V2 0/2]tests/cvl_advanced_rss
*.add a dictionary to store result logs in cvl_advanced_rss.
*.modify PF verify function in rte_flow_common.
*** BLURB HERE ***
Zeng Xiaoxiao (2):
optimize cvl_advanced_rss code
optimize cvl_advanced_rss verify function
tests/TestSuite_cvl_advanced_rss.py | 32 +++++++++++++++-------
tests/rte_flow_common.py | 41 +++++++++++++----------------
2 files changed, 40 insertions(+), 33 deletions(-)
--
2.17.1
^ permalink raw reply [flat|nested] 7+ messages in thread
* [dts] [PATCH V2 0/2]tests/cvl_advanced_rss
@ 2020-06-18 15:18 Zeng Xiaoxiao
2020-06-18 6:42 ` Zeng, XiaoxiaoX
` (4 more replies)
0 siblings, 5 replies; 7+ messages in thread
From: Zeng Xiaoxiao @ 2020-06-18 15:18 UTC (permalink / raw)
To: dts; +Cc: Zeng Xiaoxiao
*.add a dictionary to store result logs in cvl_advanced_rss.
*.modify PF verify function in rte_flow_common.
*** BLURB HERE ***
Zeng Xiaoxiao (2):
optimize cvl_advanced_rss code
optimize cvl_advanced_rss verify function
tests/TestSuite_cvl_advanced_rss.py | 32 +++++++++++++++-------
tests/rte_flow_common.py | 41 +++++++++++++----------------
2 files changed, 40 insertions(+), 33 deletions(-)
--
2.17.1
^ permalink raw reply [flat|nested] 7+ messages in thread
* [dts] [PATCH V2 1/2]tests/cvl_advanced_rss: optimize cvl_advanced_rss code
2020-06-18 15:18 [dts] [PATCH V2 0/2]tests/cvl_advanced_rss Zeng Xiaoxiao
2020-06-18 6:42 ` Zeng, XiaoxiaoX
2020-06-18 6:54 ` He, Zhiwei
@ 2020-06-18 15:18 ` Zeng Xiaoxiao
2020-06-18 15:18 ` [dts] [PATCH V2 2/2]tests/rte_flow_common: optimize cvl_advanced_rss verify function Zeng Xiaoxiao
2020-06-19 6:26 ` [dts] [PATCH V2 0/2]tests/cvl_advanced_rss Tu, Lijuan
4 siblings, 0 replies; 7+ messages in thread
From: Zeng Xiaoxiao @ 2020-06-18 15:18 UTC (permalink / raw)
To: dts; +Cc: Zeng Xiaoxiao
Signed-off-by: Zeng Xiaoxiao <xiaoxiaox.zeng@intel.com>
---
| 32 ++++++++++++++++++++---------
1 file changed, 22 insertions(+), 10 deletions(-)
--git a/tests/TestSuite_cvl_advanced_rss.py b/tests/TestSuite_cvl_advanced_rss.py
index 58c7b02..44c8b23 100644
--- a/tests/TestSuite_cvl_advanced_rss.py
+++ b/tests/TestSuite_cvl_advanced_rss.py
@@ -736,8 +736,8 @@ tv_mac_ipv6_vxlan_icmp_symmetric_toeplitz= {
tv_mac_ipv4_simple_xor= {
"name":"tv_mac_ipv4_simple_xor",
"rte_flow_pattern":"flow create 0 ingress pattern end actions rss func simple_xor key_len 0 queues end / end",
- "scapy_str": ['Ether()/IP("src="1.1.4.1",dst="2.2.2.3")/("X"*480)',
- 'Ether()/IP("src="2.2.2.3",dst="1.1.4.1")/("X"*480)'],
+ "scapy_str": ['Ether()/IP(src="1.1.4.1",dst="2.2.2.3")/("X"*480)',
+ 'Ether()/IP(src="2.2.2.3",dst="1.1.4.1")/("X"*480)'],
"check_func": rfc.check_simplexor_queue,
"check_func_param": {"expect_port":0}
}
@@ -856,7 +856,6 @@ class AdvancedRSSTest(TestCase):
def _rte_flow_validate_pattern(self, test_vectors, command, is_vxlan):
- global test_results
out = self.dut.send_expect(command, "testpmd> ", 120)
self.logger.debug(out) #print the log
self.dut.send_expect("port config 0 rss-hash-key ipv4 1234abcd1234abcd1234abcd1234abcd1234abcd1234abcd1234abcd1234abcd1234abcd1234abcd1234abcd1234abcd1234abcd", "testpmd> ", 15)
@@ -865,9 +864,10 @@ class AdvancedRSSTest(TestCase):
self.dut.send_expect("set fwd rxonly", "testpmd> ", 15)
self.dut.send_expect("set verbose 1", "testpmd> ", 15)
- test_results.clear()
self.count = 1
- self.mac_count=100
+ self.mac_count = 100
+ result_dic = dict()
+ result_flag = 0
for tv in test_vectors:
out = self.dut.send_expect(tv["rte_flow_pattern"], "testpmd> ", 15) #create a rule
print(out)
@@ -888,14 +888,26 @@ class AdvancedRSSTest(TestCase):
print("packet:")
print(tv["scapy_str"])
- out = self.dut.send_expect("stop", "testpmd> ",60)
- print(out)
- log_msg = tv["check_func"](out)
- print(log_msg)
- rfc.check_rx_tx_packets_match(out, self.mac_count)
+ if "symmetric" or "xor" in tv["name"]:
+ out = self.dut.get_session_output(timeout=3)
+ self.dut.send_expect("stop", "testpmd> ", 60)
+ else:
+ out = self.dut.send_expect("stop", "testpmd> ", 60)
+ result, ret_log = rfc.check_rx_tx_packets_match(out, self.mac_count)
+ self.verify(result is True, ret_log)
+ ret_result, log_msg = tv["check_func"](out)
+ print("%s result is: %s ,%s " % (tv["name"], ret_result, log_msg))
+
+ result_dic[tv["name"]] = ret_result
+
+ print(result_dic)
+
+ if False in result_dic.values():
+ result_flag = 1
self.dut.send_expect("flow flush %d" % self.dut_ports[0], "testpmd> ")
self.dut.send_expect("quit", "#")
+ self.verify(result_flag == 0, "Some case failed")
def test_advance_rss_ipv4(self):
command = self.create_testpmd_command()
--
2.17.1
^ permalink raw reply [flat|nested] 7+ messages in thread
* [dts] [PATCH V2 2/2]tests/rte_flow_common: optimize cvl_advanced_rss verify function
2020-06-18 15:18 [dts] [PATCH V2 0/2]tests/cvl_advanced_rss Zeng Xiaoxiao
` (2 preceding siblings ...)
2020-06-18 15:18 ` [dts] [PATCH V2 1/2]tests/cvl_advanced_rss: optimize cvl_advanced_rss code Zeng Xiaoxiao
@ 2020-06-18 15:18 ` Zeng Xiaoxiao
2020-06-19 6:26 ` [dts] [PATCH V2 0/2]tests/cvl_advanced_rss Tu, Lijuan
4 siblings, 0 replies; 7+ messages in thread
From: Zeng Xiaoxiao @ 2020-06-18 15:18 UTC (permalink / raw)
To: dts; +Cc: Zeng Xiaoxiao
Signed-off-by: Zeng Xiaoxiao <xiaoxiaox.zeng@intel.com>
---
tests/rte_flow_common.py | 41 ++++++++++++++++++----------------------
1 file changed, 18 insertions(+), 23 deletions(-)
diff --git a/tests/rte_flow_common.py b/tests/rte_flow_common.py
index 5a45a7d..0574e49 100644
--- a/tests/rte_flow_common.py
+++ b/tests/rte_flow_common.py
@@ -525,31 +525,26 @@ def check_packets_of_each_queue(out):
"""
check each queue has receive packets
"""
- queue_result = re.findall(r"-------(.*)-------\s*(.*)", out)
- queueid_rxpackets_list = []
- log_msg = ""
- for q in queue_result:
- queue_id =get_queue_id(q[0])
- rx_packets=get_rxpackets(q[1])
- if (queue_id != -1):
- queueid_rxpackets_list.append([queue_id, rx_packets])
-
- if (len(queueid_rxpackets_list) == 10):
- if (queueid_rxpackets_list > 0):
- return True, log_msg
- else :
- log_msg = "The queue is rx-packets" % id
- return False, log_msg
+ out = out.split("Forward statistics for port 0")[0]
+ lines = out.split("\r\n")
+ queue_flag = 0
- p = re.compile("\sForward Stats for RX Port=(.*?)/Queue=(.*?)\s->")
- li = re.findall(p, out)
- queue_set = set([int(i[1].strip()) for i in li])
- verify_set = set(range(64))
- log_msg = ""
- if queue_set.issubset(verify_set):
+ for line in lines:
+ line = line.strip()
+ if "Forward Stats" in line.strip():
+ result_scanner = r"RX Port= \d+/Queue=\s?([0-9]+)"
+ scanner = re.compile(result_scanner, re.DOTALL)
+ m = scanner.search(line)
+ queue_num = m.group(1)
+ if queue_num is not None:
+ queue_flag = queue_flag + 1
+
+ if queue_flag != 1:
+ log_msg = "packets goes to %s different queues" % queue_flag
return True, log_msg
else:
- return False, "queue %s out of range %s" % (queue_set, verify_set)
+ log_msg = "packets not goes to different queues"
+ return False, log_msg
def check_symmetric_queue(out):
"""
@@ -634,7 +629,7 @@ def check_iavf_packets_rss_queue(out, count, rss_match=True):
packet_sumnum = packet_sumnum + int(packet_num)
if rss_match:
- if queue_flag >= 10 and packet_sumnum == count:
+ if queue_flag == 16 and packet_sumnum == count:
log_msg = "Packets has send to %s queues" % queue_flag
return True, log_msg
else:
--
2.17.1
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [dts] [PATCH V2 0/2]tests/cvl_advanced_rss
2020-06-18 15:18 [dts] [PATCH V2 0/2]tests/cvl_advanced_rss Zeng Xiaoxiao
` (3 preceding siblings ...)
2020-06-18 15:18 ` [dts] [PATCH V2 2/2]tests/rte_flow_common: optimize cvl_advanced_rss verify function Zeng Xiaoxiao
@ 2020-06-19 6:26 ` Tu, Lijuan
4 siblings, 0 replies; 7+ messages in thread
From: Tu, Lijuan @ 2020-06-19 6:26 UTC (permalink / raw)
To: Zeng, XiaoxiaoX, dts; +Cc: Zeng, XiaoxiaoX
Applied the series, thanks
-----Original Message-----
From: dts <dts-bounces@dpdk.org> On Behalf Of Zeng Xiaoxiao
Sent: 2020年6月18日 23:18
To: dts@dpdk.org
Cc: Zeng, XiaoxiaoX <xiaoxiaox.zeng@intel.com>
Subject: [dts] [PATCH V2 0/2]tests/cvl_advanced_rss
*.add a dictionary to store result logs in cvl_advanced_rss.
*.modify PF verify function in rte_flow_common.
*** BLURB HERE ***
Zeng Xiaoxiao (2):
optimize cvl_advanced_rss code
optimize cvl_advanced_rss verify function
tests/TestSuite_cvl_advanced_rss.py | 32 +++++++++++++++-------
tests/rte_flow_common.py | 41 +++++++++++++----------------
2 files changed, 40 insertions(+), 33 deletions(-)
--
2.17.1
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2020-06-19 6:26 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-18 15:18 [dts] [PATCH V2 0/2]tests/cvl_advanced_rss Zeng Xiaoxiao
2020-06-18 6:42 ` Zeng, XiaoxiaoX
2020-06-18 6:45 ` He, Zhiwei
2020-06-18 6:54 ` He, Zhiwei
2020-06-18 15:18 ` [dts] [PATCH V2 1/2]tests/cvl_advanced_rss: optimize cvl_advanced_rss code Zeng Xiaoxiao
2020-06-18 15:18 ` [dts] [PATCH V2 2/2]tests/rte_flow_common: optimize cvl_advanced_rss verify function Zeng Xiaoxiao
2020-06-19 6:26 ` [dts] [PATCH V2 0/2]tests/cvl_advanced_rss 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).