* Re: [dts] [PATCH V1] tests/vlan:Increase the default timeout time in the send_pkt method.
2019-10-24 1:18 [dts] [PATCH V1] tests/vlan:Increase the default timeout time in the send_pkt method zhu,shuai
@ 2019-10-24 1:15 ` Yao, BingX Y
2019-11-04 2:45 ` Tu, Lijuan
1 sibling, 0 replies; 3+ messages in thread
From: Yao, BingX Y @ 2019-10-24 1:15 UTC (permalink / raw)
To: Zhu, ShuaiX, dts; +Cc: Zhu, ShuaiX
[-- Attachment #1: Type: text/plain, Size: 1021 bytes --]
Tested-by: Yao, BingX Y <bingx.y.yao@intel.com>
-----Original Message-----
From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of zhu,shuai
Sent: Thursday, October 24, 2019 9:18 AM
To: dts@dpdk.org
Cc: Zhu, ShuaiX <shuaix.zhu@intel.com>
Subject: [dts] [PATCH V1] tests/vlan:Increase the default timeout time in the send_pkt method.
Signed-off-by: zhu,shuai <shuaix.zhu@intel.com>
---
tests/TestSuite_vlan.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/TestSuite_vlan.py b/tests/TestSuite_vlan.py index 77c33d0..0ade7f0 100644
--- a/tests/TestSuite_vlan.py
+++ b/tests/TestSuite_vlan.py
@@ -116,7 +116,7 @@ class TestVlan(TestCase):
pkt.config_layer('ether', {'dst': self.dmac, 'src': self.smac})
pkt.config_layer('vlan', {'vlan': vid})
- pkt.send_pkt(self.tester, tx_port=self.txItf, count=4)
+ pkt.send_pkt(self.tester, tx_port=self.txItf, count=4,
+ timeout=30)
def set_up(self):
"""
--
2.17.2
[-- Attachment #2: TestVlan.log --]
[-- Type: application/octet-stream, Size: 31648 bytes --]
23/10/2019 11:40:01 dts:
TEST SUITE : TestVlan
23/10/2019 11:40:01 dts: NIC : fortville_spirit
23/10/2019 11:40:01 dut.10.240.176.141:
23/10/2019 11:40:01 tester:
23/10/2019 11:40:01 dut.10.240.176.141: ./x86_64-native-linuxapp-gcc/app/testpmd -l 1,2 -n 4 -w 0000:82:00.0 -w 0000:82:00.1 --file-prefix=dpdk_5157_20191023105646 -- -i --portmask=0x1 --port-topology=loop
23/10/2019 11:40:12 dut.10.240.176.141: EAL: Detected 88 lcore(s)
EAL: Detected 2 NUMA nodes
EAL: Multi-process socket /var/run/dpdk/dpdk_5157_20191023105646/mp_socket
EAL: Selected IOVA mode 'PA'
EAL: 1024 hugepages of size 2097152 reserved, but no mounted hugetlbfs found for that size
EAL: Probing VFIO support...
EAL: PCI device 0000:82:00.0 on NUMA socket 1
EAL: probe driver: 8086:1583 net_i40e
EAL: PCI device 0000:82:00.1 on NUMA socket 1
EAL: probe driver: 8086:1583 net_i40e
Interactive-mode selected
previous number of forwarding ports 2 - changed to number of configured ports 1
testpmd: create a new mbuf pool <mbuf_pool_socket_0>: n=155456, size=2176, socket=0
testpmd: preferred mempool ops selected: ring_mp_mc
testpmd: create a new mbuf pool <mbuf_pool_socket_1>: n=155456, size=2176, socket=1
testpmd: preferred mempool ops selected: ring_mp_mc
Configuring Port 0 (socket 1)
Port 0: 68:05:CA:30:6A:80
Configuring Port 1 (socket 1)
Port 1: 68:05:CA:30:6A:81
Checking link statuses...
Done
23/10/2019 11:40:22 dut.10.240.176.141: set verbose 1
23/10/2019 11:40:22 dut.10.240.176.141: set verbose 1
Change verbose level from 0 to 1
23/10/2019 11:40:22 dut.10.240.176.141: set fwd mac
23/10/2019 11:40:22 dut.10.240.176.141: set fwd mac
Set mac packet forwarding mode
23/10/2019 11:40:22 dut.10.240.176.141: set promisc all off
23/10/2019 11:40:22 dut.10.240.176.141: set promisc all off
23/10/2019 11:40:22 dut.10.240.176.141: vlan set filter on 0
23/10/2019 11:40:22 dut.10.240.176.141: vlan set filter on 0
23/10/2019 11:40:22 dut.10.240.176.141: vlan set strip off 0
23/10/2019 11:40:23 dut.10.240.176.141: vlan set strip off 0
23/10/2019 11:40:23 TestVlan: Test Case test_vlan_disable_receipt Begin
23/10/2019 11:40:23 dut.10.240.176.141:
23/10/2019 11:40:23 tester:
23/10/2019 11:40:23 dut.10.240.176.141: rx_vlan rm 51 0
23/10/2019 11:40:23 dut.10.240.176.141: rx_vlan rm 51 0
rte_eth_dev_vlan_filter(port_pi=0, vlan_id=51, on=0) failed diag=-5
23/10/2019 11:40:23 dut.10.240.176.141: start
23/10/2019 11:40:23 dut.10.240.176.141: start
mac packet forwarding - ports=1 - cores=1 - streams=1 - NUMA support enabled, MP allocation mode: native
Logical Core 2 (socket 0) forwards packets on 1 streams:
RX P=0/Q=0 (socket 1) -> TX P=0/Q=0 (socket 1) peer=02:00:00:00:00:00
mac packet forwarding packets/burst=32
nb forwarding cores=1 - nb forwarding ports=1
port 0: RX queue number: 1 Tx queue number: 1
Rx offloads=0x200 Tx offloads=0x10000
RX queue: 0
RX desc=2048 - RX free threshold=32
RX threshold registers: pthresh=8 hthresh=8 wthresh=0
RX Offloads=0x0
TX queue: 0
TX desc=1024 - TX free threshold=32
TX threshold registers: pthresh=32 hthresh=0 wthresh=0
TX offloads=0x10000 - TX RS bit threshold=32
port 1: RX queue number: 1 Tx queue number: 1
Rx offloads=0x0 Tx offloads=0x10000
RX queue: 0
RX desc=2048 - RX free threshold=32
RX threshold registers: pthresh=8 hthresh=8 wthresh=0
RX Offloads=0x0
TX queue: 0
TX desc=1024 - TX free threshold=32
TX threshold registers: pthresh=32 hthresh=0 wthresh=0
TX offloads=0x10000 - TX RS bit threshold=32
23/10/2019 11:40:23 tester: ls -d /tmp/tester/
23/10/2019 11:40:23 tester: /tmp/tester/
23/10/2019 11:40:23 tester: rm -rf /tmp/tester/sniff_ens160f0.pcap
23/10/2019 11:40:23 tester:
23/10/2019 11:40:33 tester: scp -v /home/autoregression/dts/output/tmp/pcap/scapy_ens160f0.pcap1571802033.94 root@10.240.176.174:/tmp/tester/
23/10/2019 11:40:35 tester: scp -v /home/autoregression/dts/output/tmp/pcap/scapy_ens160f0.cmd1571802033.94 root@10.240.176.174:/tmp/tester/
23/10/2019 11:40:36 tester: python /tmp/tester/scapy_ens160f0.cmd1571802033.94
23/10/2019 11:40:37 tester: packet ready for sending...
Ether(src='00:00:00:00:01:00', dst='68:05:ca:30:6a:80', type=33024)/Dot1Q(vlan=51, type=2048, id=0, prio=0)/IP(frag=0, src='127.0.0.1', proto=17, tos=0, dst='127.0.0.1', chksum=31936, len=42, id=1, version=4, flags=0, ihl=5, ttl=64)/UDP(dport=53, sport=53, len=22, chksum=38635)/DNS(aa=0, qr=0, an='', ad=0, nscount=22616, qdcount=22616, ns='', tc=0, rd=0, arcount=22616, length=None, ar='', opcode=11, ra=0, cd=1, z=1, rcode=8, id=22616, ancount=22616, qd='')/Raw(load='XX')
....
Sent 4 packets.
23/10/2019 11:40:41 dut.10.240.176.141: stop
23/10/2019 11:40:41 dut.10.240.176.141: stop
Telling cores to stop...
Waiting for lcores to finish...
---------------------- Forward statistics for port 0 ----------------------
RX-packets: 0 RX-dropped: 0 RX-total: 0
TX-packets: 0 TX-dropped: 0 TX-total: 0
----------------------------------------------------------------------------
+++++++++++++++ Accumulated forward statistics for all ports+++++++++++++++
RX-packets: 0 RX-dropped: 0 RX-total: 0
TX-packets: 0 TX-dropped: 0 TX-total: 0
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Done.
23/10/2019 11:40:41 TestVlan: Test Case test_vlan_disable_receipt Result PASSED:
23/10/2019 11:40:41 TestVlan: Test Case test_vlan_enable_receipt_strip_off Begin
23/10/2019 11:40:41 dut.10.240.176.141:
23/10/2019 11:40:41 tester:
23/10/2019 11:40:41 dut.10.240.176.141: rx_vlan add 51 0
23/10/2019 11:40:41 dut.10.240.176.141: rx_vlan add 51 0
23/10/2019 11:40:41 dut.10.240.176.141: vlan set strip off 0
23/10/2019 11:40:41 dut.10.240.176.141: vlan set strip off 0
23/10/2019 11:40:41 dut.10.240.176.141: start
23/10/2019 11:40:41 dut.10.240.176.141: start
mac packet forwarding - ports=1 - cores=1 - streams=1 - NUMA support enabled, MP allocation mode: native
Logical Core 2 (socket 0) forwards packets on 1 streams:
RX P=0/Q=0 (socket 1) -> TX P=0/Q=0 (socket 1) peer=02:00:00:00:00:00
mac packet forwarding packets/burst=32
nb forwarding cores=1 - nb forwarding ports=1
port 0: RX queue number: 1 Tx queue number: 1
Rx offloads=0x200 Tx offloads=0x10000
RX queue: 0
RX desc=2048 - RX free threshold=32
RX threshold registers: pthresh=8 hthresh=8 wthresh=0
RX Offloads=0x0
TX queue: 0
TX desc=1024 - TX free threshold=32
TX threshold registers: pthresh=32 hthresh=0 wthresh=0
TX offloads=0x10000 - TX RS bit threshold=32
port 1: RX queue number: 1 Tx queue number: 1
Rx offloads=0x0 Tx offloads=0x10000
RX queue: 0
RX desc=2048 - RX free threshold=32
RX threshold registers: pthresh=8 hthresh=8 wthresh=0
RX Offloads=0x0
TX queue: 0
TX desc=1024 - TX free threshold=32
TX threshold registers: pthresh=32 hthresh=0 wthresh=0
TX offloads=0x10000 - TX RS bit threshold=32
23/10/2019 11:40:41 dut.10.240.176.141: show port info 0
23/10/2019 11:40:41 dut.10.240.176.141: show port info 0
********************* Infos for port 0 *********************
MAC address: 68:05:CA:30:6A:80
Device name: 0000:82:00.0
Driver name: net_i40e
Devargs:
Connect to socket: 1
memory allocation on the socket: 1
Link status: up
Link speed: 40000 Mbps
Link duplex: full-duplex
MTU: 1500
Promiscuous mode: disabled
Allmulticast mode: disabled
Maximum number of MAC addresses: 64
Maximum number of MAC addresses of hash filtering: 0
VLAN offload:
strip off
filter on
qinq(extend) off
Hash key size in bytes: 52
Redirection table size: 512
Supported RSS offload flow types:
ipv4-frag
ipv4-tcp
ipv4-udp
ipv4-sctp
ipv4-other
ipv6-frag
ipv6-tcp
ipv6-udp
ipv6-sctp
ipv6-other
l2_payload
Minimum size of RX buffer: 1024
Maximum configurable length of RX packet: 9728
Maximum number of VMDq pools: 64
Current number of RX queues: 1
Max possible RX queues: 320
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: 1
Max possible TX queues: 320
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: 255
Max segment number per MTU/TSO: 8
23/10/2019 11:40:41 tester: ls -d /tmp/tester/
23/10/2019 11:40:42 tester: /tmp/tester/
23/10/2019 11:40:42 tester: rm -rf /tmp/tester/sniff_ens160f0.pcap
23/10/2019 11:40:42 tester:
23/10/2019 11:40:52 tester: scp -v /home/autoregression/dts/output/tmp/pcap/scapy_ens160f0.pcap1571802052.29 root@10.240.176.174:/tmp/tester/
23/10/2019 11:40:53 tester: scp -v /home/autoregression/dts/output/tmp/pcap/scapy_ens160f0.cmd1571802052.29 root@10.240.176.174:/tmp/tester/
23/10/2019 11:40:55 tester: python /tmp/tester/scapy_ens160f0.cmd1571802052.29
23/10/2019 11:40:55 tester: packet ready for sending...
Ether(src='00:00:00:00:01:00', dst='68:05:ca:30:6a:80', type=33024)/Dot1Q(vlan=51, type=2048, id=0, prio=0)/IP(frag=0, src='127.0.0.1', proto=17, tos=0, dst='127.0.0.1', chksum=31936, len=42, id=1, version=4, flags=0, ihl=5, ttl=64)/UDP(dport=53, sport=53, len=22, chksum=38635)/DNS(aa=0, qr=0, an='', ad=0, nscount=22616, qdcount=22616, ns='', tc=0, rd=0, arcount=22616, length=None, ar='', opcode=11, ra=0, cd=1, z=1, rcode=8, id=22616, ancount=22616, qd='')/Raw(load='XX')
....
Sent 4 packets.
23/10/2019 11:40:59 TestVlan: Test Case test_vlan_enable_receipt_strip_off Result FAILED: 'Wrong vlan:[]'
23/10/2019 11:40:59 TestVlan: Test Case test_vlan_enable_receipt_strip_on Begin
23/10/2019 11:40:59 dut.10.240.176.141: port 0/queue 0: received 1 packets
src=00:00:00:00:01:00 - dst=68:05:CA:30:6A:80 - type=0x8100 - length=60 - nb_segs=1 - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN L4_UDP - sw ptype: L2_ETHER_VLAN L3_IPV4 L4_UDP - l2_len=18 - 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
port 0/queue 0: received 1 packets
src=00:00:00:00:01:00 - dst=68:05:CA:30:6A:80 - type=0x8100 - length=60 - nb_segs=1 - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN L4_UDP - sw ptype: L2_ETHER_VLAN L3_IPV4 L4_UDP - l2_len=18 - 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
port 0/queue 0: received 1 packets
src=00:00:00:00:01:00 - dst=68:05:CA:30:6A:80 - type=0x8100 - length=60 - nb_segs=1 - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN L4_UDP - sw ptype: L2_ETHER_VLAN L3_IPV4 L4_UDP - l2_len=18 - 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
port 0/queue 0: received 1 packets
src=00:00:00:00:01:00 - dst=68:05:CA:30:6A:80 - type=0x8100 - length=60 - nb_segs=1 - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN L4_UDP - sw ptype: L2_ETHER_VLAN L3_IPV4 L4_UDP - l2_len=18 - 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
23/10/2019 11:40:59 tester:
23/10/2019 11:40:59 dut.10.240.176.141: vlan set strip on 0
23/10/2019 11:40:59 dut.10.240.176.141: vlan set strip on 0
23/10/2019 11:40:59 dut.10.240.176.141: rx_vlan add 51 0
23/10/2019 11:40:59 dut.10.240.176.141: rx_vlan add 51 0
23/10/2019 11:40:59 dut.10.240.176.141: show port info 0
23/10/2019 11:41:00 dut.10.240.176.141: show port info 0
********************* Infos for port 0 *********************
MAC address: 68:05:CA:30:6A:80
Device name: 0000:82:00.0
Driver name: net_i40e
Devargs:
Connect to socket: 1
memory allocation on the socket: 1
Link status: up
Link speed: 40000 Mbps
Link duplex: full-duplex
MTU: 1500
Promiscuous mode: disabled
Allmulticast mode: disabled
Maximum number of MAC addresses: 64
Maximum number of MAC addresses of hash filtering: 0
VLAN offload:
strip on
filter on
qinq(extend) off
Hash key size in bytes: 52
Redirection table size: 512
Supported RSS offload flow types:
ipv4-frag
ipv4-tcp
ipv4-udp
ipv4-sctp
ipv4-other
ipv6-frag
ipv6-tcp
ipv6-udp
ipv6-sctp
ipv6-other
l2_payload
Minimum size of RX buffer: 1024
Maximum configurable length of RX packet: 9728
Maximum number of VMDq pools: 64
Current number of RX queues: 1
Max possible RX queues: 320
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: 1
Max possible TX queues: 320
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: 255
Max segment number per MTU/TSO: 8
23/10/2019 11:41:00 dut.10.240.176.141: start
23/10/2019 11:41:00 dut.10.240.176.141: start
Packet forwarding already started
23/10/2019 11:41:00 tester: ls -d /tmp/tester/
23/10/2019 11:41:00 tester: /tmp/tester/
23/10/2019 11:41:00 tester: rm -rf /tmp/tester/sniff_ens160f0.pcap
23/10/2019 11:41:00 tester:
23/10/2019 11:41:10 tester: scp -v /home/autoregression/dts/output/tmp/pcap/scapy_ens160f0.pcap1571802070.55 root@10.240.176.174:/tmp/tester/
23/10/2019 11:41:11 tester: scp -v /home/autoregression/dts/output/tmp/pcap/scapy_ens160f0.cmd1571802070.55 root@10.240.176.174:/tmp/tester/
23/10/2019 11:41:13 tester: python /tmp/tester/scapy_ens160f0.cmd1571802070.55
23/10/2019 11:41:14 tester: packet ready for sending...
Ether(src='00:00:00:00:01:00', dst='68:05:ca:30:6a:80', type=33024)/Dot1Q(vlan=51, type=2048, id=0, prio=0)/IP(frag=0, src='127.0.0.1', proto=17, tos=0, dst='127.0.0.1', chksum=31936, len=42, id=1, version=4, flags=0, ihl=5, ttl=64)/UDP(dport=53, sport=53, len=22, chksum=38635)/DNS(aa=0, qr=0, an='', ad=0, nscount=22616, qdcount=22616, ns='', tc=0, rd=0, arcount=22616, length=None, ar='', opcode=11, ra=0, cd=1, z=1, rcode=8, id=22616, ancount=22616, qd='')/Raw(load='XX')
....
Sent 4 packets.
23/10/2019 11:41:17 dut.10.240.176.141: stop
23/10/2019 11:41:17 dut.10.240.176.141: stop
Telling cores to stop...
Waiting for lcores to finish...
---------------------- Forward statistics for port 0 ----------------------
RX-packets: 8 RX-dropped: 0 RX-total: 8
TX-packets: 8 TX-dropped: 0 TX-total: 8
----------------------------------------------------------------------------
+++++++++++++++ Accumulated forward statistics for all ports+++++++++++++++
RX-packets: 8 RX-dropped: 0 RX-total: 8
TX-packets: 8 TX-dropped: 0 TX-total: 8
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Done.
23/10/2019 11:41:17 TestVlan: Test Case test_vlan_enable_receipt_strip_on Result PASSED:
23/10/2019 11:41:17 TestVlan: Test Case test_vlan_enable_vlan_insertion Begin
23/10/2019 11:41:17 dut.10.240.176.141:
23/10/2019 11:41:17 tester:
23/10/2019 11:41:17 dut.10.240.176.141: stop
23/10/2019 11:41:18 dut.10.240.176.141: stop
Packet forwarding not started
23/10/2019 11:41:18 dut.10.240.176.141: port stop all
23/10/2019 11:41:18 dut.10.240.176.141: port stop all
Stopping ports...
Port 0: link state change event
Checking link statuses...
Port 1: link state change event
Done
23/10/2019 11:41:18 dut.10.240.176.141: tx_vlan set 0 51
23/10/2019 11:41:18 dut.10.240.176.141: tx_vlan set 0 51
23/10/2019 11:41:18 dut.10.240.176.141: port start all
23/10/2019 11:41:18 dut.10.240.176.141: port start all
Configuring Port 0 (socket 1)
Port 0: 68:05:CA:30:6A:80
Port 1: 68:05:CA:30:6A:81
Checking link statuses...
Done
23/10/2019 11:41:18 dut.10.240.176.141: start
23/10/2019 11:41:18 dut.10.240.176.141: start
mac packet forwarding - ports=1 - cores=1 - streams=1 - NUMA support enabled, MP allocation mode: native
Logical Core 2 (socket 0) forwards packets on 1 streams:
RX P=0/Q=0 (socket 1) -> TX P=0/Q=0 (socket 1) peer=02:00:00:00:00:00
mac packet forwarding packets/burst=32
nb forwarding cores=1 - nb forwarding ports=1
port 0: RX queue number: 1 Tx queue number: 1
Rx offloads=0x201 Tx offloads=0x10001
RX queue: 0
RX desc=2048 - RX free threshold=32
RX threshold registers: pthresh=8 hthresh=8 wthresh=0
RX Offloads=0x0
TX queue: 0
TX desc=1024 - TX free threshold=32
TX threshold registers: pthresh=32 hthresh=0 wthresh=0
TX offloads=0x10000 - TX RS bit threshold=32
port 1: RX queue number: 1 Tx queue number: 1
Rx offloads=0x0 Tx offloads=0x10000
RX queue: 0
RX desc=2048 - RX free threshold=32
RX threshold registers: pthresh=8 hthresh=8 wthresh=0
RX Offloads=0x0
TX queue: 0
TX desc=1024 - TX free threshold=32
TX threshold registers: pthresh=32 hthresh=0 wthresh=0
TX offloads=0x10000 - TX RS bit threshold=32
23/10/2019 11:41:18 tester: ls -d /tmp/tester/
23/10/2019 11:41:19 tester: /tmp/tester/
23/10/2019 11:41:19 tester: rm -rf /tmp/tester/sniff_ens160f0.pcap
23/10/2019 11:41:19 tester:
23/10/2019 11:41:29 tester: scp -v /home/autoregression/dts/output/tmp/pcap/scapy_ens160f0.pcap1571802089.24 root@10.240.176.174:/tmp/tester/
23/10/2019 11:41:30 tester: scp -v /home/autoregression/dts/output/tmp/pcap/scapy_ens160f0.cmd1571802089.24 root@10.240.176.174:/tmp/tester/
23/10/2019 11:41:31 tester: python /tmp/tester/scapy_ens160f0.cmd1571802089.24
23/10/2019 11:41:32 tester: packet ready for sending...
Ether(src='00:00:00:00:01:00', dst='68:05:ca:30:6a:80', type=2048)/IP(frag=0, src='127.0.0.1', proto=17, tos=0, dst='127.0.0.1', chksum=31932, len=46, id=1, version=4, flags=0, ihl=5, ttl=64)/UDP(dport=53, sport=53, len=26, chksum=58930)/DNS(aa=0, qr=0, an='', ad=0, nscount=22616, qdcount=22616, ns='', tc=0, rd=0, arcount=22616, length=None, ar='', opcode=11, ra=0, cd=1, z=1, rcode=8, id=22616, ancount=22616, qd='')/Raw(load='XXXXXX')
....
Sent 4 packets.
23/10/2019 11:41:36 dut.10.240.176.141: stop
23/10/2019 11:41:36 dut.10.240.176.141: stop
Telling cores to stop...
Waiting for lcores to finish...
---------------------- Forward statistics for port 0 ----------------------
RX-packets: 4 RX-dropped: 0 RX-total: 4
TX-packets: 4 TX-dropped: 0 TX-total: 4
----------------------------------------------------------------------------
+++++++++++++++ Accumulated forward statistics for all ports+++++++++++++++
RX-packets: 4 RX-dropped: 0 RX-total: 4
TX-packets: 4 TX-dropped: 0 TX-total: 4
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Done.
23/10/2019 11:41:36 dut.10.240.176.141: port stop all
23/10/2019 11:41:36 dut.10.240.176.141: port stop all
Stopping ports...
Port 0: link state change event
Checking link statuses...
Port 1: link state change event
Done
23/10/2019 11:41:36 dut.10.240.176.141: tx_vlan reset 0
23/10/2019 11:41:36 dut.10.240.176.141: tx_vlan reset 0
23/10/2019 11:41:36 dut.10.240.176.141: port start all
23/10/2019 11:41:37 dut.10.240.176.141: port start all
Configuring Port 0 (socket 1)
Port 0: 68:05:CA:30:6A:80
Port 1: 68:05:CA:30:6A:81
Checking link statuses...
Done
23/10/2019 11:41:37 dut.10.240.176.141: stop
23/10/2019 11:41:37 dut.10.240.176.141: stop
Packet forwarding not started
23/10/2019 11:41:37 TestVlan: Test Case test_vlan_enable_vlan_insertion Result PASSED:
23/10/2019 11:41:37 dut.10.240.176.141: kill_all: called by dut and prefix list has value.
23/10/2019 11:41:39 dut.10.240.176.141:
23/10/2019 11:41:39 dut.10.240.176.141: kill_all: called by dut and has no prefix list.
23/10/2019 11:41:43 dts:
TEST SUITE ENDED: TestVlan
24/10/2019 00:33:20 dts:
TEST SUITE : TestVlan
24/10/2019 00:33:20 dts: NIC : fortville_spirit
24/10/2019 00:33:20 dut.10.240.176.141:
24/10/2019 00:33:20 tester:
24/10/2019 00:33:20 dut.10.240.176.141: ./x86_64-native-linuxapp-gcc/app/testpmd -l 1,2 -n 4 -w 0000:82:00.0 -w 0000:82:00.1 --file-prefix=dpdk_22721_20191024003142 -- -i --portmask=0x1 --port-topology=loop
24/10/2019 00:33:31 dut.10.240.176.141: EAL: Detected 88 lcore(s)
EAL: Detected 2 NUMA nodes
EAL: Multi-process socket /var/run/dpdk/dpdk_22721_20191024003142/mp_socket
EAL: Selected IOVA mode 'PA'
EAL: 1024 hugepages of size 2097152 reserved, but no mounted hugetlbfs found for that size
EAL: Probing VFIO support...
EAL: PCI device 0000:82:00.0 on NUMA socket 1
EAL: probe driver: 8086:1583 net_i40e
i40e_GLQF_reg_init(): i40e device 0000:82:00.0 changed global register [0x002689a0]. original: 0x00000000, new: 0x00000029
i40e_GLQF_reg_init(): i40e device 0000:82:00.0 changed global register [0x00268ca4]. original: 0x00001840, new: 0x00009420
i40e_aq_debug_write_global_register(): i40e device 0000:82:00.0 changed global register [0x0026c7a0]. original: 0xa8, after: 0x28
EAL: PCI device 0000:82:00.1 on NUMA socket 1
EAL: probe driver: 8086:1583 net_i40e
Interactive-mode selected
previous number of forwarding ports 2 - changed to number of configured ports 1
testpmd: create a new mbuf pool <mbuf_pool_socket_0>: n=155456, size=2176, socket=0
testpmd: preferred mempool ops selected: ring_mp_mc
testpmd: create a new mbuf pool <mbuf_pool_socket_1>: n=155456, size=2176, socket=1
testpmd: preferred mempool ops selected: ring_mp_mc
Configuring Port 0 (socket 1)
Port 0: 68:05:CA:30:6A:80
Configuring Port 1 (socket 1)
Port 1: 68:05:CA:30:6A:81
Checking link statuses...
Done
24/10/2019 00:33:41 dut.10.240.176.141: set verbose 1
24/10/2019 00:33:41 dut.10.240.176.141: set verbose 1
Change verbose level from 0 to 1
24/10/2019 00:33:41 dut.10.240.176.141: set fwd mac
24/10/2019 00:33:41 dut.10.240.176.141: set fwd mac
Set mac packet forwarding mode
24/10/2019 00:33:41 dut.10.240.176.141: set promisc all off
24/10/2019 00:33:41 dut.10.240.176.141: set promisc all off
24/10/2019 00:33:41 dut.10.240.176.141: vlan set filter on 0
24/10/2019 00:33:41 dut.10.240.176.141: vlan set filter on 0
24/10/2019 00:33:41 dut.10.240.176.141: vlan set strip off 0
24/10/2019 00:33:41 dut.10.240.176.141: vlan set strip off 0
24/10/2019 00:33:41 TestVlan: Test Case test_vlan_enable_receipt_strip_off Begin
24/10/2019 00:33:41 dut.10.240.176.141:
24/10/2019 00:33:41 tester:
24/10/2019 00:33:41 dut.10.240.176.141: rx_vlan add 51 0
24/10/2019 00:33:41 dut.10.240.176.141: rx_vlan add 51 0
24/10/2019 00:33:41 dut.10.240.176.141: vlan set strip off 0
24/10/2019 00:33:42 dut.10.240.176.141: vlan set strip off 0
24/10/2019 00:33:42 dut.10.240.176.141: start
24/10/2019 00:33:42 dut.10.240.176.141: start
mac packet forwarding - ports=1 - cores=1 - streams=1 - NUMA support enabled, MP allocation mode: native
Logical Core 2 (socket 0) forwards packets on 1 streams:
RX P=0/Q=0 (socket 1) -> TX P=0/Q=0 (socket 1) peer=02:00:00:00:00:00
mac packet forwarding packets/burst=32
nb forwarding cores=1 - nb forwarding ports=1
port 0: RX queue number: 1 Tx queue number: 1
Rx offloads=0x200 Tx offloads=0x10000
RX queue: 0
RX desc=2048 - RX free threshold=32
RX threshold registers: pthresh=8 hthresh=8 wthresh=0
RX Offloads=0x0
TX queue: 0
TX desc=1024 - TX free threshold=32
TX threshold registers: pthresh=32 hthresh=0 wthresh=0
TX offloads=0x10000 - TX RS bit threshold=32
port 1: RX queue number: 1 Tx queue number: 1
Rx offloads=0x0 Tx offloads=0x10000
RX queue: 0
RX desc=2048 - RX free threshold=32
RX threshold registers: pthresh=8 hthresh=8 wthresh=0
RX Offloads=0x0
TX queue: 0
TX desc=1024 - TX free threshold=32
TX threshold registers: pthresh=32 hthresh=0 wthresh=0
TX offloads=0x10000 - TX RS bit threshold=32
24/10/2019 00:33:42 dut.10.240.176.141: show port info 0
24/10/2019 00:33:42 dut.10.240.176.141: show port info 0
********************* Infos for port 0 *********************
MAC address: 68:05:CA:30:6A:80
Device name: 0000:82:00.0
Driver name: net_i40e
Devargs:
Connect to socket: 1
memory allocation on the socket: 1
Link status: up
Link speed: 40000 Mbps
Link duplex: full-duplex
MTU: 1500
Promiscuous mode: disabled
Allmulticast mode: disabled
Maximum number of MAC addresses: 64
Maximum number of MAC addresses of hash filtering: 0
VLAN offload:
strip off
filter on
qinq(extend) off
Hash key size in bytes: 52
Redirection table size: 512
Supported RSS offload flow types:
ipv4-frag
ipv4-tcp
ipv4-udp
ipv4-sctp
ipv4-other
ipv6-frag
ipv6-tcp
ipv6-udp
ipv6-sctp
ipv6-other
l2_payload
Minimum size of RX buffer: 1024
Maximum configurable length of RX packet: 9728
Maximum number of VMDq pools: 64
Current number of RX queues: 1
Max possible RX queues: 320
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: 1
Max possible TX queues: 320
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: 255
Max segment number per MTU/TSO: 8
24/10/2019 00:33:42 tester: ls -d /tmp/tester/
24/10/2019 00:33:42 tester: /tmp/tester/
24/10/2019 00:33:42 tester: rm -rf /tmp/tester/sniff_ens160f0.pcap
24/10/2019 00:33:42 tester:
24/10/2019 00:33:52 tester: scp -v /home/autoregression/zhushuai/output/tmp/pcap/scapy_ens160f0.pcap1571848432.73 root@10.240.176.174:/tmp/tester/
24/10/2019 00:33:54 tester: scp -v /home/autoregression/zhushuai/output/tmp/pcap/scapy_ens160f0.cmd1571848432.73 root@10.240.176.174:/tmp/tester/
24/10/2019 00:33:55 tester: python /tmp/tester/scapy_ens160f0.cmd1571848432.73
24/10/2019 00:33:56 tester: packet ready for sending...
Ether(src='00:00:00:00:01:00', dst='68:05:ca:30:6a:80', type=33024)/Dot1Q(vlan=51, type=2048, id=0, prio=0)/IP(frag=0, src='127.0.0.1', proto=17, tos=0, dst='127.0.0.1', chksum=31936, len=42, id=1, version=4, flags=0, ihl=5, ttl=64)/UDP(dport=53, sport=53, len=22, chksum=38635)/DNS(aa=0, qr=0, an='', ad=0, nscount=22616, qdcount=22616, ns='', tc=0, rd=0, arcount=22616, length=None, ar='', opcode=11, ra=0, cd=1, z=1, rcode=8, id=22616, ancount=22616, qd='')/Raw(load='XX')
....
Sent 4 packets.
24/10/2019 00:33:59 tester: ls -d /tmp/tester/
24/10/2019 00:34:00 tester: /tmp/tester/
24/10/2019 00:34:00 tester: rm -rf /tmp/tester/sniff_ens160f0.pcap
24/10/2019 00:34:00 tester:
24/10/2019 00:34:10 tester: scp -v /home/autoregression/zhushuai/output/tmp/pcap/scapy_ens160f0.pcap1571848450.31 root@10.240.176.174:/tmp/tester/
24/10/2019 00:34:11 tester: scp -v /home/autoregression/zhushuai/output/tmp/pcap/scapy_ens160f0.cmd1571848450.31 root@10.240.176.174:/tmp/tester/
24/10/2019 00:34:13 tester: python /tmp/tester/scapy_ens160f0.cmd1571848450.31
24/10/2019 00:34:13 tester: packet ready for sending...
Ether(src='00:00:00:00:01:00', dst='68:05:ca:30:6a:80', type=33024)/Dot1Q(vlan=52, type=2048, id=0, prio=0)/IP(frag=0, src='127.0.0.1', proto=17, tos=0, dst='127.0.0.1', chksum=31936, len=42, id=1, version=4, flags=0, ihl=5, ttl=64)/UDP(dport=53, sport=53, len=22, chksum=38635)/DNS(aa=0, qr=0, an='', ad=0, nscount=22616, qdcount=22616, ns='', tc=0, rd=0, arcount=22616, length=None, ar='', opcode=11, ra=0, cd=1, z=1, rcode=8, id=22616, ancount=22616, qd='')/Raw(load='XX')
....
Sent 4 packets.
24/10/2019 00:34:17 dut.10.240.176.141: stop
24/10/2019 00:34:17 dut.10.240.176.141: stop
Telling cores to stop...
Waiting for lcores to finish...
---------------------- Forward statistics for port 0 ----------------------
RX-packets: 4 RX-dropped: 0 RX-total: 4
TX-packets: 4 TX-dropped: 0 TX-total: 4
----------------------------------------------------------------------------
+++++++++++++++ Accumulated forward statistics for all ports+++++++++++++++
RX-packets: 4 RX-dropped: 0 RX-total: 4
TX-packets: 4 TX-dropped: 0 TX-total: 4
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Done.
24/10/2019 00:34:17 TestVlan: Test Case test_vlan_enable_receipt_strip_off Result PASSED:
24/10/2019 00:34:17 dut.10.240.176.141: kill_all: called by dut and prefix list has value.
24/10/2019 00:34:19 dut.10.240.176.141:
24/10/2019 00:34:20 dut.10.240.176.141: kill_all: called by dut and has no prefix list.
24/10/2019 00:34:23 dts:
TEST SUITE ENDED: TestVlan
^ permalink raw reply [flat|nested] 3+ messages in thread
* [dts] [PATCH V1] tests/vlan:Increase the default timeout time in the send_pkt method.
@ 2019-10-24 1:18 zhu,shuai
2019-10-24 1:15 ` Yao, BingX Y
2019-11-04 2:45 ` Tu, Lijuan
0 siblings, 2 replies; 3+ messages in thread
From: zhu,shuai @ 2019-10-24 1:18 UTC (permalink / raw)
To: dts; +Cc: zhu,shuai
Signed-off-by: zhu,shuai <shuaix.zhu@intel.com>
---
tests/TestSuite_vlan.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/TestSuite_vlan.py b/tests/TestSuite_vlan.py
index 77c33d0..0ade7f0 100644
--- a/tests/TestSuite_vlan.py
+++ b/tests/TestSuite_vlan.py
@@ -116,7 +116,7 @@ class TestVlan(TestCase):
pkt.config_layer('ether', {'dst': self.dmac, 'src': self.smac})
pkt.config_layer('vlan', {'vlan': vid})
- pkt.send_pkt(self.tester, tx_port=self.txItf, count=4)
+ pkt.send_pkt(self.tester, tx_port=self.txItf, count=4, timeout=30)
def set_up(self):
"""
--
2.17.2
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [dts] [PATCH V1] tests/vlan:Increase the default timeout time in the send_pkt method.
2019-10-24 1:18 [dts] [PATCH V1] tests/vlan:Increase the default timeout time in the send_pkt method zhu,shuai
2019-10-24 1:15 ` Yao, BingX Y
@ 2019-11-04 2:45 ` Tu, Lijuan
1 sibling, 0 replies; 3+ messages in thread
From: Tu, Lijuan @ 2019-11-04 2:45 UTC (permalink / raw)
To: Zhu, ShuaiX, dts; +Cc: Zhu, ShuaiX
Applied, thanks
> -----Original Message-----
> From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of zhu,shuai
> Sent: Thursday, October 24, 2019 9:18 AM
> To: dts@dpdk.org
> Cc: Zhu, ShuaiX <shuaix.zhu@intel.com>
> Subject: [dts] [PATCH V1] tests/vlan:Increase the default timeout time in the
> send_pkt method.
>
>
>
> Signed-off-by: zhu,shuai <shuaix.zhu@intel.com>
> ---
> tests/TestSuite_vlan.py | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/tests/TestSuite_vlan.py b/tests/TestSuite_vlan.py index
> 77c33d0..0ade7f0 100644
> --- a/tests/TestSuite_vlan.py
> +++ b/tests/TestSuite_vlan.py
> @@ -116,7 +116,7 @@ class TestVlan(TestCase):
> pkt.config_layer('ether', {'dst': self.dmac, 'src': self.smac})
> pkt.config_layer('vlan', {'vlan': vid})
>
> - pkt.send_pkt(self.tester, tx_port=self.txItf, count=4)
> + pkt.send_pkt(self.tester, tx_port=self.txItf, count=4,
> + timeout=30)
>
> def set_up(self):
> """
> --
> 2.17.2
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2019-11-04 2:45 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-24 1:18 [dts] [PATCH V1] tests/vlan:Increase the default timeout time in the send_pkt method zhu,shuai
2019-10-24 1:15 ` Yao, BingX Y
2019-11-04 2:45 ` 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).