01/06/2021 10:29:48 dts: TEST SUITE : TestStatsChecks 01/06/2021 10:29:48 dts: NIC : fortville_spirit 01/06/2021 10:29:48 dut.172.18.0.20: 01/06/2021 10:29:48 tester: 01/06/2021 10:29:48 TestStatsChecks: Test Case test_stats_checks Begin 01/06/2021 10:29:48 dut.172.18.0.20: 01/06/2021 10:29:48 tester: 01/06/2021 10:29:48 dut.172.18.0.20: kill_all: called by dut and has no prefix list. 01/06/2021 10:29:49 dut.172.18.0.20: x86_64-native-linux-gcc/app/dpdk-testpmd -l 4,5 -n 6 -a 0000:18:00.0 -a 0000:3b:00.0 --file-prefix=dpdk_9920_20210601102719 -- -i 01/06/2021 10:29:50 dut.172.18.0.20: EAL: Detected 96 lcore(s) EAL: Detected 2 NUMA nodes EAL: Detected static linkage of DPDK EAL: Multi-process socket /var/run/dpdk/dpdk_9920_20210601102719/mp_socket EAL: Selected IOVA mode 'VA' EAL: VFIO support initialized EAL: Using IOMMU type 1 (Type 1) EAL: Probe PCI driver: net_i40e (8086:1583) device: 0000:18:00.0 (socket 0) EAL: Probe PCI driver: net_i40e (8086:1583) device: 0000:3b:00.0 (socket 0) TELEMETRY: No legacy callbacks, legacy socket not created Interactive-mode selected testpmd: create a new mbuf pool : n=155456, size=2176, socket=0 testpmd: preferred mempool ops selected: ring_mp_mc Configuring Port 0 (socket 0) Port 0: 00:00:00:00:51:14 Configuring Port 1 (socket 0) Port 1: 68:05:CA:34:88:48 Checking link statuses... Done 01/06/2021 10:30:00 dut.172.18.0.20: port start all 01/06/2021 10:30:00 dut.172.18.0.20: Port 0 is now not stopped Port 1 is now not stopped Please stop the ports first Done 01/06/2021 10:30:00 dut.172.18.0.20: set fwd mac 01/06/2021 10:30:00 dut.172.18.0.20: Set mac packet forwarding mode 01/06/2021 10:30:00 dut.172.18.0.20: start 01/06/2021 10:30:00 dut.172.18.0.20: mac packet forwarding - ports=2 - cores=1 - streams=2 - NUMA support enabled, MP allocation mode: native Logical Core 5 (socket 0) forwards packets on 2 streams: RX P=0/Q=0 (socket 0) -> TX P=1/Q=0 (socket 0) peer=02:00:00:00:00:01 RX P=1/Q=0 (socket 0) -> TX P=0/Q=0 (socket 0) peer=02:00:00:00:00:00 mac packet forwarding packets/burst=32 nb forwarding cores=1 - nb forwarding ports=2 port 0: 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=0 hthresh=0 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=0 hthresh=0 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 01/06/2021 10:30:00 dut.172.18.0.20: show port stats 1 01/06/2021 10:30:00 dut.172.18.0.20: ######################## NIC statistics for port 1 ######################## RX-packets: 4 RX-missed: 0 RX-bytes: 440 RX-errors: 0 RX-nombuf: 0 TX-packets: 0 TX-errors: 0 TX-bytes: 0 Throughput (since last show) Rx-pps: 0 Rx-bps: 0 Tx-pps: 0 Tx-bps: 0 ############################################################################ 01/06/2021 10:30:00 dut.172.18.0.20: show port stats 0 01/06/2021 10:30:00 dut.172.18.0.20: ######################## NIC statistics for port 0 ######################## RX-packets: 4 RX-missed: 0 RX-bytes: 440 RX-errors: 0 RX-nombuf: 0 TX-packets: 0 TX-errors: 0 TX-bytes: 0 Throughput (since last show) Rx-pps: 0 Rx-bps: 0 Tx-pps: 0 Tx-bps: 0 ############################################################################ 01/06/2021 10:30:00 tester: echo -n '' > scapyResult.txt 01/06/2021 10:30:00 tester: 01/06/2021 10:30:00 tester: scapy 01/06/2021 10:30:01 tester: INFO: Can't import matplotlib. Won't be able to plot. INFO: Can't import PyX. Won't be able to use psdump() or pdfdump(). WARNING: IPython not available. Using standard Python shell instead. AutoCompletion, History are disabled.    aSPY//YASa   apyyyyCY//////////YCa  |  sY//////YSpcs scpCY//Pp  | Welcome to Scapy  ayp ayyyyyyySCP//Pp syY//C  | Version 2.4.4  AYAsAYYYYYYYY///Ps cY//S |  pCCCCY//p cSSps y//Y | https://github.com/secdev/  SPPPP///a pP///AC//Y |  A//A cyP////C | Have fun!  p///Ac sC///a |  P////YCpc A//A | Craft packets like it is your last  scccccp///pSP///p p//Y | day on earth.  sY/////////y caa S//P | -- Lao-Tze  cayCyayP//Ya pY/Ya |  sY/PsY////YCc aC//Yp   sc sccaCY//PCypaapyCP//YSs   spCPY//////YPSps   ccaacs    01/06/2021 10:30:03 tester: dutmac="68:05:ca:34:88:48" 01/06/2021 10:30:03 tester:  01/06/2021 10:30:03 tester: sendp(Ether(dst=dutmac, src="52:00:00:00:00:00")/IP()/Raw(load="P"*30), iface="enp175s0f0") 01/06/2021 10:30:03 tester: . Sent 1 packets. 01/06/2021 10:30:05 tester: exit() 01/06/2021 10:30:05 tester: 01/06/2021 10:30:10 dut.172.18.0.20: show port stats 1 01/06/2021 10:30:10 dut.172.18.0.20: ######################## NIC statistics for port 1 ######################## RX-packets: 5 RX-missed: 0 RX-bytes: 508 RX-errors: 0 RX-nombuf: 0 TX-packets: 0 TX-errors: 0 TX-bytes: 0 Throughput (since last show) Rx-pps: 0 Rx-bps: 48 Tx-pps: 0 Tx-bps: 0 ############################################################################ 01/06/2021 10:30:10 dut.172.18.0.20: show port stats 0 01/06/2021 10:30:10 dut.172.18.0.20: ######################## NIC statistics for port 0 ######################## RX-packets: 4 RX-missed: 0 RX-bytes: 440 RX-errors: 0 RX-nombuf: 0 TX-packets: 1 TX-errors: 0 TX-bytes: 68 Throughput (since last show) Rx-pps: 0 Rx-bps: 0 Tx-pps: 0 Tx-bps: 48 ############################################################################ 01/06/2021 10:30:10 dut.172.18.0.20: stop 01/06/2021 10:30:10 dut.172.18.0.20: Telling cores to ... Waiting for lcores to finish... ---------------------- Forward statistics for port 0 ---------------------- RX-packets: 0 RX-dropped: 0 RX-total: 0 TX-packets: 1 TX-dropped: 0 TX-total: 1 ---------------------------------------------------------------------------- ---------------------- Forward statistics for port 1 ---------------------- RX-packets: 1 RX-dropped: 0 RX-total: 1 TX-packets: 0 TX-dropped: 0 TX-total: 0 ---------------------------------------------------------------------------- +++++++++++++++ Accumulated forward statistics for all ports+++++++++++++++ RX-packets: 1 RX-dropped: 0 RX-total: 1 TX-packets: 1 TX-dropped: 0 TX-total: 1 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Done. 01/06/2021 10:30:10 dut.172.18.0.20: quit 01/06/2021 10:30:11 dut.172.18.0.20: Stopping port 0... Stopping ports... Done Stopping port 1... Stopping ports... Port 0: link state change event Done Shutting down port 0... Closing ports... Port 0 is closed Done Shutting down port 1... Closing ports... Port 1 is closed Done Bye... 01/06/2021 10:30:11 TestStatsChecks: Test Case test_stats_checks Result PASSED: 01/06/2021 10:30:11 dut.172.18.0.20: kill_all: called by dut and prefix list has value. 01/06/2021 10:30:12 TestStatsChecks: Test Case test_xstats_check_pf Begin 01/06/2021 10:30:12 dut.172.18.0.20: 01/06/2021 10:30:12 tester: 01/06/2021 10:30:12 dut.172.18.0.20: kill_all: called by dut and has no prefix list. 01/06/2021 10:30:13 dut.172.18.0.20: x86_64-native-linux-gcc/app/dpdk-testpmd -l 4,5 -n 6 -a 0000:18:00.0 -a 0000:3b:00.0 --file-prefix=dpdk_9920_20210601102719 -- -i --rxq=4 --txq=4 01/06/2021 10:30:14 dut.172.18.0.20: EAL: Detected 96 lcore(s) EAL: Detected 2 NUMA nodes EAL: Detected static linkage of DPDK EAL: Multi-process socket /var/run/dpdk/dpdk_9920_20210601102719/mp_socket EAL: Selected IOVA mode 'VA' EAL: VFIO support initialized EAL: Using IOMMU type 1 (Type 1) EAL: Probe PCI driver: net_i40e (8086:1583) device: 0000:18:00.0 (socket 0) EAL: Probe PCI driver: net_i40e (8086:1583) device: 0000:3b:00.0 (socket 0) TELEMETRY: No legacy callbacks, legacy socket not created Interactive-mode selected testpmd: create a new mbuf pool : n=155456, size=2176, socket=0 testpmd: preferred mempool ops selected: ring_mp_mc Configuring Port 0 (socket 0) Port 0: 00:00:00:00:51:14 Configuring Port 1 (socket 0) Port 1: 68:05:CA:34:88:48 Checking link statuses... Done 01/06/2021 10:30:24 dut.172.18.0.20: port config all rss all 01/06/2021 10:30:25 dut.172.18.0.20: Port 0 modified RSS hash function based on hardware support,requested:0x17f83fffc configured:0x7ef8 Port 1 modified RSS hash function based on hardware support,requested:0x17f83fffc configured:0x7ef8 rss_hf 0x17f83fffc 01/06/2021 10:30:25 dut.172.18.0.20: set fwd mac 01/06/2021 10:30:25 dut.172.18.0.20: Set mac packet forwarding mode 01/06/2021 10:30:25 dut.172.18.0.20: clear port xstats all 01/06/2021 10:30:25 dut.172.18.0.20: 01/06/2021 10:30:25 dut.172.18.0.20: show port xstats 0 01/06/2021 10:30:25 dut.172.18.0.20: ###### NIC extended statistics for port 0 rx_good_packets: 0 tx_good_packets: 0 rx_good_bytes: 0 tx_good_bytes: 0 rx_missed_errors: 0 rx_errors: 0 tx_errors: 0 rx_mbuf_allocation_errors: 0 rx_q0_packets: 0 rx_q0_bytes: 0 rx_q0_errors: 0 rx_q1_packets: 0 rx_q1_bytes: 0 rx_q1_errors: 0 rx_q2_packets: 0 rx_q2_bytes: 0 rx_q2_errors: 0 rx_q3_packets: 0 rx_q3_bytes: 0 rx_q3_errors: 0 tx_q0_packets: 0 tx_q0_bytes: 0 tx_q1_packets: 0 tx_q1_bytes: 0 tx_q2_packets: 0 tx_q2_bytes: 0 tx_q3_packets: 0 tx_q3_bytes: 0 rx_unicast_packets: 0 rx_multicast_packets: 0 rx_broadcast_packets: 0 rx_dropped_packets: 0 rx_unknown_protocol_packets: 0 tx_unicast_packets: 0 tx_multicast_packets: 0 tx_broadcast_packets: 0 tx_dropped_packets: 0 tx_link_down_dropped: 0 rx_crc_errors: 0 rx_illegal_byte_errors: 0 rx_error_bytes: 0 mac_local_errors: 0 mac_remote_errors: 0 rx_length_errors: 0 tx_xon_packets: 0 rx_xon_packets: 0 tx_xoff_packets: 0 rx_xoff_packets: 0 rx_size_64_packets: 0 rx_size_65_to_127_packets: 0 rx_size_128_to_255_packets: 0 rx_size_256_to_511_packets: 0 rx_size_512_to_1023_packets: 0 rx_size_1024_to_1522_packets: 0 rx_size_1523_to_max_packets: 0 rx_undersized_errors: 0 rx_oversize_errors: 0 rx_mac_short_dropped: 0 rx_fragmented_errors: 0 rx_jabber_errors: 0 tx_size_64_packets: 0 tx_size_65_to_127_packets: 0 tx_size_128_to_255_packets: 0 tx_size_256_to_511_packets: 0 tx_size_512_to_1023_packets: 0 tx_size_1024_to_1522_packets: 0 tx_size_1523_to_max_packets: 0 rx_flow_director_atr_match_packets: 0 rx_flow_director_sb_match_packets: 0 tx_low_power_idle_status: 0 rx_low_power_idle_status: 0 tx_low_power_idle_count: 0 rx_low_power_idle_count: 0 rx_priority0_xon_packets: 0 rx_priority1_xon_packets: 0 rx_priority2_xon_packets: 0 rx_priority3_xon_packets: 0 rx_priority4_xon_packets: 0 rx_priority5_xon_packets: 0 rx_priority6_xon_packets: 0 rx_priority7_xon_packets: 0 rx_priority0_xoff_packets: 0 rx_priority1_xoff_packets: 0 rx_priority2_xoff_packets: 0 rx_priority3_xoff_packets: 0 rx_priority4_xoff_packets: 0 rx_priority5_xoff_packets: 0 rx_priority6_xoff_packets: 0 rx_priority7_xoff_packets: 0 tx_priority0_xon_packets: 0 tx_priority1_xon_packets: 0 tx_priority2_xon_packets: 0 tx_priority3_xon_packets: 0 tx_priority4_xon_packets: 0 tx_priority5_xon_packets: 0 tx_priority6_xon_packets: 0 tx_priority7_xon_packets: 0 tx_priority0_xoff_packets: 0 tx_priority1_xoff_packets: 0 tx_priority2_xoff_packets: 0 tx_priority3_xoff_packets: 0 tx_priority4_xoff_packets: 0 tx_priority5_xoff_packets: 0 tx_priority6_xoff_packets: 0 tx_priority7_xoff_packets: 0 tx_priority0_xon_to_xoff_packets: 0 tx_priority1_xon_to_xoff_packets: 0 tx_priority2_xon_to_xoff_packets: 0 tx_priority3_xon_to_xoff_packets: 0 tx_priority4_xon_to_xoff_packets: 0 tx_priority5_xon_to_xoff_packets: 0 tx_priority6_xon_to_xoff_packets: 0 tx_priority7_xon_to_xoff_packets: 0 01/06/2021 10:30:25 dut.172.18.0.20: show port xstats 1 01/06/2021 10:30:25 dut.172.18.0.20: ###### NIC extended statistics for port 1 rx_good_packets: 0 tx_good_packets: 0 rx_good_bytes: 0 tx_good_bytes: 0 rx_missed_errors: 0 rx_errors: 0 tx_errors: 0 rx_mbuf_allocation_errors: 0 rx_q0_packets: 0 rx_q0_bytes: 0 rx_q0_errors: 0 rx_q1_packets: 0 rx_q1_bytes: 0 rx_q1_errors: 0 rx_q2_packets: 0 rx_q2_bytes: 0 rx_q2_errors: 0 rx_q3_packets: 0 rx_q3_bytes: 0 rx_q3_errors: 0 tx_q0_packets: 0 tx_q0_bytes: 0 tx_q1_packets: 0 tx_q1_bytes: 0 tx_q2_packets: 0 tx_q2_bytes: 0 tx_q3_packets: 0 tx_q3_bytes: 0 rx_unicast_packets: 0 rx_multicast_packets: 0 rx_broadcast_packets: 0 rx_dropped_packets: 0 rx_unknown_protocol_packets: 0 tx_unicast_packets: 0 tx_multicast_packets: 0 tx_broadcast_packets: 0 tx_dropped_packets: 0 tx_link_down_dropped: 0 rx_crc_errors: 0 rx_illegal_byte_errors: 0 rx_error_bytes: 0 mac_local_errors: 0 mac_remote_errors: 0 rx_length_errors: 0 tx_xon_packets: 0 rx_xon_packets: 0 tx_xoff_packets: 0 rx_xoff_packets: 0 rx_size_64_packets: 0 rx_size_65_to_127_packets: 0 rx_size_128_to_255_packets: 0 rx_size_256_to_511_packets: 0 rx_size_512_to_1023_packets: 0 rx_size_1024_to_1522_packets: 0 rx_size_1523_to_max_packets: 0 rx_undersized_errors: 0 rx_oversize_errors: 0 rx_mac_short_dropped: 0 rx_fragmented_errors: 0 rx_jabber_errors: 0 tx_size_64_packets: 0 tx_size_65_to_127_packets: 0 tx_size_128_to_255_packets: 0 tx_size_256_to_511_packets: 0 tx_size_512_to_1023_packets: 0 tx_size_1024_to_1522_packets: 0 tx_size_1523_to_max_packets: 0 rx_flow_director_atr_match_packets: 0 rx_flow_director_sb_match_packets: 0 tx_low_power_idle_status: 0 rx_low_power_idle_status: 0 tx_low_power_idle_count: 0 rx_low_power_idle_count: 0 rx_priority0_xon_packets: 0 rx_priority1_xon_packets: 0 rx_priority2_xon_packets: 0 rx_priority3_xon_packets: 0 rx_priority4_xon_packets: 0 rx_priority5_xon_packets: 0 rx_priority6_xon_packets: 0 rx_priority7_xon_packets: 0 rx_priority0_xoff_packets: 0 rx_priority1_xoff_packets: 0 rx_priority2_xoff_packets: 0 rx_priority3_xoff_packets: 0 rx_priority4_xoff_packets: 0 rx_priority5_xoff_packets: 0 rx_priority6_xoff_packets: 0 rx_priority7_xoff_packets: 0 tx_priority0_xon_packets: 0 tx_priority1_xon_packets: 0 tx_priority2_xon_packets: 0 tx_priority3_xon_packets: 0 tx_priority4_xon_packets: 0 tx_priority5_xon_packets: 0 tx_priority6_xon_packets: 0 tx_priority7_xon_packets: 0 tx_priority0_xoff_packets: 0 tx_priority1_xoff_packets: 0 tx_priority2_xoff_packets: 0 tx_priority3_xoff_packets: 0 tx_priority4_xoff_packets: 0 tx_priority5_xoff_packets: 0 tx_priority6_xoff_packets: 0 tx_priority7_xoff_packets: 0 tx_priority0_xon_to_xoff_packets: 0 tx_priority1_xon_to_xoff_packets: 0 tx_priority2_xon_to_xoff_packets: 0 tx_priority3_xon_to_xoff_packets: 0 tx_priority4_xon_to_xoff_packets: 0 tx_priority5_xon_to_xoff_packets: 0 tx_priority6_xon_to_xoff_packets: 0 tx_priority7_xon_to_xoff_packets: 0 01/06/2021 10:30:25 dut.172.18.0.20: start 01/06/2021 10:30:25 dut.172.18.0.20: mac packet forwarding - ports=2 - cores=1 - streams=8 - NUMA support enabled, MP allocation mode: native Logical Core 5 (socket 0) forwards packets on 8 streams: RX P=0/Q=0 (socket 0) -> TX P=1/Q=0 (socket 0) peer=02:00:00:00:00:01 RX P=1/Q=0 (socket 0) -> TX P=0/Q=0 (socket 0) peer=02:00:00:00:00:00 RX P=0/Q=1 (socket 0) -> TX P=1/Q=1 (socket 0) peer=02:00:00:00:00:01 RX P=1/Q=1 (socket 0) -> TX P=0/Q=1 (socket 0) peer=02:00:00:00:00:00 RX P=0/Q=2 (socket 0) -> TX P=1/Q=2 (socket 0) peer=02:00:00:00:00:01 RX P=1/Q=2 (socket 0) -> TX P=0/Q=2 (socket 0) peer=02:00:00:00:00:00 RX P=0/Q=3 (socket 0) -> TX P=1/Q=3 (socket 0) peer=02:00:00:00:00:01 RX P=1/Q=3 (socket 0) -> TX P=0/Q=3 (socket 0) peer=02:00:00:00:00:00 mac packet forwarding packets/burst=32 nb forwarding cores=1 - nb forwarding ports=2 port 0: RX queue number: 4 Tx queue number: 4 Rx offloads=0x0 Tx offloads=0x10000 RX queue: 0 RX desc=1024 - RX free threshold=32 RX threshold registers: pthresh=0 hthresh=0 wthresh=0 RX Offloads=0x80000 TX queue: 0 TX desc=512 - 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: 4 Tx queue number: 4 Rx offloads=0x0 Tx offloads=0x10000 RX queue: 0 RX desc=1024 - RX free threshold=32 RX threshold registers: pthresh=0 hthresh=0 wthresh=0 RX Offloads=0x80000 TX queue: 0 TX desc=512 - TX free threshold=32 TX threshold registers: pthresh=32 hthresh=0 wthresh=0 TX offloads=0x10000 - TX RS bit threshold=32 01/06/2021 10:30:35 dut.172.18.0.20: stop 01/06/2021 10:30:35 dut.172.18.0.20: Telling cores to ... Waiting for lcores to finish... ------- Forward Stats for RX Port= 0/Queue= 0 -> TX Port= 1/Queue= 0 ------- RX-packets: 28 TX-packets: 28 TX-dropped: 0 ------- Forward Stats for RX Port= 0/Queue= 1 -> TX Port= 1/Queue= 1 ------- RX-packets: 22 TX-packets: 22 TX-dropped: 0 ------- Forward Stats for RX Port= 0/Queue= 2 -> TX Port= 1/Queue= 2 ------- RX-packets: 28 TX-packets: 28 TX-dropped: 0 ------- Forward Stats for RX Port= 0/Queue= 3 -> TX Port= 1/Queue= 3 ------- RX-packets: 22 TX-packets: 22 TX-dropped: 0 ---------------------- Forward statistics for port 0 ---------------------- RX-packets: 100 RX-dropped: 0 RX-total: 100 TX-packets: 0 TX-dropped: 0 TX-total: 0 ---------------------------------------------------------------------------- ---------------------- Forward statistics for port 1 ---------------------- RX-packets: 0 RX-dropped: 0 RX-total: 0 TX-packets: 100 TX-dropped: 0 TX-total: 100 ---------------------------------------------------------------------------- +++++++++++++++ Accumulated forward statistics for all ports+++++++++++++++ RX-packets: 100 RX-dropped: 0 RX-total: 100 TX-packets: 100 TX-dropped: 0 TX-total: 100 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Done. 01/06/2021 10:30:35 dut.172.18.0.20: show port stats 0 01/06/2021 10:30:35 dut.172.18.0.20: ######################## NIC statistics for port 0 ######################## RX-packets: 100 RX-missed: 0 RX-bytes: 6000 RX-errors: 0 RX-nombuf: 0 TX-packets: 0 TX-errors: 0 TX-bytes: 0 Throughput (since last show) Rx-pps: 0 Rx-bps: 0 Tx-pps: 0 Tx-bps: 0 ############################################################################ 01/06/2021 10:30:35 dut.172.18.0.20: show port stats 1 01/06/2021 10:30:35 dut.172.18.0.20: ######################## NIC statistics for port 1 ######################## RX-packets: 0 RX-missed: 0 RX-bytes: 0 RX-errors: 0 RX-nombuf: 0 TX-packets: 100 TX-errors: 0 TX-bytes: 6000 Throughput (since last show) Rx-pps: 0 Rx-bps: 0 Tx-pps: 0 Tx-bps: 0 ############################################################################ 01/06/2021 10:30:35 dut.172.18.0.20: show port xstats 0 01/06/2021 10:30:35 dut.172.18.0.20: ###### NIC extended statistics for port 0 rx_good_packets: 100 tx_good_packets: 0 rx_good_bytes: 6000 tx_good_bytes: 0 rx_missed_errors: 0 rx_errors: 0 tx_errors: 0 rx_mbuf_allocation_errors: 0 rx_q0_packets: 0 rx_q0_bytes: 0 rx_q0_errors: 0 rx_q1_packets: 0 rx_q1_bytes: 0 rx_q1_errors: 0 rx_q2_packets: 0 rx_q2_bytes: 0 rx_q2_errors: 0 rx_q3_packets: 0 rx_q3_bytes: 0 rx_q3_errors: 0 tx_q0_packets: 0 tx_q0_bytes: 0 tx_q1_packets: 0 tx_q1_bytes: 0 tx_q2_packets: 0 tx_q2_bytes: 0 tx_q3_packets: 0 tx_q3_bytes: 0 rx_unicast_packets: 100 rx_multicast_packets: 0 rx_broadcast_packets: 0 rx_dropped_packets: 0 rx_unknown_protocol_packets: 100 tx_unicast_packets: 0 tx_multicast_packets: 0 tx_broadcast_packets: 0 tx_dropped_packets: 0 tx_link_down_dropped: 0 rx_crc_errors: 0 rx_illegal_byte_errors: 0 rx_error_bytes: 0 mac_local_errors: 0 mac_remote_errors: 0 rx_length_errors: 0 tx_xon_packets: 0 rx_xon_packets: 0 tx_xoff_packets: 0 rx_xoff_packets: 0 rx_size_64_packets: 100 rx_size_65_to_127_packets: 0 rx_size_128_to_255_packets: 0 rx_size_256_to_511_packets: 0 rx_size_512_to_1023_packets: 0 rx_size_1024_to_1522_packets: 0 rx_size_1523_to_max_packets: 0 rx_undersized_errors: 0 rx_oversize_errors: 0 rx_mac_short_dropped: 0 rx_fragmented_errors: 0 rx_jabber_errors: 0 tx_size_64_packets: 0 tx_size_65_to_127_packets: 0 tx_size_128_to_255_packets: 0 tx_size_256_to_511_packets: 0 tx_size_512_to_1023_packets: 0 tx_size_1024_to_1522_packets: 0 tx_size_1523_to_max_packets: 0 rx_flow_director_atr_match_packets: 0 rx_flow_director_sb_match_packets: 0 tx_low_power_idle_status: 0 rx_low_power_idle_status: 0 tx_low_power_idle_count: 0 rx_low_power_idle_count: 0 rx_priority0_xon_packets: 0 rx_priority1_xon_packets: 0 rx_priority2_xon_packets: 0 rx_priority3_xon_packets: 0 rx_priority4_xon_packets: 0 rx_priority5_xon_packets: 0 rx_priority6_xon_packets: 0 rx_priority7_xon_packets: 0 rx_priority0_xoff_packets: 0 rx_priority1_xoff_packets: 0 rx_priority2_xoff_packets: 0 rx_priority3_xoff_packets: 0 rx_priority4_xoff_packets: 0 rx_priority5_xoff_packets: 0 rx_priority6_xoff_packets: 0 rx_priority7_xoff_packets: 0 tx_priority0_xon_packets: 0 tx_priority1_xon_packets: 0 tx_priority2_xon_packets: 0 tx_priority3_xon_packets: 0 tx_priority4_xon_packets: 0 tx_priority5_xon_packets: 0 tx_priority6_xon_packets: 0 tx_priority7_xon_packets: 0 tx_priority0_xoff_packets: 0 tx_priority1_xoff_packets: 0 tx_priority2_xoff_packets: 0 tx_priority3_xoff_packets: 0 tx_priority4_xoff_packets: 0 tx_priority5_xoff_packets: 0 tx_priority6_xoff_packets: 0 tx_priority7_xoff_packets: 0 tx_priority0_xon_to_xoff_packets: 0 tx_priority1_xon_to_xoff_packets: 0 tx_priority2_xon_to_xoff_packets: 0 tx_priority3_xon_to_xoff_packets: 0 tx_priority4_xon_to_xoff_packets: 0 tx_priority5_xon_to_xoff_packets: 0 tx_priority6_xon_to_xoff_packets: 0 tx_priority7_xon_to_xoff_packets: 0 01/06/2021 10:30:35 dut.172.18.0.20: show port xstats 1 01/06/2021 10:30:35 dut.172.18.0.20: ###### NIC extended statistics for port 1 rx_good_packets: 0 tx_good_packets: 100 rx_good_bytes: 0 tx_good_bytes: 6000 rx_missed_errors: 0 rx_errors: 0 tx_errors: 0 rx_mbuf_allocation_errors: 0 rx_q0_packets: 0 rx_q0_bytes: 0 rx_q0_errors: 0 rx_q1_packets: 0 rx_q1_bytes: 0 rx_q1_errors: 0 rx_q2_packets: 0 rx_q2_bytes: 0 rx_q2_errors: 0 rx_q3_packets: 0 rx_q3_bytes: 0 rx_q3_errors: 0 tx_q0_packets: 0 tx_q0_bytes: 0 tx_q1_packets: 0 tx_q1_bytes: 0 tx_q2_packets: 0 tx_q2_bytes: 0 tx_q3_packets: 0 tx_q3_bytes: 0 rx_unicast_packets: 0 rx_multicast_packets: 0 rx_broadcast_packets: 0 rx_dropped_packets: 0 rx_unknown_protocol_packets: 0 tx_unicast_packets: 100 tx_multicast_packets: 0 tx_broadcast_packets: 0 tx_dropped_packets: 0 tx_link_down_dropped: 0 rx_crc_errors: 0 rx_illegal_byte_errors: 0 rx_error_bytes: 0 mac_local_errors: 0 mac_remote_errors: 0 rx_length_errors: 0 tx_xon_packets: 0 rx_xon_packets: 0 tx_xoff_packets: 0 rx_xoff_packets: 0 rx_size_64_packets: 0 rx_size_65_to_127_packets: 0 rx_size_128_to_255_packets: 0 rx_size_256_to_511_packets: 0 rx_size_512_to_1023_packets: 0 rx_size_1024_to_1522_packets: 0 rx_size_1523_to_max_packets: 0 rx_undersized_errors: 0 rx_oversize_errors: 0 rx_mac_short_dropped: 0 rx_fragmented_errors: 0 rx_jabber_errors: 0 tx_size_64_packets: 100 tx_size_65_to_127_packets: 0 tx_size_128_to_255_packets: 0 tx_size_256_to_511_packets: 0 tx_size_512_to_1023_packets: 0 tx_size_1024_to_1522_packets: 0 tx_size_1523_to_max_packets: 0 rx_flow_director_atr_match_packets: 0 rx_flow_director_sb_match_packets: 0 tx_low_power_idle_status: 0 rx_low_power_idle_status: 0 tx_low_power_idle_count: 0 rx_low_power_idle_count: 0 rx_priority0_xon_packets: 0 rx_priority1_xon_packets: 0 rx_priority2_xon_packets: 0 rx_priority3_xon_packets: 0 rx_priority4_xon_packets: 0 rx_priority5_xon_packets: 0 rx_priority6_xon_packets: 0 rx_priority7_xon_packets: 0 rx_priority0_xoff_packets: 0 rx_priority1_xoff_packets: 0 rx_priority2_xoff_packets: 0 rx_priority3_xoff_packets: 0 rx_priority4_xoff_packets: 0 rx_priority5_xoff_packets: 0 rx_priority6_xoff_packets: 0 rx_priority7_xoff_packets: 0 tx_priority0_xon_packets: 0 tx_priority1_xon_packets: 0 tx_priority2_xon_packets: 0 tx_priority3_xon_packets: 0 tx_priority4_xon_packets: 0 tx_priority5_xon_packets: 0 tx_priority6_xon_packets: 0 tx_priority7_xon_packets: 0 tx_priority0_xoff_packets: 0 tx_priority1_xoff_packets: 0 tx_priority2_xoff_packets: 0 tx_priority3_xoff_packets: 0 tx_priority4_xoff_packets: 0 tx_priority5_xoff_packets: 0 tx_priority6_xoff_packets: 0 tx_priority7_xoff_packets: 0 tx_priority0_xon_to_xoff_packets: 0 tx_priority1_xon_to_xoff_packets: 0 tx_priority2_xon_to_xoff_packets: 0 tx_priority3_xon_to_xoff_packets: 0 tx_priority4_xon_to_xoff_packets: 0 tx_priority5_xon_to_xoff_packets: 0 tx_priority6_xon_to_xoff_packets: 0 tx_priority7_xon_to_xoff_packets: 0 01/06/2021 10:30:35 dut.172.18.0.20: quit 01/06/2021 10:30:36 dut.172.18.0.20: Stopping port 0... Stopping ports... Done Stopping port 1... Stopping ports... Port 0: link state change event Done Shutting down port 0... Closing ports... Port 0 is closed Done Shutting down port 1... Closing ports... Port 1 is closed Done Bye... 01/06/2021 10:30:36 TestStatsChecks: Test Case test_xstats_check_pf Result PASSED: 01/06/2021 10:30:36 dut.172.18.0.20: kill_all: called by dut and prefix list has value. 01/06/2021 10:30:37 TestStatsChecks: Test Case test_xstats_check_vf Begin 01/06/2021 10:30:37 dut.172.18.0.20: 01/06/2021 10:30:37 tester: 01/06/2021 10:30:37 dut.172.18.0.20: kill_all: called by dut and has no prefix list. 01/06/2021 10:30:42 dut.172.18.0.20: cat /sys/bus/pci/devices/0000\:18\:02.0/vendor 01/06/2021 10:30:42 dut.172.18.0.20: 0x8086 01/06/2021 10:30:42 dut.172.18.0.20: cat /sys/bus/pci/devices/0000\:18\:02.0/device 01/06/2021 10:30:42 dut.172.18.0.20: 0x154c 01/06/2021 10:30:42 dut.172.18.0.20: cat /sys/bus/pci/devices/0000\:18\:02.0/vendor 01/06/2021 10:30:42 dut.172.18.0.20: 0x8086 01/06/2021 10:30:42 dut.172.18.0.20: cat /sys/bus/pci/devices/0000\:18\:02.0/device 01/06/2021 10:30:42 dut.172.18.0.20: 0x154c 01/06/2021 10:30:44 dut.172.18.0.20: x86_64-native-linux-gcc/app/dpdk-testpmd -l 4,5 -n 6 --file-prefix=dpdk_9920_20210601102719 -a 0000:18:02.0 -- -i --rxq=4 --txq=4 01/06/2021 10:30:45 dut.172.18.0.20: EAL: Detected 96 lcore(s) EAL: Detected 2 NUMA nodes EAL: Detected static linkage of DPDK EAL: Multi-process socket /var/run/dpdk/dpdk_9920_20210601102719/mp_socket EAL: Selected IOVA mode 'VA' EAL: VFIO support initialized EAL: Using IOMMU type 1 (Type 1) EAL: Probe PCI driver: net_iavf (8086:154c) device: 0000:18:02.0 (socket 0) TELEMETRY: No legacy callbacks, legacy socket not created Interactive-mode selected testpmd: create a new mbuf pool : n=155456, size=2176, socket=0 testpmd: preferred mempool ops selected: ring_mp_mc Warning! port-topology=paired and odd forward ports number, the last port will pair with itself. Configuring Port 0 (socket 0) iavf_configure_queues(): RXDID[1] is not supported, request default RXDID[1] in Queue[0] iavf_configure_queues(): RXDID[1] is not supported, request default RXDID[1] in Queue[1] iavf_configure_queues(): RXDID[1] is not supported, request default RXDID[1] in Queue[2] iavf_configure_queues(): RXDID[1] is not supported, request default RXDID[1] in Queue[3] 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: A6:02:5E:AA:3C:54 Checking link statuses... Done 01/06/2021 10:30:55 dut.172.18.0.20: port config all rss all 01/06/2021 10:30:55 dut.172.18.0.20: Port 0 modified RSS hash function based on hardware support,requested:0x17f83fffc configured:0x3ffc rss_hf 0x17f83fffc 01/06/2021 10:30:55 dut.172.18.0.20: set fwd mac 01/06/2021 10:30:55 dut.172.18.0.20: Set mac packet forwarding mode 01/06/2021 10:30:55 dut.172.18.0.20: clear port xstats all 01/06/2021 10:30:55 dut.172.18.0.20: 01/06/2021 10:30:55 dut.172.18.0.20: show port xstats 0 01/06/2021 10:30:55 dut.172.18.0.20: ###### NIC extended statistics for port 0 rx_good_packets: 0 tx_good_packets: 0 rx_good_bytes: 0 tx_good_bytes: 0 rx_missed_errors: 0 rx_errors: 0 tx_errors: 0 rx_mbuf_allocation_errors: 0 rx_q0_packets: 0 rx_q0_bytes: 0 rx_q0_errors: 0 rx_q1_packets: 0 rx_q1_bytes: 0 rx_q1_errors: 0 rx_q2_packets: 0 rx_q2_bytes: 0 rx_q2_errors: 0 rx_q3_packets: 0 rx_q3_bytes: 0 rx_q3_errors: 0 tx_q0_packets: 0 tx_q0_bytes: 0 tx_q1_packets: 0 tx_q1_bytes: 0 tx_q2_packets: 0 tx_q2_bytes: 0 tx_q3_packets: 0 tx_q3_bytes: 0 rx_bytes: 0 rx_unicast_packets: 0 rx_multicast_packets: 0 rx_broadcast_packets: 0 rx_dropped_packets: 0 rx_unknown_protocol_packets: 0 tx_bytes: 0 tx_unicast_packets: 0 tx_multicast_packets: 0 tx_broadcast_packets: 0 tx_dropped_packets: 0 tx_error_packets: 0 01/06/2021 10:30:55 dut.172.18.0.20: show port xstats 0 01/06/2021 10:30:55 dut.172.18.0.20: ###### NIC extended statistics for port 0 rx_good_packets: 0 tx_good_packets: 0 rx_good_bytes: 0 tx_good_bytes: 0 rx_missed_errors: 0 rx_errors: 0 tx_errors: 0 rx_mbuf_allocation_errors: 0 rx_q0_packets: 0 rx_q0_bytes: 0 rx_q0_errors: 0 rx_q1_packets: 0 rx_q1_bytes: 0 rx_q1_errors: 0 rx_q2_packets: 0 rx_q2_bytes: 0 rx_q2_errors: 0 rx_q3_packets: 0 rx_q3_bytes: 0 rx_q3_errors: 0 tx_q0_packets: 0 tx_q0_bytes: 0 tx_q1_packets: 0 tx_q1_bytes: 0 tx_q2_packets: 0 tx_q2_bytes: 0 tx_q3_packets: 0 tx_q3_bytes: 0 rx_bytes: 0 rx_unicast_packets: 0 rx_multicast_packets: 0 rx_broadcast_packets: 0 rx_dropped_packets: 0 rx_unknown_protocol_packets: 0 tx_bytes: 0 tx_unicast_packets: 0 tx_multicast_packets: 0 tx_broadcast_packets: 0 tx_dropped_packets: 0 tx_error_packets: 0 01/06/2021 10:30:55 dut.172.18.0.20: start 01/06/2021 10:30:56 dut.172.18.0.20: mac packet forwarding - ports=1 - cores=1 - streams=4 - NUMA support enabled, MP allocation mode: native Logical Core 5 (socket 0) forwards packets on 4 streams: RX P=0/Q=0 (socket 0) -> TX P=0/Q=0 (socket 0) peer=02:00:00:00:00:00 RX P=0/Q=1 (socket 0) -> TX P=0/Q=1 (socket 0) peer=02:00:00:00:00:00 RX P=0/Q=2 (socket 0) -> TX P=0/Q=2 (socket 0) peer=02:00:00:00:00:00 RX P=0/Q=3 (socket 0) -> TX P=0/Q=3 (socket 0) peer=02:00:00:00:00:00 mac packet forwarding packets/burst=32 nb forwarding cores=1 - nb forwarding ports=1 port 0: RX queue number: 4 Tx queue number: 4 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 01/06/2021 10:30:56 dut.172.18.0.20: show port info 0 01/06/2021 10:30:56 dut.172.18.0.20: ********************* Infos for port 0 ********************* MAC address: A6:02:5E:AA:3C:54 Device name: 0000:18:02.0 Driver name: net_iavf Firmware-version: not available Devargs: Connect to socket: 0 memory allocation on the socket: 0 Link status: down Link speed: None 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: 4 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: 4 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 01/06/2021 10:31:06 dut.172.18.0.20: stop 01/06/2021 10:31:06 dut.172.18.0.20: Telling cores to ... 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. 01/06/2021 10:31:06 dut.172.18.0.20: show port xstats 0 01/06/2021 10:31:06 dut.172.18.0.20: ###### NIC extended statistics for port 0 rx_good_packets: 0 tx_good_packets: 0 rx_good_bytes: 0 tx_good_bytes: 0 rx_missed_errors: 0 rx_errors: 0 tx_errors: 0 rx_mbuf_allocation_errors: 0 rx_q0_packets: 0 rx_q0_bytes: 0 rx_q0_errors: 0 rx_q1_packets: 0 rx_q1_bytes: 0 rx_q1_errors: 0 rx_q2_packets: 0 rx_q2_bytes: 0 rx_q2_errors: 0 rx_q3_packets: 0 rx_q3_bytes: 0 rx_q3_errors: 0 tx_q0_packets: 0 tx_q0_bytes: 0 tx_q1_packets: 0 tx_q1_bytes: 0 tx_q2_packets: 0 tx_q2_bytes: 0 tx_q3_packets: 0 tx_q3_bytes: 0 rx_bytes: 0 rx_unicast_packets: 0 rx_multicast_packets: 0 rx_broadcast_packets: 0 rx_dropped_packets: 0 rx_unknown_protocol_packets: 0 tx_bytes: 0 tx_unicast_packets: 0 tx_multicast_packets: 0 tx_broadcast_packets: 0 tx_dropped_packets: 0 tx_error_packets: 0 01/06/2021 10:31:06 dut.172.18.0.20: show port stats 0 01/06/2021 10:31:06 dut.172.18.0.20: ######################## NIC statistics for port 0 ######################## RX-packets: 0 RX-missed: 0 RX-bytes: 0 RX-errors: 0 RX-nombuf: 0 TX-packets: 0 TX-errors: 0 TX-bytes: 0 Throughput (since last show) Rx-pps: 0 Rx-bps: 0 Tx-pps: 0 Tx-bps: 0 ############################################################################ 01/06/2021 10:31:06 TestStatsChecks: Test Case test_xstats_check_vf Result FAILED: 'pkt recieve or transport count error!' 01/06/2021 10:31:06 dut.172.18.0.20: kill_all: called by dut and prefix list has value. 01/06/2021 10:31:09 dut.172.18.0.20: Killed [PEXPECT]# 01/06/2021 10:31:09 dts: TEST SUITE ENDED: TestStatsChecks