From: "Sun, QinX" <qinx.sun@intel.com>
To: "dts@dpdk.org" <dts@dpdk.org>
Subject: Re: [dts] [PATCH V1 1/2] tests/cvl_advanced_iavf_rss: modify next header as 17
Date: Fri, 29 Oct 2021 08:55:46 +0000 [thread overview]
Message-ID: <SJ0PR11MB486393DF8F9CDD849994231B87879@SJ0PR11MB4863.namprd11.prod.outlook.com> (raw)
In-Reply-To: <20211029164615.32677-2-qinx.sun@intel.com>
[-- Attachment #1: Type: text/plain, Size: 303 bytes --]
> -----Original Message-----
> From: Sun, QinX <qinx.sun@intel.com>
> Sent: Saturday, October 30, 2021 12:46 AM
> To: dts@dpdk.org
> Cc: Sun, QinX <qinx.sun@intel.com>
> Subject: [dts] [PATCH V1 1/2] tests/cvl_advanced_iavf_rss: modify next header as 17
Tested-by: Qin Sun <qinx.sun@intel.com>
[-- Attachment #2: AdvancedIavfRSSTest.log --]
[-- Type: application/octet-stream, Size: 36019 bytes --]
29/10/2021 16:58:00 dts:
TEST SUITE : AdvancedIavfRSSTest
29/10/2021 16:58:00 dts: NIC : columbiaville_100g
29/10/2021 16:58:00 dut.10.240.183.156:
29/10/2021 16:58:00 tester:
29/10/2021 16:58:00 dut.10.240.183.156: ls
29/10/2021 16:58:00 dut.10.240.183.156: ABI_VERSION app buildtoo config devtoo doc dpdk.log drivers examples kernel lib license MAINTAINERS Makefile meson.build meson_options.txt README usertoo VERSION x86_64-native-linuxapp-gcc
29/10/2021 16:58:00 dut.10.240.183.156: usertools/dpdk-devbind.py --force --bind=ice 0000:af:00.0 0000:b2:00.0
29/10/2021 16:58:03 dut.10.240.183.156:
29/10/2021 16:58:05 dut.10.240.183.156: cat /sys/bus/pci/devices/0000\:af\:01.0/vendor
29/10/2021 16:58:05 dut.10.240.183.156: 0x8086
29/10/2021 16:58:05 dut.10.240.183.156: cat /sys/bus/pci/devices/0000\:af\:01.0/device
29/10/2021 16:58:05 dut.10.240.183.156: 0x1889
29/10/2021 16:58:07 dut.10.240.183.156: ifconfig eth7 up
29/10/2021 16:58:07 dut.10.240.183.156:
29/10/2021 16:58:07 dut.10.240.183.156: ip link set eth7 vf 0 mac 00:11:22:33:44:55
29/10/2021 16:58:07 dut.10.240.183.156:
29/10/2021 16:58:07 AdvancedIavfRSSTest: Test Case test_symmetric_mac_ipv4_gre_ipv6_udp Begin
29/10/2021 16:58:07 dut.10.240.183.156:
29/10/2021 16:58:08 tester:
29/10/2021 16:58:08 dut.10.240.183.156: x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 28,29,30,31 -n 4 -a 0000:af:01.0 --file-prefix=dpdk_1320_20211029165732 -- -i --rxq=16 --txq=16
29/10/2021 16:58:09 dut.10.240.183.156: EAL: Detected CPU lcores: 112
EAL: Detected NUMA nodes: 2
EAL: Detected static linkage of DPDK
EAL: Multi-process socket /var/run/dpdk/dpdk_1320_20211029165732/mp_socket
EAL: Selected IOVA mode 'VA'
EAL: 1024 hugepages of size 2097152 reserved, but no mounted hugetlbfs found for that size
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)
TELEMETRY: No legacy callbacks, legacy socket not created
Interactive-mode selected
testpmd: create a new mbuf pool <mb_pool_1>: n=171456, 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
29/10/2021 16:58:19 dut.10.240.183.156: port config all rss all
29/10/2021 16:58:19 dut.10.240.183.156:
Port 0 modified RSS hash function based on hardware support,requested:0x17f83fffc configured:0x3ffc
rss_hf 0x17f83fffc
29/10/2021 16:58:19 dut.10.240.183.156: set fwd rxonly
29/10/2021 16:58:19 dut.10.240.183.156:
Set rxonly packet forwarding mode
29/10/2021 16:58:19 dut.10.240.183.156: set verbose 1
29/10/2021 16:58:19 dut.10.240.183.156:
Change verbose level from 0 to 1
29/10/2021 16:58:19 dut.10.240.183.156: show port info all
29/10/2021 16:58:19 dut.10.240.183.156:
********************* 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: 100 Gbps
Link duplex: full-duplex
Autoneg status: On
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
Device capabilities: 0x0( )
29/10/2021 16:58:19 AdvancedIavfRSSTest: rssprocess.tester_ifaces: ['ens4', 'ens7']
29/10/2021 16:58:19 AdvancedIavfRSSTest: rssprocess.test_case: <tests.TestSuite_cvl_advanced_iavf_rss.AdvancedIavfRSSTest object at 0x7f541b505cc0>
29/10/2021 16:58:19 dut.10.240.183.156: start
29/10/2021 16:58:19 dut.10.240.183.156:
rxonly packet forwarding - ports=1 - cores=1 - streams=16 - NUMA support enabled, MP allocation mode: native
Logical Core 29 (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=0x80000 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
29/10/2021 16:58:19 AdvancedIavfRSSTest: ===================Test sub case: mac_ipv4_gre_ipv6_udp_symmetric================
29/10/2021 16:58:19 AdvancedIavfRSSTest: ------------handle test--------------
29/10/2021 16:58:19 dut.10.240.183.156: flow validate 0 ingress pattern eth / ipv4 / gre / ipv6 / udp / end actions rss func symmetric_toeplitz types ipv6-udp end key_len 0 queues end / end
29/10/2021 16:58:19 dut.10.240.183.156:
Flow rule validated
29/10/2021 16:58:19 dut.10.240.183.156: flow create 0 ingress pattern eth / ipv4 / gre / ipv6 / udp / end actions rss func symmetric_toeplitz types ipv6-udp end key_len 0 queues end / end
29/10/2021 16:58:19 dut.10.240.183.156:
Flow rule #0 created
29/10/2021 16:58:19 dut.10.240.183.156: flow list 0
29/10/2021 16:58:19 dut.10.240.183.156:
ID Group Prio Attr Rule
0 0 0 i-- ETH IPV4 GRE IPV6 UDP => RSS
29/10/2021 16:58:19 AdvancedIavfRSSTest: ----------send packet-------------
29/10/2021 16:58:19 AdvancedIavfRSSTest: Ether(dst="00:11:22:33:44:55")/IP()/GRE()/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2929",dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/UDP(sport=22,dport=23)/("X"*480)
29/10/2021 16:58:20 dut.10.240.183.156: port 0/queue 15: received 1 packets
src=00:00:00:00:00:00 - dst=00:11:22:33:44:55 - type=0x0800 - length=566 - nb_segs=1 - RSS hash=0xa02f7b0f - RSS queue=0xf - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN TUNNEL_GRENAT INNER_L3_IPV6_EXT_UNKNOWN INNER_L4_UDP - sw ptype: L2_ETHER L3_IPV4 TUNNEL_GRE INNER_L3_IPV6 INNER_L4_UDP - l2_len=14 - l3_len=20 - tunnel_len=4 - inner_l3_len=40 - inner_l4_len=8 - Receive queue=0xf
ol_flags: RTE_MBUF_F_RX_RSS_HASH RTE_MBUF_F_RX_L4_CKSUM_GOOD RTE_MBUF_F_RX_IP_CKSUM_GOOD RTE_MBUF_F_RX_OUTER_L4_CKSUM_UNKNOWN
29/10/2021 16:58:20 AdvancedIavfRSSTest: action: {'save_hash': 'ipv6'}
29/10/2021 16:58:20 AdvancedIavfRSSTest: hash_infos: [('0xa02f7b0f', '0xf')]
29/10/2021 16:58:20 AdvancedIavfRSSTest: ----------send packet-------------
29/10/2021 16:58:20 AdvancedIavfRSSTest: Ether(dst="00:11:22:33:44:55")/IP()/GRE()/IPv6(dst="ABAB:910B:6666:3457:8295:3333:1800:2929",src="CDCD:910A:2222:5498:8475:1111:3900:2020")/UDP(sport=22,dport=23)/("X"*480)
29/10/2021 16:58:22 dut.10.240.183.156: port 0/queue 15: received 1 packets
src=00:00:00:00:00:00 - dst=00:11:22:33:44:55 - type=0x0800 - length=566 - nb_segs=1 - RSS hash=0xa02f7b0f - RSS queue=0xf - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN TUNNEL_GRENAT INNER_L3_IPV6_EXT_UNKNOWN INNER_L4_UDP - sw ptype: L2_ETHER L3_IPV4 TUNNEL_GRE INNER_L3_IPV6 INNER_L4_UDP - l2_len=14 - l3_len=20 - tunnel_len=4 - inner_l3_len=40 - inner_l4_len=8 - Receive queue=0xf
ol_flags: RTE_MBUF_F_RX_RSS_HASH RTE_MBUF_F_RX_L4_CKSUM_GOOD RTE_MBUF_F_RX_IP_CKSUM_GOOD RTE_MBUF_F_RX_OUTER_L4_CKSUM_UNKNOWN
29/10/2021 16:58:22 AdvancedIavfRSSTest: action: {'check_hash_same': 'ipv6'}
29/10/2021 16:58:22 AdvancedIavfRSSTest: hash_infos: [('0xa02f7b0f', '0xf')]
29/10/2021 16:58:22 AdvancedIavfRSSTest: ----------send packet-------------
29/10/2021 16:58:22 AdvancedIavfRSSTest: Ether(dst="00:11:22:33:44:55")/IP()/GRE()/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2929",dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/UDP(sport=23,dport=22)/("X"*480)
29/10/2021 16:58:23 dut.10.240.183.156: port 0/queue 15: received 1 packets
src=00:00:00:00:00:00 - dst=00:11:22:33:44:55 - type=0x0800 - length=566 - nb_segs=1 - RSS hash=0xa02f7b0f - RSS queue=0xf - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN TUNNEL_GRENAT INNER_L3_IPV6_EXT_UNKNOWN INNER_L4_UDP - sw ptype: L2_ETHER L3_IPV4 TUNNEL_GRE INNER_L3_IPV6 INNER_L4_UDP - l2_len=14 - l3_len=20 - tunnel_len=4 - inner_l3_len=40 - inner_l4_len=8 - Receive queue=0xf
ol_flags: RTE_MBUF_F_RX_RSS_HASH RTE_MBUF_F_RX_L4_CKSUM_GOOD RTE_MBUF_F_RX_IP_CKSUM_GOOD RTE_MBUF_F_RX_OUTER_L4_CKSUM_UNKNOWN
29/10/2021 16:58:23 AdvancedIavfRSSTest: action: {'check_hash_same': 'ipv6'}
29/10/2021 16:58:23 AdvancedIavfRSSTest: hash_infos: [('0xa02f7b0f', '0xf')]
29/10/2021 16:58:23 AdvancedIavfRSSTest: ----------send packet-------------
29/10/2021 16:58:23 AdvancedIavfRSSTest: Ether(dst="00:11:22:33:44:55")/IP()/GRE()/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2929",dst="CDCD:910A:2222:5498:8475:1111:3900:2020", nh=17)/UDP(sport=22,dport=23)/("X"*480)
29/10/2021 16:58:24 dut.10.240.183.156: port 0/queue 15: received 1 packets
src=00:00:00:00:00:00 - dst=00:11:22:33:44:55 - type=0x0800 - length=566 - nb_segs=1 - RSS hash=0xa02f7b0f - RSS queue=0xf - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN TUNNEL_GRENAT INNER_L3_IPV6_EXT_UNKNOWN INNER_L4_UDP - sw ptype: L2_ETHER L3_IPV4 TUNNEL_GRE INNER_L3_IPV6 INNER_L4_UDP - l2_len=14 - l3_len=20 - tunnel_len=4 - inner_l3_len=40 - inner_l4_len=8 - Receive queue=0xf
ol_flags: RTE_MBUF_F_RX_RSS_HASH RTE_MBUF_F_RX_L4_CKSUM_GOOD RTE_MBUF_F_RX_IP_CKSUM_GOOD RTE_MBUF_F_RX_OUTER_L4_CKSUM_UNKNOWN
29/10/2021 16:58:24 AdvancedIavfRSSTest: action: {'save_hash': 'ipv6-nh'}
29/10/2021 16:58:24 AdvancedIavfRSSTest: hash_infos: [('0xa02f7b0f', '0xf')]
29/10/2021 16:58:24 AdvancedIavfRSSTest: ----------send packet-------------
29/10/2021 16:58:24 AdvancedIavfRSSTest: Ether(dst="00:11:22:33:44:55")/IP()/GRE()/IPv6(dst="ABAB:910B:6666:3457:8295:3333:1800:2929",src="CDCD:910A:2222:5498:8475:1111:3900:2020", nh=17)/UDP(sport=22,dport=23)/("X"*480)
29/10/2021 16:58:25 dut.10.240.183.156: port 0/queue 15: received 1 packets
src=00:00:00:00:00:00 - dst=00:11:22:33:44:55 - type=0x0800 - length=566 - nb_segs=1 - RSS hash=0xa02f7b0f - RSS queue=0xf - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN TUNNEL_GRENAT INNER_L3_IPV6_EXT_UNKNOWN INNER_L4_UDP - sw ptype: L2_ETHER L3_IPV4 TUNNEL_GRE INNER_L3_IPV6 INNER_L4_UDP - l2_len=14 - l3_len=20 - tunnel_len=4 - inner_l3_len=40 - inner_l4_len=8 - Receive queue=0xf
ol_flags: RTE_MBUF_F_RX_RSS_HASH RTE_MBUF_F_RX_L4_CKSUM_GOOD RTE_MBUF_F_RX_IP_CKSUM_GOOD RTE_MBUF_F_RX_OUTER_L4_CKSUM_UNKNOWN
29/10/2021 16:58:25 AdvancedIavfRSSTest: action: {'check_hash_same': 'ipv6-nh'}
29/10/2021 16:58:25 AdvancedIavfRSSTest: hash_infos: [('0xa02f7b0f', '0xf')]
29/10/2021 16:58:25 AdvancedIavfRSSTest: ----------send packet-------------
29/10/2021 16:58:25 AdvancedIavfRSSTest: Ether(dst="00:11:22:33:44:55")/IP()/GRE()/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2929",dst="CDCD:910A:2222:5498:8475:1111:3900:2020", nh=17)/UDP(sport=23,dport=22)/("X"*480)
29/10/2021 16:58:26 dut.10.240.183.156: port 0/queue 15: received 1 packets
src=00:00:00:00:00:00 - dst=00:11:22:33:44:55 - type=0x0800 - length=566 - nb_segs=1 - RSS hash=0xa02f7b0f - RSS queue=0xf - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN TUNNEL_GRENAT INNER_L3_IPV6_EXT_UNKNOWN INNER_L4_UDP - sw ptype: L2_ETHER L3_IPV4 TUNNEL_GRE INNER_L3_IPV6 INNER_L4_UDP - l2_len=14 - l3_len=20 - tunnel_len=4 - inner_l3_len=40 - inner_l4_len=8 - Receive queue=0xf
ol_flags: RTE_MBUF_F_RX_RSS_HASH RTE_MBUF_F_RX_L4_CKSUM_GOOD RTE_MBUF_F_RX_IP_CKSUM_GOOD RTE_MBUF_F_RX_OUTER_L4_CKSUM_UNKNOWN
29/10/2021 16:58:26 AdvancedIavfRSSTest: action: {'check_hash_same': 'ipv6-nh'}
29/10/2021 16:58:26 AdvancedIavfRSSTest: hash_infos: [('0xa02f7b0f', '0xf')]
29/10/2021 16:58:26 AdvancedIavfRSSTest: sub_case mac_ipv4_gre_ipv6_udp_symmetric passed
29/10/2021 16:58:26 dut.10.240.183.156: flow flush 0
29/10/2021 16:58:26 dut.10.240.183.156:
29/10/2021 16:58:26 AdvancedIavfRSSTest: {'mac_ipv4_gre_ipv6_udp_symmetric': {'result': 'passed'}}
29/10/2021 16:58:26 AdvancedIavfRSSTest: pass rate is: 100.0
29/10/2021 16:58:26 AdvancedIavfRSSTest: Test Case test_symmetric_mac_ipv4_gre_ipv6_udp Result PASSED:
29/10/2021 16:58:26 dut.10.240.183.156: flow flush 0
29/10/2021 16:58:27 dut.10.240.183.156:
testpmd>
29/10/2021 16:58:27 dut.10.240.183.156: clear port stats all
29/10/2021 16:58:28 dut.10.240.183.156:
NIC statistics for port 0 cleared
testpmd>
29/10/2021 16:58:28 dut.10.240.183.156: stop
29/10/2021 16:58:28 dut.10.240.183.156:
Telling cores to ...
Waiting for lcores to finish...
------- Forward Stats for RX Port= 0/Queue=15 -> TX Port= 0/Queue=15 -------
RX-packets: 6 TX-packets: 0 TX-dropped: 0
---------------------- Forward statistics for port 0 ----------------------
RX-packets: 0 RX-dropped: 0 RX-total: 0
TX-packets: 0 TX-dropped: 0 TX-total: 0
----------------------------------------------------------------------------
+++++++++++++++ Accumulated forward statistics for all ports+++++++++++++++
RX-packets: 0 RX-dropped: 0 RX-total: 0
TX-packets: 0 TX-dropped: 0 TX-total: 0
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Done.
29/10/2021 16:58:28 dut.10.240.183.156: quit
29/10/2021 16:58:29 dut.10.240.183.156:
Stopping port 0...
Stopping ports...
Done
Shutting down port 0...
Closing ports...
no JSON library
no JSON library
no JSON library
no JSON library
no JSON library
no JSON library
no JSON library
no JSON library
Port 0 is closed
Done
Bye...
29/10/2021 16:58:29 AdvancedIavfRSSTest: Test Case test_symmetric_mac_ipv6_gre_ipv6_udp Begin
29/10/2021 16:58:29 dut.10.240.183.156:
29/10/2021 16:58:30 tester:
29/10/2021 16:58:30 dut.10.240.183.156: x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 28,29,30,31 -n 4 -a 0000:af:01.0 --file-prefix=dpdk_1320_20211029165732 -- -i --rxq=16 --txq=16
29/10/2021 16:58:31 dut.10.240.183.156: EAL: Detected CPU lcores: 112
EAL: Detected NUMA nodes: 2
EAL: Detected static linkage of DPDK
EAL: Multi-process socket /var/run/dpdk/dpdk_1320_20211029165732/mp_socket
EAL: Selected IOVA mode 'VA'
EAL: 1024 hugepages of size 2097152 reserved, but no mounted hugetlbfs found for that size
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)
TELEMETRY: No legacy callbacks, legacy socket not created
Interactive-mode selected
testpmd: create a new mbuf pool <mb_pool_1>: n=171456, 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
29/10/2021 16:58:41 dut.10.240.183.156: port config all rss all
29/10/2021 16:58:41 dut.10.240.183.156:
Port 0 modified RSS hash function based on hardware support,requested:0x17f83fffc configured:0x3ffc
rss_hf 0x17f83fffc
29/10/2021 16:58:41 dut.10.240.183.156: set fwd rxonly
29/10/2021 16:58:41 dut.10.240.183.156:
Set rxonly packet forwarding mode
29/10/2021 16:58:41 dut.10.240.183.156: set verbose 1
29/10/2021 16:58:41 dut.10.240.183.156:
Change verbose level from 0 to 1
29/10/2021 16:58:41 dut.10.240.183.156: show port info all
29/10/2021 16:58:41 dut.10.240.183.156:
********************* 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: 100 Gbps
Link duplex: full-duplex
Autoneg status: On
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
Device capabilities: 0x0( )
29/10/2021 16:58:41 AdvancedIavfRSSTest: rssprocess.tester_ifaces: ['ens4', 'ens7']
29/10/2021 16:58:41 AdvancedIavfRSSTest: rssprocess.test_case: <tests.TestSuite_cvl_advanced_iavf_rss.AdvancedIavfRSSTest object at 0x7f541b505cc0>
29/10/2021 16:58:41 dut.10.240.183.156: start
29/10/2021 16:58:41 dut.10.240.183.156:
rxonly packet forwarding - ports=1 - cores=1 - streams=16 - NUMA support enabled, MP allocation mode: native
Logical Core 29 (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=0x80000 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
29/10/2021 16:58:41 AdvancedIavfRSSTest: ===================Test sub case: mac_ipv6_gre_ipv6_udp_symmetric================
29/10/2021 16:58:41 AdvancedIavfRSSTest: ------------handle test--------------
29/10/2021 16:58:41 dut.10.240.183.156: flow validate 0 ingress pattern eth / ipv6 / gre / ipv6 / udp / end actions rss func symmetric_toeplitz types ipv6-udp end key_len 0 queues end / end
29/10/2021 16:58:41 dut.10.240.183.156:
Flow rule validated
29/10/2021 16:58:41 dut.10.240.183.156: flow create 0 ingress pattern eth / ipv6 / gre / ipv6 / udp / end actions rss func symmetric_toeplitz types ipv6-udp end key_len 0 queues end / end
29/10/2021 16:58:41 dut.10.240.183.156:
Flow rule #0 created
29/10/2021 16:58:41 dut.10.240.183.156: flow list 0
29/10/2021 16:58:41 dut.10.240.183.156:
ID Group Prio Attr Rule
0 0 0 i-- ETH IPV6 GRE IPV6 UDP => RSS
29/10/2021 16:58:41 AdvancedIavfRSSTest: ----------send packet-------------
29/10/2021 16:58:41 AdvancedIavfRSSTest: Ether(dst="00:11:22:33:44:55")/IPv6()/GRE()/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2929",dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/UDP(sport=22,dport=23)/("X"*480)
29/10/2021 16:58:42 dut.10.240.183.156: port 0/queue 1: received 1 packets
src=00:00:00:00:00:00 - dst=00:11:22:33:44:55 - type=0x86dd - length=586 - nb_segs=1 - RSS hash=0xbb449a61 - RSS queue=0x1 - hw ptype: L2_ETHER L3_IPV6_EXT_UNKNOWN TUNNEL_GRENAT INNER_L3_IPV6_EXT_UNKNOWN INNER_L4_UDP - sw ptype: L2_ETHER L3_IPV6 TUNNEL_GRE INNER_L3_IPV6 INNER_L4_UDP - l2_len=14 - l3_len=40 - tunnel_len=4 - inner_l3_len=40 - inner_l4_len=8 - Receive queue=0x1
ol_flags: RTE_MBUF_F_RX_RSS_HASH RTE_MBUF_F_RX_L4_CKSUM_GOOD RTE_MBUF_F_RX_IP_CKSUM_GOOD RTE_MBUF_F_RX_OUTER_L4_CKSUM_UNKNOWN
29/10/2021 16:58:42 AdvancedIavfRSSTest: action: {'save_hash': 'ipv6'}
29/10/2021 16:58:42 AdvancedIavfRSSTest: hash_infos: [('0xbb449a61', '0x1')]
29/10/2021 16:58:42 AdvancedIavfRSSTest: ----------send packet-------------
29/10/2021 16:58:42 AdvancedIavfRSSTest: Ether(dst="00:11:22:33:44:55")/IPv6()/GRE()/IPv6(dst="ABAB:910B:6666:3457:8295:3333:1800:2929",src="CDCD:910A:2222:5498:8475:1111:3900:2020")/UDP(sport=22,dport=23)/("X"*480)
29/10/2021 16:58:44 dut.10.240.183.156: port 0/queue 1: received 1 packets
src=00:00:00:00:00:00 - dst=00:11:22:33:44:55 - type=0x86dd - length=586 - nb_segs=1 - RSS hash=0xbb449a61 - RSS queue=0x1 - hw ptype: L2_ETHER L3_IPV6_EXT_UNKNOWN TUNNEL_GRENAT INNER_L3_IPV6_EXT_UNKNOWN INNER_L4_UDP - sw ptype: L2_ETHER L3_IPV6 TUNNEL_GRE INNER_L3_IPV6 INNER_L4_UDP - l2_len=14 - l3_len=40 - tunnel_len=4 - inner_l3_len=40 - inner_l4_len=8 - Receive queue=0x1
ol_flags: RTE_MBUF_F_RX_RSS_HASH RTE_MBUF_F_RX_L4_CKSUM_GOOD RTE_MBUF_F_RX_IP_CKSUM_GOOD RTE_MBUF_F_RX_OUTER_L4_CKSUM_UNKNOWN
29/10/2021 16:58:44 AdvancedIavfRSSTest: action: {'check_hash_same': 'ipv6'}
29/10/2021 16:58:44 AdvancedIavfRSSTest: hash_infos: [('0xbb449a61', '0x1')]
29/10/2021 16:58:44 AdvancedIavfRSSTest: ----------send packet-------------
29/10/2021 16:58:44 AdvancedIavfRSSTest: Ether(dst="00:11:22:33:44:55")/IPv6()/GRE()/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2929",dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/UDP(sport=23,dport=22)/("X"*480)
29/10/2021 16:58:45 dut.10.240.183.156: port 0/queue 1: received 1 packets
src=00:00:00:00:00:00 - dst=00:11:22:33:44:55 - type=0x86dd - length=586 - nb_segs=1 - RSS hash=0xbb449a61 - RSS queue=0x1 - hw ptype: L2_ETHER L3_IPV6_EXT_UNKNOWN TUNNEL_GRENAT INNER_L3_IPV6_EXT_UNKNOWN INNER_L4_UDP - sw ptype: L2_ETHER L3_IPV6 TUNNEL_GRE INNER_L3_IPV6 INNER_L4_UDP - l2_len=14 - l3_len=40 - tunnel_len=4 - inner_l3_len=40 - inner_l4_len=8 - Receive queue=0x1
ol_flags: RTE_MBUF_F_RX_RSS_HASH RTE_MBUF_F_RX_L4_CKSUM_GOOD RTE_MBUF_F_RX_IP_CKSUM_GOOD RTE_MBUF_F_RX_OUTER_L4_CKSUM_UNKNOWN
29/10/2021 16:58:45 AdvancedIavfRSSTest: action: {'check_hash_same': 'ipv6'}
29/10/2021 16:58:45 AdvancedIavfRSSTest: hash_infos: [('0xbb449a61', '0x1')]
29/10/2021 16:58:45 AdvancedIavfRSSTest: ----------send packet-------------
29/10/2021 16:58:45 AdvancedIavfRSSTest: Ether(dst="00:11:22:33:44:55")/IPv6()/GRE()/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2929",dst="CDCD:910A:2222:5498:8475:1111:3900:2020", nh=17)/UDP(sport=22,dport=23)/("X"*480)
29/10/2021 16:58:46 dut.10.240.183.156: port 0/queue 1: received 1 packets
src=00:00:00:00:00:00 - dst=00:11:22:33:44:55 - type=0x86dd - length=586 - nb_segs=1 - RSS hash=0xbb449a61 - RSS queue=0x1 - hw ptype: L2_ETHER L3_IPV6_EXT_UNKNOWN TUNNEL_GRENAT INNER_L3_IPV6_EXT_UNKNOWN INNER_L4_UDP - sw ptype: L2_ETHER L3_IPV6 TUNNEL_GRE INNER_L3_IPV6 INNER_L4_UDP - l2_len=14 - l3_len=40 - tunnel_len=4 - inner_l3_len=40 - inner_l4_len=8 - Receive queue=0x1
ol_flags: RTE_MBUF_F_RX_RSS_HASH RTE_MBUF_F_RX_L4_CKSUM_GOOD RTE_MBUF_F_RX_IP_CKSUM_GOOD RTE_MBUF_F_RX_OUTER_L4_CKSUM_UNKNOWN
29/10/2021 16:58:46 AdvancedIavfRSSTest: action: {'save_hash': 'ipv6-nh'}
29/10/2021 16:58:46 AdvancedIavfRSSTest: hash_infos: [('0xbb449a61', '0x1')]
29/10/2021 16:58:46 AdvancedIavfRSSTest: ----------send packet-------------
29/10/2021 16:58:46 AdvancedIavfRSSTest: Ether(dst="00:11:22:33:44:55")/IPv6()/GRE()/IPv6(dst="ABAB:910B:6666:3457:8295:3333:1800:2929",src="CDCD:910A:2222:5498:8475:1111:3900:2020", nh=17)/UDP(sport=22,dport=23)/("X"*480)
29/10/2021 16:58:47 dut.10.240.183.156: port 0/queue 1: received 1 packets
src=00:00:00:00:00:00 - dst=00:11:22:33:44:55 - type=0x86dd - length=586 - nb_segs=1 - RSS hash=0xbb449a61 - RSS queue=0x1 - hw ptype: L2_ETHER L3_IPV6_EXT_UNKNOWN TUNNEL_GRENAT INNER_L3_IPV6_EXT_UNKNOWN INNER_L4_UDP - sw ptype: L2_ETHER L3_IPV6 TUNNEL_GRE INNER_L3_IPV6 INNER_L4_UDP - l2_len=14 - l3_len=40 - tunnel_len=4 - inner_l3_len=40 - inner_l4_len=8 - Receive queue=0x1
ol_flags: RTE_MBUF_F_RX_RSS_HASH RTE_MBUF_F_RX_L4_CKSUM_GOOD RTE_MBUF_F_RX_IP_CKSUM_GOOD RTE_MBUF_F_RX_OUTER_L4_CKSUM_UNKNOWN
29/10/2021 16:58:47 AdvancedIavfRSSTest: action: {'check_hash_same': 'ipv6-nh'}
29/10/2021 16:58:47 AdvancedIavfRSSTest: hash_infos: [('0xbb449a61', '0x1')]
29/10/2021 16:58:47 AdvancedIavfRSSTest: ----------send packet-------------
29/10/2021 16:58:47 AdvancedIavfRSSTest: Ether(dst="00:11:22:33:44:55")/IPv6()/GRE()/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2929",dst="CDCD:910A:2222:5498:8475:1111:3900:2020", nh=17)/UDP(sport=23,dport=22)/("X"*480)
29/10/2021 16:58:48 dut.10.240.183.156: port 0/queue 1: received 1 packets
src=00:00:00:00:00:00 - dst=00:11:22:33:44:55 - type=0x86dd - length=586 - nb_segs=1 - RSS hash=0xbb449a61 - RSS queue=0x1 - hw ptype: L2_ETHER L3_IPV6_EXT_UNKNOWN TUNNEL_GRENAT INNER_L3_IPV6_EXT_UNKNOWN INNER_L4_UDP - sw ptype: L2_ETHER L3_IPV6 TUNNEL_GRE INNER_L3_IPV6 INNER_L4_UDP - l2_len=14 - l3_len=40 - tunnel_len=4 - inner_l3_len=40 - inner_l4_len=8 - Receive queue=0x1
ol_flags: RTE_MBUF_F_RX_RSS_HASH RTE_MBUF_F_RX_L4_CKSUM_GOOD RTE_MBUF_F_RX_IP_CKSUM_GOOD RTE_MBUF_F_RX_OUTER_L4_CKSUM_UNKNOWN
29/10/2021 16:58:48 AdvancedIavfRSSTest: action: {'check_hash_same': 'ipv6-nh'}
29/10/2021 16:58:48 AdvancedIavfRSSTest: hash_infos: [('0xbb449a61', '0x1')]
29/10/2021 16:58:48 AdvancedIavfRSSTest: sub_case mac_ipv6_gre_ipv6_udp_symmetric passed
29/10/2021 16:58:48 dut.10.240.183.156: flow flush 0
29/10/2021 16:58:48 dut.10.240.183.156:
29/10/2021 16:58:48 AdvancedIavfRSSTest: {'mac_ipv6_gre_ipv6_udp_symmetric': {'result': 'passed'}}
29/10/2021 16:58:48 AdvancedIavfRSSTest: pass rate is: 100.0
29/10/2021 16:58:48 AdvancedIavfRSSTest: Test Case test_symmetric_mac_ipv6_gre_ipv6_udp Result PASSED:
29/10/2021 16:58:48 dut.10.240.183.156: flow flush 0
29/10/2021 16:58:49 dut.10.240.183.156:
testpmd>
29/10/2021 16:58:49 dut.10.240.183.156: clear port stats all
29/10/2021 16:58:50 dut.10.240.183.156:
NIC statistics for port 0 cleared
testpmd>
29/10/2021 16:58:50 dut.10.240.183.156: stop
29/10/2021 16:58:50 dut.10.240.183.156:
Telling cores to ...
Waiting for lcores to finish...
------- Forward Stats for RX Port= 0/Queue= 1 -> TX Port= 0/Queue= 1 -------
RX-packets: 6 TX-packets: 0 TX-dropped: 0
---------------------- Forward statistics for port 0 ----------------------
RX-packets: 0 RX-dropped: 0 RX-total: 0
TX-packets: 0 TX-dropped: 0 TX-total: 0
----------------------------------------------------------------------------
+++++++++++++++ Accumulated forward statistics for all ports+++++++++++++++
RX-packets: 0 RX-dropped: 0 RX-total: 0
TX-packets: 0 TX-dropped: 0 TX-total: 0
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Done.
29/10/2021 16:58:50 dut.10.240.183.156: quit
29/10/2021 16:58:51 dut.10.240.183.156:
Stopping port 0...
Stopping ports...
Done
Shutting down port 0...
Closing ports...
no JSON library
no JSON library
no JSON library
no JSON library
no JSON library
no JSON library
no JSON library
no JSON library
Port 0 is closed
Done
Bye...
29/10/2021 16:58:51 dts:
TEST SUITE ENDED: AdvancedIavfRSSTest
next prev parent reply other threads:[~2021-10-29 8:55 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-10-29 16:46 [dts] [PATCH V1 0/2] replace 'proto' with 'nh' Qin Sun
2021-10-29 16:46 ` [dts] [PATCH V1 1/2] tests/cvl_advanced_iavf_rss: modify next header as 17 Qin Sun
2021-10-29 8:55 ` Sun, QinX [this message]
2021-10-29 16:46 ` [dts] [PATCH V1 2/2] test_plans/cvl_advanced_iavf_rss: corrects case name Qin Sun
2021-11-05 13:34 ` Tu, Lijuan
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=SJ0PR11MB486393DF8F9CDD849994231B87879@SJ0PR11MB4863.namprd11.prod.outlook.com \
--to=qinx.sun@intel.com \
--cc=dts@dpdk.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).