16/12/2020 11:31:34 dts: TEST SUITE : TestTSO 16/12/2020 11:31:34 dts: NIC : columbiaville_25gx2 16/12/2020 11:31:34 dut.10.240.183.113: 16/12/2020 11:31:34 tester: 16/12/2020 11:31:34 tester: ifconfig TREX:0 mtu 9000 16/12/2020 11:31:34 tester: SIOCSIFMTU: No such device 16/12/2020 11:31:34 TestTSO: Test Case test_perf_TSO_2ports Begin 16/12/2020 11:31:34 dut.10.240.183.113: 16/12/2020 11:31:35 tester: 16/12/2020 11:31:35 TestTSO: Executing PMD using 1S/1C/2T 16/12/2020 11:31:35 dut.10.240.183.113: x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 28,84 -n 4 -a 0000:af:00.0 -a 0000:af:00.1 --file-prefix=dpdk_2597_20201216112931 -- -i --rxd=512 --txd=512 --burst=32 --rxfreet=64 --mbcache=128 --portmask=0x3 --max-pkt-len=9000 --txpt=36 --txht=0 --txwt=0 --txfreet=32 --txrst=32 16/12/2020 11:31:36 dut.10.240.183.113: EAL: Detected 112 lcore(s) EAL: Detected 2 NUMA nodes EAL: Multi-process socket /var/run/dpdk/dpdk_2597_20201216112931/mp_socket EAL: Selected IOVA mode 'VA' EAL: Probing VFIO support... EAL: VFIO support initialized EAL: using IOMMU type 1 (Type 1) EAL: Probe PCI driver: net_ice (8086:159b) device: 0000:af:00.0 (socket 1) ice_load_pkg_type(): Active package is: 1.3.24.0, ICE COMMS Package EAL: Probe PCI driver: net_ice (8086:159b) device: 0000:af:00.1 (socket 1) ice_load_pkg_type(): Active package is: 1.3.24.0, ICE COMMS Package EAL: No legacy callbacks, legacy socket not created Interactive-mode selected testpmd: create a new mbuf pool : n=151552, size=2176, socket=1 testpmd: preferred mempool ops selected: ring_mp_mc Configuring Port 0 (socket 1) Port 0: 00:00:00:00:01:00 Configuring Port 1 (socket 1) Port 1: 00:00:00:00:01:01 Checking link statuses... Done 16/12/2020 11:31:36 dut.10.240.183.113: port stop all 16/12/2020 11:31:36 dut.10.240.183.113: Stopping ports... Checking link statuses... Done 16/12/2020 11:31:36 dut.10.240.183.113: csum set ip hw 0 16/12/2020 11:31:36 dut.10.240.183.113: Parse tunnel is off IP checksum offload is hw UDP checksum offload is sw TCP checksum offload is sw SCTP checksum offload is sw Outer-Ip checksum offload is sw Outer-Udp checksum offload is sw 16/12/2020 11:31:36 dut.10.240.183.113: csum set udp hw 0 16/12/2020 11:31:36 dut.10.240.183.113: Parse tunnel is off IP checksum offload is hw UDP checksum offload is hw TCP checksum offload is sw SCTP checksum offload is sw Outer-Ip checksum offload is sw Outer-Udp checksum offload is sw 16/12/2020 11:31:36 dut.10.240.183.113: csum set tcp hw 0 16/12/2020 11:31:36 dut.10.240.183.113: Parse tunnel is off IP checksum offload is hw UDP checksum offload is hw TCP checksum offload is hw SCTP checksum offload is sw Outer-Ip checksum offload is sw Outer-Udp checksum offload is sw 16/12/2020 11:31:36 dut.10.240.183.113: csum set sctp hw 0 16/12/2020 11:31:37 dut.10.240.183.113: Parse tunnel is off IP checksum offload is hw UDP checksum offload is hw TCP checksum offload is hw SCTP checksum offload is hw Outer-Ip checksum offload is sw Outer-Udp checksum offload is sw 16/12/2020 11:31:37 dut.10.240.183.113: csum set outer-ip hw 0 16/12/2020 11:31:37 dut.10.240.183.113: Parse tunnel is off IP checksum offload is hw UDP checksum offload is hw TCP checksum offload is hw SCTP checksum offload is hw Outer-Ip checksum offload is hw Outer-Udp checksum offload is sw 16/12/2020 11:31:37 dut.10.240.183.113: csum parse-tunnel on 0 16/12/2020 11:31:37 dut.10.240.183.113: Parse tunnel is on IP checksum offload is hw UDP checksum offload is hw TCP checksum offload is hw SCTP checksum offload is hw Outer-Ip checksum offload is hw Outer-Udp checksum offload is sw 16/12/2020 11:31:37 dut.10.240.183.113: csum set ip hw 1 16/12/2020 11:31:37 dut.10.240.183.113: Parse tunnel is off IP checksum offload is hw UDP checksum offload is sw TCP checksum offload is sw SCTP checksum offload is sw Outer-Ip checksum offload is sw Outer-Udp checksum offload is sw 16/12/2020 11:31:37 dut.10.240.183.113: csum set udp hw 1 16/12/2020 11:31:37 dut.10.240.183.113: Parse tunnel is off IP checksum offload is hw UDP checksum offload is hw TCP checksum offload is sw SCTP checksum offload is sw Outer-Ip checksum offload is sw Outer-Udp checksum offload is sw 16/12/2020 11:31:37 dut.10.240.183.113: csum set tcp hw 1 16/12/2020 11:31:37 dut.10.240.183.113: Parse tunnel is off IP checksum offload is hw UDP checksum offload is hw TCP checksum offload is hw SCTP checksum offload is sw Outer-Ip checksum offload is sw Outer-Udp checksum offload is sw 16/12/2020 11:31:37 dut.10.240.183.113: csum set sctp hw 1 16/12/2020 11:31:37 dut.10.240.183.113: Parse tunnel is off IP checksum offload is hw UDP checksum offload is hw TCP checksum offload is hw SCTP checksum offload is hw Outer-Ip checksum offload is sw Outer-Udp checksum offload is sw 16/12/2020 11:31:37 dut.10.240.183.113: csum set outer-ip hw 1 16/12/2020 11:31:37 dut.10.240.183.113: Parse tunnel is off IP checksum offload is hw UDP checksum offload is hw TCP checksum offload is hw SCTP checksum offload is hw Outer-Ip checksum offload is hw Outer-Udp checksum offload is sw 16/12/2020 11:31:37 dut.10.240.183.113: csum parse-tunnel on 1 16/12/2020 11:31:37 dut.10.240.183.113: Parse tunnel is on IP checksum offload is hw UDP checksum offload is hw TCP checksum offload is hw SCTP checksum offload is hw Outer-Ip checksum offload is hw Outer-Udp checksum offload is sw 16/12/2020 11:31:37 dut.10.240.183.113: tso set 800 1 16/12/2020 11:31:37 dut.10.240.183.113: TSO segment size for non-tunneled packets is 800 16/12/2020 11:31:37 dut.10.240.183.113: set fwd csum 16/12/2020 11:31:37 dut.10.240.183.113: Set csum packet forwarding mode 16/12/2020 11:31:37 dut.10.240.183.113: port start all 16/12/2020 11:31:37 dut.10.240.183.113: Configuring Port 0 (socket 1) Port 0: 00:00:00:00:01:00 Configuring Port 1 (socket 1) Port 1: 00:00:00:00:01:01 Checking link statuses... Done 16/12/2020 11:31:37 dut.10.240.183.113: set promisc all off 16/12/2020 11:31:37 dut.10.240.183.113: 16/12/2020 11:31:37 dut.10.240.183.113: start 16/12/2020 11:31:37 dut.10.240.183.113: csum packet forwarding - ports=2 - cores=1 - streams=2 - NUMA support enabled, MP allocation mode: native Logical Core 84 (socket 1) forwards packets on 2 streams: RX P=0/Q=0 (socket 1) -> TX P=1/Q=0 (socket 1) peer=02:00:00:00:00:01 RX P=1/Q=0 (socket 1) -> TX P=0/Q=0 (socket 1) peer=02:00:00:00:00:00 csum 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=0x800 Tx offloads=0x1009e RX queue: 0 RX desc=512 - RX free threshold=64 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=36 hthresh=0 wthresh=0 TX offloads=0x1009e - TX RS bit threshold=32 port 1: RX queue number: 1 Tx queue number: 1 Rx offloads=0x800 Tx offloads=0x100be RX queue: 0 RX desc=512 - RX free threshold=64 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=36 hthresh=0 wthresh=0 TX offloads=0x100be - TX RS bit threshold=32 16/12/2020 11:31:37 TestTSO: Running with frame size 186 16/12/2020 11:31:37 tester: scapy 16/12/2020 11:31:38 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(). INFO: Can't import python-cryptography v1.7+. Disabled WEP decryption/encryption. (Dot11) INFO: Can't import python-cryptography v1.7+. Disabled IPsec encryption/authentication. 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 git-archive.dev3047580162  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 | We are in France, we say Skappee.  scccccp///pSP///p p//Y | OK? Merci.  sY/////////y caa S//P | -- Sebastien Chabal  cayCyayP//Ya pY/Ya |  sY/PsY////YCc aC//Yp   sc sccaCY//PCypaapyCP//YSs   spCPY//////YPSps   ccaacs    16/12/2020 11:31:40 tester: wrpcap("/home/lingwei/dts_1216/output/dts0.pcap", [Ether(dst="00:00:00:00:01:00",src="52:00:00:00:00:01")/IP(src="192.168.1.1",dst="192.168.1.2")/TCP(sport=1021,dport=1021)/("X"*128)]) 16/12/2020 11:31:40 tester:  16/12/2020 11:31:40 tester: wrpcap("/home/lingwei/dts_1216/output/dts1.pcap", [Ether(dst="00:00:00:00:01:01",src="52:00:00:00:00:01")/IP(src="192.168.1.1",dst="192.168.1.2")/TCP(sport=1021,dport=1021)/("X"*128)]) 16/12/2020 11:31:40 tester:  16/12/2020 11:31:42 tester: exit() 16/12/2020 11:31:42 tester: 16/12/2020 11:31:42 pktgen: test port 0 map gen port 0 16/12/2020 11:31:42 pktgen: test port 1 map gen port 1 16/12/2020 11:31:42 pktgen: test port 1 map gen port 1 16/12/2020 11:31:42 pktgen: test port 0 map gen port 0 16/12/2020 11:31:42 pktgen: {'arp': '-', 'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15], 'description': 'Ethernet Controller XXV710 for 25GbE SFP28', 'dest': '00:00:00:00:01:01', 'driver': 'net_i40e', 'fc': 'none', 'fc_supported': 'no', 'grat_arp': 'off', 'hw_mac': '3c:fd:fe:cf:30:b0', 'index': 1, 'ipv6': 'off', 'is_fc_supported': False, 'is_led_supported': True, 'is_link_supported': True, 'is_prom_supported': True, 'is_virtual': 'no', 'is_vxlan_supported': 'yes', 'layer_mode': 'Ethernet', 'led_change_supported': 'yes', 'link': 'UP', 'link_change_supported': 'yes', 'mult': 'off', 'numa': 0, 'pci_addr': '0000:1a:00.0', 'prom': 'off', 'prom_supported': 'yes', 'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127}, 'rx_filter_mode': 'hardware match', 'rx_queue': 'off', 'speed': 25.0, 'src_ipv4': '-', 'src_mac': '3c:fd:fe:cf:30:b0', 'stack': 'legacy', 'status': 'IDLE', 'supp_speeds': [25000], 'vlan': '-', 'vxlan_fs': '-'} 16/12/2020 11:31:42 pktgen: trex port <1> not support flow control 16/12/2020 11:31:42 pktgen: check the trex port link status 16/12/2020 11:31:42 pktgen: {'arp': '-', 'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15], 'description': 'Ethernet Controller XXV710 for 25GbE SFP28', 'dest': '00:00:00:00:01:00', 'driver': 'net_i40e', 'fc': 'none', 'fc_supported': 'no', 'grat_arp': 'off', 'hw_mac': '3c:fd:fe:cf:31:ac', 'index': 0, 'ipv6': 'off', 'is_fc_supported': False, 'is_led_supported': True, 'is_link_supported': True, 'is_prom_supported': True, 'is_virtual': 'no', 'is_vxlan_supported': 'yes', 'layer_mode': 'Ethernet', 'led_change_supported': 'yes', 'link': 'UP', 'link_change_supported': 'yes', 'mult': 'off', 'numa': 0, 'pci_addr': '0000:18:00.0', 'prom': 'on', 'prom_supported': 'yes', 'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127}, 'rx_filter_mode': 'hardware match', 'rx_queue': 'off', 'speed': 25.0, 'src_ipv4': '-', 'src_mac': '3c:fd:fe:cf:31:ac', 'stack': 'legacy', 'status': 'IDLE', 'supp_speeds': [25000], 'vlan': '-', 'vxlan_fs': '-'} 16/12/2020 11:31:42 pktgen: {'arp': '-', 'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15], 'description': 'Ethernet Controller XXV710 for 25GbE SFP28', 'dest': '00:00:00:00:01:01', 'driver': 'net_i40e', 'fc': 'none', 'fc_supported': 'no', 'grat_arp': 'off', 'hw_mac': '3c:fd:fe:cf:30:b0', 'index': 1, 'ipv6': 'off', 'is_fc_supported': False, 'is_led_supported': True, 'is_link_supported': True, 'is_prom_supported': True, 'is_virtual': 'no', 'is_vxlan_supported': 'yes', 'layer_mode': 'Ethernet', 'led_change_supported': 'yes', 'link': 'UP', 'link_change_supported': 'yes', 'mult': 'off', 'numa': 0, 'pci_addr': '0000:1a:00.0', 'prom': 'on', 'prom_supported': 'yes', 'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127}, 'rx_filter_mode': 'hardware match', 'rx_queue': 'off', 'speed': 25.0, 'src_ipv4': '-', 'src_mac': '3c:fd:fe:cf:30:b0', 'stack': 'legacy', 'status': 'IDLE', 'supp_speeds': [25000], 'vlan': '-', 'vxlan_fs': '-'} 16/12/2020 11:31:42 pktgen: begin traffic ...... 16/12/2020 11:31:42 pktgen: {'ports': [0, 1], 'mult': '100%', 'core_mask': None, 'force': True} 16/12/2020 11:31:52 pktgen: begin get port statistic ... 16/12/2020 11:31:52 pktgen: {'options': {'pcap': '/home/lingwei/dts_1216/output/dts0.pcap', 'stream_config': {'rate': 100, 'transmit_mode': 'continuous', 'txmode': {}}}, 'pcap_file': '/home/lingwei/dts_1216/output/dts0.pcap', 'rx_port': 1, 'tx_port': 0} 16/12/2020 11:31:52 pktgen: {0: {'ibytes': 12703929456, 'ierrors': 0, 'ipackets': 68300704, 'obytes': 28241290098, 'oerrors': 0, 'opackets': 151834914, 'rx_bps': 10109881344.0, 'rx_bps_L1': 11196966304.000002, 'rx_pps': 6794281.0, 'rx_util': 44.78786521600001, 'tx_bps': 22481778688.0, 'tx_bps_L1': 24899174688.0, 'tx_pps': 15108725.0, 'tx_util': 99.596698752}, 1: {'ibytes': 12704242494, 'ierrors': 0, 'ipackets': 68302395, 'obytes': 28242073158, 'oerrors': 0, 'opackets': 151839111, 'rx_bps': 10109873152.0, 'rx_bps_L1': 11196955872.0, 'rx_pps': 6794267.0, 'rx_util': 44.787823488, 'tx_bps': 22481876992.0, 'tx_bps_L1': 24899282752.0, 'tx_pps': 15108786.0, 'tx_util': 99.59713100799999}, 'flow_stats': {}, 'global': {'active_flows': 0.0, 'active_sockets': 0, 'bw_per_core': 8.199995040893555, 'cpu_util': 68.54219818115234, 'cpu_util_raw': 74.6875, 'open_flows': 0.0, 'platform_factor': 1.0, 'queue_full': 92074530, 'rx_bps': 20219754496.0, 'rx_core_pps': 0.0, 'rx_cpu_util': 0.0, 'rx_drop_bps': 24743903232.0, 'rx_pps': 13588548.0, 'socket_util': 0.0, 'total_alloc_error': 0, 'total_clients': 0, 'total_servers': 0, 'tx_bps': 44963655680.0, 'tx_cps': 0.0, 'tx_expected_bps': 0.0, 'tx_expected_cps': 0.0, 'tx_expected_pps': 0.0, 'tx_pps': 30217512.0}, 'latency': {'global': {'bad_hdr': 0, 'old_flow': 0}}, 'total': {'ibytes': 25408171950, 'ierrors': 0, 'ipackets': 136603099, 'obytes': 56483363256, 'oerrors': 0, 'opackets': 303674025, 'rx_bps': 20219754496.0, 'rx_bps_L1': 22393922176.0, 'rx_pps': 13588548.0, 'rx_util': 89.57568870400002, 'tx_bps': 44963655680.0, 'tx_bps_L1': 49798457440.0, 'tx_pps': 30217511.0, 'tx_util': 199.19382975999997}} 16/12/2020 11:31:52 pktgen: {'ibytes': 12703929456, 'ierrors': 0, 'ipackets': 68300704, 'obytes': 28241290098, 'oerrors': 0, 'opackets': 151834914, 'rx_bps': 10109881344.0, 'rx_bps_L1': 11196966304.000002, 'rx_pps': 6794281.0, 'rx_util': 44.78786521600001, 'tx_bps': 22481778688.0, 'tx_bps_L1': 24899174688.0, 'tx_pps': 15108725.0, 'tx_util': 99.596698752} 16/12/2020 11:31:52 pktgen: Tx Port 0 stats: tx_port: 0, tx_bps: 22481778688.000000, tx_pps: 15108725.000000 16/12/2020 11:31:52 pktgen: {'ibytes': 12704242494, 'ierrors': 0, 'ipackets': 68302395, 'obytes': 28242073158, 'oerrors': 0, 'opackets': 151839111, 'rx_bps': 10109873152.0, 'rx_bps_L1': 11196955872.0, 'rx_pps': 6794267.0, 'rx_util': 44.787823488, 'tx_bps': 22481876992.0, 'tx_bps_L1': 24899282752.0, 'tx_pps': 15108786.0, 'tx_util': 99.59713100799999} 16/12/2020 11:31:52 pktgen: Rx Port 1 stats: rx_port: 1, rx_bps: 10109873152.000000, rx_pps: 6794267.000000 16/12/2020 11:31:52 pktgen: {'options': {'pcap': '/home/lingwei/dts_1216/output/dts1.pcap', 'stream_config': {'rate': 100, 'transmit_mode': 'continuous', 'txmode': {}}}, 'pcap_file': '/home/lingwei/dts_1216/output/dts1.pcap', 'rx_port': 0, 'tx_port': 1} 16/12/2020 11:31:52 pktgen: {0: {'ibytes': 12709323456, 'ierrors': 0, 'ipackets': 68329707, 'obytes': 28253286354, 'oerrors': 0, 'opackets': 151899399, 'rx_bps': 10109881344.0, 'rx_bps_L1': 11196966304.000002, 'rx_pps': 6794281.0, 'rx_util': 44.78786521600001, 'tx_bps': 22481778688.0, 'tx_bps_L1': 24899174688.0, 'tx_pps': 15108725.0, 'tx_util': 99.596698752}, 1: {'ibytes': 12709638912, 'ierrors': 0, 'ipackets': 68331392, 'obytes': 28254065880, 'oerrors': 0, 'opackets': 151903594, 'rx_bps': 10109873152.0, 'rx_bps_L1': 11196955872.0, 'rx_pps': 6794267.0, 'rx_util': 44.787823488, 'tx_bps': 22481876992.0, 'tx_bps_L1': 24899282752.0, 'tx_pps': 15108786.0, 'tx_util': 99.59713100799999}, 'flow_stats': {}, 'global': {'active_flows': 0.0, 'active_sockets': 0, 'bw_per_core': 8.199995040893555, 'cpu_util': 68.54219818115234, 'cpu_util_raw': 74.6875, 'open_flows': 0.0, 'platform_factor': 1.0, 'queue_full': 92113436, 'rx_bps': 20219754496.0, 'rx_core_pps': 0.0, 'rx_cpu_util': 0.0, 'rx_drop_bps': 24743903232.0, 'rx_pps': 13588548.0, 'socket_util': 0.0, 'total_alloc_error': 0, 'total_clients': 0, 'total_servers': 0, 'tx_bps': 44963655680.0, 'tx_cps': 0.0, 'tx_expected_bps': 0.0, 'tx_expected_cps': 0.0, 'tx_expected_pps': 0.0, 'tx_pps': 30217512.0}, 'latency': {'global': {'bad_hdr': 0, 'old_flow': 0}}, 'total': {'ibytes': 25418962368, 'ierrors': 0, 'ipackets': 136661099, 'obytes': 56507352234, 'oerrors': 0, 'opackets': 303802993, 'rx_bps': 20219754496.0, 'rx_bps_L1': 22393922176.0, 'rx_pps': 13588548.0, 'rx_util': 89.57568870400002, 'tx_bps': 44963655680.0, 'tx_bps_L1': 49798457440.0, 'tx_pps': 30217511.0, 'tx_util': 199.19382975999997}} 16/12/2020 11:31:52 pktgen: {'ibytes': 12709638912, 'ierrors': 0, 'ipackets': 68331392, 'obytes': 28254065880, 'oerrors': 0, 'opackets': 151903594, 'rx_bps': 10109873152.0, 'rx_bps_L1': 11196955872.0, 'rx_pps': 6794267.0, 'rx_util': 44.787823488, 'tx_bps': 22481876992.0, 'tx_bps_L1': 24899282752.0, 'tx_pps': 15108786.0, 'tx_util': 99.59713100799999} 16/12/2020 11:31:52 pktgen: Tx Port 1 stats: tx_port: 1, tx_bps: 22481876992.000000, tx_pps: 15108786.000000 16/12/2020 11:31:52 pktgen: {'ibytes': 12709323456, 'ierrors': 0, 'ipackets': 68329707, 'obytes': 28253286354, 'oerrors': 0, 'opackets': 151899399, 'rx_bps': 10109881344.0, 'rx_bps_L1': 11196966304.000002, 'rx_pps': 6794281.0, 'rx_util': 44.78786521600001, 'tx_bps': 22481778688.0, 'tx_bps_L1': 24899174688.0, 'tx_pps': 15108725.0, 'tx_util': 99.596698752} 16/12/2020 11:31:52 pktgen: Rx Port 0 stats: rx_port: 0, rx_bps: 10109881344.000000, rx_pps: 6794281.000000 16/12/2020 11:31:52 pktgen: throughput: pps_rx 13588548.000000, bps_rx 20219754496.000000 16/12/2020 11:31:52 pktgen: traffic completed. 16/12/2020 11:31:52 TestTSO: Running with frame size 858 16/12/2020 11:31:52 tester: scapy 16/12/2020 11:31:52 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(). INFO: Can't import python-cryptography v1.7+. Disabled WEP decryption/encryption. (Dot11) INFO: Can't import python-cryptography v1.7+. Disabled IPsec encryption/authentication. 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 git-archive.dev3047580162  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 | Wanna support ? Rate it on  scccccp///pSP///p p//Y | sectools!  sY/////////y caa S//P | http://sectools.org/tool//  cayCyayP//Ya pY/Ya | -- Satoshi Nakamoto  sY/PsY////YCc aC//Yp  |  sc sccaCY//PCypaapyCP//YSs   spCPY//////YPSps   ccaacs    16/12/2020 11:31:54 tester: wrpcap("/home/lingwei/dts_1216/output/dts0.pcap", [Ether(dst="00:00:00:00:01:00",src="52:00:00:00:00:01")/IP(src="192.168.1.1",dst="192.168.1.2")/TCP(sport=1021,dport=1021)/("X"*800)]) 16/12/2020 11:31:54 tester:  16/12/2020 11:31:54 tester: wrpcap("/home/lingwei/dts_1216/output/dts1.pcap", [Ether(dst="00:00:00:00:01:01",src="52:00:00:00:00:01")/IP(src="192.168.1.1",dst="192.168.1.2")/TCP(sport=1021,dport=1021)/("X"*800)]) 16/12/2020 11:31:54 tester:  16/12/2020 11:31:56 tester: exit() 16/12/2020 11:31:56 tester: 16/12/2020 11:31:56 pktgen: test port 0 map gen port 0 16/12/2020 11:31:56 pktgen: test port 1 map gen port 1 16/12/2020 11:31:56 pktgen: test port 1 map gen port 1 16/12/2020 11:31:56 pktgen: test port 0 map gen port 0 16/12/2020 11:31:56 pktgen: test port 0 map gen port 0 16/12/2020 11:31:56 pktgen: test port 1 map gen port 1 16/12/2020 11:31:56 pktgen: test port 1 map gen port 1 16/12/2020 11:31:56 pktgen: test port 0 map gen port 0 16/12/2020 11:31:56 pktgen: {'arp': '-', 'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15], 'description': 'Ethernet Controller XXV710 for 25GbE SFP28', 'dest': '00:00:00:00:01:01', 'driver': 'net_i40e', 'fc': 'none', 'fc_supported': 'no', 'grat_arp': 'off', 'hw_mac': '3c:fd:fe:cf:30:b0', 'index': 1, 'ipv6': 'off', 'is_fc_supported': False, 'is_led_supported': True, 'is_link_supported': True, 'is_prom_supported': True, 'is_virtual': 'no', 'is_vxlan_supported': 'yes', 'layer_mode': 'Ethernet', 'led_change_supported': 'yes', 'link': 'UP', 'link_change_supported': 'yes', 'mult': 'off', 'numa': 0, 'pci_addr': '0000:1a:00.0', 'prom': 'off', 'prom_supported': 'yes', 'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127}, 'rx_filter_mode': 'hardware match', 'rx_queue': 'off', 'speed': 25.0, 'src_ipv4': '-', 'src_mac': '3c:fd:fe:cf:30:b0', 'stack': 'legacy', 'status': 'IDLE', 'supp_speeds': [25000], 'vlan': '-', 'vxlan_fs': '-'} 16/12/2020 11:31:56 pktgen: trex port <1> not support flow control 16/12/2020 11:31:56 pktgen: check the trex port link status 16/12/2020 11:31:56 pktgen: {'arp': '-', 'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15], 'description': 'Ethernet Controller XXV710 for 25GbE SFP28', 'dest': '00:00:00:00:01:00', 'driver': 'net_i40e', 'fc': 'none', 'fc_supported': 'no', 'grat_arp': 'off', 'hw_mac': '3c:fd:fe:cf:31:ac', 'index': 0, 'ipv6': 'off', 'is_fc_supported': False, 'is_led_supported': True, 'is_link_supported': True, 'is_prom_supported': True, 'is_virtual': 'no', 'is_vxlan_supported': 'yes', 'layer_mode': 'Ethernet', 'led_change_supported': 'yes', 'link': 'UP', 'link_change_supported': 'yes', 'mult': 'off', 'numa': 0, 'pci_addr': '0000:18:00.0', 'prom': 'on', 'prom_supported': 'yes', 'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127}, 'rx_filter_mode': 'hardware match', 'rx_queue': 'off', 'speed': 25.0, 'src_ipv4': '-', 'src_mac': '3c:fd:fe:cf:31:ac', 'stack': 'legacy', 'status': 'IDLE', 'supp_speeds': [25000], 'vlan': '-', 'vxlan_fs': '-'} 16/12/2020 11:31:56 pktgen: {'arp': '-', 'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15], 'description': 'Ethernet Controller XXV710 for 25GbE SFP28', 'dest': '00:00:00:00:01:01', 'driver': 'net_i40e', 'fc': 'none', 'fc_supported': 'no', 'grat_arp': 'off', 'hw_mac': '3c:fd:fe:cf:30:b0', 'index': 1, 'ipv6': 'off', 'is_fc_supported': False, 'is_led_supported': True, 'is_link_supported': True, 'is_prom_supported': True, 'is_virtual': 'no', 'is_vxlan_supported': 'yes', 'layer_mode': 'Ethernet', 'led_change_supported': 'yes', 'link': 'UP', 'link_change_supported': 'yes', 'mult': 'off', 'numa': 0, 'pci_addr': '0000:1a:00.0', 'prom': 'on', 'prom_supported': 'yes', 'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127}, 'rx_filter_mode': 'hardware match', 'rx_queue': 'off', 'speed': 25.0, 'src_ipv4': '-', 'src_mac': '3c:fd:fe:cf:30:b0', 'stack': 'legacy', 'status': 'IDLE', 'supp_speeds': [25000], 'vlan': '-', 'vxlan_fs': '-'} 16/12/2020 11:31:57 pktgen: begin traffic ...... 16/12/2020 11:31:57 pktgen: {'ports': [0, 1], 'mult': '100%', 'core_mask': None, 'force': True} 16/12/2020 11:32:07 pktgen: begin get port statistic ... 16/12/2020 11:32:07 pktgen: {'options': {'pcap': '/home/lingwei/dts_1216/output/dts0.pcap', 'stream_config': {'rate': 100, 'transmit_mode': 'continuous', 'txmode': {}}}, 'pcap_file': '/home/lingwei/dts_1216/output/dts0.pcap', 'rx_port': 1, 'tx_port': 0} 16/12/2020 11:32:07 pktgen: {0: {'ibytes': 30572707308, 'ierrors': 0, 'ipackets': 35632530, 'obytes': 30577887912, 'oerrors': 0, 'opackets': 35638569, 'rx_bps': 24398501888.0, 'rx_bps_L1': 24967278448.0, 'rx_pps': 3554853.5, 'rx_util': 99.869113792, 'tx_bps': 24399085568.0, 'tx_bps_L1': 24967932928.0, 'tx_pps': 3555296.0, 'tx_util': 99.871731712}, 1: {'ibytes': 30578690142, 'ierrors': 0, 'ipackets': 35639503, 'obytes': 30573341370, 'oerrors': 0, 'opackets': 35633269, 'rx_bps': 24398397440.0, 'rx_bps_L1': 24967171520.0, 'rx_pps': 3554838.0, 'rx_util': 99.86868608, 'tx_bps': 24399161344.0, 'tx_bps_L1': 24968010624.0, 'tx_pps': 3555308.0, 'tx_util': 99.872042496}, 'flow_stats': {}, 'global': {'active_flows': 0.0, 'active_sockets': 0, 'bw_per_core': 37.65301513671875, 'cpu_util': 16.199979782104492, 'cpu_util_raw': 16.8125, 'open_flows': 0.0, 'platform_factor': 1.0, 'queue_full': 16481656, 'rx_bps': 48796897280.0, 'rx_core_pps': 0.0, 'rx_cpu_util': 0.0, 'rx_drop_bps': 0.0, 'rx_pps': 7109691.5, 'socket_util': 0.0, 'total_alloc_error': 0, 'total_clients': 0, 'total_servers': 0, 'tx_bps': 48798248960.0, 'tx_cps': 0.0, 'tx_expected_bps': 0.0, 'tx_expected_cps': 0.0, 'tx_expected_pps': 0.0, 'tx_pps': 7110604.0}, 'latency': {'global': {'bad_hdr': 0, 'old_flow': 0}}, 'total': {'ibytes': 61151397450, 'ierrors': 0, 'ipackets': 71272033, 'obytes': 61151229282, 'oerrors': 0, 'opackets': 71271838, 'rx_bps': 48796899328.0, 'rx_bps_L1': 49934449968.0, 'rx_pps': 7109691.5, 'rx_util': 199.73779987199998, 'tx_bps': 48798246912.0, 'tx_bps_L1': 49935943552.0, 'tx_pps': 7110604.0, 'tx_util': 199.743774208}} 16/12/2020 11:32:07 pktgen: {'ibytes': 30572707308, 'ierrors': 0, 'ipackets': 35632530, 'obytes': 30577887912, 'oerrors': 0, 'opackets': 35638569, 'rx_bps': 24398501888.0, 'rx_bps_L1': 24967278448.0, 'rx_pps': 3554853.5, 'rx_util': 99.869113792, 'tx_bps': 24399085568.0, 'tx_bps_L1': 24967932928.0, 'tx_pps': 3555296.0, 'tx_util': 99.871731712} 16/12/2020 11:32:07 pktgen: Tx Port 0 stats: tx_port: 0, tx_bps: 24399085568.000000, tx_pps: 3555296.000000 16/12/2020 11:32:07 pktgen: {'ibytes': 30578690142, 'ierrors': 0, 'ipackets': 35639503, 'obytes': 30573341370, 'oerrors': 0, 'opackets': 35633269, 'rx_bps': 24398397440.0, 'rx_bps_L1': 24967171520.0, 'rx_pps': 3554838.0, 'rx_util': 99.86868608, 'tx_bps': 24399161344.0, 'tx_bps_L1': 24968010624.0, 'tx_pps': 3555308.0, 'tx_util': 99.872042496} 16/12/2020 11:32:07 pktgen: Rx Port 1 stats: rx_port: 1, rx_bps: 24398397440.000000, rx_pps: 3554838.000000 16/12/2020 11:32:07 pktgen: {'options': {'pcap': '/home/lingwei/dts_1216/output/dts1.pcap', 'stream_config': {'rate': 100, 'transmit_mode': 'continuous', 'txmode': {}}}, 'pcap_file': '/home/lingwei/dts_1216/output/dts1.pcap', 'rx_port': 0, 'tx_port': 1} 16/12/2020 11:32:07 pktgen: {0: {'ibytes': 30585134580, 'ierrors': 0, 'ipackets': 35647014, 'obytes': 30590316042, 'oerrors': 0, 'opackets': 35653053, 'rx_bps': 24398501888.0, 'rx_bps_L1': 24967278448.0, 'rx_pps': 3554853.5, 'rx_util': 99.869113792, 'tx_bps': 24399085568.0, 'tx_bps_L1': 24967932928.0, 'tx_pps': 3555296.0, 'tx_util': 99.871731712}, 1: {'ibytes': 30591115698, 'ierrors': 0, 'ipackets': 35653984, 'obytes': 30585766926, 'oerrors': 0, 'opackets': 35647752, 'rx_bps': 24398397440.0, 'rx_bps_L1': 24967171520.0, 'rx_pps': 3554838.0, 'rx_util': 99.86868608, 'tx_bps': 24399161344.0, 'tx_bps_L1': 24968010624.0, 'tx_pps': 3555308.0, 'tx_util': 99.872042496}, 'flow_stats': {}, 'global': {'active_flows': 0.0, 'active_sockets': 0, 'bw_per_core': 37.65301513671875, 'cpu_util': 16.199979782104492, 'cpu_util_raw': 16.8125, 'open_flows': 0.0, 'platform_factor': 1.0, 'queue_full': 16489929, 'rx_bps': 48796897280.0, 'rx_core_pps': 0.0, 'rx_cpu_util': 0.0, 'rx_drop_bps': 0.0, 'rx_pps': 7109691.5, 'socket_util': 0.0, 'total_alloc_error': 0, 'total_clients': 0, 'total_servers': 0, 'tx_bps': 48798248960.0, 'tx_cps': 0.0, 'tx_expected_bps': 0.0, 'tx_expected_cps': 0.0, 'tx_expected_pps': 0.0, 'tx_pps': 7110604.0}, 'latency': {'global': {'bad_hdr': 0, 'old_flow': 0}}, 'total': {'ibytes': 61176250278, 'ierrors': 0, 'ipackets': 71300998, 'obytes': 61176082968, 'oerrors': 0, 'opackets': 71300805, 'rx_bps': 48796899328.0, 'rx_bps_L1': 49934449968.0, 'rx_pps': 7109691.5, 'rx_util': 199.73779987199998, 'tx_bps': 48798246912.0, 'tx_bps_L1': 49935943552.0, 'tx_pps': 7110604.0, 'tx_util': 199.743774208}} 16/12/2020 11:32:07 pktgen: {'ibytes': 30591115698, 'ierrors': 0, 'ipackets': 35653984, 'obytes': 30585766926, 'oerrors': 0, 'opackets': 35647752, 'rx_bps': 24398397440.0, 'rx_bps_L1': 24967171520.0, 'rx_pps': 3554838.0, 'rx_util': 99.86868608, 'tx_bps': 24399161344.0, 'tx_bps_L1': 24968010624.0, 'tx_pps': 3555308.0, 'tx_util': 99.872042496} 16/12/2020 11:32:07 pktgen: Tx Port 1 stats: tx_port: 1, tx_bps: 24399161344.000000, tx_pps: 3555308.000000 16/12/2020 11:32:07 pktgen: {'ibytes': 30585134580, 'ierrors': 0, 'ipackets': 35647014, 'obytes': 30590316042, 'oerrors': 0, 'opackets': 35653053, 'rx_bps': 24398501888.0, 'rx_bps_L1': 24967278448.0, 'rx_pps': 3554853.5, 'rx_util': 99.869113792, 'tx_bps': 24399085568.0, 'tx_bps_L1': 24967932928.0, 'tx_pps': 3555296.0, 'tx_util': 99.871731712} 16/12/2020 11:32:07 pktgen: Rx Port 0 stats: rx_port: 0, rx_bps: 24398501888.000000, rx_pps: 3554853.500000 16/12/2020 11:32:07 pktgen: throughput: pps_rx 7109691.500000, bps_rx 48796899328.000000 16/12/2020 11:32:07 pktgen: traffic completed. 16/12/2020 11:32:07 TestTSO: Running with frame size 859 16/12/2020 11:32:07 tester: scapy 16/12/2020 11:32:07 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(). INFO: Can't import python-cryptography v1.7+. Disabled WEP decryption/encryption. (Dot11) INFO: Can't import python-cryptography v1.7+. Disabled IPsec encryption/authentication. 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 git-archive.dev3047580162  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 me if you can.  scccccp///pSP///p p//Y | -- IPv6 layer  sY/////////y caa S//P |  cayCyayP//Ya pY/Ya  sY/PsY////YCc aC//Yp   sc sccaCY//PCypaapyCP//YSs   spCPY//////YPSps   ccaacs    16/12/2020 11:32:09 tester: wrpcap("/home/lingwei/dts_1216/output/dts0.pcap", [Ether(dst="00:00:00:00:01:00",src="52:00:00:00:00:01")/IP(src="192.168.1.1",dst="192.168.1.2")/TCP(sport=1021,dport=1021)/("X"*801)]) 16/12/2020 11:32:09 tester:  16/12/2020 11:32:09 tester: wrpcap("/home/lingwei/dts_1216/output/dts1.pcap", [Ether(dst="00:00:00:00:01:01",src="52:00:00:00:00:01")/IP(src="192.168.1.1",dst="192.168.1.2")/TCP(sport=1021,dport=1021)/("X"*801)]) 16/12/2020 11:32:09 tester:  16/12/2020 11:32:11 tester: exit() 16/12/2020 11:32:11 tester: 16/12/2020 11:32:11 pktgen: test port 0 map gen port 0 16/12/2020 11:32:11 pktgen: test port 1 map gen port 1 16/12/2020 11:32:11 pktgen: test port 1 map gen port 1 16/12/2020 11:32:11 pktgen: test port 0 map gen port 0 16/12/2020 11:32:11 pktgen: test port 0 map gen port 0 16/12/2020 11:32:11 pktgen: test port 1 map gen port 1 16/12/2020 11:32:11 pktgen: test port 1 map gen port 1 16/12/2020 11:32:11 pktgen: test port 0 map gen port 0 16/12/2020 11:32:11 pktgen: test port 0 map gen port 0 16/12/2020 11:32:11 pktgen: test port 1 map gen port 1 16/12/2020 11:32:11 pktgen: test port 1 map gen port 1 16/12/2020 11:32:11 pktgen: test port 0 map gen port 0 16/12/2020 11:32:11 pktgen: {'arp': '-', 'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15], 'description': 'Ethernet Controller XXV710 for 25GbE SFP28', 'dest': '00:00:00:00:01:01', 'driver': 'net_i40e', 'fc': 'none', 'fc_supported': 'no', 'grat_arp': 'off', 'hw_mac': '3c:fd:fe:cf:30:b0', 'index': 1, 'ipv6': 'off', 'is_fc_supported': False, 'is_led_supported': True, 'is_link_supported': True, 'is_prom_supported': True, 'is_virtual': 'no', 'is_vxlan_supported': 'yes', 'layer_mode': 'Ethernet', 'led_change_supported': 'yes', 'link': 'UP', 'link_change_supported': 'yes', 'mult': 'off', 'numa': 0, 'pci_addr': '0000:1a:00.0', 'prom': 'off', 'prom_supported': 'yes', 'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127}, 'rx_filter_mode': 'hardware match', 'rx_queue': 'off', 'speed': 25.0, 'src_ipv4': '-', 'src_mac': '3c:fd:fe:cf:30:b0', 'stack': 'legacy', 'status': 'IDLE', 'supp_speeds': [25000], 'vlan': '-', 'vxlan_fs': '-'} 16/12/2020 11:32:11 pktgen: trex port <1> not support flow control 16/12/2020 11:32:11 pktgen: check the trex port link status 16/12/2020 11:32:11 pktgen: {'arp': '-', 'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15], 'description': 'Ethernet Controller XXV710 for 25GbE SFP28', 'dest': '00:00:00:00:01:00', 'driver': 'net_i40e', 'fc': 'none', 'fc_supported': 'no', 'grat_arp': 'off', 'hw_mac': '3c:fd:fe:cf:31:ac', 'index': 0, 'ipv6': 'off', 'is_fc_supported': False, 'is_led_supported': True, 'is_link_supported': True, 'is_prom_supported': True, 'is_virtual': 'no', 'is_vxlan_supported': 'yes', 'layer_mode': 'Ethernet', 'led_change_supported': 'yes', 'link': 'UP', 'link_change_supported': 'yes', 'mult': 'off', 'numa': 0, 'pci_addr': '0000:18:00.0', 'prom': 'on', 'prom_supported': 'yes', 'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127}, 'rx_filter_mode': 'hardware match', 'rx_queue': 'off', 'speed': 25.0, 'src_ipv4': '-', 'src_mac': '3c:fd:fe:cf:31:ac', 'stack': 'legacy', 'status': 'IDLE', 'supp_speeds': [25000], 'vlan': '-', 'vxlan_fs': '-'} 16/12/2020 11:32:11 pktgen: {'arp': '-', 'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15], 'description': 'Ethernet Controller XXV710 for 25GbE SFP28', 'dest': '00:00:00:00:01:01', 'driver': 'net_i40e', 'fc': 'none', 'fc_supported': 'no', 'grat_arp': 'off', 'hw_mac': '3c:fd:fe:cf:30:b0', 'index': 1, 'ipv6': 'off', 'is_fc_supported': False, 'is_led_supported': True, 'is_link_supported': True, 'is_prom_supported': True, 'is_virtual': 'no', 'is_vxlan_supported': 'yes', 'layer_mode': 'Ethernet', 'led_change_supported': 'yes', 'link': 'UP', 'link_change_supported': 'yes', 'mult': 'off', 'numa': 0, 'pci_addr': '0000:1a:00.0', 'prom': 'on', 'prom_supported': 'yes', 'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127}, 'rx_filter_mode': 'hardware match', 'rx_queue': 'off', 'speed': 25.0, 'src_ipv4': '-', 'src_mac': '3c:fd:fe:cf:30:b0', 'stack': 'legacy', 'status': 'IDLE', 'supp_speeds': [25000], 'vlan': '-', 'vxlan_fs': '-'} 16/12/2020 11:32:11 pktgen: begin traffic ...... 16/12/2020 11:32:11 pktgen: {'ports': [0, 1], 'mult': '100%', 'core_mask': None, 'force': True} 16/12/2020 11:32:21 pktgen: begin get port statistic ... 16/12/2020 11:32:21 pktgen: {'options': {'pcap': '/home/lingwei/dts_1216/output/dts0.pcap', 'stream_config': {'rate': 100, 'transmit_mode': 'continuous', 'txmode': {}}}, 'pcap_file': '/home/lingwei/dts_1216/output/dts0.pcap', 'rx_port': 1, 'tx_port': 0} 16/12/2020 11:32:21 pktgen: {0: {'ibytes': 30445267274, 'ierrors': 0, 'ipackets': 35442690, 'obytes': 30577287843, 'oerrors': 0, 'opackets': 35596381, 'rx_bps': 24261023744.0, 'rx_bps_L1': 24825890464.000004, 'rx_pps': 3530417.0, 'rx_util': 99.30356185600002, 'tx_bps': 24362571776.0, 'tx_bps_L1': 24929802896.000004, 'tx_pps': 3545194.5, 'tx_util': 99.719211584}, 1: {'ibytes': 29989511370, 'ierrors': 0, 'ipackets': 65053176, 'obytes': 30574624943, 'oerrors': 0, 'opackets': 35593279, 'rx_bps': 23893504000.0, 'rx_bps_L1': 24930066560.0, 'rx_pps': 6478516.0, 'rx_util': 99.72026624, 'tx_bps': 24362678272.0, 'tx_bps_L1': 24929911831.999996, 'tx_pps': 3545209.75, 'tx_util': 99.71964732799998}, 'flow_stats': {}, 'global': {'active_flows': 0.0, 'active_sockets': 0, 'bw_per_core': 39.949920654296875, 'cpu_util': 15.2457275390625, 'cpu_util_raw': 16.9375, 'open_flows': 0.0, 'platform_factor': 1.0, 'queue_full': 16875354, 'rx_bps': 48154525696.0, 'rx_core_pps': 0.0, 'rx_cpu_util': 0.0, 'rx_drop_bps': 0.0, 'rx_pps': 10008933.0, 'socket_util': 0.0, 'total_alloc_error': 0, 'total_clients': 0, 'total_servers': 0, 'tx_bps': 48725250048.0, 'tx_cps': 0.0, 'tx_expected_bps': 0.0, 'tx_expected_cps': 0.0, 'tx_expected_pps': 0.0, 'tx_pps': 7090404.0}, 'latency': {'global': {'bad_hdr': 0, 'old_flow': 0}}, 'total': {'ibytes': 60434778644, 'ierrors': 0, 'ipackets': 100495866, 'obytes': 61151912786, 'oerrors': 0, 'opackets': 71189660, 'rx_bps': 48154527744.0, 'rx_bps_L1': 49755957024.0, 'rx_pps': 10008933.0, 'rx_util': 199.02382809600002, 'tx_bps': 48725250048.0, 'tx_bps_L1': 49859714728.0, 'tx_pps': 7090404.25, 'tx_util': 199.438858912}} 16/12/2020 11:32:21 pktgen: {'ibytes': 30445267274, 'ierrors': 0, 'ipackets': 35442690, 'obytes': 30577287843, 'oerrors': 0, 'opackets': 35596381, 'rx_bps': 24261023744.0, 'rx_bps_L1': 24825890464.000004, 'rx_pps': 3530417.0, 'rx_util': 99.30356185600002, 'tx_bps': 24362571776.0, 'tx_bps_L1': 24929802896.000004, 'tx_pps': 3545194.5, 'tx_util': 99.719211584} 16/12/2020 11:32:21 pktgen: Tx Port 0 stats: tx_port: 0, tx_bps: 24362571776.000000, tx_pps: 3545194.500000 16/12/2020 11:32:21 pktgen: {'ibytes': 29989511370, 'ierrors': 0, 'ipackets': 65053176, 'obytes': 30574624943, 'oerrors': 0, 'opackets': 35593279, 'rx_bps': 23893504000.0, 'rx_bps_L1': 24930066560.0, 'rx_pps': 6478516.0, 'rx_util': 99.72026624, 'tx_bps': 24362678272.0, 'tx_bps_L1': 24929911831.999996, 'tx_pps': 3545209.75, 'tx_util': 99.71964732799998} 16/12/2020 11:32:21 pktgen: Rx Port 1 stats: rx_port: 1, rx_bps: 23893504000.000000, rx_pps: 6478516.000000 16/12/2020 11:32:21 pktgen: {'options': {'pcap': '/home/lingwei/dts_1216/output/dts1.pcap', 'stream_config': {'rate': 100, 'transmit_mode': 'continuous', 'txmode': {}}}, 'pcap_file': '/home/lingwei/dts_1216/output/dts1.pcap', 'rx_port': 0, 'tx_port': 1} 16/12/2020 11:32:21 pktgen: {0: {'ibytes': 30457727069, 'ierrors': 0, 'ipackets': 35457195, 'obytes': 30589798319, 'oerrors': 0, 'opackets': 35610946, 'rx_bps': 24261023744.0, 'rx_bps_L1': 24825890464.000004, 'rx_pps': 3530417.0, 'rx_util': 99.30356185600002, 'tx_bps': 24362571776.0, 'tx_bps_L1': 24929802896.000004, 'tx_pps': 3545194.5, 'tx_util': 99.719211584}, 1: {'ibytes': 30001778580, 'ierrors': 0, 'ipackets': 65079788, 'obytes': 30587131983, 'oerrors': 0, 'opackets': 35607842, 'rx_bps': 23893504000.0, 'rx_bps_L1': 24930066560.0, 'rx_pps': 6478516.0, 'rx_util': 99.72026624, 'tx_bps': 24362678272.0, 'tx_bps_L1': 24929911831.999996, 'tx_pps': 3545209.75, 'tx_util': 99.71964732799998}, 'flow_stats': {}, 'global': {'active_flows': 0.0, 'active_sockets': 0, 'bw_per_core': 39.949920654296875, 'cpu_util': 15.2457275390625, 'cpu_util_raw': 16.9375, 'open_flows': 0.0, 'platform_factor': 1.0, 'queue_full': 16885055, 'rx_bps': 48154525696.0, 'rx_core_pps': 0.0, 'rx_cpu_util': 0.0, 'rx_drop_bps': 0.0, 'rx_pps': 10008933.0, 'socket_util': 0.0, 'total_alloc_error': 0, 'total_clients': 0, 'total_servers': 0, 'tx_bps': 48725250048.0, 'tx_cps': 0.0, 'tx_expected_bps': 0.0, 'tx_expected_cps': 0.0, 'tx_expected_pps': 0.0, 'tx_pps': 7090404.0}, 'latency': {'global': {'bad_hdr': 0, 'old_flow': 0}}, 'total': {'ibytes': 60459505649, 'ierrors': 0, 'ipackets': 100536983, 'obytes': 61176930302, 'oerrors': 0, 'opackets': 71218788, 'rx_bps': 48154527744.0, 'rx_bps_L1': 49755957024.0, 'rx_pps': 10008933.0, 'rx_util': 199.02382809600002, 'tx_bps': 48725250048.0, 'tx_bps_L1': 49859714728.0, 'tx_pps': 7090404.25, 'tx_util': 199.438858912}} 16/12/2020 11:32:21 pktgen: {'ibytes': 30001778580, 'ierrors': 0, 'ipackets': 65079788, 'obytes': 30587131983, 'oerrors': 0, 'opackets': 35607842, 'rx_bps': 23893504000.0, 'rx_bps_L1': 24930066560.0, 'rx_pps': 6478516.0, 'rx_util': 99.72026624, 'tx_bps': 24362678272.0, 'tx_bps_L1': 24929911831.999996, 'tx_pps': 3545209.75, 'tx_util': 99.71964732799998} 16/12/2020 11:32:21 pktgen: Tx Port 1 stats: tx_port: 1, tx_bps: 24362678272.000000, tx_pps: 3545209.750000 16/12/2020 11:32:21 pktgen: {'ibytes': 30457727069, 'ierrors': 0, 'ipackets': 35457195, 'obytes': 30589798319, 'oerrors': 0, 'opackets': 35610946, 'rx_bps': 24261023744.0, 'rx_bps_L1': 24825890464.000004, 'rx_pps': 3530417.0, 'rx_util': 99.30356185600002, 'tx_bps': 24362571776.0, 'tx_bps_L1': 24929802896.000004, 'tx_pps': 3545194.5, 'tx_util': 99.719211584} 16/12/2020 11:32:21 pktgen: Rx Port 0 stats: rx_port: 0, rx_bps: 24261023744.000000, rx_pps: 3530417.000000 16/12/2020 11:32:21 pktgen: throughput: pps_rx 10008933.000000, bps_rx 48154527744.000000 16/12/2020 11:32:21 pktgen: traffic completed. 16/12/2020 11:32:21 TestTSO: Running with frame size 1758 16/12/2020 11:32:21 tester: scapy 16/12/2020 11:32:21 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(). INFO: Can't import python-cryptography v1.7+. Disabled WEP decryption/encryption. (Dot11) INFO: Can't import python-cryptography v1.7+. Disabled IPsec encryption/authentication. 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 git-archive.dev3047580162  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    16/12/2020 11:32:23 tester: wrpcap("/home/lingwei/dts_1216/output/dts0.pcap", [Ether(dst="00:00:00:00:01:00",src="52:00:00:00:00:01")/IP(src="192.168.1.1",dst="192.168.1.2")/TCP(sport=1021,dport=1021)/("X"*1700)]) 16/12/2020 11:32:23 tester:  16/12/2020 11:32:23 tester: wrpcap("/home/lingwei/dts_1216/output/dts1.pcap", [Ether(dst="00:00:00:00:01:01",src="52:00:00:00:00:01")/IP(src="192.168.1.1",dst="192.168.1.2")/TCP(sport=1021,dport=1021)/("X"*1700)]) 16/12/2020 11:32:23 tester:  16/12/2020 11:32:25 tester: exit() 16/12/2020 11:32:26 tester: 16/12/2020 11:32:26 pktgen: test port 0 map gen port 0 16/12/2020 11:32:26 pktgen: test port 1 map gen port 1 16/12/2020 11:32:26 pktgen: test port 1 map gen port 1 16/12/2020 11:32:26 pktgen: test port 0 map gen port 0 16/12/2020 11:32:26 pktgen: test port 0 map gen port 0 16/12/2020 11:32:26 pktgen: test port 1 map gen port 1 16/12/2020 11:32:26 pktgen: test port 1 map gen port 1 16/12/2020 11:32:26 pktgen: test port 0 map gen port 0 16/12/2020 11:32:26 pktgen: test port 0 map gen port 0 16/12/2020 11:32:26 pktgen: test port 1 map gen port 1 16/12/2020 11:32:26 pktgen: test port 1 map gen port 1 16/12/2020 11:32:26 pktgen: test port 0 map gen port 0 16/12/2020 11:32:26 pktgen: test port 0 map gen port 0 16/12/2020 11:32:26 pktgen: test port 1 map gen port 1 16/12/2020 11:32:26 pktgen: test port 1 map gen port 1 16/12/2020 11:32:26 pktgen: test port 0 map gen port 0 16/12/2020 11:32:26 pktgen: {'arp': '-', 'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15], 'description': 'Ethernet Controller XXV710 for 25GbE SFP28', 'dest': '00:00:00:00:01:01', 'driver': 'net_i40e', 'fc': 'none', 'fc_supported': 'no', 'grat_arp': 'off', 'hw_mac': '3c:fd:fe:cf:30:b0', 'index': 1, 'ipv6': 'off', 'is_fc_supported': False, 'is_led_supported': True, 'is_link_supported': True, 'is_prom_supported': True, 'is_virtual': 'no', 'is_vxlan_supported': 'yes', 'layer_mode': 'Ethernet', 'led_change_supported': 'yes', 'link': 'UP', 'link_change_supported': 'yes', 'mult': 'off', 'numa': 0, 'pci_addr': '0000:1a:00.0', 'prom': 'off', 'prom_supported': 'yes', 'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127}, 'rx_filter_mode': 'hardware match', 'rx_queue': 'off', 'speed': 25.0, 'src_ipv4': '-', 'src_mac': '3c:fd:fe:cf:30:b0', 'stack': 'legacy', 'status': 'IDLE', 'supp_speeds': [25000], 'vlan': '-', 'vxlan_fs': '-'} 16/12/2020 11:32:26 pktgen: trex port <1> not support flow control 16/12/2020 11:32:26 pktgen: check the trex port link status 16/12/2020 11:32:26 pktgen: {'arp': '-', 'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15], 'description': 'Ethernet Controller XXV710 for 25GbE SFP28', 'dest': '00:00:00:00:01:00', 'driver': 'net_i40e', 'fc': 'none', 'fc_supported': 'no', 'grat_arp': 'off', 'hw_mac': '3c:fd:fe:cf:31:ac', 'index': 0, 'ipv6': 'off', 'is_fc_supported': False, 'is_led_supported': True, 'is_link_supported': True, 'is_prom_supported': True, 'is_virtual': 'no', 'is_vxlan_supported': 'yes', 'layer_mode': 'Ethernet', 'led_change_supported': 'yes', 'link': 'UP', 'link_change_supported': 'yes', 'mult': 'off', 'numa': 0, 'pci_addr': '0000:18:00.0', 'prom': 'on', 'prom_supported': 'yes', 'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127}, 'rx_filter_mode': 'hardware match', 'rx_queue': 'off', 'speed': 25.0, 'src_ipv4': '-', 'src_mac': '3c:fd:fe:cf:31:ac', 'stack': 'legacy', 'status': 'IDLE', 'supp_speeds': [25000], 'vlan': '-', 'vxlan_fs': '-'} 16/12/2020 11:32:26 pktgen: {'arp': '-', 'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15], 'description': 'Ethernet Controller XXV710 for 25GbE SFP28', 'dest': '00:00:00:00:01:01', 'driver': 'net_i40e', 'fc': 'none', 'fc_supported': 'no', 'grat_arp': 'off', 'hw_mac': '3c:fd:fe:cf:30:b0', 'index': 1, 'ipv6': 'off', 'is_fc_supported': False, 'is_led_supported': True, 'is_link_supported': True, 'is_prom_supported': True, 'is_virtual': 'no', 'is_vxlan_supported': 'yes', 'layer_mode': 'Ethernet', 'led_change_supported': 'yes', 'link': 'UP', 'link_change_supported': 'yes', 'mult': 'off', 'numa': 0, 'pci_addr': '0000:1a:00.0', 'prom': 'on', 'prom_supported': 'yes', 'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127}, 'rx_filter_mode': 'hardware match', 'rx_queue': 'off', 'speed': 25.0, 'src_ipv4': '-', 'src_mac': '3c:fd:fe:cf:30:b0', 'stack': 'legacy', 'status': 'IDLE', 'supp_speeds': [25000], 'vlan': '-', 'vxlan_fs': '-'} 16/12/2020 11:32:26 pktgen: begin traffic ...... 16/12/2020 11:32:26 pktgen: {'ports': [0, 1], 'mult': '100%', 'core_mask': None, 'force': True} 16/12/2020 11:32:36 pktgen: begin get port statistic ... 16/12/2020 11:32:36 pktgen: {'options': {'pcap': '/home/lingwei/dts_1216/output/dts0.pcap', 'stream_config': {'rate': 100, 'transmit_mode': 'continuous', 'txmode': {}}}, 'pcap_file': '/home/lingwei/dts_1216/output/dts0.pcap', 'rx_port': 1, 'tx_port': 0} 16/12/2020 11:32:36 pktgen: {0: {'ibytes': 30932477628, 'ierrors': 0, 'ipackets': 17595268, 'obytes': 30935988354, 'oerrors': 0, 'opackets': 17597265, 'rx_bps': 24749565952.0, 'rx_bps_L1': 25031154592.0, 'rx_pps': 1759929.0, 'rx_util': 100.124618368, 'tx_bps': 24749475840.0, 'tx_bps_L1': 25031063540.0, 'tx_pps': 1759923.125, 'tx_util': 100.12425415999999}, 1: {'ibytes': 30318460276, 'ierrors': 0, 'ipackets': 48535426, 'obytes': 30933117540, 'oerrors': 0, 'opackets': 17595631, 'rx_bps': 24254728192.0, 'rx_bps_L1': 25031315952.0, 'rx_pps': 4853673.5, 'rx_util': 100.125263808, 'tx_bps': 24749576192.0, 'tx_bps_L1': 25031165111.999996, 'tx_pps': 1759930.75, 'tx_util': 100.12466044799999}, 'flow_stats': {}, 'global': {'active_flows': 0.0, 'active_sockets': 0, 'bw_per_core': 109.50960540771484, 'cpu_util': 5.650081157684326, 'cpu_util_raw': 8.3125, 'open_flows': 0.0, 'platform_factor': 1.0, 'queue_full': 3862513, 'rx_bps': 49004298240.0, 'rx_core_pps': 0.0, 'rx_cpu_util': 0.0, 'rx_drop_bps': 0.0, 'rx_pps': 6613602.5, 'socket_util': 0.0, 'total_alloc_error': 0, 'total_clients': 0, 'total_servers': 0, 'tx_bps': 49499054080.0, 'tx_cps': 0.0, 'tx_expected_bps': 0.0, 'tx_expected_cps': 0.0, 'tx_expected_pps': 0.0, 'tx_pps': 3519854.0}, 'latency': {'global': {'bad_hdr': 0, 'old_flow': 0}}, 'total': {'ibytes': 61250937904, 'ierrors': 0, 'ipackets': 66130694, 'obytes': 61869105894, 'oerrors': 0, 'opackets': 35192896, 'rx_bps': 49004294144.0, 'rx_bps_L1': 50062470544.0, 'rx_pps': 6613602.5, 'rx_util': 200.249882176, 'tx_bps': 49499052032.0, 'tx_bps_L1': 50062228652.0, 'tx_pps': 3519853.875, 'tx_util': 200.24891460799998}} 16/12/2020 11:32:36 pktgen: {'ibytes': 30932477628, 'ierrors': 0, 'ipackets': 17595268, 'obytes': 30935988354, 'oerrors': 0, 'opackets': 17597265, 'rx_bps': 24749565952.0, 'rx_bps_L1': 25031154592.0, 'rx_pps': 1759929.0, 'rx_util': 100.124618368, 'tx_bps': 24749475840.0, 'tx_bps_L1': 25031063540.0, 'tx_pps': 1759923.125, 'tx_util': 100.12425415999999} 16/12/2020 11:32:36 pktgen: Tx Port 0 stats: tx_port: 0, tx_bps: 24749475840.000000, tx_pps: 1759923.125000 16/12/2020 11:32:36 pktgen: {'ibytes': 30318460276, 'ierrors': 0, 'ipackets': 48535426, 'obytes': 30933117540, 'oerrors': 0, 'opackets': 17595631, 'rx_bps': 24254728192.0, 'rx_bps_L1': 25031315952.0, 'rx_pps': 4853673.5, 'rx_util': 100.125263808, 'tx_bps': 24749576192.0, 'tx_bps_L1': 25031165111.999996, 'tx_pps': 1759930.75, 'tx_util': 100.12466044799999} 16/12/2020 11:32:36 pktgen: Rx Port 1 stats: rx_port: 1, rx_bps: 24254728192.000000, rx_pps: 4853673.500000 16/12/2020 11:32:36 pktgen: {'options': {'pcap': '/home/lingwei/dts_1216/output/dts1.pcap', 'stream_config': {'rate': 100, 'transmit_mode': 'continuous', 'txmode': {}}}, 'pcap_file': '/home/lingwei/dts_1216/output/dts1.pcap', 'rx_port': 0, 'tx_port': 1} 16/12/2020 11:32:36 pktgen: {0: {'ibytes': 30945564180, 'ierrors': 0, 'ipackets': 17602712, 'obytes': 30949074906, 'oerrors': 0, 'opackets': 17604709, 'rx_bps': 24749565952.0, 'rx_bps_L1': 25031154592.0, 'rx_pps': 1759929.0, 'rx_util': 100.124618368, 'tx_bps': 24749475840.0, 'tx_bps_L1': 25031063540.0, 'tx_pps': 1759923.125, 'tx_util': 100.12425415999999}, 1: {'ibytes': 30331287806, 'ierrors': 0, 'ipackets': 48555962, 'obytes': 30946205850, 'oerrors': 0, 'opackets': 17603076, 'rx_bps': 24254728192.0, 'rx_bps_L1': 25031315952.0, 'rx_pps': 4853673.5, 'rx_util': 100.125263808, 'tx_bps': 24749576192.0, 'tx_bps_L1': 25031165111.999996, 'tx_pps': 1759930.75, 'tx_util': 100.12466044799999}, 'flow_stats': {}, 'global': {'active_flows': 0.0, 'active_sockets': 0, 'bw_per_core': 109.50960540771484, 'cpu_util': 5.650081157684326, 'cpu_util_raw': 8.3125, 'open_flows': 0.0, 'platform_factor': 1.0, 'queue_full': 3865420, 'rx_bps': 49004298240.0, 'rx_core_pps': 0.0, 'rx_cpu_util': 0.0, 'rx_drop_bps': 0.0, 'rx_pps': 6613602.5, 'socket_util': 0.0, 'total_alloc_error': 0, 'total_clients': 0, 'total_servers': 0, 'tx_bps': 49499054080.0, 'tx_cps': 0.0, 'tx_expected_bps': 0.0, 'tx_expected_cps': 0.0, 'tx_expected_pps': 0.0, 'tx_pps': 3519854.0}, 'latency': {'global': {'bad_hdr': 0, 'old_flow': 0}}, 'total': {'ibytes': 61276851986, 'ierrors': 0, 'ipackets': 66158674, 'obytes': 61895280756, 'oerrors': 0, 'opackets': 35207785, 'rx_bps': 49004294144.0, 'rx_bps_L1': 50062470544.0, 'rx_pps': 6613602.5, 'rx_util': 200.249882176, 'tx_bps': 49499052032.0, 'tx_bps_L1': 50062228652.0, 'tx_pps': 3519853.875, 'tx_util': 200.24891460799998}} 16/12/2020 11:32:36 pktgen: {'ibytes': 30331287806, 'ierrors': 0, 'ipackets': 48555962, 'obytes': 30946205850, 'oerrors': 0, 'opackets': 17603076, 'rx_bps': 24254728192.0, 'rx_bps_L1': 25031315952.0, 'rx_pps': 4853673.5, 'rx_util': 100.125263808, 'tx_bps': 24749576192.0, 'tx_bps_L1': 25031165111.999996, 'tx_pps': 1759930.75, 'tx_util': 100.12466044799999} 16/12/2020 11:32:36 pktgen: Tx Port 1 stats: tx_port: 1, tx_bps: 24749576192.000000, tx_pps: 1759930.750000 16/12/2020 11:32:36 pktgen: {'ibytes': 30945564180, 'ierrors': 0, 'ipackets': 17602712, 'obytes': 30949074906, 'oerrors': 0, 'opackets': 17604709, 'rx_bps': 24749565952.0, 'rx_bps_L1': 25031154592.0, 'rx_pps': 1759929.0, 'rx_util': 100.124618368, 'tx_bps': 24749475840.0, 'tx_bps_L1': 25031063540.0, 'tx_pps': 1759923.125, 'tx_util': 100.12425415999999} 16/12/2020 11:32:36 pktgen: Rx Port 0 stats: rx_port: 0, rx_bps: 24749565952.000000, rx_pps: 1759929.000000 16/12/2020 11:32:36 pktgen: throughput: pps_rx 6613602.500000, bps_rx 49004294144.000000 16/12/2020 11:32:36 pktgen: traffic completed. 16/12/2020 11:32:36 TestTSO: Running with frame size 2558 16/12/2020 11:32:36 tester: scapy 16/12/2020 11:32:36 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(). INFO: Can't import python-cryptography v1.7+. Disabled WEP decryption/encryption. (Dot11) INFO: Can't import python-cryptography v1.7+. Disabled IPsec encryption/authentication. 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 git-archive.dev3047580162  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 before they craft  scccccp///pSP///p p//Y | you.  sY/////////y caa S//P | -- Socrate  cayCyayP//Ya pY/Ya |  sY/PsY////YCc aC//Yp   sc sccaCY//PCypaapyCP//YSs   spCPY//////YPSps   ccaacs    16/12/2020 11:32:38 tester: wrpcap("/home/lingwei/dts_1216/output/dts0.pcap", [Ether(dst="00:00:00:00:01:00",src="52:00:00:00:00:01")/IP(src="192.168.1.1",dst="192.168.1.2")/TCP(sport=1021,dport=1021)/("X"*2500)]) 16/12/2020 11:32:38 tester:  16/12/2020 11:32:38 tester: wrpcap("/home/lingwei/dts_1216/output/dts1.pcap", [Ether(dst="00:00:00:00:01:01",src="52:00:00:00:00:01")/IP(src="192.168.1.1",dst="192.168.1.2")/TCP(sport=1021,dport=1021)/("X"*2500)]) 16/12/2020 11:32:38 tester:  16/12/2020 11:32:40 tester: exit() 16/12/2020 11:32:40 tester: 16/12/2020 11:32:40 pktgen: test port 0 map gen port 0 16/12/2020 11:32:40 pktgen: test port 1 map gen port 1 16/12/2020 11:32:40 pktgen: test port 1 map gen port 1 16/12/2020 11:32:40 pktgen: test port 0 map gen port 0 16/12/2020 11:32:40 pktgen: test port 0 map gen port 0 16/12/2020 11:32:40 pktgen: test port 1 map gen port 1 16/12/2020 11:32:40 pktgen: test port 1 map gen port 1 16/12/2020 11:32:40 pktgen: test port 0 map gen port 0 16/12/2020 11:32:40 pktgen: test port 0 map gen port 0 16/12/2020 11:32:40 pktgen: test port 1 map gen port 1 16/12/2020 11:32:40 pktgen: test port 1 map gen port 1 16/12/2020 11:32:40 pktgen: test port 0 map gen port 0 16/12/2020 11:32:40 pktgen: test port 0 map gen port 0 16/12/2020 11:32:40 pktgen: test port 1 map gen port 1 16/12/2020 11:32:40 pktgen: test port 1 map gen port 1 16/12/2020 11:32:40 pktgen: test port 0 map gen port 0 16/12/2020 11:32:40 pktgen: test port 0 map gen port 0 16/12/2020 11:32:40 pktgen: test port 1 map gen port 1 16/12/2020 11:32:40 pktgen: test port 1 map gen port 1 16/12/2020 11:32:40 pktgen: test port 0 map gen port 0 16/12/2020 11:32:40 pktgen: {'arp': '-', 'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15], 'description': 'Ethernet Controller XXV710 for 25GbE SFP28', 'dest': '00:00:00:00:01:01', 'driver': 'net_i40e', 'fc': 'none', 'fc_supported': 'no', 'grat_arp': 'off', 'hw_mac': '3c:fd:fe:cf:30:b0', 'index': 1, 'ipv6': 'off', 'is_fc_supported': False, 'is_led_supported': True, 'is_link_supported': True, 'is_prom_supported': True, 'is_virtual': 'no', 'is_vxlan_supported': 'yes', 'layer_mode': 'Ethernet', 'led_change_supported': 'yes', 'link': 'UP', 'link_change_supported': 'yes', 'mult': 'off', 'numa': 0, 'pci_addr': '0000:1a:00.0', 'prom': 'off', 'prom_supported': 'yes', 'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127}, 'rx_filter_mode': 'hardware match', 'rx_queue': 'off', 'speed': 25.0, 'src_ipv4': '-', 'src_mac': '3c:fd:fe:cf:30:b0', 'stack': 'legacy', 'status': 'IDLE', 'supp_speeds': [25000], 'vlan': '-', 'vxlan_fs': '-'} 16/12/2020 11:32:40 pktgen: trex port <1> not support flow control 16/12/2020 11:32:40 pktgen: check the trex port link status 16/12/2020 11:32:40 pktgen: {'arp': '-', 'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15], 'description': 'Ethernet Controller XXV710 for 25GbE SFP28', 'dest': '00:00:00:00:01:00', 'driver': 'net_i40e', 'fc': 'none', 'fc_supported': 'no', 'grat_arp': 'off', 'hw_mac': '3c:fd:fe:cf:31:ac', 'index': 0, 'ipv6': 'off', 'is_fc_supported': False, 'is_led_supported': True, 'is_link_supported': True, 'is_prom_supported': True, 'is_virtual': 'no', 'is_vxlan_supported': 'yes', 'layer_mode': 'Ethernet', 'led_change_supported': 'yes', 'link': 'UP', 'link_change_supported': 'yes', 'mult': 'off', 'numa': 0, 'pci_addr': '0000:18:00.0', 'prom': 'on', 'prom_supported': 'yes', 'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127}, 'rx_filter_mode': 'hardware match', 'rx_queue': 'off', 'speed': 25.0, 'src_ipv4': '-', 'src_mac': '3c:fd:fe:cf:31:ac', 'stack': 'legacy', 'status': 'IDLE', 'supp_speeds': [25000], 'vlan': '-', 'vxlan_fs': '-'} 16/12/2020 11:32:40 pktgen: {'arp': '-', 'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15], 'description': 'Ethernet Controller XXV710 for 25GbE SFP28', 'dest': '00:00:00:00:01:01', 'driver': 'net_i40e', 'fc': 'none', 'fc_supported': 'no', 'grat_arp': 'off', 'hw_mac': '3c:fd:fe:cf:30:b0', 'index': 1, 'ipv6': 'off', 'is_fc_supported': False, 'is_led_supported': True, 'is_link_supported': True, 'is_prom_supported': True, 'is_virtual': 'no', 'is_vxlan_supported': 'yes', 'layer_mode': 'Ethernet', 'led_change_supported': 'yes', 'link': 'UP', 'link_change_supported': 'yes', 'mult': 'off', 'numa': 0, 'pci_addr': '0000:1a:00.0', 'prom': 'on', 'prom_supported': 'yes', 'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127}, 'rx_filter_mode': 'hardware match', 'rx_queue': 'off', 'speed': 25.0, 'src_ipv4': '-', 'src_mac': '3c:fd:fe:cf:30:b0', 'stack': 'legacy', 'status': 'IDLE', 'supp_speeds': [25000], 'vlan': '-', 'vxlan_fs': '-'} 16/12/2020 11:32:40 pktgen: begin traffic ...... 16/12/2020 11:32:40 pktgen: {'ports': [0, 1], 'mult': '100%', 'core_mask': None, 'force': True} 16/12/2020 11:32:50 pktgen: begin get port statistic ... 16/12/2020 11:32:50 pktgen: {'options': {'pcap': '/home/lingwei/dts_1216/output/dts0.pcap', 'stream_config': {'rate': 100, 'transmit_mode': 'continuous', 'txmode': {}}}, 'pcap_file': '/home/lingwei/dts_1216/output/dts0.pcap', 'rx_port': 1, 'tx_port': 0} 16/12/2020 11:32:50 pktgen: {0: {'ibytes': 31041514176, 'ierrors': 0, 'ipackets': 12135073, 'obytes': 31045832080, 'oerrors': 0, 'opackets': 12136761, 'rx_bps': 24737705984.0, 'rx_bps_L1': 24931129144.0, 'rx_pps': 1208894.75, 'rx_util': 99.724516576, 'tx_bps': 24737642496.0, 'tx_bps_L1': 24931065096.0, 'tx_pps': 1208891.25, 'tx_util': 99.72426038399999}, 1: {'ibytes': 30399765334, 'ierrors': 0, 'ipackets': 44509177, 'obytes': 31042148560, 'oerrors': 0, 'opackets': 12135322, 'rx_bps': 24222052352.0, 'rx_bps_L1': 24931343231.999996, 'rx_pps': 4433068.0, 'rx_util': 99.72537292799998, 'tx_bps': 24737712128.0, 'tx_bps_L1': 24931135408.0, 'tx_pps': 1208895.5, 'tx_util': 99.724541632}, 'flow_stats': {}, 'global': {'active_flows': 0.0, 'active_sockets': 0, 'bw_per_core': 909.7862548828125, 'cpu_util': 0.6797661781311035, 'cpu_util_raw': 0.0, 'open_flows': 0.0, 'platform_factor': 1.0, 'queue_full': 31892, 'rx_bps': 48959758336.0, 'rx_core_pps': 0.0, 'rx_cpu_util': 0.0, 'rx_drop_bps': 0.0, 'rx_pps': 5641963.0, 'socket_util': 0.0, 'total_alloc_error': 0, 'total_clients': 0, 'total_servers': 0, 'tx_bps': 49475354624.0, 'tx_cps': 0.0, 'tx_expected_bps': 0.0, 'tx_expected_cps': 0.0, 'tx_expected_pps': 0.0, 'tx_pps': 2417786.75}, 'latency': {'global': {'bad_hdr': 0, 'old_flow': 0}}, 'total': {'ibytes': 61441279510, 'ierrors': 0, 'ipackets': 56644250, 'obytes': 62087980640, 'oerrors': 0, 'opackets': 24272083, 'rx_bps': 48959758336.0, 'rx_bps_L1': 49862472376.0, 'rx_pps': 5641962.75, 'rx_util': 199.449889504, 'tx_bps': 49475354624.0, 'tx_bps_L1': 49862200504.0, 'tx_pps': 2417786.75, 'tx_util': 199.448802016}} 16/12/2020 11:32:50 pktgen: {'ibytes': 31041514176, 'ierrors': 0, 'ipackets': 12135073, 'obytes': 31045832080, 'oerrors': 0, 'opackets': 12136761, 'rx_bps': 24737705984.0, 'rx_bps_L1': 24931129144.0, 'rx_pps': 1208894.75, 'rx_util': 99.724516576, 'tx_bps': 24737642496.0, 'tx_bps_L1': 24931065096.0, 'tx_pps': 1208891.25, 'tx_util': 99.72426038399999} 16/12/2020 11:32:50 pktgen: Tx Port 0 stats: tx_port: 0, tx_bps: 24737642496.000000, tx_pps: 1208891.250000 16/12/2020 11:32:50 pktgen: {'ibytes': 30399765334, 'ierrors': 0, 'ipackets': 44509177, 'obytes': 31042148560, 'oerrors': 0, 'opackets': 12135322, 'rx_bps': 24222052352.0, 'rx_bps_L1': 24931343231.999996, 'rx_pps': 4433068.0, 'rx_util': 99.72537292799998, 'tx_bps': 24737712128.0, 'tx_bps_L1': 24931135408.0, 'tx_pps': 1208895.5, 'tx_util': 99.724541632} 16/12/2020 11:32:50 pktgen: Rx Port 1 stats: rx_port: 1, rx_bps: 24222052352.000000, rx_pps: 4433068.000000 16/12/2020 11:32:50 pktgen: {'options': {'pcap': '/home/lingwei/dts_1216/output/dts1.pcap', 'stream_config': {'rate': 100, 'transmit_mode': 'continuous', 'txmode': {}}}, 'pcap_file': '/home/lingwei/dts_1216/output/dts1.pcap', 'rx_port': 0, 'tx_port': 1} 16/12/2020 11:32:50 pktgen: {0: {'ibytes': 31054217204, 'ierrors': 0, 'ipackets': 12140039, 'obytes': 31058535108, 'oerrors': 0, 'opackets': 12141727, 'rx_bps': 24737705984.0, 'rx_bps_L1': 24931129144.0, 'rx_pps': 1208894.75, 'rx_util': 99.724516576, 'tx_bps': 24737642496.0, 'tx_bps_L1': 24931065096.0, 'tx_pps': 1208891.25, 'tx_util': 99.72426038399999}, 1: {'ibytes': 30412203272, 'ierrors': 0, 'ipackets': 44527389, 'obytes': 31054851588, 'oerrors': 0, 'opackets': 12140288, 'rx_bps': 24222052352.0, 'rx_bps_L1': 24931343231.999996, 'rx_pps': 4433068.0, 'rx_util': 99.72537292799998, 'tx_bps': 24737712128.0, 'tx_bps_L1': 24931135408.0, 'tx_pps': 1208895.5, 'tx_util': 99.724541632}, 'flow_stats': {}, 'global': {'active_flows': 0.0, 'active_sockets': 0, 'bw_per_core': 909.7862548828125, 'cpu_util': 0.6797661781311035, 'cpu_util_raw': 0.0, 'open_flows': 0.0, 'platform_factor': 1.0, 'queue_full': 36122, 'rx_bps': 48959758336.0, 'rx_core_pps': 0.0, 'rx_cpu_util': 0.0, 'rx_drop_bps': 0.0, 'rx_pps': 5641963.0, 'socket_util': 0.0, 'total_alloc_error': 0, 'total_clients': 0, 'total_servers': 0, 'tx_bps': 49475354624.0, 'tx_cps': 0.0, 'tx_expected_bps': 0.0, 'tx_expected_cps': 0.0, 'tx_expected_pps': 0.0, 'tx_pps': 2417786.75}, 'latency': {'global': {'bad_hdr': 0, 'old_flow': 0}}, 'total': {'ibytes': 61466420476, 'ierrors': 0, 'ipackets': 56667428, 'obytes': 62113386696, 'oerrors': 0, 'opackets': 24282015, 'rx_bps': 48959758336.0, 'rx_bps_L1': 49862472376.0, 'rx_pps': 5641962.75, 'rx_util': 199.449889504, 'tx_bps': 49475354624.0, 'tx_bps_L1': 49862200504.0, 'tx_pps': 2417786.75, 'tx_util': 199.448802016}} 16/12/2020 11:32:50 pktgen: {'ibytes': 30412203272, 'ierrors': 0, 'ipackets': 44527389, 'obytes': 31054851588, 'oerrors': 0, 'opackets': 12140288, 'rx_bps': 24222052352.0, 'rx_bps_L1': 24931343231.999996, 'rx_pps': 4433068.0, 'rx_util': 99.72537292799998, 'tx_bps': 24737712128.0, 'tx_bps_L1': 24931135408.0, 'tx_pps': 1208895.5, 'tx_util': 99.724541632} 16/12/2020 11:32:50 pktgen: Tx Port 1 stats: tx_port: 1, tx_bps: 24737712128.000000, tx_pps: 1208895.500000 16/12/2020 11:32:50 pktgen: {'ibytes': 31054217204, 'ierrors': 0, 'ipackets': 12140039, 'obytes': 31058535108, 'oerrors': 0, 'opackets': 12141727, 'rx_bps': 24737705984.0, 'rx_bps_L1': 24931129144.0, 'rx_pps': 1208894.75, 'rx_util': 99.724516576, 'tx_bps': 24737642496.0, 'tx_bps_L1': 24931065096.0, 'tx_pps': 1208891.25, 'tx_util': 99.72426038399999} 16/12/2020 11:32:50 pktgen: Rx Port 0 stats: rx_port: 0, rx_bps: 24737705984.000000, rx_pps: 1208894.750000 16/12/2020 11:32:50 pktgen: throughput: pps_rx 5641962.750000, bps_rx 48959758336.000000 16/12/2020 11:32:50 pktgen: traffic completed. 16/12/2020 11:32:50 dut.10.240.183.113: stop 16/12/2020 11:32:50 dut.10.240.183.113: Telling cores to ... Waiting for lcores to finish... ---------------------- Forward statistics for port 0 ---------------------- RX-packets: 169338230 RX-dropped: 83760171 RX-total: 253098401 Bad-ipcsum: 0 Bad-l4csum: 0 Bad-outer-l4csum: 0 TX-packets: 169363332 TX-dropped: 12 TX-total: 169363344 ---------------------------------------------------------------------------- ---------------------- Forward statistics for port 1 ---------------------- RX-packets: 169363344 RX-dropped: 83767281 RX-total: 253130625 Bad-ipcsum: 0 Bad-l4csum: 0 Bad-outer-l4csum: 0 TX-packets: 262414146 TX-dropped: 5360661 TX-total: 267774807 ---------------------------------------------------------------------------- +++++++++++++++ Accumulated forward statistics for all ports+++++++++++++++ RX-packets: 338701574 RX-dropped: 167527452 RX-total: 506229026 TX-packets: 431777478 TX-dropped: 5360673 TX-total: 437138151 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Done. 16/12/2020 11:32:50 dut.10.240.183.113: quit 16/12/2020 11:32:51 dut.10.240.183.113: Stopping port 0... Stopping ports... Done Stopping port 1... Stopping ports... Done Shutting down port 0... Closing ports... Port 0 is closed Done Shutting down port 1... Closing ports... Port 1 is closed Done Bye... 16/12/2020 11:32:56 TestTSO: +------------+---------------+------------+ | Frame Size | 1S/1C/2T Mpps | % linerate | +============+===============+============+ | 128 | 13.589 | 44 | +------------+---------------+------------+ | 800 | 7.110 | 99 | +------------+---------------+------------+ | 801 | 10.009 | 140 | +------------+---------------+------------+ | 1700 | 6.614 | 188 | +------------+---------------+------------+ | 2500 | 5.642 | 232 | +------------+---------------+------------+ 16/12/2020 11:32:56 TestTSO: Test Case test_perf_TSO_2ports Result PASSED: 16/12/2020 11:32:56 dut.10.240.183.113: kill_all: called by dut and prefix list has value. 16/12/2020 11:32:59 dts: TEST SUITE ENDED: TestTSO