test suite reviews and discussions
 help / color / mirror / Atom feed
From: "Li, WeiyuanX" <weiyuanx.li@intel.com>
To: "dts@dpdk.org" <dts@dpdk.org>, "Peng, Yuan" <yuan.peng@intel.com>
Subject: RE: [dts][PATCH V1] tests/cvl_advanced_iavf_rss_pppol2tpoudp:modify dts code to support scapy 2.4.4 version.
Date: Thu, 13 Jan 2022 06:22:14 +0000	[thread overview]
Message-ID: <MWHPR11MB12787410B2C5CA20DBD51629E4539@MWHPR11MB1278.namprd11.prod.outlook.com> (raw)
In-Reply-To: <20220113055739.2050612-1-weiyuanx.li@intel.com>

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

-----Original Message-----
From: Li, WeiyuanX <weiyuanx.li@intel.com> 
Sent: Thursday, January 13, 2022 1:58 PM
To: dts@dpdk.org; Peng, Yuan <yuan.peng@intel.com>
Cc: Li, WeiyuanX <weiyuanx.li@intel.com>
Subject: [dts][PATCH V1] tests/cvl_advanced_iavf_rss_pppol2tpoudp:modify dts code to support scapy 2.4.4 version.

Tested-by: Weiyuan Li <weiyuanx.li@intel.com>

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

13/01/2022 22:45:02                            dts: 
TEST SUITE : TestCVLAdvancedIAVFRSSPPPoL2TPv2oUDP
13/01/2022 22:45:02                            dts: NIC :        columbiaville_25g
13/01/2022 22:45:03              dut.10.239.251.41: 
13/01/2022 22:45:03                         tester: 
13/01/2022 22:45:07              dut.10.239.251.41: cat /sys/bus/pci/devices/0000\:af\:01.0/vendor
13/01/2022 22:45:07              dut.10.239.251.41: 0x8086
13/01/2022 22:45:07              dut.10.239.251.41: cat /sys/bus/pci/devices/0000\:af\:01.0/device
13/01/2022 22:45:07              dut.10.239.251.41: 0x1889
13/01/2022 22:45:08              dut.10.239.251.41: ip link set ens802f0 vf 0 mac 00:11:22:33:44:55
13/01/2022 22:45:08              dut.10.239.251.41: 
13/01/2022 22:45:09              dut.10.239.251.41: x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 32,33,34,35 -n 4  --file-prefix=dpdk_2686_20220113224428  -a 0000:af:01.0 -- -i --disable-rss --rxq=16 --txq=16 --rxd=384 --txd=384
13/01/2022 22:45:10              dut.10.239.251.41: EAL: Detected CPU lcores: 72
EAL: Detected NUMA nodes: 2
EAL: Detected static linkage of DPDK
EAL: Multi-process socket /var/run/dpdk/dpdk_2686_20220113224428/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)
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
13/01/2022 22:45:20              dut.10.239.251.41: set fwd rxonly
13/01/2022 22:45:20              dut.10.239.251.41: 
Set rxonly packet forwarding mode
13/01/2022 22:45:20              dut.10.239.251.41: set verbose 1
13/01/2022 22:45:20              dut.10.239.251.41: 
Change verbose level from 0 to 1
13/01/2022 22:45:20              dut.10.239.251.41: show port info all
13/01/2022 22:45:20              dut.10.239.251.41: 

