* [dts] [PATCH V1 0/2] add iavf rss configure case and plan
@ 2021-02-25 11:05 Zhimin Huang
2021-02-25 11:05 ` [dts] [PATCH V1 1/2] test_plans/cvl_iavf_rss_configure_test_plan:add iavf rss configure test plan Zhimin Huang
` (2 more replies)
0 siblings, 3 replies; 5+ messages in thread
From: Zhimin Huang @ 2021-02-25 11:05 UTC (permalink / raw)
To: dts; +Cc: lijuan.tu, Zhimin Huang
*.add 10 test case and testplan.
Zhimin Huang (2):
test_plans/cvl_iavf_rss_configure_test_plan:add iavf rss configure test plan.
tests/cvl_iavf_rss_configure:add iavf rss configure test case.
test_plans/cvl_iavf_rss_configure_test_plan.rst | 328 ++++++++++++++++++++
tests/TestSuite_cvl_iavf_rss_configure.py | 392 ++++++++++++++++++++++++
2 files changed, 720 insertions(+)
create mode 100755 test_plans/cvl_iavf_rss_configure_test_plan.rst
create mode 100755 tests/TestSuite_cvl_iavf_rss_configure.py
--
1.8.3.1
^ permalink raw reply [flat|nested] 5+ messages in thread
* [dts] [PATCH V1 1/2] test_plans/cvl_iavf_rss_configure_test_plan:add iavf rss configure test plan
2021-02-25 11:05 [dts] [PATCH V1 0/2] add iavf rss configure case and plan Zhimin Huang
@ 2021-02-25 11:05 ` Zhimin Huang
2021-02-25 11:05 ` [dts] [PATCH V1 2/2] tests/cvl_iavf_rss_configure:add iavf rss configure test case Zhimin Huang
2021-03-02 4:39 ` [dts] [PATCH V1 0/2] add iavf rss configure case and plan Tu, Lijuan
2 siblings, 0 replies; 5+ messages in thread
From: Zhimin Huang @ 2021-02-25 11:05 UTC (permalink / raw)
To: dts; +Cc: lijuan.tu, Zhimin Huang
*.iavf support configure rss:
runtime func:port config all rss ip/udp/tcp/sctp/none/all
command-line:--rss-ip, --rss-udp, --disable-rss
---
| 328 ++++++++++++++++++++++++
1 file changed, 328 insertions(+)
create mode 100755 test_plans/cvl_iavf_rss_configure_test_plan.rst
--git a/test_plans/cvl_iavf_rss_configure_test_plan.rst b/test_plans/cvl_iavf_rss_configure_test_plan.rst
new file mode 100755
index 0000000..9766c76
--- /dev/null
+++ b/test_plans/cvl_iavf_rss_configure_test_plan.rst
@@ -0,0 +1,328 @@
+.. Copyright (c) <2021>, Intel Corporation
+ All rights reserved.
+
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions
+ are met:
+
+ - Redistributions of source code must retain the above copyright
+ notice, this list of conditions and the following disclaimer.
+
+ - Redistributions in binary form must reproduce the above copyright
+ notice, this list of conditions and the following disclaimer in
+ the documentation and/or other materials provided with the
+ distribution.
+
+ - Neither the name of Intel Corporation nor the names of its
+ contributors may be used to endorse or promote products derived
+ from this software without specific prior written permission.
+
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
+ FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
+ COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
+ INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+ (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
+ SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+ HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
+ STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
+ OF THE POSSIBILITY OF SUCH DAMAGE.
+
+===============================
+IAVF: default RSS configuration
+===============================
+
+Description
+===========
+
+DPDK-21.02 improved iavf default RSS, major feature are:
+
+ - support IAVF to use port config to set ip/udp/tcp/sctp RSS, other rss_type like gtpu/l2tpv3/esp/ah will be
+ rejected, they should only be supported used in RTE_FLOW::
+
+ port config all rss ip/udp/tcp/sctp
+
+ - default RSS should be overwritten but not append, for example, set udp, then set tcp, it will be tcp at the end.
+ - any kernel PF enabled default RSS should be disabled, it requires ice base driver >= 1.3.0.
+ - only support Intel E810 series cards now, but not support Intel 700 series cards.
+
+Prerequisites
+=============
+
+1. NIC requires:
+
+ - Intel E810 series ethernet cards: columbiaville_25g, columbiaville_100g, etc.
+
+2. insmod ice.ko, and bind PF to ice.
+
+3. create a VF from a PF in DUT, set mac address for this VF::
+
+ echo 1 > /sys/bus/pci/devices/0000\:18\:00.0/sriov_numvfs
+ ip link set enp24s0f0 vf 0 mac 00:11:22:33:44:55
+
+4. bind VF to vfio-pci::
+
+ modprobe vfio-pci
+ usertools/dpdk-devbind.py --force --bind=vfio-pci 0000:18:01.0
+
+5. launch testpmd::
+
+ ./x86_64-native-linuxapp-gcc/app/testpmd -c 0xf -n 4 -- -i --rxq=16 --txq=16
+ testpmd>set fwd rxonly
+ testpmd>set verbose 1
+ testpmd> start
+
+Basic test steps
+----------------
+
+1. set rss function
+
+* testpmd command-line options::
+
+ --rss-ip: set ip RSS.
+ --rss-udp: set udp RSS.
+ --disable-rss: disable RSS.
+
+ RSS is on by default.
+
+* testpmd runtime functions::
+
+ port config all rss ip/udp/tcp/sctp/none/all
+
+ * The ``none`` option is equivalent to the ``--disable-rss`` command-line option.
+ * The `` ip`` option is equivalent to the ``--rss-ip`` command-line option.
+ * The `` udp`` option is equivalent to the ``--rss-udp`` command-line option.
+
+.. note::
+
+ - IP_RSS: ip/udp/tcp/sctp pkts use L3 ipv4()/ipv6() get hash values.
+ - UDP(TCP/SCTP)_RSS: only UDP(TCP/SCTP) pkts use L4 UDP()/TCP()/SCTP() get hash values, other pkts have no hash values.
+
+2. transmit different protocol packets, and check hash results based on following table. (take IP RSS for example)
+
+ a. transmit MAC_IPV4_PAY packet::
+
+ Ether(dst="00:11:22:33:44:55")/IP(src="192.168.0.2",dst="192.168.0.3")/("X"*40)
+
+ b. check hash results that `RSS hash=0x5bf8517c` in the output::
+
+ testpmd> port 0/queue 12: received 1 packets(have hash)
+ src=00:1E:67:56:C8:2B - dst=00:11:22:33:44:55 - type=0x0800 - length=74 - nb_segs=1 - RSS hash=0x5bf8517c - RSS
+ queue=0xc - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN L4_NONFRAG - sw ptype: L2_ETHER L3_IPV4 - l2_len=14 -
+ l3_len=20 - Receive queue=0xc
+ ol_flags: PKT_RX_RSS_HASH PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN
+
+ c. transmit MAC_IPV4_UDP packet::
+
+ Ether(dst="00:11:22:33:44:55")/IP(src="192.168.0.2",dst="192.168.0.3")/UDP(sport=1024,dport=1025)/("X"*40)
+
+ d. check hash results that `RSS hash=0x5bf8517c` in the output, MAC_IPV4_UDP has same hash vaule with MAC_IPV4_PAY,
+ that's becuse they have same IP dst and src::
+
+ testpmd> port 0/queue 12: received 1 packets(have hash)
+ src=00:1E:67:56:C8:2B - dst=00:11:22:33:44:55 - type=0x0800 - length=82 - nb_segs=1 - RSS hash=0x5bf8517c - RSS
+ queue=0xc - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN L4_UDP - sw ptype: L2_ETHER L3_IPV4 L4_UDP - l2_len=14 -
+ l3_len=20 - l4_len=8 - Receive queue=0xc
+ ol_flags: PKT_RX_RSS_HASH PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN
+
+.. note::
+
+ Some packets don't have string `RSS hash` in the output, as their hash function are disabled.
+
+
+.. table::
+
+ +-------------------------------+------------------------------+--------------------------+-----------------------------+-------------------------+
+ | Default hash function: Non Symmetric_toeplitz |
+ +-------------------------------+------------------------------+--------------------------+-----------------------------+-------------------------+
+ | RSS Configuration | Pattern | Default Input Set | Traffic packet type | hash action |
+ +===============================+==============================+==========================+=============================+=========================+
+ | | MAC_IPV4, MAC_IPV6 | ipv4, ipv6 | MAC_IPV4_PAY | record hash value |
+ | +------------------------------+--------------------------+-----------------------------+-------------------------+
+ | | | | MAC_IPV4_UDP | same hash value |
+ | +------------------------------+--------------------------+-----------------------------+-------------------------+
+ | | | | MAC_IPV4_TCP | same hash value |
+ | +------------------------------+--------------------------+-----------------------------+-------------------------+
+ | | | | MAC_IPV4_SCTP | same hash value |
+ | IP +------------------------------+--------------------------+-----------------------------+-------------------------+
+ | | | | MAC_IPV6_PAY | record hash value |
+ | +------------------------------+--------------------------+-----------------------------+-------------------------+
+ | | | | MAC_IPV6_UDP | same hash value |
+ | +------------------------------+--------------------------+-----------------------------+-------------------------+
+ | | | | MAC_IPV6_TCP | same hash value |
+ | +------------------------------+--------------------------+-----------------------------+-------------------------+
+ | | | | MAC_IPV6_SCTP | same hash value |
+ +-------------------------------+------------------------------+--------------------------+-----------------------------+-------------------------+
+ | | MAC_IPV4_UDP, MAC_IPV6_UDP | ipv4-udp, ipv6-udp | MAC_IPV4_UDP | record hash value |
+ | +------------------------------+--------------------------+-----------------------------+-------------------------+
+ | | | | MAC_IPV4_PAY | no hash value |
+ | +------------------------------+--------------------------+-----------------------------+-------------------------+
+ | | | | MAC_IPV4_TCP | no hash value |
+ | +------------------------------+--------------------------+-----------------------------+-------------------------+
+ | | | | MAC_IPV4_SCTP | no hash value |
+ | UDP +------------------------------+--------------------------+-----------------------------+-------------------------+
+ | | | | MAC_IPV6_UDP | record hash value |
+ | +------------------------------+--------------------------+-----------------------------+-------------------------+
+ | | | | MAC_IPV6_PAY | no hash value |
+ | +------------------------------+--------------------------+-----------------------------+-------------------------+
+ | | | | MAC_IPV6_TCP | no hash value |
+ | +------------------------------+--------------------------+-----------------------------+-------------------------+
+ | | | | MAC_IPV6_SCTP | no hash value |
+ +-------------------------------+------------------------------+--------------------------+-----------------------------+-------------------------+
+ | | MAC_IPV4_TCP, MAC_IPV6_TCP | ipv4-tcp, ipv6-tcp | MAC_IPV4_TCP | record hash value |
+ | +------------------------------+--------------------------+-----------------------------+-------------------------+
+ | | | | MAC_IPV4_PAY | no hash value |
+ | +------------------------------+--------------------------+-----------------------------+-------------------------+
+ | | | | MAC_IPV4_UDP | no hash value |
+ | +------------------------------+--------------------------+-----------------------------+-------------------------+
+ | | | | MAC_IPV4_SCTP | no hash value |
+ | TCP +------------------------------+--------------------------+-----------------------------+-------------------------+
+ | | | | MAC_IPV6_TCP | record hash value |
+ | +------------------------------+--------------------------+-----------------------------+-------------------------+
+ | | | | MAC_IPV6_PAY | no hash value |
+ | +------------------------------+--------------------------+-----------------------------+-------------------------+
+ | | | | MAC_IPV6_UDP | no hash value |
+ | +------------------------------+--------------------------+-----------------------------+-------------------------+
+ | | | | MAC_IPV6_SCTP | no hash value |
+ +-------------------------------+------------------------------+--------------------------+-----------------------------+-------------------------+
+ | | MAC_IPV4_SCTP, MAC_IPV6_SCTP | ipv4-sctp, ipv6-sctp | MAC_IPV4_SCTP | record hash value |
+ | +------------------------------+--------------------------+-----------------------------+-------------------------+
+ | | | | MAC_IPV4_PAY | no hash value |
+ | +------------------------------+--------------------------+-----------------------------+-------------------------+
+ | | | | MAC_IPV4_UDP | no hash value |
+ | +------------------------------+--------------------------+-----------------------------+-------------------------+
+ | | | | MAC_IPV4_TCP | no hash value |
+ | SCTP +------------------------------+--------------------------+-----------------------------+-------------------------+
+ | | | | MAC_IPV6_SCTP | record hash value |
+ | +------------------------------+--------------------------+-----------------------------+-------------------------+
+ | | | | MAC_IPV6_PAY | no hash value |
+ | +------------------------------+--------------------------+-----------------------------+-------------------------+
+ | | | | MAC_IPV6_UDP | no hash value |
+ | +------------------------------+--------------------------+-----------------------------+-------------------------+
+ | | | | MAC_IPV6_TCP | no hash value |
+ +-------------------------------+------------------------------+--------------------------+-----------------------------+-------------------------+
+ | | ALL | all | MAC_IPV4_PAY | record hash value |
+ | +------------------------------+--------------------------+-----------------------------+-------------------------+
+ | | | | MAC_IPV4_UDP | different hash value |
+ | +------------------------------+--------------------------+-----------------------------+-------------------------+
+ | | | | MAC_IPV4_TCP | different hash value |
+ | +------------------------------+--------------------------+-----------------------------+-------------------------+
+ | | | | MAC_IPV4_SCTP | different hash value |
+ | all +------------------------------+--------------------------+-----------------------------+-------------------------+
+ | | | | MAC_IPV6_PAY | record hash value |
+ | +------------------------------+--------------------------+-----------------------------+-------------------------+
+ | | | | MAC_IPV6_UDP | different hash value |
+ | +------------------------------+--------------------------+-----------------------------+-------------------------+
+ | | | | MAC_IPV6_TCP | different hash value |
+ | +------------------------------+--------------------------+-----------------------------+-------------------------+
+ | | | | MAC_IPV6_SCTP | different hash value |
+ +-------------------------------+------------------------------+--------------------------+-----------------------------+-------------------------+
+ | | | | MAC_IPV4_PAY | no hash value |
+ | +------------------------------+--------------------------+-----------------------------+-------------------------+
+ | | | | MAC_IPV4_SCTP | no hash value |
+ | +------------------------------+--------------------------+-----------------------------+-------------------------+
+ | | | | MAC_IPV4_UDP | no hash value |
+ | +------------------------------+--------------------------+-----------------------------+-------------------------+
+ | | | | MAC_IPV4_TCP | no hash value |
+ | none (disable) +------------------------------+--------------------------+-----------------------------+-------------------------+
+ | | | | MAC_IPV6_PAY | no hash value |
+ | +------------------------------+--------------------------+-----------------------------+-------------------------+
+ | | | | MAC_IPV6_SCTP | no hash value |
+ | +------------------------------+--------------------------+-----------------------------+-------------------------+
+ | | | | MAC_IPV6_UDP | no hash value |
+ | +------------------------------+--------------------------+-----------------------------+-------------------------+
+ | | | | MAC_IPV6_TCP | no hash value |
+ +-------------------------------+------------------------------+--------------------------+-----------------------------+-------------------------+
+ | | MAC_IPV4, MAC_IPV6 | ipv4, ipv6 | MAC_IPV4_PAY | record hash value |
+ | +------------------------------+--------------------------+-----------------------------+-------------------------+
+ | | | | MAC_IPV4_SCTP | same hash value |
+ | +------------------------------+--------------------------+-----------------------------+-------------------------+
+ | | | | MAC_IPV4_UDP | same hash value |
+ | +------------------------------+--------------------------+-----------------------------+-------------------------+
+ | | | | MAC_IPV4_TCP | same hash value |
+ | w/o setting +------------------------------+--------------------------+-----------------------------+-------------------------+
+ | | | | MAC_IPV6_PAY | record hash value |
+ | +------------------------------+--------------------------+-----------------------------+-------------------------+
+ | | | | MAC_IPV6_SCTP | same hash value |
+ | +------------------------------+--------------------------+-----------------------------+-------------------------+
+ | | | | MAC_IPV6_UDP | same hash value |
+ | +------------------------------+--------------------------+-----------------------------+-------------------------+
+ | | | | MAC_IPV6_TCP | same hash value |
+ +-------------------------------+------------------------------+--------------------------+-----------------------------+-------------------------+
+
+Sending packets command line of scapy
+-------------------------------------
+
+.. table::
+
+ +---------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------+
+ | Traffic packet type | Scapy command line |
+ +=====================+===========================================================================================================================================================+
+ | MAC_IPV4_PAY | sendp([Ether(dst="00:11:22:33:44:55")/IP(src="192.168.0.2",dst="192.168.0.3")/("X" * 40)], iface="enp24s0f0") |
+ +---------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------+
+ | MAC_IPV4_UDP | sendp([Ether(dst="00:11:22:33:44:55")/IP(src="192.168.0.2",dst="192.168.0.3")/UDP(sport=1024,dport=1025)/("X" * 40)], iface="enp24s0f0") |
+ +---------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------+
+ | MAC_IPV4_TCP | sendp([Ether(dst="00:11:22:33:44:55")/IP(src="192.168.0.2",dst="192.168.0.3")/TCP(sport=1024,dport=1025)/("X" * 40)], iface="enp24s0f0") |
+ +---------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------+
+ | MAC_IPV4_SCTP | sendp([Ether(dst="00:11:22:33:44:55")/IP(src="192.168.0.2",dst="192.168.0.3")/SCTP(sport=1024,dport=1025)/("X" * 40)], iface="enp24s0f0") |
+ +---------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------+
+ | MAC_IPV6_PAY | sendp([Ether(dst="00:11:22:33:44:55")/IPv6(src="3ffe:2501:200:3::2",dst="3ffe:2501:200:3::3")/("X" * 40)], iface="enp24s0f0") |
+ +---------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------+
+ | MAC_IPV6_UDP | sendp([Ether(dst="00:11:22:33:44:55")/IPv6(src="3ffe:2501:200:3::2",dst="3ffe:2501:200:3::3")/UDP(sport=1024,dport=1025)/("X" * 40)], iface="enp24s0f0") |
+ +---------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------+
+ | MAC_IPV6_TCP | sendp([Ether(dst="00:11:22:33:44:55")/IPv6(src="3ffe:2501:200:3::2",dst="3ffe:2501:200:3::3")/TCP(sport=1024,dport=1025)/("X" * 40)], iface="enp24s0f0") |
+ +---------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------+
+ | MAC_IPV6_SCTP | sendp([Ether(dst="00:11:22:33:44:55")/IPv6(src="3ffe:2501:200:3::2",dst="3ffe:2501:200:3::3")/SCTP(sport=1024,dport=1025)/("X" * 40)], iface="enp24s0f0") |
+ +---------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------+
+
+Test Case: test_iavf_rss_configure_to_ip
+========================================
+
+Set rss to ip with testpmd runtime func, transmit different protocol packets, and check hash results.
+
+Test Case: test_iavf_rss_configure_to_udp
+=========================================
+
+Set rss to udp with testpmd runtime func, transmit different protocol packets, and check hash results.
+
+Test Case: test_iavf_rss_configure_to_tcp
+=========================================
+
+Set rss to tcp with testpmd runtime func, transmit different protocol packets, and check hash results.
+
+Test Case: test_iavf_rss_configure_to_sctp
+==========================================
+
+Set rss to sctp with testpmd runtime func, transmit different protocol packets, and check hash results.
+
+Test Case: test_iavf_rss_configure_to_all
+=========================================
+
+Set rss to all with testpmd runtime func, transmit different protocol packets, and check hash results.
+
+Test Case: test_iavf_rss_configure_to_none
+==========================================
+
+disable rss with testpmd runtime func, transmit different protocol packets, and check hash results.
+
+Test Case: test_iavf_rss_command_line_to_ip
+===========================================
+
+Set rss to ip with testpmd command line options, transmit different protocol packets, and check hash results.
+
+Test Case: test_iavf_rss_command_line_to_udp
+============================================
+
+Set rss to udp with testpmd command line options, transmit different protocol packets, and check hash results.
+
+Test Case: test_iavf_rss_command_line_to_none
+=============================================
+
+disable rss with testpmd command line options, transmit different protocol packets, and check hash results.
+
+Test Case: test_iavf_rss_command_line_to_default
+================================================
+
+don't set rss with either runtime func nor command line option, only use default configuration, transmit different protocol packets, and check hash results.
--
1.8.3.1
^ permalink raw reply [flat|nested] 5+ messages in thread
* [dts] [PATCH V1 2/2] tests/cvl_iavf_rss_configure:add iavf rss configure test case
2021-02-25 11:05 [dts] [PATCH V1 0/2] add iavf rss configure case and plan Zhimin Huang
2021-02-25 11:05 ` [dts] [PATCH V1 1/2] test_plans/cvl_iavf_rss_configure_test_plan:add iavf rss configure test plan Zhimin Huang
@ 2021-02-25 11:05 ` Zhimin Huang
2021-02-25 11:19 ` Huang, ZhiminX
2021-03-02 4:39 ` [dts] [PATCH V1 0/2] add iavf rss configure case and plan Tu, Lijuan
2 siblings, 1 reply; 5+ messages in thread
From: Zhimin Huang @ 2021-02-25 11:05 UTC (permalink / raw)
To: dts; +Cc: lijuan.tu, Zhimin Huang
*.iavf support rss configure:
runtime func:port config all rss ip/udp/tcp/sctp/none/all
command-line:--rss-ip, --rss-udp, --disable-rss
---
| 392 ++++++++++++++++++++++++++++++
1 file changed, 392 insertions(+)
create mode 100755 tests/TestSuite_cvl_iavf_rss_configure.py
--git a/tests/TestSuite_cvl_iavf_rss_configure.py b/tests/TestSuite_cvl_iavf_rss_configure.py
new file mode 100755
index 0000000..86b2819
--- /dev/null
+++ b/tests/TestSuite_cvl_iavf_rss_configure.py
@@ -0,0 +1,392 @@
+# BSD LICENSE
+#
+# Copyright(c) 2021 Intel Corporation. All rights reserved.
+# All rights reserved.
+#
+# Redistribution and use in source and binary forms, with or without
+# modification, are permitted provided that the following conditions
+# are met:
+#
+# * Redistributions of source code must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+# * Redistributions in binary form must reproduce the above copyright
+# notice, this list of conditions and the following disclaimer in
+# the documentation and/or other materials provided with the
+# distribution.
+# * Neither the name of Intel Corporation nor the names of its
+# contributors may be used to endorse or promote products derived
+# from this software without specific prior written permission.
+#
+# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+import json
+import time
+import re
+import packet
+import os
+from scapy.contrib.gtp import *
+from test_case import TestCase
+from pmd_output import PmdOutput
+from rte_flow_common import RssProcessing
+
+tv_packets_basic = {
+ 'tv_mac_ipv4': 'Ether(dst="00:11:22:33:44:55")/IP(src="192.168.0.2",dst="192.168.0.3")/("X"*40)',
+ 'tv_mac_ipv6': 'Ether(dst="00:11:22:33:44:55")/IPv6(src="3ffe:2501:200:3::2",dst="3ffe:2501:200:3::3")/("X"*40)',
+ 'tv_mac_ipv4_udp': 'Ether(dst="00:11:22:33:44:55")/IP(src="192.168.0.2",dst="192.168.0.3")/UDP(sport=1024,dport=1025)/("X"*40)',
+ 'tv_mac_ipv6_udp': 'Ether(dst="00:11:22:33:44:55")/IPv6(src="3ffe:2501:200:3::2",dst="3ffe:2501:200:3::3")/UDP(sport=1024,dport=1025)/("X"*40)',
+ 'tv_mac_ipv4_tcp': 'Ether(dst="00:11:22:33:44:55")/IP(src="192.168.0.2",dst="192.168.0.3")/TCP(sport=1024,dport=1025)/("X"*40)',
+ 'tv_mac_ipv6_tcp': 'Ether(dst="00:11:22:33:44:55")/IPv6(src="3ffe:2501:200:3::2",dst="3ffe:2501:200:3::3")/TCP(sport=1024,dport=1025)/("X"*40)',
+ 'tv_mac_ipv4_sctp': 'Ether(dst="00:11:22:33:44:55")/IP(src="192.168.0.2",dst="192.168.0.3")/SCTP(sport=1024,dport=1025)/("X"*40)',
+ 'tv_mac_ipv6_sctp': 'Ether(dst="00:11:22:33:44:55")/IPv6(src="3ffe:2501:200:3::2",dst="3ffe:2501:200:3::3")/SCTP(sport=1024,dport=1025)/("X"*40)',
+}
+
+tvs_mac_ip = {
+ 'sub_casename': 'tv_mac_ip',
+ 'port_id': 0,
+ 'test': [
+ {
+ 'send_packet': tv_packets_basic['tv_mac_ipv4'],
+ 'action': {'save_hash': 'ipv4'},
+ },
+ {
+ 'send_packet': tv_packets_basic['tv_mac_ipv6'],
+ 'action': {'save_hash': 'ipv6'},
+ },
+ {
+ 'send_packet': tv_packets_basic['tv_mac_ipv4_udp'],
+ 'action': {'check_hash_same': 'ipv4'},
+ },
+ {
+ 'send_packet': tv_packets_basic['tv_mac_ipv6_udp'],
+ 'action': {'check_hash_same': 'ipv6'},
+ },
+ {
+ 'send_packet': tv_packets_basic['tv_mac_ipv4_tcp'],
+ 'action': {'check_hash_same': 'ipv4'},
+ },
+ {
+ 'send_packet': tv_packets_basic['tv_mac_ipv6_tcp'],
+ 'action': {'check_hash_same': 'ipv6'},
+ },
+ {
+ 'send_packet': tv_packets_basic['tv_mac_ipv4_sctp'],
+ 'action': {'check_hash_same': 'ipv4'},
+ },
+ {
+ 'send_packet': tv_packets_basic['tv_mac_ipv6_sctp'],
+ 'action': {'check_hash_same': 'ipv6'},
+ },
+ ]
+}
+
+tvs_mac_udp = {
+ 'sub_casename': 'tv_mac_udp',
+ 'port_id': 0,
+ 'test': [
+ {
+ 'send_packet': tv_packets_basic['tv_mac_ipv4_udp'],
+ 'action': {'save_hash', 'ipv4_udp'},
+ },
+ {
+ 'send_packet': tv_packets_basic['tv_mac_ipv6_udp'],
+ 'action': {'save_hash', 'ipv6_udp'},
+ },
+ {
+ 'send_packet': tv_packets_basic['tv_mac_ipv4'],
+ 'action': 'check_no_hash',
+ },
+ {
+ 'send_packet': tv_packets_basic['tv_mac_ipv6'],
+ 'action': 'check_no_hash',
+ },
+ {
+ 'send_packet': tv_packets_basic['tv_mac_ipv4_tcp'],
+ 'action': 'check_no_hash',
+ },
+ {
+ 'send_packet': tv_packets_basic['tv_mac_ipv6_tcp'],
+ 'action': 'check_no_hash',
+ },
+ {
+ 'send_packet': tv_packets_basic['tv_mac_ipv4_sctp'],
+ 'action': 'check_no_hash',
+ },
+ {
+ 'send_packet': tv_packets_basic['tv_mac_ipv6_sctp'],
+ 'action': 'check_no_hash',
+ },
+ ]
+}
+
+tvs_mac_tcp = {
+ 'sub_casename': 'tv_mac_tcp',
+ 'port_id': 0,
+ 'test': [
+ {
+ 'send_packet': tv_packets_basic['tv_mac_ipv4_tcp'],
+ 'action': {'save_hash', 'ipv4_tcp'},
+ },
+ {
+ 'send_packet': tv_packets_basic['tv_mac_ipv6_tcp'],
+ 'action': {'save_hash', 'ipv6_tcp'},
+ },
+ {
+ 'send_packet': tv_packets_basic['tv_mac_ipv4'],
+ 'action': 'check_no_hash',
+ },
+ {
+ 'send_packet': tv_packets_basic['tv_mac_ipv6'],
+ 'action': 'check_no_hash',
+ },
+ {
+ 'send_packet': tv_packets_basic['tv_mac_ipv4_udp'],
+ 'action': 'check_no_hash',
+ },
+ {
+ 'send_packet': tv_packets_basic['tv_mac_ipv6_udp'],
+ 'action': 'check_no_hash',
+ },
+ {
+ 'send_packet': tv_packets_basic['tv_mac_ipv4_sctp'],
+ 'action': 'check_no_hash',
+ },
+ {
+ 'send_packet': tv_packets_basic['tv_mac_ipv6_sctp'],
+ 'action': 'check_no_hash',
+ },
+ ]
+}
+
+tvs_mac_sctp = {
+ 'sub_casename': 'tv_mac_sctp',
+ 'port_id': 0,
+ 'test': [
+ {
+ 'send_packet': tv_packets_basic['tv_mac_ipv4_sctp'],
+ 'action': {'save_hash', 'ipv4_sctp'},
+ },
+ {
+ 'send_packet': tv_packets_basic['tv_mac_ipv6_sctp'],
+ 'action': {'save_hash', 'ipv6_sctp'},
+ },
+ {
+ 'send_packet': tv_packets_basic['tv_mac_ipv4'],
+ 'action': 'check_no_hash',
+ },
+ {
+ 'send_packet': tv_packets_basic['tv_mac_ipv6'],
+ 'action': 'check_no_hash',
+ },
+ {
+ 'send_packet': tv_packets_basic['tv_mac_ipv4_udp'],
+ 'action': 'check_no_hash',
+ },
+ {
+ 'send_packet': tv_packets_basic['tv_mac_ipv6_udp'],
+ 'action': 'check_no_hash',
+ },
+ {
+ 'send_packet': tv_packets_basic['tv_mac_ipv4_tcp'],
+ 'action': 'check_no_hash',
+ },
+ {
+ 'send_packet': tv_packets_basic['tv_mac_ipv6_tcp'],
+ 'action': 'check_no_hash',
+ },
+ ]
+}
+
+tvs_mac_all = {
+ 'sub_casename': 'tvs_mac_all',
+ 'port_id': 0,
+ 'test': [
+ {
+ 'send_packet': tv_packets_basic['tv_mac_ipv4'],
+ 'action': {'save_hash', 'ipv4_all'},
+ },
+ {
+ 'send_packet': tv_packets_basic['tv_mac_ipv6'],
+ 'action': {'save_hash', 'ipv6_all'},
+ },
+ {
+ 'send_packet': tv_packets_basic['tv_mac_ipv4_udp'],
+ 'action': {'check_hash_different', 'ipv4_all'},
+ },
+ {
+ 'send_packet': tv_packets_basic['tv_mac_ipv6_udp'],
+ 'action': {'check_hash_different', 'ipv6_all'},
+ },
+ {
+ 'send_packet': tv_packets_basic['tv_mac_ipv4_tcp'],
+ 'action': {'check_hash_different', 'ipv4_all'},
+ },
+ {
+ 'send_packet': tv_packets_basic['tv_mac_ipv6_tcp'],
+ 'action': {'check_hash_different', 'ipv6_all'},
+ },
+ {
+ 'send_packet': tv_packets_basic['tv_mac_ipv4_sctp'],
+ 'action': {'check_hash_different', 'ipv4_all'},
+ },
+ {
+ 'send_packet': tv_packets_basic['tv_mac_ipv6_sctp'],
+ 'action': {'check_hash_different', 'ipv6_all'},
+ },
+ ]
+}
+
+tvs_mac_disable_rss = eval(str(tvs_mac_all)
+ .replace('save_hash', 'check_no_hash')
+ .replace('check_hash_different', 'check_no_hash')
+ )
+
+class IAVFRSSConfigureTest(TestCase):
+
+ def set_up_all(self):
+ """
+ Run at the start of each test suite.
+ Generic filter Prerequistites
+ """
+ self.dut_ports = self.dut.get_ports(self.nic)
+ self.ports_socket = self.dut.get_numa_id(self.dut_ports[0])
+ # Verify that enough ports are available
+ self.verify(len(self.dut_ports) >= 1, "Insufficient ports")
+ self.tester_port0 = self.tester.get_local_port(self.dut_ports[0])
+ self.tester_iface0 = self.tester.get_interface(self.tester_port0)
+ self.cores = "1S/5C/1T"
+ # check core num
+ core_list = self.dut.get_core_list(self.cores)
+ self.verify(len(core_list) >= 5, "Insufficient cores for testing")
+
+ self.vf_driver = self.get_suite_cfg()['vf_driver']
+ if self.vf_driver is None:
+ self.vf_driver = 'vfio-pci'
+ self.pf0_intf = self.dut.ports_info[self.dut_ports[0]]['intf']
+ self.create_vf()
+
+ self.queue_num = 16
+ self.param = " --rxq={} --txq={} ".format(self.queue_num, self.queue_num)
+ self.pmdout = PmdOutput(self.dut)
+ self.launch_testpmd(param=self.param)
+ self.rssprocess = RssProcessing(self, self.pmdout, [self.tester_iface0], self.queue_num)
+ self.dut_session = self.dut.new_session()
+
+ def set_up(self):
+ """
+ Run before each test case.
+ """
+ # check testpmd process status
+ cmd = "ps -aux | grep testpmd | grep -v grep"
+ out = self.dut_session.send_expect(cmd, "#", 15)
+ if "testpmd" not in out:
+ self.restart_testpmd()
+
+ def tear_down(self):
+ """
+ Run after each test case.
+ """
+ self.pmdout.execute_cmd("stop")
+
+ def tear_down_all(self):
+ """
+ Run after each test suite.
+ """
+ self.dut.send_expect("quit", "#")
+ self.destroy_vf()
+ self.dut.kill_all()
+
+ def launch_testpmd(self, param=''):
+ """
+ start testpmd
+ """
+ #Prepare testpmd EAL and parameters
+ self.pmdout.start_testpmd(cores=self.cores, param=param,
+ eal_param=f"-w {self.vf0_pci}", socket=self.ports_socket)
+ # test link status
+ res = self.pmdout.wait_link_status_up('all', timeout=15)
+ self.verify(res is True, 'there have port link is down')
+ self.pmdout.execute_cmd("set fwd rxonly", "testpmd> ", 15)
+ self.pmdout.execute_cmd("set verbose 1", "testpmd> ", 15)
+
+ def restart_testpmd(self, cmd_line=''):
+ """
+ some case need to restart testpmd with param
+ """
+ self.pmdout.quit()
+ params = self.param + cmd_line
+ self.launch_testpmd(param=params)
+ self.pmdout.execute_cmd("start")
+
+ def create_vf(self):
+ self.dut.bind_interfaces_linux('ice')
+ self.dut.generate_sriov_vfs_by_port(self.dut_ports[0], 1)
+ self.sriov_vfs_port = self.dut.ports_info[self.dut_ports[0]]['vfs_port']
+ self.dut.send_expect("ifconfig %s up" % self.pf0_intf, "# ")
+ self.dut.send_expect('ip link set %s vf 0 mac 00:11:22:33:44:55' % self.pf0_intf, '#')
+ self.vf0_pci = self.sriov_vfs_port[0].pci
+ try:
+ for port in self.sriov_vfs_port:
+ port.bind_driver(self.vf_driver)
+ except Exception as e:
+ self.destroy_vf()
+ raise Exception(e)
+
+ def destroy_vf(self):
+ self.dut.send_expect("quit", "# ", 60)
+ time.sleep(2)
+ self.dut.destroy_sriov_vfs_by_port(self.dut_ports[0])
+
+ def set_rss_configure(self, rss_type):
+ if rss_type != "":
+ self.pmdout.execute_cmd("port config all rss %s" % rss_type)
+ self.pmdout.execute_cmd("start")
+
+ def test_iavf_rss_configure_to_ip(self):
+ self.set_rss_configure(rss_type='ip')
+ self.rssprocess.handle_rss_distribute_cases(cases_info=tvs_mac_ip)
+
+ def test_iavf_rss_configure_to_udp(self):
+ self.set_rss_configure(rss_type='udp')
+ self.rssprocess.handle_rss_distribute_cases(cases_info=tvs_mac_udp)
+
+ def test_iavf_rss_configure_to_tcp(self):
+ self.set_rss_configure(rss_type='tcp')
+ self.rssprocess.handle_rss_distribute_cases(cases_info=tvs_mac_tcp)
+
+ def test_iavf_rss_configure_to_sctp(self):
+ self.set_rss_configure(rss_type='sctp')
+ self.rssprocess.handle_rss_distribute_cases(cases_info=tvs_mac_sctp)
+
+ def test_iavf_rss_configure_to_all(self):
+ self.set_rss_configure(rss_type='all')
+ self.rssprocess.handle_rss_distribute_cases(cases_info=tvs_mac_all)
+
+ def test_iavf_rss_configure_to_none(self):
+ self.set_rss_configure(rss_type='none')
+ self.rssprocess.handle_rss_distribute_cases(cases_info=tvs_mac_disable_rss)
+
+ def test_iavf_rss_command_line_to_ip(self):
+ self.restart_testpmd(cmd_line='--rss-ip')
+ self.rssprocess.handle_rss_distribute_cases(cases_info=tvs_mac_ip)
+
+ def test_iavf_rss_command_line_to_udp(self):
+ self.restart_testpmd(cmd_line='--rss-udp')
+ self.rssprocess.handle_rss_distribute_cases(cases_info=tvs_mac_udp)
+
+ def test_iavf_rss_command_line_to_none(self):
+ self.restart_testpmd(cmd_line='--disable-rss')
+ self.rssprocess.handle_rss_distribute_cases(cases_info=tvs_mac_disable_rss)
+
+ def test_iavf_rss_command_line_to_default(self):
+ self.restart_testpmd()
+ self.rssprocess.handle_rss_distribute_cases(cases_info=tvs_mac_ip)
--
1.8.3.1
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [dts] [PATCH V1 2/2] tests/cvl_iavf_rss_configure:add iavf rss configure test case
2021-02-25 11:05 ` [dts] [PATCH V1 2/2] tests/cvl_iavf_rss_configure:add iavf rss configure test case Zhimin Huang
@ 2021-02-25 11:19 ` Huang, ZhiminX
0 siblings, 0 replies; 5+ messages in thread
From: Huang, ZhiminX @ 2021-02-25 11:19 UTC (permalink / raw)
To: dts; +Cc: Tu, Lijuan
[-- Attachment #1: Type: text/plain, Size: 573 bytes --]
Tested-by: Huang, ZhiminX <zhiminx.huang@intel.com>
Regards,
HuangZhiMin
> -----Original Message-----
> From: Huang, ZhiminX <zhiminx.huang@intel.com>
> Sent: Thursday, February 25, 2021 7:06 PM
> To: dts@dpdk.org
> Cc: Tu, Lijuan <lijuan.tu@intel.com>; Huang, ZhiminX
> <zhiminx.huang@intel.com>
> Subject: [dts] [PATCH V1 2/2] tests/cvl_iavf_rss_configure:add iavf rss
> configure test case
>
> *.iavf support rss configure:
>
> runtime func:port config all rss ip/udp/tcp/sctp/none/all
>
> command-line:--rss-ip, --rss-udp, --disable-rss
>
[-- Attachment #2: IAVFRSSConfigureTest.log --]
[-- Type: application/octet-stream, Size: 139218 bytes --]
26/02/2021 01:24:56 dts:
TEST SUITE : IAVFRSSConfigureTest
26/02/2021 01:24:56 dts: NIC : columbiaville_100g
26/02/2021 01:24:56 dut.10.240.183.62:
26/02/2021 01:24:56 tester:
26/02/2021 01:24:56 dut.10.240.183.62: ls
26/02/2021 01:24:56 dut.10.240.183.62: 0001-kernel-linux-add-igb_uio-mod.patch ABI_VERSION MAINTAINERS Makefile README VERSION app build.sh buildtoo config devtoo doc dpdk.log drivers eeprom_0.bin ethtool_eeprom_0.bin ethtool_eeprom_0_cat.bin examples iavf_vchnl.c kernel lib license meson.build meson_options.txt showversion usertoo x86_64-native-linuxapp-gcc
26/02/2021 01:24:56 dut.10.240.183.62: usertools/dpdk-devbind.py --force --bind=ice 0000:af:00.0 0000:af:00.1
26/02/2021 01:24:59 dut.10.240.183.62:
26/02/2021 01:25:00 dut.10.240.183.62: cat /sys/bus/pci/devices/0000\:af\:01.0/vendor
26/02/2021 01:25:01 dut.10.240.183.62: 0x8086
26/02/2021 01:25:01 dut.10.240.183.62: cat /sys/bus/pci/devices/0000\:af\:01.0/device
26/02/2021 01:25:01 dut.10.240.183.62: 0x1889
26/02/2021 01:25:01 dut.10.240.183.62: cat /sys/bus/pci/devices/0000\:af\:01.0/vendor
26/02/2021 01:25:01 dut.10.240.183.62: 0x8086
26/02/2021 01:25:01 dut.10.240.183.62: cat /sys/bus/pci/devices/0000\:af\:01.0/device
26/02/2021 01:25:01 dut.10.240.183.62: 0x1889
26/02/2021 01:25:01 dut.10.240.183.62: ifconfig ens802f0 up
26/02/2021 01:25:01 dut.10.240.183.62:
26/02/2021 01:25:01 dut.10.240.183.62: ip link set ens802f0 vf 0 mac 00:11:22:33:44:55
26/02/2021 01:25:01 dut.10.240.183.62:
26/02/2021 01:25:03 dut.10.240.183.62: x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 32,33,34,35,18 -n 4 --file-prefix=dpdk_3780_20210226012437 -a 0000:af:01.0 -- -i --rxq=16 --txq=16
26/02/2021 01:25:04 dut.10.240.183.62: EAL: Detected 72 lcore(s)
EAL: Detected 2 NUMA nodes
EAL: Detected static linkage of DPDK
EAL: Multi-process socket /var/run/dpdk/dpdk_3780_20210226012437/mp_socket
EAL: Selected IOVA mode 'VA'
EAL: 1024 hugepages of size 2097152 reserved, but no mounted hugetlbfs found for that size
EAL: Probing VFIO support...
EAL: VFIO support initialized
EAL: using IOMMU type 1 (Type 1)
EAL: Probe PCI driver: net_iavf (8086:1889) device: 0000:af:01.0 (socket 1)
Interactive-mode selected
testpmd: create a new mbuf pool <mb_pool_1>: n=179456, size=2176, socket=1
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 1)
iavf_configure_queues(): request RXDID[22] in Queue[0]
iavf_configure_queues(): request RXDID[22] in Queue[1]
iavf_configure_queues(): request RXDID[22] in Queue[2]
iavf_configure_queues(): request RXDID[22] in Queue[3]
iavf_configure_queues(): request RXDID[22] in Queue[4]
iavf_configure_queues(): request RXDID[22] in Queue[5]
iavf_configure_queues(): request RXDID[22] in Queue[6]
iavf_configure_queues(): request RXDID[22] in Queue[7]
iavf_configure_queues(): request RXDID[22] in Queue[8]
iavf_configure_queues(): request RXDID[22] in Queue[9]
iavf_configure_queues(): request RXDID[22] in Queue[10]
iavf_configure_queues(): request RXDID[22] in Queue[11]
iavf_configure_queues(): request RXDID[22] in Queue[12]
iavf_configure_queues(): request RXDID[22] in Queue[13]
iavf_configure_queues(): request RXDID[22] in Queue[14]
iavf_configure_queues(): request RXDID[22] in Queue[15]
Port 0: link state change event
Port 0: link state change event
Port 0: link state change event
Port 0: link state change event
Port 0: link state change event
Port 0: link state change event
Port 0: link state change event
Port 0: link state change event
Port 0: link state change event
Port 0: link state change event
Port 0: link state change event
Port 0: link state change event
Port 0: link state change event
Port 0: link state change event
Port 0: link state change event
Port 0: link state change event
Port 0: link state change event
Port 0: link state change event
Port 0: link state change event
Port 0: link state change event
Port 0: link state change event
Port 0: link state change event
Port 0: link state change event
Port 0: link state change event
Port 0: link state change event
Port 0: link state change event
Port 0: link state change event
Port 0: link state change event
Port 0: link state change event
Port 0: link state change event
Port 0: link state change event
Port 0: link state change event
Port 0: 00:11:22:33:44:55
Checking link statuses...
Done
26/02/2021 01:25:14 dut.10.240.183.62: show port info all
26/02/2021 01:25:14 dut.10.240.183.62:
********************* Infos for port 0 *********************
MAC address: 00:11:22:33:44:55
Device name: 0000:af:01.0
Driver name: net_iavf
Firmware-version: not available
Devargs:
Connect to socket: 1
memory allocation on the socket: 1
Link status: up
Link speed: 10 Gbps
Link duplex: full-duplex
MTU: 1500
Promiscuous mode: enabled
Allmulticast mode: disabled
Maximum number of MAC addresses: 64
Maximum number of MAC addresses of hash filtering: 0
VLAN offload:
strip off, filter off, extend off, qinq strip off
Hash key size in bytes: 52
Redirection table size: 64
Supported RSS offload flow types:
ipv4
ipv4-frag
ipv4-tcp
ipv4-udp
ipv4-sctp
ipv4-other
ipv6
ipv6-frag
ipv6-tcp
ipv6-udp
ipv6-sctp
ipv6-other
Minimum size of RX buffer: 1024
Maximum configurable length of RX packet: 9728
Maximum configurable size of LRO aggregated packet: 0
Current number of RX queues: 16
Max possible RX queues: 256
Max possible number of RXDs per queue: 4096
Min possible number of RXDs per queue: 64
RXDs number alignment: 32
Current number of TX queues: 16
Max possible TX queues: 256
Max possible number of TXDs per queue: 4096
Min possible number of TXDs per queue: 64
TXDs number alignment: 32
Max segment number per packet: 0
Max segment number per MTU/TSO: 0
26/02/2021 01:25:14 dut.10.240.183.62: set fwd rxonly
26/02/2021 01:25:14 dut.10.240.183.62:
Set rxonly packet forwarding mode
26/02/2021 01:25:14 dut.10.240.183.62: set verbose 1
26/02/2021 01:25:14 dut.10.240.183.62:
Change verbose level from 0 to 1
26/02/2021 01:25:18 IAVFRSSConfigureTest: Test Case test_iavf_rss_command_line_to_default Begin
26/02/2021 01:25:18 dut.10.240.183.62:
26/02/2021 01:25:19 tester:
26/02/2021 01:25:19 dut.10.240.183.62: quit
26/02/2021 01:25:19 dut.10.240.183.62:
Stopping port 0...
Stopping ports...
Done
Shutting down port 0...
Closing ports...
Port 0 is closed
Done
Bye...
26/02/2021 01:25:19 dut.10.240.183.62: x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 32,33,34,35,18 -n 4 --file-prefix=dpdk_3780_20210226012437 -a 0000:af:01.0 -- -i --rxq=16 --txq=16
26/02/2021 01:25:21 dut.10.240.183.62: EAL: Detected 72 lcore(s)
EAL: Detected 2 NUMA nodes
EAL: Detected static linkage of DPDK
EAL: Multi-process socket /var/run/dpdk/dpdk_3780_20210226012437/mp_socket
EAL: Selected IOVA mode 'VA'
EAL: 1024 hugepages of size 2097152 reserved, but no mounted hugetlbfs found for that size
EAL: Probing VFIO support...
EAL: VFIO support initialized
EAL: using IOMMU type 1 (Type 1)
EAL: Probe PCI driver: net_iavf (8086:1889) device: 0000:af:01.0 (socket 1)
Interactive-mode selected
testpmd: create a new mbuf pool <mb_pool_1>: n=179456, size=2176, socket=1
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 1)
iavf_configure_queues(): request RXDID[22] in Queue[0]
iavf_configure_queues(): request RXDID[22] in Queue[1]
iavf_configure_queues(): request RXDID[22] in Queue[2]
iavf_configure_queues(): request RXDID[22] in Queue[3]
iavf_configure_queues(): request RXDID[22] in Queue[4]
iavf_configure_queues(): request RXDID[22] in Queue[5]
iavf_configure_queues(): request RXDID[22] in Queue[6]
iavf_configure_queues(): request RXDID[22] in Queue[7]
iavf_configure_queues(): request RXDID[22] in Queue[8]
iavf_configure_queues(): request RXDID[22] in Queue[9]
iavf_configure_queues(): request RXDID[22] in Queue[10]
iavf_configure_queues(): request RXDID[22] in Queue[11]
iavf_configure_queues(): request RXDID[22] in Queue[12]
iavf_configure_queues(): request RXDID[22] in Queue[13]
iavf_configure_queues(): request RXDID[22] in Queue[14]
iavf_configure_queues(): request RXDID[22] in Queue[15]
Port 0: link state change event
Port 0: link state change event
Port 0: link state change event
Port 0: link state change event
Port 0: link state change event
Port 0: link state change event
Port 0: link state change event
Port 0: link state change event
Port 0: link state change event
Port 0: link state change event
Port 0: link state change event
Port 0: link state change event
Port 0: link state change event
Port 0: link state change event
Port 0: link state change event
Port 0: link state change event
Port 0: link state change event
Port 0: link state change event
Port 0: link state change event
Port 0: link state change event
Port 0: link state change event
Port 0: link state change event
Port 0: link state change event
Port 0: link state change event
Port 0: link state change event
Port 0: link state change event
Port 0: link state change event
Port 0: link state change event
Port 0: link state change event
Port 0: link state change event
Port 0: link state change event
Port 0: link state change event
Port 0: 00:11:22:33:44:55
Checking link statuses...
Done
26/02/2021 01:25:31 dut.10.240.183.62: show port info all
26/02/2021 01:25:31 dut.10.240.183.62:
********************* Infos for port 0 *********************
MAC address: 00:11:22:33:44:55
Device name: 0000:af:01.0
Driver name: net_iavf
Firmware-version: not available
Devargs:
Connect to socket: 1
memory allocation on the socket: 1
Link status: up
Link speed: 10 Gbps
Link duplex: full-duplex
MTU: 1500
Promiscuous mode: enabled
Allmulticast mode: disabled
Maximum number of MAC addresses: 64
Maximum number of MAC addresses of hash filtering: 0
VLAN offload:
strip off, filter off, extend off, qinq strip off
Hash key size in bytes: 52
Redirection table size: 64
Supported RSS offload flow types:
ipv4
ipv4-frag
ipv4-tcp
ipv4-udp
ipv4-sctp
ipv4-other
ipv6
ipv6-frag
ipv6-tcp
ipv6-udp
ipv6-sctp
ipv6-other
Minimum size of RX buffer: 1024
Maximum configurable length of RX packet: 9728
Maximum configurable size of LRO aggregated packet: 0
Current number of RX queues: 16
Max possible RX queues: 256
Max possible number of RXDs per queue: 4096
Min possible number of RXDs per queue: 64
RXDs number alignment: 32
Current number of TX queues: 16
Max possible TX queues: 256
Max possible number of TXDs per queue: 4096
Min possible number of TXDs per queue: 64
TXDs number alignment: 32
Max segment number per packet: 0
Max segment number per MTU/TSO: 0
26/02/2021 01:25:31 dut.10.240.183.62: set fwd rxonly
26/02/2021 01:25:31 dut.10.240.183.62:
Set rxonly packet forwarding mode
26/02/2021 01:25:31 dut.10.240.183.62: set verbose 1
26/02/2021 01:25:31 dut.10.240.183.62:
Change verbose level from 0 to 1
26/02/2021 01:25:31 dut.10.240.183.62: start
26/02/2021 01:25:31 dut.10.240.183.62:
rxonly packet forwarding - ports=1 - cores=1 - streams=16 - NUMA support enabled, MP allocation mode: native
Logical Core 32 (socket 1) forwards packets on 16 streams:
RX P=0/Q=0 (socket 1) -> TX P=0/Q=0 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=1 (socket 1) -> TX P=0/Q=1 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=2 (socket 1) -> TX P=0/Q=2 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=3 (socket 1) -> TX P=0/Q=3 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=4 (socket 1) -> TX P=0/Q=4 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=5 (socket 1) -> TX P=0/Q=5 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=6 (socket 1) -> TX P=0/Q=6 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=7 (socket 1) -> TX P=0/Q=7 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=8 (socket 1) -> TX P=0/Q=8 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=9 (socket 1) -> TX P=0/Q=9 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=10 (socket 1) -> TX P=0/Q=10 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=11 (socket 1) -> TX P=0/Q=11 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=12 (socket 1) -> TX P=0/Q=12 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=13 (socket 1) -> TX P=0/Q=13 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=14 (socket 1) -> TX P=0/Q=14 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=15 (socket 1) -> TX P=0/Q=15 (socket 1) 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: 16 Tx queue number: 16
Rx offloads=0x0 Tx offloads=0x10000
RX queue: 0
RX desc=512 - RX free threshold=32
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0x0
TX queue: 0
TX desc=512 - TX free threshold=32
TX threshold registers: pthresh=0 hthresh=0 wthresh=0
TX offloads=0x10000 - TX RS bit threshold=32
26/02/2021 01:25:31 IAVFRSSConfigureTest: ===================Test sub case: tv_mac_ip================
26/02/2021 01:25:31 IAVFRSSConfigureTest: ------------handle test--------------
26/02/2021 01:25:31 IAVFRSSConfigureTest: ----------send packet-------------
26/02/2021 01:25:31 IAVFRSSConfigureTest: Ether(dst="00:11:22:33:44:55")/IP(src="192.168.0.2",dst="192.168.0.3")/("X"*40)
26/02/2021 01:25:32 dut.10.240.183.62: port 0/queue 10: received 1 packets
src=00:0C:29:EB:ED:A0 - dst=00:11:22:33:44:55 - type=0x0800 - length=74 - nb_segs=1 - RSS hash=0xf3fd030a - RSS queue=0xa - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN L4_NONFRAG - sw ptype: L2_ETHER L3_IPV4 - l2_len=14 - l3_len=20 - Receive queue=0xa
ol_flags: PKT_RX_RSS_HASH PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN
26/02/2021 01:25:32 IAVFRSSConfigureTest: action: {'save_hash': 'ipv4'}
26/02/2021 01:25:32 IAVFRSSConfigureTest: hash_infos: [('0xf3fd030a', '0xa')]
26/02/2021 01:25:32 IAVFRSSConfigureTest: ----------send packet-------------
26/02/2021 01:25:32 IAVFRSSConfigureTest: Ether(dst="00:11:22:33:44:55")/IPv6(src="3ffe:2501:200:3::2",dst="3ffe:2501:200:3::3")/("X"*40)
26/02/2021 01:25:33 dut.10.240.183.62: port 0/queue 10: received 1 packets
src=00:00:00:00:00:00 - dst=00:11:22:33:44:55 - type=0x86dd - length=94 - nb_segs=1 - RSS hash=0xf09cdcda - RSS queue=0xa - hw ptype: L2_ETHER L3_IPV6_EXT_UNKNOWN L4_NONFRAG - sw ptype: L2_ETHER L3_IPV6 - l2_len=14 - l3_len=40 - Receive queue=0xa
ol_flags: PKT_RX_RSS_HASH PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN
26/02/2021 01:25:33 IAVFRSSConfigureTest: action: {'save_hash': 'ipv6'}
26/02/2021 01:25:33 IAVFRSSConfigureTest: hash_infos: [('0xf09cdcda', '0xa')]
26/02/2021 01:25:33 IAVFRSSConfigureTest: ----------send packet-------------
26/02/2021 01:25:33 IAVFRSSConfigureTest: Ether(dst="00:11:22:33:44:55")/IP(src="192.168.0.2",dst="192.168.0.3")/UDP(sport=1024,dport=1025)/("X"*40)
26/02/2021 01:25:34 dut.10.240.183.62: port 0/queue 10: received 1 packets
src=00:0C:29:EB:ED:A0 - dst=00:11:22:33:44:55 - type=0x0800 - length=82 - nb_segs=1 - RSS hash=0xf3fd030a - RSS queue=0xa - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN L4_UDP - sw ptype: L2_ETHER L3_IPV4 L4_UDP - l2_len=14 - l3_len=20 - l4_len=8 - Receive queue=0xa
ol_flags: PKT_RX_RSS_HASH PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN
26/02/2021 01:25:34 IAVFRSSConfigureTest: action: {'check_hash_same': 'ipv4'}
26/02/2021 01:25:34 IAVFRSSConfigureTest: hash_infos: [('0xf3fd030a', '0xa')]
26/02/2021 01:25:34 IAVFRSSConfigureTest: ----------send packet-------------
26/02/2021 01:25:34 IAVFRSSConfigureTest: Ether(dst="00:11:22:33:44:55")/IPv6(src="3ffe:2501:200:3::2",dst="3ffe:2501:200:3::3")/UDP(sport=1024,dport=1025)/("X"*40)
26/02/2021 01:25:35 dut.10.240.183.62: port 0/queue 10: received 1 packets
src=00:00:00:00:00:00 - dst=00:11:22:33:44:55 - type=0x86dd - length=102 - nb_segs=1 - RSS hash=0xf09cdcda - RSS queue=0xa - hw ptype: L2_ETHER L3_IPV6_EXT_UNKNOWN L4_UDP - sw ptype: L2_ETHER L3_IPV6 L4_UDP - l2_len=14 - l3_len=40 - l4_len=8 - Receive queue=0xa
ol_flags: PKT_RX_RSS_HASH PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN
26/02/2021 01:25:35 IAVFRSSConfigureTest: action: {'check_hash_same': 'ipv6'}
26/02/2021 01:25:35 IAVFRSSConfigureTest: hash_infos: [('0xf09cdcda', '0xa')]
26/02/2021 01:25:35 IAVFRSSConfigureTest: ----------send packet-------------
26/02/2021 01:25:35 IAVFRSSConfigureTest: Ether(dst="00:11:22:33:44:55")/IP(src="192.168.0.2",dst="192.168.0.3")/TCP(sport=1024,dport=1025)/("X"*40)
26/02/2021 01:25:37 dut.10.240.183.62: port 0/queue 10: received 1 packets
src=00:0C:29:EB:ED:A0 - dst=00:11:22:33:44:55 - type=0x0800 - length=94 - nb_segs=1 - RSS hash=0xf3fd030a - RSS queue=0xa - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN L4_TCP - sw ptype: L2_ETHER L3_IPV4 L4_TCP - l2_len=14 - l3_len=20 - l4_len=20 - Receive queue=0xa
ol_flags: PKT_RX_RSS_HASH PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN
26/02/2021 01:25:37 IAVFRSSConfigureTest: action: {'check_hash_same': 'ipv4'}
26/02/2021 01:25:37 IAVFRSSConfigureTest: hash_infos: [('0xf3fd030a', '0xa')]
26/02/2021 01:25:37 IAVFRSSConfigureTest: ----------send packet-------------
26/02/2021 01:25:37 IAVFRSSConfigureTest: Ether(dst="00:11:22:33:44:55")/IPv6(src="3ffe:2501:200:3::2",dst="3ffe:2501:200:3::3")/TCP(sport=1024,dport=1025)/("X"*40)
26/02/2021 01:25:38 dut.10.240.183.62: port 0/queue 10: received 1 packets
src=00:00:00:00:00:00 - dst=00:11:22:33:44:55 - type=0x86dd - length=114 - nb_segs=1 - RSS hash=0xf09cdcda - RSS queue=0xa - hw ptype: L2_ETHER L3_IPV6_EXT_UNKNOWN L4_TCP - sw ptype: L2_ETHER L3_IPV6 L4_TCP - l2_len=14 - l3_len=40 - l4_len=20 - Receive queue=0xa
ol_flags: PKT_RX_RSS_HASH PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN
26/02/2021 01:25:38 IAVFRSSConfigureTest: action: {'check_hash_same': 'ipv6'}
26/02/2021 01:25:38 IAVFRSSConfigureTest: hash_infos: [('0xf09cdcda', '0xa')]
26/02/2021 01:25:38 IAVFRSSConfigureTest: ----------send packet-------------
26/02/2021 01:25:38 IAVFRSSConfigureTest: Ether(dst="00:11:22:33:44:55")/IP(src="192.168.0.2",dst="192.168.0.3")/SCTP(sport=1024,dport=1025)/("X"*40)
26/02/2021 01:25:39 dut.10.240.183.62: port 0/queue 10: received 1 packets
src=00:0C:29:EB:ED:A0 - dst=00:11:22:33:44:55 - type=0x0800 - length=86 - nb_segs=1 - RSS hash=0xf3fd030a - RSS queue=0xa - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN L4_SCTP - sw ptype: L2_ETHER L3_IPV4 L4_SCTP - l2_len=14 - l3_len=20 - l4_len=12 - Receive queue=0xa
ol_flags: PKT_RX_RSS_HASH PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN
26/02/2021 01:25:39 IAVFRSSConfigureTest: action: {'check_hash_same': 'ipv4'}
26/02/2021 01:25:39 IAVFRSSConfigureTest: hash_infos: [('0xf3fd030a', '0xa')]
26/02/2021 01:25:39 IAVFRSSConfigureTest: ----------send packet-------------
26/02/2021 01:25:39 IAVFRSSConfigureTest: Ether(dst="00:11:22:33:44:55")/IPv6(src="3ffe:2501:200:3::2",dst="3ffe:2501:200:3::3")/SCTP(sport=1024,dport=1025)/("X"*40)
26/02/2021 01:25:40 dut.10.240.183.62: port 0/queue 10: received 1 packets
src=00:00:00:00:00:00 - dst=00:11:22:33:44:55 - type=0x86dd - length=106 - nb_segs=1 - RSS hash=0xf09cdcda - RSS queue=0xa - hw ptype: L2_ETHER L3_IPV6_EXT_UNKNOWN L4_SCTP - sw ptype: L2_ETHER L3_IPV6 L4_SCTP - l2_len=14 - l3_len=40 - l4_len=12 - Receive queue=0xa
ol_flags: PKT_RX_RSS_HASH PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN
26/02/2021 01:25:40 IAVFRSSConfigureTest: action: {'check_hash_same': 'ipv6'}
26/02/2021 01:25:40 IAVFRSSConfigureTest: hash_infos: [('0xf09cdcda', '0xa')]
26/02/2021 01:25:40 IAVFRSSConfigureTest: sub_case tv_mac_ip passed
26/02/2021 01:25:40 dut.10.240.183.62: flow flush 0
26/02/2021 01:25:40 dut.10.240.183.62:
26/02/2021 01:25:40 IAVFRSSConfigureTest: {'tv_mac_ip': 'passed'}
26/02/2021 01:25:40 IAVFRSSConfigureTest: pass rate is: 100.0
26/02/2021 01:25:40 IAVFRSSConfigureTest: Test Case test_iavf_rss_command_line_to_default Result PASSED:
26/02/2021 01:25:40 dut.10.240.183.62: stop
26/02/2021 01:25:40 dut.10.240.183.62:
Telling cores to ...
Waiting for lcores to finish...
------- Forward Stats for RX Port= 0/Queue=10 -> TX Port= 0/Queue=10 -------
RX-packets: 8 TX-packets: 0 TX-dropped: 0
---------------------- Forward statistics for port 0 ----------------------
RX-packets: 8 RX-dropped: 0 RX-total: 8
TX-packets: 0 TX-dropped: 0 TX-total: 0
----------------------------------------------------------------------------
+++++++++++++++ Accumulated forward statistics for all ports+++++++++++++++
RX-packets: 8 RX-dropped: 0 RX-total: 8
TX-packets: 0 TX-dropped: 0 TX-total: 0
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Done.
26/02/2021 01:25:40 IAVFRSSConfigureTest: Test Case test_iavf_rss_command_line_to_ip Begin
26/02/2021 01:25:40 dut.10.240.183.62:
26/02/2021 01:25:40 tester:
26/02/2021 01:25:40 dut.10.240.183.62: quit
26/02/2021 01:25:41 dut.10.240.183.62:
Stopping port 0...
Stopping ports...
Done
Shutting down port 0...
Closing ports...
Port 0 is closed
Done
Bye...
26/02/2021 01:25:41 dut.10.240.183.62: x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 32,33,34,35,18 -n 4 --file-prefix=dpdk_3780_20210226012437 -a 0000:af:01.0 -- -i --rxq=16 --txq=16 --rss-ip
26/02/2021 01:25:42 dut.10.240.183.62: EAL: Detected 72 lcore(s)
EAL: Detected 2 NUMA nodes
EAL: Detected static linkage of DPDK
EAL: Multi-process socket /var/run/dpdk/dpdk_3780_20210226012437/mp_socket
EAL: Selected IOVA mode 'VA'
EAL: 1024 hugepages of size 2097152 reserved, but no mounted hugetlbfs found for that size
EAL: Probing VFIO support...
EAL: VFIO support initialized
EAL: using IOMMU type 1 (Type 1)
EAL: Probe PCI driver: net_iavf (8086:1889) device: 0000:af:01.0 (socket 1)
Interactive-mode selected
testpmd: create a new mbuf pool <mb_pool_1>: n=179456, size=2176, socket=1
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 1)
iavf_configure_queues(): request RXDID[22] in Queue[0]
iavf_configure_queues(): request RXDID[22] in Queue[1]
iavf_configure_queues(): request RXDID[22] in Queue[2]
iavf_configure_queues(): request RXDID[22] in Queue[3]
iavf_configure_queues(): request RXDID[22] in Queue[4]
iavf_configure_queues(): request RXDID[22] in Queue[5]
iavf_configure_queues(): request RXDID[22] in Queue[6]
iavf_configure_queues(): request RXDID[22] in Queue[7]
iavf_configure_queues(): request RXDID[22] in Queue[8]
iavf_configure_queues(): request RXDID[22] in Queue[9]
iavf_configure_queues(): request RXDID[22] in Queue[10]
iavf_configure_queues(): request RXDID[22] in Queue[11]
iavf_configure_queues(): request RXDID[22] in Queue[12]
iavf_configure_queues(): request RXDID[22] in Queue[13]
iavf_configure_queues(): request RXDID[22] in Queue[14]
iavf_configure_queues(): request RXDID[22] in Queue[15]
Port 0: link state change event
Port 0: link state change event
Port 0: link state change event
Port 0: link state change event
Port 0: link state change event
Port 0: link state change event
Port 0: link state change event
Port 0: link state change event
Port 0: link state change event
Port 0: link state change event
Port 0: link state change event
Port 0: link state change event
Port 0: link state change event
Port 0: link state change event
Port 0: link state change event
Port 0: link state change event
Port 0: link state change event
Port 0: link state change event
Port 0: link state change event
Port 0: link state change event
Port 0: link state change event
Port 0: link state change event
Port 0: link state change event
Port 0: link state change event
Port 0: link state change event
Port 0: link state change event
Port 0: link state change event
Port 0: link state change event
Port 0: link state change event
Port 0: link state change event
Port 0: link state change event
Port 0: link state change event
Port 0: 00:11:22:33:44:55
Checking link statuses...
Done
26/02/2021 01:25:52 dut.10.240.183.62: show port info all
26/02/2021 01:25:52 dut.10.240.183.62:
********************* Infos for port 0 *********************
MAC address: 00:11:22:33:44:55
Device name: 0000:af:01.0
Driver name: net_iavf
Firmware-version: not available
Devargs:
Connect to socket: 1
memory allocation on the socket: 1
Link status: up
Link speed: 10 Gbps
Link duplex: full-duplex
MTU: 1500
Promiscuous mode: enabled
Allmulticast mode: disabled
Maximum number of MAC addresses: 64
Maximum number of MAC addresses of hash filtering: 0
VLAN offload:
strip off, filter off, extend off, qinq strip off
Hash key size in bytes: 52
Redirection table size: 64
Supported RSS offload flow types:
ipv4
ipv4-frag
ipv4-tcp
ipv4-udp
ipv4-sctp
ipv4-other
ipv6
ipv6-frag
ipv6-tcp
ipv6-udp
ipv6-sctp
ipv6-other
Minimum size of RX buffer: 1024
Maximum configurable length of RX packet: 9728
Maximum configurable size of LRO aggregated packet: 0
Current number of RX queues: 16
Max possible RX queues: 256
Max possible number of RXDs per queue: 4096
Min possible number of RXDs per queue: 64
RXDs number alignment: 32
Current number of TX queues: 16
Max possible TX queues: 256
Max possible number of TXDs per queue: 4096
Min possible number of TXDs per queue: 64
TXDs number alignment: 32
Max segment number per packet: 0
Max segment number per MTU/TSO: 0
26/02/2021 01:25:52 dut.10.240.183.62: set fwd rxonly
26/02/2021 01:25:52 dut.10.240.183.62:
Set rxonly packet forwarding mode
26/02/2021 01:25:52 dut.10.240.183.62: set verbose 1
26/02/2021 01:25:52 dut.10.240.183.62:
Change verbose level from 0 to 1
26/02/2021 01:25:52 dut.10.240.183.62: start
26/02/2021 01:25:52 dut.10.240.183.62:
rxonly packet forwarding - ports=1 - cores=1 - streams=16 - NUMA support enabled, MP allocation mode: native
Logical Core 32 (socket 1) forwards packets on 16 streams:
RX P=0/Q=0 (socket 1) -> TX P=0/Q=0 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=1 (socket 1) -> TX P=0/Q=1 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=2 (socket 1) -> TX P=0/Q=2 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=3 (socket 1) -> TX P=0/Q=3 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=4 (socket 1) -> TX P=0/Q=4 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=5 (socket 1) -> TX P=0/Q=5 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=6 (socket 1) -> TX P=0/Q=6 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=7 (socket 1) -> TX P=0/Q=7 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=8 (socket 1) -> TX P=0/Q=8 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=9 (socket 1) -> TX P=0/Q=9 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=10 (socket 1) -> TX P=0/Q=10 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=11 (socket 1) -> TX P=0/Q=11 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=12 (socket 1) -> TX P=0/Q=12 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=13 (socket 1) -> TX P=0/Q=13 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=14 (socket 1) -> TX P=0/Q=14 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=15 (socket 1) -> TX P=0/Q=15 (socket 1) 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: 16 Tx queue number: 16
Rx offloads=0x0 Tx offloads=0x10000
RX queue: 0
RX desc=512 - RX free threshold=32
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0x0
TX queue: 0
TX desc=512 - TX free threshold=32
TX threshold registers: pthresh=0 hthresh=0 wthresh=0
TX offloads=0x10000 - TX RS bit threshold=32
26/02/2021 01:25:52 IAVFRSSConfigureTest: ===================Test sub case: tv_mac_ip================
26/02/2021 01:25:52 IAVFRSSConfigureTest: ------------handle test--------------
26/02/2021 01:25:52 IAVFRSSConfigureTest: ----------send packet-------------
26/02/2021 01:25:52 IAVFRSSConfigureTest: Ether(dst="00:11:22:33:44:55")/IP(src="192.168.0.2",dst="192.168.0.3")/("X"*40)
26/02/2021 01:25:54 dut.10.240.183.62: port 0/queue 2: received 1 packets
src=00:0C:29:EB:ED:A0 - dst=00:11:22:33:44:55 - type=0x0800 - length=74 - nb_segs=1 - RSS hash=0x31b1a7b2 - 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
26/02/2021 01:25:54 IAVFRSSConfigureTest: action: {'save_hash': 'ipv4'}
26/02/2021 01:25:54 IAVFRSSConfigureTest: hash_infos: [('0x31b1a7b2', '0x2')]
26/02/2021 01:25:54 IAVFRSSConfigureTest: ----------send packet-------------
26/02/2021 01:25:54 IAVFRSSConfigureTest: Ether(dst="00:11:22:33:44:55")/IPv6(src="3ffe:2501:200:3::2",dst="3ffe:2501:200:3::3")/("X"*40)
26/02/2021 01:25:55 dut.10.240.183.62: port 0/queue 14: received 1 packets
src=00:00:00:00:00:00 - dst=00:11:22:33:44:55 - type=0x86dd - length=94 - nb_segs=1 - RSS hash=0xd56ab8ae - RSS queue=0xe - hw ptype: L2_ETHER L3_IPV6_EXT_UNKNOWN L4_NONFRAG - sw ptype: L2_ETHER L3_IPV6 - l2_len=14 - l3_len=40 - Receive queue=0xe
ol_flags: PKT_RX_RSS_HASH PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN
26/02/2021 01:25:55 IAVFRSSConfigureTest: action: {'save_hash': 'ipv6'}
26/02/2021 01:25:55 IAVFRSSConfigureTest: hash_infos: [('0xd56ab8ae', '0xe')]
26/02/2021 01:25:55 IAVFRSSConfigureTest: ----------send packet-------------
26/02/2021 01:25:55 IAVFRSSConfigureTest: Ether(dst="00:11:22:33:44:55")/IP(src="192.168.0.2",dst="192.168.0.3")/UDP(sport=1024,dport=1025)/("X"*40)
26/02/2021 01:25:56 dut.10.240.183.62: port 0/queue 2: received 1 packets
src=00:0C:29:EB:ED:A0 - dst=00:11:22:33:44:55 - type=0x0800 - length=82 - nb_segs=1 - RSS hash=0x31b1a7b2 - RSS queue=0x2 - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN L4_UDP - sw ptype: L2_ETHER L3_IPV4 L4_UDP - l2_len=14 - l3_len=20 - l4_len=8 - 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
26/02/2021 01:25:56 IAVFRSSConfigureTest: action: {'check_hash_same': 'ipv4'}
26/02/2021 01:25:56 IAVFRSSConfigureTest: hash_infos: [('0x31b1a7b2', '0x2')]
26/02/2021 01:25:56 IAVFRSSConfigureTest: ----------send packet-------------
26/02/2021 01:25:56 IAVFRSSConfigureTest: Ether(dst="00:11:22:33:44:55")/IPv6(src="3ffe:2501:200:3::2",dst="3ffe:2501:200:3::3")/UDP(sport=1024,dport=1025)/("X"*40)
26/02/2021 01:25:57 dut.10.240.183.62: port 0/queue 14: received 1 packets
src=00:00:00:00:00:00 - dst=00:11:22:33:44:55 - type=0x86dd - length=102 - nb_segs=1 - RSS hash=0xd56ab8ae - RSS queue=0xe - hw ptype: L2_ETHER L3_IPV6_EXT_UNKNOWN L4_UDP - sw ptype: L2_ETHER L3_IPV6 L4_UDP - l2_len=14 - l3_len=40 - l4_len=8 - Receive queue=0xe
ol_flags: PKT_RX_RSS_HASH PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN
26/02/2021 01:25:57 IAVFRSSConfigureTest: action: {'check_hash_same': 'ipv6'}
26/02/2021 01:25:57 IAVFRSSConfigureTest: hash_infos: [('0xd56ab8ae', '0xe')]
26/02/2021 01:25:57 IAVFRSSConfigureTest: ----------send packet-------------
26/02/2021 01:25:57 IAVFRSSConfigureTest: Ether(dst="00:11:22:33:44:55")/IP(src="192.168.0.2",dst="192.168.0.3")/TCP(sport=1024,dport=1025)/("X"*40)
26/02/2021 01:25:58 dut.10.240.183.62: port 0/queue 2: received 1 packets
src=00:0C:29:EB:ED:A0 - dst=00:11:22:33:44:55 - type=0x0800 - length=94 - nb_segs=1 - RSS hash=0x31b1a7b2 - RSS queue=0x2 - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN L4_TCP - sw ptype: L2_ETHER L3_IPV4 L4_TCP - l2_len=14 - l3_len=20 - l4_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
26/02/2021 01:25:58 IAVFRSSConfigureTest: action: {'check_hash_same': 'ipv4'}
26/02/2021 01:25:58 IAVFRSSConfigureTest: hash_infos: [('0x31b1a7b2', '0x2')]
26/02/2021 01:25:58 IAVFRSSConfigureTest: ----------send packet-------------
26/02/2021 01:25:58 IAVFRSSConfigureTest: Ether(dst="00:11:22:33:44:55")/IPv6(src="3ffe:2501:200:3::2",dst="3ffe:2501:200:3::3")/TCP(sport=1024,dport=1025)/("X"*40)
26/02/2021 01:25:59 dut.10.240.183.62: port 0/queue 14: received 1 packets
src=00:00:00:00:00:00 - dst=00:11:22:33:44:55 - type=0x86dd - length=114 - nb_segs=1 - RSS hash=0xd56ab8ae - RSS queue=0xe - hw ptype: L2_ETHER L3_IPV6_EXT_UNKNOWN L4_TCP - sw ptype: L2_ETHER L3_IPV6 L4_TCP - l2_len=14 - l3_len=40 - l4_len=20 - Receive queue=0xe
ol_flags: PKT_RX_RSS_HASH PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN
26/02/2021 01:25:59 IAVFRSSConfigureTest: action: {'check_hash_same': 'ipv6'}
26/02/2021 01:25:59 IAVFRSSConfigureTest: hash_infos: [('0xd56ab8ae', '0xe')]
26/02/2021 01:25:59 IAVFRSSConfigureTest: ----------send packet-------------
26/02/2021 01:25:59 IAVFRSSConfigureTest: Ether(dst="00:11:22:33:44:55")/IP(src="192.168.0.2",dst="192.168.0.3")/SCTP(sport=1024,dport=1025)/("X"*40)
26/02/2021 01:26:00 dut.10.240.183.62: port 0/queue 2: received 1 packets
src=00:0C:29:EB:ED:A0 - dst=00:11:22:33:44:55 - type=0x0800 - length=86 - nb_segs=1 - RSS hash=0x31b1a7b2 - RSS queue=0x2 - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN L4_SCTP - sw ptype: L2_ETHER L3_IPV4 L4_SCTP - l2_len=14 - l3_len=20 - l4_len=12 - 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
26/02/2021 01:26:00 IAVFRSSConfigureTest: action: {'check_hash_same': 'ipv4'}
26/02/2021 01:26:00 IAVFRSSConfigureTest: hash_infos: [('0x31b1a7b2', '0x2')]
26/02/2021 01:26:00 IAVFRSSConfigureTest: ----------send packet-------------
26/02/2021 01:26:00 IAVFRSSConfigureTest: Ether(dst="00:11:22:33:44:55")/IPv6(src="3ffe:2501:200:3::2",dst="3ffe:2501:200:3::3")/SCTP(sport=1024,dport=1025)/("X"*40)
26/02/2021 01:26:01 dut.10.240.183.62: port 0/queue 14: received 1 packets
src=00:00:00:00:00:00 - dst=00:11:22:33:44:55 - type=0x86dd - length=106 - nb_segs=1 - RSS hash=0xd56ab8ae - RSS queue=0xe - hw ptype: L2_ETHER L3_IPV6_EXT_UNKNOWN L4_SCTP - sw ptype: L2_ETHER L3_IPV6 L4_SCTP - l2_len=14 - l3_len=40 - l4_len=12 - Receive queue=0xe
ol_flags: PKT_RX_RSS_HASH PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN
26/02/2021 01:26:01 IAVFRSSConfigureTest: action: {'check_hash_same': 'ipv6'}
26/02/2021 01:26:01 IAVFRSSConfigureTest: hash_infos: [('0xd56ab8ae', '0xe')]
26/02/2021 01:26:01 IAVFRSSConfigureTest: sub_case tv_mac_ip passed
26/02/2021 01:26:01 dut.10.240.183.62: flow flush 0
26/02/2021 01:26:01 dut.10.240.183.62:
26/02/2021 01:26:01 IAVFRSSConfigureTest: {'tv_mac_ip': 'passed'}
26/02/2021 01:26:01 IAVFRSSConfigureTest: pass rate is: 100.0
26/02/2021 01:26:01 IAVFRSSConfigureTest: Test Case test_iavf_rss_command_line_to_ip Result PASSED:
26/02/2021 01:26:01 dut.10.240.183.62: stop
26/02/2021 01:26:01 dut.10.240.183.62:
Telling cores to ...
Waiting for lcores to finish...
------- Forward Stats for RX Port= 0/Queue= 2 -> TX Port= 0/Queue= 2 -------
RX-packets: 4 TX-packets: 0 TX-dropped: 0
------- Forward Stats for RX Port= 0/Queue=14 -> TX Port= 0/Queue=14 -------
RX-packets: 4 TX-packets: 0 TX-dropped: 0
---------------------- Forward statistics for port 0 ----------------------
RX-packets: 8 RX-dropped: 0 RX-total: 8
TX-packets: 0 TX-dropped: 0 TX-total: 0
----------------------------------------------------------------------------
+++++++++++++++ Accumulated forward statistics for all ports+++++++++++++++
RX-packets: 8 RX-dropped: 0 RX-total: 8
TX-packets: 0 TX-dropped: 0 TX-total: 0
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Done.
26/02/2021 01:26:01 IAVFRSSConfigureTest: Test Case test_iavf_rss_command_line_to_none Begin
26/02/2021 01:26:02 dut.10.240.183.62:
26/02/2021 01:26:02 tester:
26/02/2021 01:26:02 dut.10.240.183.62: quit
26/02/2021 01:26:03 dut.10.240.183.62:
Stopping port 0...
Stopping ports...
Done
Shutting down port 0...
Closing ports...
Port 0 is closed
Done
Bye...
26/02/2021 01:26:03 dut.10.240.183.62: x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 32,33,34,35,18 -n 4 --file-prefix=dpdk_3780_20210226012437 -a 0000:af:01.0 -- -i --rxq=16 --txq=16 --disable-rss
26/02/2021 01:26:04 dut.10.240.183.62: EAL: Detected 72 lcore(s)
EAL: Detected 2 NUMA nodes
EAL: Detected static linkage of DPDK
EAL: Multi-process socket /var/run/dpdk/dpdk_3780_20210226012437/mp_socket
EAL: Selected IOVA mode 'VA'
EAL: 1024 hugepages of size 2097152 reserved, but no mounted hugetlbfs found for that size
EAL: Probing VFIO support...
EAL: VFIO support initialized
EAL: using IOMMU type 1 (Type 1)
EAL: Probe PCI driver: net_iavf (8086:1889) device: 0000:af:01.0 (socket 1)
Interactive-mode selected
testpmd: create a new mbuf pool <mb_pool_1>: n=179456, size=2176, socket=1
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 1)
iavf_init_rss(): RSS is enabled by PF by default
iavf_configure_queues(): request RXDID[22] in Queue[0]
iavf_configure_queues(): request RXDID[22] in Queue[1]
iavf_configure_queues(): request RXDID[22] in Queue[2]
iavf_configure_queues(): request RXDID[22] in Queue[3]
iavf_configure_queues(): request RXDID[22] in Queue[4]
iavf_configure_queues(): request RXDID[22] in Queue[5]
iavf_configure_queues(): request RXDID[22] in Queue[6]
iavf_configure_queues(): request RXDID[22] in Queue[7]
iavf_configure_queues(): request RXDID[22] in Queue[8]
iavf_configure_queues(): request RXDID[22] in Queue[9]
iavf_configure_queues(): request RXDID[22] in Queue[10]
iavf_configure_queues(): request RXDID[22] in Queue[11]
iavf_configure_queues(): request RXDID[22] in Queue[12]
iavf_configure_queues(): request RXDID[22] in Queue[13]
iavf_configure_queues(): request RXDID[22] in Queue[14]
iavf_configure_queues(): request RXDID[22] in Queue[15]
Port 0: link state change event
Port 0: link state change event
Port 0: link state change event
Port 0: link state change event
Port 0: link state change event
Port 0: link state change event
Port 0: link state change event
Port 0: link state change event
Port 0: link state change event
Port 0: link state change event
Port 0: link state change event
Port 0: link state change event
Port 0: link state change event
Port 0: link state change event
Port 0: link state change event
Port 0: link state change event
Port 0: link state change event
Port 0: link state change event
Port 0: link state change event
Port 0: link state change event
Port 0: link state change event
Port 0: link state change event
Port 0: link state change event
Port 0: link state change event
Port 0: link state change event
Port 0: link state change event
Port 0: link state change event
Port 0: link state change event
Port 0: link state change event
Port 0: link state change event
Port 0: link state change event
Port 0: link state change event
Port 0: 00:11:22:33:44:55
Checking link statuses...
Done
26/02/2021 01:26:14 dut.10.240.183.62: show port info all
26/02/2021 01:26:14 dut.10.240.183.62:
********************* Infos for port 0 *********************
MAC address: 00:11:22:33:44:55
Device name: 0000:af:01.0
Driver name: net_iavf
Firmware-version: not available
Devargs:
Connect to socket: 1
memory allocation on the socket: 1
Link status: up
Link speed: 10 Gbps
Link duplex: full-duplex
MTU: 1500
Promiscuous mode: enabled
Allmulticast mode: disabled
Maximum number of MAC addresses: 64
Maximum number of MAC addresses of hash filtering: 0
VLAN offload:
strip off, filter off, extend off, qinq strip off
Hash key size in bytes: 52
Redirection table size: 64
Supported RSS offload flow types:
ipv4
ipv4-frag
ipv4-tcp
ipv4-udp
ipv4-sctp
ipv4-other
ipv6
ipv6-frag
ipv6-tcp
ipv6-udp
ipv6-sctp
ipv6-other
Minimum size of RX buffer: 1024
Maximum configurable length of RX packet: 9728
Maximum configurable size of LRO aggregated packet: 0
Current number of RX queues: 16
Max possible RX queues: 256
Max possible number of RXDs per queue: 4096
Min possible number of RXDs per queue: 64
RXDs number alignment: 32
Current number of TX queues: 16
Max possible TX queues: 256
Max possible number of TXDs per queue: 4096
Min possible number of TXDs per queue: 64
TXDs number alignment: 32
Max segment number per packet: 0
Max segment number per MTU/TSO: 0
26/02/2021 01:26:14 dut.10.240.183.62: set fwd rxonly
26/02/2021 01:26:14 dut.10.240.183.62:
Set rxonly packet forwarding mode
26/02/2021 01:26:14 dut.10.240.183.62: set verbose 1
26/02/2021 01:26:14 dut.10.240.183.62:
Change verbose level from 0 to 1
26/02/2021 01:26:14 dut.10.240.183.62: start
26/02/2021 01:26:14 dut.10.240.183.62:
rxonly packet forwarding - ports=1 - cores=1 - streams=16 - NUMA support enabled, MP allocation mode: native
Logical Core 32 (socket 1) forwards packets on 16 streams:
RX P=0/Q=0 (socket 1) -> TX P=0/Q=0 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=1 (socket 1) -> TX P=0/Q=1 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=2 (socket 1) -> TX P=0/Q=2 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=3 (socket 1) -> TX P=0/Q=3 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=4 (socket 1) -> TX P=0/Q=4 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=5 (socket 1) -> TX P=0/Q=5 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=6 (socket 1) -> TX P=0/Q=6 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=7 (socket 1) -> TX P=0/Q=7 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=8 (socket 1) -> TX P=0/Q=8 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=9 (socket 1) -> TX P=0/Q=9 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=10 (socket 1) -> TX P=0/Q=10 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=11 (socket 1) -> TX P=0/Q=11 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=12 (socket 1) -> TX P=0/Q=12 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=13 (socket 1) -> TX P=0/Q=13 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=14 (socket 1) -> TX P=0/Q=14 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=15 (socket 1) -> TX P=0/Q=15 (socket 1) 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: 16 Tx queue number: 16
Rx offloads=0x0 Tx offloads=0x10000
RX queue: 0
RX desc=512 - RX free threshold=32
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0x0
TX queue: 0
TX desc=512 - TX free threshold=32
TX threshold registers: pthresh=0 hthresh=0 wthresh=0
TX offloads=0x10000 - TX RS bit threshold=32
26/02/2021 01:26:14 IAVFRSSConfigureTest: ===================Test sub case: tvs_mac_all================
26/02/2021 01:26:14 IAVFRSSConfigureTest: ------------handle test--------------
26/02/2021 01:26:14 IAVFRSSConfigureTest: ----------send packet-------------
26/02/2021 01:26:14 IAVFRSSConfigureTest: Ether(dst="00:11:22:33:44:55")/IP(src="192.168.0.2",dst="192.168.0.3")/("X"*40)
26/02/2021 01:26:15 dut.10.240.183.62: port 0/queue 0: received 1 packets
src=00:0C:29:EB:ED:A0 - dst=00:11:22:33:44:55 - type=0x0800 - length=74 - nb_segs=1 - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN L4_NONFRAG - sw ptype: L2_ETHER L3_IPV4 - l2_len=14 - l3_len=20 - Receive queue=0x0
ol_flags: PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN
26/02/2021 01:26:15 IAVFRSSConfigureTest: action: ipv4_all
26/02/2021 01:26:15 IAVFRSSConfigureTest: action: check_no_hash
26/02/2021 01:26:15 IAVFRSSConfigureTest: hash_infos: []
26/02/2021 01:26:15 IAVFRSSConfigureTest: ----------send packet-------------
26/02/2021 01:26:15 IAVFRSSConfigureTest: Ether(dst="00:11:22:33:44:55")/IPv6(src="3ffe:2501:200:3::2",dst="3ffe:2501:200:3::3")/("X"*40)
26/02/2021 01:26:16 dut.10.240.183.62: port 0/queue 0: received 1 packets
src=00:00:00:00:00:00 - dst=00:11:22:33:44:55 - type=0x86dd - length=94 - nb_segs=1 - hw ptype: L2_ETHER L3_IPV6_EXT_UNKNOWN L4_NONFRAG - sw ptype: L2_ETHER L3_IPV6 - l2_len=14 - l3_len=40 - Receive queue=0x0
ol_flags: PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN
26/02/2021 01:26:16 IAVFRSSConfigureTest: action: ipv6_all
26/02/2021 01:26:16 IAVFRSSConfigureTest: action: check_no_hash
26/02/2021 01:26:16 IAVFRSSConfigureTest: hash_infos: []
26/02/2021 01:26:16 IAVFRSSConfigureTest: ----------send packet-------------
26/02/2021 01:26:16 IAVFRSSConfigureTest: Ether(dst="00:11:22:33:44:55")/IP(src="192.168.0.2",dst="192.168.0.3")/UDP(sport=1024,dport=1025)/("X"*40)
26/02/2021 01:26:17 dut.10.240.183.62: port 0/queue 0: received 1 packets
src=00:0C:29:EB:ED:A0 - dst=00:11:22:33:44:55 - type=0x0800 - length=82 - nb_segs=1 - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN L4_UDP - sw ptype: L2_ETHER L3_IPV4 L4_UDP - l2_len=14 - l3_len=20 - l4_len=8 - Receive queue=0x0
ol_flags: PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN
26/02/2021 01:26:17 IAVFRSSConfigureTest: action: ipv4_all
26/02/2021 01:26:17 IAVFRSSConfigureTest: action: check_no_hash
26/02/2021 01:26:17 IAVFRSSConfigureTest: hash_infos: []
26/02/2021 01:26:17 IAVFRSSConfigureTest: ----------send packet-------------
26/02/2021 01:26:17 IAVFRSSConfigureTest: Ether(dst="00:11:22:33:44:55")/IPv6(src="3ffe:2501:200:3::2",dst="3ffe:2501:200:3::3")/UDP(sport=1024,dport=1025)/("X"*40)
26/02/2021 01:26:18 dut.10.240.183.62: port 0/queue 0: received 1 packets
src=00:00:00:00:00:00 - dst=00:11:22:33:44:55 - type=0x86dd - length=102 - nb_segs=1 - hw ptype: L2_ETHER L3_IPV6_EXT_UNKNOWN L4_UDP - sw ptype: L2_ETHER L3_IPV6 L4_UDP - l2_len=14 - l3_len=40 - l4_len=8 - Receive queue=0x0
ol_flags: PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN
26/02/2021 01:26:18 IAVFRSSConfigureTest: action: ipv6_all
26/02/2021 01:26:18 IAVFRSSConfigureTest: action: check_no_hash
26/02/2021 01:26:18 IAVFRSSConfigureTest: hash_infos: []
26/02/2021 01:26:18 IAVFRSSConfigureTest: ----------send packet-------------
26/02/2021 01:26:18 IAVFRSSConfigureTest: Ether(dst="00:11:22:33:44:55")/IP(src="192.168.0.2",dst="192.168.0.3")/TCP(sport=1024,dport=1025)/("X"*40)
26/02/2021 01:26:20 dut.10.240.183.62: port 0/queue 0: received 1 packets
src=00:0C:29:EB:ED:A0 - dst=00:11:22:33:44:55 - type=0x0800 - length=94 - nb_segs=1 - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN L4_TCP - sw ptype: L2_ETHER L3_IPV4 L4_TCP - l2_len=14 - l3_len=20 - l4_len=20 - Receive queue=0x0
ol_flags: PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN
26/02/2021 01:26:20 IAVFRSSConfigureTest: action: ipv4_all
26/02/2021 01:26:20 IAVFRSSConfigureTest: action: check_no_hash
26/02/2021 01:26:20 IAVFRSSConfigureTest: hash_infos: []
26/02/2021 01:26:20 IAVFRSSConfigureTest: ----------send packet-------------
26/02/2021 01:26:20 IAVFRSSConfigureTest: Ether(dst="00:11:22:33:44:55")/IPv6(src="3ffe:2501:200:3::2",dst="3ffe:2501:200:3::3")/TCP(sport=1024,dport=1025)/("X"*40)
26/02/2021 01:26:21 dut.10.240.183.62: port 0/queue 0: received 1 packets
src=00:00:00:00:00:00 - dst=00:11:22:33:44:55 - type=0x86dd - length=114 - nb_segs=1 - hw ptype: L2_ETHER L3_IPV6_EXT_UNKNOWN L4_TCP - sw ptype: L2_ETHER L3_IPV6 L4_TCP - l2_len=14 - l3_len=40 - l4_len=20 - Receive queue=0x0
ol_flags: PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN
26/02/2021 01:26:21 IAVFRSSConfigureTest: action: ipv6_all
26/02/2021 01:26:21 IAVFRSSConfigureTest: action: check_no_hash
26/02/2021 01:26:21 IAVFRSSConfigureTest: hash_infos: []
26/02/2021 01:26:21 IAVFRSSConfigureTest: ----------send packet-------------
26/02/2021 01:26:21 IAVFRSSConfigureTest: Ether(dst="00:11:22:33:44:55")/IP(src="192.168.0.2",dst="192.168.0.3")/SCTP(sport=1024,dport=1025)/("X"*40)
26/02/2021 01:26:22 dut.10.240.183.62: port 0/queue 0: received 1 packets
src=00:0C:29:EB:ED:A0 - dst=00:11:22:33:44:55 - type=0x0800 - length=86 - nb_segs=1 - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN L4_SCTP - sw ptype: L2_ETHER L3_IPV4 L4_SCTP - l2_len=14 - l3_len=20 - l4_len=12 - Receive queue=0x0
ol_flags: PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN
26/02/2021 01:26:22 IAVFRSSConfigureTest: action: ipv4_all
26/02/2021 01:26:22 IAVFRSSConfigureTest: action: check_no_hash
26/02/2021 01:26:22 IAVFRSSConfigureTest: hash_infos: []
26/02/2021 01:26:22 IAVFRSSConfigureTest: ----------send packet-------------
26/02/2021 01:26:22 IAVFRSSConfigureTest: Ether(dst="00:11:22:33:44:55")/IPv6(src="3ffe:2501:200:3::2",dst="3ffe:2501:200:3::3")/SCTP(sport=1024,dport=1025)/("X"*40)
26/02/2021 01:26:23 dut.10.240.183.62: port 0/queue 0: received 1 packets
src=00:00:00:00:00:00 - dst=00:11:22:33:44:55 - type=0x86dd - length=106 - nb_segs=1 - hw ptype: L2_ETHER L3_IPV6_EXT_UNKNOWN L4_SCTP - sw ptype: L2_ETHER L3_IPV6 L4_SCTP - l2_len=14 - l3_len=40 - l4_len=12 - Receive queue=0x0
ol_flags: PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN
26/02/2021 01:26:23 IAVFRSSConfigureTest: action: ipv6_all
26/02/2021 01:26:23 IAVFRSSConfigureTest: action: check_no_hash
26/02/2021 01:26:23 IAVFRSSConfigureTest: hash_infos: []
26/02/2021 01:26:23 IAVFRSSConfigureTest: sub_case tvs_mac_all passed
26/02/2021 01:26:23 dut.10.240.183.62: flow flush 0
26/02/2021 01:26:23 dut.10.240.183.62:
26/02/2021 01:26:23 IAVFRSSConfigureTest: {'tvs_mac_all': 'passed'}
26/02/2021 01:26:23 IAVFRSSConfigureTest: pass rate is: 100.0
26/02/2021 01:26:23 IAVFRSSConfigureTest: Test Case test_iavf_rss_command_line_to_none Result PASSED:
26/02/2021 01:26:23 dut.10.240.183.62: stop
26/02/2021 01:26:23 dut.10.240.183.62:
Telling cores to ...
Waiting for lcores to finish...
------- Forward Stats for RX Port= 0/Queue= 0 -> TX Port= 0/Queue= 0 -------
RX-packets: 8 TX-packets: 0 TX-dropped: 0
---------------------- Forward statistics for port 0 ----------------------
RX-packets: 8 RX-dropped: 0 RX-total: 8
TX-packets: 0 TX-dropped: 0 TX-total: 0
----------------------------------------------------------------------------
+++++++++++++++ Accumulated forward statistics for all ports+++++++++++++++
RX-packets: 8 RX-dropped: 0 RX-total: 8
TX-packets: 0 TX-dropped: 0 TX-total: 0
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Done.
26/02/2021 01:26:23 IAVFRSSConfigureTest: Test Case test_iavf_rss_command_line_to_udp Begin
26/02/2021 01:26:23 dut.10.240.183.62:
26/02/2021 01:26:23 tester:
26/02/2021 01:26:23 dut.10.240.183.62: quit
26/02/2021 01:26:24 dut.10.240.183.62:
Stopping port 0...
Stopping ports...
Done
Shutting down port 0...
Closing ports...
Port 0 is closed
Done
Bye...
26/02/2021 01:26:24 dut.10.240.183.62: x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 32,33,34,35,18 -n 4 --file-prefix=dpdk_3780_20210226012437 -a 0000:af:01.0 -- -i --rxq=16 --txq=16 --rss-udp
26/02/2021 01:26:25 dut.10.240.183.62: EAL: Detected 72 lcore(s)
EAL: Detected 2 NUMA nodes
EAL: Detected static linkage of DPDK
EAL: Multi-process socket /var/run/dpdk/dpdk_3780_20210226012437/mp_socket
EAL: Selected IOVA mode 'VA'
EAL: 1024 hugepages of size 2097152 reserved, but no mounted hugetlbfs found for that size
EAL: Probing VFIO support...
EAL: VFIO support initialized
EAL: using IOMMU type 1 (Type 1)
EAL: Probe PCI driver: net_iavf (8086:1889) device: 0000:af:01.0 (socket 1)
Interactive-mode selected
testpmd: create a new mbuf pool <mb_pool_1>: n=179456, size=2176, socket=1
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 1)
iavf_configure_queues(): request RXDID[22] in Queue[0]
iavf_configure_queues(): request RXDID[22] in Queue[1]
iavf_configure_queues(): request RXDID[22] in Queue[2]
iavf_configure_queues(): request RXDID[22] in Queue[3]
iavf_configure_queues(): request RXDID[22] in Queue[4]
iavf_configure_queues(): request RXDID[22] in Queue[5]
iavf_configure_queues(): request RXDID[22] in Queue[6]
iavf_configure_queues(): request RXDID[22] in Queue[7]
iavf_configure_queues(): request RXDID[22] in Queue[8]
iavf_configure_queues(): request RXDID[22] in Queue[9]
iavf_configure_queues(): request RXDID[22] in Queue[10]
iavf_configure_queues(): request RXDID[22] in Queue[11]
iavf_configure_queues(): request RXDID[22] in Queue[12]
iavf_configure_queues(): request RXDID[22] in Queue[13]
iavf_configure_queues(): request RXDID[22] in Queue[14]
iavf_configure_queues(): request RXDID[22] in Queue[15]
Port 0: link state change event
Port 0: link state change event
Port 0: link state change event
Port 0: link state change event
Port 0: link state change event
Port 0: link state change event
Port 0: link state change event
Port 0: link state change event
Port 0: link state change event
Port 0: link state change event
Port 0: link state change event
Port 0: link state change event
Port 0: link state change event
Port 0: link state change event
Port 0: link state change event
Port 0: link state change event
Port 0: link state change event
Port 0: link state change event
Port 0: link state change event
Port 0: link state change event
Port 0: link state change event
Port 0: link state change event
Port 0: link state change event
Port 0: link state change event
Port 0: link state change event
Port 0: link state change event
Port 0: link state change event
Port 0: link state change event
Port 0: link state change event
Port 0: link state change event
Port 0: link state change event
Port 0: link state change event
Port 0: 00:11:22:33:44:55
Checking link statuses...
Done
26/02/2021 01:26:35 dut.10.240.183.62: show port info all
26/02/2021 01:26:35 dut.10.240.183.62:
********************* Infos for port 0 *********************
MAC address: 00:11:22:33:44:55
Device name: 0000:af:01.0
Driver name: net_iavf
Firmware-version: not available
Devargs:
Connect to socket: 1
memory allocation on the socket: 1
Link status: up
Link speed: 10 Gbps
Link duplex: full-duplex
MTU: 1500
Promiscuous mode: enabled
Allmulticast mode: disabled
Maximum number of MAC addresses: 64
Maximum number of MAC addresses of hash filtering: 0
VLAN offload:
strip off, filter off, extend off, qinq strip off
Hash key size in bytes: 52
Redirection table size: 64
Supported RSS offload flow types:
ipv4
ipv4-frag
ipv4-tcp
ipv4-udp
ipv4-sctp
ipv4-other
ipv6
ipv6-frag
ipv6-tcp
ipv6-udp
ipv6-sctp
ipv6-other
Minimum size of RX buffer: 1024
Maximum configurable length of RX packet: 9728
Maximum configurable size of LRO aggregated packet: 0
Current number of RX queues: 16
Max possible RX queues: 256
Max possible number of RXDs per queue: 4096
Min possible number of RXDs per queue: 64
RXDs number alignment: 32
Current number of TX queues: 16
Max possible TX queues: 256
Max possible number of TXDs per queue: 4096
Min possible number of TXDs per queue: 64
TXDs number alignment: 32
Max segment number per packet: 0
Max segment number per MTU/TSO: 0
26/02/2021 01:26:35 dut.10.240.183.62: set fwd rxonly
26/02/2021 01:26:35 dut.10.240.183.62:
Set rxonly packet forwarding mode
26/02/2021 01:26:35 dut.10.240.183.62: set verbose 1
26/02/2021 01:26:35 dut.10.240.183.62:
Change verbose level from 0 to 1
26/02/2021 01:26:35 dut.10.240.183.62: start
26/02/2021 01:26:35 dut.10.240.183.62:
rxonly packet forwarding - ports=1 - cores=1 - streams=16 - NUMA support enabled, MP allocation mode: native
Logical Core 32 (socket 1) forwards packets on 16 streams:
RX P=0/Q=0 (socket 1) -> TX P=0/Q=0 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=1 (socket 1) -> TX P=0/Q=1 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=2 (socket 1) -> TX P=0/Q=2 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=3 (socket 1) -> TX P=0/Q=3 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=4 (socket 1) -> TX P=0/Q=4 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=5 (socket 1) -> TX P=0/Q=5 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=6 (socket 1) -> TX P=0/Q=6 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=7 (socket 1) -> TX P=0/Q=7 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=8 (socket 1) -> TX P=0/Q=8 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=9 (socket 1) -> TX P=0/Q=9 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=10 (socket 1) -> TX P=0/Q=10 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=11 (socket 1) -> TX P=0/Q=11 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=12 (socket 1) -> TX P=0/Q=12 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=13 (socket 1) -> TX P=0/Q=13 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=14 (socket 1) -> TX P=0/Q=14 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=15 (socket 1) -> TX P=0/Q=15 (socket 1) 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: 16 Tx queue number: 16
Rx offloads=0x0 Tx offloads=0x10000
RX queue: 0
RX desc=512 - RX free threshold=32
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0x0
TX queue: 0
TX desc=512 - TX free threshold=32
TX threshold registers: pthresh=0 hthresh=0 wthresh=0
TX offloads=0x10000 - TX RS bit threshold=32
26/02/2021 01:26:35 IAVFRSSConfigureTest: ===================Test sub case: tv_mac_udp================
26/02/2021 01:26:35 IAVFRSSConfigureTest: ------------handle test--------------
26/02/2021 01:26:35 IAVFRSSConfigureTest: ----------send packet-------------
26/02/2021 01:26:35 IAVFRSSConfigureTest: Ether(dst="00:11:22:33:44:55")/IP(src="192.168.0.2",dst="192.168.0.3")/UDP(sport=1024,dport=1025)/("X"*40)
26/02/2021 01:26:37 dut.10.240.183.62: port 0/queue 5: received 1 packets
src=00:0C:29:EB:ED:A0 - dst=00:11:22:33:44:55 - type=0x0800 - length=82 - nb_segs=1 - RSS hash=0x6f8fdcb5 - RSS queue=0x5 - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN L4_UDP - sw ptype: L2_ETHER L3_IPV4 L4_UDP - l2_len=14 - l3_len=20 - l4_len=8 - Receive queue=0x5
ol_flags: PKT_RX_RSS_HASH PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN
26/02/2021 01:26:37 IAVFRSSConfigureTest: action: save_hash
26/02/2021 01:26:37 IAVFRSSConfigureTest: hash_infos: [('0x6f8fdcb5', '0x5')]
26/02/2021 01:26:37 IAVFRSSConfigureTest: action: ipv4_udp
26/02/2021 01:26:37 IAVFRSSConfigureTest: ----------send packet-------------
26/02/2021 01:26:37 IAVFRSSConfigureTest: Ether(dst="00:11:22:33:44:55")/IPv6(src="3ffe:2501:200:3::2",dst="3ffe:2501:200:3::3")/UDP(sport=1024,dport=1025)/("X"*40)
26/02/2021 01:26:38 dut.10.240.183.62: port 0/queue 8: received 1 packets
src=00:00:00:00:00:00 - dst=00:11:22:33:44:55 - type=0x86dd - length=102 - nb_segs=1 - RSS hash=0x4fd7dc88 - RSS queue=0x8 - hw ptype: L2_ETHER L3_IPV6_EXT_UNKNOWN L4_UDP - sw ptype: L2_ETHER L3_IPV6 L4_UDP - l2_len=14 - l3_len=40 - l4_len=8 - Receive queue=0x8
ol_flags: PKT_RX_RSS_HASH PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN
26/02/2021 01:26:38 IAVFRSSConfigureTest: action: save_hash
26/02/2021 01:26:38 IAVFRSSConfigureTest: hash_infos: [('0x4fd7dc88', '0x8')]
26/02/2021 01:26:38 IAVFRSSConfigureTest: action: ipv6_udp
26/02/2021 01:26:38 IAVFRSSConfigureTest: ----------send packet-------------
26/02/2021 01:26:38 IAVFRSSConfigureTest: Ether(dst="00:11:22:33:44:55")/IP(src="192.168.0.2",dst="192.168.0.3")/("X"*40)
26/02/2021 01:26:39 dut.10.240.183.62: port 0/queue 0: received 1 packets
src=00:0C:29:EB:ED:A0 - dst=00:11:22:33:44:55 - type=0x0800 - length=74 - nb_segs=1 - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN L4_NONFRAG - sw ptype: L2_ETHER L3_IPV4 - l2_len=14 - l3_len=20 - Receive queue=0x0
ol_flags: PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN
26/02/2021 01:26:39 IAVFRSSConfigureTest: action: check_no_hash
26/02/2021 01:26:39 IAVFRSSConfigureTest: hash_infos: []
26/02/2021 01:26:39 IAVFRSSConfigureTest: ----------send packet-------------
26/02/2021 01:26:39 IAVFRSSConfigureTest: Ether(dst="00:11:22:33:44:55")/IPv6(src="3ffe:2501:200:3::2",dst="3ffe:2501:200:3::3")/("X"*40)
26/02/2021 01:26:40 dut.10.240.183.62: port 0/queue 0: received 1 packets
src=00:00:00:00:00:00 - dst=00:11:22:33:44:55 - type=0x86dd - length=94 - nb_segs=1 - hw ptype: L2_ETHER L3_IPV6_EXT_UNKNOWN L4_NONFRAG - sw ptype: L2_ETHER L3_IPV6 - l2_len=14 - l3_len=40 - Receive queue=0x0
ol_flags: PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN
26/02/2021 01:26:40 IAVFRSSConfigureTest: action: check_no_hash
26/02/2021 01:26:40 IAVFRSSConfigureTest: hash_infos: []
26/02/2021 01:26:40 IAVFRSSConfigureTest: ----------send packet-------------
26/02/2021 01:26:40 IAVFRSSConfigureTest: Ether(dst="00:11:22:33:44:55")/IP(src="192.168.0.2",dst="192.168.0.3")/TCP(sport=1024,dport=1025)/("X"*40)
26/02/2021 01:26:41 dut.10.240.183.62: port 0/queue 0: received 1 packets
src=00:0C:29:EB:ED:A0 - dst=00:11:22:33:44:55 - type=0x0800 - length=94 - nb_segs=1 - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN L4_TCP - sw ptype: L2_ETHER L3_IPV4 L4_TCP - l2_len=14 - l3_len=20 - l4_len=20 - Receive queue=0x0
ol_flags: PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN
26/02/2021 01:26:41 IAVFRSSConfigureTest: action: check_no_hash
26/02/2021 01:26:41 IAVFRSSConfigureTest: hash_infos: []
26/02/2021 01:26:41 IAVFRSSConfigureTest: ----------send packet-------------
26/02/2021 01:26:41 IAVFRSSConfigureTest: Ether(dst="00:11:22:33:44:55")/IPv6(src="3ffe:2501:200:3::2",dst="3ffe:2501:200:3::3")/TCP(sport=1024,dport=1025)/("X"*40)
26/02/2021 01:26:42 dut.10.240.183.62: port 0/queue 0: received 1 packets
src=00:00:00:00:00:00 - dst=00:11:22:33:44:55 - type=0x86dd - length=114 - nb_segs=1 - hw ptype: L2_ETHER L3_IPV6_EXT_UNKNOWN L4_TCP - sw ptype: L2_ETHER L3_IPV6 L4_TCP - l2_len=14 - l3_len=40 - l4_len=20 - Receive queue=0x0
ol_flags: PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN
26/02/2021 01:26:42 IAVFRSSConfigureTest: action: check_no_hash
26/02/2021 01:26:42 IAVFRSSConfigureTest: hash_infos: []
26/02/2021 01:26:42 IAVFRSSConfigureTest: ----------send packet-------------
26/02/2021 01:26:42 IAVFRSSConfigureTest: Ether(dst="00:11:22:33:44:55")/IP(src="192.168.0.2",dst="192.168.0.3")/SCTP(sport=1024,dport=1025)/("X"*40)
26/02/2021 01:26:43 dut.10.240.183.62: port 0/queue 0: received 1 packets
src=00:0C:29:EB:ED:A0 - dst=00:11:22:33:44:55 - type=0x0800 - length=86 - nb_segs=1 - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN L4_SCTP - sw ptype: L2_ETHER L3_IPV4 L4_SCTP - l2_len=14 - l3_len=20 - l4_len=12 - Receive queue=0x0
ol_flags: PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN
26/02/2021 01:26:43 IAVFRSSConfigureTest: action: check_no_hash
26/02/2021 01:26:43 IAVFRSSConfigureTest: hash_infos: []
26/02/2021 01:26:43 IAVFRSSConfigureTest: ----------send packet-------------
26/02/2021 01:26:43 IAVFRSSConfigureTest: Ether(dst="00:11:22:33:44:55")/IPv6(src="3ffe:2501:200:3::2",dst="3ffe:2501:200:3::3")/SCTP(sport=1024,dport=1025)/("X"*40)
26/02/2021 01:26:44 dut.10.240.183.62: port 0/queue 0: received 1 packets
src=00:00:00:00:00:00 - dst=00:11:22:33:44:55 - type=0x86dd - length=106 - nb_segs=1 - hw ptype: L2_ETHER L3_IPV6_EXT_UNKNOWN L4_SCTP - sw ptype: L2_ETHER L3_IPV6 L4_SCTP - l2_len=14 - l3_len=40 - l4_len=12 - Receive queue=0x0
ol_flags: PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN
26/02/2021 01:26:44 IAVFRSSConfigureTest: action: check_no_hash
26/02/2021 01:26:44 IAVFRSSConfigureTest: hash_infos: []
26/02/2021 01:26:44 IAVFRSSConfigureTest: sub_case tv_mac_udp passed
26/02/2021 01:26:44 dut.10.240.183.62: flow flush 0
26/02/2021 01:26:44 dut.10.240.183.62:
26/02/2021 01:26:44 IAVFRSSConfigureTest: {'tv_mac_udp': 'passed'}
26/02/2021 01:26:44 IAVFRSSConfigureTest: pass rate is: 100.0
26/02/2021 01:26:44 IAVFRSSConfigureTest: Test Case test_iavf_rss_command_line_to_udp Result PASSED:
26/02/2021 01:26:44 dut.10.240.183.62: stop
26/02/2021 01:26:44 dut.10.240.183.62:
Telling cores to ...
Waiting for lcores to finish...
------- Forward Stats for RX Port= 0/Queue= 0 -> TX Port= 0/Queue= 0 -------
RX-packets: 6 TX-packets: 0 TX-dropped: 0
------- Forward Stats for RX Port= 0/Queue= 5 -> TX Port= 0/Queue= 5 -------
RX-packets: 1 TX-packets: 0 TX-dropped: 0
------- Forward Stats for RX Port= 0/Queue= 8 -> TX Port= 0/Queue= 8 -------
RX-packets: 1 TX-packets: 0 TX-dropped: 0
---------------------- Forward statistics for port 0 ----------------------
RX-packets: 8 RX-dropped: 0 RX-total: 8
TX-packets: 0 TX-dropped: 0 TX-total: 0
----------------------------------------------------------------------------
+++++++++++++++ Accumulated forward statistics for all ports+++++++++++++++
RX-packets: 8 RX-dropped: 0 RX-total: 8
TX-packets: 0 TX-dropped: 0 TX-total: 0
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Done.
26/02/2021 01:26:44 IAVFRSSConfigureTest: Test Case test_iavf_rss_configure_to_all Begin
26/02/2021 01:26:45 dut.10.240.183.62:
26/02/2021 01:26:45 tester:
26/02/2021 01:26:45 dut.10.240.183.62: port config all rss all
26/02/2021 01:26:45 dut.10.240.183.62:
Port 0 modified RSS hash function based on hardware support,requested:0x17f83fffc configured:0x3ffc
rss_hf 0x17f83fffc
26/02/2021 01:26:45 dut.10.240.183.62: start
26/02/2021 01:26:45 dut.10.240.183.62:
rxonly packet forwarding - ports=1 - cores=1 - streams=16 - NUMA support enabled, MP allocation mode: native
Logical Core 32 (socket 1) forwards packets on 16 streams:
RX P=0/Q=0 (socket 1) -> TX P=0/Q=0 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=1 (socket 1) -> TX P=0/Q=1 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=2 (socket 1) -> TX P=0/Q=2 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=3 (socket 1) -> TX P=0/Q=3 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=4 (socket 1) -> TX P=0/Q=4 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=5 (socket 1) -> TX P=0/Q=5 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=6 (socket 1) -> TX P=0/Q=6 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=7 (socket 1) -> TX P=0/Q=7 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=8 (socket 1) -> TX P=0/Q=8 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=9 (socket 1) -> TX P=0/Q=9 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=10 (socket 1) -> TX P=0/Q=10 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=11 (socket 1) -> TX P=0/Q=11 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=12 (socket 1) -> TX P=0/Q=12 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=13 (socket 1) -> TX P=0/Q=13 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=14 (socket 1) -> TX P=0/Q=14 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=15 (socket 1) -> TX P=0/Q=15 (socket 1) 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: 16 Tx queue number: 16
Rx offloads=0x0 Tx offloads=0x10000
RX queue: 0
RX desc=512 - RX free threshold=32
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0x0
TX queue: 0
TX desc=512 - TX free threshold=32
TX threshold registers: pthresh=0 hthresh=0 wthresh=0
TX offloads=0x10000 - TX RS bit threshold=32
26/02/2021 01:26:45 IAVFRSSConfigureTest: ===================Test sub case: tvs_mac_all================
26/02/2021 01:26:45 IAVFRSSConfigureTest: ------------handle test--------------
26/02/2021 01:26:45 IAVFRSSConfigureTest: ----------send packet-------------
26/02/2021 01:26:45 IAVFRSSConfigureTest: Ether(dst="00:11:22:33:44:55")/IP(src="192.168.0.2",dst="192.168.0.3")/("X"*40)
26/02/2021 01:26:46 dut.10.240.183.62: port 0/queue 9: received 1 packets
src=00:0C:29:EB:ED:A0 - dst=00:11:22:33:44:55 - type=0x0800 - length=74 - nb_segs=1 - RSS hash=0x607bbed9 - RSS queue=0x9 - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN L4_NONFRAG - sw ptype: L2_ETHER L3_IPV4 - l2_len=14 - l3_len=20 - Receive queue=0x9
ol_flags: PKT_RX_RSS_HASH PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN
26/02/2021 01:26:46 IAVFRSSConfigureTest: action: save_hash
26/02/2021 01:26:46 IAVFRSSConfigureTest: hash_infos: [('0x607bbed9', '0x9')]
26/02/2021 01:26:46 IAVFRSSConfigureTest: action: ipv4_all
26/02/2021 01:26:46 IAVFRSSConfigureTest: ----------send packet-------------
26/02/2021 01:26:46 IAVFRSSConfigureTest: Ether(dst="00:11:22:33:44:55")/IPv6(src="3ffe:2501:200:3::2",dst="3ffe:2501:200:3::3")/("X"*40)
26/02/2021 01:26:47 dut.10.240.183.62: port 0/queue 8: received 1 packets
src=00:00:00:00:00:00 - dst=00:11:22:33:44:55 - type=0x86dd - length=94 - nb_segs=1 - RSS hash=0x443b2a88 - RSS queue=0x8 - hw ptype: L2_ETHER L3_IPV6_EXT_UNKNOWN L4_NONFRAG - sw ptype: L2_ETHER L3_IPV6 - l2_len=14 - l3_len=40 - Receive queue=0x8
ol_flags: PKT_RX_RSS_HASH PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN
26/02/2021 01:26:47 IAVFRSSConfigureTest: action: save_hash
26/02/2021 01:26:47 IAVFRSSConfigureTest: hash_infos: [('0x443b2a88', '0x8')]
26/02/2021 01:26:47 IAVFRSSConfigureTest: action: ipv6_all
26/02/2021 01:26:47 IAVFRSSConfigureTest: ----------send packet-------------
26/02/2021 01:26:47 IAVFRSSConfigureTest: Ether(dst="00:11:22:33:44:55")/IP(src="192.168.0.2",dst="192.168.0.3")/UDP(sport=1024,dport=1025)/("X"*40)
26/02/2021 01:26:48 dut.10.240.183.62: port 0/queue 5: received 1 packets
src=00:0C:29:EB:ED:A0 - dst=00:11:22:33:44:55 - type=0x0800 - length=82 - nb_segs=1 - RSS hash=0x6f8fdcb5 - RSS queue=0x5 - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN L4_UDP - sw ptype: L2_ETHER L3_IPV4 L4_UDP - l2_len=14 - l3_len=20 - l4_len=8 - Receive queue=0x5
ol_flags: PKT_RX_RSS_HASH PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN
26/02/2021 01:26:48 IAVFRSSConfigureTest: action: check_hash_different
26/02/2021 01:26:48 IAVFRSSConfigureTest: hash_infos: [('0x6f8fdcb5', '0x5')]
26/02/2021 01:26:48 IAVFRSSConfigureTest: action: ipv4_all
26/02/2021 01:26:48 IAVFRSSConfigureTest: ----------send packet-------------
26/02/2021 01:26:48 IAVFRSSConfigureTest: Ether(dst="00:11:22:33:44:55")/IPv6(src="3ffe:2501:200:3::2",dst="3ffe:2501:200:3::3")/UDP(sport=1024,dport=1025)/("X"*40)
26/02/2021 01:26:49 dut.10.240.183.62: port 0/queue 8: received 1 packets
src=00:00:00:00:00:00 - dst=00:11:22:33:44:55 - type=0x86dd - length=102 - nb_segs=1 - RSS hash=0x4fd7dc88 - RSS queue=0x8 - hw ptype: L2_ETHER L3_IPV6_EXT_UNKNOWN L4_UDP - sw ptype: L2_ETHER L3_IPV6 L4_UDP - l2_len=14 - l3_len=40 - l4_len=8 - Receive queue=0x8
ol_flags: PKT_RX_RSS_HASH PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN
26/02/2021 01:26:49 IAVFRSSConfigureTest: action: check_hash_different
26/02/2021 01:26:49 IAVFRSSConfigureTest: hash_infos: [('0x4fd7dc88', '0x8')]
26/02/2021 01:26:49 IAVFRSSConfigureTest: action: ipv6_all
26/02/2021 01:26:49 IAVFRSSConfigureTest: ----------send packet-------------
26/02/2021 01:26:49 IAVFRSSConfigureTest: Ether(dst="00:11:22:33:44:55")/IP(src="192.168.0.2",dst="192.168.0.3")/TCP(sport=1024,dport=1025)/("X"*40)
26/02/2021 01:26:51 dut.10.240.183.62: port 0/queue 11: received 1 packets
src=00:0C:29:EB:ED:A0 - dst=00:11:22:33:44:55 - type=0x0800 - length=94 - nb_segs=1 - RSS hash=0xb1cacf5b - RSS queue=0xb - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN L4_TCP - sw ptype: L2_ETHER L3_IPV4 L4_TCP - l2_len=14 - l3_len=20 - l4_len=20 - Receive queue=0xb
ol_flags: PKT_RX_RSS_HASH PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN
26/02/2021 01:26:51 IAVFRSSConfigureTest: action: check_hash_different
26/02/2021 01:26:51 IAVFRSSConfigureTest: hash_infos: [('0xb1cacf5b', '0xb')]
26/02/2021 01:26:51 IAVFRSSConfigureTest: action: ipv4_all
26/02/2021 01:26:51 IAVFRSSConfigureTest: ----------send packet-------------
26/02/2021 01:26:51 IAVFRSSConfigureTest: Ether(dst="00:11:22:33:44:55")/IPv6(src="3ffe:2501:200:3::2",dst="3ffe:2501:200:3::3")/TCP(sport=1024,dport=1025)/("X"*40)
26/02/2021 01:26:52 dut.10.240.183.62: port 0/queue 11: received 1 packets
src=00:00:00:00:00:00 - dst=00:11:22:33:44:55 - type=0x86dd - length=114 - nb_segs=1 - RSS hash=0xea09999b - RSS queue=0xb - hw ptype: L2_ETHER L3_IPV6_EXT_UNKNOWN L4_TCP - sw ptype: L2_ETHER L3_IPV6 L4_TCP - l2_len=14 - l3_len=40 - l4_len=20 - Receive queue=0xb
ol_flags: PKT_RX_RSS_HASH PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN
26/02/2021 01:26:52 IAVFRSSConfigureTest: action: check_hash_different
26/02/2021 01:26:52 IAVFRSSConfigureTest: hash_infos: [('0xea09999b', '0xb')]
26/02/2021 01:26:52 IAVFRSSConfigureTest: action: ipv6_all
26/02/2021 01:26:52 IAVFRSSConfigureTest: ----------send packet-------------
26/02/2021 01:26:52 IAVFRSSConfigureTest: Ether(dst="00:11:22:33:44:55")/IP(src="192.168.0.2",dst="192.168.0.3")/SCTP(sport=1024,dport=1025)/("X"*40)
26/02/2021 01:26:53 dut.10.240.183.62: port 0/queue 13: received 1 packets
src=00:0C:29:EB:ED:A0 - dst=00:11:22:33:44:55 - type=0x0800 - length=86 - nb_segs=1 - RSS hash=0xe8bebc2d - RSS queue=0xd - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN L4_SCTP - sw ptype: L2_ETHER L3_IPV4 L4_SCTP - l2_len=14 - l3_len=20 - l4_len=12 - Receive queue=0xd
ol_flags: PKT_RX_RSS_HASH PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN
26/02/2021 01:26:53 IAVFRSSConfigureTest: action: check_hash_different
26/02/2021 01:26:53 IAVFRSSConfigureTest: hash_infos: [('0xe8bebc2d', '0xd')]
26/02/2021 01:26:53 IAVFRSSConfigureTest: action: ipv4_all
26/02/2021 01:26:53 IAVFRSSConfigureTest: ----------send packet-------------
26/02/2021 01:26:53 IAVFRSSConfigureTest: Ether(dst="00:11:22:33:44:55")/IPv6(src="3ffe:2501:200:3::2",dst="3ffe:2501:200:3::3")/SCTP(sport=1024,dport=1025)/("X"*40)
26/02/2021 01:26:54 dut.10.240.183.62: port 0/queue 4: received 1 packets
src=00:00:00:00:00:00 - dst=00:11:22:33:44:55 - type=0x86dd - length=106 - nb_segs=1 - RSS hash=0xf6c6ff04 - RSS queue=0x4 - hw ptype: L2_ETHER L3_IPV6_EXT_UNKNOWN L4_SCTP - sw ptype: L2_ETHER L3_IPV6 L4_SCTP - l2_len=14 - l3_len=40 - l4_len=12 - Receive queue=0x4
ol_flags: PKT_RX_RSS_HASH PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN
26/02/2021 01:26:54 IAVFRSSConfigureTest: action: check_hash_different
26/02/2021 01:26:54 IAVFRSSConfigureTest: hash_infos: [('0xf6c6ff04', '0x4')]
26/02/2021 01:26:54 IAVFRSSConfigureTest: action: ipv6_all
26/02/2021 01:26:54 IAVFRSSConfigureTest: sub_case tvs_mac_all passed
26/02/2021 01:26:54 dut.10.240.183.62: flow flush 0
26/02/2021 01:26:54 dut.10.240.183.62:
26/02/2021 01:26:54 IAVFRSSConfigureTest: {'tvs_mac_all': 'passed'}
26/02/2021 01:26:54 IAVFRSSConfigureTest: pass rate is: 100.0
26/02/2021 01:26:54 IAVFRSSConfigureTest: Test Case test_iavf_rss_configure_to_all Result PASSED:
26/02/2021 01:26:54 dut.10.240.183.62: stop
26/02/2021 01:26:54 dut.10.240.183.62:
Telling cores to ...
Waiting for lcores to finish...
------- Forward Stats for RX Port= 0/Queue= 4 -> TX Port= 0/Queue= 4 -------
RX-packets: 1 TX-packets: 0 TX-dropped: 0
------- Forward Stats for RX Port= 0/Queue= 5 -> TX Port= 0/Queue= 5 -------
RX-packets: 1 TX-packets: 0 TX-dropped: 0
------- Forward Stats for RX Port= 0/Queue= 8 -> TX Port= 0/Queue= 8 -------
RX-packets: 2 TX-packets: 0 TX-dropped: 0
------- Forward Stats for RX Port= 0/Queue= 9 -> TX Port= 0/Queue= 9 -------
RX-packets: 1 TX-packets: 0 TX-dropped: 0
------- Forward Stats for RX Port= 0/Queue=11 -> TX Port= 0/Queue=11 -------
RX-packets: 2 TX-packets: 0 TX-dropped: 0
------- Forward Stats for RX Port= 0/Queue=13 -> TX Port= 0/Queue=13 -------
RX-packets: 1 TX-packets: 0 TX-dropped: 0
---------------------- Forward statistics for port 0 ----------------------
RX-packets: 8 RX-dropped: 0 RX-total: 8
TX-packets: 0 TX-dropped: 0 TX-total: 0
----------------------------------------------------------------------------
+++++++++++++++ Accumulated forward statistics for all ports+++++++++++++++
RX-packets: 8 RX-dropped: 0 RX-total: 8
TX-packets: 0 TX-dropped: 0 TX-total: 0
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Done.
26/02/2021 01:26:54 IAVFRSSConfigureTest: Test Case test_iavf_rss_configure_to_ip Begin
26/02/2021 01:26:54 dut.10.240.183.62:
26/02/2021 01:26:54 tester:
26/02/2021 01:26:54 dut.10.240.183.62: port config all rss ip
26/02/2021 01:26:54 dut.10.240.183.62:
Port 0 modified RSS hash function based on hardware support,requested:0xa38c configured:0x238c
rss_hf 0xa38c
26/02/2021 01:26:54 dut.10.240.183.62: start
26/02/2021 01:26:54 dut.10.240.183.62:
rxonly packet forwarding - ports=1 - cores=1 - streams=16 - NUMA support enabled, MP allocation mode: native
Logical Core 32 (socket 1) forwards packets on 16 streams:
RX P=0/Q=0 (socket 1) -> TX P=0/Q=0 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=1 (socket 1) -> TX P=0/Q=1 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=2 (socket 1) -> TX P=0/Q=2 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=3 (socket 1) -> TX P=0/Q=3 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=4 (socket 1) -> TX P=0/Q=4 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=5 (socket 1) -> TX P=0/Q=5 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=6 (socket 1) -> TX P=0/Q=6 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=7 (socket 1) -> TX P=0/Q=7 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=8 (socket 1) -> TX P=0/Q=8 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=9 (socket 1) -> TX P=0/Q=9 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=10 (socket 1) -> TX P=0/Q=10 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=11 (socket 1) -> TX P=0/Q=11 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=12 (socket 1) -> TX P=0/Q=12 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=13 (socket 1) -> TX P=0/Q=13 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=14 (socket 1) -> TX P=0/Q=14 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=15 (socket 1) -> TX P=0/Q=15 (socket 1) 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: 16 Tx queue number: 16
Rx offloads=0x0 Tx offloads=0x10000
RX queue: 0
RX desc=512 - RX free threshold=32
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0x0
TX queue: 0
TX desc=512 - TX free threshold=32
TX threshold registers: pthresh=0 hthresh=0 wthresh=0
TX offloads=0x10000 - TX RS bit threshold=32
26/02/2021 01:26:54 IAVFRSSConfigureTest: ===================Test sub case: tv_mac_ip================
26/02/2021 01:26:54 IAVFRSSConfigureTest: ------------handle test--------------
26/02/2021 01:26:54 IAVFRSSConfigureTest: ----------send packet-------------
26/02/2021 01:26:54 IAVFRSSConfigureTest: Ether(dst="00:11:22:33:44:55")/IP(src="192.168.0.2",dst="192.168.0.3")/("X"*40)
26/02/2021 01:26:56 dut.10.240.183.62: port 0/queue 9: received 1 packets
src=00:0C:29:EB:ED:A0 - dst=00:11:22:33:44:55 - type=0x0800 - length=74 - nb_segs=1 - RSS hash=0x607bbed9 - RSS queue=0x9 - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN L4_NONFRAG - sw ptype: L2_ETHER L3_IPV4 - l2_len=14 - l3_len=20 - Receive queue=0x9
ol_flags: PKT_RX_RSS_HASH PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN
26/02/2021 01:26:56 IAVFRSSConfigureTest: action: {'save_hash': 'ipv4'}
26/02/2021 01:26:56 IAVFRSSConfigureTest: hash_infos: [('0x607bbed9', '0x9')]
26/02/2021 01:26:56 IAVFRSSConfigureTest: ----------send packet-------------
26/02/2021 01:26:56 IAVFRSSConfigureTest: Ether(dst="00:11:22:33:44:55")/IPv6(src="3ffe:2501:200:3::2",dst="3ffe:2501:200:3::3")/("X"*40)
26/02/2021 01:26:57 dut.10.240.183.62: port 0/queue 8: received 1 packets
src=00:00:00:00:00:00 - dst=00:11:22:33:44:55 - type=0x86dd - length=94 - nb_segs=1 - RSS hash=0x443b2a88 - RSS queue=0x8 - hw ptype: L2_ETHER L3_IPV6_EXT_UNKNOWN L4_NONFRAG - sw ptype: L2_ETHER L3_IPV6 - l2_len=14 - l3_len=40 - Receive queue=0x8
ol_flags: PKT_RX_RSS_HASH PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN
26/02/2021 01:26:57 IAVFRSSConfigureTest: action: {'save_hash': 'ipv6'}
26/02/2021 01:26:57 IAVFRSSConfigureTest: hash_infos: [('0x443b2a88', '0x8')]
26/02/2021 01:26:57 IAVFRSSConfigureTest: ----------send packet-------------
26/02/2021 01:26:57 IAVFRSSConfigureTest: Ether(dst="00:11:22:33:44:55")/IP(src="192.168.0.2",dst="192.168.0.3")/UDP(sport=1024,dport=1025)/("X"*40)
26/02/2021 01:26:58 dut.10.240.183.62: port 0/queue 9: received 1 packets
src=00:0C:29:EB:ED:A0 - dst=00:11:22:33:44:55 - type=0x0800 - length=82 - nb_segs=1 - RSS hash=0x607bbed9 - RSS queue=0x9 - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN L4_UDP - sw ptype: L2_ETHER L3_IPV4 L4_UDP - l2_len=14 - l3_len=20 - l4_len=8 - Receive queue=0x9
ol_flags: PKT_RX_RSS_HASH PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN
26/02/2021 01:26:58 IAVFRSSConfigureTest: action: {'check_hash_same': 'ipv4'}
26/02/2021 01:26:58 IAVFRSSConfigureTest: hash_infos: [('0x607bbed9', '0x9')]
26/02/2021 01:26:58 IAVFRSSConfigureTest: ----------send packet-------------
26/02/2021 01:26:58 IAVFRSSConfigureTest: Ether(dst="00:11:22:33:44:55")/IPv6(src="3ffe:2501:200:3::2",dst="3ffe:2501:200:3::3")/UDP(sport=1024,dport=1025)/("X"*40)
26/02/2021 01:26:59 dut.10.240.183.62: port 0/queue 8: received 1 packets
src=00:00:00:00:00:00 - dst=00:11:22:33:44:55 - type=0x86dd - length=102 - nb_segs=1 - RSS hash=0x443b2a88 - RSS queue=0x8 - hw ptype: L2_ETHER L3_IPV6_EXT_UNKNOWN L4_UDP - sw ptype: L2_ETHER L3_IPV6 L4_UDP - l2_len=14 - l3_len=40 - l4_len=8 - Receive queue=0x8
ol_flags: PKT_RX_RSS_HASH PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN
26/02/2021 01:26:59 IAVFRSSConfigureTest: action: {'check_hash_same': 'ipv6'}
26/02/2021 01:26:59 IAVFRSSConfigureTest: hash_infos: [('0x443b2a88', '0x8')]
26/02/2021 01:26:59 IAVFRSSConfigureTest: ----------send packet-------------
26/02/2021 01:26:59 IAVFRSSConfigureTest: Ether(dst="00:11:22:33:44:55")/IP(src="192.168.0.2",dst="192.168.0.3")/TCP(sport=1024,dport=1025)/("X"*40)
26/02/2021 01:27:00 dut.10.240.183.62: port 0/queue 9: received 1 packets
src=00:0C:29:EB:ED:A0 - dst=00:11:22:33:44:55 - type=0x0800 - length=94 - nb_segs=1 - RSS hash=0x607bbed9 - RSS queue=0x9 - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN L4_TCP - sw ptype: L2_ETHER L3_IPV4 L4_TCP - l2_len=14 - l3_len=20 - l4_len=20 - Receive queue=0x9
ol_flags: PKT_RX_RSS_HASH PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN
26/02/2021 01:27:00 IAVFRSSConfigureTest: action: {'check_hash_same': 'ipv4'}
26/02/2021 01:27:00 IAVFRSSConfigureTest: hash_infos: [('0x607bbed9', '0x9')]
26/02/2021 01:27:00 IAVFRSSConfigureTest: ----------send packet-------------
26/02/2021 01:27:00 IAVFRSSConfigureTest: Ether(dst="00:11:22:33:44:55")/IPv6(src="3ffe:2501:200:3::2",dst="3ffe:2501:200:3::3")/TCP(sport=1024,dport=1025)/("X"*40)
26/02/2021 01:27:01 dut.10.240.183.62: port 0/queue 8: received 1 packets
src=00:00:00:00:00:00 - dst=00:11:22:33:44:55 - type=0x86dd - length=114 - nb_segs=1 - RSS hash=0x443b2a88 - RSS queue=0x8 - hw ptype: L2_ETHER L3_IPV6_EXT_UNKNOWN L4_TCP - sw ptype: L2_ETHER L3_IPV6 L4_TCP - l2_len=14 - l3_len=40 - l4_len=20 - Receive queue=0x8
ol_flags: PKT_RX_RSS_HASH PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN
26/02/2021 01:27:01 IAVFRSSConfigureTest: action: {'check_hash_same': 'ipv6'}
26/02/2021 01:27:01 IAVFRSSConfigureTest: hash_infos: [('0x443b2a88', '0x8')]
26/02/2021 01:27:01 IAVFRSSConfigureTest: ----------send packet-------------
26/02/2021 01:27:01 IAVFRSSConfigureTest: Ether(dst="00:11:22:33:44:55")/IP(src="192.168.0.2",dst="192.168.0.3")/SCTP(sport=1024,dport=1025)/("X"*40)
26/02/2021 01:27:02 dut.10.240.183.62: port 0/queue 9: received 1 packets
src=00:0C:29:EB:ED:A0 - dst=00:11:22:33:44:55 - type=0x0800 - length=86 - nb_segs=1 - RSS hash=0x607bbed9 - RSS queue=0x9 - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN L4_SCTP - sw ptype: L2_ETHER L3_IPV4 L4_SCTP - l2_len=14 - l3_len=20 - l4_len=12 - Receive queue=0x9
ol_flags: PKT_RX_RSS_HASH PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN
26/02/2021 01:27:02 IAVFRSSConfigureTest: action: {'check_hash_same': 'ipv4'}
26/02/2021 01:27:02 IAVFRSSConfigureTest: hash_infos: [('0x607bbed9', '0x9')]
26/02/2021 01:27:02 IAVFRSSConfigureTest: ----------send packet-------------
26/02/2021 01:27:02 IAVFRSSConfigureTest: Ether(dst="00:11:22:33:44:55")/IPv6(src="3ffe:2501:200:3::2",dst="3ffe:2501:200:3::3")/SCTP(sport=1024,dport=1025)/("X"*40)
26/02/2021 01:27:03 dut.10.240.183.62: port 0/queue 8: received 1 packets
src=00:00:00:00:00:00 - dst=00:11:22:33:44:55 - type=0x86dd - length=106 - nb_segs=1 - RSS hash=0x443b2a88 - RSS queue=0x8 - hw ptype: L2_ETHER L3_IPV6_EXT_UNKNOWN L4_SCTP - sw ptype: L2_ETHER L3_IPV6 L4_SCTP - l2_len=14 - l3_len=40 - l4_len=12 - Receive queue=0x8
ol_flags: PKT_RX_RSS_HASH PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN
26/02/2021 01:27:03 IAVFRSSConfigureTest: action: {'check_hash_same': 'ipv6'}
26/02/2021 01:27:03 IAVFRSSConfigureTest: hash_infos: [('0x443b2a88', '0x8')]
26/02/2021 01:27:03 IAVFRSSConfigureTest: sub_case tv_mac_ip passed
26/02/2021 01:27:03 dut.10.240.183.62: flow flush 0
26/02/2021 01:27:03 dut.10.240.183.62:
26/02/2021 01:27:03 IAVFRSSConfigureTest: {'tv_mac_ip': 'passed'}
26/02/2021 01:27:03 IAVFRSSConfigureTest: pass rate is: 100.0
26/02/2021 01:27:03 IAVFRSSConfigureTest: Test Case test_iavf_rss_configure_to_ip Result PASSED:
26/02/2021 01:27:03 dut.10.240.183.62: stop
26/02/2021 01:27:03 dut.10.240.183.62:
Telling cores to ...
Waiting for lcores to finish...
------- Forward Stats for RX Port= 0/Queue= 8 -> TX Port= 0/Queue= 8 -------
RX-packets: 4 TX-packets: 0 TX-dropped: 0
------- Forward Stats for RX Port= 0/Queue= 9 -> TX Port= 0/Queue= 9 -------
RX-packets: 4 TX-packets: 0 TX-dropped: 0
---------------------- Forward statistics for port 0 ----------------------
RX-packets: 8 RX-dropped: 0 RX-total: 8
TX-packets: 0 TX-dropped: 0 TX-total: 0
----------------------------------------------------------------------------
+++++++++++++++ Accumulated forward statistics for all ports+++++++++++++++
RX-packets: 8 RX-dropped: 0 RX-total: 8
TX-packets: 0 TX-dropped: 0 TX-total: 0
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Done.
26/02/2021 01:27:03 IAVFRSSConfigureTest: Test Case test_iavf_rss_configure_to_none Begin
26/02/2021 01:27:04 dut.10.240.183.62:
26/02/2021 01:27:04 tester:
26/02/2021 01:27:04 dut.10.240.183.62: port config all rss none
26/02/2021 01:27:04 dut.10.240.183.62:
rss_hf 0
26/02/2021 01:27:04 dut.10.240.183.62: start
26/02/2021 01:27:04 dut.10.240.183.62:
rxonly packet forwarding - ports=1 - cores=1 - streams=16 - NUMA support enabled, MP allocation mode: native
Logical Core 32 (socket 1) forwards packets on 16 streams:
RX P=0/Q=0 (socket 1) -> TX P=0/Q=0 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=1 (socket 1) -> TX P=0/Q=1 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=2 (socket 1) -> TX P=0/Q=2 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=3 (socket 1) -> TX P=0/Q=3 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=4 (socket 1) -> TX P=0/Q=4 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=5 (socket 1) -> TX P=0/Q=5 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=6 (socket 1) -> TX P=0/Q=6 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=7 (socket 1) -> TX P=0/Q=7 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=8 (socket 1) -> TX P=0/Q=8 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=9 (socket 1) -> TX P=0/Q=9 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=10 (socket 1) -> TX P=0/Q=10 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=11 (socket 1) -> TX P=0/Q=11 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=12 (socket 1) -> TX P=0/Q=12 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=13 (socket 1) -> TX P=0/Q=13 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=14 (socket 1) -> TX P=0/Q=14 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=15 (socket 1) -> TX P=0/Q=15 (socket 1) 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: 16 Tx queue number: 16
Rx offloads=0x0 Tx offloads=0x10000
RX queue: 0
RX desc=512 - RX free threshold=32
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0x0
TX queue: 0
TX desc=512 - TX free threshold=32
TX threshold registers: pthresh=0 hthresh=0 wthresh=0
TX offloads=0x10000 - TX RS bit threshold=32
26/02/2021 01:27:04 IAVFRSSConfigureTest: ===================Test sub case: tvs_mac_all================
26/02/2021 01:27:04 IAVFRSSConfigureTest: ------------handle test--------------
26/02/2021 01:27:04 IAVFRSSConfigureTest: ----------send packet-------------
26/02/2021 01:27:04 IAVFRSSConfigureTest: Ether(dst="00:11:22:33:44:55")/IP(src="192.168.0.2",dst="192.168.0.3")/("X"*40)
26/02/2021 01:27:05 dut.10.240.183.62: port 0/queue 9: received 1 packets
src=00:0C:29:EB:ED:A0 - dst=00:11:22:33:44:55 - type=0x0800 - length=74 - nb_segs=1 - RSS hash=0x607bbed9 - RSS queue=0x9 - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN L4_NONFRAG - sw ptype: L2_ETHER L3_IPV4 - l2_len=14 - l3_len=20 - Receive queue=0x9
ol_flags: PKT_RX_RSS_HASH PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN
26/02/2021 01:27:05 IAVFRSSConfigureTest: action: ipv4_all
26/02/2021 01:27:05 IAVFRSSConfigureTest: action: check_no_hash
26/02/2021 01:27:05 IAVFRSSConfigureTest: hash_infos: [('0x607bbed9', '0x9')]
26/02/2021 01:27:05 IAVFRSSConfigureTest: hash value ['0x607bbed9'] should be empty
26/02/2021 01:27:05 IAVFRSSConfigureTest: ----------send packet-------------
26/02/2021 01:27:05 IAVFRSSConfigureTest: Ether(dst="00:11:22:33:44:55")/IPv6(src="3ffe:2501:200:3::2",dst="3ffe:2501:200:3::3")/("X"*40)
26/02/2021 01:27:06 dut.10.240.183.62: port 0/queue 8: received 1 packets
src=00:00:00:00:00:00 - dst=00:11:22:33:44:55 - type=0x86dd - length=94 - nb_segs=1 - RSS hash=0x443b2a88 - RSS queue=0x8 - hw ptype: L2_ETHER L3_IPV6_EXT_UNKNOWN L4_NONFRAG - sw ptype: L2_ETHER L3_IPV6 - l2_len=14 - l3_len=40 - Receive queue=0x8
ol_flags: PKT_RX_RSS_HASH PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN
26/02/2021 01:27:06 IAVFRSSConfigureTest: action: ipv6_all
26/02/2021 01:27:06 IAVFRSSConfigureTest: action: check_no_hash
26/02/2021 01:27:06 IAVFRSSConfigureTest: hash_infos: [('0x443b2a88', '0x8')]
26/02/2021 01:27:06 IAVFRSSConfigureTest: hash value ['0x443b2a88'] should be empty
26/02/2021 01:27:06 IAVFRSSConfigureTest: ----------send packet-------------
26/02/2021 01:27:06 IAVFRSSConfigureTest: Ether(dst="00:11:22:33:44:55")/IP(src="192.168.0.2",dst="192.168.0.3")/UDP(sport=1024,dport=1025)/("X"*40)
26/02/2021 01:27:07 dut.10.240.183.62: port 0/queue 9: received 1 packets
src=00:0C:29:EB:ED:A0 - dst=00:11:22:33:44:55 - type=0x0800 - length=82 - nb_segs=1 - RSS hash=0x607bbed9 - RSS queue=0x9 - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN L4_UDP - sw ptype: L2_ETHER L3_IPV4 L4_UDP - l2_len=14 - l3_len=20 - l4_len=8 - Receive queue=0x9
ol_flags: PKT_RX_RSS_HASH PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN
26/02/2021 01:27:07 IAVFRSSConfigureTest: action: ipv4_all
26/02/2021 01:27:07 IAVFRSSConfigureTest: action: check_no_hash
26/02/2021 01:27:07 IAVFRSSConfigureTest: hash_infos: [('0x607bbed9', '0x9')]
26/02/2021 01:27:07 IAVFRSSConfigureTest: hash value ['0x607bbed9'] should be empty
26/02/2021 01:27:07 IAVFRSSConfigureTest: ----------send packet-------------
26/02/2021 01:27:07 IAVFRSSConfigureTest: Ether(dst="00:11:22:33:44:55")/IPv6(src="3ffe:2501:200:3::2",dst="3ffe:2501:200:3::3")/UDP(sport=1024,dport=1025)/("X"*40)
26/02/2021 01:27:08 dut.10.240.183.62: port 0/queue 8: received 1 packets
src=00:00:00:00:00:00 - dst=00:11:22:33:44:55 - type=0x86dd - length=102 - nb_segs=1 - RSS hash=0x443b2a88 - RSS queue=0x8 - hw ptype: L2_ETHER L3_IPV6_EXT_UNKNOWN L4_UDP - sw ptype: L2_ETHER L3_IPV6 L4_UDP - l2_len=14 - l3_len=40 - l4_len=8 - Receive queue=0x8
ol_flags: PKT_RX_RSS_HASH PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN
26/02/2021 01:27:08 IAVFRSSConfigureTest: action: ipv6_all
26/02/2021 01:27:08 IAVFRSSConfigureTest: action: check_no_hash
26/02/2021 01:27:08 IAVFRSSConfigureTest: hash_infos: [('0x443b2a88', '0x8')]
26/02/2021 01:27:08 IAVFRSSConfigureTest: hash value ['0x443b2a88'] should be empty
26/02/2021 01:27:08 IAVFRSSConfigureTest: ----------send packet-------------
26/02/2021 01:27:08 IAVFRSSConfigureTest: Ether(dst="00:11:22:33:44:55")/IP(src="192.168.0.2",dst="192.168.0.3")/TCP(sport=1024,dport=1025)/("X"*40)
26/02/2021 01:27:09 dut.10.240.183.62: port 0/queue 9: received 1 packets
src=00:0C:29:EB:ED:A0 - dst=00:11:22:33:44:55 - type=0x0800 - length=94 - nb_segs=1 - RSS hash=0x607bbed9 - RSS queue=0x9 - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN L4_TCP - sw ptype: L2_ETHER L3_IPV4 L4_TCP - l2_len=14 - l3_len=20 - l4_len=20 - Receive queue=0x9
ol_flags: PKT_RX_RSS_HASH PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN
26/02/2021 01:27:09 IAVFRSSConfigureTest: action: ipv4_all
26/02/2021 01:27:09 IAVFRSSConfigureTest: action: check_no_hash
26/02/2021 01:27:09 IAVFRSSConfigureTest: hash_infos: [('0x607bbed9', '0x9')]
26/02/2021 01:27:09 IAVFRSSConfigureTest: hash value ['0x607bbed9'] should be empty
26/02/2021 01:27:09 IAVFRSSConfigureTest: ----------send packet-------------
26/02/2021 01:27:09 IAVFRSSConfigureTest: Ether(dst="00:11:22:33:44:55")/IPv6(src="3ffe:2501:200:3::2",dst="3ffe:2501:200:3::3")/TCP(sport=1024,dport=1025)/("X"*40)
26/02/2021 01:27:10 dut.10.240.183.62: port 0/queue 8: received 1 packets
src=00:00:00:00:00:00 - dst=00:11:22:33:44:55 - type=0x86dd - length=114 - nb_segs=1 - RSS hash=0x443b2a88 - RSS queue=0x8 - hw ptype: L2_ETHER L3_IPV6_EXT_UNKNOWN L4_TCP - sw ptype: L2_ETHER L3_IPV6 L4_TCP - l2_len=14 - l3_len=40 - l4_len=20 - Receive queue=0x8
ol_flags: PKT_RX_RSS_HASH PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN
26/02/2021 01:27:10 IAVFRSSConfigureTest: action: ipv6_all
26/02/2021 01:27:10 IAVFRSSConfigureTest: action: check_no_hash
26/02/2021 01:27:10 IAVFRSSConfigureTest: hash_infos: [('0x443b2a88', '0x8')]
26/02/2021 01:27:10 IAVFRSSConfigureTest: hash value ['0x443b2a88'] should be empty
26/02/2021 01:27:10 IAVFRSSConfigureTest: ----------send packet-------------
26/02/2021 01:27:10 IAVFRSSConfigureTest: Ether(dst="00:11:22:33:44:55")/IP(src="192.168.0.2",dst="192.168.0.3")/SCTP(sport=1024,dport=1025)/("X"*40)
26/02/2021 01:27:12 dut.10.240.183.62: port 0/queue 9: received 1 packets
src=00:0C:29:EB:ED:A0 - dst=00:11:22:33:44:55 - type=0x0800 - length=86 - nb_segs=1 - RSS hash=0x607bbed9 - RSS queue=0x9 - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN L4_SCTP - sw ptype: L2_ETHER L3_IPV4 L4_SCTP - l2_len=14 - l3_len=20 - l4_len=12 - Receive queue=0x9
ol_flags: PKT_RX_RSS_HASH PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN
26/02/2021 01:27:12 IAVFRSSConfigureTest: action: ipv4_all
26/02/2021 01:27:12 IAVFRSSConfigureTest: action: check_no_hash
26/02/2021 01:27:12 IAVFRSSConfigureTest: hash_infos: [('0x607bbed9', '0x9')]
26/02/2021 01:27:12 IAVFRSSConfigureTest: hash value ['0x607bbed9'] should be empty
26/02/2021 01:27:12 IAVFRSSConfigureTest: ----------send packet-------------
26/02/2021 01:27:12 IAVFRSSConfigureTest: Ether(dst="00:11:22:33:44:55")/IPv6(src="3ffe:2501:200:3::2",dst="3ffe:2501:200:3::3")/SCTP(sport=1024,dport=1025)/("X"*40)
26/02/2021 01:27:13 dut.10.240.183.62: port 0/queue 8: received 1 packets
src=00:00:00:00:00:00 - dst=00:11:22:33:44:55 - type=0x86dd - length=106 - nb_segs=1 - RSS hash=0x443b2a88 - RSS queue=0x8 - hw ptype: L2_ETHER L3_IPV6_EXT_UNKNOWN L4_SCTP - sw ptype: L2_ETHER L3_IPV6 L4_SCTP - l2_len=14 - l3_len=40 - l4_len=12 - Receive queue=0x8
ol_flags: PKT_RX_RSS_HASH PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN
26/02/2021 01:27:13 IAVFRSSConfigureTest: action: ipv6_all
26/02/2021 01:27:13 IAVFRSSConfigureTest: action: check_no_hash
26/02/2021 01:27:13 IAVFRSSConfigureTest: hash_infos: [('0x443b2a88', '0x8')]
26/02/2021 01:27:13 IAVFRSSConfigureTest: hash value ['0x443b2a88'] should be empty
26/02/2021 01:27:13 IAVFRSSConfigureTest: sub_case tvs_mac_all failed: '["hash value [\'0x607bbed9\'] should be empty", "hash value [\'0x443b2a88\'] should be empty", "hash value [\'0x607bbed9\'] should be empty", "hash value [\'0x443b2a88\'] should be empty", "hash value [\'0x607bbed9\'] should be empty", "hash value [\'0x443b2a88\'] should be empty", "hash value [\'0x607bbed9\'] should be empty", "hash value [\'0x443b2a88\'] should be empty"]'
26/02/2021 01:27:13 dut.10.240.183.62: flow flush 0
26/02/2021 01:27:13 dut.10.240.183.62:
26/02/2021 01:27:13 IAVFRSSConfigureTest: {'tvs_mac_all': 'failed'}
26/02/2021 01:27:13 IAVFRSSConfigureTest: pass rate is: 0.0
26/02/2021 01:27:13 IAVFRSSConfigureTest: Test Case test_iavf_rss_configure_to_none Result FAILED: 'some subcases failed'
26/02/2021 01:27:13 dut.10.240.183.62: stop
26/02/2021 01:27:13 dut.10.240.183.62:
Telling cores to ...
Waiting for lcores to finish...
------- Forward Stats for RX Port= 0/Queue= 8 -> TX Port= 0/Queue= 8 -------
RX-packets: 4 TX-packets: 0 TX-dropped: 0
------- Forward Stats for RX Port= 0/Queue= 9 -> TX Port= 0/Queue= 9 -------
RX-packets: 4 TX-packets: 0 TX-dropped: 0
---------------------- Forward statistics for port 0 ----------------------
RX-packets: 8 RX-dropped: 0 RX-total: 8
TX-packets: 0 TX-dropped: 0 TX-total: 0
----------------------------------------------------------------------------
+++++++++++++++ Accumulated forward statistics for all ports+++++++++++++++
RX-packets: 8 RX-dropped: 0 RX-total: 8
TX-packets: 0 TX-dropped: 0 TX-total: 0
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Done.
26/02/2021 01:27:13 IAVFRSSConfigureTest: Test Case test_iavf_rss_configure_to_sctp Begin
26/02/2021 01:27:13 dut.10.240.183.62:
26/02/2021 01:27:13 tester:
26/02/2021 01:27:13 dut.10.240.183.62: port config all rss sctp
26/02/2021 01:27:13 dut.10.240.183.62:
rss_hf 0x1040
26/02/2021 01:27:13 dut.10.240.183.62: start
26/02/2021 01:27:13 dut.10.240.183.62:
rxonly packet forwarding - ports=1 - cores=1 - streams=16 - NUMA support enabled, MP allocation mode: native
Logical Core 32 (socket 1) forwards packets on 16 streams:
RX P=0/Q=0 (socket 1) -> TX P=0/Q=0 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=1 (socket 1) -> TX P=0/Q=1 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=2 (socket 1) -> TX P=0/Q=2 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=3 (socket 1) -> TX P=0/Q=3 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=4 (socket 1) -> TX P=0/Q=4 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=5 (socket 1) -> TX P=0/Q=5 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=6 (socket 1) -> TX P=0/Q=6 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=7 (socket 1) -> TX P=0/Q=7 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=8 (socket 1) -> TX P=0/Q=8 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=9 (socket 1) -> TX P=0/Q=9 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=10 (socket 1) -> TX P=0/Q=10 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=11 (socket 1) -> TX P=0/Q=11 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=12 (socket 1) -> TX P=0/Q=12 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=13 (socket 1) -> TX P=0/Q=13 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=14 (socket 1) -> TX P=0/Q=14 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=15 (socket 1) -> TX P=0/Q=15 (socket 1) 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: 16 Tx queue number: 16
Rx offloads=0x0 Tx offloads=0x10000
RX queue: 0
RX desc=512 - RX free threshold=32
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0x0
TX queue: 0
TX desc=512 - TX free threshold=32
TX threshold registers: pthresh=0 hthresh=0 wthresh=0
TX offloads=0x10000 - TX RS bit threshold=32
26/02/2021 01:27:13 IAVFRSSConfigureTest: ===================Test sub case: tv_mac_sctp================
26/02/2021 01:27:13 IAVFRSSConfigureTest: ------------handle test--------------
26/02/2021 01:27:13 IAVFRSSConfigureTest: ----------send packet-------------
26/02/2021 01:27:13 IAVFRSSConfigureTest: Ether(dst="00:11:22:33:44:55")/IP(src="192.168.0.2",dst="192.168.0.3")/SCTP(sport=1024,dport=1025)/("X"*40)
26/02/2021 01:27:14 dut.10.240.183.62: port 0/queue 13: received 1 packets
src=00:0C:29:EB:ED:A0 - dst=00:11:22:33:44:55 - type=0x0800 - length=86 - nb_segs=1 - RSS hash=0xe8bebc2d - RSS queue=0xd - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN L4_SCTP - sw ptype: L2_ETHER L3_IPV4 L4_SCTP - l2_len=14 - l3_len=20 - l4_len=12 - Receive queue=0xd
ol_flags: PKT_RX_RSS_HASH PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN
26/02/2021 01:27:14 IAVFRSSConfigureTest: action: save_hash
26/02/2021 01:27:14 IAVFRSSConfigureTest: hash_infos: [('0xe8bebc2d', '0xd')]
26/02/2021 01:27:14 IAVFRSSConfigureTest: action: ipv4_sctp
26/02/2021 01:27:14 IAVFRSSConfigureTest: ----------send packet-------------
26/02/2021 01:27:14 IAVFRSSConfigureTest: Ether(dst="00:11:22:33:44:55")/IPv6(src="3ffe:2501:200:3::2",dst="3ffe:2501:200:3::3")/SCTP(sport=1024,dport=1025)/("X"*40)
26/02/2021 01:27:16 dut.10.240.183.62: port 0/queue 4: received 1 packets
src=00:00:00:00:00:00 - dst=00:11:22:33:44:55 - type=0x86dd - length=106 - nb_segs=1 - RSS hash=0xf6c6ff04 - RSS queue=0x4 - hw ptype: L2_ETHER L3_IPV6_EXT_UNKNOWN L4_SCTP - sw ptype: L2_ETHER L3_IPV6 L4_SCTP - l2_len=14 - l3_len=40 - l4_len=12 - Receive queue=0x4
ol_flags: PKT_RX_RSS_HASH PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN
26/02/2021 01:27:16 IAVFRSSConfigureTest: action: save_hash
26/02/2021 01:27:16 IAVFRSSConfigureTest: hash_infos: [('0xf6c6ff04', '0x4')]
26/02/2021 01:27:16 IAVFRSSConfigureTest: action: ipv6_sctp
26/02/2021 01:27:16 IAVFRSSConfigureTest: ----------send packet-------------
26/02/2021 01:27:16 IAVFRSSConfigureTest: Ether(dst="00:11:22:33:44:55")/IP(src="192.168.0.2",dst="192.168.0.3")/("X"*40)
26/02/2021 01:27:17 dut.10.240.183.62: port 0/queue 0: received 1 packets
src=00:0C:29:EB:ED:A0 - dst=00:11:22:33:44:55 - type=0x0800 - length=74 - nb_segs=1 - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN L4_NONFRAG - sw ptype: L2_ETHER L3_IPV4 - l2_len=14 - l3_len=20 - Receive queue=0x0
ol_flags: PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN
26/02/2021 01:27:17 IAVFRSSConfigureTest: action: check_no_hash
26/02/2021 01:27:17 IAVFRSSConfigureTest: hash_infos: []
26/02/2021 01:27:17 IAVFRSSConfigureTest: ----------send packet-------------
26/02/2021 01:27:17 IAVFRSSConfigureTest: Ether(dst="00:11:22:33:44:55")/IPv6(src="3ffe:2501:200:3::2",dst="3ffe:2501:200:3::3")/("X"*40)
26/02/2021 01:27:18 dut.10.240.183.62: port 0/queue 0: received 1 packets
src=00:00:00:00:00:00 - dst=00:11:22:33:44:55 - type=0x86dd - length=94 - nb_segs=1 - hw ptype: L2_ETHER L3_IPV6_EXT_UNKNOWN L4_NONFRAG - sw ptype: L2_ETHER L3_IPV6 - l2_len=14 - l3_len=40 - Receive queue=0x0
ol_flags: PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN
26/02/2021 01:27:18 IAVFRSSConfigureTest: action: check_no_hash
26/02/2021 01:27:18 IAVFRSSConfigureTest: hash_infos: []
26/02/2021 01:27:18 IAVFRSSConfigureTest: ----------send packet-------------
26/02/2021 01:27:18 IAVFRSSConfigureTest: Ether(dst="00:11:22:33:44:55")/IP(src="192.168.0.2",dst="192.168.0.3")/UDP(sport=1024,dport=1025)/("X"*40)
26/02/2021 01:27:19 dut.10.240.183.62: port 0/queue 0: received 1 packets
src=00:0C:29:EB:ED:A0 - dst=00:11:22:33:44:55 - type=0x0800 - length=82 - nb_segs=1 - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN L4_UDP - sw ptype: L2_ETHER L3_IPV4 L4_UDP - l2_len=14 - l3_len=20 - l4_len=8 - Receive queue=0x0
ol_flags: PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN
26/02/2021 01:27:19 IAVFRSSConfigureTest: action: check_no_hash
26/02/2021 01:27:19 IAVFRSSConfigureTest: hash_infos: []
26/02/2021 01:27:19 IAVFRSSConfigureTest: ----------send packet-------------
26/02/2021 01:27:19 IAVFRSSConfigureTest: Ether(dst="00:11:22:33:44:55")/IPv6(src="3ffe:2501:200:3::2",dst="3ffe:2501:200:3::3")/UDP(sport=1024,dport=1025)/("X"*40)
26/02/2021 01:27:20 dut.10.240.183.62: port 0/queue 0: received 1 packets
src=00:00:00:00:00:00 - dst=00:11:22:33:44:55 - type=0x86dd - length=102 - nb_segs=1 - hw ptype: L2_ETHER L3_IPV6_EXT_UNKNOWN L4_UDP - sw ptype: L2_ETHER L3_IPV6 L4_UDP - l2_len=14 - l3_len=40 - l4_len=8 - Receive queue=0x0
ol_flags: PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN
26/02/2021 01:27:20 IAVFRSSConfigureTest: action: check_no_hash
26/02/2021 01:27:20 IAVFRSSConfigureTest: hash_infos: []
26/02/2021 01:27:20 IAVFRSSConfigureTest: ----------send packet-------------
26/02/2021 01:27:20 IAVFRSSConfigureTest: Ether(dst="00:11:22:33:44:55")/IP(src="192.168.0.2",dst="192.168.0.3")/TCP(sport=1024,dport=1025)/("X"*40)
26/02/2021 01:27:21 dut.10.240.183.62: port 0/queue 0: received 1 packets
src=00:0C:29:EB:ED:A0 - dst=00:11:22:33:44:55 - type=0x0800 - length=94 - nb_segs=1 - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN L4_TCP - sw ptype: L2_ETHER L3_IPV4 L4_TCP - l2_len=14 - l3_len=20 - l4_len=20 - Receive queue=0x0
ol_flags: PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN
26/02/2021 01:27:21 IAVFRSSConfigureTest: action: check_no_hash
26/02/2021 01:27:21 IAVFRSSConfigureTest: hash_infos: []
26/02/2021 01:27:21 IAVFRSSConfigureTest: ----------send packet-------------
26/02/2021 01:27:21 IAVFRSSConfigureTest: Ether(dst="00:11:22:33:44:55")/IPv6(src="3ffe:2501:200:3::2",dst="3ffe:2501:200:3::3")/TCP(sport=1024,dport=1025)/("X"*40)
26/02/2021 01:27:22 dut.10.240.183.62: port 0/queue 0: received 1 packets
src=00:00:00:00:00:00 - dst=00:11:22:33:44:55 - type=0x86dd - length=114 - nb_segs=1 - hw ptype: L2_ETHER L3_IPV6_EXT_UNKNOWN L4_TCP - sw ptype: L2_ETHER L3_IPV6 L4_TCP - l2_len=14 - l3_len=40 - l4_len=20 - Receive queue=0x0
ol_flags: PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN
26/02/2021 01:27:22 IAVFRSSConfigureTest: action: check_no_hash
26/02/2021 01:27:22 IAVFRSSConfigureTest: hash_infos: []
26/02/2021 01:27:22 IAVFRSSConfigureTest: sub_case tv_mac_sctp passed
26/02/2021 01:27:22 dut.10.240.183.62: flow flush 0
26/02/2021 01:27:22 dut.10.240.183.62:
26/02/2021 01:27:22 IAVFRSSConfigureTest: {'tv_mac_sctp': 'passed'}
26/02/2021 01:27:22 IAVFRSSConfigureTest: pass rate is: 100.0
26/02/2021 01:27:22 IAVFRSSConfigureTest: Test Case test_iavf_rss_configure_to_sctp Result PASSED:
26/02/2021 01:27:22 dut.10.240.183.62: stop
26/02/2021 01:27:22 dut.10.240.183.62:
Telling cores to ...
Waiting for lcores to finish...
------- Forward Stats for RX Port= 0/Queue= 0 -> TX Port= 0/Queue= 0 -------
RX-packets: 6 TX-packets: 0 TX-dropped: 0
------- Forward Stats for RX Port= 0/Queue= 4 -> TX Port= 0/Queue= 4 -------
RX-packets: 1 TX-packets: 0 TX-dropped: 0
------- Forward Stats for RX Port= 0/Queue=13 -> TX Port= 0/Queue=13 -------
RX-packets: 1 TX-packets: 0 TX-dropped: 0
---------------------- Forward statistics for port 0 ----------------------
RX-packets: 8 RX-dropped: 0 RX-total: 8
TX-packets: 0 TX-dropped: 0 TX-total: 0
----------------------------------------------------------------------------
+++++++++++++++ Accumulated forward statistics for all ports+++++++++++++++
RX-packets: 8 RX-dropped: 0 RX-total: 8
TX-packets: 0 TX-dropped: 0 TX-total: 0
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Done.
26/02/2021 01:27:22 IAVFRSSConfigureTest: Test Case test_iavf_rss_configure_to_tcp Begin
26/02/2021 01:27:22 dut.10.240.183.62:
26/02/2021 01:27:22 tester:
26/02/2021 01:27:23 dut.10.240.183.62: port config all rss tcp
26/02/2021 01:27:23 dut.10.240.183.62:
Port 0 modified RSS hash function based on hardware support,requested:0x10410 configured:0x410
rss_hf 0x10410
26/02/2021 01:27:23 dut.10.240.183.62: start
26/02/2021 01:27:23 dut.10.240.183.62:
rxonly packet forwarding - ports=1 - cores=1 - streams=16 - NUMA support enabled, MP allocation mode: native
Logical Core 32 (socket 1) forwards packets on 16 streams:
RX P=0/Q=0 (socket 1) -> TX P=0/Q=0 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=1 (socket 1) -> TX P=0/Q=1 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=2 (socket 1) -> TX P=0/Q=2 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=3 (socket 1) -> TX P=0/Q=3 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=4 (socket 1) -> TX P=0/Q=4 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=5 (socket 1) -> TX P=0/Q=5 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=6 (socket 1) -> TX P=0/Q=6 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=7 (socket 1) -> TX P=0/Q=7 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=8 (socket 1) -> TX P=0/Q=8 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=9 (socket 1) -> TX P=0/Q=9 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=10 (socket 1) -> TX P=0/Q=10 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=11 (socket 1) -> TX P=0/Q=11 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=12 (socket 1) -> TX P=0/Q=12 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=13 (socket 1) -> TX P=0/Q=13 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=14 (socket 1) -> TX P=0/Q=14 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=15 (socket 1) -> TX P=0/Q=15 (socket 1) 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: 16 Tx queue number: 16
Rx offloads=0x0 Tx offloads=0x10000
RX queue: 0
RX desc=512 - RX free threshold=32
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0x0
TX queue: 0
TX desc=512 - TX free threshold=32
TX threshold registers: pthresh=0 hthresh=0 wthresh=0
TX offloads=0x10000 - TX RS bit threshold=32
26/02/2021 01:27:23 IAVFRSSConfigureTest: ===================Test sub case: tv_mac_tcp================
26/02/2021 01:27:23 IAVFRSSConfigureTest: ------------handle test--------------
26/02/2021 01:27:23 IAVFRSSConfigureTest: ----------send packet-------------
26/02/2021 01:27:23 IAVFRSSConfigureTest: Ether(dst="00:11:22:33:44:55")/IP(src="192.168.0.2",dst="192.168.0.3")/TCP(sport=1024,dport=1025)/("X"*40)
26/02/2021 01:27:24 dut.10.240.183.62: port 0/queue 11: received 1 packets
src=00:0C:29:EB:ED:A0 - dst=00:11:22:33:44:55 - type=0x0800 - length=94 - nb_segs=1 - RSS hash=0xb1cacf5b - RSS queue=0xb - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN L4_TCP - sw ptype: L2_ETHER L3_IPV4 L4_TCP - l2_len=14 - l3_len=20 - l4_len=20 - Receive queue=0xb
ol_flags: PKT_RX_RSS_HASH PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN
26/02/2021 01:27:24 IAVFRSSConfigureTest: action: save_hash
26/02/2021 01:27:24 IAVFRSSConfigureTest: hash_infos: [('0xb1cacf5b', '0xb')]
26/02/2021 01:27:24 IAVFRSSConfigureTest: action: ipv4_tcp
26/02/2021 01:27:24 IAVFRSSConfigureTest: ----------send packet-------------
26/02/2021 01:27:24 IAVFRSSConfigureTest: Ether(dst="00:11:22:33:44:55")/IPv6(src="3ffe:2501:200:3::2",dst="3ffe:2501:200:3::3")/TCP(sport=1024,dport=1025)/("X"*40)
26/02/2021 01:27:25 dut.10.240.183.62: port 0/queue 11: received 1 packets
src=00:00:00:00:00:00 - dst=00:11:22:33:44:55 - type=0x86dd - length=114 - nb_segs=1 - RSS hash=0xea09999b - RSS queue=0xb - hw ptype: L2_ETHER L3_IPV6_EXT_UNKNOWN L4_TCP - sw ptype: L2_ETHER L3_IPV6 L4_TCP - l2_len=14 - l3_len=40 - l4_len=20 - Receive queue=0xb
ol_flags: PKT_RX_RSS_HASH PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN
26/02/2021 01:27:25 IAVFRSSConfigureTest: action: save_hash
26/02/2021 01:27:25 IAVFRSSConfigureTest: hash_infos: [('0xea09999b', '0xb')]
26/02/2021 01:27:25 IAVFRSSConfigureTest: action: ipv6_tcp
26/02/2021 01:27:25 IAVFRSSConfigureTest: ----------send packet-------------
26/02/2021 01:27:25 IAVFRSSConfigureTest: Ether(dst="00:11:22:33:44:55")/IP(src="192.168.0.2",dst="192.168.0.3")/("X"*40)
26/02/2021 01:27:26 dut.10.240.183.62: port 0/queue 0: received 1 packets
src=00:0C:29:EB:ED:A0 - dst=00:11:22:33:44:55 - type=0x0800 - length=74 - nb_segs=1 - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN L4_NONFRAG - sw ptype: L2_ETHER L3_IPV4 - l2_len=14 - l3_len=20 - Receive queue=0x0
ol_flags: PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN
26/02/2021 01:27:26 IAVFRSSConfigureTest: action: check_no_hash
26/02/2021 01:27:26 IAVFRSSConfigureTest: hash_infos: []
26/02/2021 01:27:26 IAVFRSSConfigureTest: ----------send packet-------------
26/02/2021 01:27:26 IAVFRSSConfigureTest: Ether(dst="00:11:22:33:44:55")/IPv6(src="3ffe:2501:200:3::2",dst="3ffe:2501:200:3::3")/("X"*40)
26/02/2021 01:27:27 dut.10.240.183.62: port 0/queue 0: received 1 packets
src=00:00:00:00:00:00 - dst=00:11:22:33:44:55 - type=0x86dd - length=94 - nb_segs=1 - hw ptype: L2_ETHER L3_IPV6_EXT_UNKNOWN L4_NONFRAG - sw ptype: L2_ETHER L3_IPV6 - l2_len=14 - l3_len=40 - Receive queue=0x0
ol_flags: PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN
26/02/2021 01:27:27 IAVFRSSConfigureTest: action: check_no_hash
26/02/2021 01:27:27 IAVFRSSConfigureTest: hash_infos: []
26/02/2021 01:27:27 IAVFRSSConfigureTest: ----------send packet-------------
26/02/2021 01:27:27 IAVFRSSConfigureTest: Ether(dst="00:11:22:33:44:55")/IP(src="192.168.0.2",dst="192.168.0.3")/UDP(sport=1024,dport=1025)/("X"*40)
26/02/2021 01:27:28 dut.10.240.183.62: port 0/queue 0: received 1 packets
src=00:0C:29:EB:ED:A0 - dst=00:11:22:33:44:55 - type=0x0800 - length=82 - nb_segs=1 - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN L4_UDP - sw ptype: L2_ETHER L3_IPV4 L4_UDP - l2_len=14 - l3_len=20 - l4_len=8 - Receive queue=0x0
ol_flags: PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN
26/02/2021 01:27:28 IAVFRSSConfigureTest: action: check_no_hash
26/02/2021 01:27:28 IAVFRSSConfigureTest: hash_infos: []
26/02/2021 01:27:28 IAVFRSSConfigureTest: ----------send packet-------------
26/02/2021 01:27:28 IAVFRSSConfigureTest: Ether(dst="00:11:22:33:44:55")/IPv6(src="3ffe:2501:200:3::2",dst="3ffe:2501:200:3::3")/UDP(sport=1024,dport=1025)/("X"*40)
26/02/2021 01:27:29 dut.10.240.183.62: port 0/queue 0: received 1 packets
src=00:00:00:00:00:00 - dst=00:11:22:33:44:55 - type=0x86dd - length=102 - nb_segs=1 - hw ptype: L2_ETHER L3_IPV6_EXT_UNKNOWN L4_UDP - sw ptype: L2_ETHER L3_IPV6 L4_UDP - l2_len=14 - l3_len=40 - l4_len=8 - Receive queue=0x0
ol_flags: PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN
26/02/2021 01:27:29 IAVFRSSConfigureTest: action: check_no_hash
26/02/2021 01:27:29 IAVFRSSConfigureTest: hash_infos: []
26/02/2021 01:27:29 IAVFRSSConfigureTest: ----------send packet-------------
26/02/2021 01:27:29 IAVFRSSConfigureTest: Ether(dst="00:11:22:33:44:55")/IP(src="192.168.0.2",dst="192.168.0.3")/SCTP(sport=1024,dport=1025)/("X"*40)
26/02/2021 01:27:30 dut.10.240.183.62: port 0/queue 0: received 1 packets
src=00:0C:29:EB:ED:A0 - dst=00:11:22:33:44:55 - type=0x0800 - length=86 - nb_segs=1 - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN L4_SCTP - sw ptype: L2_ETHER L3_IPV4 L4_SCTP - l2_len=14 - l3_len=20 - l4_len=12 - Receive queue=0x0
ol_flags: PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN
26/02/2021 01:27:30 IAVFRSSConfigureTest: action: check_no_hash
26/02/2021 01:27:30 IAVFRSSConfigureTest: hash_infos: []
26/02/2021 01:27:30 IAVFRSSConfigureTest: ----------send packet-------------
26/02/2021 01:27:30 IAVFRSSConfigureTest: Ether(dst="00:11:22:33:44:55")/IPv6(src="3ffe:2501:200:3::2",dst="3ffe:2501:200:3::3")/SCTP(sport=1024,dport=1025)/("X"*40)
26/02/2021 01:27:32 dut.10.240.183.62: port 0/queue 0: received 1 packets
src=00:00:00:00:00:00 - dst=00:11:22:33:44:55 - type=0x86dd - length=106 - nb_segs=1 - hw ptype: L2_ETHER L3_IPV6_EXT_UNKNOWN L4_SCTP - sw ptype: L2_ETHER L3_IPV6 L4_SCTP - l2_len=14 - l3_len=40 - l4_len=12 - Receive queue=0x0
ol_flags: PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN
26/02/2021 01:27:32 IAVFRSSConfigureTest: action: check_no_hash
26/02/2021 01:27:32 IAVFRSSConfigureTest: hash_infos: []
26/02/2021 01:27:32 IAVFRSSConfigureTest: sub_case tv_mac_tcp passed
26/02/2021 01:27:32 dut.10.240.183.62: flow flush 0
26/02/2021 01:27:32 dut.10.240.183.62:
26/02/2021 01:27:32 IAVFRSSConfigureTest: {'tv_mac_tcp': 'passed'}
26/02/2021 01:27:32 IAVFRSSConfigureTest: pass rate is: 100.0
26/02/2021 01:27:32 IAVFRSSConfigureTest: Test Case test_iavf_rss_configure_to_tcp Result PASSED:
26/02/2021 01:27:32 dut.10.240.183.62: stop
26/02/2021 01:27:32 dut.10.240.183.62:
Telling cores to ...
Waiting for lcores to finish...
------- Forward Stats for RX Port= 0/Queue= 0 -> TX Port= 0/Queue= 0 -------
RX-packets: 6 TX-packets: 0 TX-dropped: 0
------- Forward Stats for RX Port= 0/Queue=11 -> TX Port= 0/Queue=11 -------
RX-packets: 2 TX-packets: 0 TX-dropped: 0
---------------------- Forward statistics for port 0 ----------------------
RX-packets: 8 RX-dropped: 0 RX-total: 8
TX-packets: 0 TX-dropped: 0 TX-total: 0
----------------------------------------------------------------------------
+++++++++++++++ Accumulated forward statistics for all ports+++++++++++++++
RX-packets: 8 RX-dropped: 0 RX-total: 8
TX-packets: 0 TX-dropped: 0 TX-total: 0
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Done.
26/02/2021 01:27:32 IAVFRSSConfigureTest: Test Case test_iavf_rss_configure_to_udp Begin
26/02/2021 01:27:32 dut.10.240.183.62:
26/02/2021 01:27:32 tester:
26/02/2021 01:27:32 dut.10.240.183.62: port config all rss udp
26/02/2021 01:27:32 dut.10.240.183.62:
Port 0 modified RSS hash function based on hardware support,requested:0x20820 configured:0x820
rss_hf 0x20820
26/02/2021 01:27:32 dut.10.240.183.62: start
26/02/2021 01:27:32 dut.10.240.183.62:
rxonly packet forwarding - ports=1 - cores=1 - streams=16 - NUMA support enabled, MP allocation mode: native
Logical Core 32 (socket 1) forwards packets on 16 streams:
RX P=0/Q=0 (socket 1) -> TX P=0/Q=0 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=1 (socket 1) -> TX P=0/Q=1 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=2 (socket 1) -> TX P=0/Q=2 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=3 (socket 1) -> TX P=0/Q=3 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=4 (socket 1) -> TX P=0/Q=4 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=5 (socket 1) -> TX P=0/Q=5 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=6 (socket 1) -> TX P=0/Q=6 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=7 (socket 1) -> TX P=0/Q=7 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=8 (socket 1) -> TX P=0/Q=8 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=9 (socket 1) -> TX P=0/Q=9 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=10 (socket 1) -> TX P=0/Q=10 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=11 (socket 1) -> TX P=0/Q=11 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=12 (socket 1) -> TX P=0/Q=12 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=13 (socket 1) -> TX P=0/Q=13 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=14 (socket 1) -> TX P=0/Q=14 (socket 1) peer=02:00:00:00:00:00
RX P=0/Q=15 (socket 1) -> TX P=0/Q=15 (socket 1) 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: 16 Tx queue number: 16
Rx offloads=0x0 Tx offloads=0x10000
RX queue: 0
RX desc=512 - RX free threshold=32
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0x0
TX queue: 0
TX desc=512 - TX free threshold=32
TX threshold registers: pthresh=0 hthresh=0 wthresh=0
TX offloads=0x10000 - TX RS bit threshold=32
26/02/2021 01:27:32 IAVFRSSConfigureTest: ===================Test sub case: tv_mac_udp================
26/02/2021 01:27:32 IAVFRSSConfigureTest: ------------handle test--------------
26/02/2021 01:27:32 IAVFRSSConfigureTest: ----------send packet-------------
26/02/2021 01:27:32 IAVFRSSConfigureTest: Ether(dst="00:11:22:33:44:55")/IP(src="192.168.0.2",dst="192.168.0.3")/UDP(sport=1024,dport=1025)/("X"*40)
26/02/2021 01:27:33 dut.10.240.183.62: port 0/queue 5: received 1 packets
src=00:0C:29:EB:ED:A0 - dst=00:11:22:33:44:55 - type=0x0800 - length=82 - nb_segs=1 - RSS hash=0x6f8fdcb5 - RSS queue=0x5 - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN L4_UDP - sw ptype: L2_ETHER L3_IPV4 L4_UDP - l2_len=14 - l3_len=20 - l4_len=8 - Receive queue=0x5
ol_flags: PKT_RX_RSS_HASH PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN
26/02/2021 01:27:33 IAVFRSSConfigureTest: action: save_hash
26/02/2021 01:27:33 IAVFRSSConfigureTest: hash_infos: [('0x6f8fdcb5', '0x5')]
26/02/2021 01:27:33 IAVFRSSConfigureTest: action: ipv4_udp
26/02/2021 01:27:33 IAVFRSSConfigureTest: ----------send packet-------------
26/02/2021 01:27:33 IAVFRSSConfigureTest: Ether(dst="00:11:22:33:44:55")/IPv6(src="3ffe:2501:200:3::2",dst="3ffe:2501:200:3::3")/UDP(sport=1024,dport=1025)/("X"*40)
26/02/2021 01:27:34 dut.10.240.183.62: port 0/queue 8: received 1 packets
src=00:00:00:00:00:00 - dst=00:11:22:33:44:55 - type=0x86dd - length=102 - nb_segs=1 - RSS hash=0x4fd7dc88 - RSS queue=0x8 - hw ptype: L2_ETHER L3_IPV6_EXT_UNKNOWN L4_UDP - sw ptype: L2_ETHER L3_IPV6 L4_UDP - l2_len=14 - l3_len=40 - l4_len=8 - Receive queue=0x8
ol_flags: PKT_RX_RSS_HASH PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN
26/02/2021 01:27:34 IAVFRSSConfigureTest: action: save_hash
26/02/2021 01:27:34 IAVFRSSConfigureTest: hash_infos: [('0x4fd7dc88', '0x8')]
26/02/2021 01:27:34 IAVFRSSConfigureTest: action: ipv6_udp
26/02/2021 01:27:34 IAVFRSSConfigureTest: ----------send packet-------------
26/02/2021 01:27:34 IAVFRSSConfigureTest: Ether(dst="00:11:22:33:44:55")/IP(src="192.168.0.2",dst="192.168.0.3")/("X"*40)
26/02/2021 01:27:36 dut.10.240.183.62: port 0/queue 0: received 1 packets
src=00:0C:29:EB:ED:A0 - dst=00:11:22:33:44:55 - type=0x0800 - length=74 - nb_segs=1 - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN L4_NONFRAG - sw ptype: L2_ETHER L3_IPV4 - l2_len=14 - l3_len=20 - Receive queue=0x0
ol_flags: PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN
26/02/2021 01:27:36 IAVFRSSConfigureTest: action: check_no_hash
26/02/2021 01:27:36 IAVFRSSConfigureTest: hash_infos: []
26/02/2021 01:27:36 IAVFRSSConfigureTest: ----------send packet-------------
26/02/2021 01:27:36 IAVFRSSConfigureTest: Ether(dst="00:11:22:33:44:55")/IPv6(src="3ffe:2501:200:3::2",dst="3ffe:2501:200:3::3")/("X"*40)
26/02/2021 01:27:37 dut.10.240.183.62: port 0/queue 0: received 1 packets
src=00:00:00:00:00:00 - dst=00:11:22:33:44:55 - type=0x86dd - length=94 - nb_segs=1 - hw ptype: L2_ETHER L3_IPV6_EXT_UNKNOWN L4_NONFRAG - sw ptype: L2_ETHER L3_IPV6 - l2_len=14 - l3_len=40 - Receive queue=0x0
ol_flags: PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN
26/02/2021 01:27:37 IAVFRSSConfigureTest: action: check_no_hash
26/02/2021 01:27:37 IAVFRSSConfigureTest: hash_infos: []
26/02/2021 01:27:37 IAVFRSSConfigureTest: ----------send packet-------------
26/02/2021 01:27:37 IAVFRSSConfigureTest: Ether(dst="00:11:22:33:44:55")/IP(src="192.168.0.2",dst="192.168.0.3")/TCP(sport=1024,dport=1025)/("X"*40)
26/02/2021 01:27:38 dut.10.240.183.62: port 0/queue 0: received 1 packets
src=00:0C:29:EB:ED:A0 - dst=00:11:22:33:44:55 - type=0x0800 - length=94 - nb_segs=1 - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN L4_TCP - sw ptype: L2_ETHER L3_IPV4 L4_TCP - l2_len=14 - l3_len=20 - l4_len=20 - Receive queue=0x0
ol_flags: PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN
26/02/2021 01:27:38 IAVFRSSConfigureTest: action: check_no_hash
26/02/2021 01:27:38 IAVFRSSConfigureTest: hash_infos: []
26/02/2021 01:27:38 IAVFRSSConfigureTest: ----------send packet-------------
26/02/2021 01:27:38 IAVFRSSConfigureTest: Ether(dst="00:11:22:33:44:55")/IPv6(src="3ffe:2501:200:3::2",dst="3ffe:2501:200:3::3")/TCP(sport=1024,dport=1025)/("X"*40)
26/02/2021 01:27:39 dut.10.240.183.62: port 0/queue 0: received 1 packets
src=00:00:00:00:00:00 - dst=00:11:22:33:44:55 - type=0x86dd - length=114 - nb_segs=1 - hw ptype: L2_ETHER L3_IPV6_EXT_UNKNOWN L4_TCP - sw ptype: L2_ETHER L3_IPV6 L4_TCP - l2_len=14 - l3_len=40 - l4_len=20 - Receive queue=0x0
ol_flags: PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN
26/02/2021 01:27:39 IAVFRSSConfigureTest: action: check_no_hash
26/02/2021 01:27:39 IAVFRSSConfigureTest: hash_infos: []
26/02/2021 01:27:39 IAVFRSSConfigureTest: ----------send packet-------------
26/02/2021 01:27:39 IAVFRSSConfigureTest: Ether(dst="00:11:22:33:44:55")/IP(src="192.168.0.2",dst="192.168.0.3")/SCTP(sport=1024,dport=1025)/("X"*40)
26/02/2021 01:27:40 dut.10.240.183.62: port 0/queue 0: received 1 packets
src=00:0C:29:EB:ED:A0 - dst=00:11:22:33:44:55 - type=0x0800 - length=86 - nb_segs=1 - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN L4_SCTP - sw ptype: L2_ETHER L3_IPV4 L4_SCTP - l2_len=14 - l3_len=20 - l4_len=12 - Receive queue=0x0
ol_flags: PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN
26/02/2021 01:27:40 IAVFRSSConfigureTest: action: check_no_hash
26/02/2021 01:27:40 IAVFRSSConfigureTest: hash_infos: []
26/02/2021 01:27:40 IAVFRSSConfigureTest: ----------send packet-------------
26/02/2021 01:27:40 IAVFRSSConfigureTest: Ether(dst="00:11:22:33:44:55")/IPv6(src="3ffe:2501:200:3::2",dst="3ffe:2501:200:3::3")/SCTP(sport=1024,dport=1025)/("X"*40)
26/02/2021 01:27:41 dut.10.240.183.62: port 0/queue 0: received 1 packets
src=00:00:00:00:00:00 - dst=00:11:22:33:44:55 - type=0x86dd - length=106 - nb_segs=1 - hw ptype: L2_ETHER L3_IPV6_EXT_UNKNOWN L4_SCTP - sw ptype: L2_ETHER L3_IPV6 L4_SCTP - l2_len=14 - l3_len=40 - l4_len=12 - Receive queue=0x0
ol_flags: PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN
26/02/2021 01:27:41 IAVFRSSConfigureTest: action: check_no_hash
26/02/2021 01:27:41 IAVFRSSConfigureTest: hash_infos: []
26/02/2021 01:27:41 IAVFRSSConfigureTest: sub_case tv_mac_udp passed
26/02/2021 01:27:41 dut.10.240.183.62: flow flush 0
26/02/2021 01:27:41 dut.10.240.183.62:
26/02/2021 01:27:41 IAVFRSSConfigureTest: {'tv_mac_udp': 'passed'}
26/02/2021 01:27:41 IAVFRSSConfigureTest: pass rate is: 100.0
26/02/2021 01:27:41 IAVFRSSConfigureTest: Test Case test_iavf_rss_configure_to_udp Result PASSED:
26/02/2021 01:27:41 dut.10.240.183.62: stop
26/02/2021 01:27:41 dut.10.240.183.62:
Telling cores to ...
Waiting for lcores to finish...
------- Forward Stats for RX Port= 0/Queue= 0 -> TX Port= 0/Queue= 0 -------
RX-packets: 6 TX-packets: 0 TX-dropped: 0
------- Forward Stats for RX Port= 0/Queue= 5 -> TX Port= 0/Queue= 5 -------
RX-packets: 1 TX-packets: 0 TX-dropped: 0
------- Forward Stats for RX Port= 0/Queue= 8 -> TX Port= 0/Queue= 8 -------
RX-packets: 1 TX-packets: 0 TX-dropped: 0
---------------------- Forward statistics for port 0 ----------------------
RX-packets: 8 RX-dropped: 0 RX-total: 8
TX-packets: 0 TX-dropped: 0 TX-total: 0
----------------------------------------------------------------------------
+++++++++++++++ Accumulated forward statistics for all ports+++++++++++++++
RX-packets: 8 RX-dropped: 0 RX-total: 8
TX-packets: 0 TX-dropped: 0 TX-total: 0
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Done.
26/02/2021 01:27:41 dts:
TEST SUITE ENDED: IAVFRSSConfigureTest
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [dts] [PATCH V1 0/2] add iavf rss configure case and plan
2021-02-25 11:05 [dts] [PATCH V1 0/2] add iavf rss configure case and plan Zhimin Huang
2021-02-25 11:05 ` [dts] [PATCH V1 1/2] test_plans/cvl_iavf_rss_configure_test_plan:add iavf rss configure test plan Zhimin Huang
2021-02-25 11:05 ` [dts] [PATCH V1 2/2] tests/cvl_iavf_rss_configure:add iavf rss configure test case Zhimin Huang
@ 2021-03-02 4:39 ` Tu, Lijuan
2 siblings, 0 replies; 5+ messages in thread
From: Tu, Lijuan @ 2021-03-02 4:39 UTC (permalink / raw)
To: Huang, ZhiminX, dts
> *.add 10 test case and testplan.
>
> Zhimin Huang (2):
> test_plans/cvl_iavf_rss_configure_test_plan:add iavf rss configure test plan.
> tests/cvl_iavf_rss_configure:add iavf rss configure test case.
Applied, thanks
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2021-03-02 4:39 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-25 11:05 [dts] [PATCH V1 0/2] add iavf rss configure case and plan Zhimin Huang
2021-02-25 11:05 ` [dts] [PATCH V1 1/2] test_plans/cvl_iavf_rss_configure_test_plan:add iavf rss configure test plan Zhimin Huang
2021-02-25 11:05 ` [dts] [PATCH V1 2/2] tests/cvl_iavf_rss_configure:add iavf rss configure test case Zhimin Huang
2021-02-25 11:19 ` Huang, ZhiminX
2021-03-02 4:39 ` [dts] [PATCH V1 0/2] add iavf rss configure case and plan 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).