********************* 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
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( )
13/01/2022 22:45:20 TestCVLAdvancedIAVFRSSPPPoL2TPv2oUDP: rssprocess.tester_ifaces: ['ens7', 'ens9']
13/01/2022 22:45:20 TestCVLAdvancedIAVFRSSPPPoL2TPv2oUDP: rssprocess.test_case: <tests.TestSuite_cvl_advanced_iavf_rss_pppol2tpoudp.TestCVLAdvancedIAVFRSSPPPoL2TPv2oUDP object at 0x7f4736bdbcf8>
13/01/2022 22:45:20 TestCVLAdvancedIAVFRSSPPPoL2TPv2oUDP: Test Case test_case_eth_ipv6_udp_l2tpv2_ppp_ipv4_ipv4_MAC_IPV6_PPPoL2TPV2_IPV4_PAY Begin
13/01/2022 22:45:20              dut.10.239.251.41:  
13/01/2022 22:45:20                         tester: 
13/01/2022 22:45:20              dut.10.239.251.41: start
13/01/2022 22:45:20              dut.10.239.251.41: 
rxonly packet forwarding - ports=1 - cores=1 - streams=16 - NUMA support enabled, MP allocation mode: native
Logical Core 33 (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=384 - RX free threshold=32
      RX threshold registers: pthresh=0 hthresh=0  wthresh=0
      RX Offloads=0x0
    TX queue: 0
      TX desc=384 - TX free threshold=32
      TX threshold registers: pthresh=0 hthresh=0  wthresh=0
      TX offloads=0x10000 - TX RS bit threshold=32
13/01/2022 22:45:20 TestCVLAdvancedIAVFRSSPPPoL2TPv2oUDP: ===================Test sub case: eth_ipv6_udp_l2tpv2_ppp_ipv4_ipv4_MAC_IPV6_PPPoL2TPV2_IPV4_PAY================
13/01/2022 22:45:20 TestCVLAdvancedIAVFRSSPPPoL2TPv2oUDP: ------------handle test--------------
13/01/2022 22:45:20              dut.10.239.251.41: flow validate 0 ingress pattern eth / ipv6 / udp / l2tpv2 / ppp / ipv4 / end actions rss types ipv4 end key_len 0 queues end / end
13/01/2022 22:45:20              dut.10.239.251.41: 
Flow rule validated
13/01/2022 22:45:20              dut.10.239.251.41: flow create 0 ingress pattern eth / ipv6 / udp / l2tpv2 / ppp / ipv4 / end actions rss types ipv4 end key_len 0 queues end / end
13/01/2022 22:45:20              dut.10.239.251.41: 
Flow rule #0 created
13/01/2022 22:45:20              dut.10.239.251.41: flow list 0
13/01/2022 22:45:20              dut.10.239.251.41: 
ID	Group	Prio	Attr	Rule
0	0	0	i--	ETH IPV6 UDP L2TPV2 PPP IPV4 => RSS
13/01/2022 22:45:20 TestCVLAdvancedIAVFRSSPPPoL2TPv2oUDP: ----------send packet-------------
13/01/2022 22:45:20 TestCVLAdvancedIAVFRSSPPPoL2TPv2oUDP: Ether(src='00:11:22:33:44:77', dst='00:11:22:33:44:55')/IPv6(src='2001::1', dst='2001::2')/UDP(dport=1701, sport=1702)/L2TP(session_id=0x7)/HDLC(address=0xff, control=0x03)/Raw(b'\x00!')/IP(src='192.168.1.100', dst='192.168.1.200')/Raw('x' * 80)
13/01/2022 22:45:22              dut.10.239.251.41:  port 0/queue 4: received 1 packets
  src=00:11:22:33:44:77 - dst=00:11:22:33:44:55 - type=0x86dd - length=172 - nb_segs=1 - RSS hash=0x197fa0c4 - RSS queue=0x4 - sw ptype: L2_ETHER L3_IPV6 L4_UDP  - l2_len=14 - l3_len=40 - l4_len=8 - Receive queue=0x4
  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 

13/01/2022 22:45:22 TestCVLAdvancedIAVFRSSPPPoL2TPv2oUDP: action: save_hash

13/01/2022 22:45:22 TestCVLAdvancedIAVFRSSPPPoL2TPv2oUDP: hash_infos: [('0x197fa0c4', '0x4')]
13/01/2022 22:45:22 TestCVLAdvancedIAVFRSSPPPoL2TPv2oUDP: ----------send packet-------------
13/01/2022 22:45:22 TestCVLAdvancedIAVFRSSPPPoL2TPv2oUDP: ["Ether(src='00:11:22:33:44:77', dst='00:11:22:33:44:55')/IPv6(src='2001::1', dst='2001::2')/UDP(dport=1701, sport=1702)/L2TP(session_id=0x7)/HDLC(address=0xff, control=0x03)/Raw(b'\\x00!')/IP(src='192.168.1.101', dst='192.168.1.200')/Raw('x' * 80)", "Ether(src='00:11:22:33:44:77', dst='00:11:22:33:44:55')/IPv6(src='2001::1', dst='2001::2')/UDP(dport=1701, sport=1702)/L2TP(session_id=0x7)/HDLC(address=0xff, control=0x03)/Raw(b'\\x00!')/IP(src='192.168.1.100', dst='192.168.1.201')/Raw('x' * 80)"]
13/01/2022 22:45:23              dut.10.239.251.41: port 0/queue 5: received 1 packets
  src=00:11:22:33:44:77 - dst=00:11:22:33:44:55 - type=0x86dd - length=172 - nb_segs=1 - RSS hash=0x2972d255 - RSS queue=0x5 - sw ptype: L2_ETHER L3_IPV6 L4_UDP  - l2_len=14 - l3_len=40 - l4_len=8 - Receive queue=0x5
  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 
port 0/queue 4: received 1 packets
  src=00:11:22:33:44:77 - dst=00:11:22:33:44:55 - type=0x86dd - length=172 - nb_segs=1 - RSS hash=0xd24ebd94 - RSS queue=0x4 - sw ptype: L2_ETHER L3_IPV6 L4_UDP  - l2_len=14 - l3_len=40 - l4_len=8 - Receive queue=0x4
  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 

13/01/2022 22:45:23 TestCVLAdvancedIAVFRSSPPPoL2TPv2oUDP: action: check_hash_different

13/01/2022 22:45:23 TestCVLAdvancedIAVFRSSPPPoL2TPv2oUDP: hash_infos: [('0x2972d255', '0x5'), ('0xd24ebd94', '0x4')]
13/01/2022 22:45:23 TestCVLAdvancedIAVFRSSPPPoL2TPv2oUDP: ----------send packet-------------
13/01/2022 22:45:23 TestCVLAdvancedIAVFRSSPPPoL2TPv2oUDP: Ether(src='00:11:22:33:44:66', dst='00:11:22:33:44:55')/IPv6(src='2001::3', dst='2001::4')/UDP(dport=1701, sport=1702)/L2TP(session_id=0x7)/HDLC(address=0xff, control=0x03)/Raw(b'\x00!')/IP(src='192.168.1.100', dst='192.168.1.200')/Raw('x' * 80)
13/01/2022 22:45:24              dut.10.239.251.41: port 0/queue 4: received 1 packets
  src=00:11:22:33:44:66 - dst=00:11:22:33:44:55 - type=0x86dd - length=172 - nb_segs=1 - RSS hash=0x197fa0c4 - RSS queue=0x4 - sw ptype: L2_ETHER L3_IPV6 L4_UDP  - l2_len=14 - l3_len=40 - l4_len=8 - Receive queue=0x4
  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 

13/01/2022 22:45:24 TestCVLAdvancedIAVFRSSPPPoL2TPv2oUDP: action: check_hash_same

13/01/2022 22:45:24 TestCVLAdvancedIAVFRSSPPPoL2TPv2oUDP: hash_infos: [('0x197fa0c4', '0x4')]
13/01/2022 22:45:24 TestCVLAdvancedIAVFRSSPPPoL2TPv2oUDP: ----------send packet-------------
13/01/2022 22:45:24 TestCVLAdvancedIAVFRSSPPPoL2TPv2oUDP: Ether(src='00:11:22:33:44:77', dst='00:11:22:33:44:55')/IP(src='100.0.0.1', dst='100.0.0.2')/UDP(dport=1701, sport=1702)/L2TP(session_id=0x7)/HDLC(address=0xff, control=0x03)/Raw(b'\x00!')/IP(src='192.168.1.100', dst='192.168.1.200')/Raw('x' * 80)
13/01/2022 22:45:25              dut.10.239.251.41: port 0/queue 0: received 1 packets
  src=00:11:22:33:44:77 - dst=00:11:22:33:44:55 - type=0x0800 - length=152 - nb_segs=1 - sw ptype: L2_ETHER L3_IPV4 L4_UDP  - l2_len=14 - l3_len=20 - l4_len=8 - Receive queue=0x0
  ol_flags: RTE_MBUF_F_RX_L4_CKSUM_GOOD RTE_MBUF_F_RX_IP_CKSUM_GOOD RTE_MBUF_F_RX_OUTER_L4_CKSUM_UNKNOWN 

13/01/2022 22:45:25 TestCVLAdvancedIAVFRSSPPPoL2TPv2oUDP: action: check_no_hash

13/01/2022 22:45:25 TestCVLAdvancedIAVFRSSPPPoL2TPv2oUDP: hash_infos: []
13/01/2022 22:45:25 TestCVLAdvancedIAVFRSSPPPoL2TPv2oUDP: sub_case eth_ipv6_udp_l2tpv2_ppp_ipv4_ipv4_MAC_IPV6_PPPoL2TPV2_IPV4_PAY passed
13/01/2022 22:45:25              dut.10.239.251.41: flow flush 0
13/01/2022 22:45:25              dut.10.239.251.41: 
13/01/2022 22:45:25 TestCVLAdvancedIAVFRSSPPPoL2TPv2oUDP: {'eth_ipv6_udp_l2tpv2_ppp_ipv4_ipv4_MAC_IPV6_PPPoL2TPV2_IPV4_PAY': {'result': 'passed'}}
13/01/2022 22:45:25 TestCVLAdvancedIAVFRSSPPPoL2TPv2oUDP: pass rate is: 100.0
13/01/2022 22:45:25 TestCVLAdvancedIAVFRSSPPPoL2TPv2oUDP: Test Case test_case_eth_ipv6_udp_l2tpv2_ppp_ipv4_ipv4_MAC_IPV6_PPPoL2TPV2_IPV4_PAY Result PASSED:
13/01/2022 22:45:25              dut.10.239.251.41: flow flush 0
13/01/2022 22:45:26              dut.10.239.251.41: 
testpmd> 
13/01/2022 22:45:26              dut.10.239.251.41: clear port stats all
13/01/2022 22:45:27              dut.10.239.251.41: 

  NIC statistics for port 0 cleared
testpmd> 
13/01/2022 22:45:27              dut.10.239.251.41: stop
13/01/2022 22:45:27              dut.10.239.251.41: 
Telling cores to ...
Waiting for lcores to finish...

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

  ------- Forward Stats for RX Port= 0/Queue= 4 -> TX Port= 0/Queue= 4 -------
  RX-packets: 3              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 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.
13/01/2022 22:45:27                            dts: 
TEST SUITE ENDED: TestCVLAdvancedIAVFRSSPPPoL2TPv2oUDP

  reply	other threads:[~2022-01-13  6:22 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-01-13  5:57 Weiyuan Li
2022-01-13  6:22 ` Li, WeiyuanX [this message]
2022-01-14  3:45 ` Peng, Yuan

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=MWHPR11MB12787410B2C5CA20DBD51629E4539@MWHPR11MB1278.namprd11.prod.outlook.com \
    --to=weiyuanx.li@intel.com \
    --cc=dts@dpdk.org \
    --cc=yuan.peng@intel.com \
    /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).