From: "Xie, WeiX" <weix.xie@intel.com>
To: "Xie, WeiX" <weix.xie@intel.com>, "dts@dpdk.org" <dts@dpdk.org>
Subject: Re: [dts] [PATCH V1] tests/TestSuite_af_xdp_2:fixed save pcap file failed
Date: Thu, 22 Oct 2020 09:19:01 +0000 [thread overview]
Message-ID: <721faada37c94656926372f33681dcb8@intel.com> (raw)
In-Reply-To: <20201022090937.28791-1-weix.xie@intel.com>
[-- Attachment #1: Type: text/plain, Size: 3492 bytes --]
Tested-by: Xie,WeiX < weix.xie@intel.com>
Regards,
Xie Wei
> -----Original Message-----
> From: Xie wei [mailto:weix.xie@intel.com]
> Sent: Thursday, October 22, 2020 5:10 PM
> To: dts@dpdk.org
> Cc: Xie, WeiX <weix.xie@intel.com>
> Subject: [dts][PATCH V1] tests/TestSuite_af_xdp_2:fixed save pcap file
> failed
>
> *AF_XDP pmd is enable by default with meson build method, and remove
> rebuild steps.
> *Fixed pcap file is empty.
>
> Signed-off-by: Xie wei <weix.xie@intel.com>
> ---
> tests/TestSuite_af_xdp_2.py | 21 ++++-----------------
> 1 file changed, 4 insertions(+), 17 deletions(-)
>
> diff --git a/tests/TestSuite_af_xdp_2.py b/tests/TestSuite_af_xdp_2.py
> index 4586c9d5..40a3d416 100644
> --- a/tests/TestSuite_af_xdp_2.py
> +++ b/tests/TestSuite_af_xdp_2.py
> @@ -67,29 +67,21 @@ class TestAfXdp(TestCase):
> self.base_dir = self.dut.base_dir.replace('~', '/root')
> self.pktgen_helper = PacketGeneratorHelper()
>
> - self.prepare_dpdk()
> self.dut.restore_interfaces()
> self.irqs_set = self.dut.new_session(suite="irqs-set")
>
> def set_up(self):
> pass
>
> - def prepare_dpdk(self):
> - self.dut.send_expect(
> - "sed -i
> 's/CONFIG_RTE_LIBRTE_PMD_AF_XDP=n$/CONFIG_RTE_LIBRTE_PMD_AF_
> XDP=y/' config/common_base", "# ")
> - self.dut.set_build_options({'RTE_LIBRTE_PMD_AF_XDP': 'y'})
> - self.dut.build_install_dpdk(self.dut.target)
> -
> def set_port_queue(self, intf):
> self.dut.send_expect("ethtool -L %s combined %d" % (intf,
> self.nb_cores/self.port_num), "# ")
>
> def config_stream(self, rx_port, frame_size):
> - payload = frame_size - self.header_size
> tgen_input = []
>
> dst_mac = self.dut.get_mac_address(self.dut_ports[rx_port])
> - flow = 'Ether(dst="%s")/IP(dst="192.168.%d.1",
> proto=255)/UDP()/("X"*%d)' % (dst_mac, rx_port+1, payload)
> - pkt = Packet(pkt_str=flow)
> + pkt = Packet(pkt_len=frame_size)
> + pkt.config_layers([('ether', {'dst': dst_mac}), ('ipv4',
> + {'dst':"192.168.%d.1" % (rx_port+1), 'proto': 255})])
> pcap = os.path.join(self.out_path, "af_xdp_%d_%d_%d.pcap" %
> (self.port_num, rx_port, frame_size))
> pkt.save_pcapfile(None, pcap)
> @@ -98,12 +90,11 @@ class TestAfXdp(TestCase):
> return tgen_input
>
> def config_rule_stream(self, rule_index, frame_size):
> - payload = frame_size - self.header_size
> tgen_input = []
>
> rule = self.rule[rule_index]
> - flow = 'Ether()/IP()/UDP(sport=%d, dport=%d)/("X"*%d)' % (rule[-2],
> rule[-1], payload)
> - pkt = Packet(pkt_str=flow)
> + pkt = Packet(pkt_len=frame_size)
> + pkt.config_layers([('udp', {'src': rule[-2], 'dst':
> + rule[-1]})])
> pcap = os.path.join(self.out_path, "af_xdp_%d_%d.pcap" %
> (rule[-2], frame_size))
> pkt.save_pcapfile(None, pcap)
> @@ -432,7 +423,3 @@ class TestAfXdp(TestCase):
>
> def tear_down_all(self):
> self.dut.kill_all()
> - self.dut.send_expect(
> - "sed -i
> 's/CONFIG_RTE_LIBRTE_PMD_AF_XDP=y$/CONFIG_RTE_LIBRTE_PMD_AF_X
> DP=n/' config/common_base", "# ")
> - self.dut.set_build_options({'RTE_LIBRTE_PMD_AF_XDP': 'n'})
> - self.dut.build_install_dpdk(self.dut.target)
> --
> 2.17.1
[-- Attachment #2: TestAfXdp.log --]
[-- Type: application/octet-stream, Size: 897445 bytes --]
22/10/2020 16:05:29 dts:
TEST SUITE : TestAfXdp
22/10/2020 16:05:29 dts: NIC : fortville_spirit
22/10/2020 16:05:29 dut.10.240.183.99:
22/10/2020 16:05:29 tester:
22/10/2020 16:05:29 TestAfXdp: you can config packet_size in file af_xdp_2.cfg,in region 'suite' like packet_sizes=[64, 128, 256]
22/10/2020 16:05:29 tester: ls -d /tmp
22/10/2020 16:05:29 tester: /tmp
22/10/2020 16:05:29 dut.10.240.183.99: echo 0000:af:00.0 > /sys/bus/pci/devices/0000\:af\:00.0/driver/unbind
22/10/2020 16:05:30 dut.10.240.183.99:
22/10/2020 16:05:30 dut.10.240.183.99: modprobe i40e
22/10/2020 16:05:30 dut.10.240.183.99:
22/10/2020 16:05:30 dut.10.240.183.99: echo 0000:af:00.0 > /sys/bus/pci/drivers/i40e/bind
22/10/2020 16:05:30 dut.10.240.183.99:
22/10/2020 16:05:30 dut.10.240.183.99: ifconfig enp175s0f0 up
22/10/2020 16:05:30 dut.10.240.183.99:
22/10/2020 16:05:30 dut.10.240.183.99: echo 0000:af:00.1 > /sys/bus/pci/devices/0000\:af\:00.1/driver/unbind
22/10/2020 16:05:30 dut.10.240.183.99:
22/10/2020 16:05:30 dut.10.240.183.99: modprobe i40e
22/10/2020 16:05:30 dut.10.240.183.99:
22/10/2020 16:05:30 dut.10.240.183.99: echo 0000:af:00.1 > /sys/bus/pci/drivers/i40e/bind
22/10/2020 16:05:30 dut.10.240.183.99:
22/10/2020 16:05:31 dut.10.240.183.99: ifconfig enp175s0f1 up
22/10/2020 16:05:31 dut.10.240.183.99:
22/10/2020 16:05:32 TestAfXdp: Test Case test_perf_one_port_multiqueue_and_same_irqs Begin
22/10/2020 16:05:32 dut.10.240.183.99:
22/10/2020 16:05:32 tester:
22/10/2020 16:05:33 dut.10.240.183.99: ethtool -L enp175s0f0 combined 2
22/10/2020 16:05:33 dut.10.240.183.99:
22/10/2020 16:05:34 TestAfXdp: start testpmd
22/10/2020 16:05:34 dut.10.240.183.99: x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 32,33,34 -n 4 --file-prefix=dpdk_8836_20201022160458 --no-pci --vdev net_af_xdp0,iface=enp175s0f0,start_queue=0,queue_count=2 --log-level=pmd.net.af_xdp:8 -- -i --auto-start --nb-cores=2 --rxq=2 --txq=2 --port-topology=loop
22/10/2020 16:05:34 dut.10.240.183.99: EAL: Detected 72 lcore(s)
EAL: Detected 2 NUMA nodes
EAL: Multi-process socket /var/run/dpdk/dpdk_8836_20201022160458/mp_socket
EAL: Selected IOVA mode 'VA'
EAL: Probing VFIO support...
EAL: VFIO support initialized
rte_pmd_af_xdp_probe(): Initializing pmd_af_xdp for net_af_xdp0
init_internals(): Zero copy between umem and mbuf enabled.
Interactive-mode selected
Auto-start selected
testpmd: create a new mbuf pool <mb_pool_1>: n=163456, size=2176, socket=1
testpmd: preferred mempool ops selected: ring_mp_mc
Configuring Port 0 (socket 1)
eth_rx_queue_setup(): Set up rx queue, rx queue id: 0, xsk queue id: 0
eth_rx_queue_setup(): Set up rx queue, rx queue id: 1, xsk queue id: 1
Port 0: 3C:FD:FE:C8:19:D0
Checking link statuses...
Done
Start automatic packet forwarding
io packet forwarding - ports=1 - cores=2 - streams=2 - NUMA support enabled, MP allocation mode: native
Logical Core 33 (socket 1) forwards packets on 1 streams:
RX P=0/Q=0 (socket 1) -> TX P=0/Q=0 (socket 1) peer=02:00:00:00:00:00
Logical Core 34 (socket 1) forwards packets on 1 streams:
RX P=0/Q=1 (socket 1) -> TX P=0/Q=1 (socket 1) peer=02:00:00:00:00:00
io packet forwarding packets/burst=32
nb forwarding cores=2 - nb forwarding ports=1
port 0: RX queue number: 2 Tx queue number: 2
Rx offloads=0x0 Tx offloads=0x0
RX queue: 0
RX desc=0 - RX free threshold=0
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0x0
TX queue: 0
TX desc=0 - TX free threshold=0
TX threshold registers: pthresh=0 hthresh=0 wthresh=0
TX offloads=0x0 - TX RS bit threshold=0
22/10/2020 16:05:36 TestAfXdp: Running test test_perf_one_port_multiqueue_and_same_irqs, and 64 frame size.
22/10/2020 16:05:36 pktgen: test port 0 map gen port 0
22/10/2020 16:05:36 pktgen: test port 0 map gen port 0
22/10/2020 16:05:36 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:d0',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:9d:1c:f8',
'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:82:00.0',
'prom': 'off',
'prom_supported': 'yes',
'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
'rx_filter_mode': 'hardware match',
'rx_queue': 'off',
'speed': 40.0,
'src_ipv4': '-',
'src_mac': '3c:fd:fe:9d:1c:f8',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
22/10/2020 16:05:36 pktgen: trex port <0> not support flow control
22/10/2020 16:05:36 pktgen: trex packet generator: run traffic 5s to warm up ...
22/10/2020 16:05:36 pktgen: check the trex port link status
22/10/2020 16:05:36 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:d0',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:9d:1c:f8',
'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:82:00.0',
'prom': 'on',
'prom_supported': 'yes',
'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
'rx_filter_mode': 'hardware match',
'rx_queue': 'off',
'speed': 40.0,
'src_ipv4': '-',
'src_mac': '3c:fd:fe:9d:1c:f8',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
22/10/2020 16:05:36 pktgen: begin traffic ......
22/10/2020 16:05:36 pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
22/10/2020 16:05:41 pktgen: traffic completed.
22/10/2020 16:05:41 pktgen: check the trex port link status
22/10/2020 16:05:41 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:d0',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:9d:1c:f8',
'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:82:00.0',
'prom': 'on',
'prom_supported': 'yes',
'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
'rx_filter_mode': 'hardware match',
'rx_queue': 'off',
'speed': 40.0,
'src_ipv4': '-',
'src_mac': '3c:fd:fe:9d:1c:f8',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
22/10/2020 16:05:41 pktgen: begin traffic ......
22/10/2020 16:05:41 pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
22/10/2020 16:05:51 pktgen: begin get port statistic ...
22/10/2020 16:05:51 pktgen: {'options': {'fields_config': {'ip': {'dst': {'action': 'random',
'end': '192.168.1.64',
'start': '192.168.1.1',
'step': 1}}},
'pcap': '/tmp/af_xdp_1_0_64.pcap',
'stream_config': {'rate': 100,
'transmit_mode': 'continuous',
'txmode': {}}},
'pcap_file': '/tmp/af_xdp_1_0_64.pcap',
'rx_port': 0,
'tx_port': 0}
22/10/2020 16:05:51 pktgen: {0: {'ibytes': 35768464,
'ierrors': 0,
'ipackets': 558883,
'obytes': 27321057664,
'oerrors': 0,
'opackets': 426891605,
'rx_bps': 28526774.0,
'rx_bps_L1': 37441382.125,
'rx_pps': 55716.30078125,
'rx_util': 0.0936034553125,
'tx_bps': 21856692224.0,
'tx_bps_L1': 28686907903.999996,
'tx_pps': 42688848.0,
'tx_util': 71.71726976},
1: {'ibytes': 0,
'ierrors': 0,
'ipackets': 0,
'obytes': 0,
'oerrors': 0,
'opackets': 0,
'rx_bps': 0.0,
'rx_bps_L1': 0,
'rx_pps': 0.0,
'rx_util': 0.0,
'tx_bps': 0.0,
'tx_bps_L1': 0,
'tx_pps': 0.0,
'tx_util': 0.0},
'flow_stats': {},
'global': {'bw_per_core': 4.459202289581299,
'cpu_util': 98.02960968017578,
'queue_full': 48233080,
'rx_bps': 28526774.0,
'rx_cpu_util': 0.0,
'rx_drop_bps': 21828163584.0,
'rx_pps': 55716.30078125,
'tx_bps': 21856692224.0,
'tx_pps': 42688848.0},
'latency': {},
'total': {'ibytes': 35768464,
'ierrors': 0,
'ipackets': 558883,
'obytes': 27321057664,
'oerrors': 0,
'opackets': 426891605,
'rx_bps': 28526774.0,
'rx_bps_L1': 37441382.125,
'rx_pps': 55716.30078125,
'rx_util': 0.0936034553125,
'tx_bps': 21856692224.0,
'tx_bps_L1': 28686907903.999996,
'tx_pps': 42688848.0,
'tx_util': 71.71726976}}
22/10/2020 16:05:51 pktgen: {'ibytes': 35768464,
'ierrors': 0,
'ipackets': 558883,
'obytes': 27321057664,
'oerrors': 0,
'opackets': 426891605,
'rx_bps': 28526774.0,
'rx_bps_L1': 37441382.125,
'rx_pps': 55716.30078125,
'rx_util': 0.0936034553125,
'tx_bps': 21856692224.0,
'tx_bps_L1': 28686907903.999996,
'tx_pps': 42688848.0,
'tx_util': 71.71726976}
22/10/2020 16:05:51 pktgen: Tx Port 0 stats:
tx_port: 0, tx_bps: 21856692224.000000, tx_pps: 42688848.000000
22/10/2020 16:05:51 pktgen: {'ibytes': 35768464,
'ierrors': 0,
'ipackets': 558883,
'obytes': 27321057664,
'oerrors': 0,
'opackets': 426891605,
'rx_bps': 28526774.0,
'rx_bps_L1': 37441382.125,
'rx_pps': 55716.30078125,
'rx_util': 0.0936034553125,
'tx_bps': 21856692224.0,
'tx_bps_L1': 28686907903.999996,
'tx_pps': 42688848.0,
'tx_util': 71.71726976}
22/10/2020 16:05:51 pktgen: Rx Port 0 stats:
rx_port: 0, rx_bps: 28526774.000000, rx_pps: 55716.300781
22/10/2020 16:05:51 pktgen: throughput: pps_rx 55716.300781, bps_rx 28526774.000000
22/10/2020 16:05:51 pktgen: traffic completed.
22/10/2020 16:05:51 dut.10.240.183.99: stop
22/10/2020 16:05:51 dut.10.240.183.99:
Telling cores to ...
Waiting for lcores to finish...
------- Forward Stats for RX Port= 0/Queue= 0 -> TX Port= 0/Queue= 0 -------
RX-packets: 315406 TX-packets: 315406 TX-dropped: 0
------- Forward Stats for RX Port= 0/Queue= 1 -> TX Port= 0/Queue= 1 -------
RX-packets: 531321 TX-packets: 531321 TX-dropped: 0
---------------------- Forward statistics for port 0 ----------------------
RX-packets: 846727 RX-dropped: 511417426 RX-total: 512264153
TX-packets: 846727 TX-dropped: 0 TX-total: 846727
----------------------------------------------------------------------------
+++++++++++++++ Accumulated forward statistics for all ports+++++++++++++++
RX-packets: 846727 RX-dropped: 511417426 RX-total: 512264153
TX-packets: 846727 TX-dropped: 0 TX-total: 846727
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Done.
22/10/2020 16:05:51 dut.10.240.183.99: start
22/10/2020 16:05:51 dut.10.240.183.99:
io packet forwarding - ports=1 - cores=2 - streams=2 - NUMA support enabled, MP allocation mode: native
Logical Core 33 (socket 1) forwards packets on 1 streams:
RX P=0/Q=0 (socket 1) -> TX P=0/Q=0 (socket 1) peer=02:00:00:00:00:00
Logical Core 34 (socket 1) forwards packets on 1 streams:
RX P=0/Q=1 (socket 1) -> TX P=0/Q=1 (socket 1) peer=02:00:00:00:00:00
io packet forwarding packets/burst=32
nb forwarding cores=2 - nb forwarding ports=1
port 0: RX queue number: 2 Tx queue number: 2
Rx offloads=0x0 Tx offloads=0x0
RX queue: 0
RX desc=0 - RX free threshold=0
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0x0
TX queue: 0
TX desc=0 - TX free threshold=0
TX threshold registers: pthresh=0 hthresh=0 wthresh=0
TX offloads=0x0 - TX RS bit threshold=0
22/10/2020 16:05:51 TestAfXdp: Running test test_perf_one_port_multiqueue_and_same_irqs, and 128 frame size.
22/10/2020 16:05:51 pktgen: test port 0 map gen port 0
22/10/2020 16:05:51 pktgen: test port 0 map gen port 0
22/10/2020 16:05:51 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:d0',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:9d:1c:f8',
'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:82:00.0',
'prom': 'off',
'prom_supported': 'yes',
'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
'rx_filter_mode': 'hardware match',
'rx_queue': 'off',
'speed': 40.0,
'src_ipv4': '-',
'src_mac': '3c:fd:fe:9d:1c:f8',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
22/10/2020 16:05:51 pktgen: trex port <0> not support flow control
22/10/2020 16:05:51 pktgen: trex packet generator: run traffic 5s to warm up ...
22/10/2020 16:05:51 pktgen: check the trex port link status
22/10/2020 16:05:51 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:d0',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:9d:1c:f8',
'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:82:00.0',
'prom': 'on',
'prom_supported': 'yes',
'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
'rx_filter_mode': 'hardware match',
'rx_queue': 'off',
'speed': 40.0,
'src_ipv4': '-',
'src_mac': '3c:fd:fe:9d:1c:f8',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
22/10/2020 16:05:51 pktgen: begin traffic ......
22/10/2020 16:05:51 pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
22/10/2020 16:05:56 pktgen: traffic completed.
22/10/2020 16:05:56 pktgen: check the trex port link status
22/10/2020 16:05:56 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:d0',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:9d:1c:f8',
'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:82:00.0',
'prom': 'on',
'prom_supported': 'yes',
'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
'rx_filter_mode': 'hardware match',
'rx_queue': 'off',
'speed': 40.0,
'src_ipv4': '-',
'src_mac': '3c:fd:fe:9d:1c:f8',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
22/10/2020 16:05:56 pktgen: begin traffic ......
22/10/2020 16:05:56 pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
22/10/2020 16:06:06 pktgen: begin get port statistic ...
22/10/2020 16:06:06 pktgen: {'options': {'fields_config': {'ip': {'dst': {'action': 'random',
'end': '192.168.1.64',
'start': '192.168.1.1',
'step': 1}}},
'pcap': '/tmp/af_xdp_1_0_128.pcap',
'stream_config': {'rate': 100,
'transmit_mode': 'continuous',
'txmode': {}}},
'pcap_file': '/tmp/af_xdp_1_0_128.pcap',
'rx_port': 0,
'tx_port': 0}
22/10/2020 16:06:06 pktgen: {0: {'ibytes': 449883065,
'ierrors': 0,
'ipackets': 3514712,
'obytes': 43280334080,
'oerrors': 0,
'opackets': 338127653,
'rx_bps': 358808672.0,
'rx_bps_L1': 414872772.0,
'rx_pps': 350400.625,
'rx_util': 1.03718193,
'tx_bps': 34597445632.0,
'tx_bps_L1': 40003446271.99999,
'tx_pps': 33787504.0,
'tx_util': 100.00861567999999},
1: {'ibytes': 0,
'ierrors': 0,
'ipackets': 0,
'obytes': 0,
'oerrors': 0,
'opackets': 0,
'rx_bps': 0.0,
'rx_bps_L1': 0,
'rx_pps': 0.0,
'rx_util': 0.0,
'tx_bps': 0.0,
'tx_bps_L1': 0,
'tx_pps': 0.0,
'tx_util': 0.0},
'flow_stats': {},
'global': {'bw_per_core': 17.3560791015625,
'cpu_util': 39.86781311035156,
'queue_full': 171282,
'rx_bps': 358808672.0,
'rx_cpu_util': 0.0,
'rx_drop_bps': 34238636032.0,
'rx_pps': 350400.625,
'tx_bps': 34597445632.0,
'tx_pps': 33787504.0},
'latency': {},
'total': {'ibytes': 449883065,
'ierrors': 0,
'ipackets': 3514712,
'obytes': 43280334080,
'oerrors': 0,
'opackets': 338127653,
'rx_bps': 358808672.0,
'rx_bps_L1': 414872772.0,
'rx_pps': 350400.625,
'rx_util': 1.03718193,
'tx_bps': 34597445632.0,
'tx_bps_L1': 40003446271.99999,
'tx_pps': 33787504.0,
'tx_util': 100.00861567999999}}
22/10/2020 16:06:06 pktgen: {'ibytes': 449883065,
'ierrors': 0,
'ipackets': 3514712,
'obytes': 43280334080,
'oerrors': 0,
'opackets': 338127653,
'rx_bps': 358808672.0,
'rx_bps_L1': 414872772.0,
'rx_pps': 350400.625,
'rx_util': 1.03718193,
'tx_bps': 34597445632.0,
'tx_bps_L1': 40003446271.99999,
'tx_pps': 33787504.0,
'tx_util': 100.00861567999999}
22/10/2020 16:06:06 pktgen: Tx Port 0 stats:
tx_port: 0, tx_bps: 34597445632.000000, tx_pps: 33787504.000000
22/10/2020 16:06:06 pktgen: {'ibytes': 449883065,
'ierrors': 0,
'ipackets': 3514712,
'obytes': 43280334080,
'oerrors': 0,
'opackets': 338127653,
'rx_bps': 358808672.0,
'rx_bps_L1': 414872772.0,
'rx_pps': 350400.625,
'rx_util': 1.03718193,
'tx_bps': 34597445632.0,
'tx_bps_L1': 40003446271.99999,
'tx_pps': 33787504.0,
'tx_util': 100.00861567999999}
22/10/2020 16:06:06 pktgen: Rx Port 0 stats:
rx_port: 0, rx_bps: 358808672.000000, rx_pps: 350400.625000
22/10/2020 16:06:06 pktgen: throughput: pps_rx 350400.625000, bps_rx 358808672.000000
22/10/2020 16:06:06 pktgen: traffic completed.
22/10/2020 16:06:06 dut.10.240.183.99: stop
22/10/2020 16:06:06 dut.10.240.183.99:
Telling cores to ...
Waiting for lcores to finish...
------- Forward Stats for RX Port= 0/Queue= 0 -> TX Port= 0/Queue= 0 -------
RX-packets: 2588110 TX-packets: 2588110 TX-dropped: 0
------- Forward Stats for RX Port= 0/Queue= 1 -> TX Port= 0/Queue= 1 -------
RX-packets: 2709018 TX-packets: 2709018 TX-dropped: 0
---------------------- Forward statistics for port 0 ----------------------
RX-packets: 5297128 RX-dropped: 502158900 RX-total: 507456028
TX-packets: 5297128 TX-dropped: 0 TX-total: 5297128
----------------------------------------------------------------------------
+++++++++++++++ Accumulated forward statistics for all ports+++++++++++++++
RX-packets: 5297128 RX-dropped: 502158900 RX-total: 507456028
TX-packets: 5297128 TX-dropped: 0 TX-total: 5297128
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Done.
22/10/2020 16:06:06 dut.10.240.183.99: start
22/10/2020 16:06:06 dut.10.240.183.99:
io packet forwarding - ports=1 - cores=2 - streams=2 - NUMA support enabled, MP allocation mode: native
Logical Core 33 (socket 1) forwards packets on 1 streams:
RX P=0/Q=0 (socket 1) -> TX P=0/Q=0 (socket 1) peer=02:00:00:00:00:00
Logical Core 34 (socket 1) forwards packets on 1 streams:
RX P=0/Q=1 (socket 1) -> TX P=0/Q=1 (socket 1) peer=02:00:00:00:00:00
io packet forwarding packets/burst=32
nb forwarding cores=2 - nb forwarding ports=1
port 0: RX queue number: 2 Tx queue number: 2
Rx offloads=0x0 Tx offloads=0x0
RX queue: 0
RX desc=0 - RX free threshold=0
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0x0
TX queue: 0
TX desc=0 - TX free threshold=0
TX threshold registers: pthresh=0 hthresh=0 wthresh=0
TX offloads=0x0 - TX RS bit threshold=0
22/10/2020 16:06:06 TestAfXdp: Running test test_perf_one_port_multiqueue_and_same_irqs, and 256 frame size.
22/10/2020 16:06:06 pktgen: test port 0 map gen port 0
22/10/2020 16:06:06 pktgen: test port 0 map gen port 0
22/10/2020 16:06:06 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:d0',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:9d:1c:f8',
'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:82:00.0',
'prom': 'off',
'prom_supported': 'yes',
'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
'rx_filter_mode': 'hardware match',
'rx_queue': 'off',
'speed': 40.0,
'src_ipv4': '-',
'src_mac': '3c:fd:fe:9d:1c:f8',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
22/10/2020 16:06:06 pktgen: trex port <0> not support flow control
22/10/2020 16:06:06 pktgen: trex packet generator: run traffic 5s to warm up ...
22/10/2020 16:06:06 pktgen: check the trex port link status
22/10/2020 16:06:06 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:d0',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:9d:1c:f8',
'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:82:00.0',
'prom': 'on',
'prom_supported': 'yes',
'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
'rx_filter_mode': 'hardware match',
'rx_queue': 'off',
'speed': 40.0,
'src_ipv4': '-',
'src_mac': '3c:fd:fe:9d:1c:f8',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
22/10/2020 16:06:06 pktgen: begin traffic ......
22/10/2020 16:06:06 pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
22/10/2020 16:06:11 pktgen: traffic completed.
22/10/2020 16:06:11 pktgen: check the trex port link status
22/10/2020 16:06:11 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:d0',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:9d:1c:f8',
'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:82:00.0',
'prom': 'on',
'prom_supported': 'yes',
'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
'rx_filter_mode': 'hardware match',
'rx_queue': 'off',
'speed': 40.0,
'src_ipv4': '-',
'src_mac': '3c:fd:fe:9d:1c:f8',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
22/10/2020 16:06:11 pktgen: begin traffic ......
22/10/2020 16:06:11 pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
22/10/2020 16:06:21 pktgen: begin get port statistic ...
22/10/2020 16:06:21 pktgen: {'options': {'fields_config': {'ip': {'dst': {'action': 'random',
'end': '192.168.1.64',
'start': '192.168.1.1',
'step': 1}}},
'pcap': '/tmp/af_xdp_1_0_256.pcap',
'stream_config': {'rate': 100,
'transmit_mode': 'continuous',
'txmode': {}}},
'pcap_file': '/tmp/af_xdp_1_0_256.pcap',
'rx_port': 0,
'tx_port': 0}
22/10/2020 16:06:21 pktgen: {0: {'ibytes': 7220608087,
'ierrors': 0,
'ipackets': 28205505,
'obytes': 16181095936,
'oerrors': 0,
'opackets': 63207416,
'rx_bps': 5807785472.0,
'rx_bps_L1': 6261519592.0,
'rx_pps': 2835838.25,
'rx_util': 15.65379898,
'tx_bps': 12658641920.0,
'tx_bps_L1': 13647710320.000002,
'tx_pps': 6181677.5,
'tx_util': 34.119275800000004},
1: {'ibytes': 0,
'ierrors': 0,
'ipackets': 0,
'obytes': 0,
'oerrors': 0,
'opackets': 0,
'rx_bps': 0.0,
'rx_bps_L1': 0,
'rx_pps': 0.0,
'rx_util': 0.0,
'tx_bps': 0.0,
'tx_bps_L1': 0,
'tx_pps': 0.0,
'tx_util': 0.0},
'flow_stats': {},
'global': {'bw_per_core': 2.5864834785461426,
'cpu_util': 97.8830337524414,
'queue_full': 89351737,
'rx_bps': 5807785472.0,
'rx_cpu_util': 0.0,
'rx_drop_bps': 6850855936.0,
'rx_pps': 2835838.25,
'tx_bps': 12658641920.0,
'tx_pps': 6181677.5},
'latency': {},
'total': {'ibytes': 7220608087,
'ierrors': 0,
'ipackets': 28205505,
'obytes': 16181095936,
'oerrors': 0,
'opackets': 63207416,
'rx_bps': 5807785472.0,
'rx_bps_L1': 6261519592.0,
'rx_pps': 2835838.25,
'rx_util': 15.65379898,
'tx_bps': 12658641920.0,
'tx_bps_L1': 13647710320.000002,
'tx_pps': 6181677.5,
'tx_util': 34.119275800000004}}
22/10/2020 16:06:21 pktgen: {'ibytes': 7220608087,
'ierrors': 0,
'ipackets': 28205505,
'obytes': 16181095936,
'oerrors': 0,
'opackets': 63207416,
'rx_bps': 5807785472.0,
'rx_bps_L1': 6261519592.0,
'rx_pps': 2835838.25,
'rx_util': 15.65379898,
'tx_bps': 12658641920.0,
'tx_bps_L1': 13647710320.000002,
'tx_pps': 6181677.5,
'tx_util': 34.119275800000004}
22/10/2020 16:06:21 pktgen: Tx Port 0 stats:
tx_port: 0, tx_bps: 12658641920.000000, tx_pps: 6181677.500000
22/10/2020 16:06:21 pktgen: {'ibytes': 7220608087,
'ierrors': 0,
'ipackets': 28205505,
'obytes': 16181095936,
'oerrors': 0,
'opackets': 63207416,
'rx_bps': 5807785472.0,
'rx_bps_L1': 6261519592.0,
'rx_pps': 2835838.25,
'rx_util': 15.65379898,
'tx_bps': 12658641920.0,
'tx_bps_L1': 13647710320.000002,
'tx_pps': 6181677.5,
'tx_util': 34.119275800000004}
22/10/2020 16:06:21 pktgen: Rx Port 0 stats:
rx_port: 0, rx_bps: 5807785472.000000, rx_pps: 2835838.250000
22/10/2020 16:06:21 pktgen: throughput: pps_rx 2835838.250000, bps_rx 5807785472.000000
22/10/2020 16:06:21 pktgen: traffic completed.
22/10/2020 16:06:21 dut.10.240.183.99: stop
22/10/2020 16:06:21 dut.10.240.183.99:
Telling cores to ...
Waiting for lcores to finish...
------- Forward Stats for RX Port= 0/Queue= 0 -> TX Port= 0/Queue= 0 -------
RX-packets: 21199458 TX-packets: 21199458 TX-dropped: 0
------- Forward Stats for RX Port= 0/Queue= 1 -> TX Port= 0/Queue= 1 -------
RX-packets: 21127537 TX-packets: 21127537 TX-dropped: 0
---------------------- Forward statistics for port 0 ----------------------
RX-packets: 42326995 RX-dropped: 52681803 RX-total: 95008798
TX-packets: 42326995 TX-dropped: 0 TX-total: 42326995
----------------------------------------------------------------------------
+++++++++++++++ Accumulated forward statistics for all ports+++++++++++++++
RX-packets: 42326995 RX-dropped: 52681803 RX-total: 95008798
TX-packets: 42326995 TX-dropped: 0 TX-total: 42326995
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Done.
22/10/2020 16:06:21 dut.10.240.183.99: start
22/10/2020 16:06:22 dut.10.240.183.99:
io packet forwarding - ports=1 - cores=2 - streams=2 - NUMA support enabled, MP allocation mode: native
Logical Core 33 (socket 1) forwards packets on 1 streams:
RX P=0/Q=0 (socket 1) -> TX P=0/Q=0 (socket 1) peer=02:00:00:00:00:00
Logical Core 34 (socket 1) forwards packets on 1 streams:
RX P=0/Q=1 (socket 1) -> TX P=0/Q=1 (socket 1) peer=02:00:00:00:00:00
io packet forwarding packets/burst=32
nb forwarding cores=2 - nb forwarding ports=1
port 0: RX queue number: 2 Tx queue number: 2
Rx offloads=0x0 Tx offloads=0x0
RX queue: 0
RX desc=0 - RX free threshold=0
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0x0
TX queue: 0
TX desc=0 - TX free threshold=0
TX threshold registers: pthresh=0 hthresh=0 wthresh=0
TX offloads=0x0 - TX RS bit threshold=0
22/10/2020 16:06:22 TestAfXdp: Running test test_perf_one_port_multiqueue_and_same_irqs, and 512 frame size.
22/10/2020 16:06:22 pktgen: test port 0 map gen port 0
22/10/2020 16:06:22 pktgen: test port 0 map gen port 0
22/10/2020 16:06:22 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:d0',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:9d:1c:f8',
'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:82:00.0',
'prom': 'off',
'prom_supported': 'yes',
'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
'rx_filter_mode': 'hardware match',
'rx_queue': 'off',
'speed': 40.0,
'src_ipv4': '-',
'src_mac': '3c:fd:fe:9d:1c:f8',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
22/10/2020 16:06:22 pktgen: trex port <0> not support flow control
22/10/2020 16:06:22 pktgen: trex packet generator: run traffic 5s to warm up ...
22/10/2020 16:06:22 pktgen: check the trex port link status
22/10/2020 16:06:22 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:d0',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:9d:1c:f8',
'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:82:00.0',
'prom': 'on',
'prom_supported': 'yes',
'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
'rx_filter_mode': 'hardware match',
'rx_queue': 'off',
'speed': 40.0,
'src_ipv4': '-',
'src_mac': '3c:fd:fe:9d:1c:f8',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
22/10/2020 16:06:22 pktgen: begin traffic ......
22/10/2020 16:06:22 pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
22/10/2020 16:06:27 pktgen: traffic completed.
22/10/2020 16:06:27 pktgen: check the trex port link status
22/10/2020 16:06:27 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:d0',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:9d:1c:f8',
'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:82:00.0',
'prom': 'on',
'prom_supported': 'yes',
'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
'rx_filter_mode': 'hardware match',
'rx_queue': 'off',
'speed': 40.0,
'src_ipv4': '-',
'src_mac': '3c:fd:fe:9d:1c:f8',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
22/10/2020 16:06:27 pktgen: begin traffic ......
22/10/2020 16:06:27 pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
22/10/2020 16:06:37 pktgen: begin get port statistic ...
22/10/2020 16:06:37 pktgen: {'options': {'fields_config': {'ip': {'dst': {'action': 'random',
'end': '192.168.1.64',
'start': '192.168.1.1',
'step': 1}}},
'pcap': '/tmp/af_xdp_1_0_512.pcap',
'stream_config': {'rate': 100,
'transmit_mode': 'continuous',
'txmode': {}}},
'pcap_file': '/tmp/af_xdp_1_0_512.pcap',
'rx_port': 0,
'tx_port': 0}
22/10/2020 16:06:37 pktgen: {0: {'ibytes': 14188354233,
'ierrors': 1,
'ipackets': 27711639,
'obytes': 29421981696,
'oerrors': 0,
'opackets': 57464815,
'rx_bps': 11420986368.0,
'rx_bps_L1': 11867127648.000002,
'rx_pps': 2788383.0,
'rx_util': 29.667819120000004,
'tx_bps': 23076450304.0,
'tx_bps_L1': 23977893904.000004,
'tx_pps': 5634022.5,
'tx_util': 59.94473476000001},
1: {'ibytes': 0,
'ierrors': 0,
'ipackets': 0,
'obytes': 0,
'oerrors': 0,
'opackets': 0,
'rx_bps': 0.0,
'rx_bps_L1': 0,
'rx_pps': 0.0,
'rx_util': 0.0,
'tx_bps': 0.0,
'tx_bps_L1': 0,
'tx_pps': 0.0,
'tx_util': 0.0},
'flow_stats': {},
'global': {'bw_per_core': 4.855682373046875,
'cpu_util': 95.04926300048828,
'queue_full': 84431152,
'rx_bps': 11420986368.0,
'rx_cpu_util': 0.0,
'rx_drop_bps': 11655464960.0,
'rx_pps': 2788383.0,
'tx_bps': 23076450304.0,
'tx_pps': 5634022.5},
'latency': {},
'total': {'ibytes': 14188354233,
'ierrors': 1,
'ipackets': 27711639,
'obytes': 29421981696,
'oerrors': 0,
'opackets': 57464815,
'rx_bps': 11420986368.0,
'rx_bps_L1': 11867127648.000002,
'rx_pps': 2788383.0,
'rx_util': 29.667819120000004,
'tx_bps': 23076450304.0,
'tx_bps_L1': 23977893904.000004,
'tx_pps': 5634022.5,
'tx_util': 59.94473476000001}}
22/10/2020 16:06:37 pktgen: {'ibytes': 14188354233,
'ierrors': 1,
'ipackets': 27711639,
'obytes': 29421981696,
'oerrors': 0,
'opackets': 57464815,
'rx_bps': 11420986368.0,
'rx_bps_L1': 11867127648.000002,
'rx_pps': 2788383.0,
'rx_util': 29.667819120000004,
'tx_bps': 23076450304.0,
'tx_bps_L1': 23977893904.000004,
'tx_pps': 5634022.5,
'tx_util': 59.94473476000001}
22/10/2020 16:06:37 pktgen: Tx Port 0 stats:
tx_port: 0, tx_bps: 23076450304.000000, tx_pps: 5634022.500000
22/10/2020 16:06:37 pktgen: {'ibytes': 14188354233,
'ierrors': 1,
'ipackets': 27711639,
'obytes': 29421981696,
'oerrors': 0,
'opackets': 57464815,
'rx_bps': 11420986368.0,
'rx_bps_L1': 11867127648.000002,
'rx_pps': 2788383.0,
'rx_util': 29.667819120000004,
'tx_bps': 23076450304.0,
'tx_bps_L1': 23977893904.000004,
'tx_pps': 5634022.5,
'tx_util': 59.94473476000001}
22/10/2020 16:06:37 pktgen: Rx Port 0 stats:
rx_port: 0, rx_bps: 11420986368.000000, rx_pps: 2788383.000000
22/10/2020 16:06:37 pktgen: throughput: pps_rx 2788383.000000, bps_rx 11420986368.000000
22/10/2020 16:06:37 pktgen: traffic completed.
22/10/2020 16:06:37 dut.10.240.183.99: stop
22/10/2020 16:06:37 dut.10.240.183.99:
Telling cores to ...
Waiting for lcores to finish...
------- Forward Stats for RX Port= 0/Queue= 0 -> TX Port= 0/Queue= 0 -------
RX-packets: 20824250 TX-packets: 20824250 TX-dropped: 0
------- Forward Stats for RX Port= 0/Queue= 1 -> TX Port= 0/Queue= 1 -------
RX-packets: 20746537 TX-packets: 20746537 TX-dropped: 0
---------------------- Forward statistics for port 0 ----------------------
RX-packets: 41570787 RX-dropped: 45360755 RX-total: 86931542
TX-packets: 41570787 TX-dropped: 0 TX-total: 41570787
----------------------------------------------------------------------------
+++++++++++++++ Accumulated forward statistics for all ports+++++++++++++++
RX-packets: 41570787 RX-dropped: 45360755 RX-total: 86931542
TX-packets: 41570787 TX-dropped: 0 TX-total: 41570787
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Done.
22/10/2020 16:06:37 dut.10.240.183.99: start
22/10/2020 16:06:37 dut.10.240.183.99:
io packet forwarding - ports=1 - cores=2 - streams=2 - NUMA support enabled, MP allocation mode: native
Logical Core 33 (socket 1) forwards packets on 1 streams:
RX P=0/Q=0 (socket 1) -> TX P=0/Q=0 (socket 1) peer=02:00:00:00:00:00
Logical Core 34 (socket 1) forwards packets on 1 streams:
RX P=0/Q=1 (socket 1) -> TX P=0/Q=1 (socket 1) peer=02:00:00:00:00:00
io packet forwarding packets/burst=32
nb forwarding cores=2 - nb forwarding ports=1
port 0: RX queue number: 2 Tx queue number: 2
Rx offloads=0x0 Tx offloads=0x0
RX queue: 0
RX desc=0 - RX free threshold=0
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0x0
TX queue: 0
TX desc=0 - TX free threshold=0
TX threshold registers: pthresh=0 hthresh=0 wthresh=0
TX offloads=0x0 - TX RS bit threshold=0
22/10/2020 16:06:37 TestAfXdp: Running test test_perf_one_port_multiqueue_and_same_irqs, and 1024 frame size.
22/10/2020 16:06:37 pktgen: test port 0 map gen port 0
22/10/2020 16:06:37 pktgen: test port 0 map gen port 0
22/10/2020 16:06:37 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:d0',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:9d:1c:f8',
'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:82:00.0',
'prom': 'off',
'prom_supported': 'yes',
'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
'rx_filter_mode': 'hardware match',
'rx_queue': 'off',
'speed': 40.0,
'src_ipv4': '-',
'src_mac': '3c:fd:fe:9d:1c:f8',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
22/10/2020 16:06:37 pktgen: trex port <0> not support flow control
22/10/2020 16:06:37 pktgen: trex packet generator: run traffic 5s to warm up ...
22/10/2020 16:06:37 pktgen: check the trex port link status
22/10/2020 16:06:37 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:d0',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:9d:1c:f8',
'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:82:00.0',
'prom': 'on',
'prom_supported': 'yes',
'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
'rx_filter_mode': 'hardware match',
'rx_queue': 'off',
'speed': 40.0,
'src_ipv4': '-',
'src_mac': '3c:fd:fe:9d:1c:f8',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
22/10/2020 16:06:37 pktgen: begin traffic ......
22/10/2020 16:06:37 pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
22/10/2020 16:06:42 pktgen: traffic completed.
22/10/2020 16:06:42 pktgen: check the trex port link status
22/10/2020 16:06:42 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:d0',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:9d:1c:f8',
'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:82:00.0',
'prom': 'on',
'prom_supported': 'yes',
'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
'rx_filter_mode': 'hardware match',
'rx_queue': 'off',
'speed': 40.0,
'src_ipv4': '-',
'src_mac': '3c:fd:fe:9d:1c:f8',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
22/10/2020 16:06:42 pktgen: begin traffic ......
22/10/2020 16:06:42 pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
22/10/2020 16:06:52 pktgen: begin get port statistic ...
22/10/2020 16:06:52 pktgen: {'options': {'fields_config': {'ip': {'dst': {'action': 'random',
'end': '192.168.1.64',
'start': '192.168.1.1',
'step': 1}}},
'pcap': '/tmp/af_xdp_1_0_1024.pcap',
'stream_config': {'rate': 100,
'transmit_mode': 'continuous',
'txmode': {}}},
'pcap_file': '/tmp/af_xdp_1_0_1024.pcap',
'rx_port': 0,
'tx_port': 0}
22/10/2020 16:06:52 pktgen: {0: {'ibytes': 25527168087,
'ierrors': 0,
'ipackets': 24928878,
'obytes': 46535245824,
'oerrors': 0,
'opackets': 45444581,
'rx_bps': 20438476800.0,
'rx_bps_L1': 20837674280.000004,
'rx_pps': 2494984.25,
'rx_util': 52.094185700000004,
'tx_bps': 37071384576.0,
'tx_bps_L1': 37795452416.0,
'tx_pps': 4525424.0,
'tx_util': 94.48863104},
1: {'ibytes': 0,
'ierrors': 0,
'ipackets': 0,
'obytes': 0,
'oerrors': 0,
'opackets': 0,
'rx_bps': 0.0,
'rx_bps_L1': 0,
'rx_pps': 0.0,
'rx_util': 0.0,
'tx_bps': 0.0,
'tx_bps_L1': 0,
'tx_pps': 0.0,
'tx_util': 0.0},
'flow_stats': {},
'global': {'bw_per_core': 34.51836013793945,
'cpu_util': 21.47922706604004,
'queue_full': 15445479,
'rx_bps': 20438476800.0,
'rx_cpu_util': 0.0,
'rx_drop_bps': 16632906752.0,
'rx_pps': 2494984.25,
'tx_bps': 37071384576.0,
'tx_pps': 4525424.0},
'latency': {},
'total': {'ibytes': 25527168087,
'ierrors': 0,
'ipackets': 24928878,
'obytes': 46535245824,
'oerrors': 0,
'opackets': 45444581,
'rx_bps': 20438476800.0,
'rx_bps_L1': 20837674280.000004,
'rx_pps': 2494984.25,
'rx_util': 52.094185700000004,
'tx_bps': 37071384576.0,
'tx_bps_L1': 37795452416.0,
'tx_pps': 4525424.0,
'tx_util': 94.48863104}}
22/10/2020 16:06:52 pktgen: {'ibytes': 25527168087,
'ierrors': 0,
'ipackets': 24928878,
'obytes': 46535245824,
'oerrors': 0,
'opackets': 45444581,
'rx_bps': 20438476800.0,
'rx_bps_L1': 20837674280.000004,
'rx_pps': 2494984.25,
'rx_util': 52.094185700000004,
'tx_bps': 37071384576.0,
'tx_bps_L1': 37795452416.0,
'tx_pps': 4525424.0,
'tx_util': 94.48863104}
22/10/2020 16:06:52 pktgen: Tx Port 0 stats:
tx_port: 0, tx_bps: 37071384576.000000, tx_pps: 4525424.000000
22/10/2020 16:06:52 pktgen: {'ibytes': 25527168087,
'ierrors': 0,
'ipackets': 24928878,
'obytes': 46535245824,
'oerrors': 0,
'opackets': 45444581,
'rx_bps': 20438476800.0,
'rx_bps_L1': 20837674280.000004,
'rx_pps': 2494984.25,
'rx_util': 52.094185700000004,
'tx_bps': 37071384576.0,
'tx_bps_L1': 37795452416.0,
'tx_pps': 4525424.0,
'tx_util': 94.48863104}
22/10/2020 16:06:52 pktgen: Rx Port 0 stats:
rx_port: 0, rx_bps: 20438476800.000000, rx_pps: 2494984.250000
22/10/2020 16:06:52 pktgen: throughput: pps_rx 2494984.250000, bps_rx 20438476800.000000
22/10/2020 16:06:52 pktgen: traffic completed.
22/10/2020 16:06:52 dut.10.240.183.99: stop
22/10/2020 16:06:52 dut.10.240.183.99:
Telling cores to ...
Waiting for lcores to finish...
------- Forward Stats for RX Port= 0/Queue= 0 -> TX Port= 0/Queue= 0 -------
RX-packets: 18753416 TX-packets: 18753416 TX-dropped: 0
------- Forward Stats for RX Port= 0/Queue= 1 -> TX Port= 0/Queue= 1 -------
RX-packets: 18641676 TX-packets: 18641676 TX-dropped: 0
---------------------- Forward statistics for port 0 ----------------------
RX-packets: 37395092 RX-dropped: 31264363 RX-total: 68659455
TX-packets: 37395092 TX-dropped: 0 TX-total: 37395092
----------------------------------------------------------------------------
+++++++++++++++ Accumulated forward statistics for all ports+++++++++++++++
RX-packets: 37395092 RX-dropped: 31264363 RX-total: 68659455
TX-packets: 37395092 TX-dropped: 0 TX-total: 37395092
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Done.
22/10/2020 16:06:52 dut.10.240.183.99: start
22/10/2020 16:06:52 dut.10.240.183.99:
io packet forwarding - ports=1 - cores=2 - streams=2 - NUMA support enabled, MP allocation mode: native
Logical Core 33 (socket 1) forwards packets on 1 streams:
RX P=0/Q=0 (socket 1) -> TX P=0/Q=0 (socket 1) peer=02:00:00:00:00:00
Logical Core 34 (socket 1) forwards packets on 1 streams:
RX P=0/Q=1 (socket 1) -> TX P=0/Q=1 (socket 1) peer=02:00:00:00:00:00
io packet forwarding packets/burst=32
nb forwarding cores=2 - nb forwarding ports=1
port 0: RX queue number: 2 Tx queue number: 2
Rx offloads=0x0 Tx offloads=0x0
RX queue: 0
RX desc=0 - RX free threshold=0
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0x0
TX queue: 0
TX desc=0 - TX free threshold=0
TX threshold registers: pthresh=0 hthresh=0 wthresh=0
TX offloads=0x0 - TX RS bit threshold=0
22/10/2020 16:06:52 TestAfXdp: Running test test_perf_one_port_multiqueue_and_same_irqs, and 1518 frame size.
22/10/2020 16:06:52 pktgen: test port 0 map gen port 0
22/10/2020 16:06:52 pktgen: test port 0 map gen port 0
22/10/2020 16:06:52 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:d0',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:9d:1c:f8',
'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:82:00.0',
'prom': 'off',
'prom_supported': 'yes',
'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
'rx_filter_mode': 'hardware match',
'rx_queue': 'off',
'speed': 40.0,
'src_ipv4': '-',
'src_mac': '3c:fd:fe:9d:1c:f8',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
22/10/2020 16:06:52 pktgen: trex port <0> not support flow control
22/10/2020 16:06:52 pktgen: trex packet generator: run traffic 5s to warm up ...
22/10/2020 16:06:52 pktgen: check the trex port link status
22/10/2020 16:06:52 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:d0',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:9d:1c:f8',
'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:82:00.0',
'prom': 'on',
'prom_supported': 'yes',
'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
'rx_filter_mode': 'hardware match',
'rx_queue': 'off',
'speed': 40.0,
'src_ipv4': '-',
'src_mac': '3c:fd:fe:9d:1c:f8',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
22/10/2020 16:06:52 pktgen: begin traffic ......
22/10/2020 16:06:52 pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
22/10/2020 16:06:57 pktgen: traffic completed.
22/10/2020 16:06:57 pktgen: check the trex port link status
22/10/2020 16:06:57 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:d0',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:9d:1c:f8',
'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:82:00.0',
'prom': 'on',
'prom_supported': 'yes',
'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
'rx_filter_mode': 'hardware match',
'rx_queue': 'off',
'speed': 40.0,
'src_ipv4': '-',
'src_mac': '3c:fd:fe:9d:1c:f8',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
22/10/2020 16:06:57 pktgen: begin traffic ......
22/10/2020 16:06:57 pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
22/10/2020 16:07:07 pktgen: begin get port statistic ...
22/10/2020 16:07:07 pktgen: {'options': {'fields_config': {'ip': {'dst': {'action': 'random',
'end': '192.168.1.64',
'start': '192.168.1.1',
'step': 1}}},
'pcap': '/tmp/af_xdp_1_0_1518.pcap',
'stream_config': {'rate': 100,
'transmit_mode': 'continuous',
'txmode': {}}},
'pcap_file': '/tmp/af_xdp_1_0_1518.pcap',
'rx_port': 0,
'tx_port': 0}
22/10/2020 16:07:07 pktgen: {0: {'ibytes': 35983663254,
'ierrors': 0,
'ipackets': 23704656,
'obytes': 49405409394,
'oerrors': 0,
'opackets': 32546387,
'rx_bps': 28666476544.0,
'rx_bps_L1': 29044168944.0,
'rx_pps': 2360577.5,
'rx_util': 72.61042236,
'tx_bps': 39366709248.0,
'tx_bps_L1': 39885383408.0,
'tx_pps': 3241713.5,
'tx_util': 99.71345852},
1: {'ibytes': 0,
'ierrors': 0,
'ipackets': 0,
'obytes': 0,
'oerrors': 0,
'opackets': 0,
'rx_bps': 0.0,
'rx_bps_L1': 0,
'rx_pps': 0.0,
'rx_util': 0.0,
'tx_bps': 0.0,
'tx_bps_L1': 0,
'tx_pps': 0.0,
'tx_util': 0.0},
'flow_stats': {},
'global': {'bw_per_core': 287.65240478515625,
'cpu_util': 2.737102746963501,
'queue_full': 0,
'rx_bps': 28666476544.0,
'rx_cpu_util': 0.0,
'rx_drop_bps': 10700234752.0,
'rx_pps': 2360577.5,
'tx_bps': 39366709248.0,
'tx_pps': 3241713.5},
'latency': {},
'total': {'ibytes': 35983663254,
'ierrors': 0,
'ipackets': 23704656,
'obytes': 49405409394,
'oerrors': 0,
'opackets': 32546387,
'rx_bps': 28666476544.0,
'rx_bps_L1': 29044168944.0,
'rx_pps': 2360577.5,
'rx_util': 72.61042236,
'tx_bps': 39366709248.0,
'tx_bps_L1': 39885383408.0,
'tx_pps': 3241713.5,
'tx_util': 99.71345852}}
22/10/2020 16:07:07 pktgen: {'ibytes': 35983663254,
'ierrors': 0,
'ipackets': 23704656,
'obytes': 49405409394,
'oerrors': 0,
'opackets': 32546387,
'rx_bps': 28666476544.0,
'rx_bps_L1': 29044168944.0,
'rx_pps': 2360577.5,
'rx_util': 72.61042236,
'tx_bps': 39366709248.0,
'tx_bps_L1': 39885383408.0,
'tx_pps': 3241713.5,
'tx_util': 99.71345852}
22/10/2020 16:07:07 pktgen: Tx Port 0 stats:
tx_port: 0, tx_bps: 39366709248.000000, tx_pps: 3241713.500000
22/10/2020 16:07:07 pktgen: {'ibytes': 35983663254,
'ierrors': 0,
'ipackets': 23704656,
'obytes': 49405409394,
'oerrors': 0,
'opackets': 32546387,
'rx_bps': 28666476544.0,
'rx_bps_L1': 29044168944.0,
'rx_pps': 2360577.5,
'rx_util': 72.61042236,
'tx_bps': 39366709248.0,
'tx_bps_L1': 39885383408.0,
'tx_pps': 3241713.5,
'tx_util': 99.71345852}
22/10/2020 16:07:07 pktgen: Rx Port 0 stats:
rx_port: 0, rx_bps: 28666476544.000000, rx_pps: 2360577.500000
22/10/2020 16:07:07 pktgen: throughput: pps_rx 2360577.500000, bps_rx 28666476544.000000
22/10/2020 16:07:07 pktgen: traffic completed.
22/10/2020 16:07:07 dut.10.240.183.99: stop
22/10/2020 16:07:07 dut.10.240.183.99:
Telling cores to ...
Waiting for lcores to finish...
------- Forward Stats for RX Port= 0/Queue= 0 -> TX Port= 0/Queue= 0 -------
RX-packets: 17869391 TX-packets: 17869391 TX-dropped: 0
------- Forward Stats for RX Port= 0/Queue= 1 -> TX Port= 0/Queue= 1 -------
RX-packets: 17724209 TX-packets: 17724209 TX-dropped: 0
---------------------- Forward statistics for port 0 ----------------------
RX-packets: 35593600 RX-dropped: 13260755 RX-total: 48854355
TX-packets: 35593600 TX-dropped: 0 TX-total: 35593600
----------------------------------------------------------------------------
+++++++++++++++ Accumulated forward statistics for all ports+++++++++++++++
RX-packets: 35593600 RX-dropped: 13260755 RX-total: 48854355
TX-packets: 35593600 TX-dropped: 0 TX-total: 35593600
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Done.
22/10/2020 16:07:07 dut.10.240.183.99: start
22/10/2020 16:07:08 dut.10.240.183.99:
io packet forwarding - ports=1 - cores=2 - streams=2 - NUMA support enabled, MP allocation mode: native
Logical Core 33 (socket 1) forwards packets on 1 streams:
RX P=0/Q=0 (socket 1) -> TX P=0/Q=0 (socket 1) peer=02:00:00:00:00:00
Logical Core 34 (socket 1) forwards packets on 1 streams:
RX P=0/Q=1 (socket 1) -> TX P=0/Q=1 (socket 1) peer=02:00:00:00:00:00
io packet forwarding packets/burst=32
nb forwarding cores=2 - nb forwarding ports=1
port 0: RX queue number: 2 Tx queue number: 2
Rx offloads=0x0 Tx offloads=0x0
RX queue: 0
RX desc=0 - RX free threshold=0
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0x0
TX queue: 0
TX desc=0 - TX free threshold=0
TX threshold registers: pthresh=0 hthresh=0 wthresh=0
TX offloads=0x0 - TX RS bit threshold=0
22/10/2020 16:07:08 TestAfXdp:
+--------------+--------------+-----------------------+-----------------+
| FrameSize(B) | Queue number | Port Throughput(Mpps) | Port % linerate |
+==============+==============+=======================+=================+
| 64 | 2 | 0.056 | 0.094 |
+--------------+--------------+-----------------------+-----------------+
| 128 | 2 | 0.350 | 1.037 |
+--------------+--------------+-----------------------+-----------------+
| 256 | 2 | 2.836 | 15.654 |
+--------------+--------------+-----------------------+-----------------+
| 512 | 2 | 2.788 | 29.668 |
+--------------+--------------+-----------------------+-----------------+
| 1024 | 2 | 2.495 | 52.095 |
+--------------+--------------+-----------------------+-----------------+
| 1518 | 2 | 2.361 | 72.611 |
+--------------+--------------+-----------------------+-----------------+
22/10/2020 16:07:08 TestAfXdp: Test Case test_perf_one_port_multiqueue_and_same_irqs Result PASSED:
22/10/2020 16:07:08 dut.10.240.183.99: quit
22/10/2020 16:07:08 dut.10.240.183.99:
Telling cores to stop...
Waiting for lcores to finish...
---------------------- Forward statistics for port 0 ----------------------
RX-packets: 0 RX-dropped: 0 RX-total: 0
TX-packets: 0 TX-dropped: 0 TX-total: 0
----------------------------------------------------------------------------
+++++++++++++++ Accumulated forward statistics for all ports+++++++++++++++
RX-packets: 0 RX-dropped: 0 RX-total: 0
TX-packets: 0 TX-dropped: 0 TX-total: 0
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Done.
Stopping port 0...
Stopping ports...
Done
Shutting down port 0...
Closing ports...
eth_dev_close(): Closing AF_XDP ethdev on numa socket 1
Port 0 is closed
Done
Bye...
22/10/2020 16:07:08 TestAfXdp: Test Case test_perf_one_port_multiqueue_and_separate_irqs Begin
22/10/2020 16:07:08 dut.10.240.183.99:
22/10/2020 16:07:08 tester:
22/10/2020 16:07:09 dut.10.240.183.99: ethtool -L enp175s0f0 combined 2
22/10/2020 16:07:09 dut.10.240.183.99: combined unmodified, ignoring
no channel parameters changed.
current values: rx 0 tx 0 other 1 combined 2
22/10/2020 16:07:10 TestAfXdp: start testpmd
22/10/2020 16:07:10 dut.10.240.183.99: x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 32,33,34 -n 4 --file-prefix=dpdk_8836_20201022160458 --no-pci --vdev net_af_xdp0,iface=enp175s0f0,start_queue=0,queue_count=2 --log-level=pmd.net.af_xdp:8 -- -i --auto-start --nb-cores=2 --rxq=2 --txq=2 --port-topology=loop
22/10/2020 16:07:10 dut.10.240.183.99: EAL: Detected 72 lcore(s)
EAL: Detected 2 NUMA nodes
EAL: Multi-process socket /var/run/dpdk/dpdk_8836_20201022160458/mp_socket
EAL: Selected IOVA mode 'VA'
EAL: Probing VFIO support...
EAL: VFIO support initialized
rte_pmd_af_xdp_probe(): Initializing pmd_af_xdp for net_af_xdp0
init_internals(): Zero copy between umem and mbuf enabled.
Interactive-mode selected
Auto-start selected
testpmd: create a new mbuf pool <mb_pool_1>: n=163456, size=2176, socket=1
testpmd: preferred mempool ops selected: ring_mp_mc
Configuring Port 0 (socket 1)
eth_rx_queue_setup(): Set up rx queue, rx queue id: 0, xsk queue id: 0
eth_rx_queue_setup(): Set up rx queue, rx queue id: 1, xsk queue id: 1
Port 0: 3C:FD:FE:C8:19:D0
Checking link statuses...
Done
Start automatic packet forwarding
io packet forwarding - ports=1 - cores=2 - streams=2 - NUMA support enabled, MP allocation mode: native
Logical Core 33 (socket 1) forwards packets on 1 streams:
RX P=0/Q=0 (socket 1) -> TX P=0/Q=0 (socket 1) peer=02:00:00:00:00:00
Logical Core 34 (socket 1) forwards packets on 1 streams:
RX P=0/Q=1 (socket 1) -> TX P=0/Q=1 (socket 1) peer=02:00:00:00:00:00
io packet forwarding packets/burst=32
nb forwarding cores=2 - nb forwarding ports=1
port 0: RX queue number: 2 Tx queue number: 2
Rx offloads=0x0 Tx offloads=0x0
RX queue: 0
RX desc=0 - RX free threshold=0
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0x0
TX queue: 0
TX desc=0 - TX free threshold=0
TX threshold registers: pthresh=0 hthresh=0 wthresh=0
TX offloads=0x0 - TX RS bit threshold=0
22/10/2020 16:07:12 TestAfXdp: Running test test_perf_one_port_multiqueue_and_separate_irqs, and 64 frame size.
22/10/2020 16:07:12 pktgen: test port 0 map gen port 0
22/10/2020 16:07:12 pktgen: test port 0 map gen port 0
22/10/2020 16:07:12 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:d0',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:9d:1c:f8',
'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:82:00.0',
'prom': 'off',
'prom_supported': 'yes',
'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
'rx_filter_mode': 'hardware match',
'rx_queue': 'off',
'speed': 40.0,
'src_ipv4': '-',
'src_mac': '3c:fd:fe:9d:1c:f8',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
22/10/2020 16:07:12 pktgen: trex port <0> not support flow control
22/10/2020 16:07:12 pktgen: trex packet generator: run traffic 5s to warm up ...
22/10/2020 16:07:12 pktgen: check the trex port link status
22/10/2020 16:07:12 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:d0',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:9d:1c:f8',
'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:82:00.0',
'prom': 'on',
'prom_supported': 'yes',
'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
'rx_filter_mode': 'hardware match',
'rx_queue': 'off',
'speed': 40.0,
'src_ipv4': '-',
'src_mac': '3c:fd:fe:9d:1c:f8',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
22/10/2020 16:07:12 pktgen: begin traffic ......
22/10/2020 16:07:12 pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
22/10/2020 16:07:17 pktgen: traffic completed.
22/10/2020 16:07:17 pktgen: check the trex port link status
22/10/2020 16:07:17 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:d0',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:9d:1c:f8',
'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:82:00.0',
'prom': 'on',
'prom_supported': 'yes',
'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
'rx_filter_mode': 'hardware match',
'rx_queue': 'off',
'speed': 40.0,
'src_ipv4': '-',
'src_mac': '3c:fd:fe:9d:1c:f8',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
22/10/2020 16:07:17 pktgen: begin traffic ......
22/10/2020 16:07:17 pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
22/10/2020 16:07:27 pktgen: begin get port statistic ...
22/10/2020 16:07:27 pktgen: {'options': {'fields_config': {'ip': {'dst': {'action': 'random',
'end': '192.168.1.64',
'start': '192.168.1.1',
'step': 1}}},
'pcap': '/tmp/af_xdp_1_0_64.pcap',
'stream_config': {'rate': 100,
'transmit_mode': 'continuous',
'txmode': {}}},
'pcap_file': '/tmp/af_xdp_1_0_64.pcap',
'rx_port': 0,
'tx_port': 0}
22/10/2020 16:07:27 pktgen: {0: {'ibytes': 2180774720,
'ierrors': 0,
'ipackets': 34074608,
'obytes': 27320187008,
'oerrors': 0,
'opackets': 426877966,
'rx_bps': 1744783232.0,
'rx_bps_L1': 2290009152.0,
'rx_pps': 3407662.0,
'rx_util': 5.72502288,
'tx_bps': 21847906304.0,
'tx_bps_L1': 28675350784.000004,
'tx_pps': 42671528.0,
'tx_util': 71.68837696000001},
1: {'ibytes': 0,
'ierrors': 0,
'ipackets': 0,
'obytes': 0,
'oerrors': 0,
'opackets': 0,
'rx_bps': 0.0,
'rx_bps_L1': 0,
'rx_pps': 0.0,
'rx_util': 0.0,
'tx_bps': 0.0,
'tx_bps_L1': 0,
'tx_pps': 0.0,
'tx_util': 0.0},
'flow_stats': {},
'global': {'bw_per_core': 4.450676441192627,
'cpu_util': 98.17790985107422,
'queue_full': 45561122,
'rx_bps': 1744783232.0,
'rx_cpu_util': 0.0,
'rx_drop_bps': 20103122944.0,
'rx_pps': 3407662.0,
'tx_bps': 21847906304.0,
'tx_pps': 42671528.0},
'latency': {},
'total': {'ibytes': 2180774720,
'ierrors': 0,
'ipackets': 34074608,
'obytes': 27320187008,
'oerrors': 0,
'opackets': 426877966,
'rx_bps': 1744783232.0,
'rx_bps_L1': 2290009152.0,
'rx_pps': 3407662.0,
'rx_util': 5.72502288,
'tx_bps': 21847906304.0,
'tx_bps_L1': 28675350784.000004,
'tx_pps': 42671528.0,
'tx_util': 71.68837696000001}}
22/10/2020 16:07:27 pktgen: {'ibytes': 2180774720,
'ierrors': 0,
'ipackets': 34074608,
'obytes': 27320187008,
'oerrors': 0,
'opackets': 426877966,
'rx_bps': 1744783232.0,
'rx_bps_L1': 2290009152.0,
'rx_pps': 3407662.0,
'rx_util': 5.72502288,
'tx_bps': 21847906304.0,
'tx_bps_L1': 28675350784.000004,
'tx_pps': 42671528.0,
'tx_util': 71.68837696000001}
22/10/2020 16:07:27 pktgen: Tx Port 0 stats:
tx_port: 0, tx_bps: 21847906304.000000, tx_pps: 42671528.000000
22/10/2020 16:07:27 pktgen: {'ibytes': 2180774720,
'ierrors': 0,
'ipackets': 34074608,
'obytes': 27320187008,
'oerrors': 0,
'opackets': 426877966,
'rx_bps': 1744783232.0,
'rx_bps_L1': 2290009152.0,
'rx_pps': 3407662.0,
'rx_util': 5.72502288,
'tx_bps': 21847906304.0,
'tx_bps_L1': 28675350784.000004,
'tx_pps': 42671528.0,
'tx_util': 71.68837696000001}
22/10/2020 16:07:27 pktgen: Rx Port 0 stats:
rx_port: 0, rx_bps: 1744783232.000000, rx_pps: 3407662.000000
22/10/2020 16:07:27 pktgen: throughput: pps_rx 3407662.000000, bps_rx 1744783232.000000
22/10/2020 16:07:27 pktgen: traffic completed.
22/10/2020 16:07:27 dut.10.240.183.99: stop
22/10/2020 16:07:27 dut.10.240.183.99:
Telling cores to ...
Waiting for lcores to finish...
------- Forward Stats for RX Port= 0/Queue= 0 -> TX Port= 0/Queue= 0 -------
RX-packets: 25387117 TX-packets: 25387117 TX-dropped: 0
------- Forward Stats for RX Port= 0/Queue= 1 -> TX Port= 0/Queue= 1 -------
RX-packets: 25720450 TX-packets: 25720450 TX-dropped: 0
---------------------- Forward statistics for port 0 ----------------------
RX-packets: 51107567 RX-dropped: 98773149 RX-total: 149880716
TX-packets: 51107567 TX-dropped: 0 TX-total: 51107567
----------------------------------------------------------------------------
+++++++++++++++ Accumulated forward statistics for all ports+++++++++++++++
RX-packets: 51107567 RX-dropped: 98773149 RX-total: 149880716
TX-packets: 51107567 TX-dropped: 0 TX-total: 51107567
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Done.
22/10/2020 16:07:27 dut.10.240.183.99: start
22/10/2020 16:07:27 dut.10.240.183.99:
io packet forwarding - ports=1 - cores=2 - streams=2 - NUMA support enabled, MP allocation mode: native
Logical Core 33 (socket 1) forwards packets on 1 streams:
RX P=0/Q=0 (socket 1) -> TX P=0/Q=0 (socket 1) peer=02:00:00:00:00:00
Logical Core 34 (socket 1) forwards packets on 1 streams:
RX P=0/Q=1 (socket 1) -> TX P=0/Q=1 (socket 1) peer=02:00:00:00:00:00
io packet forwarding packets/burst=32
nb forwarding cores=2 - nb forwarding ports=1
port 0: RX queue number: 2 Tx queue number: 2
Rx offloads=0x0 Tx offloads=0x0
RX queue: 0
RX desc=0 - RX free threshold=0
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0x0
TX queue: 0
TX desc=0 - TX free threshold=0
TX threshold registers: pthresh=0 hthresh=0 wthresh=0
TX offloads=0x0 - TX RS bit threshold=0
22/10/2020 16:07:27 TestAfXdp: Running test test_perf_one_port_multiqueue_and_separate_irqs, and 128 frame size.
22/10/2020 16:07:27 pktgen: test port 0 map gen port 0
22/10/2020 16:07:27 pktgen: test port 0 map gen port 0
22/10/2020 16:07:27 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:d0',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:9d:1c:f8',
'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:82:00.0',
'prom': 'off',
'prom_supported': 'yes',
'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
'rx_filter_mode': 'hardware match',
'rx_queue': 'off',
'speed': 40.0,
'src_ipv4': '-',
'src_mac': '3c:fd:fe:9d:1c:f8',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
22/10/2020 16:07:27 pktgen: trex port <0> not support flow control
22/10/2020 16:07:27 pktgen: trex packet generator: run traffic 5s to warm up ...
22/10/2020 16:07:27 pktgen: check the trex port link status
22/10/2020 16:07:27 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:d0',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:9d:1c:f8',
'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:82:00.0',
'prom': 'on',
'prom_supported': 'yes',
'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
'rx_filter_mode': 'hardware match',
'rx_queue': 'off',
'speed': 40.0,
'src_ipv4': '-',
'src_mac': '3c:fd:fe:9d:1c:f8',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
22/10/2020 16:07:27 pktgen: begin traffic ......
22/10/2020 16:07:27 pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
22/10/2020 16:07:32 pktgen: traffic completed.
22/10/2020 16:07:32 pktgen: check the trex port link status
22/10/2020 16:07:32 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:d0',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:9d:1c:f8',
'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:82:00.0',
'prom': 'on',
'prom_supported': 'yes',
'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
'rx_filter_mode': 'hardware match',
'rx_queue': 'off',
'speed': 40.0,
'src_ipv4': '-',
'src_mac': '3c:fd:fe:9d:1c:f8',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
22/10/2020 16:07:32 pktgen: begin traffic ......
22/10/2020 16:07:32 pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
22/10/2020 16:07:42 pktgen: begin get port statistic ...
22/10/2020 16:07:42 pktgen: {'options': {'fields_config': {'ip': {'dst': {'action': 'random',
'end': '192.168.1.64',
'start': '192.168.1.1',
'step': 1}}},
'pcap': '/tmp/af_xdp_1_0_128.pcap',
'stream_config': {'rate': 100,
'transmit_mode': 'continuous',
'txmode': {}}},
'pcap_file': '/tmp/af_xdp_1_0_128.pcap',
'rx_port': 0,
'tx_port': 0}
22/10/2020 16:07:42 pktgen: {0: {'ibytes': 4268383289,
'ierrors': 4,
'ipackets': 33346749,
'obytes': 43287962240,
'oerrors': 0,
'opackets': 338187247,
'rx_bps': 3414041600.0,
'rx_bps_L1': 3947495360.0,
'rx_pps': 3334086.0,
'rx_util': 9.8687384,
'tx_bps': 34651529216.0,
'tx_bps_L1': 40065956096.0,
'tx_pps': 33840168.0,
'tx_util': 100.16489023999999},
1: {'ibytes': 0,
'ierrors': 0,
'ipackets': 0,
'obytes': 0,
'oerrors': 0,
'opackets': 0,
'rx_bps': 0.0,
'rx_bps_L1': 0,
'rx_pps': 0.0,
'rx_util': 0.0,
'tx_bps': 0.0,
'tx_bps_L1': 0,
'tx_pps': 0.0,
'tx_util': 0.0},
'flow_stats': {},
'global': {'bw_per_core': 14.952757835388184,
'cpu_util': 46.3480110168457,
'queue_full': 127809,
'rx_bps': 3414041600.0,
'rx_cpu_util': 0.0,
'rx_drop_bps': 31237490688.0,
'rx_pps': 3334086.0,
'tx_bps': 34651529216.0,
'tx_pps': 33840168.0},
'latency': {},
'total': {'ibytes': 4268383289,
'ierrors': 4,
'ipackets': 33346749,
'obytes': 43287962240,
'oerrors': 0,
'opackets': 338187247,
'rx_bps': 3414041600.0,
'rx_bps_L1': 3947495360.0,
'rx_pps': 3334086.0,
'rx_util': 9.8687384,
'tx_bps': 34651529216.0,
'tx_bps_L1': 40065956096.0,
'tx_pps': 33840168.0,
'tx_util': 100.16489023999999}}
22/10/2020 16:07:42 pktgen: {'ibytes': 4268383289,
'ierrors': 4,
'ipackets': 33346749,
'obytes': 43287962240,
'oerrors': 0,
'opackets': 338187247,
'rx_bps': 3414041600.0,
'rx_bps_L1': 3947495360.0,
'rx_pps': 3334086.0,
'rx_util': 9.8687384,
'tx_bps': 34651529216.0,
'tx_bps_L1': 40065956096.0,
'tx_pps': 33840168.0,
'tx_util': 100.16489023999999}
22/10/2020 16:07:42 pktgen: Tx Port 0 stats:
tx_port: 0, tx_bps: 34651529216.000000, tx_pps: 33840168.000000
22/10/2020 16:07:42 pktgen: {'ibytes': 4268383289,
'ierrors': 4,
'ipackets': 33346749,
'obytes': 43287962240,
'oerrors': 0,
'opackets': 338187247,
'rx_bps': 3414041600.0,
'rx_bps_L1': 3947495360.0,
'rx_pps': 3334086.0,
'rx_util': 9.8687384,
'tx_bps': 34651529216.0,
'tx_bps_L1': 40065956096.0,
'tx_pps': 33840168.0,
'tx_util': 100.16489023999999}
22/10/2020 16:07:42 pktgen: Rx Port 0 stats:
rx_port: 0, rx_bps: 3414041600.000000, rx_pps: 3334086.000000
22/10/2020 16:07:42 pktgen: throughput: pps_rx 3334086.000000, bps_rx 3414041600.000000
22/10/2020 16:07:42 pktgen: traffic completed.
22/10/2020 16:07:42 dut.10.240.183.99: stop
22/10/2020 16:07:42 dut.10.240.183.99:
Telling cores to ...
Waiting for lcores to finish...
------- Forward Stats for RX Port= 0/Queue= 0 -> TX Port= 0/Queue= 0 -------
RX-packets: 24779091 TX-packets: 24779091 TX-dropped: 0
------- Forward Stats for RX Port= 0/Queue= 1 -> TX Port= 0/Queue= 1 -------
RX-packets: 25242904 TX-packets: 25242904 TX-dropped: 0
---------------------- Forward statistics for port 0 ----------------------
RX-packets: 50021995 RX-dropped: 99654399 RX-total: 149676394
TX-packets: 50021995 TX-dropped: 0 TX-total: 50021995
----------------------------------------------------------------------------
+++++++++++++++ Accumulated forward statistics for all ports+++++++++++++++
RX-packets: 50021995 RX-dropped: 99654399 RX-total: 149676394
TX-packets: 50021995 TX-dropped: 0 TX-total: 50021995
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Done.
22/10/2020 16:07:42 dut.10.240.183.99: start
22/10/2020 16:07:42 dut.10.240.183.99:
io packet forwarding - ports=1 - cores=2 - streams=2 - NUMA support enabled, MP allocation mode: native
Logical Core 33 (socket 1) forwards packets on 1 streams:
RX P=0/Q=0 (socket 1) -> TX P=0/Q=0 (socket 1) peer=02:00:00:00:00:00
Logical Core 34 (socket 1) forwards packets on 1 streams:
RX P=0/Q=1 (socket 1) -> TX P=0/Q=1 (socket 1) peer=02:00:00:00:00:00
io packet forwarding packets/burst=32
nb forwarding cores=2 - nb forwarding ports=1
port 0: RX queue number: 2 Tx queue number: 2
Rx offloads=0x0 Tx offloads=0x0
RX queue: 0
RX desc=0 - RX free threshold=0
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0x0
TX queue: 0
TX desc=0 - TX free threshold=0
TX threshold registers: pthresh=0 hthresh=0 wthresh=0
TX offloads=0x0 - TX RS bit threshold=0
22/10/2020 16:07:42 TestAfXdp: Running test test_perf_one_port_multiqueue_and_separate_irqs, and 256 frame size.
22/10/2020 16:07:42 pktgen: test port 0 map gen port 0
22/10/2020 16:07:42 pktgen: test port 0 map gen port 0
22/10/2020 16:07:42 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:d0',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:9d:1c:f8',
'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:82:00.0',
'prom': 'off',
'prom_supported': 'yes',
'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
'rx_filter_mode': 'hardware match',
'rx_queue': 'off',
'speed': 40.0,
'src_ipv4': '-',
'src_mac': '3c:fd:fe:9d:1c:f8',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
22/10/2020 16:07:42 pktgen: trex port <0> not support flow control
22/10/2020 16:07:42 pktgen: trex packet generator: run traffic 5s to warm up ...
22/10/2020 16:07:42 pktgen: check the trex port link status
22/10/2020 16:07:42 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:d0',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:9d:1c:f8',
'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:82:00.0',
'prom': 'on',
'prom_supported': 'yes',
'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
'rx_filter_mode': 'hardware match',
'rx_queue': 'off',
'speed': 40.0,
'src_ipv4': '-',
'src_mac': '3c:fd:fe:9d:1c:f8',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
22/10/2020 16:07:42 pktgen: begin traffic ......
22/10/2020 16:07:42 pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
22/10/2020 16:07:47 pktgen: traffic completed.
22/10/2020 16:07:47 pktgen: check the trex port link status
22/10/2020 16:07:47 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:d0',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:9d:1c:f8',
'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:82:00.0',
'prom': 'on',
'prom_supported': 'yes',
'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
'rx_filter_mode': 'hardware match',
'rx_queue': 'off',
'speed': 40.0,
'src_ipv4': '-',
'src_mac': '3c:fd:fe:9d:1c:f8',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
22/10/2020 16:07:47 pktgen: begin traffic ......
22/10/2020 16:07:47 pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
22/10/2020 16:07:57 pktgen: begin get port statistic ...
22/10/2020 16:07:57 pktgen: {'options': {'fields_config': {'ip': {'dst': {'action': 'random',
'end': '192.168.1.64',
'start': '192.168.1.1',
'step': 1}}},
'pcap': '/tmp/af_xdp_1_0_256.pcap',
'stream_config': {'rate': 100,
'transmit_mode': 'continuous',
'txmode': {}}},
'pcap_file': '/tmp/af_xdp_1_0_256.pcap',
'rx_port': 0,
'tx_port': 0}
22/10/2020 16:07:57 pktgen: {0: {'ibytes': 8017191168,
'ierrors': 24,
'ipackets': 31317157,
'obytes': 16137232384,
'oerrors': 0,
'opackets': 63036072,
'rx_bps': 6376279552.0,
'rx_bps_L1': 6874435472.0,
'rx_pps': 3113474.5,
'rx_util': 17.18608868,
'tx_bps': 12577159168.0,
'tx_bps_L1': 13559841888.0,
'tx_pps': 6141767.0,
'tx_util': 33.89960472},
1: {'ibytes': 0,
'ierrors': 0,
'ipackets': 0,
'obytes': 0,
'oerrors': 0,
'opackets': 0,
'rx_bps': 0.0,
'rx_bps_L1': 0,
'rx_pps': 0.0,
'rx_util': 0.0,
'tx_bps': 0.0,
'tx_bps_L1': 0,
'tx_pps': 0.0,
'tx_util': 0.0},
'flow_stats': {},
'global': {'bw_per_core': 2.5644187927246094,
'cpu_util': 98.0897445678711,
'queue_full': 89572919,
'rx_bps': 6376279552.0,
'rx_cpu_util': 0.0,
'rx_drop_bps': 6200879616.0,
'rx_pps': 3113474.5,
'tx_bps': 12577159168.0,
'tx_pps': 6141767.0},
'latency': {},
'total': {'ibytes': 8017191168,
'ierrors': 24,
'ipackets': 31317157,
'obytes': 16137232384,
'oerrors': 0,
'opackets': 63036072,
'rx_bps': 6376279552.0,
'rx_bps_L1': 6874435472.0,
'rx_pps': 3113474.5,
'rx_util': 17.18608868,
'tx_bps': 12577159168.0,
'tx_bps_L1': 13559841888.0,
'tx_pps': 6141767.0,
'tx_util': 33.89960472}}
22/10/2020 16:07:57 pktgen: {'ibytes': 8017191168,
'ierrors': 24,
'ipackets': 31317157,
'obytes': 16137232384,
'oerrors': 0,
'opackets': 63036072,
'rx_bps': 6376279552.0,
'rx_bps_L1': 6874435472.0,
'rx_pps': 3113474.5,
'rx_util': 17.18608868,
'tx_bps': 12577159168.0,
'tx_bps_L1': 13559841888.0,
'tx_pps': 6141767.0,
'tx_util': 33.89960472}
22/10/2020 16:07:57 pktgen: Tx Port 0 stats:
tx_port: 0, tx_bps: 12577159168.000000, tx_pps: 6141767.000000
22/10/2020 16:07:57 pktgen: {'ibytes': 8017191168,
'ierrors': 24,
'ipackets': 31317157,
'obytes': 16137232384,
'oerrors': 0,
'opackets': 63036072,
'rx_bps': 6376279552.0,
'rx_bps_L1': 6874435472.0,
'rx_pps': 3113474.5,
'rx_util': 17.18608868,
'tx_bps': 12577159168.0,
'tx_bps_L1': 13559841888.0,
'tx_pps': 6141767.0,
'tx_util': 33.89960472}
22/10/2020 16:07:57 pktgen: Rx Port 0 stats:
rx_port: 0, rx_bps: 6376279552.000000, rx_pps: 3113474.500000
22/10/2020 16:07:57 pktgen: throughput: pps_rx 3113474.500000, bps_rx 6376279552.000000
22/10/2020 16:07:57 pktgen: traffic completed.
22/10/2020 16:07:57 dut.10.240.183.99: stop
22/10/2020 16:07:57 dut.10.240.183.99:
Telling cores to ...
Waiting for lcores to finish...
------- Forward Stats for RX Port= 0/Queue= 0 -> TX Port= 0/Queue= 0 -------
RX-packets: 23349138 TX-packets: 23349138 TX-dropped: 0
------- Forward Stats for RX Port= 0/Queue= 1 -> TX Port= 0/Queue= 1 -------
RX-packets: 23654690 TX-packets: 23654690 TX-dropped: 0
---------------------- Forward statistics for port 0 ----------------------
RX-packets: 47003828 RX-dropped: 41027846 RX-total: 88031674
TX-packets: 47003828 TX-dropped: 0 TX-total: 47003828
----------------------------------------------------------------------------
+++++++++++++++ Accumulated forward statistics for all ports+++++++++++++++
RX-packets: 47003828 RX-dropped: 41027846 RX-total: 88031674
TX-packets: 47003828 TX-dropped: 0 TX-total: 47003828
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Done.
22/10/2020 16:07:57 dut.10.240.183.99: start
22/10/2020 16:07:58 dut.10.240.183.99:
io packet forwarding - ports=1 - cores=2 - streams=2 - NUMA support enabled, MP allocation mode: native
Logical Core 33 (socket 1) forwards packets on 1 streams:
RX P=0/Q=0 (socket 1) -> TX P=0/Q=0 (socket 1) peer=02:00:00:00:00:00
Logical Core 34 (socket 1) forwards packets on 1 streams:
RX P=0/Q=1 (socket 1) -> TX P=0/Q=1 (socket 1) peer=02:00:00:00:00:00
io packet forwarding packets/burst=32
nb forwarding cores=2 - nb forwarding ports=1
port 0: RX queue number: 2 Tx queue number: 2
Rx offloads=0x0 Tx offloads=0x0
RX queue: 0
RX desc=0 - RX free threshold=0
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0x0
TX queue: 0
TX desc=0 - TX free threshold=0
TX threshold registers: pthresh=0 hthresh=0 wthresh=0
TX offloads=0x0 - TX RS bit threshold=0
22/10/2020 16:07:58 TestAfXdp: Running test test_perf_one_port_multiqueue_and_separate_irqs, and 512 frame size.
22/10/2020 16:07:58 pktgen: test port 0 map gen port 0
22/10/2020 16:07:58 pktgen: test port 0 map gen port 0
22/10/2020 16:07:58 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:d0',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:9d:1c:f8',
'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:82:00.0',
'prom': 'off',
'prom_supported': 'yes',
'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
'rx_filter_mode': 'hardware match',
'rx_queue': 'off',
'speed': 40.0,
'src_ipv4': '-',
'src_mac': '3c:fd:fe:9d:1c:f8',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
22/10/2020 16:07:58 pktgen: trex port <0> not support flow control
22/10/2020 16:07:58 pktgen: trex packet generator: run traffic 5s to warm up ...
22/10/2020 16:07:58 pktgen: check the trex port link status
22/10/2020 16:07:58 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:d0',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:9d:1c:f8',
'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:82:00.0',
'prom': 'on',
'prom_supported': 'yes',
'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
'rx_filter_mode': 'hardware match',
'rx_queue': 'off',
'speed': 40.0,
'src_ipv4': '-',
'src_mac': '3c:fd:fe:9d:1c:f8',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
22/10/2020 16:07:58 pktgen: begin traffic ......
22/10/2020 16:07:58 pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
22/10/2020 16:08:03 pktgen: traffic completed.
22/10/2020 16:08:03 pktgen: check the trex port link status
22/10/2020 16:08:03 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:d0',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:9d:1c:f8',
'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:82:00.0',
'prom': 'on',
'prom_supported': 'yes',
'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
'rx_filter_mode': 'hardware match',
'rx_queue': 'off',
'speed': 40.0,
'src_ipv4': '-',
'src_mac': '3c:fd:fe:9d:1c:f8',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
22/10/2020 16:08:03 pktgen: begin traffic ......
22/10/2020 16:08:03 pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
22/10/2020 16:08:13 pktgen: begin get port statistic ...
22/10/2020 16:08:13 pktgen: {'options': {'fields_config': {'ip': {'dst': {'action': 'random',
'end': '192.168.1.64',
'start': '192.168.1.1',
'step': 1}}},
'pcap': '/tmp/af_xdp_1_0_512.pcap',
'stream_config': {'rate': 100,
'transmit_mode': 'continuous',
'txmode': {}}},
'pcap_file': '/tmp/af_xdp_1_0_512.pcap',
'rx_port': 0,
'tx_port': 0}
22/10/2020 16:08:13 pktgen: {0: {'ibytes': 15660981760,
'ierrors': 0,
'ipackets': 30587859,
'obytes': 29563304960,
'oerrors': 0,
'opackets': 57740834,
'rx_bps': 12560560128.0,
'rx_bps_L1': 13051215168.0,
'rx_pps': 3066594.0,
'rx_util': 32.628037920000004,
'tx_bps': 23182387200.0,
'tx_bps_L1': 24087965040.0,
'tx_pps': 5659861.5,
'tx_util': 60.2199126},
1: {'ibytes': 0,
'ierrors': 0,
'ipackets': 0,
'obytes': 0,
'oerrors': 0,
'opackets': 0,
'rx_bps': 0.0,
'rx_bps_L1': 0,
'rx_pps': 0.0,
'rx_util': 0.0,
'tx_bps': 0.0,
'tx_bps_L1': 0,
'tx_pps': 0.0,
'tx_util': 0.0},
'flow_stats': {},
'global': {'bw_per_core': 4.89022970199585,
'cpu_util': 94.81103515625,
'queue_full': 84242849,
'rx_bps': 12560560128.0,
'rx_cpu_util': 0.0,
'rx_drop_bps': 10621826048.0,
'rx_pps': 3066594.0,
'tx_bps': 23182387200.0,
'tx_pps': 5659861.5},
'latency': {},
'total': {'ibytes': 15660981760,
'ierrors': 0,
'ipackets': 30587859,
'obytes': 29563304960,
'oerrors': 0,
'opackets': 57740834,
'rx_bps': 12560560128.0,
'rx_bps_L1': 13051215168.0,
'rx_pps': 3066594.0,
'rx_util': 32.628037920000004,
'tx_bps': 23182387200.0,
'tx_bps_L1': 24087965040.0,
'tx_pps': 5659861.5,
'tx_util': 60.2199126}}
22/10/2020 16:08:13 pktgen: {'ibytes': 15660981760,
'ierrors': 0,
'ipackets': 30587859,
'obytes': 29563304960,
'oerrors': 0,
'opackets': 57740834,
'rx_bps': 12560560128.0,
'rx_bps_L1': 13051215168.0,
'rx_pps': 3066594.0,
'rx_util': 32.628037920000004,
'tx_bps': 23182387200.0,
'tx_bps_L1': 24087965040.0,
'tx_pps': 5659861.5,
'tx_util': 60.2199126}
22/10/2020 16:08:13 pktgen: Tx Port 0 stats:
tx_port: 0, tx_bps: 23182387200.000000, tx_pps: 5659861.500000
22/10/2020 16:08:13 pktgen: {'ibytes': 15660981760,
'ierrors': 0,
'ipackets': 30587859,
'obytes': 29563304960,
'oerrors': 0,
'opackets': 57740834,
'rx_bps': 12560560128.0,
'rx_bps_L1': 13051215168.0,
'rx_pps': 3066594.0,
'rx_util': 32.628037920000004,
'tx_bps': 23182387200.0,
'tx_bps_L1': 24087965040.0,
'tx_pps': 5659861.5,
'tx_util': 60.2199126}
22/10/2020 16:08:13 pktgen: Rx Port 0 stats:
rx_port: 0, rx_bps: 12560560128.000000, rx_pps: 3066594.000000
22/10/2020 16:08:13 pktgen: throughput: pps_rx 3066594.000000, bps_rx 12560560128.000000
22/10/2020 16:08:13 pktgen: traffic completed.
22/10/2020 16:08:13 dut.10.240.183.99: stop
22/10/2020 16:08:13 dut.10.240.183.99:
Telling cores to ...
Waiting for lcores to finish...
------- Forward Stats for RX Port= 0/Queue= 0 -> TX Port= 0/Queue= 0 -------
RX-packets: 22815205 TX-packets: 22815205 TX-dropped: 0
------- Forward Stats for RX Port= 0/Queue= 1 -> TX Port= 0/Queue= 1 -------
RX-packets: 23079257 TX-packets: 23079257 TX-dropped: 0
---------------------- Forward statistics for port 0 ----------------------
RX-packets: 45894462 RX-dropped: 33951832 RX-total: 79846294
TX-packets: 45894462 TX-dropped: 0 TX-total: 45894462
----------------------------------------------------------------------------
+++++++++++++++ Accumulated forward statistics for all ports+++++++++++++++
RX-packets: 45894462 RX-dropped: 33951832 RX-total: 79846294
TX-packets: 45894462 TX-dropped: 0 TX-total: 45894462
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Done.
22/10/2020 16:08:13 dut.10.240.183.99: start
22/10/2020 16:08:13 dut.10.240.183.99:
io packet forwarding - ports=1 - cores=2 - streams=2 - NUMA support enabled, MP allocation mode: native
Logical Core 33 (socket 1) forwards packets on 1 streams:
RX P=0/Q=0 (socket 1) -> TX P=0/Q=0 (socket 1) peer=02:00:00:00:00:00
Logical Core 34 (socket 1) forwards packets on 1 streams:
RX P=0/Q=1 (socket 1) -> TX P=0/Q=1 (socket 1) peer=02:00:00:00:00:00
io packet forwarding packets/burst=32
nb forwarding cores=2 - nb forwarding ports=1
port 0: RX queue number: 2 Tx queue number: 2
Rx offloads=0x0 Tx offloads=0x0
RX queue: 0
RX desc=0 - RX free threshold=0
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0x0
TX queue: 0
TX desc=0 - TX free threshold=0
TX threshold registers: pthresh=0 hthresh=0 wthresh=0
TX offloads=0x0 - TX RS bit threshold=0
22/10/2020 16:08:13 TestAfXdp: Running test test_perf_one_port_multiqueue_and_separate_irqs, and 1024 frame size.
22/10/2020 16:08:13 pktgen: test port 0 map gen port 0
22/10/2020 16:08:13 pktgen: test port 0 map gen port 0
22/10/2020 16:08:13 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:d0',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:9d:1c:f8',
'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:82:00.0',
'prom': 'off',
'prom_supported': 'yes',
'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
'rx_filter_mode': 'hardware match',
'rx_queue': 'off',
'speed': 40.0,
'src_ipv4': '-',
'src_mac': '3c:fd:fe:9d:1c:f8',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
22/10/2020 16:08:13 pktgen: trex port <0> not support flow control
22/10/2020 16:08:13 pktgen: trex packet generator: run traffic 5s to warm up ...
22/10/2020 16:08:13 pktgen: check the trex port link status
22/10/2020 16:08:13 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:d0',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:9d:1c:f8',
'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:82:00.0',
'prom': 'on',
'prom_supported': 'yes',
'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
'rx_filter_mode': 'hardware match',
'rx_queue': 'off',
'speed': 40.0,
'src_ipv4': '-',
'src_mac': '3c:fd:fe:9d:1c:f8',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
22/10/2020 16:08:13 pktgen: begin traffic ......
22/10/2020 16:08:13 pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
22/10/2020 16:08:18 pktgen: traffic completed.
22/10/2020 16:08:18 pktgen: check the trex port link status
22/10/2020 16:08:18 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:d0',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:9d:1c:f8',
'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:82:00.0',
'prom': 'on',
'prom_supported': 'yes',
'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
'rx_filter_mode': 'hardware match',
'rx_queue': 'off',
'speed': 40.0,
'src_ipv4': '-',
'src_mac': '3c:fd:fe:9d:1c:f8',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
22/10/2020 16:08:18 pktgen: begin traffic ......
22/10/2020 16:08:18 pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
22/10/2020 16:08:28 pktgen: begin get port statistic ...
22/10/2020 16:08:28 pktgen: {'options': {'fields_config': {'ip': {'dst': {'action': 'random',
'end': '192.168.1.64',
'start': '192.168.1.1',
'step': 1}}},
'pcap': '/tmp/af_xdp_1_0_1024.pcap',
'stream_config': {'rate': 100,
'transmit_mode': 'continuous',
'txmode': {}}},
'pcap_file': '/tmp/af_xdp_1_0_1024.pcap',
'rx_port': 0,
'tx_port': 0}
22/10/2020 16:08:28 pktgen: {0: {'ibytes': 26187047936,
'ierrors': 0,
'ipackets': 25573291,
'obytes': 47689089024,
'oerrors': 0,
'opackets': 46571380,
'rx_bps': 20891248640.0,
'rx_bps_L1': 21299296000.0,
'rx_pps': 2550296.0,
'rx_util': 53.24824,
'tx_bps': 37912494080.0,
'tx_bps_L1': 38653000480.0,
'tx_pps': 4628165.0,
'tx_util': 96.6325012},
1: {'ibytes': 0,
'ierrors': 0,
'ipackets': 0,
'obytes': 0,
'oerrors': 0,
'opackets': 0,
'rx_bps': 0.0,
'rx_bps_L1': 0,
'rx_pps': 0.0,
'rx_util': 0.0,
'tx_bps': 0.0,
'tx_bps_L1': 0,
'tx_pps': 0.0,
'tx_util': 0.0},
'flow_stats': {},
'global': {'bw_per_core': 47.20660400390625,
'cpu_util': 16.062368392944336,
'queue_full': 9418890,
'rx_bps': 20891248640.0,
'rx_cpu_util': 0.0,
'rx_drop_bps': 17021248512.0,
'rx_pps': 2550296.0,
'tx_bps': 37912494080.0,
'tx_pps': 4628165.0},
'latency': {},
'total': {'ibytes': 26187047936,
'ierrors': 0,
'ipackets': 25573291,
'obytes': 47689089024,
'oerrors': 0,
'opackets': 46571380,
'rx_bps': 20891248640.0,
'rx_bps_L1': 21299296000.0,
'rx_pps': 2550296.0,
'rx_util': 53.24824,
'tx_bps': 37912494080.0,
'tx_bps_L1': 38653000480.0,
'tx_pps': 4628165.0,
'tx_util': 96.6325012}}
22/10/2020 16:08:28 pktgen: {'ibytes': 26187047936,
'ierrors': 0,
'ipackets': 25573291,
'obytes': 47689089024,
'oerrors': 0,
'opackets': 46571380,
'rx_bps': 20891248640.0,
'rx_bps_L1': 21299296000.0,
'rx_pps': 2550296.0,
'rx_util': 53.24824,
'tx_bps': 37912494080.0,
'tx_bps_L1': 38653000480.0,
'tx_pps': 4628165.0,
'tx_util': 96.6325012}
22/10/2020 16:08:28 pktgen: Tx Port 0 stats:
tx_port: 0, tx_bps: 37912494080.000000, tx_pps: 4628165.000000
22/10/2020 16:08:28 pktgen: {'ibytes': 26187047936,
'ierrors': 0,
'ipackets': 25573291,
'obytes': 47689089024,
'oerrors': 0,
'opackets': 46571380,
'rx_bps': 20891248640.0,
'rx_bps_L1': 21299296000.0,
'rx_pps': 2550296.0,
'rx_util': 53.24824,
'tx_bps': 37912494080.0,
'tx_bps_L1': 38653000480.0,
'tx_pps': 4628165.0,
'tx_util': 96.6325012}
22/10/2020 16:08:28 pktgen: Rx Port 0 stats:
rx_port: 0, rx_bps: 20891248640.000000, rx_pps: 2550296.000000
22/10/2020 16:08:28 pktgen: throughput: pps_rx 2550296.000000, bps_rx 20891248640.000000
22/10/2020 16:08:28 pktgen: traffic completed.
22/10/2020 16:08:28 dut.10.240.183.99: stop
22/10/2020 16:08:28 dut.10.240.183.99:
Telling cores to ...
Waiting for lcores to finish...
------- Forward Stats for RX Port= 0/Queue= 0 -> TX Port= 0/Queue= 0 -------
RX-packets: 19207026 TX-packets: 19207026 TX-dropped: 0
------- Forward Stats for RX Port= 0/Queue= 1 -> TX Port= 0/Queue= 1 -------
RX-packets: 19205347 TX-packets: 19205347 TX-dropped: 0
---------------------- Forward statistics for port 0 ----------------------
RX-packets: 38412373 RX-dropped: 29272776 RX-total: 67685149
TX-packets: 38412373 TX-dropped: 0 TX-total: 38412373
----------------------------------------------------------------------------
+++++++++++++++ Accumulated forward statistics for all ports+++++++++++++++
RX-packets: 38412373 RX-dropped: 29272776 RX-total: 67685149
TX-packets: 38412373 TX-dropped: 0 TX-total: 38412373
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Done.
22/10/2020 16:08:28 dut.10.240.183.99: start
22/10/2020 16:08:28 dut.10.240.183.99:
io packet forwarding - ports=1 - cores=2 - streams=2 - NUMA support enabled, MP allocation mode: native
Logical Core 33 (socket 1) forwards packets on 1 streams:
RX P=0/Q=0 (socket 1) -> TX P=0/Q=0 (socket 1) peer=02:00:00:00:00:00
Logical Core 34 (socket 1) forwards packets on 1 streams:
RX P=0/Q=1 (socket 1) -> TX P=0/Q=1 (socket 1) peer=02:00:00:00:00:00
io packet forwarding packets/burst=32
nb forwarding cores=2 - nb forwarding ports=1
port 0: RX queue number: 2 Tx queue number: 2
Rx offloads=0x0 Tx offloads=0x0
RX queue: 0
RX desc=0 - RX free threshold=0
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0x0
TX queue: 0
TX desc=0 - TX free threshold=0
TX threshold registers: pthresh=0 hthresh=0 wthresh=0
TX offloads=0x0 - TX RS bit threshold=0
22/10/2020 16:08:28 TestAfXdp: Running test test_perf_one_port_multiqueue_and_separate_irqs, and 1518 frame size.
22/10/2020 16:08:28 pktgen: test port 0 map gen port 0
22/10/2020 16:08:28 pktgen: test port 0 map gen port 0
22/10/2020 16:08:28 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:d0',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:9d:1c:f8',
'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:82:00.0',
'prom': 'off',
'prom_supported': 'yes',
'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
'rx_filter_mode': 'hardware match',
'rx_queue': 'off',
'speed': 40.0,
'src_ipv4': '-',
'src_mac': '3c:fd:fe:9d:1c:f8',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
22/10/2020 16:08:28 pktgen: trex port <0> not support flow control
22/10/2020 16:08:28 pktgen: trex packet generator: run traffic 5s to warm up ...
22/10/2020 16:08:28 pktgen: check the trex port link status
22/10/2020 16:08:28 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:d0',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:9d:1c:f8',
'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:82:00.0',
'prom': 'on',
'prom_supported': 'yes',
'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
'rx_filter_mode': 'hardware match',
'rx_queue': 'off',
'speed': 40.0,
'src_ipv4': '-',
'src_mac': '3c:fd:fe:9d:1c:f8',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
22/10/2020 16:08:28 pktgen: begin traffic ......
22/10/2020 16:08:28 pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
22/10/2020 16:08:33 pktgen: traffic completed.
22/10/2020 16:08:33 pktgen: check the trex port link status
22/10/2020 16:08:33 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:d0',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:9d:1c:f8',
'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:82:00.0',
'prom': 'on',
'prom_supported': 'yes',
'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
'rx_filter_mode': 'hardware match',
'rx_queue': 'off',
'speed': 40.0,
'src_ipv4': '-',
'src_mac': '3c:fd:fe:9d:1c:f8',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
22/10/2020 16:08:33 pktgen: begin traffic ......
22/10/2020 16:08:33 pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
22/10/2020 16:08:43 pktgen: begin get port statistic ...
22/10/2020 16:08:43 pktgen: {'options': {'fields_config': {'ip': {'dst': {'action': 'random',
'end': '192.168.1.64',
'start': '192.168.1.1',
'step': 1}}},
'pcap': '/tmp/af_xdp_1_0_1518.pcap',
'stream_config': {'rate': 100,
'transmit_mode': 'continuous',
'txmode': {}}},
'pcap_file': '/tmp/af_xdp_1_0_1518.pcap',
'rx_port': 0,
'tx_port': 0}
22/10/2020 16:08:43 pktgen: {0: {'ibytes': 37728092775,
'ierrors': 10,
'ipackets': 24853820,
'obytes': 49404343758,
'oerrors': 0,
'opackets': 32545685,
'rx_bps': 30166321152.0,
'rx_bps_L1': 30563777232.0,
'rx_pps': 2484100.5,
'rx_util': 76.40944307999999,
'tx_bps': 39496138752.0,
'tx_bps_L1': 40016523672.0,
'tx_pps': 3252405.75,
'tx_util': 100.04130918},
1: {'ibytes': 0,
'ierrors': 0,
'ipackets': 0,
'obytes': 0,
'oerrors': 0,
'opackets': 0,
'rx_bps': 0.0,
'rx_bps_L1': 0,
'rx_pps': 0.0,
'rx_util': 0.0,
'tx_bps': 0.0,
'tx_bps_L1': 0,
'tx_pps': 0.0,
'tx_util': 0.0},
'flow_stats': {},
'global': {'bw_per_core': 267.3992614746094,
'cpu_util': 2.954094886779785,
'queue_full': 0,
'rx_bps': 30166321152.0,
'rx_cpu_util': 0.0,
'rx_drop_bps': 9329816576.0,
'rx_pps': 2484100.5,
'tx_bps': 39496138752.0,
'tx_pps': 3252405.75},
'latency': {},
'total': {'ibytes': 37728092775,
'ierrors': 10,
'ipackets': 24853820,
'obytes': 49404343758,
'oerrors': 0,
'opackets': 32545685,
'rx_bps': 30166321152.0,
'rx_bps_L1': 30563777232.0,
'rx_pps': 2484100.5,
'rx_util': 76.40944307999999,
'tx_bps': 39496138752.0,
'tx_bps_L1': 40016523672.0,
'tx_pps': 3252405.75,
'tx_util': 100.04130918}}
22/10/2020 16:08:43 pktgen: {'ibytes': 37728092775,
'ierrors': 10,
'ipackets': 24853820,
'obytes': 49404343758,
'oerrors': 0,
'opackets': 32545685,
'rx_bps': 30166321152.0,
'rx_bps_L1': 30563777232.0,
'rx_pps': 2484100.5,
'rx_util': 76.40944307999999,
'tx_bps': 39496138752.0,
'tx_bps_L1': 40016523672.0,
'tx_pps': 3252405.75,
'tx_util': 100.04130918}
22/10/2020 16:08:43 pktgen: Tx Port 0 stats:
tx_port: 0, tx_bps: 39496138752.000000, tx_pps: 3252405.750000
22/10/2020 16:08:43 pktgen: {'ibytes': 37728092775,
'ierrors': 10,
'ipackets': 24853820,
'obytes': 49404343758,
'oerrors': 0,
'opackets': 32545685,
'rx_bps': 30166321152.0,
'rx_bps_L1': 30563777232.0,
'rx_pps': 2484100.5,
'rx_util': 76.40944307999999,
'tx_bps': 39496138752.0,
'tx_bps_L1': 40016523672.0,
'tx_pps': 3252405.75,
'tx_util': 100.04130918}
22/10/2020 16:08:43 pktgen: Rx Port 0 stats:
rx_port: 0, rx_bps: 30166321152.000000, rx_pps: 2484100.500000
22/10/2020 16:08:43 pktgen: throughput: pps_rx 2484100.500000, bps_rx 30166321152.000000
22/10/2020 16:08:43 pktgen: traffic completed.
22/10/2020 16:08:43 dut.10.240.183.99: stop
22/10/2020 16:08:43 dut.10.240.183.99:
Telling cores to ...
Waiting for lcores to finish...
------- Forward Stats for RX Port= 0/Queue= 0 -> TX Port= 0/Queue= 0 -------
RX-packets: 18626525 TX-packets: 18626525 TX-dropped: 0
------- Forward Stats for RX Port= 0/Queue= 1 -> TX Port= 0/Queue= 1 -------
RX-packets: 18661324 TX-packets: 18661324 TX-dropped: 0
---------------------- Forward statistics for port 0 ----------------------
RX-packets: 37287849 RX-dropped: 11535861 RX-total: 48823710
TX-packets: 37287849 TX-dropped: 0 TX-total: 37287849
----------------------------------------------------------------------------
+++++++++++++++ Accumulated forward statistics for all ports+++++++++++++++
RX-packets: 37287849 RX-dropped: 11535861 RX-total: 48823710
TX-packets: 37287849 TX-dropped: 0 TX-total: 37287849
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Done.
22/10/2020 16:08:43 dut.10.240.183.99: start
22/10/2020 16:08:43 dut.10.240.183.99:
io packet forwarding - ports=1 - cores=2 - streams=2 - NUMA support enabled, MP allocation mode: native
Logical Core 33 (socket 1) forwards packets on 1 streams:
RX P=0/Q=0 (socket 1) -> TX P=0/Q=0 (socket 1) peer=02:00:00:00:00:00
Logical Core 34 (socket 1) forwards packets on 1 streams:
RX P=0/Q=1 (socket 1) -> TX P=0/Q=1 (socket 1) peer=02:00:00:00:00:00
io packet forwarding packets/burst=32
nb forwarding cores=2 - nb forwarding ports=1
port 0: RX queue number: 2 Tx queue number: 2
Rx offloads=0x0 Tx offloads=0x0
RX queue: 0
RX desc=0 - RX free threshold=0
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0x0
TX queue: 0
TX desc=0 - TX free threshold=0
TX threshold registers: pthresh=0 hthresh=0 wthresh=0
TX offloads=0x0 - TX RS bit threshold=0
22/10/2020 16:08:43 TestAfXdp:
+--------------+--------------+-----------------------+-----------------+
| FrameSize(B) | Queue number | Port Throughput(Mpps) | Port % linerate |
+==============+==============+=======================+=================+
| 64 | 2 | 3.408 | 5.725 |
+--------------+--------------+-----------------------+-----------------+
| 128 | 2 | 3.334 | 9.869 |
+--------------+--------------+-----------------------+-----------------+
| 256 | 2 | 3.113 | 17.186 |
+--------------+--------------+-----------------------+-----------------+
| 512 | 2 | 3.067 | 32.629 |
+--------------+--------------+-----------------------+-----------------+
| 1024 | 2 | 2.550 | 53.250 |
+--------------+--------------+-----------------------+-----------------+
| 1518 | 2 | 2.484 | 76.411 |
+--------------+--------------+-----------------------+-----------------+
22/10/2020 16:08:43 TestAfXdp: Test Case test_perf_one_port_multiqueue_and_separate_irqs Result PASSED:
22/10/2020 16:08:43 dut.10.240.183.99: quit
22/10/2020 16:08:44 dut.10.240.183.99:
Telling cores to stop...
Waiting for lcores to finish...
---------------------- Forward statistics for port 0 ----------------------
RX-packets: 0 RX-dropped: 0 RX-total: 0
TX-packets: 0 TX-dropped: 0 TX-total: 0
----------------------------------------------------------------------------
+++++++++++++++ Accumulated forward statistics for all ports+++++++++++++++
RX-packets: 0 RX-dropped: 0 RX-total: 0
TX-packets: 0 TX-dropped: 0 TX-total: 0
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Done.
Stopping port 0...
Stopping ports...
Done
Shutting down port 0...
Closing ports...
eth_dev_close(): Closing AF_XDP ethdev on numa socket 1
Port 0 is closed
Done
Bye...
22/10/2020 16:08:44 TestAfXdp: Test Case test_perf_one_port_multiqueues_with_two_vdev Begin
22/10/2020 16:08:44 dut.10.240.183.99:
22/10/2020 16:08:44 tester:
22/10/2020 16:08:44 dut.10.240.183.99: ethtool -L enp175s0f0 combined 8
22/10/2020 16:08:45 dut.10.240.183.99:
22/10/2020 16:08:46 TestAfXdp: start testpmd
22/10/2020 16:08:46 dut.10.240.183.99: x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 32,33,34,35,18,19,20,21,22 -n 4 --file-prefix=dpdk_8836_20201022160458 --no-pci --vdev net_af_xdp0,iface=enp175s0f0,start_queue=0,queue_count=4 --vdev net_af_xdp1,iface=enp175s0f0,start_queue=4,queue_count=4 --log-level=pmd.net.af_xdp:8 -- -i --rss-ip --auto-start --nb-cores=8 --rxq=4 --txq=4 --port-topology=loop
22/10/2020 16:08:46 dut.10.240.183.99: EAL: Detected 72 lcore(s)
EAL: Detected 2 NUMA nodes
EAL: Multi-process socket /var/run/dpdk/dpdk_8836_20201022160458/mp_socket
EAL: Selected IOVA mode 'VA'
EAL: Probing VFIO support...
EAL: VFIO support initialized
rte_pmd_af_xdp_probe(): Initializing pmd_af_xdp for net_af_xdp0
init_internals(): Zero copy between umem and mbuf enabled.
rte_pmd_af_xdp_probe(): Initializing pmd_af_xdp for net_af_xdp1
init_internals(): Zero copy between umem and mbuf enabled.
Interactive-mode selected
Auto-start selected
testpmd: create a new mbuf pool <mb_pool_1>: n=211456, size=2176, socket=1
testpmd: preferred mempool ops selected: ring_mp_mc
Configuring Port 0 (socket 1)
eth_rx_queue_setup(): Set up rx queue, rx queue id: 0, xsk queue id: 0
eth_rx_queue_setup(): Set up rx queue, rx queue id: 1, xsk queue id: 1
eth_rx_queue_setup(): Set up rx queue, rx queue id: 2, xsk queue id: 2
eth_rx_queue_setup(): Set up rx queue, rx queue id: 3, xsk queue id: 3
Port 0: 3C:FD:FE:C8:19:D0
Configuring Port 1 (socket 1)
eth_rx_queue_setup(): Set up rx queue, rx queue id: 0, xsk queue id: 4
eth_rx_queue_setup(): Set up rx queue, rx queue id: 1, xsk queue id: 5
eth_rx_queue_setup(): Set up rx queue, rx queue id: 2, xsk queue id: 6
eth_rx_queue_setup(): Set up rx queue, rx queue id: 3, xsk queue id: 7
Port 1: 3C:FD:FE:C8:19:D0
Checking link statuses...
Done
Start automatic packet forwarding
io packet forwarding - ports=2 - cores=8 - streams=8 - NUMA support enabled, MP allocation mode: native
Logical Core 19 (socket 1) forwards packets on 1 streams:
RX P=0/Q=0 (socket 1) -> TX P=0/Q=0 (socket 1) peer=02:00:00:00:00:00
Logical Core 20 (socket 1) forwards packets on 1 streams:
RX P=1/Q=0 (socket 1) -> TX P=1/Q=0 (socket 1) peer=02:00:00:00:00:01
Logical Core 21 (socket 1) forwards packets on 1 streams:
RX P=0/Q=1 (socket 1) -> TX P=0/Q=1 (socket 1) peer=02:00:00:00:00:00
Logical Core 22 (socket 1) forwards packets on 1 streams:
RX P=1/Q=1 (socket 1) -> TX P=1/Q=1 (socket 1) peer=02:00:00:00:00:01
Logical Core 32 (socket 1) forwards packets on 1 streams:
RX P=0/Q=2 (socket 1) -> TX P=0/Q=2 (socket 1) peer=02:00:00:00:00:00
Logical Core 33 (socket 1) forwards packets on 1 streams:
RX P=1/Q=2 (socket 1) -> TX P=1/Q=2 (socket 1) peer=02:00:00:00:00:01
Logical Core 34 (socket 1) forwards packets on 1 streams:
RX P=0/Q=3 (socket 1) -> TX P=0/Q=3 (socket 1) peer=02:00:00:00:00:00
Logical Core 35 (socket 1) forwards packets on 1 streams:
RX P=1/Q=3 (socket 1) -> TX P=1/Q=3 (socket 1) peer=02:00:00:00:00:01
io packet forwarding packets/burst=32
nb forwarding cores=8 - nb forwarding ports=2
port 0: RX queue number: 4 Tx queue number: 4
Rx offloads=0x0 Tx offloads=0x0
RX queue: 0
RX desc=0 - RX free threshold=0
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0x0
TX queue: 0
TX desc=0 - TX free threshold=0
TX threshold registers: pthresh=0 hthresh=0 wthresh=0
TX offloads=0x0 - TX RS bit threshold=0
port 1: RX queue number: 4 Tx queue number: 4
Rx offloads=0x0 Tx offloads=0x0
RX queue: 0
RX desc=0 - RX free threshold=0
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0x0
TX queue: 0
TX desc=0 - TX free threshold=0
TX threshold registers: pthresh=0 hthresh=0 wthresh=0
TX offloads=0x0 - TX RS bit threshold=0
22/10/2020 16:08:48 TestAfXdp: Running test test_perf_one_port_multiqueues_with_two_vdev, and 64 frame size.
22/10/2020 16:08:48 pktgen: test port 0 map gen port 0
22/10/2020 16:08:48 pktgen: test port 0 map gen port 0
22/10/2020 16:08:48 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:d0',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:9d:1c:f8',
'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:82:00.0',
'prom': 'off',
'prom_supported': 'yes',
'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
'rx_filter_mode': 'hardware match',
'rx_queue': 'off',
'speed': 40.0,
'src_ipv4': '-',
'src_mac': '3c:fd:fe:9d:1c:f8',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
22/10/2020 16:08:48 pktgen: trex port <0> not support flow control
22/10/2020 16:08:48 pktgen: trex packet generator: run traffic 5s to warm up ...
22/10/2020 16:08:48 pktgen: check the trex port link status
22/10/2020 16:08:48 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:d0',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:9d:1c:f8',
'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:82:00.0',
'prom': 'on',
'prom_supported': 'yes',
'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
'rx_filter_mode': 'hardware match',
'rx_queue': 'off',
'speed': 40.0,
'src_ipv4': '-',
'src_mac': '3c:fd:fe:9d:1c:f8',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
22/10/2020 16:08:48 pktgen: begin traffic ......
22/10/2020 16:08:48 pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
22/10/2020 16:08:53 pktgen: traffic completed.
22/10/2020 16:08:53 pktgen: check the trex port link status
22/10/2020 16:08:53 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:d0',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:9d:1c:f8',
'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:82:00.0',
'prom': 'on',
'prom_supported': 'yes',
'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
'rx_filter_mode': 'hardware match',
'rx_queue': 'off',
'speed': 40.0,
'src_ipv4': '-',
'src_mac': '3c:fd:fe:9d:1c:f8',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
22/10/2020 16:08:53 pktgen: begin traffic ......
22/10/2020 16:08:53 pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
22/10/2020 16:09:03 pktgen: begin get port statistic ...
22/10/2020 16:09:03 pktgen: {'options': {'fields_config': {'ip': {'dst': {'action': 'random',
'end': '192.168.1.64',
'start': '192.168.1.1',
'step': 1}}},
'pcap': '/tmp/af_xdp_1_0_64.pcap',
'stream_config': {'rate': 100,
'transmit_mode': 'continuous',
'txmode': {}}},
'pcap_file': '/tmp/af_xdp_1_0_64.pcap',
'rx_port': 0,
'tx_port': 0}
22/10/2020 16:09:03 pktgen: {0: {'ibytes': 6065495040,
'ierrors': 0,
'ipackets': 94773375,
'obytes': 27339388928,
'oerrors': 0,
'opackets': 427177999,
'rx_bps': 4819473408.0,
'rx_bps_L1': 6325541888.0,
'rx_pps': 9412928.0,
'rx_util': 15.81385472,
'tx_bps': 21777174528.0,
'tx_bps_L1': 28582518528.0,
'tx_pps': 42533400.0,
'tx_util': 71.45629632},
1: {'ibytes': 0,
'ierrors': 0,
'ipackets': 0,
'obytes': 0,
'oerrors': 0,
'opackets': 0,
'rx_bps': 0.0,
'rx_bps_L1': 0,
'rx_pps': 0.0,
'rx_util': 0.0,
'tx_bps': 0.0,
'tx_bps_L1': 0,
'tx_pps': 0.0,
'tx_util': 0.0},
'flow_stats': {},
'global': {'bw_per_core': 4.432880878448486,
'cpu_util': 98.25291442871094,
'queue_full': 52793713,
'rx_bps': 4819473408.0,
'rx_cpu_util': 0.0,
'rx_drop_bps': 16957699072.0,
'rx_pps': 9412928.0,
'tx_bps': 21777174528.0,
'tx_pps': 42533400.0},
'latency': {},
'total': {'ibytes': 6065495040,
'ierrors': 0,
'ipackets': 94773375,
'obytes': 27339388928,
'oerrors': 0,
'opackets': 427177999,
'rx_bps': 4819473408.0,
'rx_bps_L1': 6325541888.0,
'rx_pps': 9412928.0,
'rx_util': 15.81385472,
'tx_bps': 21777174528.0,
'tx_bps_L1': 28582518528.0,
'tx_pps': 42533400.0,
'tx_util': 71.45629632}}
22/10/2020 16:09:03 pktgen: {'ibytes': 6065495040,
'ierrors': 0,
'ipackets': 94773375,
'obytes': 27339388928,
'oerrors': 0,
'opackets': 427177999,
'rx_bps': 4819473408.0,
'rx_bps_L1': 6325541888.0,
'rx_pps': 9412928.0,
'rx_util': 15.81385472,
'tx_bps': 21777174528.0,
'tx_bps_L1': 28582518528.0,
'tx_pps': 42533400.0,
'tx_util': 71.45629632}
22/10/2020 16:09:03 pktgen: Tx Port 0 stats:
tx_port: 0, tx_bps: 21777174528.000000, tx_pps: 42533400.000000
22/10/2020 16:09:03 pktgen: {'ibytes': 6065495040,
'ierrors': 0,
'ipackets': 94773375,
'obytes': 27339388928,
'oerrors': 0,
'opackets': 427177999,
'rx_bps': 4819473408.0,
'rx_bps_L1': 6325541888.0,
'rx_pps': 9412928.0,
'rx_util': 15.81385472,
'tx_bps': 21777174528.0,
'tx_bps_L1': 28582518528.0,
'tx_pps': 42533400.0,
'tx_util': 71.45629632}
22/10/2020 16:09:03 pktgen: Rx Port 0 stats:
rx_port: 0, rx_bps: 4819473408.000000, rx_pps: 9412928.000000
22/10/2020 16:09:03 pktgen: throughput: pps_rx 9412928.000000, bps_rx 4819473408.000000
22/10/2020 16:09:03 pktgen: traffic completed.
22/10/2020 16:09:03 dut.10.240.183.99: stop
22/10/2020 16:09:03 dut.10.240.183.99:
Telling cores to ...
Waiting for lcores to finish...
------- Forward Stats for RX Port= 0/Queue= 0 -> TX Port= 0/Queue= 0 -------
RX-packets: 17630255 TX-packets: 17630255 TX-dropped: 0
------- Forward Stats for RX Port= 1/Queue= 0 -> TX Port= 1/Queue= 0 -------
RX-packets: 17693223 TX-packets: 17693223 TX-dropped: 0
------- Forward Stats for RX Port= 0/Queue= 1 -> TX Port= 0/Queue= 1 -------
RX-packets: 17649183 TX-packets: 17649183 TX-dropped: 0
------- Forward Stats for RX Port= 1/Queue= 1 -> TX Port= 1/Queue= 1 -------
RX-packets: 17921275 TX-packets: 17921275 TX-dropped: 0
------- Forward Stats for RX Port= 0/Queue= 2 -> TX Port= 0/Queue= 2 -------
RX-packets: 18117495 TX-packets: 18117495 TX-dropped: 0
------- Forward Stats for RX Port= 1/Queue= 2 -> TX Port= 1/Queue= 2 -------
RX-packets: 17950907 TX-packets: 17950907 TX-dropped: 0
------- Forward Stats for RX Port= 0/Queue= 3 -> TX Port= 0/Queue= 3 -------
RX-packets: 18034679 TX-packets: 18034679 TX-dropped: 0
------- Forward Stats for RX Port= 1/Queue= 3 -> TX Port= 1/Queue= 3 -------
RX-packets: 17525367 TX-packets: 17525367 TX-dropped: 0
---------------------- Forward statistics for port 0 ----------------------
RX-packets: 71431612 RX-dropped: 6144 RX-total: 71437756
TX-packets: 71431612 TX-dropped: 0 TX-total: 71431612
----------------------------------------------------------------------------
---------------------- Forward statistics for port 1 ----------------------
RX-packets: 71090772 RX-dropped: 26344 RX-total: 71117116
TX-packets: 71090772 TX-dropped: 0 TX-total: 71090772
----------------------------------------------------------------------------
+++++++++++++++ Accumulated forward statistics for all ports+++++++++++++++
RX-packets: 142522384 RX-dropped: 32488 RX-total: 142554872
TX-packets: 142522384 TX-dropped: 0 TX-total: 142522384
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Done.
22/10/2020 16:09:03 dut.10.240.183.99: start
22/10/2020 16:09:03 dut.10.240.183.99:
io packet forwarding - ports=2 - cores=8 - streams=8 - NUMA support enabled, MP allocation mode: native
Logical Core 19 (socket 1) forwards packets on 1 streams:
RX P=0/Q=0 (socket 1) -> TX P=0/Q=0 (socket 1) peer=02:00:00:00:00:00
Logical Core 20 (socket 1) forwards packets on 1 streams:
RX P=1/Q=0 (socket 1) -> TX P=1/Q=0 (socket 1) peer=02:00:00:00:00:01
Logical Core 21 (socket 1) forwards packets on 1 streams:
RX P=0/Q=1 (socket 1) -> TX P=0/Q=1 (socket 1) peer=02:00:00:00:00:00
Logical Core 22 (socket 1) forwards packets on 1 streams:
RX P=1/Q=1 (socket 1) -> TX P=1/Q=1 (socket 1) peer=02:00:00:00:00:01
Logical Core 32 (socket 1) forwards packets on 1 streams:
RX P=0/Q=2 (socket 1) -> TX P=0/Q=2 (socket 1) peer=02:00:00:00:00:00
Logical Core 33 (socket 1) forwards packets on 1 streams:
RX P=1/Q=2 (socket 1) -> TX P=1/Q=2 (socket 1) peer=02:00:00:00:00:01
Logical Core 34 (socket 1) forwards packets on 1 streams:
RX P=0/Q=3 (socket 1) -> TX P=0/Q=3 (socket 1) peer=02:00:00:00:00:00
Logical Core 35 (socket 1) forwards packets on 1 streams:
RX P=1/Q=3 (socket 1) -> TX P=1/Q=3 (socket 1) peer=02:00:00:00:00:01
io packet forwarding packets/burst=32
nb forwarding cores=8 - nb forwarding ports=2
port 0: RX queue number: 4 Tx queue number: 4
Rx offloads=0x0 Tx offloads=0x0
RX queue: 0
RX desc=0 - RX free threshold=0
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0x0
TX queue: 0
TX desc=0 - TX free threshold=0
TX threshold registers: pthresh=0 hthresh=0 wthresh=0
TX offloads=0x0 - TX RS bit threshold=0
port 1: RX queue number: 4 Tx queue number: 4
Rx offloads=0x0 Tx offloads=0x0
RX queue: 0
RX desc=0 - RX free threshold=0
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0x0
TX queue: 0
TX desc=0 - TX free threshold=0
TX threshold registers: pthresh=0 hthresh=0 wthresh=0
TX offloads=0x0 - TX RS bit threshold=0
22/10/2020 16:09:03 TestAfXdp: Running test test_perf_one_port_multiqueues_with_two_vdev, and 128 frame size.
22/10/2020 16:09:03 pktgen: test port 0 map gen port 0
22/10/2020 16:09:03 pktgen: test port 0 map gen port 0
22/10/2020 16:09:03 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:d0',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:9d:1c:f8',
'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:82:00.0',
'prom': 'off',
'prom_supported': 'yes',
'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
'rx_filter_mode': 'hardware match',
'rx_queue': 'off',
'speed': 40.0,
'src_ipv4': '-',
'src_mac': '3c:fd:fe:9d:1c:f8',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
22/10/2020 16:09:03 pktgen: trex port <0> not support flow control
22/10/2020 16:09:03 pktgen: trex packet generator: run traffic 5s to warm up ...
22/10/2020 16:09:03 pktgen: check the trex port link status
22/10/2020 16:09:03 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:d0',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:9d:1c:f8',
'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:82:00.0',
'prom': 'on',
'prom_supported': 'yes',
'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
'rx_filter_mode': 'hardware match',
'rx_queue': 'off',
'speed': 40.0,
'src_ipv4': '-',
'src_mac': '3c:fd:fe:9d:1c:f8',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
22/10/2020 16:09:03 pktgen: begin traffic ......
22/10/2020 16:09:03 pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
22/10/2020 16:09:08 pktgen: traffic completed.
22/10/2020 16:09:08 pktgen: check the trex port link status
22/10/2020 16:09:08 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:d0',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:9d:1c:f8',
'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:82:00.0',
'prom': 'on',
'prom_supported': 'yes',
'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
'rx_filter_mode': 'hardware match',
'rx_queue': 'off',
'speed': 40.0,
'src_ipv4': '-',
'src_mac': '3c:fd:fe:9d:1c:f8',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
22/10/2020 16:09:08 pktgen: begin traffic ......
22/10/2020 16:09:08 pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
22/10/2020 16:09:18 pktgen: begin get port statistic ...
22/10/2020 16:09:18 pktgen: {'options': {'fields_config': {'ip': {'dst': {'action': 'random',
'end': '192.168.1.64',
'start': '192.168.1.1',
'step': 1}}},
'pcap': '/tmp/af_xdp_1_0_128.pcap',
'stream_config': {'rate': 100,
'transmit_mode': 'continuous',
'txmode': {}}},
'pcap_file': '/tmp/af_xdp_1_0_128.pcap',
'rx_port': 0,
'tx_port': 0}
22/10/2020 16:09:18 pktgen: {0: {'ibytes': 11890865623,
'ierrors': 1598,
'ipackets': 92897392,
'obytes': 43293411200,
'oerrors': 0,
'opackets': 338229818,
'rx_bps': 9481482240.0,
'rx_bps_L1': 10963011040.0,
'rx_pps': 9259555.0,
'rx_util': 27.407527599999998,
'tx_bps': 34647326720.0,
'tx_bps_L1': 40061186560.0,
'tx_pps': 33836624.0,
'tx_util': 100.1529664},
1: {'ibytes': 0,
'ierrors': 0,
'ipackets': 0,
'obytes': 0,
'oerrors': 0,
'opackets': 0,
'rx_bps': 0.0,
'rx_bps_L1': 0,
'rx_pps': 0.0,
'rx_util': 0.0,
'tx_bps': 0.0,
'tx_bps_L1': 0,
'tx_pps': 0.0,
'tx_util': 0.0},
'flow_stats': {},
'global': {'bw_per_core': 17.251338958740234,
'cpu_util': 40.16769790649414,
'queue_full': 150076,
'rx_bps': 9481482240.0,
'rx_cpu_util': 0.0,
'rx_drop_bps': 25165846528.0,
'rx_pps': 9259555.0,
'tx_bps': 34647326720.0,
'tx_pps': 33836624.0},
'latency': {},
'total': {'ibytes': 11890865623,
'ierrors': 1598,
'ipackets': 92897392,
'obytes': 43293411200,
'oerrors': 0,
'opackets': 338229818,
'rx_bps': 9481482240.0,
'rx_bps_L1': 10963011040.0,
'rx_pps': 9259555.0,
'rx_util': 27.407527599999998,
'tx_bps': 34647326720.0,
'tx_bps_L1': 40061186560.0,
'tx_pps': 33836624.0,
'tx_util': 100.1529664}}
22/10/2020 16:09:18 pktgen: {'ibytes': 11890865623,
'ierrors': 1598,
'ipackets': 92897392,
'obytes': 43293411200,
'oerrors': 0,
'opackets': 338229818,
'rx_bps': 9481482240.0,
'rx_bps_L1': 10963011040.0,
'rx_pps': 9259555.0,
'rx_util': 27.407527599999998,
'tx_bps': 34647326720.0,
'tx_bps_L1': 40061186560.0,
'tx_pps': 33836624.0,
'tx_util': 100.1529664}
22/10/2020 16:09:18 pktgen: Tx Port 0 stats:
tx_port: 0, tx_bps: 34647326720.000000, tx_pps: 33836624.000000
22/10/2020 16:09:18 pktgen: {'ibytes': 11890865623,
'ierrors': 1598,
'ipackets': 92897392,
'obytes': 43293411200,
'oerrors': 0,
'opackets': 338229818,
'rx_bps': 9481482240.0,
'rx_bps_L1': 10963011040.0,
'rx_pps': 9259555.0,
'rx_util': 27.407527599999998,
'tx_bps': 34647326720.0,
'tx_bps_L1': 40061186560.0,
'tx_pps': 33836624.0,
'tx_util': 100.1529664}
22/10/2020 16:09:18 pktgen: Rx Port 0 stats:
rx_port: 0, rx_bps: 9481482240.000000, rx_pps: 9259555.000000
22/10/2020 16:09:18 pktgen: throughput: pps_rx 9259555.000000, bps_rx 9481482240.000000
22/10/2020 16:09:18 pktgen: traffic completed.
22/10/2020 16:09:18 dut.10.240.183.99: stop
22/10/2020 16:09:18 dut.10.240.183.99:
Telling cores to ...
Waiting for lcores to finish...
------- Forward Stats for RX Port= 0/Queue= 0 -> TX Port= 0/Queue= 0 -------
RX-packets: 17343314 TX-packets: 17343314 TX-dropped: 0
------- Forward Stats for RX Port= 1/Queue= 0 -> TX Port= 1/Queue= 0 -------
RX-packets: 17265633 TX-packets: 17265633 TX-dropped: 0
------- Forward Stats for RX Port= 0/Queue= 1 -> TX Port= 0/Queue= 1 -------
RX-packets: 17234845 TX-packets: 17234845 TX-dropped: 0
------- Forward Stats for RX Port= 1/Queue= 1 -> TX Port= 1/Queue= 1 -------
RX-packets: 17603640 TX-packets: 17603640 TX-dropped: 0
------- Forward Stats for RX Port= 0/Queue= 2 -> TX Port= 0/Queue= 2 -------
RX-packets: 17867341 TX-packets: 17867341 TX-dropped: 0
------- Forward Stats for RX Port= 1/Queue= 2 -> TX Port= 1/Queue= 2 -------
RX-packets: 17564068 TX-packets: 17564068 TX-dropped: 0
------- Forward Stats for RX Port= 0/Queue= 3 -> TX Port= 0/Queue= 3 -------
RX-packets: 17844446 TX-packets: 17844446 TX-dropped: 0
------- Forward Stats for RX Port= 1/Queue= 3 -> TX Port= 1/Queue= 3 -------
RX-packets: 17139799 TX-packets: 17139799 TX-dropped: 0
---------------------- Forward statistics for port 0 ----------------------
RX-packets: 70289946 RX-dropped: 17432 RX-total: 70307378
TX-packets: 70289946 TX-dropped: 0 TX-total: 70289946
----------------------------------------------------------------------------
---------------------- Forward statistics for port 1 ----------------------
RX-packets: 69573140 RX-dropped: 1134887 RX-total: 70708027
TX-packets: 69573140 TX-dropped: 0 TX-total: 69573140
----------------------------------------------------------------------------
+++++++++++++++ Accumulated forward statistics for all ports+++++++++++++++
RX-packets: 139863086 RX-dropped: 1152319 RX-total: 141015405
TX-packets: 139863086 TX-dropped: 0 TX-total: 139863086
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Done.
22/10/2020 16:09:18 dut.10.240.183.99: start
22/10/2020 16:09:18 dut.10.240.183.99:
io packet forwarding - ports=2 - cores=8 - streams=8 - NUMA support enabled, MP allocation mode: native
Logical Core 19 (socket 1) forwards packets on 1 streams:
RX P=0/Q=0 (socket 1) -> TX P=0/Q=0 (socket 1) peer=02:00:00:00:00:00
Logical Core 20 (socket 1) forwards packets on 1 streams:
RX P=1/Q=0 (socket 1) -> TX P=1/Q=0 (socket 1) peer=02:00:00:00:00:01
Logical Core 21 (socket 1) forwards packets on 1 streams:
RX P=0/Q=1 (socket 1) -> TX P=0/Q=1 (socket 1) peer=02:00:00:00:00:00
Logical Core 22 (socket 1) forwards packets on 1 streams:
RX P=1/Q=1 (socket 1) -> TX P=1/Q=1 (socket 1) peer=02:00:00:00:00:01
Logical Core 32 (socket 1) forwards packets on 1 streams:
RX P=0/Q=2 (socket 1) -> TX P=0/Q=2 (socket 1) peer=02:00:00:00:00:00
Logical Core 33 (socket 1) forwards packets on 1 streams:
RX P=1/Q=2 (socket 1) -> TX P=1/Q=2 (socket 1) peer=02:00:00:00:00:01
Logical Core 34 (socket 1) forwards packets on 1 streams:
RX P=0/Q=3 (socket 1) -> TX P=0/Q=3 (socket 1) peer=02:00:00:00:00:00
Logical Core 35 (socket 1) forwards packets on 1 streams:
RX P=1/Q=3 (socket 1) -> TX P=1/Q=3 (socket 1) peer=02:00:00:00:00:01
io packet forwarding packets/burst=32
nb forwarding cores=8 - nb forwarding ports=2
port 0: RX queue number: 4 Tx queue number: 4
Rx offloads=0x0 Tx offloads=0x0
RX queue: 0
RX desc=0 - RX free threshold=0
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0x0
TX queue: 0
TX desc=0 - TX free threshold=0
TX threshold registers: pthresh=0 hthresh=0 wthresh=0
TX offloads=0x0 - TX RS bit threshold=0
port 1: RX queue number: 4 Tx queue number: 4
Rx offloads=0x0 Tx offloads=0x0
RX queue: 0
RX desc=0 - RX free threshold=0
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0x0
TX queue: 0
TX desc=0 - TX free threshold=0
TX threshold registers: pthresh=0 hthresh=0 wthresh=0
TX offloads=0x0 - TX RS bit threshold=0
22/10/2020 16:09:18 TestAfXdp: Running test test_perf_one_port_multiqueues_with_two_vdev, and 256 frame size.
22/10/2020 16:09:18 pktgen: test port 0 map gen port 0
22/10/2020 16:09:18 pktgen: test port 0 map gen port 0
22/10/2020 16:09:18 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:d0',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:9d:1c:f8',
'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:82:00.0',
'prom': 'off',
'prom_supported': 'yes',
'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
'rx_filter_mode': 'hardware match',
'rx_queue': 'off',
'speed': 40.0,
'src_ipv4': '-',
'src_mac': '3c:fd:fe:9d:1c:f8',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
22/10/2020 16:09:18 pktgen: trex port <0> not support flow control
22/10/2020 16:09:18 pktgen: trex packet generator: run traffic 5s to warm up ...
22/10/2020 16:09:18 pktgen: check the trex port link status
22/10/2020 16:09:18 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:d0',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:9d:1c:f8',
'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:82:00.0',
'prom': 'on',
'prom_supported': 'yes',
'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
'rx_filter_mode': 'hardware match',
'rx_queue': 'off',
'speed': 40.0,
'src_ipv4': '-',
'src_mac': '3c:fd:fe:9d:1c:f8',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
22/10/2020 16:09:18 pktgen: begin traffic ......
22/10/2020 16:09:18 pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
22/10/2020 16:09:23 pktgen: traffic completed.
22/10/2020 16:09:23 pktgen: check the trex port link status
22/10/2020 16:09:23 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:d0',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:9d:1c:f8',
'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:82:00.0',
'prom': 'on',
'prom_supported': 'yes',
'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
'rx_filter_mode': 'hardware match',
'rx_queue': 'off',
'speed': 40.0,
'src_ipv4': '-',
'src_mac': '3c:fd:fe:9d:1c:f8',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
22/10/2020 16:09:23 pktgen: begin traffic ......
22/10/2020 16:09:23 pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
22/10/2020 16:09:33 pktgen: begin get port statistic ...
22/10/2020 16:09:33 pktgen: {'options': {'fields_config': {'ip': {'dst': {'action': 'random',
'end': '192.168.1.64',
'start': '192.168.1.1',
'step': 1}}},
'pcap': '/tmp/af_xdp_1_0_256.pcap',
'stream_config': {'rate': 100,
'transmit_mode': 'continuous',
'txmode': {}}},
'pcap_file': '/tmp/af_xdp_1_0_256.pcap',
'rx_port': 0,
'tx_port': 0}
22/10/2020 16:09:33 pktgen: {0: {'ibytes': 16026648138,
'ierrors': 0,
'ipackets': 62604099,
'obytes': 16028559360,
'oerrors': 0,
'opackets': 62611563,
'rx_bps': 12537317376.0,
'rx_bps_L1': 13516838815.999998,
'rx_pps': 6122009.0,
'rx_util': 33.792097039999994,
'tx_bps': 12539691008.0,
'tx_bps_L1': 13519514527.999998,
'tx_pps': 6123897.0,
'tx_util': 33.79878632},
1: {'ibytes': 0,
'ierrors': 0,
'ipackets': 0,
'obytes': 0,
'oerrors': 0,
'opackets': 0,
'rx_bps': 0.0,
'rx_bps_L1': 0,
'rx_pps': 0.0,
'rx_util': 0.0,
'tx_bps': 0.0,
'tx_bps_L1': 0,
'tx_pps': 0.0,
'tx_util': 0.0},
'flow_stats': {},
'global': {'bw_per_core': 2.5568182468414307,
'cpu_util': 98.08824157714844,
'queue_full': 89474980,
'rx_bps': 12537317376.0,
'rx_cpu_util': 0.0,
'rx_drop_bps': 0.0,
'rx_pps': 6122009.0,
'tx_bps': 12539691008.0,
'tx_pps': 6123897.0},
'latency': {},
'total': {'ibytes': 16026648138,
'ierrors': 0,
'ipackets': 62604099,
'obytes': 16028559360,
'oerrors': 0,
'opackets': 62611563,
'rx_bps': 12537317376.0,
'rx_bps_L1': 13516838815.999998,
'rx_pps': 6122009.0,
'rx_util': 33.792097039999994,
'tx_bps': 12539691008.0,
'tx_bps_L1': 13519514527.999998,
'tx_pps': 6123897.0,
'tx_util': 33.79878632}}
22/10/2020 16:09:33 pktgen: {'ibytes': 16026648138,
'ierrors': 0,
'ipackets': 62604099,
'obytes': 16028559360,
'oerrors': 0,
'opackets': 62611563,
'rx_bps': 12537317376.0,
'rx_bps_L1': 13516838815.999998,
'rx_pps': 6122009.0,
'rx_util': 33.792097039999994,
'tx_bps': 12539691008.0,
'tx_bps_L1': 13519514527.999998,
'tx_pps': 6123897.0,
'tx_util': 33.79878632}
22/10/2020 16:09:33 pktgen: Tx Port 0 stats:
tx_port: 0, tx_bps: 12539691008.000000, tx_pps: 6123897.000000
22/10/2020 16:09:33 pktgen: {'ibytes': 16026648138,
'ierrors': 0,
'ipackets': 62604099,
'obytes': 16028559360,
'oerrors': 0,
'opackets': 62611563,
'rx_bps': 12537317376.0,
'rx_bps_L1': 13516838815.999998,
'rx_pps': 6122009.0,
'rx_util': 33.792097039999994,
'tx_bps': 12539691008.0,
'tx_bps_L1': 13519514527.999998,
'tx_pps': 6123897.0,
'tx_util': 33.79878632}
22/10/2020 16:09:33 pktgen: Rx Port 0 stats:
rx_port: 0, rx_bps: 12537317376.000000, rx_pps: 6122009.000000
22/10/2020 16:09:33 pktgen: throughput: pps_rx 6122009.000000, bps_rx 12537317376.000000
22/10/2020 16:09:33 pktgen: traffic completed.
22/10/2020 16:09:33 dut.10.240.183.99: stop
22/10/2020 16:09:33 dut.10.240.183.99:
Telling cores to ...
Waiting for lcores to finish...
------- Forward Stats for RX Port= 0/Queue= 0 -> TX Port= 0/Queue= 0 -------
RX-packets: 11848868 TX-packets: 11848868 TX-dropped: 0
------- Forward Stats for RX Port= 1/Queue= 0 -> TX Port= 1/Queue= 0 -------
RX-packets: 11842549 TX-packets: 11842549 TX-dropped: 0
------- Forward Stats for RX Port= 0/Queue= 1 -> TX Port= 0/Queue= 1 -------
RX-packets: 11841013 TX-packets: 11841013 TX-dropped: 0
------- Forward Stats for RX Port= 1/Queue= 1 -> TX Port= 1/Queue= 1 -------
RX-packets: 11850492 TX-packets: 11850492 TX-dropped: 0
------- Forward Stats for RX Port= 0/Queue= 2 -> TX Port= 0/Queue= 2 -------
RX-packets: 11856250 TX-packets: 11856250 TX-dropped: 0
------- Forward Stats for RX Port= 1/Queue= 2 -> TX Port= 1/Queue= 2 -------
RX-packets: 11850125 TX-packets: 11850125 TX-dropped: 0
------- Forward Stats for RX Port= 0/Queue= 3 -> TX Port= 0/Queue= 3 -------
RX-packets: 11851161 TX-packets: 11851161 TX-dropped: 0
------- Forward Stats for RX Port= 1/Queue= 3 -> TX Port= 1/Queue= 3 -------
RX-packets: 11840268 TX-packets: 11840268 TX-dropped: 0
---------------------- Forward statistics for port 0 ----------------------
RX-packets: 47397292 RX-dropped: 3257 RX-total: 47400549
TX-packets: 47397292 TX-dropped: 0 TX-total: 47397292
----------------------------------------------------------------------------
---------------------- Forward statistics for port 1 ----------------------
RX-packets: 47383434 RX-dropped: 3820 RX-total: 47387254
TX-packets: 47383434 TX-dropped: 0 TX-total: 47383434
----------------------------------------------------------------------------
+++++++++++++++ Accumulated forward statistics for all ports+++++++++++++++
RX-packets: 94780726 RX-dropped: 7077 RX-total: 94787803
TX-packets: 94780726 TX-dropped: 0 TX-total: 94780726
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Done.
22/10/2020 16:09:33 dut.10.240.183.99: start
22/10/2020 16:09:34 dut.10.240.183.99:
io packet forwarding - ports=2 - cores=8 - streams=8 - NUMA support enabled, MP allocation mode: native
Logical Core 19 (socket 1) forwards packets on 1 streams:
RX P=0/Q=0 (socket 1) -> TX P=0/Q=0 (socket 1) peer=02:00:00:00:00:00
Logical Core 20 (socket 1) forwards packets on 1 streams:
RX P=1/Q=0 (socket 1) -> TX P=1/Q=0 (socket 1) peer=02:00:00:00:00:01
Logical Core 21 (socket 1) forwards packets on 1 streams:
RX P=0/Q=1 (socket 1) -> TX P=0/Q=1 (socket 1) peer=02:00:00:00:00:00
Logical Core 22 (socket 1) forwards packets on 1 streams:
RX P=1/Q=1 (socket 1) -> TX P=1/Q=1 (socket 1) peer=02:00:00:00:00:01
Logical Core 32 (socket 1) forwards packets on 1 streams:
RX P=0/Q=2 (socket 1) -> TX P=0/Q=2 (socket 1) peer=02:00:00:00:00:00
Logical Core 33 (socket 1) forwards packets on 1 streams:
RX P=1/Q=2 (socket 1) -> TX P=1/Q=2 (socket 1) peer=02:00:00:00:00:01
Logical Core 34 (socket 1) forwards packets on 1 streams:
RX P=0/Q=3 (socket 1) -> TX P=0/Q=3 (socket 1) peer=02:00:00:00:00:00
Logical Core 35 (socket 1) forwards packets on 1 streams:
RX P=1/Q=3 (socket 1) -> TX P=1/Q=3 (socket 1) peer=02:00:00:00:00:01
io packet forwarding packets/burst=32
nb forwarding cores=8 - nb forwarding ports=2
port 0: RX queue number: 4 Tx queue number: 4
Rx offloads=0x0 Tx offloads=0x0
RX queue: 0
RX desc=0 - RX free threshold=0
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0x0
TX queue: 0
TX desc=0 - TX free threshold=0
TX threshold registers: pthresh=0 hthresh=0 wthresh=0
TX offloads=0x0 - TX RS bit threshold=0
port 1: RX queue number: 4 Tx queue number: 4
Rx offloads=0x0 Tx offloads=0x0
RX queue: 0
RX desc=0 - RX free threshold=0
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0x0
TX queue: 0
TX desc=0 - TX free threshold=0
TX threshold registers: pthresh=0 hthresh=0 wthresh=0
TX offloads=0x0 - TX RS bit threshold=0
22/10/2020 16:09:34 TestAfXdp: Running test test_perf_one_port_multiqueues_with_two_vdev, and 512 frame size.
22/10/2020 16:09:34 pktgen: test port 0 map gen port 0
22/10/2020 16:09:34 pktgen: test port 0 map gen port 0
22/10/2020 16:09:34 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:d0',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:9d:1c:f8',
'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:82:00.0',
'prom': 'off',
'prom_supported': 'yes',
'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
'rx_filter_mode': 'hardware match',
'rx_queue': 'off',
'speed': 40.0,
'src_ipv4': '-',
'src_mac': '3c:fd:fe:9d:1c:f8',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
22/10/2020 16:09:34 pktgen: trex port <0> not support flow control
22/10/2020 16:09:34 pktgen: trex packet generator: run traffic 5s to warm up ...
22/10/2020 16:09:34 pktgen: check the trex port link status
22/10/2020 16:09:34 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:d0',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:9d:1c:f8',
'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:82:00.0',
'prom': 'on',
'prom_supported': 'yes',
'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
'rx_filter_mode': 'hardware match',
'rx_queue': 'off',
'speed': 40.0,
'src_ipv4': '-',
'src_mac': '3c:fd:fe:9d:1c:f8',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
22/10/2020 16:09:34 pktgen: begin traffic ......
22/10/2020 16:09:34 pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
22/10/2020 16:09:39 pktgen: traffic completed.
22/10/2020 16:09:39 pktgen: check the trex port link status
22/10/2020 16:09:39 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:d0',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:9d:1c:f8',
'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:82:00.0',
'prom': 'on',
'prom_supported': 'yes',
'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
'rx_filter_mode': 'hardware match',
'rx_queue': 'off',
'speed': 40.0,
'src_ipv4': '-',
'src_mac': '3c:fd:fe:9d:1c:f8',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
22/10/2020 16:09:39 pktgen: begin traffic ......
22/10/2020 16:09:39 pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
22/10/2020 16:09:49 pktgen: begin get port statistic ...
22/10/2020 16:09:49 pktgen: {'options': {'fields_config': {'ip': {'dst': {'action': 'random',
'end': '192.168.1.64',
'start': '192.168.1.1',
'step': 1}}},
'pcap': '/tmp/af_xdp_1_0_512.pcap',
'stream_config': {'rate': 100,
'transmit_mode': 'continuous',
'txmode': {}}},
'pcap_file': '/tmp/af_xdp_1_0_512.pcap',
'rx_port': 0,
'tx_port': 0}
22/10/2020 16:09:49 pktgen: {0: {'ibytes': 29821156038,
'ierrors': 0,
'ipackets': 58244455,
'obytes': 29828198400,
'oerrors': 0,
'opackets': 58258206,
'rx_bps': 23346774016.0,
'rx_bps_L1': 24258785376.0,
'rx_pps': 5700071.0,
'rx_util': 60.64696344,
'tx_bps': 23347537920.0,
'tx_bps_L1': 24259579280.0,
'tx_pps': 5700258.5,
'tx_util': 60.6489482},
1: {'ibytes': 0,
'ierrors': 0,
'ipackets': 0,
'obytes': 0,
'oerrors': 0,
'opackets': 0,
'rx_bps': 0.0,
'rx_bps_L1': 0,
'rx_pps': 0.0,
'rx_util': 0.0,
'tx_bps': 0.0,
'tx_bps_L1': 0,
'tx_pps': 0.0,
'tx_util': 0.0},
'flow_stats': {},
'global': {'bw_per_core': 4.929118633270264,
'cpu_util': 94.73311614990234,
'queue_full': 84120206,
'rx_bps': 23346774016.0,
'rx_cpu_util': 0.0,
'rx_drop_bps': 0.0,
'rx_pps': 5700071.0,
'tx_bps': 23347537920.0,
'tx_pps': 5700258.5},
'latency': {},
'total': {'ibytes': 29821156038,
'ierrors': 0,
'ipackets': 58244455,
'obytes': 29828198400,
'oerrors': 0,
'opackets': 58258206,
'rx_bps': 23346774016.0,
'rx_bps_L1': 24258785376.0,
'rx_pps': 5700071.0,
'rx_util': 60.64696344,
'tx_bps': 23347537920.0,
'tx_bps_L1': 24259579280.0,
'tx_pps': 5700258.5,
'tx_util': 60.6489482}}
22/10/2020 16:09:49 pktgen: {'ibytes': 29821156038,
'ierrors': 0,
'ipackets': 58244455,
'obytes': 29828198400,
'oerrors': 0,
'opackets': 58258206,
'rx_bps': 23346774016.0,
'rx_bps_L1': 24258785376.0,
'rx_pps': 5700071.0,
'rx_util': 60.64696344,
'tx_bps': 23347537920.0,
'tx_bps_L1': 24259579280.0,
'tx_pps': 5700258.5,
'tx_util': 60.6489482}
22/10/2020 16:09:49 pktgen: Tx Port 0 stats:
tx_port: 0, tx_bps: 23347537920.000000, tx_pps: 5700258.500000
22/10/2020 16:09:49 pktgen: {'ibytes': 29821156038,
'ierrors': 0,
'ipackets': 58244455,
'obytes': 29828198400,
'oerrors': 0,
'opackets': 58258206,
'rx_bps': 23346774016.0,
'rx_bps_L1': 24258785376.0,
'rx_pps': 5700071.0,
'rx_util': 60.64696344,
'tx_bps': 23347537920.0,
'tx_bps_L1': 24259579280.0,
'tx_pps': 5700258.5,
'tx_util': 60.6489482}
22/10/2020 16:09:49 pktgen: Rx Port 0 stats:
rx_port: 0, rx_bps: 23346774016.000000, rx_pps: 5700071.000000
22/10/2020 16:09:49 pktgen: throughput: pps_rx 5700071.000000, bps_rx 23346774016.000000
22/10/2020 16:09:49 pktgen: traffic completed.
22/10/2020 16:09:49 dut.10.240.183.99: stop
22/10/2020 16:09:49 dut.10.240.183.99:
Telling cores to ...
Waiting for lcores to finish...
------- Forward Stats for RX Port= 0/Queue= 0 -> TX Port= 0/Queue= 0 -------
RX-packets: 10964531 TX-packets: 10964531 TX-dropped: 0
------- Forward Stats for RX Port= 1/Queue= 0 -> TX Port= 1/Queue= 0 -------
RX-packets: 10961258 TX-packets: 10961258 TX-dropped: 0
------- Forward Stats for RX Port= 0/Queue= 1 -> TX Port= 0/Queue= 1 -------
RX-packets: 10961991 TX-packets: 10961991 TX-dropped: 0
------- Forward Stats for RX Port= 1/Queue= 1 -> TX Port= 1/Queue= 1 -------
RX-packets: 10964858 TX-packets: 10964858 TX-dropped: 0
------- Forward Stats for RX Port= 0/Queue= 2 -> TX Port= 0/Queue= 2 -------
RX-packets: 10962014 TX-packets: 10962014 TX-dropped: 0
------- Forward Stats for RX Port= 1/Queue= 2 -> TX Port= 1/Queue= 2 -------
RX-packets: 10967111 TX-packets: 10967111 TX-dropped: 0
------- Forward Stats for RX Port= 0/Queue= 3 -> TX Port= 0/Queue= 3 -------
RX-packets: 10967673 TX-packets: 10967673 TX-dropped: 0
------- Forward Stats for RX Port= 1/Queue= 3 -> TX Port= 1/Queue= 3 -------
RX-packets: 10961460 TX-packets: 10961460 TX-dropped: 0
---------------------- Forward statistics for port 0 ----------------------
RX-packets: 43856209 RX-dropped: 0 RX-total: 43856209
TX-packets: 43856209 TX-dropped: 0 TX-total: 43856209
----------------------------------------------------------------------------
---------------------- Forward statistics for port 1 ----------------------
RX-packets: 43854687 RX-dropped: 0 RX-total: 43854687
TX-packets: 43854687 TX-dropped: 0 TX-total: 43854687
----------------------------------------------------------------------------
+++++++++++++++ Accumulated forward statistics for all ports+++++++++++++++
RX-packets: 87710896 RX-dropped: 0 RX-total: 87710896
TX-packets: 87710896 TX-dropped: 0 TX-total: 87710896
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Done.
22/10/2020 16:09:49 dut.10.240.183.99: start
22/10/2020 16:09:49 dut.10.240.183.99:
io packet forwarding - ports=2 - cores=8 - streams=8 - NUMA support enabled, MP allocation mode: native
Logical Core 19 (socket 1) forwards packets on 1 streams:
RX P=0/Q=0 (socket 1) -> TX P=0/Q=0 (socket 1) peer=02:00:00:00:00:00
Logical Core 20 (socket 1) forwards packets on 1 streams:
RX P=1/Q=0 (socket 1) -> TX P=1/Q=0 (socket 1) peer=02:00:00:00:00:01
Logical Core 21 (socket 1) forwards packets on 1 streams:
RX P=0/Q=1 (socket 1) -> TX P=0/Q=1 (socket 1) peer=02:00:00:00:00:00
Logical Core 22 (socket 1) forwards packets on 1 streams:
RX P=1/Q=1 (socket 1) -> TX P=1/Q=1 (socket 1) peer=02:00:00:00:00:01
Logical Core 32 (socket 1) forwards packets on 1 streams:
RX P=0/Q=2 (socket 1) -> TX P=0/Q=2 (socket 1) peer=02:00:00:00:00:00
Logical Core 33 (socket 1) forwards packets on 1 streams:
RX P=1/Q=2 (socket 1) -> TX P=1/Q=2 (socket 1) peer=02:00:00:00:00:01
Logical Core 34 (socket 1) forwards packets on 1 streams:
RX P=0/Q=3 (socket 1) -> TX P=0/Q=3 (socket 1) peer=02:00:00:00:00:00
Logical Core 35 (socket 1) forwards packets on 1 streams:
RX P=1/Q=3 (socket 1) -> TX P=1/Q=3 (socket 1) peer=02:00:00:00:00:01
io packet forwarding packets/burst=32
nb forwarding cores=8 - nb forwarding ports=2
port 0: RX queue number: 4 Tx queue number: 4
Rx offloads=0x0 Tx offloads=0x0
RX queue: 0
RX desc=0 - RX free threshold=0
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0x0
TX queue: 0
TX desc=0 - TX free threshold=0
TX threshold registers: pthresh=0 hthresh=0 wthresh=0
TX offloads=0x0 - TX RS bit threshold=0
port 1: RX queue number: 4 Tx queue number: 4
Rx offloads=0x0 Tx offloads=0x0
RX queue: 0
RX desc=0 - RX free threshold=0
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0x0
TX queue: 0
TX desc=0 - TX free threshold=0
TX threshold registers: pthresh=0 hthresh=0 wthresh=0
TX offloads=0x0 - TX RS bit threshold=0
22/10/2020 16:09:49 TestAfXdp: Running test test_perf_one_port_multiqueues_with_two_vdev, and 1024 frame size.
22/10/2020 16:09:49 pktgen: test port 0 map gen port 0
22/10/2020 16:09:49 pktgen: test port 0 map gen port 0
22/10/2020 16:09:49 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:d0',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:9d:1c:f8',
'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:82:00.0',
'prom': 'off',
'prom_supported': 'yes',
'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
'rx_filter_mode': 'hardware match',
'rx_queue': 'off',
'speed': 40.0,
'src_ipv4': '-',
'src_mac': '3c:fd:fe:9d:1c:f8',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
22/10/2020 16:09:49 pktgen: trex port <0> not support flow control
22/10/2020 16:09:49 pktgen: trex packet generator: run traffic 5s to warm up ...
22/10/2020 16:09:49 pktgen: check the trex port link status
22/10/2020 16:09:49 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:d0',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:9d:1c:f8',
'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:82:00.0',
'prom': 'on',
'prom_supported': 'yes',
'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
'rx_filter_mode': 'hardware match',
'rx_queue': 'off',
'speed': 40.0,
'src_ipv4': '-',
'src_mac': '3c:fd:fe:9d:1c:f8',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
22/10/2020 16:09:49 pktgen: begin traffic ......
22/10/2020 16:09:49 pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
22/10/2020 16:09:54 pktgen: traffic completed.
22/10/2020 16:09:54 pktgen: check the trex port link status
22/10/2020 16:09:54 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:d0',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:9d:1c:f8',
'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:82:00.0',
'prom': 'on',
'prom_supported': 'yes',
'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
'rx_filter_mode': 'hardware match',
'rx_queue': 'off',
'speed': 40.0,
'src_ipv4': '-',
'src_mac': '3c:fd:fe:9d:1c:f8',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
22/10/2020 16:09:54 pktgen: begin traffic ......
22/10/2020 16:09:54 pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
22/10/2020 16:10:04 pktgen: begin get port statistic ...
22/10/2020 16:10:04 pktgen: {'options': {'fields_config': {'ip': {'dst': {'action': 'random',
'end': '192.168.1.64',
'start': '192.168.1.1',
'step': 1}}},
'pcap': '/tmp/af_xdp_1_0_1024.pcap',
'stream_config': {'rate': 100,
'transmit_mode': 'continuous',
'txmode': {}}},
'pcap_file': '/tmp/af_xdp_1_0_1024.pcap',
'rx_port': 0,
'tx_port': 0}
22/10/2020 16:10:04 pktgen: {0: {'ibytes': 46652592128,
'ierrors': 19,
'ipackets': 45559178,
'obytes': 46660033536,
'oerrors': 0,
'opackets': 45566445,
'rx_bps': 37025902592.0,
'rx_bps_L1': 37749090432.0,
'rx_pps': 4519924.0,
'rx_util': 94.37272608,
'tx_bps': 37025865728.0,
'tx_bps_L1': 37749052768.0,
'tx_pps': 4519919.0,
'tx_util': 94.37263192},
1: {'ibytes': 0,
'ierrors': 0,
'ipackets': 0,
'obytes': 0,
'oerrors': 0,
'opackets': 0,
'rx_bps': 0.0,
'rx_bps_L1': 0,
'rx_pps': 0.0,
'rx_util': 0.0,
'tx_bps': 0.0,
'tx_bps_L1': 0,
'tx_pps': 0.0,
'tx_util': 0.0},
'flow_stats': {},
'global': {'bw_per_core': 36.668975830078125,
'cpu_util': 20.19465446472168,
'queue_full': 14382409,
'rx_bps': 37025902592.0,
'rx_cpu_util': 0.0,
'rx_drop_bps': 0.0,
'rx_pps': 4519924.0,
'tx_bps': 37025865728.0,
'tx_pps': 4519919.0},
'latency': {},
'total': {'ibytes': 46652592128,
'ierrors': 19,
'ipackets': 45559178,
'obytes': 46660033536,
'oerrors': 0,
'opackets': 45566445,
'rx_bps': 37025902592.0,
'rx_bps_L1': 37749090432.0,
'rx_pps': 4519924.0,
'rx_util': 94.37272608,
'tx_bps': 37025865728.0,
'tx_bps_L1': 37749052768.0,
'tx_pps': 4519919.0,
'tx_util': 94.37263192}}
22/10/2020 16:10:04 pktgen: {'ibytes': 46652592128,
'ierrors': 19,
'ipackets': 45559178,
'obytes': 46660033536,
'oerrors': 0,
'opackets': 45566445,
'rx_bps': 37025902592.0,
'rx_bps_L1': 37749090432.0,
'rx_pps': 4519924.0,
'rx_util': 94.37272608,
'tx_bps': 37025865728.0,
'tx_bps_L1': 37749052768.0,
'tx_pps': 4519919.0,
'tx_util': 94.37263192}
22/10/2020 16:10:04 pktgen: Tx Port 0 stats:
tx_port: 0, tx_bps: 37025865728.000000, tx_pps: 4519919.000000
22/10/2020 16:10:04 pktgen: {'ibytes': 46652592128,
'ierrors': 19,
'ipackets': 45559178,
'obytes': 46660033536,
'oerrors': 0,
'opackets': 45566445,
'rx_bps': 37025902592.0,
'rx_bps_L1': 37749090432.0,
'rx_pps': 4519924.0,
'rx_util': 94.37272608,
'tx_bps': 37025865728.0,
'tx_bps_L1': 37749052768.0,
'tx_pps': 4519919.0,
'tx_util': 94.37263192}
22/10/2020 16:10:04 pktgen: Rx Port 0 stats:
rx_port: 0, rx_bps: 37025902592.000000, rx_pps: 4519924.000000
22/10/2020 16:10:04 pktgen: throughput: pps_rx 4519924.000000, bps_rx 37025902592.000000
22/10/2020 16:10:04 pktgen: traffic completed.
22/10/2020 16:10:04 dut.10.240.183.99: stop
22/10/2020 16:10:04 dut.10.240.183.99:
Telling cores to ...
Waiting for lcores to finish...
------- Forward Stats for RX Port= 0/Queue= 0 -> TX Port= 0/Queue= 0 -------
RX-packets: 8613684 TX-packets: 8613684 TX-dropped: 0
------- Forward Stats for RX Port= 1/Queue= 0 -> TX Port= 1/Queue= 0 -------
RX-packets: 8603052 TX-packets: 8603052 TX-dropped: 0
------- Forward Stats for RX Port= 0/Queue= 1 -> TX Port= 0/Queue= 1 -------
RX-packets: 8606796 TX-packets: 8606796 TX-dropped: 0
------- Forward Stats for RX Port= 1/Queue= 1 -> TX Port= 1/Queue= 1 -------
RX-packets: 8606818 TX-packets: 8606818 TX-dropped: 0
------- Forward Stats for RX Port= 0/Queue= 2 -> TX Port= 0/Queue= 2 -------
RX-packets: 8611411 TX-packets: 8611411 TX-dropped: 0
------- Forward Stats for RX Port= 1/Queue= 2 -> TX Port= 1/Queue= 2 -------
RX-packets: 8606123 TX-packets: 8606123 TX-dropped: 0
------- Forward Stats for RX Port= 0/Queue= 3 -> TX Port= 0/Queue= 3 -------
RX-packets: 8606284 TX-packets: 8606284 TX-dropped: 0
------- Forward Stats for RX Port= 1/Queue= 3 -> TX Port= 1/Queue= 3 -------
RX-packets: 8611062 TX-packets: 8611062 TX-dropped: 0
---------------------- Forward statistics for port 0 ----------------------
RX-packets: 34438175 RX-dropped: 0 RX-total: 34438175
TX-packets: 34438175 TX-dropped: 0 TX-total: 34438175
----------------------------------------------------------------------------
---------------------- Forward statistics for port 1 ----------------------
RX-packets: 34427055 RX-dropped: 0 RX-total: 34427055
TX-packets: 34427055 TX-dropped: 0 TX-total: 34427055
----------------------------------------------------------------------------
+++++++++++++++ Accumulated forward statistics for all ports+++++++++++++++
RX-packets: 68865230 RX-dropped: 0 RX-total: 68865230
TX-packets: 68865230 TX-dropped: 0 TX-total: 68865230
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Done.
22/10/2020 16:10:04 dut.10.240.183.99: start
22/10/2020 16:10:04 dut.10.240.183.99:
io packet forwarding - ports=2 - cores=8 - streams=8 - NUMA support enabled, MP allocation mode: native
Logical Core 19 (socket 1) forwards packets on 1 streams:
RX P=0/Q=0 (socket 1) -> TX P=0/Q=0 (socket 1) peer=02:00:00:00:00:00
Logical Core 20 (socket 1) forwards packets on 1 streams:
RX P=1/Q=0 (socket 1) -> TX P=1/Q=0 (socket 1) peer=02:00:00:00:00:01
Logical Core 21 (socket 1) forwards packets on 1 streams:
RX P=0/Q=1 (socket 1) -> TX P=0/Q=1 (socket 1) peer=02:00:00:00:00:00
Logical Core 22 (socket 1) forwards packets on 1 streams:
RX P=1/Q=1 (socket 1) -> TX P=1/Q=1 (socket 1) peer=02:00:00:00:00:01
Logical Core 32 (socket 1) forwards packets on 1 streams:
RX P=0/Q=2 (socket 1) -> TX P=0/Q=2 (socket 1) peer=02:00:00:00:00:00
Logical Core 33 (socket 1) forwards packets on 1 streams:
RX P=1/Q=2 (socket 1) -> TX P=1/Q=2 (socket 1) peer=02:00:00:00:00:01
Logical Core 34 (socket 1) forwards packets on 1 streams:
RX P=0/Q=3 (socket 1) -> TX P=0/Q=3 (socket 1) peer=02:00:00:00:00:00
Logical Core 35 (socket 1) forwards packets on 1 streams:
RX P=1/Q=3 (socket 1) -> TX P=1/Q=3 (socket 1) peer=02:00:00:00:00:01
io packet forwarding packets/burst=32
nb forwarding cores=8 - nb forwarding ports=2
port 0: RX queue number: 4 Tx queue number: 4
Rx offloads=0x0 Tx offloads=0x0
RX queue: 0
RX desc=0 - RX free threshold=0
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0x0
TX queue: 0
TX desc=0 - TX free threshold=0
TX threshold registers: pthresh=0 hthresh=0 wthresh=0
TX offloads=0x0 - TX RS bit threshold=0
port 1: RX queue number: 4 Tx queue number: 4
Rx offloads=0x0 Tx offloads=0x0
RX queue: 0
RX desc=0 - RX free threshold=0
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0x0
TX queue: 0
TX desc=0 - TX free threshold=0
TX threshold registers: pthresh=0 hthresh=0 wthresh=0
TX offloads=0x0 - TX RS bit threshold=0
22/10/2020 16:10:04 TestAfXdp: Running test test_perf_one_port_multiqueues_with_two_vdev, and 1518 frame size.
22/10/2020 16:10:04 pktgen: test port 0 map gen port 0
22/10/2020 16:10:04 pktgen: test port 0 map gen port 0
22/10/2020 16:10:04 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:d0',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:9d:1c:f8',
'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:82:00.0',
'prom': 'off',
'prom_supported': 'yes',
'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
'rx_filter_mode': 'hardware match',
'rx_queue': 'off',
'speed': 40.0,
'src_ipv4': '-',
'src_mac': '3c:fd:fe:9d:1c:f8',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
22/10/2020 16:10:04 pktgen: trex port <0> not support flow control
22/10/2020 16:10:04 pktgen: trex packet generator: run traffic 5s to warm up ...
22/10/2020 16:10:04 pktgen: check the trex port link status
22/10/2020 16:10:04 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:d0',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:9d:1c:f8',
'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:82:00.0',
'prom': 'on',
'prom_supported': 'yes',
'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
'rx_filter_mode': 'hardware match',
'rx_queue': 'off',
'speed': 40.0,
'src_ipv4': '-',
'src_mac': '3c:fd:fe:9d:1c:f8',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
22/10/2020 16:10:04 pktgen: begin traffic ......
22/10/2020 16:10:04 pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
22/10/2020 16:10:09 pktgen: traffic completed.
22/10/2020 16:10:09 pktgen: check the trex port link status
22/10/2020 16:10:09 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:d0',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:9d:1c:f8',
'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:82:00.0',
'prom': 'on',
'prom_supported': 'yes',
'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
'rx_filter_mode': 'hardware match',
'rx_queue': 'off',
'speed': 40.0,
'src_ipv4': '-',
'src_mac': '3c:fd:fe:9d:1c:f8',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
22/10/2020 16:10:09 pktgen: begin traffic ......
22/10/2020 16:10:09 pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
22/10/2020 16:10:19 pktgen: begin get port statistic ...
22/10/2020 16:10:19 pktgen: {'options': {'fields_config': {'ip': {'dst': {'action': 'random',
'end': '192.168.1.64',
'start': '192.168.1.1',
'step': 1}}},
'pcap': '/tmp/af_xdp_1_0_1518.pcap',
'stream_config': {'rate': 100,
'transmit_mode': 'continuous',
'txmode': {}}},
'pcap_file': '/tmp/af_xdp_1_0_1518.pcap',
'rx_port': 0,
'tx_port': 0}
22/10/2020 16:10:19 pktgen: {0: {'ibytes': 49399689657,
'ierrors': 0,
'ipackets': 32542620,
'obytes': 49405272774,
'oerrors': 0,
'opackets': 32546296,
'rx_bps': 39544881152.0,
'rx_bps_L1': 40065906912.0,
'rx_pps': 3256411.0,
'rx_util': 100.16476728,
'tx_bps': 39553634304.0,
'tx_bps_L1': 40074775424.0,
'tx_pps': 3257132.0,
'tx_util': 100.18693856},
1: {'ibytes': 0,
'ierrors': 0,
'ipackets': 0,
'obytes': 0,
'oerrors': 0,
'opackets': 0,
'rx_bps': 0.0,
'rx_bps_L1': 0,
'rx_pps': 0.0,
'rx_util': 0.0,
'tx_bps': 0.0,
'tx_bps_L1': 0,
'tx_pps': 0.0,
'tx_util': 0.0},
'flow_stats': {},
'global': {'bw_per_core': 245.86123657226562,
'cpu_util': 3.217557668685913,
'queue_full': 0,
'rx_bps': 39544881152.0,
'rx_cpu_util': 0.0,
'rx_drop_bps': 0.0,
'rx_pps': 3256411.0,
'tx_bps': 39553634304.0,
'tx_pps': 3257132.0},
'latency': {},
'total': {'ibytes': 49399689657,
'ierrors': 0,
'ipackets': 32542620,
'obytes': 49405272774,
'oerrors': 0,
'opackets': 32546296,
'rx_bps': 39544881152.0,
'rx_bps_L1': 40065906912.0,
'rx_pps': 3256411.0,
'rx_util': 100.16476728,
'tx_bps': 39553634304.0,
'tx_bps_L1': 40074775424.0,
'tx_pps': 3257132.0,
'tx_util': 100.18693856}}
22/10/2020 16:10:19 pktgen: {'ibytes': 49399689657,
'ierrors': 0,
'ipackets': 32542620,
'obytes': 49405272774,
'oerrors': 0,
'opackets': 32546296,
'rx_bps': 39544881152.0,
'rx_bps_L1': 40065906912.0,
'rx_pps': 3256411.0,
'rx_util': 100.16476728,
'tx_bps': 39553634304.0,
'tx_bps_L1': 40074775424.0,
'tx_pps': 3257132.0,
'tx_util': 100.18693856}
22/10/2020 16:10:19 pktgen: Tx Port 0 stats:
tx_port: 0, tx_bps: 39553634304.000000, tx_pps: 3257132.000000
22/10/2020 16:10:19 pktgen: {'ibytes': 49399689657,
'ierrors': 0,
'ipackets': 32542620,
'obytes': 49405272774,
'oerrors': 0,
'opackets': 32546296,
'rx_bps': 39544881152.0,
'rx_bps_L1': 40065906912.0,
'rx_pps': 3256411.0,
'rx_util': 100.16476728,
'tx_bps': 39553634304.0,
'tx_bps_L1': 40074775424.0,
'tx_pps': 3257132.0,
'tx_util': 100.18693856}
22/10/2020 16:10:19 pktgen: Rx Port 0 stats:
rx_port: 0, rx_bps: 39544881152.000000, rx_pps: 3256411.000000
22/10/2020 16:10:19 pktgen: throughput: pps_rx 3256411.000000, bps_rx 39544881152.000000
22/10/2020 16:10:19 pktgen: traffic completed.
22/10/2020 16:10:19 dut.10.240.183.99: stop
22/10/2020 16:10:19 dut.10.240.183.99:
Telling cores to ...
Waiting for lcores to finish...
------- Forward Stats for RX Port= 0/Queue= 0 -> TX Port= 0/Queue= 0 -------
RX-packets: 5911705 TX-packets: 5911705 TX-dropped: 0
------- Forward Stats for RX Port= 1/Queue= 0 -> TX Port= 1/Queue= 0 -------
RX-packets: 6032429 TX-packets: 6032429 TX-dropped: 0
------- Forward Stats for RX Port= 0/Queue= 1 -> TX Port= 0/Queue= 1 -------
RX-packets: 5929388 TX-packets: 5929388 TX-dropped: 0
------- Forward Stats for RX Port= 1/Queue= 1 -> TX Port= 1/Queue= 1 -------
RX-packets: 5904208 TX-packets: 5904208 TX-dropped: 0
------- Forward Stats for RX Port= 0/Queue= 2 -> TX Port= 0/Queue= 2 -------
RX-packets: 5919853 TX-packets: 5919853 TX-dropped: 0
------- Forward Stats for RX Port= 1/Queue= 2 -> TX Port= 1/Queue= 2 -------
RX-packets: 6020893 TX-packets: 6020893 TX-dropped: 0
------- Forward Stats for RX Port= 0/Queue= 3 -> TX Port= 0/Queue= 3 -------
RX-packets: 6032252 TX-packets: 6032252 TX-dropped: 0
------- Forward Stats for RX Port= 1/Queue= 3 -> TX Port= 1/Queue= 3 -------
RX-packets: 6001835 TX-packets: 6001835 TX-dropped: 0
---------------------- Forward statistics for port 0 ----------------------
RX-packets: 23793198 RX-dropped: 479101 RX-total: 24272299
TX-packets: 23793198 TX-dropped: 0 TX-total: 23793198
----------------------------------------------------------------------------
---------------------- Forward statistics for port 1 ----------------------
RX-packets: 23959365 RX-dropped: 188553 RX-total: 24147918
TX-packets: 23959365 TX-dropped: 0 TX-total: 23959365
----------------------------------------------------------------------------
+++++++++++++++ Accumulated forward statistics for all ports+++++++++++++++
RX-packets: 47752563 RX-dropped: 667654 RX-total: 48420217
TX-packets: 47752563 TX-dropped: 0 TX-total: 47752563
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Done.
22/10/2020 16:10:19 dut.10.240.183.99: start
22/10/2020 16:10:19 dut.10.240.183.99:
io packet forwarding - ports=2 - cores=8 - streams=8 - NUMA support enabled, MP allocation mode: native
Logical Core 19 (socket 1) forwards packets on 1 streams:
RX P=0/Q=0 (socket 1) -> TX P=0/Q=0 (socket 1) peer=02:00:00:00:00:00
Logical Core 20 (socket 1) forwards packets on 1 streams:
RX P=1/Q=0 (socket 1) -> TX P=1/Q=0 (socket 1) peer=02:00:00:00:00:01
Logical Core 21 (socket 1) forwards packets on 1 streams:
RX P=0/Q=1 (socket 1) -> TX P=0/Q=1 (socket 1) peer=02:00:00:00:00:00
Logical Core 22 (socket 1) forwards packets on 1 streams:
RX P=1/Q=1 (socket 1) -> TX P=1/Q=1 (socket 1) peer=02:00:00:00:00:01
Logical Core 32 (socket 1) forwards packets on 1 streams:
RX P=0/Q=2 (socket 1) -> TX P=0/Q=2 (socket 1) peer=02:00:00:00:00:00
Logical Core 33 (socket 1) forwards packets on 1 streams:
RX P=1/Q=2 (socket 1) -> TX P=1/Q=2 (socket 1) peer=02:00:00:00:00:01
Logical Core 34 (socket 1) forwards packets on 1 streams:
RX P=0/Q=3 (socket 1) -> TX P=0/Q=3 (socket 1) peer=02:00:00:00:00:00
Logical Core 35 (socket 1) forwards packets on 1 streams:
RX P=1/Q=3 (socket 1) -> TX P=1/Q=3 (socket 1) peer=02:00:00:00:00:01
io packet forwarding packets/burst=32
nb forwarding cores=8 - nb forwarding ports=2
port 0: RX queue number: 4 Tx queue number: 4
Rx offloads=0x0 Tx offloads=0x0
RX queue: 0
RX desc=0 - RX free threshold=0
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0x0
TX queue: 0
TX desc=0 - TX free threshold=0
TX threshold registers: pthresh=0 hthresh=0 wthresh=0
TX offloads=0x0 - TX RS bit threshold=0
port 1: RX queue number: 4 Tx queue number: 4
Rx offloads=0x0 Tx offloads=0x0
RX queue: 0
RX desc=0 - RX free threshold=0
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0x0
TX queue: 0
TX desc=0 - TX free threshold=0
TX threshold registers: pthresh=0 hthresh=0 wthresh=0
TX offloads=0x0 - TX RS bit threshold=0
22/10/2020 16:10:19 TestAfXdp:
+--------------+--------------+-----------------------+-----------------+
| FrameSize(B) | Queue number | Port Throughput(Mpps) | Port % linerate |
+==============+==============+=======================+=================+
| 64 | 4 | 9.413 | 15.814 |
+--------------+--------------+-----------------------+-----------------+
| 128 | 4 | 9.260 | 27.408 |
+--------------+--------------+-----------------------+-----------------+
| 256 | 4 | 6.122 | 33.793 |
+--------------+--------------+-----------------------+-----------------+
| 512 | 4 | 5.700 | 60.649 |
+--------------+--------------+-----------------------+-----------------+
| 1024 | 4 | 4.520 | 94.376 |
+--------------+--------------+-----------------------+-----------------+
| 1518 | 4 | 3.256 | 100.167 |
+--------------+--------------+-----------------------+-----------------+
22/10/2020 16:10:19 TestAfXdp: Test Case test_perf_one_port_multiqueues_with_two_vdev Result PASSED:
22/10/2020 16:10:19 dut.10.240.183.99: quit
22/10/2020 16:10:20 dut.10.240.183.99:
Telling cores to stop...
Waiting for lcores to finish...
---------------------- Forward statistics for port 0 ----------------------
RX-packets: 0 RX-dropped: 0 RX-total: 0
TX-packets: 0 TX-dropped: 0 TX-total: 0
----------------------------------------------------------------------------
---------------------- Forward statistics for port 1 ----------------------
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.
Stopping port 0...
Stopping ports...
Done
Stopping port 1...
Stopping ports...
Done
Shutting down port 0...
Closing ports...
eth_dev_close(): Closing AF_XDP ethdev on numa socket 1
Port 0 is closed
Done
Shutting down port 1...
Closing ports...
eth_dev_close(): Closing AF_XDP ethdev on numa socket 1
Port 1 is closed
Done
Bye...
22/10/2020 16:10:20 TestAfXdp: Test Case test_perf_one_port_single_queue_and_separate_irqs Begin
22/10/2020 16:10:20 dut.10.240.183.99:
22/10/2020 16:10:21 tester:
22/10/2020 16:10:21 dut.10.240.183.99: ethtool -L enp175s0f0 combined 1
22/10/2020 16:10:21 dut.10.240.183.99:
22/10/2020 16:10:22 TestAfXdp: start testpmd
22/10/2020 16:10:22 dut.10.240.183.99: x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 32,33 -n 4 --file-prefix=dpdk_8836_20201022160458 --no-pci --vdev net_af_xdp0,iface=enp175s0f0,start_queue=0,queue_count=1 --log-level=pmd.net.af_xdp:8 -- -i --auto-start --nb-cores=1 --rxq=1 --txq=1 --port-topology=loop
22/10/2020 16:10:23 dut.10.240.183.99: EAL: Detected 72 lcore(s)
EAL: Detected 2 NUMA nodes
EAL: Multi-process socket /var/run/dpdk/dpdk_8836_20201022160458/mp_socket
EAL: Selected IOVA mode 'VA'
EAL: Probing VFIO support...
EAL: VFIO support initialized
rte_pmd_af_xdp_probe(): Initializing pmd_af_xdp for net_af_xdp0
init_internals(): Zero copy between umem and mbuf enabled.
Interactive-mode selected
Auto-start selected
testpmd: create a new mbuf pool <mb_pool_1>: n=155456, size=2176, socket=1
testpmd: preferred mempool ops selected: ring_mp_mc
Configuring Port 0 (socket 1)
eth_rx_queue_setup(): Set up rx queue, rx queue id: 0, xsk queue id: 0
Port 0: 3C:FD:FE:C8:19:D0
Checking link statuses...
Done
Start automatic packet forwarding
io packet forwarding - ports=1 - cores=1 - streams=1 - NUMA support enabled, MP allocation mode: native
Logical Core 33 (socket 1) forwards packets on 1 streams:
RX P=0/Q=0 (socket 1) -> TX P=0/Q=0 (socket 1) peer=02:00:00:00:00:00
io packet forwarding packets/burst=32
nb forwarding cores=1 - nb forwarding ports=1
port 0: RX queue number: 1 Tx queue number: 1
Rx offloads=0x0 Tx offloads=0x0
RX queue: 0
RX desc=0 - RX free threshold=0
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0x0
TX queue: 0
TX desc=0 - TX free threshold=0
TX threshold registers: pthresh=0 hthresh=0 wthresh=0
TX offloads=0x0 - TX RS bit threshold=0
22/10/2020 16:10:24 TestAfXdp: Running test test_perf_one_port_single_queue_and_separate_irqs, and 64 frame size.
22/10/2020 16:10:24 pktgen: test port 0 map gen port 0
22/10/2020 16:10:24 pktgen: test port 0 map gen port 0
22/10/2020 16:10:24 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:d0',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:9d:1c:f8',
'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:82:00.0',
'prom': 'off',
'prom_supported': 'yes',
'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
'rx_filter_mode': 'hardware match',
'rx_queue': 'off',
'speed': 40.0,
'src_ipv4': '-',
'src_mac': '3c:fd:fe:9d:1c:f8',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
22/10/2020 16:10:24 pktgen: trex port <0> not support flow control
22/10/2020 16:10:24 pktgen: trex packet generator: run traffic 5s to warm up ...
22/10/2020 16:10:24 pktgen: check the trex port link status
22/10/2020 16:10:24 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:d0',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:9d:1c:f8',
'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:82:00.0',
'prom': 'on',
'prom_supported': 'yes',
'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
'rx_filter_mode': 'hardware match',
'rx_queue': 'off',
'speed': 40.0,
'src_ipv4': '-',
'src_mac': '3c:fd:fe:9d:1c:f8',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
22/10/2020 16:10:24 pktgen: begin traffic ......
22/10/2020 16:10:24 pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
22/10/2020 16:10:29 pktgen: traffic completed.
22/10/2020 16:10:29 pktgen: check the trex port link status
22/10/2020 16:10:29 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:d0',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:9d:1c:f8',
'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:82:00.0',
'prom': 'on',
'prom_supported': 'yes',
'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
'rx_filter_mode': 'hardware match',
'rx_queue': 'off',
'speed': 40.0,
'src_ipv4': '-',
'src_mac': '3c:fd:fe:9d:1c:f8',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
22/10/2020 16:10:29 pktgen: begin traffic ......
22/10/2020 16:10:29 pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
22/10/2020 16:10:39 pktgen: begin get port statistic ...
22/10/2020 16:10:39 pktgen: {'options': {'fields_config': {'ip': {'dst': {'action': 'random',
'end': '192.168.1.64',
'start': '192.168.1.1',
'step': 1}}},
'pcap': '/tmp/af_xdp_1_0_64.pcap',
'stream_config': {'rate': 100,
'transmit_mode': 'continuous',
'txmode': {}}},
'pcap_file': '/tmp/af_xdp_1_0_64.pcap',
'rx_port': 0,
'tx_port': 0}
22/10/2020 16:10:39 pktgen: {0: {'ibytes': 1155476288,
'ierrors': 0,
'ipackets': 18054318,
'obytes': 27326244992,
'oerrors': 0,
'opackets': 426972638,
'rx_bps': 923876160.0,
'rx_bps_L1': 1212549040.0,
'rx_pps': 1804205.5,
'rx_util': 3.0313726,
'tx_bps': 21859323904.0,
'tx_bps_L1': 28690325503.999996,
'tx_pps': 42693760.0,
'tx_util': 71.72581376},
1: {'ibytes': 0,
'ierrors': 0,
'ipackets': 0,
'obytes': 0,
'oerrors': 0,
'opackets': 0,
'rx_bps': 0.0,
'rx_bps_L1': 0,
'rx_pps': 0.0,
'rx_util': 0.0,
'tx_bps': 0.0,
'tx_bps_L1': 0,
'tx_pps': 0.0,
'tx_util': 0.0},
'flow_stats': {},
'global': {'bw_per_core': 4.44540548324585,
'cpu_util': 98.34568786621094,
'queue_full': 52918249,
'rx_bps': 923876160.0,
'rx_cpu_util': 0.0,
'rx_drop_bps': 20935446528.0,
'rx_pps': 1804205.5,
'tx_bps': 21859323904.0,
'tx_pps': 42693760.0},
'latency': {},
'total': {'ibytes': 1155476288,
'ierrors': 0,
'ipackets': 18054318,
'obytes': 27326244992,
'oerrors': 0,
'opackets': 426972638,
'rx_bps': 923876160.0,
'rx_bps_L1': 1212549040.0,
'rx_pps': 1804205.5,
'rx_util': 3.0313726,
'tx_bps': 21859323904.0,
'tx_bps_L1': 28690325503.999996,
'tx_pps': 42693760.0,
'tx_util': 71.72581376}}
22/10/2020 16:10:39 pktgen: {'ibytes': 1155476288,
'ierrors': 0,
'ipackets': 18054318,
'obytes': 27326244992,
'oerrors': 0,
'opackets': 426972638,
'rx_bps': 923876160.0,
'rx_bps_L1': 1212549040.0,
'rx_pps': 1804205.5,
'rx_util': 3.0313726,
'tx_bps': 21859323904.0,
'tx_bps_L1': 28690325503.999996,
'tx_pps': 42693760.0,
'tx_util': 71.72581376}
22/10/2020 16:10:39 pktgen: Tx Port 0 stats:
tx_port: 0, tx_bps: 21859323904.000000, tx_pps: 42693760.000000
22/10/2020 16:10:39 pktgen: {'ibytes': 1155476288,
'ierrors': 0,
'ipackets': 18054318,
'obytes': 27326244992,
'oerrors': 0,
'opackets': 426972638,
'rx_bps': 923876160.0,
'rx_bps_L1': 1212549040.0,
'rx_pps': 1804205.5,
'rx_util': 3.0313726,
'tx_bps': 21859323904.0,
'tx_bps_L1': 28690325503.999996,
'tx_pps': 42693760.0,
'tx_util': 71.72581376}
22/10/2020 16:10:39 pktgen: Rx Port 0 stats:
rx_port: 0, rx_bps: 923876160.000000, rx_pps: 1804205.500000
22/10/2020 16:10:39 pktgen: throughput: pps_rx 1804205.500000, bps_rx 923876160.000000
22/10/2020 16:10:39 pktgen: traffic completed.
22/10/2020 16:10:39 dut.10.240.183.99: stop
22/10/2020 16:10:39 dut.10.240.183.99:
Telling cores to ...
Waiting for lcores to finish...
---------------------- Forward statistics for port 0 ----------------------
RX-packets: 27075222 RX-dropped: 55226529 RX-total: 82301751
TX-packets: 27075222 TX-dropped: 0 TX-total: 27075222
----------------------------------------------------------------------------
+++++++++++++++ Accumulated forward statistics for all ports+++++++++++++++
RX-packets: 27075222 RX-dropped: 55226529 RX-total: 82301751
TX-packets: 27075222 TX-dropped: 0 TX-total: 27075222
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Done.
22/10/2020 16:10:39 dut.10.240.183.99: start
22/10/2020 16:10:39 dut.10.240.183.99:
io packet forwarding - ports=1 - cores=1 - streams=1 - NUMA support enabled, MP allocation mode: native
Logical Core 33 (socket 1) forwards packets on 1 streams:
RX P=0/Q=0 (socket 1) -> TX P=0/Q=0 (socket 1) peer=02:00:00:00:00:00
io packet forwarding packets/burst=32
nb forwarding cores=1 - nb forwarding ports=1
port 0: RX queue number: 1 Tx queue number: 1
Rx offloads=0x0 Tx offloads=0x0
RX queue: 0
RX desc=0 - RX free threshold=0
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0x0
TX queue: 0
TX desc=0 - TX free threshold=0
TX threshold registers: pthresh=0 hthresh=0 wthresh=0
TX offloads=0x0 - TX RS bit threshold=0
22/10/2020 16:10:39 TestAfXdp: Running test test_perf_one_port_single_queue_and_separate_irqs, and 128 frame size.
22/10/2020 16:10:39 pktgen: test port 0 map gen port 0
22/10/2020 16:10:39 pktgen: test port 0 map gen port 0
22/10/2020 16:10:39 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:d0',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:9d:1c:f8',
'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:82:00.0',
'prom': 'off',
'prom_supported': 'yes',
'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
'rx_filter_mode': 'hardware match',
'rx_queue': 'off',
'speed': 40.0,
'src_ipv4': '-',
'src_mac': '3c:fd:fe:9d:1c:f8',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
22/10/2020 16:10:39 pktgen: trex port <0> not support flow control
22/10/2020 16:10:39 pktgen: trex packet generator: run traffic 5s to warm up ...
22/10/2020 16:10:39 pktgen: check the trex port link status
22/10/2020 16:10:39 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:d0',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:9d:1c:f8',
'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:82:00.0',
'prom': 'on',
'prom_supported': 'yes',
'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
'rx_filter_mode': 'hardware match',
'rx_queue': 'off',
'speed': 40.0,
'src_ipv4': '-',
'src_mac': '3c:fd:fe:9d:1c:f8',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
22/10/2020 16:10:39 pktgen: begin traffic ......
22/10/2020 16:10:39 pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
22/10/2020 16:10:44 pktgen: traffic completed.
22/10/2020 16:10:44 pktgen: check the trex port link status
22/10/2020 16:10:44 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:d0',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:9d:1c:f8',
'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:82:00.0',
'prom': 'on',
'prom_supported': 'yes',
'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
'rx_filter_mode': 'hardware match',
'rx_queue': 'off',
'speed': 40.0,
'src_ipv4': '-',
'src_mac': '3c:fd:fe:9d:1c:f8',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
22/10/2020 16:10:44 pktgen: begin traffic ......
22/10/2020 16:10:44 pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
22/10/2020 16:10:54 pktgen: begin get port statistic ...
22/10/2020 16:10:54 pktgen: {'options': {'fields_config': {'ip': {'dst': {'action': 'random',
'end': '192.168.1.64',
'start': '192.168.1.1',
'step': 1}}},
'pcap': '/tmp/af_xdp_1_0_128.pcap',
'stream_config': {'rate': 100,
'transmit_mode': 'continuous',
'txmode': {}}},
'pcap_file': '/tmp/af_xdp_1_0_128.pcap',
'rx_port': 0,
'tx_port': 0}
22/10/2020 16:10:54 pktgen: {0: {'ibytes': 2269268480,
'ierrors': 0,
'ipackets': 17728662,
'obytes': 43288633600,
'oerrors': 0,
'opackets': 338192492,
'rx_bps': 1812172416.0,
'rx_bps_L1': 2095332735.9999998,
'rx_pps': 1769752.0,
'rx_util': 5.23833184,
'tx_bps': 34598739968.0,
'tx_bps_L1': 40004987648.0,
'tx_pps': 33789048.0,
'tx_util': 100.01246911999999},
1: {'ibytes': 0,
'ierrors': 0,
'ipackets': 0,
'obytes': 0,
'oerrors': 0,
'opackets': 0,
'rx_bps': 0.0,
'rx_bps_L1': 0,
'rx_pps': 0.0,
'rx_util': 0.0,
'tx_bps': 0.0,
'tx_bps_L1': 0,
'tx_pps': 0.0,
'tx_util': 0.0},
'flow_stats': {},
'global': {'bw_per_core': 15.965974807739258,
'cpu_util': 43.34059143066406,
'queue_full': 143337,
'rx_bps': 1812172416.0,
'rx_cpu_util': 0.0,
'rx_drop_bps': 32786567168.0,
'rx_pps': 1769752.0,
'tx_bps': 34598739968.0,
'tx_pps': 33789048.0},
'latency': {},
'total': {'ibytes': 2269268480,
'ierrors': 0,
'ipackets': 17728662,
'obytes': 43288633600,
'oerrors': 0,
'opackets': 338192492,
'rx_bps': 1812172416.0,
'rx_bps_L1': 2095332735.9999998,
'rx_pps': 1769752.0,
'rx_util': 5.23833184,
'tx_bps': 34598739968.0,
'tx_bps_L1': 40004987648.0,
'tx_pps': 33789048.0,
'tx_util': 100.01246911999999}}
22/10/2020 16:10:54 pktgen: {'ibytes': 2269268480,
'ierrors': 0,
'ipackets': 17728662,
'obytes': 43288633600,
'oerrors': 0,
'opackets': 338192492,
'rx_bps': 1812172416.0,
'rx_bps_L1': 2095332735.9999998,
'rx_pps': 1769752.0,
'rx_util': 5.23833184,
'tx_bps': 34598739968.0,
'tx_bps_L1': 40004987648.0,
'tx_pps': 33789048.0,
'tx_util': 100.01246911999999}
22/10/2020 16:10:54 pktgen: Tx Port 0 stats:
tx_port: 0, tx_bps: 34598739968.000000, tx_pps: 33789048.000000
22/10/2020 16:10:54 pktgen: {'ibytes': 2269268480,
'ierrors': 0,
'ipackets': 17728662,
'obytes': 43288633600,
'oerrors': 0,
'opackets': 338192492,
'rx_bps': 1812172416.0,
'rx_bps_L1': 2095332735.9999998,
'rx_pps': 1769752.0,
'rx_util': 5.23833184,
'tx_bps': 34598739968.0,
'tx_bps_L1': 40004987648.0,
'tx_pps': 33789048.0,
'tx_util': 100.01246911999999}
22/10/2020 16:10:54 pktgen: Rx Port 0 stats:
rx_port: 0, rx_bps: 1812172416.000000, rx_pps: 1769752.000000
22/10/2020 16:10:54 pktgen: throughput: pps_rx 1769752.000000, bps_rx 1812172416.000000
22/10/2020 16:10:54 pktgen: traffic completed.
22/10/2020 16:10:54 dut.10.240.183.99: stop
22/10/2020 16:10:54 dut.10.240.183.99:
Telling cores to ...
Waiting for lcores to finish...
---------------------- Forward statistics for port 0 ----------------------
RX-packets: 26620657 RX-dropped: 55738305 RX-total: 82358962
TX-packets: 26620657 TX-dropped: 0 TX-total: 26620657
----------------------------------------------------------------------------
+++++++++++++++ Accumulated forward statistics for all ports+++++++++++++++
RX-packets: 26620657 RX-dropped: 55738305 RX-total: 82358962
TX-packets: 26620657 TX-dropped: 0 TX-total: 26620657
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Done.
22/10/2020 16:10:54 dut.10.240.183.99: start
22/10/2020 16:10:54 dut.10.240.183.99:
io packet forwarding - ports=1 - cores=1 - streams=1 - NUMA support enabled, MP allocation mode: native
Logical Core 33 (socket 1) forwards packets on 1 streams:
RX P=0/Q=0 (socket 1) -> TX P=0/Q=0 (socket 1) peer=02:00:00:00:00:00
io packet forwarding packets/burst=32
nb forwarding cores=1 - nb forwarding ports=1
port 0: RX queue number: 1 Tx queue number: 1
Rx offloads=0x0 Tx offloads=0x0
RX queue: 0
RX desc=0 - RX free threshold=0
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0x0
TX queue: 0
TX desc=0 - TX free threshold=0
TX threshold registers: pthresh=0 hthresh=0 wthresh=0
TX offloads=0x0 - TX RS bit threshold=0
22/10/2020 16:10:54 TestAfXdp: Running test test_perf_one_port_single_queue_and_separate_irqs, and 256 frame size.
22/10/2020 16:10:54 pktgen: test port 0 map gen port 0
22/10/2020 16:10:54 pktgen: test port 0 map gen port 0
22/10/2020 16:10:54 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:d0',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:9d:1c:f8',
'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:82:00.0',
'prom': 'off',
'prom_supported': 'yes',
'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
'rx_filter_mode': 'hardware match',
'rx_queue': 'off',
'speed': 40.0,
'src_ipv4': '-',
'src_mac': '3c:fd:fe:9d:1c:f8',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
22/10/2020 16:10:54 pktgen: trex port <0> not support flow control
22/10/2020 16:10:54 pktgen: trex packet generator: run traffic 5s to warm up ...
22/10/2020 16:10:54 pktgen: check the trex port link status
22/10/2020 16:10:54 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:d0',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:9d:1c:f8',
'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:82:00.0',
'prom': 'on',
'prom_supported': 'yes',
'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
'rx_filter_mode': 'hardware match',
'rx_queue': 'off',
'speed': 40.0,
'src_ipv4': '-',
'src_mac': '3c:fd:fe:9d:1c:f8',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
22/10/2020 16:10:54 pktgen: begin traffic ......
22/10/2020 16:10:54 pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
22/10/2020 16:10:59 pktgen: traffic completed.
22/10/2020 16:10:59 pktgen: check the trex port link status
22/10/2020 16:10:59 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:d0',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:9d:1c:f8',
'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:82:00.0',
'prom': 'on',
'prom_supported': 'yes',
'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
'rx_filter_mode': 'hardware match',
'rx_queue': 'off',
'speed': 40.0,
'src_ipv4': '-',
'src_mac': '3c:fd:fe:9d:1c:f8',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
22/10/2020 16:10:59 pktgen: begin traffic ......
22/10/2020 16:10:59 pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
22/10/2020 16:11:09 pktgen: begin get port statistic ...
22/10/2020 16:11:09 pktgen: {'options': {'fields_config': {'ip': {'dst': {'action': 'random',
'end': '192.168.1.64',
'start': '192.168.1.1',
'step': 1}}},
'pcap': '/tmp/af_xdp_1_0_256.pcap',
'stream_config': {'rate': 100,
'transmit_mode': 'continuous',
'txmode': {}}},
'pcap_file': '/tmp/af_xdp_1_0_256.pcap',
'rx_port': 0,
'tx_port': 0}
22/10/2020 16:11:09 pktgen: {0: {'ibytes': 4404482560,
'ierrors': 8,
'ipackets': 17205012,
'obytes': 16095239680,
'oerrors': 0,
'opackets': 62872038,
'rx_bps': 3526389760.0,
'rx_bps_L1': 3801896800.0,
'rx_pps': 1721919.0,
'rx_util': 9.504742,
'tx_bps': 12609338368.0,
'tx_bps_L1': 13594591008.0,
'tx_pps': 6157829.0,
'tx_util': 33.98647752},
1: {'ibytes': 0,
'ierrors': 0,
'ipackets': 0,
'obytes': 0,
'oerrors': 0,
'opackets': 0,
'rx_bps': 0.0,
'rx_bps_L1': 0,
'rx_pps': 0.0,
'rx_util': 0.0,
'tx_bps': 0.0,
'tx_bps_L1': 0,
'tx_pps': 0.0,
'tx_util': 0.0},
'flow_stats': {},
'global': {'bw_per_core': 2.5704288482666016,
'cpu_util': 98.11077880859375,
'queue_full': 89313290,
'rx_bps': 3526389760.0,
'rx_cpu_util': 0.0,
'rx_drop_bps': 9082948608.0,
'rx_pps': 1721919.0,
'tx_bps': 12609338368.0,
'tx_pps': 6157829.0},
'latency': {},
'total': {'ibytes': 4404482560,
'ierrors': 8,
'ipackets': 17205012,
'obytes': 16095239680,
'oerrors': 0,
'opackets': 62872038,
'rx_bps': 3526389760.0,
'rx_bps_L1': 3801896800.0,
'rx_pps': 1721919.0,
'rx_util': 9.504742,
'tx_bps': 12609338368.0,
'tx_bps_L1': 13594591008.0,
'tx_pps': 6157829.0,
'tx_util': 33.98647752}}
22/10/2020 16:11:09 pktgen: {'ibytes': 4404482560,
'ierrors': 8,
'ipackets': 17205012,
'obytes': 16095239680,
'oerrors': 0,
'opackets': 62872038,
'rx_bps': 3526389760.0,
'rx_bps_L1': 3801896800.0,
'rx_pps': 1721919.0,
'rx_util': 9.504742,
'tx_bps': 12609338368.0,
'tx_bps_L1': 13594591008.0,
'tx_pps': 6157829.0,
'tx_util': 33.98647752}
22/10/2020 16:11:09 pktgen: Tx Port 0 stats:
tx_port: 0, tx_bps: 12609338368.000000, tx_pps: 6157829.000000
22/10/2020 16:11:09 pktgen: {'ibytes': 4404482560,
'ierrors': 8,
'ipackets': 17205012,
'obytes': 16095239680,
'oerrors': 0,
'opackets': 62872038,
'rx_bps': 3526389760.0,
'rx_bps_L1': 3801896800.0,
'rx_pps': 1721919.0,
'rx_util': 9.504742,
'tx_bps': 12609338368.0,
'tx_bps_L1': 13594591008.0,
'tx_pps': 6157829.0,
'tx_util': 33.98647752}
22/10/2020 16:11:09 pktgen: Rx Port 0 stats:
rx_port: 0, rx_bps: 3526389760.000000, rx_pps: 1721919.000000
22/10/2020 16:11:09 pktgen: throughput: pps_rx 1721919.000000, bps_rx 3526389760.000000
22/10/2020 16:11:09 pktgen: traffic completed.
22/10/2020 16:11:09 dut.10.240.183.99: stop
22/10/2020 16:11:10 dut.10.240.183.99:
Telling cores to ...
Waiting for lcores to finish...
---------------------- Forward statistics for port 0 ----------------------
RX-packets: 25817626 RX-dropped: 48534713 RX-total: 74352339
TX-packets: 25817626 TX-dropped: 0 TX-total: 25817626
----------------------------------------------------------------------------
+++++++++++++++ Accumulated forward statistics for all ports+++++++++++++++
RX-packets: 25817626 RX-dropped: 48534713 RX-total: 74352339
TX-packets: 25817626 TX-dropped: 0 TX-total: 25817626
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Done.
22/10/2020 16:11:10 dut.10.240.183.99: start
22/10/2020 16:11:10 dut.10.240.183.99:
io packet forwarding - ports=1 - cores=1 - streams=1 - NUMA support enabled, MP allocation mode: native
Logical Core 33 (socket 1) forwards packets on 1 streams:
RX P=0/Q=0 (socket 1) -> TX P=0/Q=0 (socket 1) peer=02:00:00:00:00:00
io packet forwarding packets/burst=32
nb forwarding cores=1 - nb forwarding ports=1
port 0: RX queue number: 1 Tx queue number: 1
Rx offloads=0x0 Tx offloads=0x0
RX queue: 0
RX desc=0 - RX free threshold=0
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0x0
TX queue: 0
TX desc=0 - TX free threshold=0
TX threshold registers: pthresh=0 hthresh=0 wthresh=0
TX offloads=0x0 - TX RS bit threshold=0
22/10/2020 16:11:10 TestAfXdp: Running test test_perf_one_port_single_queue_and_separate_irqs, and 512 frame size.
22/10/2020 16:11:10 pktgen: test port 0 map gen port 0
22/10/2020 16:11:10 pktgen: test port 0 map gen port 0
22/10/2020 16:11:10 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:d0',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:9d:1c:f8',
'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:82:00.0',
'prom': 'off',
'prom_supported': 'yes',
'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
'rx_filter_mode': 'hardware match',
'rx_queue': 'off',
'speed': 40.0,
'src_ipv4': '-',
'src_mac': '3c:fd:fe:9d:1c:f8',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
22/10/2020 16:11:10 pktgen: trex port <0> not support flow control
22/10/2020 16:11:10 pktgen: trex packet generator: run traffic 5s to warm up ...
22/10/2020 16:11:10 pktgen: check the trex port link status
22/10/2020 16:11:10 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:d0',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:9d:1c:f8',
'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:82:00.0',
'prom': 'on',
'prom_supported': 'yes',
'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
'rx_filter_mode': 'hardware match',
'rx_queue': 'off',
'speed': 40.0,
'src_ipv4': '-',
'src_mac': '3c:fd:fe:9d:1c:f8',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
22/10/2020 16:11:10 pktgen: begin traffic ......
22/10/2020 16:11:10 pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
22/10/2020 16:11:15 pktgen: traffic completed.
22/10/2020 16:11:15 pktgen: check the trex port link status
22/10/2020 16:11:15 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:d0',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:9d:1c:f8',
'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:82:00.0',
'prom': 'on',
'prom_supported': 'yes',
'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
'rx_filter_mode': 'hardware match',
'rx_queue': 'off',
'speed': 40.0,
'src_ipv4': '-',
'src_mac': '3c:fd:fe:9d:1c:f8',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
22/10/2020 16:11:15 pktgen: begin traffic ......
22/10/2020 16:11:15 pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
22/10/2020 16:11:25 pktgen: begin get port statistic ...
22/10/2020 16:11:25 pktgen: {'options': {'fields_config': {'ip': {'dst': {'action': 'random',
'end': '192.168.1.64',
'start': '192.168.1.1',
'step': 1}}},
'pcap': '/tmp/af_xdp_1_0_512.pcap',
'stream_config': {'rate': 100,
'transmit_mode': 'continuous',
'txmode': {}}},
'pcap_file': '/tmp/af_xdp_1_0_512.pcap',
'rx_port': 0,
'tx_port': 0}
22/10/2020 16:11:25 pktgen: {0: {'ibytes': 8593254912,
'ierrors': 11,
'ipackets': 16783701,
'obytes': 30064324096,
'oerrors': 0,
'opackets': 58719390,
'rx_bps': 6866010624.0,
'rx_bps_L1': 7134221464.000001,
'rx_pps': 1676317.75,
'rx_util': 17.835553660000002,
'tx_bps': 23515957248.0,
'tx_bps_L1': 24434575488.0,
'tx_pps': 5741364.0,
'tx_util': 61.086438720000004},
1: {'ibytes': 0,
'ierrors': 0,
'ipackets': 0,
'obytes': 0,
'oerrors': 0,
'opackets': 0,
'rx_bps': 0.0,
'rx_bps_L1': 0,
'rx_pps': 0.0,
'rx_util': 0.0,
'tx_bps': 0.0,
'tx_bps_L1': 0,
'tx_pps': 0.0,
'tx_util': 0.0},
'flow_stats': {},
'global': {'bw_per_core': 4.974462985992432,
'cpu_util': 94.54671478271484,
'queue_full': 83632634,
'rx_bps': 6866010624.0,
'rx_cpu_util': 0.0,
'rx_drop_bps': 16649945088.0,
'rx_pps': 1676317.75,
'tx_bps': 23515957248.0,
'tx_pps': 5741364.0},
'latency': {},
'total': {'ibytes': 8593254912,
'ierrors': 11,
'ipackets': 16783701,
'obytes': 30064324096,
'oerrors': 0,
'opackets': 58719390,
'rx_bps': 6866010624.0,
'rx_bps_L1': 7134221464.000001,
'rx_pps': 1676317.75,
'rx_util': 17.835553660000002,
'tx_bps': 23515957248.0,
'tx_bps_L1': 24434575488.0,
'tx_pps': 5741364.0,
'tx_util': 61.086438720000004}}
22/10/2020 16:11:25 pktgen: {'ibytes': 8593254912,
'ierrors': 11,
'ipackets': 16783701,
'obytes': 30064324096,
'oerrors': 0,
'opackets': 58719390,
'rx_bps': 6866010624.0,
'rx_bps_L1': 7134221464.000001,
'rx_pps': 1676317.75,
'rx_util': 17.835553660000002,
'tx_bps': 23515957248.0,
'tx_bps_L1': 24434575488.0,
'tx_pps': 5741364.0,
'tx_util': 61.086438720000004}
22/10/2020 16:11:25 pktgen: Tx Port 0 stats:
tx_port: 0, tx_bps: 23515957248.000000, tx_pps: 5741364.000000
22/10/2020 16:11:25 pktgen: {'ibytes': 8593254912,
'ierrors': 11,
'ipackets': 16783701,
'obytes': 30064324096,
'oerrors': 0,
'opackets': 58719390,
'rx_bps': 6866010624.0,
'rx_bps_L1': 7134221464.000001,
'rx_pps': 1676317.75,
'rx_util': 17.835553660000002,
'tx_bps': 23515957248.0,
'tx_bps_L1': 24434575488.0,
'tx_pps': 5741364.0,
'tx_util': 61.086438720000004}
22/10/2020 16:11:25 pktgen: Rx Port 0 stats:
rx_port: 0, rx_bps: 6866010624.000000, rx_pps: 1676317.750000
22/10/2020 16:11:25 pktgen: throughput: pps_rx 1676317.750000, bps_rx 6866010624.000000
22/10/2020 16:11:25 pktgen: traffic completed.
22/10/2020 16:11:25 dut.10.240.183.99: stop
22/10/2020 16:11:25 dut.10.240.183.99:
Telling cores to ...
Waiting for lcores to finish...
---------------------- Forward statistics for port 0 ----------------------
RX-packets: 25250765 RX-dropped: 44735915 RX-total: 69986680
TX-packets: 25250765 TX-dropped: 0 TX-total: 25250765
----------------------------------------------------------------------------
+++++++++++++++ Accumulated forward statistics for all ports+++++++++++++++
RX-packets: 25250765 RX-dropped: 44735915 RX-total: 69986680
TX-packets: 25250765 TX-dropped: 0 TX-total: 25250765
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Done.
22/10/2020 16:11:25 dut.10.240.183.99: start
22/10/2020 16:11:25 dut.10.240.183.99:
io packet forwarding - ports=1 - cores=1 - streams=1 - NUMA support enabled, MP allocation mode: native
Logical Core 33 (socket 1) forwards packets on 1 streams:
RX P=0/Q=0 (socket 1) -> TX P=0/Q=0 (socket 1) peer=02:00:00:00:00:00
io packet forwarding packets/burst=32
nb forwarding cores=1 - nb forwarding ports=1
port 0: RX queue number: 1 Tx queue number: 1
Rx offloads=0x0 Tx offloads=0x0
RX queue: 0
RX desc=0 - RX free threshold=0
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0x0
TX queue: 0
TX desc=0 - TX free threshold=0
TX threshold registers: pthresh=0 hthresh=0 wthresh=0
TX offloads=0x0 - TX RS bit threshold=0
22/10/2020 16:11:25 TestAfXdp: Running test test_perf_one_port_single_queue_and_separate_irqs, and 1024 frame size.
22/10/2020 16:11:25 pktgen: test port 0 map gen port 0
22/10/2020 16:11:25 pktgen: test port 0 map gen port 0
22/10/2020 16:11:25 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:d0',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:9d:1c:f8',
'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:82:00.0',
'prom': 'off',
'prom_supported': 'yes',
'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
'rx_filter_mode': 'hardware match',
'rx_queue': 'off',
'speed': 40.0,
'src_ipv4': '-',
'src_mac': '3c:fd:fe:9d:1c:f8',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
22/10/2020 16:11:25 pktgen: trex port <0> not support flow control
22/10/2020 16:11:25 pktgen: trex packet generator: run traffic 5s to warm up ...
22/10/2020 16:11:25 pktgen: check the trex port link status
22/10/2020 16:11:25 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:d0',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:9d:1c:f8',
'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:82:00.0',
'prom': 'on',
'prom_supported': 'yes',
'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
'rx_filter_mode': 'hardware match',
'rx_queue': 'off',
'speed': 40.0,
'src_ipv4': '-',
'src_mac': '3c:fd:fe:9d:1c:f8',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
22/10/2020 16:11:25 pktgen: begin traffic ......
22/10/2020 16:11:25 pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
22/10/2020 16:11:30 pktgen: traffic completed.
22/10/2020 16:11:30 pktgen: check the trex port link status
22/10/2020 16:11:30 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:d0',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:9d:1c:f8',
'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:82:00.0',
'prom': 'on',
'prom_supported': 'yes',
'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
'rx_filter_mode': 'hardware match',
'rx_queue': 'off',
'speed': 40.0,
'src_ipv4': '-',
'src_mac': '3c:fd:fe:9d:1c:f8',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
22/10/2020 16:11:30 pktgen: begin traffic ......
22/10/2020 16:11:30 pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
22/10/2020 16:11:40 pktgen: begin get port statistic ...
22/10/2020 16:11:40 pktgen: {'options': {'fields_config': {'ip': {'dst': {'action': 'random',
'end': '192.168.1.64',
'start': '192.168.1.1',
'step': 1}}},
'pcap': '/tmp/af_xdp_1_0_1024.pcap',
'stream_config': {'rate': 100,
'transmit_mode': 'continuous',
'txmode': {}}},
'pcap_file': '/tmp/af_xdp_1_0_1024.pcap',
'rx_port': 0,
'tx_port': 0}
22/10/2020 16:11:40 pktgen: {0: {'ibytes': 15121827840,
'ierrors': 0,
'ipackets': 14767412,
'obytes': 47624931328,
'oerrors': 0,
'opackets': 46508728,
'rx_bps': 12066074624.0,
'rx_bps_L1': 12301747024.0,
'rx_pps': 1472952.5,
'rx_util': 30.754367560000002,
'tx_bps': 37871390720.0,
'tx_bps_L1': 38611090000.0,
'tx_pps': 4623120.5,
'tx_util': 96.527725},
1: {'ibytes': 0,
'ierrors': 0,
'ipackets': 0,
'obytes': 0,
'oerrors': 0,
'opackets': 0,
'rx_bps': 0.0,
'rx_bps_L1': 0,
'rx_pps': 0.0,
'rx_util': 0.0,
'tx_bps': 0.0,
'tx_bps_L1': 0,
'tx_pps': 0.0,
'tx_util': 0.0},
'flow_stats': {},
'global': {'bw_per_core': 46.366050720214844,
'cpu_util': 16.335826873779297,
'queue_full': 10311731,
'rx_bps': 12066074624.0,
'rx_cpu_util': 0.0,
'rx_drop_bps': 25805316096.0,
'rx_pps': 1472952.5,
'tx_bps': 37871390720.0,
'tx_pps': 4623120.5},
'latency': {},
'total': {'ibytes': 15121827840,
'ierrors': 0,
'ipackets': 14767412,
'obytes': 47624931328,
'oerrors': 0,
'opackets': 46508728,
'rx_bps': 12066074624.0,
'rx_bps_L1': 12301747024.0,
'rx_pps': 1472952.5,
'rx_util': 30.754367560000002,
'tx_bps': 37871390720.0,
'tx_bps_L1': 38611090000.0,
'tx_pps': 4623120.5,
'tx_util': 96.527725}}
22/10/2020 16:11:40 pktgen: {'ibytes': 15121827840,
'ierrors': 0,
'ipackets': 14767412,
'obytes': 47624931328,
'oerrors': 0,
'opackets': 46508728,
'rx_bps': 12066074624.0,
'rx_bps_L1': 12301747024.0,
'rx_pps': 1472952.5,
'rx_util': 30.754367560000002,
'tx_bps': 37871390720.0,
'tx_bps_L1': 38611090000.0,
'tx_pps': 4623120.5,
'tx_util': 96.527725}
22/10/2020 16:11:40 pktgen: Tx Port 0 stats:
tx_port: 0, tx_bps: 37871390720.000000, tx_pps: 4623120.500000
22/10/2020 16:11:40 pktgen: {'ibytes': 15121827840,
'ierrors': 0,
'ipackets': 14767412,
'obytes': 47624931328,
'oerrors': 0,
'opackets': 46508728,
'rx_bps': 12066074624.0,
'rx_bps_L1': 12301747024.0,
'rx_pps': 1472952.5,
'rx_util': 30.754367560000002,
'tx_bps': 37871390720.0,
'tx_bps_L1': 38611090000.0,
'tx_pps': 4623120.5,
'tx_util': 96.527725}
22/10/2020 16:11:40 pktgen: Rx Port 0 stats:
rx_port: 0, rx_bps: 12066074624.000000, rx_pps: 1472952.500000
22/10/2020 16:11:40 pktgen: throughput: pps_rx 1472952.500000, bps_rx 12066074624.000000
22/10/2020 16:11:40 pktgen: traffic completed.
22/10/2020 16:11:40 dut.10.240.183.99: stop
22/10/2020 16:11:40 dut.10.240.183.99:
Telling cores to ...
Waiting for lcores to finish...
---------------------- Forward statistics for port 0 ----------------------
RX-packets: 22191523 RX-dropped: 40886225 RX-total: 63077748
TX-packets: 22191523 TX-dropped: 0 TX-total: 22191523
----------------------------------------------------------------------------
+++++++++++++++ Accumulated forward statistics for all ports+++++++++++++++
RX-packets: 22191523 RX-dropped: 40886225 RX-total: 63077748
TX-packets: 22191523 TX-dropped: 0 TX-total: 22191523
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Done.
22/10/2020 16:11:40 dut.10.240.183.99: start
22/10/2020 16:11:40 dut.10.240.183.99:
io packet forwarding - ports=1 - cores=1 - streams=1 - NUMA support enabled, MP allocation mode: native
Logical Core 33 (socket 1) forwards packets on 1 streams:
RX P=0/Q=0 (socket 1) -> TX P=0/Q=0 (socket 1) peer=02:00:00:00:00:00
io packet forwarding packets/burst=32
nb forwarding cores=1 - nb forwarding ports=1
port 0: RX queue number: 1 Tx queue number: 1
Rx offloads=0x0 Tx offloads=0x0
RX queue: 0
RX desc=0 - RX free threshold=0
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0x0
TX queue: 0
TX desc=0 - TX free threshold=0
TX threshold registers: pthresh=0 hthresh=0 wthresh=0
TX offloads=0x0 - TX RS bit threshold=0
22/10/2020 16:11:40 TestAfXdp: Running test test_perf_one_port_single_queue_and_separate_irqs, and 1518 frame size.
22/10/2020 16:11:40 pktgen: test port 0 map gen port 0
22/10/2020 16:11:40 pktgen: test port 0 map gen port 0
22/10/2020 16:11:40 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:d0',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:9d:1c:f8',
'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:82:00.0',
'prom': 'off',
'prom_supported': 'yes',
'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
'rx_filter_mode': 'hardware match',
'rx_queue': 'off',
'speed': 40.0,
'src_ipv4': '-',
'src_mac': '3c:fd:fe:9d:1c:f8',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
22/10/2020 16:11:40 pktgen: trex port <0> not support flow control
22/10/2020 16:11:40 pktgen: trex packet generator: run traffic 5s to warm up ...
22/10/2020 16:11:40 pktgen: check the trex port link status
22/10/2020 16:11:40 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:d0',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:9d:1c:f8',
'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:82:00.0',
'prom': 'on',
'prom_supported': 'yes',
'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
'rx_filter_mode': 'hardware match',
'rx_queue': 'off',
'speed': 40.0,
'src_ipv4': '-',
'src_mac': '3c:fd:fe:9d:1c:f8',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
22/10/2020 16:11:40 pktgen: begin traffic ......
22/10/2020 16:11:40 pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
22/10/2020 16:11:45 pktgen: traffic completed.
22/10/2020 16:11:45 pktgen: check the trex port link status
22/10/2020 16:11:45 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:d0',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:9d:1c:f8',
'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:82:00.0',
'prom': 'on',
'prom_supported': 'yes',
'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
'rx_filter_mode': 'hardware match',
'rx_queue': 'off',
'speed': 40.0,
'src_ipv4': '-',
'src_mac': '3c:fd:fe:9d:1c:f8',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
22/10/2020 16:11:45 pktgen: begin traffic ......
22/10/2020 16:11:45 pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
22/10/2020 16:11:55 pktgen: begin get port statistic ...
22/10/2020 16:11:55 pktgen: {'options': {'fields_config': {'ip': {'dst': {'action': 'random',
'end': '192.168.1.64',
'start': '192.168.1.1',
'step': 1}}},
'pcap': '/tmp/af_xdp_1_0_1518.pcap',
'stream_config': {'rate': 100,
'transmit_mode': 'continuous',
'txmode': {}}},
'pcap_file': '/tmp/af_xdp_1_0_1518.pcap',
'rx_port': 0,
'tx_port': 0}
22/10/2020 16:11:55 pktgen: {0: {'ibytes': 21819493674,
'ierrors': 7,
'ipackets': 14373844,
'obytes': 49406150178,
'oerrors': 0,
'opackets': 32546875,
'rx_bps': 17449875456.0,
'rx_bps_L1': 17679785336.0,
'rx_pps': 1436936.75,
'rx_util': 44.19946334,
'tx_bps': 39492648960.0,
'tx_bps_L1': 40012985600.0,
'tx_pps': 3252104.0,
'tx_util': 100.032464},
1: {'ibytes': 0,
'ierrors': 0,
'ipackets': 0,
'obytes': 0,
'oerrors': 0,
'opackets': 0,
'rx_bps': 0.0,
'rx_bps_L1': 0,
'rx_pps': 0.0,
'rx_util': 0.0,
'tx_bps': 0.0,
'tx_bps_L1': 0,
'tx_pps': 0.0,
'tx_util': 0.0},
'flow_stats': {},
'global': {'bw_per_core': 276.7525329589844,
'cpu_util': 2.8540046215057373,
'queue_full': 0,
'rx_bps': 17449875456.0,
'rx_cpu_util': 0.0,
'rx_drop_bps': 22042773504.0,
'rx_pps': 1436936.75,
'tx_bps': 39492648960.0,
'tx_pps': 3252104.0},
'latency': {},
'total': {'ibytes': 21819493674,
'ierrors': 7,
'ipackets': 14373844,
'obytes': 49406150178,
'oerrors': 0,
'opackets': 32546875,
'rx_bps': 17449875456.0,
'rx_bps_L1': 17679785336.0,
'rx_pps': 1436936.75,
'rx_util': 44.19946334,
'tx_bps': 39492648960.0,
'tx_bps_L1': 40012985600.0,
'tx_pps': 3252104.0,
'tx_util': 100.032464}}
22/10/2020 16:11:55 pktgen: {'ibytes': 21819493674,
'ierrors': 7,
'ipackets': 14373844,
'obytes': 49406150178,
'oerrors': 0,
'opackets': 32546875,
'rx_bps': 17449875456.0,
'rx_bps_L1': 17679785336.0,
'rx_pps': 1436936.75,
'rx_util': 44.19946334,
'tx_bps': 39492648960.0,
'tx_bps_L1': 40012985600.0,
'tx_pps': 3252104.0,
'tx_util': 100.032464}
22/10/2020 16:11:55 pktgen: Tx Port 0 stats:
tx_port: 0, tx_bps: 39492648960.000000, tx_pps: 3252104.000000
22/10/2020 16:11:55 pktgen: {'ibytes': 21819493674,
'ierrors': 7,
'ipackets': 14373844,
'obytes': 49406150178,
'oerrors': 0,
'opackets': 32546875,
'rx_bps': 17449875456.0,
'rx_bps_L1': 17679785336.0,
'rx_pps': 1436936.75,
'rx_util': 44.19946334,
'tx_bps': 39492648960.0,
'tx_bps_L1': 40012985600.0,
'tx_pps': 3252104.0,
'tx_util': 100.032464}
22/10/2020 16:11:55 pktgen: Rx Port 0 stats:
rx_port: 0, rx_bps: 17449875456.000000, rx_pps: 1436936.750000
22/10/2020 16:11:55 pktgen: throughput: pps_rx 1436936.750000, bps_rx 17449875456.000000
22/10/2020 16:11:55 pktgen: traffic completed.
22/10/2020 16:11:55 dut.10.240.183.99: stop
22/10/2020 16:11:55 dut.10.240.183.99:
Telling cores to ...
Waiting for lcores to finish...
---------------------- Forward statistics for port 0 ----------------------
RX-packets: 21624619 RX-dropped: 21753339 RX-total: 43377958
TX-packets: 21624619 TX-dropped: 0 TX-total: 21624619
----------------------------------------------------------------------------
+++++++++++++++ Accumulated forward statistics for all ports+++++++++++++++
RX-packets: 21624619 RX-dropped: 21753339 RX-total: 43377958
TX-packets: 21624619 TX-dropped: 0 TX-total: 21624619
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Done.
22/10/2020 16:11:55 dut.10.240.183.99: start
22/10/2020 16:11:56 dut.10.240.183.99:
io packet forwarding - ports=1 - cores=1 - streams=1 - NUMA support enabled, MP allocation mode: native
Logical Core 33 (socket 1) forwards packets on 1 streams:
RX P=0/Q=0 (socket 1) -> TX P=0/Q=0 (socket 1) peer=02:00:00:00:00:00
io packet forwarding packets/burst=32
nb forwarding cores=1 - nb forwarding ports=1
port 0: RX queue number: 1 Tx queue number: 1
Rx offloads=0x0 Tx offloads=0x0
RX queue: 0
RX desc=0 - RX free threshold=0
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0x0
TX queue: 0
TX desc=0 - TX free threshold=0
TX threshold registers: pthresh=0 hthresh=0 wthresh=0
TX offloads=0x0 - TX RS bit threshold=0
22/10/2020 16:11:56 TestAfXdp:
+--------------+--------------+-----------------------+-----------------+
| FrameSize(B) | Queue number | Port Throughput(Mpps) | Port % linerate |
+==============+==============+=======================+=================+
| 64 | 1 | 1.804 | 3.031 |
+--------------+--------------+-----------------------+-----------------+
| 128 | 1 | 1.770 | 5.238 |
+--------------+--------------+-----------------------+-----------------+
| 256 | 1 | 1.722 | 9.505 |
+--------------+--------------+-----------------------+-----------------+
| 512 | 1 | 1.676 | 17.836 |
+--------------+--------------+-----------------------+-----------------+
| 1024 | 1 | 1.473 | 30.755 |
+--------------+--------------+-----------------------+-----------------+
| 1518 | 1 | 1.437 | 44.200 |
+--------------+--------------+-----------------------+-----------------+
22/10/2020 16:11:56 TestAfXdp: Test Case test_perf_one_port_single_queue_and_separate_irqs Result PASSED:
22/10/2020 16:11:56 dut.10.240.183.99: quit
22/10/2020 16:11:56 dut.10.240.183.99:
Telling cores to stop...
Waiting for lcores to finish...
---------------------- Forward statistics for port 0 ----------------------
RX-packets: 0 RX-dropped: 0 RX-total: 0
TX-packets: 0 TX-dropped: 0 TX-total: 0
----------------------------------------------------------------------------
+++++++++++++++ Accumulated forward statistics for all ports+++++++++++++++
RX-packets: 0 RX-dropped: 0 RX-total: 0
TX-packets: 0 TX-dropped: 0 TX-total: 0
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Done.
Stopping port 0...
Stopping ports...
Done
Shutting down port 0...
Closing ports...
eth_dev_close(): Closing AF_XDP ethdev on numa socket 1
Port 0 is closed
Done
Bye...
22/10/2020 16:11:56 TestAfXdp: Test Case test_perf_one_port_single_queue_with_two_vdev Begin
22/10/2020 16:11:56 dut.10.240.183.99:
22/10/2020 16:11:56 tester:
22/10/2020 16:11:57 dut.10.240.183.99: ethtool -L enp175s0f0 combined 2
22/10/2020 16:11:57 dut.10.240.183.99:
22/10/2020 16:11:58 TestAfXdp: start testpmd
22/10/2020 16:11:58 dut.10.240.183.99: x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 32,33,34 -n 4 --file-prefix=dpdk_8836_20201022160458 --no-pci --vdev net_af_xdp0,iface=enp175s0f0,start_queue=0,queue_count=1 --vdev net_af_xdp1,iface=enp175s0f0,start_queue=1,queue_count=1 --log-level=pmd.net.af_xdp:8 -- -i --auto-start --nb-cores=2 --rxq=1 --txq=1 --port-topology=loop
22/10/2020 16:11:58 dut.10.240.183.99: EAL: Detected 72 lcore(s)
EAL: Detected 2 NUMA nodes
EAL: Multi-process socket /var/run/dpdk/dpdk_8836_20201022160458/mp_socket
EAL: Selected IOVA mode 'VA'
EAL: Probing VFIO support...
EAL: VFIO support initialized
rte_pmd_af_xdp_probe(): Initializing pmd_af_xdp for net_af_xdp0
init_internals(): Zero copy between umem and mbuf enabled.
rte_pmd_af_xdp_probe(): Initializing pmd_af_xdp for net_af_xdp1
init_internals(): Zero copy between umem and mbuf enabled.
Interactive-mode selected
Auto-start selected
testpmd: create a new mbuf pool <mb_pool_1>: n=163456, size=2176, socket=1
testpmd: preferred mempool ops selected: ring_mp_mc
Configuring Port 0 (socket 1)
eth_rx_queue_setup(): Set up rx queue, rx queue id: 0, xsk queue id: 0
Port 0: 3C:FD:FE:C8:19:D0
Configuring Port 1 (socket 1)
eth_rx_queue_setup(): Set up rx queue, rx queue id: 0, xsk queue id: 1
Port 1: 3C:FD:FE:C8:19:D0
Checking link statuses...
Done
Start automatic packet forwarding
io packet forwarding - ports=2 - cores=2 - streams=2 - NUMA support enabled, MP allocation mode: native
Logical Core 33 (socket 1) forwards packets on 1 streams:
RX P=0/Q=0 (socket 1) -> TX P=0/Q=0 (socket 1) peer=02:00:00:00:00:00
Logical Core 34 (socket 1) forwards packets on 1 streams:
RX P=1/Q=0 (socket 1) -> TX P=1/Q=0 (socket 1) peer=02:00:00:00:00:01
io packet forwarding packets/burst=32
nb forwarding cores=2 - nb forwarding ports=2
port 0: RX queue number: 1 Tx queue number: 1
Rx offloads=0x0 Tx offloads=0x0
RX queue: 0
RX desc=0 - RX free threshold=0
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0x0
TX queue: 0
TX desc=0 - TX free threshold=0
TX threshold registers: pthresh=0 hthresh=0 wthresh=0
TX offloads=0x0 - TX RS bit threshold=0
port 1: RX queue number: 1 Tx queue number: 1
Rx offloads=0x0 Tx offloads=0x0
RX queue: 0
RX desc=0 - RX free threshold=0
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0x0
TX queue: 0
TX desc=0 - TX free threshold=0
TX threshold registers: pthresh=0 hthresh=0 wthresh=0
TX offloads=0x0 - TX RS bit threshold=0
22/10/2020 16:12:01 TestAfXdp: Running test test_perf_one_port_single_queue_with_two_vdev, and 64 frame size.
22/10/2020 16:12:01 pktgen: test port 0 map gen port 0
22/10/2020 16:12:01 pktgen: test port 0 map gen port 0
22/10/2020 16:12:01 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:d0',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:9d:1c:f8',
'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:82:00.0',
'prom': 'off',
'prom_supported': 'yes',
'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
'rx_filter_mode': 'hardware match',
'rx_queue': 'off',
'speed': 40.0,
'src_ipv4': '-',
'src_mac': '3c:fd:fe:9d:1c:f8',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
22/10/2020 16:12:01 pktgen: trex port <0> not support flow control
22/10/2020 16:12:01 pktgen: trex packet generator: run traffic 5s to warm up ...
22/10/2020 16:12:01 pktgen: check the trex port link status
22/10/2020 16:12:01 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:d0',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:9d:1c:f8',
'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:82:00.0',
'prom': 'on',
'prom_supported': 'yes',
'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
'rx_filter_mode': 'hardware match',
'rx_queue': 'off',
'speed': 40.0,
'src_ipv4': '-',
'src_mac': '3c:fd:fe:9d:1c:f8',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
22/10/2020 16:12:01 pktgen: begin traffic ......
22/10/2020 16:12:01 pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
22/10/2020 16:12:06 pktgen: traffic completed.
22/10/2020 16:12:06 pktgen: check the trex port link status
22/10/2020 16:12:06 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:d0',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:9d:1c:f8',
'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:82:00.0',
'prom': 'on',
'prom_supported': 'yes',
'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
'rx_filter_mode': 'hardware match',
'rx_queue': 'off',
'speed': 40.0,
'src_ipv4': '-',
'src_mac': '3c:fd:fe:9d:1c:f8',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
22/10/2020 16:12:06 pktgen: begin traffic ......
22/10/2020 16:12:06 pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
22/10/2020 16:12:16 pktgen: begin get port statistic ...
22/10/2020 16:12:16 pktgen: {'options': {'fields_config': {'ip': {'dst': {'action': 'random',
'end': '48.0.0.64',
'start': '48.0.0.1',
'step': 1}}},
'pcap': '/tmp/af_xdp_4243_64.pcap',
'stream_config': {'rate': 100,
'transmit_mode': 'continuous',
'txmode': {}}},
'pcap_file': '/tmp/af_xdp_4243_64.pcap',
'rx_port': 0,
'tx_port': 0}
22/10/2020 16:12:16 pktgen: {0: {'ibytes': 176395136,
'ierrors': 14773328,
'ipackets': 2756177,
'obytes': 13514484480,
'oerrors': 0,
'opackets': 211163900,
'rx_bps': 149637136.0,
'rx_bps_L1': 196390865.99999997,
'rx_pps': 292210.8125,
'rx_util': 0.49097716499999994,
'tx_bps': 10803884032.0,
'tx_bps_L1': 14180079232.0,
'tx_pps': 21101220.0,
'tx_util': 35.45019808},
1: {'ibytes': 0,
'ierrors': 0,
'ipackets': 0,
'obytes': 0,
'oerrors': 0,
'opackets': 0,
'rx_bps': 0.0,
'rx_bps_L1': 0,
'rx_pps': 0.0,
'rx_util': 0.0,
'tx_bps': 0.0,
'tx_bps_L1': 0,
'tx_pps': 0.0,
'tx_util': 0.0},
'flow_stats': {},
'global': {'bw_per_core': 2.1977360248565674,
'cpu_util': 98.31830596923828,
'queue_full': 76419492,
'rx_bps': 149637136.0,
'rx_cpu_util': 0.0,
'rx_drop_bps': 10654246912.0,
'rx_pps': 292210.8125,
'tx_bps': 10803884032.0,
'tx_pps': 21101220.0},
'latency': {},
'total': {'ibytes': 176395136,
'ierrors': 14773328,
'ipackets': 2756177,
'obytes': 13514484480,
'oerrors': 0,
'opackets': 211163900,
'rx_bps': 149637136.0,
'rx_bps_L1': 196390865.99999997,
'rx_pps': 292210.8125,
'rx_util': 0.49097716499999994,
'tx_bps': 10803884032.0,
'tx_bps_L1': 14180079232.0,
'tx_pps': 21101220.0,
'tx_util': 35.45019808}}
22/10/2020 16:12:16 pktgen: {'ibytes': 176395136,
'ierrors': 14773328,
'ipackets': 2756177,
'obytes': 13514484480,
'oerrors': 0,
'opackets': 211163900,
'rx_bps': 149637136.0,
'rx_bps_L1': 196390865.99999997,
'rx_pps': 292210.8125,
'rx_util': 0.49097716499999994,
'tx_bps': 10803884032.0,
'tx_bps_L1': 14180079232.0,
'tx_pps': 21101220.0,
'tx_util': 35.45019808}
22/10/2020 16:12:16 pktgen: Tx Port 0 stats:
tx_port: 0, tx_bps: 10803884032.000000, tx_pps: 21101220.000000
22/10/2020 16:12:16 pktgen: {'ibytes': 176395136,
'ierrors': 14773328,
'ipackets': 2756177,
'obytes': 13514484480,
'oerrors': 0,
'opackets': 211163900,
'rx_bps': 149637136.0,
'rx_bps_L1': 196390865.99999997,
'rx_pps': 292210.8125,
'rx_util': 0.49097716499999994,
'tx_bps': 10803884032.0,
'tx_bps_L1': 14180079232.0,
'tx_pps': 21101220.0,
'tx_util': 35.45019808}
22/10/2020 16:12:16 pktgen: Rx Port 0 stats:
rx_port: 0, rx_bps: 149637136.000000, rx_pps: 292210.812500
22/10/2020 16:12:16 pktgen: throughput: pps_rx 292210.812500, bps_rx 149637136.000000
22/10/2020 16:12:16 pktgen: traffic completed.
22/10/2020 16:12:16 dut.10.240.183.99: stop
22/10/2020 16:12:16 dut.10.240.183.99:
Telling cores to ...
Waiting for lcores to finish...
---------------------- Forward statistics for port 0 ----------------------
RX-packets: 26307215 RX-dropped: 50010248 RX-total: 76317463
TX-packets: 26307215 TX-dropped: 0 TX-total: 26307215
----------------------------------------------------------------------------
---------------------- Forward statistics for port 1 ----------------------
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: 26307215 RX-dropped: 50010248 RX-total: 76317463
TX-packets: 26307215 TX-dropped: 0 TX-total: 26307215
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Done.
22/10/2020 16:12:16 dut.10.240.183.99: start
22/10/2020 16:12:16 dut.10.240.183.99:
io packet forwarding - ports=2 - cores=2 - streams=2 - NUMA support enabled, MP allocation mode: native
Logical Core 33 (socket 1) forwards packets on 1 streams:
RX P=0/Q=0 (socket 1) -> TX P=0/Q=0 (socket 1) peer=02:00:00:00:00:00
Logical Core 34 (socket 1) forwards packets on 1 streams:
RX P=1/Q=0 (socket 1) -> TX P=1/Q=0 (socket 1) peer=02:00:00:00:00:01
io packet forwarding packets/burst=32
nb forwarding cores=2 - nb forwarding ports=2
port 0: RX queue number: 1 Tx queue number: 1
Rx offloads=0x0 Tx offloads=0x0
RX queue: 0
RX desc=0 - RX free threshold=0
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0x0
TX queue: 0
TX desc=0 - TX free threshold=0
TX threshold registers: pthresh=0 hthresh=0 wthresh=0
TX offloads=0x0 - TX RS bit threshold=0
port 1: RX queue number: 1 Tx queue number: 1
Rx offloads=0x0 Tx offloads=0x0
RX queue: 0
RX desc=0 - RX free threshold=0
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0x0
TX queue: 0
TX desc=0 - TX free threshold=0
TX threshold registers: pthresh=0 hthresh=0 wthresh=0
TX offloads=0x0 - TX RS bit threshold=0
22/10/2020 16:12:16 pktgen: test port 0 map gen port 0
22/10/2020 16:12:16 pktgen: test port 0 map gen port 0
22/10/2020 16:12:16 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:d0',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:9d:1c:f8',
'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:82:00.0',
'prom': 'off',
'prom_supported': 'yes',
'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
'rx_filter_mode': 'hardware match',
'rx_queue': 'off',
'speed': 40.0,
'src_ipv4': '-',
'src_mac': '3c:fd:fe:9d:1c:f8',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
22/10/2020 16:12:16 pktgen: trex port <0> not support flow control
22/10/2020 16:12:16 pktgen: trex packet generator: run traffic 5s to warm up ...
22/10/2020 16:12:16 pktgen: check the trex port link status
22/10/2020 16:12:16 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:d0',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:9d:1c:f8',
'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:82:00.0',
'prom': 'on',
'prom_supported': 'yes',
'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
'rx_filter_mode': 'hardware match',
'rx_queue': 'off',
'speed': 40.0,
'src_ipv4': '-',
'src_mac': '3c:fd:fe:9d:1c:f8',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
22/10/2020 16:12:16 pktgen: begin traffic ......
22/10/2020 16:12:16 pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
22/10/2020 16:12:21 pktgen: traffic completed.
22/10/2020 16:12:21 pktgen: check the trex port link status
22/10/2020 16:12:21 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:d0',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:9d:1c:f8',
'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:82:00.0',
'prom': 'on',
'prom_supported': 'yes',
'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
'rx_filter_mode': 'hardware match',
'rx_queue': 'off',
'speed': 40.0,
'src_ipv4': '-',
'src_mac': '3c:fd:fe:9d:1c:f8',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
22/10/2020 16:12:21 pktgen: begin traffic ......
22/10/2020 16:12:21 pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
22/10/2020 16:12:31 pktgen: begin get port statistic ...
22/10/2020 16:12:31 pktgen: {'options': {'fields_config': {'ip': {'dst': {'action': 'random',
'end': '48.0.0.64',
'start': '48.0.0.1',
'step': 1}}},
'pcap': '/tmp/af_xdp_4242_64.pcap',
'stream_config': {'rate': 100,
'transmit_mode': 'continuous',
'txmode': {}}},
'pcap_file': '/tmp/af_xdp_4242_64.pcap',
'rx_port': 0,
'tx_port': 0}
22/10/2020 16:12:31 pktgen: {0: {'ibytes': 188466752,
'ierrors': 14213746,
'ipackets': 2944794,
'obytes': 13515489216,
'oerrors': 0,
'opackets': 211179590,
'rx_bps': 150293296.0,
'rx_bps_L1': 197260001.0,
'rx_pps': 293541.90625,
'rx_util': 0.49315000249999996,
'tx_bps': 10815276032.0,
'tx_bps_L1': 14195050112.0,
'tx_pps': 21123588.0,
'tx_util': 35.48762528},
1: {'ibytes': 0,
'ierrors': 0,
'ipackets': 0,
'obytes': 0,
'oerrors': 0,
'opackets': 0,
'rx_bps': 0.0,
'rx_bps_L1': 0,
'rx_pps': 0.0,
'rx_util': 0.0,
'tx_bps': 0.0,
'tx_bps_L1': 0,
'tx_pps': 0.0,
'tx_util': 0.0},
'flow_stats': {},
'global': {'bw_per_core': 2.1668860912323,
'cpu_util': 99.82321166992188,
'queue_full': 76278924,
'rx_bps': 150293296.0,
'rx_cpu_util': 0.0,
'rx_drop_bps': 10664983552.0,
'rx_pps': 293541.90625,
'tx_bps': 10815276032.0,
'tx_pps': 21123588.0},
'latency': {},
'total': {'ibytes': 188466752,
'ierrors': 14213746,
'ipackets': 2944794,
'obytes': 13515489216,
'oerrors': 0,
'opackets': 211179590,
'rx_bps': 150293296.0,
'rx_bps_L1': 197260001.0,
'rx_pps': 293541.90625,
'rx_util': 0.49315000249999996,
'tx_bps': 10815276032.0,
'tx_bps_L1': 14195050112.0,
'tx_pps': 21123588.0,
'tx_util': 35.48762528}}
22/10/2020 16:12:31 pktgen: {'ibytes': 188466752,
'ierrors': 14213746,
'ipackets': 2944794,
'obytes': 13515489216,
'oerrors': 0,
'opackets': 211179590,
'rx_bps': 150293296.0,
'rx_bps_L1': 197260001.0,
'rx_pps': 293541.90625,
'rx_util': 0.49315000249999996,
'tx_bps': 10815276032.0,
'tx_bps_L1': 14195050112.0,
'tx_pps': 21123588.0,
'tx_util': 35.48762528}
22/10/2020 16:12:31 pktgen: Tx Port 0 stats:
tx_port: 0, tx_bps: 10815276032.000000, tx_pps: 21123588.000000
22/10/2020 16:12:31 pktgen: {'ibytes': 188466752,
'ierrors': 14213746,
'ipackets': 2944794,
'obytes': 13515489216,
'oerrors': 0,
'opackets': 211179590,
'rx_bps': 150293296.0,
'rx_bps_L1': 197260001.0,
'rx_pps': 293541.90625,
'rx_util': 0.49315000249999996,
'tx_bps': 10815276032.0,
'tx_bps_L1': 14195050112.0,
'tx_pps': 21123588.0,
'tx_util': 35.48762528}
22/10/2020 16:12:31 pktgen: Rx Port 0 stats:
rx_port: 0, rx_bps: 150293296.000000, rx_pps: 293541.906250
22/10/2020 16:12:31 pktgen: throughput: pps_rx 293541.906250, bps_rx 150293296.000000
22/10/2020 16:12:31 pktgen: traffic completed.
22/10/2020 16:12:31 dut.10.240.183.99: stop
22/10/2020 16:12:32 dut.10.240.183.99:
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
----------------------------------------------------------------------------
---------------------- Forward statistics for port 1 ----------------------
RX-packets: 25771220 RX-dropped: 49063275 RX-total: 74834495
TX-packets: 25771220 TX-dropped: 0 TX-total: 25771220
----------------------------------------------------------------------------
+++++++++++++++ Accumulated forward statistics for all ports+++++++++++++++
RX-packets: 25771220 RX-dropped: 49063275 RX-total: 74834495
TX-packets: 25771220 TX-dropped: 0 TX-total: 25771220
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Done.
22/10/2020 16:12:32 dut.10.240.183.99: start
22/10/2020 16:12:32 dut.10.240.183.99:
io packet forwarding - ports=2 - cores=2 - streams=2 - NUMA support enabled, MP allocation mode: native
Logical Core 33 (socket 1) forwards packets on 1 streams:
RX P=0/Q=0 (socket 1) -> TX P=0/Q=0 (socket 1) peer=02:00:00:00:00:00
Logical Core 34 (socket 1) forwards packets on 1 streams:
RX P=1/Q=0 (socket 1) -> TX P=1/Q=0 (socket 1) peer=02:00:00:00:00:01
io packet forwarding packets/burst=32
nb forwarding cores=2 - nb forwarding ports=2
port 0: RX queue number: 1 Tx queue number: 1
Rx offloads=0x0 Tx offloads=0x0
RX queue: 0
RX desc=0 - RX free threshold=0
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0x0
TX queue: 0
TX desc=0 - TX free threshold=0
TX threshold registers: pthresh=0 hthresh=0 wthresh=0
TX offloads=0x0 - TX RS bit threshold=0
port 1: RX queue number: 1 Tx queue number: 1
Rx offloads=0x0 Tx offloads=0x0
RX queue: 0
RX desc=0 - RX free threshold=0
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0x0
TX queue: 0
TX desc=0 - TX free threshold=0
TX threshold registers: pthresh=0 hthresh=0 wthresh=0
TX offloads=0x0 - TX RS bit threshold=0
22/10/2020 16:12:32 TestAfXdp: Running test test_perf_one_port_single_queue_with_two_vdev, and 128 frame size.
22/10/2020 16:12:32 pktgen: test port 0 map gen port 0
22/10/2020 16:12:32 pktgen: test port 0 map gen port 0
22/10/2020 16:12:32 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:d0',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:9d:1c:f8',
'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:82:00.0',
'prom': 'off',
'prom_supported': 'yes',
'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
'rx_filter_mode': 'hardware match',
'rx_queue': 'off',
'speed': 40.0,
'src_ipv4': '-',
'src_mac': '3c:fd:fe:9d:1c:f8',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
22/10/2020 16:12:32 pktgen: trex port <0> not support flow control
22/10/2020 16:12:32 pktgen: trex packet generator: run traffic 5s to warm up ...
22/10/2020 16:12:32 pktgen: check the trex port link status
22/10/2020 16:12:32 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:d0',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:9d:1c:f8',
'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:82:00.0',
'prom': 'on',
'prom_supported': 'yes',
'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
'rx_filter_mode': 'hardware match',
'rx_queue': 'off',
'speed': 40.0,
'src_ipv4': '-',
'src_mac': '3c:fd:fe:9d:1c:f8',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
22/10/2020 16:12:32 pktgen: begin traffic ......
22/10/2020 16:12:32 pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
22/10/2020 16:12:37 pktgen: traffic completed.
22/10/2020 16:12:37 pktgen: check the trex port link status
22/10/2020 16:12:37 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:d0',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:9d:1c:f8',
'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:82:00.0',
'prom': 'on',
'prom_supported': 'yes',
'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
'rx_filter_mode': 'hardware match',
'rx_queue': 'off',
'speed': 40.0,
'src_ipv4': '-',
'src_mac': '3c:fd:fe:9d:1c:f8',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
22/10/2020 16:12:37 pktgen: begin traffic ......
22/10/2020 16:12:37 pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
22/10/2020 16:12:47 pktgen: begin get port statistic ...
22/10/2020 16:12:47 pktgen: {'options': {'fields_config': {'ip': {'dst': {'action': 'random',
'end': '48.0.0.64',
'start': '48.0.0.1',
'step': 1}}},
'pcap': '/tmp/af_xdp_4243_128.pcap',
'stream_config': {'rate': 100,
'transmit_mode': 'continuous',
'txmode': {}}},
'pcap_file': '/tmp/af_xdp_4243_128.pcap',
'rx_port': 0,
'tx_port': 0}
22/10/2020 16:12:47 pktgen: {0: {'ibytes': 110135511,
'ierrors': 16326703,
'ipackets': 860434,
'obytes': 26977311232,
'oerrors': 0,
'opackets': 210760314,
'rx_bps': 105998088.0,
'rx_bps_L1': 122561618.0,
'rx_pps': 103522.0625,
'rx_util': 0.306404045,
'tx_bps': 21596495872.0,
'tx_bps_L1': 24971043392.0,
'tx_pps': 21090922.0,
'tx_util': 62.427608479999996},
1: {'ibytes': 0,
'ierrors': 0,
'ipackets': 0,
'obytes': 0,
'oerrors': 0,
'opackets': 0,
'rx_bps': 0.0,
'rx_bps_L1': 0,
'rx_pps': 0.0,
'rx_util': 0.0,
'tx_bps': 0.0,
'tx_bps_L1': 0,
'tx_pps': 0.0,
'tx_util': 0.0},
'flow_stats': {},
'global': {'bw_per_core': 4.339306354522705,
'cpu_util': 99.53893280029297,
'queue_full': 74221225,
'rx_bps': 105998088.0,
'rx_cpu_util': 0.0,
'rx_drop_bps': 21490497536.0,
'rx_pps': 103522.0625,
'tx_bps': 21596495872.0,
'tx_pps': 21090922.0},
'latency': {},
'total': {'ibytes': 110135511,
'ierrors': 16326703,
'ipackets': 860434,
'obytes': 26977311232,
'oerrors': 0,
'opackets': 210760314,
'rx_bps': 105998088.0,
'rx_bps_L1': 122561618.0,
'rx_pps': 103522.0625,
'rx_util': 0.306404045,
'tx_bps': 21596495872.0,
'tx_bps_L1': 24971043392.0,
'tx_pps': 21090922.0,
'tx_util': 62.427608479999996}}
22/10/2020 16:12:47 pktgen: {'ibytes': 110135511,
'ierrors': 16326703,
'ipackets': 860434,
'obytes': 26977311232,
'oerrors': 0,
'opackets': 210760314,
'rx_bps': 105998088.0,
'rx_bps_L1': 122561618.0,
'rx_pps': 103522.0625,
'rx_util': 0.306404045,
'tx_bps': 21596495872.0,
'tx_bps_L1': 24971043392.0,
'tx_pps': 21090922.0,
'tx_util': 62.427608479999996}
22/10/2020 16:12:47 pktgen: Tx Port 0 stats:
tx_port: 0, tx_bps: 21596495872.000000, tx_pps: 21090922.000000
22/10/2020 16:12:47 pktgen: {'ibytes': 110135511,
'ierrors': 16326703,
'ipackets': 860434,
'obytes': 26977311232,
'oerrors': 0,
'opackets': 210760314,
'rx_bps': 105998088.0,
'rx_bps_L1': 122561618.0,
'rx_pps': 103522.0625,
'rx_util': 0.306404045,
'tx_bps': 21596495872.0,
'tx_bps_L1': 24971043392.0,
'tx_pps': 21090922.0,
'tx_util': 62.427608479999996}
22/10/2020 16:12:47 pktgen: Rx Port 0 stats:
rx_port: 0, rx_bps: 105998088.000000, rx_pps: 103522.062500
22/10/2020 16:12:47 pktgen: throughput: pps_rx 103522.062500, bps_rx 105998088.000000
22/10/2020 16:12:47 pktgen: traffic completed.
22/10/2020 16:12:47 dut.10.240.183.99: stop
22/10/2020 16:12:47 dut.10.240.183.99:
Telling cores to ...
Waiting for lcores to finish...
---------------------- Forward statistics for port 0 ----------------------
RX-packets: 25799166 RX-dropped: 49626452 RX-total: 75425618
TX-packets: 25799166 TX-dropped: 0 TX-total: 25799166
----------------------------------------------------------------------------
---------------------- Forward statistics for port 1 ----------------------
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: 25799166 RX-dropped: 49626452 RX-total: 75425618
TX-packets: 25799166 TX-dropped: 0 TX-total: 25799166
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Done.
22/10/2020 16:12:47 dut.10.240.183.99: start
22/10/2020 16:12:47 dut.10.240.183.99:
io packet forwarding - ports=2 - cores=2 - streams=2 - NUMA support enabled, MP allocation mode: native
Logical Core 33 (socket 1) forwards packets on 1 streams:
RX P=0/Q=0 (socket 1) -> TX P=0/Q=0 (socket 1) peer=02:00:00:00:00:00
Logical Core 34 (socket 1) forwards packets on 1 streams:
RX P=1/Q=0 (socket 1) -> TX P=1/Q=0 (socket 1) peer=02:00:00:00:00:01
io packet forwarding packets/burst=32
nb forwarding cores=2 - nb forwarding ports=2
port 0: RX queue number: 1 Tx queue number: 1
Rx offloads=0x0 Tx offloads=0x0
RX queue: 0
RX desc=0 - RX free threshold=0
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0x0
TX queue: 0
TX desc=0 - TX free threshold=0
TX threshold registers: pthresh=0 hthresh=0 wthresh=0
TX offloads=0x0 - TX RS bit threshold=0
port 1: RX queue number: 1 Tx queue number: 1
Rx offloads=0x0 Tx offloads=0x0
RX queue: 0
RX desc=0 - RX free threshold=0
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0x0
TX queue: 0
TX desc=0 - TX free threshold=0
TX threshold registers: pthresh=0 hthresh=0 wthresh=0
TX offloads=0x0 - TX RS bit threshold=0
22/10/2020 16:12:47 pktgen: test port 0 map gen port 0
22/10/2020 16:12:47 pktgen: test port 0 map gen port 0
22/10/2020 16:12:47 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:d0',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:9d:1c:f8',
'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:82:00.0',
'prom': 'off',
'prom_supported': 'yes',
'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
'rx_filter_mode': 'hardware match',
'rx_queue': 'off',
'speed': 40.0,
'src_ipv4': '-',
'src_mac': '3c:fd:fe:9d:1c:f8',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
22/10/2020 16:12:47 pktgen: trex port <0> not support flow control
22/10/2020 16:12:47 pktgen: trex packet generator: run traffic 5s to warm up ...
22/10/2020 16:12:47 pktgen: check the trex port link status
22/10/2020 16:12:47 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:d0',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:9d:1c:f8',
'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:82:00.0',
'prom': 'on',
'prom_supported': 'yes',
'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
'rx_filter_mode': 'hardware match',
'rx_queue': 'off',
'speed': 40.0,
'src_ipv4': '-',
'src_mac': '3c:fd:fe:9d:1c:f8',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
22/10/2020 16:12:47 pktgen: begin traffic ......
22/10/2020 16:12:47 pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
22/10/2020 16:12:52 pktgen: traffic completed.
22/10/2020 16:12:52 pktgen: check the trex port link status
22/10/2020 16:12:52 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:d0',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:9d:1c:f8',
'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:82:00.0',
'prom': 'on',
'prom_supported': 'yes',
'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
'rx_filter_mode': 'hardware match',
'rx_queue': 'off',
'speed': 40.0,
'src_ipv4': '-',
'src_mac': '3c:fd:fe:9d:1c:f8',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
22/10/2020 16:12:52 pktgen: begin traffic ......
22/10/2020 16:12:52 pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
22/10/2020 16:13:02 pktgen: begin get port statistic ...
22/10/2020 16:13:02 pktgen: {'options': {'fields_config': {'ip': {'dst': {'action': 'random',
'end': '48.0.0.64',
'start': '48.0.0.1',
'step': 1}}},
'pcap': '/tmp/af_xdp_4242_128.pcap',
'stream_config': {'rate': 100,
'transmit_mode': 'continuous',
'txmode': {}}},
'pcap_file': '/tmp/af_xdp_4242_128.pcap',
'rx_port': 0,
'tx_port': 0}
22/10/2020 16:13:02 pktgen: {0: {'ibytes': 212888960,
'ierrors': 15179807,
'ipackets': 1663195,
'obytes': 26998764544,
'oerrors': 0,
'opackets': 210927918,
'rx_bps': 167473936.0,
'rx_bps_L1': 193641688.50000003,
'rx_pps': 163548.453125,
'rx_util': 0.4841042212500001,
'tx_bps': 21501646848.0,
'tx_bps_L1': 24861279168.0,
'tx_pps': 20997702.0,
'tx_util': 62.153197920000004},
1: {'ibytes': 0,
'ierrors': 0,
'ipackets': 0,
'obytes': 0,
'oerrors': 0,
'opackets': 0,
'rx_bps': 0.0,
'rx_bps_L1': 0,
'rx_pps': 0.0,
'rx_util': 0.0,
'tx_bps': 0.0,
'tx_bps_L1': 0,
'tx_pps': 0.0,
'tx_util': 0.0},
'flow_stats': {},
'global': {'bw_per_core': 4.324747562408447,
'cpu_util': 99.43538665771484,
'queue_full': 74760531,
'rx_bps': 167473936.0,
'rx_cpu_util': 0.0,
'rx_drop_bps': 21334171648.0,
'rx_pps': 163548.453125,
'tx_bps': 21501646848.0,
'tx_pps': 20997702.0},
'latency': {},
'total': {'ibytes': 212888960,
'ierrors': 15179807,
'ipackets': 1663195,
'obytes': 26998764544,
'oerrors': 0,
'opackets': 210927918,
'rx_bps': 167473936.0,
'rx_bps_L1': 193641688.50000003,
'rx_pps': 163548.453125,
'rx_util': 0.4841042212500001,
'tx_bps': 21501646848.0,
'tx_bps_L1': 24861279168.0,
'tx_pps': 20997702.0,
'tx_util': 62.153197920000004}}
22/10/2020 16:13:02 pktgen: {'ibytes': 212888960,
'ierrors': 15179807,
'ipackets': 1663195,
'obytes': 26998764544,
'oerrors': 0,
'opackets': 210927918,
'rx_bps': 167473936.0,
'rx_bps_L1': 193641688.50000003,
'rx_pps': 163548.453125,
'rx_util': 0.4841042212500001,
'tx_bps': 21501646848.0,
'tx_bps_L1': 24861279168.0,
'tx_pps': 20997702.0,
'tx_util': 62.153197920000004}
22/10/2020 16:13:02 pktgen: Tx Port 0 stats:
tx_port: 0, tx_bps: 21501646848.000000, tx_pps: 20997702.000000
22/10/2020 16:13:02 pktgen: {'ibytes': 212888960,
'ierrors': 15179807,
'ipackets': 1663195,
'obytes': 26998764544,
'oerrors': 0,
'opackets': 210927918,
'rx_bps': 167473936.0,
'rx_bps_L1': 193641688.50000003,
'rx_pps': 163548.453125,
'rx_util': 0.4841042212500001,
'tx_bps': 21501646848.0,
'tx_bps_L1': 24861279168.0,
'tx_pps': 20997702.0,
'tx_util': 62.153197920000004}
22/10/2020 16:13:02 pktgen: Rx Port 0 stats:
rx_port: 0, rx_bps: 167473936.000000, rx_pps: 163548.453125
22/10/2020 16:13:02 pktgen: throughput: pps_rx 163548.453125, bps_rx 167473936.000000
22/10/2020 16:13:02 pktgen: traffic completed.
22/10/2020 16:13:02 dut.10.240.183.99: stop
22/10/2020 16:13:02 dut.10.240.183.99:
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
----------------------------------------------------------------------------
---------------------- Forward statistics for port 1 ----------------------
RX-packets: 25279804 RX-dropped: 49680847 RX-total: 74960651
TX-packets: 25279804 TX-dropped: 0 TX-total: 25279804
----------------------------------------------------------------------------
+++++++++++++++ Accumulated forward statistics for all ports+++++++++++++++
RX-packets: 25279804 RX-dropped: 49680847 RX-total: 74960651
TX-packets: 25279804 TX-dropped: 0 TX-total: 25279804
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Done.
22/10/2020 16:13:02 dut.10.240.183.99: start
22/10/2020 16:13:02 dut.10.240.183.99:
io packet forwarding - ports=2 - cores=2 - streams=2 - NUMA support enabled, MP allocation mode: native
Logical Core 33 (socket 1) forwards packets on 1 streams:
RX P=0/Q=0 (socket 1) -> TX P=0/Q=0 (socket 1) peer=02:00:00:00:00:00
Logical Core 34 (socket 1) forwards packets on 1 streams:
RX P=1/Q=0 (socket 1) -> TX P=1/Q=0 (socket 1) peer=02:00:00:00:00:01
io packet forwarding packets/burst=32
nb forwarding cores=2 - nb forwarding ports=2
port 0: RX queue number: 1 Tx queue number: 1
Rx offloads=0x0 Tx offloads=0x0
RX queue: 0
RX desc=0 - RX free threshold=0
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0x0
TX queue: 0
TX desc=0 - TX free threshold=0
TX threshold registers: pthresh=0 hthresh=0 wthresh=0
TX offloads=0x0 - TX RS bit threshold=0
port 1: RX queue number: 1 Tx queue number: 1
Rx offloads=0x0 Tx offloads=0x0
RX queue: 0
RX desc=0 - RX free threshold=0
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0x0
TX queue: 0
TX desc=0 - TX free threshold=0
TX threshold registers: pthresh=0 hthresh=0 wthresh=0
TX offloads=0x0 - TX RS bit threshold=0
22/10/2020 16:13:02 TestAfXdp: Test Case test_perf_one_port_single_queue_with_two_vdev Result FAILED: "The gap is too big btween two port's throughput"
22/10/2020 16:13:02 dut.10.240.183.99: quit
22/10/2020 16:13:03 dut.10.240.183.99:
Telling cores to stop...
Waiting for lcores to finish...
---------------------- Forward statistics for port 0 ----------------------
RX-packets: 0 RX-dropped: 0 RX-total: 0
TX-packets: 0 TX-dropped: 0 TX-total: 0
----------------------------------------------------------------------------
---------------------- Forward statistics for port 1 ----------------------
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.
Stopping port 0...
Stopping ports...
Done
Stopping port 1...
Stopping ports...
Done
Shutting down port 0...
Closing ports...
eth_dev_close(): Closing AF_XDP ethdev on numa socket 1
Port 0 is closed
Done
Shutting down port 1...
Closing ports...
eth_dev_close(): Closing AF_XDP ethdev on numa socket 1
Port 1 is closed
Done
Bye...
22/10/2020 16:13:03 TestAfXdp: Test Case test_perf_two_port_and_same_irqs Begin
22/10/2020 16:13:03 dut.10.240.183.99:
22/10/2020 16:13:03 tester:
22/10/2020 16:13:03 dut.10.240.183.99: ethtool -L enp175s0f0 combined 1
22/10/2020 16:13:03 dut.10.240.183.99: Cannot set device channel parameters: Invalid argument
22/10/2020 16:13:04 dut.10.240.183.99: ethtool -L enp175s0f1 combined 1
22/10/2020 16:13:04 dut.10.240.183.99:
22/10/2020 16:13:04 TestAfXdp: start testpmd
22/10/2020 16:13:04 dut.10.240.183.99: x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 32,33,34 -n 4 --file-prefix=dpdk_8836_20201022160458 --no-pci --vdev net_af_xdp0,iface=enp175s0f0 --vdev net_af_xdp1,iface=enp175s0f1 --log-level=pmd.net.af_xdp:8 -- -i --auto-start --nb-cores=2 --rxq=1 --txq=1 --port-topology=loop
22/10/2020 16:13:05 dut.10.240.183.99: EAL: Detected 72 lcore(s)
EAL: Detected 2 NUMA nodes
EAL: Multi-process socket /var/run/dpdk/dpdk_8836_20201022160458/mp_socket
EAL: Selected IOVA mode 'VA'
EAL: Probing VFIO support...
EAL: VFIO support initialized
rte_pmd_af_xdp_probe(): Initializing pmd_af_xdp for net_af_xdp0
init_internals(): Zero copy between umem and mbuf enabled.
rte_pmd_af_xdp_probe(): Initializing pmd_af_xdp for net_af_xdp1
init_internals(): Zero copy between umem and mbuf enabled.
Interactive-mode selected
Auto-start selected
testpmd: create a new mbuf pool <mb_pool_1>: n=163456, size=2176, socket=1
testpmd: preferred mempool ops selected: ring_mp_mc
Configuring Port 0 (socket 1)
eth_rx_queue_setup(): Set up rx queue, rx queue id: 0, xsk queue id: 0
Port 0: 3C:FD:FE:C8:19:D0
Configuring Port 1 (socket 1)
eth_rx_queue_setup(): Set up rx queue, rx queue id: 0, xsk queue id: 0
Port 1: 3C:FD:FE:C8:19:D1
Checking link statuses...
Done
Start automatic packet forwarding
io packet forwarding - ports=2 - cores=2 - streams=2 - NUMA support enabled, MP allocation mode: native
Logical Core 33 (socket 1) forwards packets on 1 streams:
RX P=0/Q=0 (socket 1) -> TX P=0/Q=0 (socket 1) peer=02:00:00:00:00:00
Logical Core 34 (socket 1) forwards packets on 1 streams:
RX P=1/Q=0 (socket 1) -> TX P=1/Q=0 (socket 1) peer=02:00:00:00:00:01
io packet forwarding packets/burst=32
nb forwarding cores=2 - nb forwarding ports=2
port 0: RX queue number: 1 Tx queue number: 1
Rx offloads=0x0 Tx offloads=0x0
RX queue: 0
RX desc=0 - RX free threshold=0
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0x0
TX queue: 0
TX desc=0 - TX free threshold=0
TX threshold registers: pthresh=0 hthresh=0 wthresh=0
TX offloads=0x0 - TX RS bit threshold=0
port 1: RX queue number: 1 Tx queue number: 1
Rx offloads=0x0 Tx offloads=0x0
RX queue: 0
RX desc=0 - RX free threshold=0
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0x0
TX queue: 0
TX desc=0 - TX free threshold=0
TX threshold registers: pthresh=0 hthresh=0 wthresh=0
TX offloads=0x0 - TX RS bit threshold=0
22/10/2020 16:13:07 TestAfXdp: Running test test_perf_two_port_and_same_irqs, and 64 frame size.
22/10/2020 16:13:07 pktgen: test port 0 map gen port 0
22/10/2020 16:13:07 pktgen: test port 0 map gen port 0
22/10/2020 16:13:07 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:d0',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:9d:1c:f8',
'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:82:00.0',
'prom': 'off',
'prom_supported': 'yes',
'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
'rx_filter_mode': 'hardware match',
'rx_queue': 'off',
'speed': 40.0,
'src_ipv4': '-',
'src_mac': '3c:fd:fe:9d:1c:f8',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
22/10/2020 16:13:07 pktgen: trex port <0> not support flow control
22/10/2020 16:13:07 pktgen: trex packet generator: run traffic 5s to warm up ...
22/10/2020 16:13:07 pktgen: check the trex port link status
22/10/2020 16:13:07 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:d0',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:9d:1c:f8',
'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:82:00.0',
'prom': 'on',
'prom_supported': 'yes',
'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
'rx_filter_mode': 'hardware match',
'rx_queue': 'off',
'speed': 40.0,
'src_ipv4': '-',
'src_mac': '3c:fd:fe:9d:1c:f8',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
22/10/2020 16:13:07 pktgen: begin traffic ......
22/10/2020 16:13:07 pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
22/10/2020 16:13:12 pktgen: traffic completed.
22/10/2020 16:13:12 pktgen: check the trex port link status
22/10/2020 16:13:12 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:d0',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:9d:1c:f8',
'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:82:00.0',
'prom': 'on',
'prom_supported': 'yes',
'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
'rx_filter_mode': 'hardware match',
'rx_queue': 'off',
'speed': 40.0,
'src_ipv4': '-',
'src_mac': '3c:fd:fe:9d:1c:f8',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
22/10/2020 16:13:12 pktgen: begin traffic ......
22/10/2020 16:13:12 pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
22/10/2020 16:13:22 pktgen: begin get port statistic ...
22/10/2020 16:13:22 pktgen: {'options': {'fields_config': {'ip': {'dst': {'action': 'random',
'end': '192.168.1.64',
'start': '192.168.1.1',
'step': 1}}},
'pcap': '/tmp/af_xdp_2_0_64.pcap',
'stream_config': {'rate': 100,
'transmit_mode': 'continuous',
'txmode': {}}},
'pcap_file': '/tmp/af_xdp_2_0_64.pcap',
'rx_port': 0,
'tx_port': 0}
22/10/2020 16:13:22 pktgen: {0: {'ibytes': 7754688,
'ierrors': 0,
'ipackets': 121167,
'obytes': 27318462528,
'oerrors': 0,
'opackets': 426851030,
'rx_bps': 6144991.5,
'rx_bps_L1': 8065257.593750001,
'rx_pps': 12001.6630859375,
'rx_util': 0.020163143984375,
'tx_bps': 21839935488.0,
'tx_bps_L1': 28664910848.0,
'tx_pps': 42656096.0,
'tx_util': 71.66227712},
1: {'ibytes': 0,
'ierrors': 0,
'ipackets': 0,
'obytes': 0,
'oerrors': 0,
'opackets': 0,
'rx_bps': 0.0,
'rx_bps_L1': 0,
'rx_pps': 0.0,
'rx_util': 0.0,
'tx_bps': 0.0,
'tx_bps_L1': 0,
'tx_pps': 0.0,
'tx_util': 0.0},
'flow_stats': {},
'global': {'bw_per_core': 4.434114933013916,
'cpu_util': 98.50865173339844,
'queue_full': 49532521,
'rx_bps': 6144991.5,
'rx_cpu_util': 0.0,
'rx_drop_bps': 21833791488.0,
'rx_pps': 12001.6630859375,
'tx_bps': 21839935488.0,
'tx_pps': 42656096.0},
'latency': {},
'total': {'ibytes': 7754688,
'ierrors': 0,
'ipackets': 121167,
'obytes': 27318462528,
'oerrors': 0,
'opackets': 426851030,
'rx_bps': 6144991.5,
'rx_bps_L1': 8065257.593750001,
'rx_pps': 12001.6630859375,
'rx_util': 0.020163143984375,
'tx_bps': 21839935488.0,
'tx_bps_L1': 28664910848.0,
'tx_pps': 42656096.0,
'tx_util': 71.66227712}}
22/10/2020 16:13:22 pktgen: {'ibytes': 7754688,
'ierrors': 0,
'ipackets': 121167,
'obytes': 27318462528,
'oerrors': 0,
'opackets': 426851030,
'rx_bps': 6144991.5,
'rx_bps_L1': 8065257.593750001,
'rx_pps': 12001.6630859375,
'rx_util': 0.020163143984375,
'tx_bps': 21839935488.0,
'tx_bps_L1': 28664910848.0,
'tx_pps': 42656096.0,
'tx_util': 71.66227712}
22/10/2020 16:13:22 pktgen: Tx Port 0 stats:
tx_port: 0, tx_bps: 21839935488.000000, tx_pps: 42656096.000000
22/10/2020 16:13:22 pktgen: {'ibytes': 7754688,
'ierrors': 0,
'ipackets': 121167,
'obytes': 27318462528,
'oerrors': 0,
'opackets': 426851030,
'rx_bps': 6144991.5,
'rx_bps_L1': 8065257.593750001,
'rx_pps': 12001.6630859375,
'rx_util': 0.020163143984375,
'tx_bps': 21839935488.0,
'tx_bps_L1': 28664910848.0,
'tx_pps': 42656096.0,
'tx_util': 71.66227712}
22/10/2020 16:13:22 pktgen: Rx Port 0 stats:
rx_port: 0, rx_bps: 6144991.500000, rx_pps: 12001.663086
22/10/2020 16:13:22 pktgen: throughput: pps_rx 12001.663086, bps_rx 6144991.500000
22/10/2020 16:13:22 pktgen: traffic completed.
22/10/2020 16:13:22 dut.10.240.183.99: stop
22/10/2020 16:13:22 dut.10.240.183.99:
Telling cores to ...
Waiting for lcores to finish...
---------------------- Forward statistics for port 0 ----------------------
RX-packets: 186048 RX-dropped: 40627452 RX-total: 40813500
TX-packets: 186048 TX-dropped: 0 TX-total: 186048
----------------------------------------------------------------------------
---------------------- Forward statistics for port 1 ----------------------
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: 186048 RX-dropped: 40627452 RX-total: 40813500
TX-packets: 186048 TX-dropped: 0 TX-total: 186048
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Done.
22/10/2020 16:13:22 dut.10.240.183.99: start
22/10/2020 16:13:22 dut.10.240.183.99:
io packet forwarding - ports=2 - cores=2 - streams=2 - NUMA support enabled, MP allocation mode: native
Logical Core 33 (socket 1) forwards packets on 1 streams:
RX P=0/Q=0 (socket 1) -> TX P=0/Q=0 (socket 1) peer=02:00:00:00:00:00
Logical Core 34 (socket 1) forwards packets on 1 streams:
RX P=1/Q=0 (socket 1) -> TX P=1/Q=0 (socket 1) peer=02:00:00:00:00:01
io packet forwarding packets/burst=32
nb forwarding cores=2 - nb forwarding ports=2
port 0: RX queue number: 1 Tx queue number: 1
Rx offloads=0x0 Tx offloads=0x0
RX queue: 0
RX desc=0 - RX free threshold=0
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0x0
TX queue: 0
TX desc=0 - TX free threshold=0
TX threshold registers: pthresh=0 hthresh=0 wthresh=0
TX offloads=0x0 - TX RS bit threshold=0
port 1: RX queue number: 1 Tx queue number: 1
Rx offloads=0x0 Tx offloads=0x0
RX queue: 0
RX desc=0 - RX free threshold=0
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0x0
TX queue: 0
TX desc=0 - TX free threshold=0
TX threshold registers: pthresh=0 hthresh=0 wthresh=0
TX offloads=0x0 - TX RS bit threshold=0
22/10/2020 16:13:22 pktgen: test port 1 map gen port 1
22/10/2020 16:13:22 pktgen: test port 1 map gen port 1
22/10/2020 16:13:22 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:d0',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:9d:1c:f8',
'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:82:00.0',
'prom': 'off',
'prom_supported': 'yes',
'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
'rx_filter_mode': 'hardware match',
'rx_queue': 'off',
'speed': 40.0,
'src_ipv4': '-',
'src_mac': '3c:fd:fe:9d:1c:f8',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
22/10/2020 16:13:22 pktgen: trex port <0> not support flow control
22/10/2020 16:13:22 pktgen: trex packet generator: run traffic 5s to warm up ...
22/10/2020 16:13:22 pktgen: check the trex port link status
22/10/2020 16:13:22 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:d1',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:9d:1c:f9',
'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:82:00.1',
'prom': 'on',
'prom_supported': 'yes',
'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
'rx_filter_mode': 'hardware match',
'rx_queue': 'off',
'speed': 40.0,
'src_ipv4': '-',
'src_mac': '3c:fd:fe:9d:1c:f9',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
22/10/2020 16:13:22 pktgen: begin traffic ......
22/10/2020 16:13:22 pktgen: {'ports': [1], 'mult': '100%', 'core_mask': None, 'force': True}
22/10/2020 16:13:27 pktgen: traffic completed.
22/10/2020 16:13:27 pktgen: check the trex port link status
22/10/2020 16:13:27 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:d1',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:9d:1c:f9',
'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:82:00.1',
'prom': 'on',
'prom_supported': 'yes',
'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
'rx_filter_mode': 'hardware match',
'rx_queue': 'off',
'speed': 40.0,
'src_ipv4': '-',
'src_mac': '3c:fd:fe:9d:1c:f9',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
22/10/2020 16:13:27 pktgen: begin traffic ......
22/10/2020 16:13:27 pktgen: {'ports': [1], 'mult': '100%', 'core_mask': None, 'force': True}
22/10/2020 16:13:37 pktgen: begin get port statistic ...
22/10/2020 16:13:37 pktgen: {'options': {'fields_config': {'ip': {'dst': {'action': 'random',
'end': '192.168.2.64',
'start': '192.168.2.1',
'step': 1}}},
'pcap': '/tmp/af_xdp_2_1_64.pcap',
'stream_config': {'rate': 100,
'transmit_mode': 'continuous',
'txmode': {}}},
'pcap_file': '/tmp/af_xdp_2_1_64.pcap',
'rx_port': 1,
'tx_port': 1}
22/10/2020 16:13:37 pktgen: {0: {'ibytes': 74,
'ierrors': 0,
'ipackets': 1,
'obytes': 0,
'oerrors': 0,
'opackets': 0,
'rx_bps': 311.8446350097656,
'rx_bps_L1': 408.91178131103516,
'rx_pps': 0.6066696643829346,
'rx_util': 1.022279453277588e-06,
'tx_bps': 953537.1875,
'tx_bps_L1': 1251517.1875,
'tx_pps': 1862.375,
'tx_util': 0.00312879296875},
1: {'ibytes': 7789248,
'ierrors': 0,
'ipackets': 121707,
'obytes': 27319074560,
'oerrors': 0,
'opackets': 426860592,
'rx_bps': 6217593.0,
'rx_bps_L1': 8160590.8125,
'rx_pps': 12143.736328125,
'rx_util': 0.02040147703125,
'tx_bps': 21853331456.0,
'tx_bps_L1': 28682498176.0,
'tx_pps': 42682292.0,
'tx_util': 71.70624544},
'flow_stats': {},
'global': {'bw_per_core': 4.3795671463012695,
'cpu_util': 99.8011245727539,
'queue_full': 52653736,
'rx_bps': 6217905.0,
'rx_cpu_util': 0.0,
'rx_drop_bps': 21848066048.0,
'rx_pps': 12144.3427734375,
'tx_bps': 21854285824.0,
'tx_pps': 42684156.0},
'latency': {},
'total': {'ibytes': 7789322,
'ierrors': 0,
'ipackets': 121708,
'obytes': 27319074560,
'oerrors': 0,
'opackets': 426860592,
'rx_bps': 6217904.84463501,
'rx_bps_L1': 8160999.724281311,
'rx_pps': 12144.342997789383,
'rx_util': 0.020402499310703277,
'tx_bps': 21854284993.1875,
'tx_bps_L1': 28683749693.1875,
'tx_pps': 42684154.375,
'tx_util': 71.70937423296876}}
22/10/2020 16:13:37 pktgen: {'ibytes': 7789248,
'ierrors': 0,
'ipackets': 121707,
'obytes': 27319074560,
'oerrors': 0,
'opackets': 426860592,
'rx_bps': 6217593.0,
'rx_bps_L1': 8160590.8125,
'rx_pps': 12143.736328125,
'rx_util': 0.02040147703125,
'tx_bps': 21853331456.0,
'tx_bps_L1': 28682498176.0,
'tx_pps': 42682292.0,
'tx_util': 71.70624544}
22/10/2020 16:13:37 pktgen: Tx Port 1 stats:
tx_port: 1, tx_bps: 21853331456.000000, tx_pps: 42682292.000000
22/10/2020 16:13:37 pktgen: {'ibytes': 7789248,
'ierrors': 0,
'ipackets': 121707,
'obytes': 27319074560,
'oerrors': 0,
'opackets': 426860592,
'rx_bps': 6217593.0,
'rx_bps_L1': 8160590.8125,
'rx_pps': 12143.736328125,
'rx_util': 0.02040147703125,
'tx_bps': 21853331456.0,
'tx_bps_L1': 28682498176.0,
'tx_pps': 42682292.0,
'tx_util': 71.70624544}
22/10/2020 16:13:37 pktgen: Rx Port 1 stats:
rx_port: 1, rx_bps: 6217593.000000, rx_pps: 12143.736328
22/10/2020 16:13:37 pktgen: throughput: pps_rx 12143.736328, bps_rx 6217593.000000
22/10/2020 16:13:37 pktgen: traffic completed.
22/10/2020 16:13:37 dut.10.240.183.99: stop
22/10/2020 16:13:38 dut.10.240.183.99:
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
----------------------------------------------------------------------------
---------------------- Forward statistics for port 1 ----------------------
RX-packets: 181372 RX-dropped: 227014875 RX-total: 227196247
TX-packets: 181372 TX-dropped: 0 TX-total: 181372
----------------------------------------------------------------------------
+++++++++++++++ Accumulated forward statistics for all ports+++++++++++++++
RX-packets: 181372 RX-dropped: 227014875 RX-total: 227196247
TX-packets: 181372 TX-dropped: 0 TX-total: 181372
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Done.
22/10/2020 16:13:38 dut.10.240.183.99: start
22/10/2020 16:13:38 dut.10.240.183.99:
io packet forwarding - ports=2 - cores=2 - streams=2 - NUMA support enabled, MP allocation mode: native
Logical Core 33 (socket 1) forwards packets on 1 streams:
RX P=0/Q=0 (socket 1) -> TX P=0/Q=0 (socket 1) peer=02:00:00:00:00:00
Logical Core 34 (socket 1) forwards packets on 1 streams:
RX P=1/Q=0 (socket 1) -> TX P=1/Q=0 (socket 1) peer=02:00:00:00:00:01
io packet forwarding packets/burst=32
nb forwarding cores=2 - nb forwarding ports=2
port 0: RX queue number: 1 Tx queue number: 1
Rx offloads=0x0 Tx offloads=0x0
RX queue: 0
RX desc=0 - RX free threshold=0
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0x0
TX queue: 0
TX desc=0 - TX free threshold=0
TX threshold registers: pthresh=0 hthresh=0 wthresh=0
TX offloads=0x0 - TX RS bit threshold=0
port 1: RX queue number: 1 Tx queue number: 1
Rx offloads=0x0 Tx offloads=0x0
RX queue: 0
RX desc=0 - RX free threshold=0
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0x0
TX queue: 0
TX desc=0 - TX free threshold=0
TX threshold registers: pthresh=0 hthresh=0 wthresh=0
TX offloads=0x0 - TX RS bit threshold=0
22/10/2020 16:13:38 TestAfXdp: Running test test_perf_two_port_and_same_irqs, and 128 frame size.
22/10/2020 16:13:38 pktgen: test port 0 map gen port 0
22/10/2020 16:13:38 pktgen: test port 0 map gen port 0
22/10/2020 16:13:38 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:d0',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:9d:1c:f8',
'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:82:00.0',
'prom': 'off',
'prom_supported': 'yes',
'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
'rx_filter_mode': 'hardware match',
'rx_queue': 'off',
'speed': 40.0,
'src_ipv4': '-',
'src_mac': '3c:fd:fe:9d:1c:f8',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
22/10/2020 16:13:38 pktgen: trex port <0> not support flow control
22/10/2020 16:13:38 pktgen: trex packet generator: run traffic 5s to warm up ...
22/10/2020 16:13:38 pktgen: check the trex port link status
22/10/2020 16:13:38 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:d0',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:9d:1c:f8',
'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:82:00.0',
'prom': 'on',
'prom_supported': 'yes',
'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
'rx_filter_mode': 'hardware match',
'rx_queue': 'off',
'speed': 40.0,
'src_ipv4': '-',
'src_mac': '3c:fd:fe:9d:1c:f8',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
22/10/2020 16:13:38 pktgen: begin traffic ......
22/10/2020 16:13:38 pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
22/10/2020 16:13:43 pktgen: traffic completed.
22/10/2020 16:13:43 pktgen: check the trex port link status
22/10/2020 16:13:43 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:d0',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:9d:1c:f8',
'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:82:00.0',
'prom': 'on',
'prom_supported': 'yes',
'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
'rx_filter_mode': 'hardware match',
'rx_queue': 'off',
'speed': 40.0,
'src_ipv4': '-',
'src_mac': '3c:fd:fe:9d:1c:f8',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
22/10/2020 16:13:43 pktgen: begin traffic ......
22/10/2020 16:13:43 pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
22/10/2020 16:13:53 pktgen: begin get port statistic ...
22/10/2020 16:13:53 pktgen: {'options': {'fields_config': {'ip': {'dst': {'action': 'random',
'end': '192.168.1.64',
'start': '192.168.1.1',
'step': 1}}},
'pcap': '/tmp/af_xdp_2_0_128.pcap',
'stream_config': {'rate': 100,
'transmit_mode': 'continuous',
'txmode': {}}},
'pcap_file': '/tmp/af_xdp_2_0_128.pcap',
'rx_port': 0,
'tx_port': 0}
22/10/2020 16:13:53 pktgen: {0: {'ibytes': 15579776,
'ierrors': 0,
'ipackets': 121717,
'obytes': 43289716224,
'oerrors': 0,
'opackets': 338200951,
'rx_bps': 12457946.0,
'rx_bps_L1': 14404500.21875,
'rx_pps': 12165.9638671875,
'rx_util': 0.036011250546875005,
'tx_bps': 34645352448.0,
'tx_bps_L1': 40058688768.0,
'tx_pps': 33833352.0,
'tx_util': 100.14672192},
1: {'ibytes': 0,
'ierrors': 0,
'ipackets': 0,
'obytes': 0,
'oerrors': 0,
'opackets': 0,
'rx_bps': 296.9510498046875,
'rx_bps_L1': 389.7207202911377,
'rx_pps': 0.5798104405403137,
'rx_util': 9.743018007278443e-07,
'tx_bps': 920473.0625,
'tx_bps_L1': 1208120.66015625,
'tx_pps': 1797.7974853515625,
'tx_util': 0.003020301650390625},
'flow_stats': {},
'global': {'bw_per_core': 16.393129348754883,
'cpu_util': 42.269264221191406,
'queue_full': 135621,
'rx_bps': 12458242.0,
'rx_cpu_util': 0.0,
'rx_drop_bps': 34633818112.0,
'rx_pps': 12166.5439453125,
'tx_bps': 34646274048.0,
'tx_pps': 33835148.0},
'latency': {},
'total': {'ibytes': 15579776,
'ierrors': 0,
'ipackets': 121717,
'obytes': 43289716224,
'oerrors': 0,
'opackets': 338200951,
'rx_bps': 12458242.951049805,
'rx_bps_L1': 14404889.939470291,
'rx_pps': 12166.54367762804,
'rx_util': 0.036012224848675736,
'tx_bps': 34646272921.0625,
'tx_bps_L1': 40059896888.66016,
'tx_pps': 33835149.79748535,
'tx_util': 100.1497422216504}}
22/10/2020 16:13:53 pktgen: {'ibytes': 15579776,
'ierrors': 0,
'ipackets': 121717,
'obytes': 43289716224,
'oerrors': 0,
'opackets': 338200951,
'rx_bps': 12457946.0,
'rx_bps_L1': 14404500.21875,
'rx_pps': 12165.9638671875,
'rx_util': 0.036011250546875005,
'tx_bps': 34645352448.0,
'tx_bps_L1': 40058688768.0,
'tx_pps': 33833352.0,
'tx_util': 100.14672192}
22/10/2020 16:13:53 pktgen: Tx Port 0 stats:
tx_port: 0, tx_bps: 34645352448.000000, tx_pps: 33833352.000000
22/10/2020 16:13:53 pktgen: {'ibytes': 15579776,
'ierrors': 0,
'ipackets': 121717,
'obytes': 43289716224,
'oerrors': 0,
'opackets': 338200951,
'rx_bps': 12457946.0,
'rx_bps_L1': 14404500.21875,
'rx_pps': 12165.9638671875,
'rx_util': 0.036011250546875005,
'tx_bps': 34645352448.0,
'tx_bps_L1': 40058688768.0,
'tx_pps': 33833352.0,
'tx_util': 100.14672192}
22/10/2020 16:13:53 pktgen: Rx Port 0 stats:
rx_port: 0, rx_bps: 12457946.000000, rx_pps: 12165.963867
22/10/2020 16:13:53 pktgen: throughput: pps_rx 12165.963867, bps_rx 12457946.000000
22/10/2020 16:13:53 pktgen: traffic completed.
22/10/2020 16:13:53 dut.10.240.183.99: stop
22/10/2020 16:13:53 dut.10.240.183.99:
Telling cores to ...
Waiting for lcores to finish...
---------------------- Forward statistics for port 0 ----------------------
RX-packets: 187145 RX-dropped: 41167459 RX-total: 41354604
TX-packets: 187145 TX-dropped: 0 TX-total: 187145
----------------------------------------------------------------------------
---------------------- Forward statistics for port 1 ----------------------
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: 187145 RX-dropped: 41167459 RX-total: 41354604
TX-packets: 187145 TX-dropped: 0 TX-total: 187145
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Done.
22/10/2020 16:13:53 dut.10.240.183.99: start
22/10/2020 16:13:53 dut.10.240.183.99:
io packet forwarding - ports=2 - cores=2 - streams=2 - NUMA support enabled, MP allocation mode: native
Logical Core 33 (socket 1) forwards packets on 1 streams:
RX P=0/Q=0 (socket 1) -> TX P=0/Q=0 (socket 1) peer=02:00:00:00:00:00
Logical Core 34 (socket 1) forwards packets on 1 streams:
RX P=1/Q=0 (socket 1) -> TX P=1/Q=0 (socket 1) peer=02:00:00:00:00:01
io packet forwarding packets/burst=32
nb forwarding cores=2 - nb forwarding ports=2
port 0: RX queue number: 1 Tx queue number: 1
Rx offloads=0x0 Tx offloads=0x0
RX queue: 0
RX desc=0 - RX free threshold=0
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0x0
TX queue: 0
TX desc=0 - TX free threshold=0
TX threshold registers: pthresh=0 hthresh=0 wthresh=0
TX offloads=0x0 - TX RS bit threshold=0
port 1: RX queue number: 1 Tx queue number: 1
Rx offloads=0x0 Tx offloads=0x0
RX queue: 0
RX desc=0 - RX free threshold=0
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0x0
TX queue: 0
TX desc=0 - TX free threshold=0
TX threshold registers: pthresh=0 hthresh=0 wthresh=0
TX offloads=0x0 - TX RS bit threshold=0
22/10/2020 16:13:53 pktgen: test port 1 map gen port 1
22/10/2020 16:13:53 pktgen: test port 1 map gen port 1
22/10/2020 16:13:53 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:d0',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:9d:1c:f8',
'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:82:00.0',
'prom': 'off',
'prom_supported': 'yes',
'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
'rx_filter_mode': 'hardware match',
'rx_queue': 'off',
'speed': 40.0,
'src_ipv4': '-',
'src_mac': '3c:fd:fe:9d:1c:f8',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
22/10/2020 16:13:53 pktgen: trex port <0> not support flow control
22/10/2020 16:13:53 pktgen: trex packet generator: run traffic 5s to warm up ...
22/10/2020 16:13:53 pktgen: check the trex port link status
22/10/2020 16:13:53 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:d1',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:9d:1c:f9',
'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:82:00.1',
'prom': 'on',
'prom_supported': 'yes',
'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
'rx_filter_mode': 'hardware match',
'rx_queue': 'off',
'speed': 40.0,
'src_ipv4': '-',
'src_mac': '3c:fd:fe:9d:1c:f9',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
22/10/2020 16:13:53 pktgen: begin traffic ......
22/10/2020 16:13:53 pktgen: {'ports': [1], 'mult': '100%', 'core_mask': None, 'force': True}
22/10/2020 16:13:58 pktgen: traffic completed.
22/10/2020 16:13:58 pktgen: check the trex port link status
22/10/2020 16:13:58 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:d1',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:9d:1c:f9',
'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:82:00.1',
'prom': 'on',
'prom_supported': 'yes',
'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
'rx_filter_mode': 'hardware match',
'rx_queue': 'off',
'speed': 40.0,
'src_ipv4': '-',
'src_mac': '3c:fd:fe:9d:1c:f9',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
22/10/2020 16:13:58 pktgen: begin traffic ......
22/10/2020 16:13:58 pktgen: {'ports': [1], 'mult': '100%', 'core_mask': None, 'force': True}
22/10/2020 16:14:08 pktgen: begin get port statistic ...
22/10/2020 16:14:08 pktgen: {'options': {'fields_config': {'ip': {'dst': {'action': 'random',
'end': '192.168.2.64',
'start': '192.168.2.1',
'step': 1}}},
'pcap': '/tmp/af_xdp_2_1_128.pcap',
'stream_config': {'rate': 100,
'transmit_mode': 'continuous',
'txmode': {}}},
'pcap_file': '/tmp/af_xdp_2_1_128.pcap',
'rx_port': 1,
'tx_port': 1}
22/10/2020 16:14:08 pktgen: {0: {'ibytes': 111,
'ierrors': 0,
'ipackets': 1,
'obytes': 0,
'oerrors': 0,
'opackets': 0,
'rx_bps': 595.832763671875,
'rx_bps_L1': 689.5826778411865,
'rx_pps': 0.585936963558197,
'rx_util': 1.7239566946029663e-06,
'tx_bps': 1394485.875,
'tx_bps_L1': 1612374.0976562502,
'tx_pps': 1361.8013916015625,
'tx_util': 0.0040309352441406255},
1: {'ibytes': 15559023,
'ierrors': 0,
'ipackets': 121555,
'obytes': 43288999296,
'oerrors': 0,
'opackets': 338195350,
'rx_bps': 12458200.0,
'rx_bps_L1': 14404795.15625,
'rx_pps': 12166.2197265625,
'rx_util': 0.036011987890625,
'tx_bps': 34641207296.0,
'tx_bps_L1': 40053895296.0,
'tx_pps': 33829300.0,
'tx_util': 100.13473824},
'flow_stats': {},
'global': {'bw_per_core': 17.02300262451172,
'cpu_util': 40.700927734375,
'queue_full': 142678,
'rx_bps': 12458796.0,
'rx_cpu_util': 0.0,
'rx_drop_bps': 34630144000.0,
'rx_pps': 12166.8056640625,
'tx_bps': 34642599936.0,
'tx_pps': 33830660.0},
'latency': {},
'total': {'ibytes': 15559134,
'ierrors': 0,
'ipackets': 121556,
'obytes': 43288999296,
'oerrors': 0,
'opackets': 338195350,
'rx_bps': 12458795.832763672,
'rx_bps_L1': 14405484.738927841,
'rx_pps': 12166.805663526058,
'rx_util': 0.0360137118473196,
'tx_bps': 34642601781.875,
'tx_bps_L1': 40055507670.09766,
'tx_pps': 33830661.8013916,
'tx_util': 100.13876917524415}}
22/10/2020 16:14:08 pktgen: {'ibytes': 15559023,
'ierrors': 0,
'ipackets': 121555,
'obytes': 43288999296,
'oerrors': 0,
'opackets': 338195350,
'rx_bps': 12458200.0,
'rx_bps_L1': 14404795.15625,
'rx_pps': 12166.2197265625,
'rx_util': 0.036011987890625,
'tx_bps': 34641207296.0,
'tx_bps_L1': 40053895296.0,
'tx_pps': 33829300.0,
'tx_util': 100.13473824}
22/10/2020 16:14:08 pktgen: Tx Port 1 stats:
tx_port: 1, tx_bps: 34641207296.000000, tx_pps: 33829300.000000
22/10/2020 16:14:08 pktgen: {'ibytes': 15559023,
'ierrors': 0,
'ipackets': 121555,
'obytes': 43288999296,
'oerrors': 0,
'opackets': 338195350,
'rx_bps': 12458200.0,
'rx_bps_L1': 14404795.15625,
'rx_pps': 12166.2197265625,
'rx_util': 0.036011987890625,
'tx_bps': 34641207296.0,
'tx_bps_L1': 40053895296.0,
'tx_pps': 33829300.0,
'tx_util': 100.13473824}
22/10/2020 16:14:08 pktgen: Rx Port 1 stats:
rx_port: 1, rx_bps: 12458200.000000, rx_pps: 12166.219727
22/10/2020 16:14:08 pktgen: throughput: pps_rx 12166.219727, bps_rx 12458200.000000
22/10/2020 16:14:08 pktgen: traffic completed.
22/10/2020 16:14:08 dut.10.240.183.99: stop
22/10/2020 16:14:08 dut.10.240.183.99:
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
----------------------------------------------------------------------------
---------------------- Forward statistics for port 1 ----------------------
RX-packets: 186002 RX-dropped: 224408430 RX-total: 224594432
TX-packets: 186002 TX-dropped: 0 TX-total: 186002
----------------------------------------------------------------------------
+++++++++++++++ Accumulated forward statistics for all ports+++++++++++++++
RX-packets: 186002 RX-dropped: 224408430 RX-total: 224594432
TX-packets: 186002 TX-dropped: 0 TX-total: 186002
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Done.
22/10/2020 16:14:08 dut.10.240.183.99: start
22/10/2020 16:14:08 dut.10.240.183.99:
io packet forwarding - ports=2 - cores=2 - streams=2 - NUMA support enabled, MP allocation mode: native
Logical Core 33 (socket 1) forwards packets on 1 streams:
RX P=0/Q=0 (socket 1) -> TX P=0/Q=0 (socket 1) peer=02:00:00:00:00:00
Logical Core 34 (socket 1) forwards packets on 1 streams:
RX P=1/Q=0 (socket 1) -> TX P=1/Q=0 (socket 1) peer=02:00:00:00:00:01
io packet forwarding packets/burst=32
nb forwarding cores=2 - nb forwarding ports=2
port 0: RX queue number: 1 Tx queue number: 1
Rx offloads=0x0 Tx offloads=0x0
RX queue: 0
RX desc=0 - RX free threshold=0
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0x0
TX queue: 0
TX desc=0 - TX free threshold=0
TX threshold registers: pthresh=0 hthresh=0 wthresh=0
TX offloads=0x0 - TX RS bit threshold=0
port 1: RX queue number: 1 Tx queue number: 1
Rx offloads=0x0 Tx offloads=0x0
RX queue: 0
RX desc=0 - RX free threshold=0
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0x0
TX queue: 0
TX desc=0 - TX free threshold=0
TX threshold registers: pthresh=0 hthresh=0 wthresh=0
TX offloads=0x0 - TX RS bit threshold=0
22/10/2020 16:14:08 TestAfXdp: Running test test_perf_two_port_and_same_irqs, and 256 frame size.
22/10/2020 16:14:08 pktgen: test port 0 map gen port 0
22/10/2020 16:14:08 pktgen: test port 0 map gen port 0
22/10/2020 16:14:08 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:d0',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:9d:1c:f8',
'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:82:00.0',
'prom': 'off',
'prom_supported': 'yes',
'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
'rx_filter_mode': 'hardware match',
'rx_queue': 'off',
'speed': 40.0,
'src_ipv4': '-',
'src_mac': '3c:fd:fe:9d:1c:f8',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
22/10/2020 16:14:08 pktgen: trex port <0> not support flow control
22/10/2020 16:14:08 pktgen: trex packet generator: run traffic 5s to warm up ...
22/10/2020 16:14:08 pktgen: check the trex port link status
22/10/2020 16:14:08 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:d0',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:9d:1c:f8',
'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:82:00.0',
'prom': 'on',
'prom_supported': 'yes',
'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
'rx_filter_mode': 'hardware match',
'rx_queue': 'off',
'speed': 40.0,
'src_ipv4': '-',
'src_mac': '3c:fd:fe:9d:1c:f8',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
22/10/2020 16:14:08 pktgen: begin traffic ......
22/10/2020 16:14:08 pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
22/10/2020 16:14:13 pktgen: traffic completed.
22/10/2020 16:14:13 pktgen: check the trex port link status
22/10/2020 16:14:13 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:d0',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:9d:1c:f8',
'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:82:00.0',
'prom': 'on',
'prom_supported': 'yes',
'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
'rx_filter_mode': 'hardware match',
'rx_queue': 'off',
'speed': 40.0,
'src_ipv4': '-',
'src_mac': '3c:fd:fe:9d:1c:f8',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
22/10/2020 16:14:13 pktgen: begin traffic ......
22/10/2020 16:14:13 pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
22/10/2020 16:14:23 pktgen: begin get port statistic ...
22/10/2020 16:14:23 pktgen: {'options': {'fields_config': {'ip': {'dst': {'action': 'random',
'end': '192.168.1.64',
'start': '192.168.1.1',
'step': 1}}},
'pcap': '/tmp/af_xdp_2_0_256.pcap',
'stream_config': {'rate': 100,
'transmit_mode': 'continuous',
'txmode': {}}},
'pcap_file': '/tmp/af_xdp_2_0_256.pcap',
'rx_port': 0,
'tx_port': 0}
22/10/2020 16:14:23 pktgen: {0: {'ibytes': 521069056,
'ierrors': 0,
'ipackets': 2035426,
'obytes': 16103928576,
'oerrors': 0,
'opackets': 62905974,
'rx_bps': 444662784.0,
'rx_bps_L1': 479402064.0,
'rx_pps': 217120.5,
'rx_util': 1.1985051599999998,
'tx_bps': 12595235840.0,
'tx_bps_L1': 13579238880.000002,
'tx_pps': 6150019.0,
'tx_util': 33.94809720000001},
1: {'ibytes': 0,
'ierrors': 0,
'ipackets': 0,
'obytes': 0,
'oerrors': 0,
'opackets': 0,
'rx_bps': 541.568603515625,
'rx_bps_L1': 626.2010097503662,
'rx_pps': 0.5289525389671326,
'rx_util': 1.5655025243759157e-06,
'tx_bps': 1326944.375,
'tx_bps_L1': 1534279.21875,
'tx_pps': 1295.8427734375,
'tx_util': 0.003835698046875},
'flow_stats': {},
'global': {'bw_per_core': 2.570821762084961,
'cpu_util': 97.99639892578125,
'queue_full': 89505831,
'rx_bps': 444663328.0,
'rx_cpu_util': 0.0,
'rx_drop_bps': 12151900160.0,
'rx_pps': 217121.03125,
'tx_bps': 12596563968.0,
'tx_pps': 6151315.0},
'latency': {},
'total': {'ibytes': 521069056,
'ierrors': 0,
'ipackets': 2035426,
'obytes': 16103928576,
'oerrors': 0,
'opackets': 62905974,
'rx_bps': 444663325.5686035,
'rx_bps_L1': 479402690.20100975,
'rx_pps': 217121.02895253897,
'rx_util': 1.1985067255025241,
'tx_bps': 12596562784.375,
'tx_bps_L1': 13580773159.218752,
'tx_pps': 6151314.8427734375,
'tx_util': 33.951932898046884}}
22/10/2020 16:14:23 pktgen: {'ibytes': 521069056,
'ierrors': 0,
'ipackets': 2035426,
'obytes': 16103928576,
'oerrors': 0,
'opackets': 62905974,
'rx_bps': 444662784.0,
'rx_bps_L1': 479402064.0,
'rx_pps': 217120.5,
'rx_util': 1.1985051599999998,
'tx_bps': 12595235840.0,
'tx_bps_L1': 13579238880.000002,
'tx_pps': 6150019.0,
'tx_util': 33.94809720000001}
22/10/2020 16:14:23 pktgen: Tx Port 0 stats:
tx_port: 0, tx_bps: 12595235840.000000, tx_pps: 6150019.000000
22/10/2020 16:14:23 pktgen: {'ibytes': 521069056,
'ierrors': 0,
'ipackets': 2035426,
'obytes': 16103928576,
'oerrors': 0,
'opackets': 62905974,
'rx_bps': 444662784.0,
'rx_bps_L1': 479402064.0,
'rx_pps': 217120.5,
'rx_util': 1.1985051599999998,
'tx_bps': 12595235840.0,
'tx_bps_L1': 13579238880.000002,
'tx_pps': 6150019.0,
'tx_util': 33.94809720000001}
22/10/2020 16:14:23 pktgen: Rx Port 0 stats:
rx_port: 0, rx_bps: 444662784.000000, rx_pps: 217120.500000
22/10/2020 16:14:23 pktgen: throughput: pps_rx 217120.500000, bps_rx 444662784.000000
22/10/2020 16:14:23 pktgen: traffic completed.
22/10/2020 16:14:23 dut.10.240.183.99: stop
22/10/2020 16:14:23 dut.10.240.183.99:
Telling cores to ...
Waiting for lcores to finish...
---------------------- Forward statistics for port 0 ----------------------
RX-packets: 3005163 RX-dropped: 42927201 RX-total: 45932364
TX-packets: 3005163 TX-dropped: 0 TX-total: 3005163
----------------------------------------------------------------------------
---------------------- Forward statistics for port 1 ----------------------
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: 3005163 RX-dropped: 42927201 RX-total: 45932364
TX-packets: 3005163 TX-dropped: 0 TX-total: 3005163
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Done.
22/10/2020 16:14:23 dut.10.240.183.99: start
22/10/2020 16:14:24 dut.10.240.183.99:
io packet forwarding - ports=2 - cores=2 - streams=2 - NUMA support enabled, MP allocation mode: native
Logical Core 33 (socket 1) forwards packets on 1 streams:
RX P=0/Q=0 (socket 1) -> TX P=0/Q=0 (socket 1) peer=02:00:00:00:00:00
Logical Core 34 (socket 1) forwards packets on 1 streams:
RX P=1/Q=0 (socket 1) -> TX P=1/Q=0 (socket 1) peer=02:00:00:00:00:01
io packet forwarding packets/burst=32
nb forwarding cores=2 - nb forwarding ports=2
port 0: RX queue number: 1 Tx queue number: 1
Rx offloads=0x0 Tx offloads=0x0
RX queue: 0
RX desc=0 - RX free threshold=0
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0x0
TX queue: 0
TX desc=0 - TX free threshold=0
TX threshold registers: pthresh=0 hthresh=0 wthresh=0
TX offloads=0x0 - TX RS bit threshold=0
port 1: RX queue number: 1 Tx queue number: 1
Rx offloads=0x0 Tx offloads=0x0
RX queue: 0
RX desc=0 - RX free threshold=0
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0x0
TX queue: 0
TX desc=0 - TX free threshold=0
TX threshold registers: pthresh=0 hthresh=0 wthresh=0
TX offloads=0x0 - TX RS bit threshold=0
22/10/2020 16:14:24 pktgen: test port 1 map gen port 1
22/10/2020 16:14:24 pktgen: test port 1 map gen port 1
22/10/2020 16:14:24 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:d0',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:9d:1c:f8',
'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:82:00.0',
'prom': 'off',
'prom_supported': 'yes',
'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
'rx_filter_mode': 'hardware match',
'rx_queue': 'off',
'speed': 40.0,
'src_ipv4': '-',
'src_mac': '3c:fd:fe:9d:1c:f8',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
22/10/2020 16:14:24 pktgen: trex port <0> not support flow control
22/10/2020 16:14:24 pktgen: trex packet generator: run traffic 5s to warm up ...
22/10/2020 16:14:24 pktgen: check the trex port link status
22/10/2020 16:14:24 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:d1',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:9d:1c:f9',
'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:82:00.1',
'prom': 'on',
'prom_supported': 'yes',
'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
'rx_filter_mode': 'hardware match',
'rx_queue': 'off',
'speed': 40.0,
'src_ipv4': '-',
'src_mac': '3c:fd:fe:9d:1c:f9',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
22/10/2020 16:14:24 pktgen: begin traffic ......
22/10/2020 16:14:24 pktgen: {'ports': [1], 'mult': '100%', 'core_mask': None, 'force': True}
22/10/2020 16:14:29 pktgen: traffic completed.
22/10/2020 16:14:29 pktgen: check the trex port link status
22/10/2020 16:14:29 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:d1',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:9d:1c:f9',
'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:82:00.1',
'prom': 'on',
'prom_supported': 'yes',
'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
'rx_filter_mode': 'hardware match',
'rx_queue': 'off',
'speed': 40.0,
'src_ipv4': '-',
'src_mac': '3c:fd:fe:9d:1c:f9',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
22/10/2020 16:14:29 pktgen: begin traffic ......
22/10/2020 16:14:29 pktgen: {'ports': [1], 'mult': '100%', 'core_mask': None, 'force': True}
22/10/2020 16:14:39 pktgen: begin get port statistic ...
22/10/2020 16:14:39 pktgen: {'options': {'fields_config': {'ip': {'dst': {'action': 'random',
'end': '192.168.2.64',
'start': '192.168.2.1',
'step': 1}}},
'pcap': '/tmp/af_xdp_2_1_256.pcap',
'stream_config': {'rate': 100,
'transmit_mode': 'continuous',
'txmode': {}}},
'pcap_file': '/tmp/af_xdp_2_1_256.pcap',
'rx_port': 1,
'tx_port': 1}
22/10/2020 16:14:39 pktgen: {0: {'ibytes': 0,
'ierrors': 0,
'ipackets': 0,
'obytes': 0,
'oerrors': 0,
'opackets': 0,
'rx_bps': 16560.65625,
'rx_bps_L1': 17854.45751953125,
'rx_pps': 8.086257934570312,
'rx_util': 4.463614379882813e-05,
'tx_bps': 464124.5625,
'tx_bps_L1': 500384.2524414062,
'tx_pps': 226.62306213378906,
'tx_util': 0.0012509606311035155},
1: {'ibytes': 2762739200,
'ierrors': 0,
'ipackets': 10791950,
'obytes': 16079010048,
'oerrors': 0,
'opackets': 62808639,
'rx_bps': 2227500032.0,
'rx_bps_L1': 2401523372.0,
'rx_pps': 1087645.875,
'rx_util': 6.00380843,
'tx_bps': 12518000640.0,
'tx_bps_L1': 13495969440.0,
'tx_pps': 6112305.0,
'tx_util': 33.7399236},
'flow_stats': {},
'global': {'bw_per_core': 2.5306272506713867,
'cpu_util': 98.9356689453125,
'queue_full': 89383559,
'rx_bps': 2227516672.0,
'rx_cpu_util': 0.0,
'rx_drop_bps': 10290948096.0,
'rx_pps': 1087654.0,
'tx_bps': 12518464512.0,
'tx_pps': 6112531.5},
'latency': {},
'total': {'ibytes': 2762739200,
'ierrors': 0,
'ipackets': 10791950,
'obytes': 16079010048,
'oerrors': 0,
'opackets': 62808639,
'rx_bps': 2227516592.65625,
'rx_bps_L1': 2401541226.4575195,
'rx_pps': 1087653.9612579346,
'rx_util': 6.003853066143799,
'tx_bps': 12518464764.5625,
'tx_bps_L1': 13496469824.252441,
'tx_pps': 6112531.623062134,
'tx_util': 33.7411745606311}}
22/10/2020 16:14:39 pktgen: {'ibytes': 2762739200,
'ierrors': 0,
'ipackets': 10791950,
'obytes': 16079010048,
'oerrors': 0,
'opackets': 62808639,
'rx_bps': 2227500032.0,
'rx_bps_L1': 2401523372.0,
'rx_pps': 1087645.875,
'rx_util': 6.00380843,
'tx_bps': 12518000640.0,
'tx_bps_L1': 13495969440.0,
'tx_pps': 6112305.0,
'tx_util': 33.7399236}
22/10/2020 16:14:39 pktgen: Tx Port 1 stats:
tx_port: 1, tx_bps: 12518000640.000000, tx_pps: 6112305.000000
22/10/2020 16:14:39 pktgen: {'ibytes': 2762739200,
'ierrors': 0,
'ipackets': 10791950,
'obytes': 16079010048,
'oerrors': 0,
'opackets': 62808639,
'rx_bps': 2227500032.0,
'rx_bps_L1': 2401523372.0,
'rx_pps': 1087645.875,
'rx_util': 6.00380843,
'tx_bps': 12518000640.0,
'tx_bps_L1': 13495969440.0,
'tx_pps': 6112305.0,
'tx_util': 33.7399236}
22/10/2020 16:14:39 pktgen: Rx Port 1 stats:
rx_port: 1, rx_bps: 2227500032.000000, rx_pps: 1087645.875000
22/10/2020 16:14:39 pktgen: throughput: pps_rx 1087645.875000, bps_rx 2227500032.000000
22/10/2020 16:14:39 pktgen: traffic completed.
22/10/2020 16:14:39 dut.10.240.183.99: stop
22/10/2020 16:14:39 dut.10.240.183.99:
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
----------------------------------------------------------------------------
---------------------- Forward statistics for port 1 ----------------------
RX-packets: 16115168 RX-dropped: 78774995 RX-total: 94890163
TX-packets: 16115168 TX-dropped: 0 TX-total: 16115168
----------------------------------------------------------------------------
+++++++++++++++ Accumulated forward statistics for all ports+++++++++++++++
RX-packets: 16115168 RX-dropped: 78774995 RX-total: 94890163
TX-packets: 16115168 TX-dropped: 0 TX-total: 16115168
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Done.
22/10/2020 16:14:39 dut.10.240.183.99: start
22/10/2020 16:14:39 dut.10.240.183.99:
io packet forwarding - ports=2 - cores=2 - streams=2 - NUMA support enabled, MP allocation mode: native
Logical Core 33 (socket 1) forwards packets on 1 streams:
RX P=0/Q=0 (socket 1) -> TX P=0/Q=0 (socket 1) peer=02:00:00:00:00:00
Logical Core 34 (socket 1) forwards packets on 1 streams:
RX P=1/Q=0 (socket 1) -> TX P=1/Q=0 (socket 1) peer=02:00:00:00:00:01
io packet forwarding packets/burst=32
nb forwarding cores=2 - nb forwarding ports=2
port 0: RX queue number: 1 Tx queue number: 1
Rx offloads=0x0 Tx offloads=0x0
RX queue: 0
RX desc=0 - RX free threshold=0
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0x0
TX queue: 0
TX desc=0 - TX free threshold=0
TX threshold registers: pthresh=0 hthresh=0 wthresh=0
TX offloads=0x0 - TX RS bit threshold=0
port 1: RX queue number: 1 Tx queue number: 1
Rx offloads=0x0 Tx offloads=0x0
RX queue: 0
RX desc=0 - RX free threshold=0
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0x0
TX queue: 0
TX desc=0 - TX free threshold=0
TX threshold registers: pthresh=0 hthresh=0 wthresh=0
TX offloads=0x0 - TX RS bit threshold=0
22/10/2020 16:14:39 TestAfXdp: Test Case test_perf_two_port_and_same_irqs Result FAILED: "The gap is too big btween two port's throughput"
22/10/2020 16:14:39 dut.10.240.183.99: quit
22/10/2020 16:14:40 dut.10.240.183.99:
Telling cores to stop...
Waiting for lcores to finish...
---------------------- Forward statistics for port 0 ----------------------
RX-packets: 0 RX-dropped: 0 RX-total: 0
TX-packets: 0 TX-dropped: 0 TX-total: 0
----------------------------------------------------------------------------
---------------------- Forward statistics for port 1 ----------------------
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.
Stopping port 0...
Stopping ports...
Done
Stopping port 1...
Stopping ports...
Done
Shutting down port 0...
Closing ports...
eth_dev_close(): Closing AF_XDP ethdev on numa socket 1
Port 0 is closed
Done
Shutting down port 1...
Closing ports...
eth_dev_close(): Closing AF_XDP ethdev on numa socket 1
Port 1 is closed
Done
Bye...
22/10/2020 16:14:40 TestAfXdp: Test Case test_perf_two_port_and_separate_irqs Begin
22/10/2020 16:14:40 dut.10.240.183.99:
22/10/2020 16:14:40 tester:
22/10/2020 16:14:40 dut.10.240.183.99: ethtool -L enp175s0f0 combined 1
22/10/2020 16:14:40 dut.10.240.183.99: Cannot set device channel parameters: Invalid argument
22/10/2020 16:14:40 dut.10.240.183.99: ethtool -L enp175s0f1 combined 1
22/10/2020 16:14:40 dut.10.240.183.99: combined unmodified, ignoring
no channel parameters changed.
current values: rx 0 tx 0 other 1 combined 1
22/10/2020 16:14:40 TestAfXdp: start testpmd
22/10/2020 16:14:40 dut.10.240.183.99: x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 32,33,34 -n 4 --file-prefix=dpdk_8836_20201022160458 --no-pci --vdev net_af_xdp0,iface=enp175s0f0 --vdev net_af_xdp1,iface=enp175s0f1 --log-level=pmd.net.af_xdp:8 -- -i --auto-start --nb-cores=2 --rxq=1 --txq=1 --port-topology=loop
22/10/2020 16:14:41 dut.10.240.183.99: EAL: Detected 72 lcore(s)
EAL: Detected 2 NUMA nodes
EAL: Multi-process socket /var/run/dpdk/dpdk_8836_20201022160458/mp_socket
EAL: Selected IOVA mode 'VA'
EAL: Probing VFIO support...
EAL: VFIO support initialized
rte_pmd_af_xdp_probe(): Initializing pmd_af_xdp for net_af_xdp0
init_internals(): Zero copy between umem and mbuf enabled.
rte_pmd_af_xdp_probe(): Initializing pmd_af_xdp for net_af_xdp1
init_internals(): Zero copy between umem and mbuf enabled.
Interactive-mode selected
Auto-start selected
testpmd: create a new mbuf pool <mb_pool_1>: n=163456, size=2176, socket=1
testpmd: preferred mempool ops selected: ring_mp_mc
Configuring Port 0 (socket 1)
eth_rx_queue_setup(): Set up rx queue, rx queue id: 0, xsk queue id: 0
Port 0: 3C:FD:FE:C8:19:D0
Configuring Port 1 (socket 1)
eth_rx_queue_setup(): Set up rx queue, rx queue id: 0, xsk queue id: 0
Port 1: 3C:FD:FE:C8:19:D1
Checking link statuses...
Done
Start automatic packet forwarding
io packet forwarding - ports=2 - cores=2 - streams=2 - NUMA support enabled, MP allocation mode: native
Logical Core 33 (socket 1) forwards packets on 1 streams:
RX P=0/Q=0 (socket 1) -> TX P=0/Q=0 (socket 1) peer=02:00:00:00:00:00
Logical Core 34 (socket 1) forwards packets on 1 streams:
RX P=1/Q=0 (socket 1) -> TX P=1/Q=0 (socket 1) peer=02:00:00:00:00:01
io packet forwarding packets/burst=32
nb forwarding cores=2 - nb forwarding ports=2
port 0: RX queue number: 1 Tx queue number: 1
Rx offloads=0x0 Tx offloads=0x0
RX queue: 0
RX desc=0 - RX free threshold=0
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0x0
TX queue: 0
TX desc=0 - TX free threshold=0
TX threshold registers: pthresh=0 hthresh=0 wthresh=0
TX offloads=0x0 - TX RS bit threshold=0
port 1: RX queue number: 1 Tx queue number: 1
Rx offloads=0x0 Tx offloads=0x0
RX queue: 0
RX desc=0 - RX free threshold=0
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0x0
TX queue: 0
TX desc=0 - TX free threshold=0
TX threshold registers: pthresh=0 hthresh=0 wthresh=0
TX offloads=0x0 - TX RS bit threshold=0
22/10/2020 16:14:44 TestAfXdp: Running test test_perf_two_port_and_separate_irqs, and 64 frame size.
22/10/2020 16:14:44 pktgen: test port 0 map gen port 0
22/10/2020 16:14:44 pktgen: test port 0 map gen port 0
22/10/2020 16:14:44 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:d0',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:9d:1c:f8',
'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:82:00.0',
'prom': 'off',
'prom_supported': 'yes',
'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
'rx_filter_mode': 'hardware match',
'rx_queue': 'off',
'speed': 40.0,
'src_ipv4': '-',
'src_mac': '3c:fd:fe:9d:1c:f8',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
22/10/2020 16:14:44 pktgen: trex port <0> not support flow control
22/10/2020 16:14:44 pktgen: trex packet generator: run traffic 5s to warm up ...
22/10/2020 16:14:44 pktgen: check the trex port link status
22/10/2020 16:14:44 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:d0',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:9d:1c:f8',
'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:82:00.0',
'prom': 'on',
'prom_supported': 'yes',
'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
'rx_filter_mode': 'hardware match',
'rx_queue': 'off',
'speed': 40.0,
'src_ipv4': '-',
'src_mac': '3c:fd:fe:9d:1c:f8',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
22/10/2020 16:14:44 pktgen: begin traffic ......
22/10/2020 16:14:44 pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
22/10/2020 16:14:49 pktgen: traffic completed.
22/10/2020 16:14:49 pktgen: check the trex port link status
22/10/2020 16:14:49 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:d0',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:9d:1c:f8',
'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:82:00.0',
'prom': 'on',
'prom_supported': 'yes',
'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
'rx_filter_mode': 'hardware match',
'rx_queue': 'off',
'speed': 40.0,
'src_ipv4': '-',
'src_mac': '3c:fd:fe:9d:1c:f8',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
22/10/2020 16:14:49 pktgen: begin traffic ......
22/10/2020 16:14:49 pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
22/10/2020 16:14:59 pktgen: begin get port statistic ...
22/10/2020 16:14:59 pktgen: {'options': {'fields_config': {'ip': {'dst': {'action': 'random',
'end': '192.168.1.64',
'start': '192.168.1.1',
'step': 1}}},
'pcap': '/tmp/af_xdp_2_0_64.pcap',
'stream_config': {'rate': 100,
'transmit_mode': 'continuous',
'txmode': {}}},
'pcap_file': '/tmp/af_xdp_2_0_64.pcap',
'rx_port': 0,
'tx_port': 0}
22/10/2020 16:14:59 pktgen: {0: {'ibytes': 970347904,
'ierrors': 0,
'ipackets': 15161688,
'obytes': 27325448640,
'oerrors': 0,
'opackets': 426960192,
'rx_bps': 776344448.0,
'rx_bps_L1': 1018952068.0000001,
'rx_pps': 1516297.625,
'rx_util': 2.5473801700000003,
'tx_bps': 21868437504.0,
'tx_bps_L1': 28702324224.0,
'tx_pps': 42711792.0,
'tx_util': 71.75581056},
1: {'ibytes': 0,
'ierrors': 0,
'ipackets': 0,
'obytes': 0,
'oerrors': 0,
'opackets': 0,
'rx_bps': 4953.70703125,
'rx_bps_L1': 5340.719779968262,
'rx_pps': 2.4188296794891357,
'rx_util': 1.3351799449920654e-05,
'tx_bps': 27788.091796875,
'tx_bps_L1': 29959.03448486328,
'tx_pps': 13.568391799926758,
'tx_util': 7.48975862121582e-05},
'flow_stats': {},
'global': {'bw_per_core': 4.430752754211426,
'cpu_util': 98.7121810913086,
'queue_full': 57269276,
'rx_bps': 776349376.0,
'rx_cpu_util': 0.0,
'rx_drop_bps': 21092114432.0,
'rx_pps': 1516300.0,
'tx_bps': 21868464128.0,
'tx_pps': 42711804.0},
'latency': {},
'total': {'ibytes': 970347904,
'ierrors': 0,
'ipackets': 15161688,
'obytes': 27325448640,
'oerrors': 0,
'opackets': 426960192,
'rx_bps': 776349401.7070312,
'rx_bps_L1': 1018957408.7197801,
'rx_pps': 1516300.0438296795,
'rx_util': 2.5473935217994503,
'tx_bps': 21868465292.091797,
'tx_bps_L1': 28702354183.034485,
'tx_pps': 42711805.5683918,
'tx_util': 71.75588545758622}}
22/10/2020 16:14:59 pktgen: {'ibytes': 970347904,
'ierrors': 0,
'ipackets': 15161688,
'obytes': 27325448640,
'oerrors': 0,
'opackets': 426960192,
'rx_bps': 776344448.0,
'rx_bps_L1': 1018952068.0000001,
'rx_pps': 1516297.625,
'rx_util': 2.5473801700000003,
'tx_bps': 21868437504.0,
'tx_bps_L1': 28702324224.0,
'tx_pps': 42711792.0,
'tx_util': 71.75581056}
22/10/2020 16:14:59 pktgen: Tx Port 0 stats:
tx_port: 0, tx_bps: 21868437504.000000, tx_pps: 42711792.000000
22/10/2020 16:14:59 pktgen: {'ibytes': 970347904,
'ierrors': 0,
'ipackets': 15161688,
'obytes': 27325448640,
'oerrors': 0,
'opackets': 426960192,
'rx_bps': 776344448.0,
'rx_bps_L1': 1018952068.0000001,
'rx_pps': 1516297.625,
'rx_util': 2.5473801700000003,
'tx_bps': 21868437504.0,
'tx_bps_L1': 28702324224.0,
'tx_pps': 42711792.0,
'tx_util': 71.75581056}
22/10/2020 16:14:59 pktgen: Rx Port 0 stats:
rx_port: 0, rx_bps: 776344448.000000, rx_pps: 1516297.625000
22/10/2020 16:14:59 pktgen: throughput: pps_rx 1516297.625000, bps_rx 776344448.000000
22/10/2020 16:14:59 pktgen: traffic completed.
22/10/2020 16:14:59 dut.10.240.183.99: stop
22/10/2020 16:14:59 dut.10.240.183.99:
Telling cores to ...
Waiting for lcores to finish...
---------------------- Forward statistics for port 0 ----------------------
RX-packets: 22703607 RX-dropped: 0 RX-total: 22703607
TX-packets: 22703607 TX-dropped: 0 TX-total: 22703607
----------------------------------------------------------------------------
---------------------- Forward statistics for port 1 ----------------------
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: 22703607 RX-dropped: 0 RX-total: 22703607
TX-packets: 22703607 TX-dropped: 0 TX-total: 22703607
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Done.
22/10/2020 16:14:59 dut.10.240.183.99: start
22/10/2020 16:14:59 dut.10.240.183.99:
io packet forwarding - ports=2 - cores=2 - streams=2 - NUMA support enabled, MP allocation mode: native
Logical Core 33 (socket 1) forwards packets on 1 streams:
RX P=0/Q=0 (socket 1) -> TX P=0/Q=0 (socket 1) peer=02:00:00:00:00:00
Logical Core 34 (socket 1) forwards packets on 1 streams:
RX P=1/Q=0 (socket 1) -> TX P=1/Q=0 (socket 1) peer=02:00:00:00:00:01
io packet forwarding packets/burst=32
nb forwarding cores=2 - nb forwarding ports=2
port 0: RX queue number: 1 Tx queue number: 1
Rx offloads=0x0 Tx offloads=0x0
RX queue: 0
RX desc=0 - RX free threshold=0
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0x0
TX queue: 0
TX desc=0 - TX free threshold=0
TX threshold registers: pthresh=0 hthresh=0 wthresh=0
TX offloads=0x0 - TX RS bit threshold=0
port 1: RX queue number: 1 Tx queue number: 1
Rx offloads=0x0 Tx offloads=0x0
RX queue: 0
RX desc=0 - RX free threshold=0
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0x0
TX queue: 0
TX desc=0 - TX free threshold=0
TX threshold registers: pthresh=0 hthresh=0 wthresh=0
TX offloads=0x0 - TX RS bit threshold=0
22/10/2020 16:14:59 pktgen: test port 1 map gen port 1
22/10/2020 16:14:59 pktgen: test port 1 map gen port 1
22/10/2020 16:14:59 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:d0',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:9d:1c:f8',
'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:82:00.0',
'prom': 'off',
'prom_supported': 'yes',
'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
'rx_filter_mode': 'hardware match',
'rx_queue': 'off',
'speed': 40.0,
'src_ipv4': '-',
'src_mac': '3c:fd:fe:9d:1c:f8',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
22/10/2020 16:14:59 pktgen: trex port <0> not support flow control
22/10/2020 16:14:59 pktgen: trex packet generator: run traffic 5s to warm up ...
22/10/2020 16:14:59 pktgen: check the trex port link status
22/10/2020 16:14:59 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:d1',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:9d:1c:f9',
'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:82:00.1',
'prom': 'on',
'prom_supported': 'yes',
'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
'rx_filter_mode': 'hardware match',
'rx_queue': 'off',
'speed': 40.0,
'src_ipv4': '-',
'src_mac': '3c:fd:fe:9d:1c:f9',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
22/10/2020 16:14:59 pktgen: begin traffic ......
22/10/2020 16:14:59 pktgen: {'ports': [1], 'mult': '100%', 'core_mask': None, 'force': True}
22/10/2020 16:15:04 pktgen: traffic completed.
22/10/2020 16:15:04 pktgen: check the trex port link status
22/10/2020 16:15:04 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:d1',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:9d:1c:f9',
'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:82:00.1',
'prom': 'on',
'prom_supported': 'yes',
'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
'rx_filter_mode': 'hardware match',
'rx_queue': 'off',
'speed': 40.0,
'src_ipv4': '-',
'src_mac': '3c:fd:fe:9d:1c:f9',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
22/10/2020 16:15:04 pktgen: begin traffic ......
22/10/2020 16:15:04 pktgen: {'ports': [1], 'mult': '100%', 'core_mask': None, 'force': True}
22/10/2020 16:15:14 pktgen: begin get port statistic ...
22/10/2020 16:15:14 pktgen: {'options': {'fields_config': {'ip': {'dst': {'action': 'random',
'end': '192.168.2.64',
'start': '192.168.2.1',
'step': 1}}},
'pcap': '/tmp/af_xdp_2_1_64.pcap',
'stream_config': {'rate': 100,
'transmit_mode': 'continuous',
'txmode': {}}},
'pcap_file': '/tmp/af_xdp_2_1_64.pcap',
'rx_port': 1,
'tx_port': 1}
22/10/2020 16:15:14 pktgen: {0: {'ibytes': 87,
'ierrors': 0,
'ipackets': 1,
'obytes': 0,
'oerrors': 0,
'opackets': 0,
'rx_bps': 44617.50390625,
'rx_bps_L1': 58546.374755859375,
'rx_pps': 87.0554428100586,
'rx_util': 0.00014636593688964846,
'tx_bps': 1251179.75,
'tx_bps_L1': 1642173.1484375,
'tx_pps': 2443.708740234375,
'tx_util': 0.00410543287109375},
1: {'ibytes': 1110171927,
'ierrors': 0,
'ipackets': 17346438,
'obytes': 27335180032,
'oerrors': 0,
'opackets': 427112227,
'rx_bps': 888763648.0,
'rx_bps_L1': 1166502208.0,
'rx_pps': 1735866.0,
'rx_util': 2.91625552,
'tx_bps': 21875439616.0,
'tx_bps_L1': 28711514496.0,
'tx_pps': 42725468.0,
'tx_util': 71.77878624},
'flow_stats': {},
'global': {'bw_per_core': 4.382328510284424,
'cpu_util': 99.84049224853516,
'queue_full': 53652305,
'rx_bps': 888808320.0,
'rx_cpu_util': 0.0,
'rx_drop_bps': 20987883520.0,
'rx_pps': 1735953.0,
'tx_bps': 21876690944.0,
'tx_pps': 42727912.0},
'latency': {},
'total': {'ibytes': 1110172014,
'ierrors': 0,
'ipackets': 17346439,
'obytes': 27335180032,
'oerrors': 0,
'opackets': 427112227,
'rx_bps': 888808265.5039062,
'rx_bps_L1': 1166560754.3747559,
'rx_pps': 1735953.05544281,
'rx_util': 2.9164018859368896,
'tx_bps': 21876690795.75,
'tx_bps_L1': 28713156669.148438,
'tx_pps': 42727911.708740234,
'tx_util': 71.7828916728711}}
22/10/2020 16:15:14 pktgen: {'ibytes': 1110171927,
'ierrors': 0,
'ipackets': 17346438,
'obytes': 27335180032,
'oerrors': 0,
'opackets': 427112227,
'rx_bps': 888763648.0,
'rx_bps_L1': 1166502208.0,
'rx_pps': 1735866.0,
'rx_util': 2.91625552,
'tx_bps': 21875439616.0,
'tx_bps_L1': 28711514496.0,
'tx_pps': 42725468.0,
'tx_util': 71.77878624}
22/10/2020 16:15:14 pktgen: Tx Port 1 stats:
tx_port: 1, tx_bps: 21875439616.000000, tx_pps: 42725468.000000
22/10/2020 16:15:14 pktgen: {'ibytes': 1110171927,
'ierrors': 0,
'ipackets': 17346438,
'obytes': 27335180032,
'oerrors': 0,
'opackets': 427112227,
'rx_bps': 888763648.0,
'rx_bps_L1': 1166502208.0,
'rx_pps': 1735866.0,
'rx_util': 2.91625552,
'tx_bps': 21875439616.0,
'tx_bps_L1': 28711514496.0,
'tx_pps': 42725468.0,
'tx_util': 71.77878624}
22/10/2020 16:15:14 pktgen: Rx Port 1 stats:
rx_port: 1, rx_bps: 888763648.000000, rx_pps: 1735866.000000
22/10/2020 16:15:14 pktgen: throughput: pps_rx 1735866.000000, bps_rx 888763648.000000
22/10/2020 16:15:14 pktgen: traffic completed.
22/10/2020 16:15:14 dut.10.240.183.99: stop
22/10/2020 16:15:14 dut.10.240.183.99:
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
----------------------------------------------------------------------------
---------------------- Forward statistics for port 1 ----------------------
RX-packets: 26042841 RX-dropped: 47918046 RX-total: 73960887
TX-packets: 26042841 TX-dropped: 0 TX-total: 26042841
----------------------------------------------------------------------------
+++++++++++++++ Accumulated forward statistics for all ports+++++++++++++++
RX-packets: 26042841 RX-dropped: 47918046 RX-total: 73960887
TX-packets: 26042841 TX-dropped: 0 TX-total: 26042841
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Done.
22/10/2020 16:15:14 dut.10.240.183.99: start
22/10/2020 16:15:14 dut.10.240.183.99:
io packet forwarding - ports=2 - cores=2 - streams=2 - NUMA support enabled, MP allocation mode: native
Logical Core 33 (socket 1) forwards packets on 1 streams:
RX P=0/Q=0 (socket 1) -> TX P=0/Q=0 (socket 1) peer=02:00:00:00:00:00
Logical Core 34 (socket 1) forwards packets on 1 streams:
RX P=1/Q=0 (socket 1) -> TX P=1/Q=0 (socket 1) peer=02:00:00:00:00:01
io packet forwarding packets/burst=32
nb forwarding cores=2 - nb forwarding ports=2
port 0: RX queue number: 1 Tx queue number: 1
Rx offloads=0x0 Tx offloads=0x0
RX queue: 0
RX desc=0 - RX free threshold=0
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0x0
TX queue: 0
TX desc=0 - TX free threshold=0
TX threshold registers: pthresh=0 hthresh=0 wthresh=0
TX offloads=0x0 - TX RS bit threshold=0
port 1: RX queue number: 1 Tx queue number: 1
Rx offloads=0x0 Tx offloads=0x0
RX queue: 0
RX desc=0 - RX free threshold=0
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0x0
TX queue: 0
TX desc=0 - TX free threshold=0
TX threshold registers: pthresh=0 hthresh=0 wthresh=0
TX offloads=0x0 - TX RS bit threshold=0
22/10/2020 16:15:14 TestAfXdp: Test Case test_perf_two_port_and_separate_irqs Result FAILED: "The gap is too big btween two port's throughput"
22/10/2020 16:15:14 dut.10.240.183.99: quit
22/10/2020 16:15:15 dut.10.240.183.99:
Telling cores to stop...
Waiting for lcores to finish...
---------------------- Forward statistics for port 0 ----------------------
RX-packets: 0 RX-dropped: 0 RX-total: 0
TX-packets: 0 TX-dropped: 0 TX-total: 0
----------------------------------------------------------------------------
---------------------- Forward statistics for port 1 ----------------------
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.
Stopping port 0...
Stopping ports...
Done
Stopping port 1...
Stopping ports...
Done
Shutting down port 0...
Closing ports...
eth_dev_close(): Closing AF_XDP ethdev on numa socket 1
Port 0 is closed
Done
Shutting down port 1...
Closing ports...
eth_dev_close(): Closing AF_XDP ethdev on numa socket 1
Port 1 is closed
Done
Bye...
22/10/2020 16:15:15 dts:
TEST SUITE ENDED: TestAfXdp
22/10/2020 16:26:39 dts:
TEST SUITE : TestAfXdp
22/10/2020 16:26:39 dts: NIC : fortville_spirit
22/10/2020 16:26:39 dut.10.240.183.99:
22/10/2020 16:26:39 tester:
22/10/2020 16:26:39 TestAfXdp: you can config packet_size in file af_xdp_2.cfg,in region 'suite' like packet_sizes=[64, 128, 256]
22/10/2020 16:26:39 tester: ls -d /tmp
22/10/2020 16:26:39 tester: /tmp
22/10/2020 16:26:39 dut.10.240.183.99: echo 0000:af:00.0 > /sys/bus/pci/devices/0000\:af\:00.0/driver/unbind
22/10/2020 16:26:39 dut.10.240.183.99:
22/10/2020 16:26:39 dut.10.240.183.99: modprobe i40e
22/10/2020 16:26:39 dut.10.240.183.99:
22/10/2020 16:26:39 dut.10.240.183.99: echo 0000:af:00.0 > /sys/bus/pci/drivers/i40e/bind
22/10/2020 16:26:39 dut.10.240.183.99:
22/10/2020 16:26:39 dut.10.240.183.99: ifconfig enp175s0f0 up
22/10/2020 16:26:39 dut.10.240.183.99:
22/10/2020 16:26:39 dut.10.240.183.99: echo 0000:af:00.1 > /sys/bus/pci/devices/0000\:af\:00.1/driver/unbind
22/10/2020 16:26:40 dut.10.240.183.99:
22/10/2020 16:26:40 dut.10.240.183.99: modprobe i40e
22/10/2020 16:26:40 dut.10.240.183.99:
22/10/2020 16:26:40 dut.10.240.183.99: echo 0000:af:00.1 > /sys/bus/pci/drivers/i40e/bind
22/10/2020 16:26:40 dut.10.240.183.99:
22/10/2020 16:26:40 dut.10.240.183.99: ifconfig enp175s0f1 up
22/10/2020 16:26:40 dut.10.240.183.99:
22/10/2020 16:26:42 TestAfXdp: Test Case test_perf_one_port_single_queue_with_two_vdev Begin
22/10/2020 16:26:42 dut.10.240.183.99:
22/10/2020 16:26:42 tester:
22/10/2020 16:26:42 dut.10.240.183.99: ethtool -L enp175s0f0 combined 2
22/10/2020 16:26:42 dut.10.240.183.99:
22/10/2020 16:26:43 TestAfXdp: start testpmd
22/10/2020 16:26:43 dut.10.240.183.99: x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 32,33,34 -n 4 --file-prefix=dpdk_10327_20201022162606 --no-pci --vdev net_af_xdp0,iface=enp175s0f0,start_queue=0,queue_count=1 --vdev net_af_xdp1,iface=enp175s0f0,start_queue=1,queue_count=1 --log-level=pmd.net.af_xdp:8 -- -i --auto-start --nb-cores=2 --rxq=1 --txq=1 --port-topology=loop
22/10/2020 16:26:44 dut.10.240.183.99: EAL: Detected 72 lcore(s)
EAL: Detected 2 NUMA nodes
EAL: Multi-process socket /var/run/dpdk/dpdk_10327_20201022162606/mp_socket
EAL: Selected IOVA mode 'VA'
EAL: Probing VFIO support...
EAL: VFIO support initialized
rte_pmd_af_xdp_probe(): Initializing pmd_af_xdp for net_af_xdp0
init_internals(): Zero copy between umem and mbuf enabled.
rte_pmd_af_xdp_probe(): Initializing pmd_af_xdp for net_af_xdp1
init_internals(): Zero copy between umem and mbuf enabled.
Interactive-mode selected
Auto-start selected
testpmd: create a new mbuf pool <mb_pool_1>: n=163456, size=2176, socket=1
testpmd: preferred mempool ops selected: ring_mp_mc
Configuring Port 0 (socket 1)
eth_rx_queue_setup(): Set up rx queue, rx queue id: 0, xsk queue id: 0
Port 0: 3C:FD:FE:C8:19:D0
Configuring Port 1 (socket 1)
eth_rx_queue_setup(): Set up rx queue, rx queue id: 0, xsk queue id: 1
Port 1: 3C:FD:FE:C8:19:D0
Checking link statuses...
Done
Start automatic packet forwarding
io packet forwarding - ports=2 - cores=2 - streams=2 - NUMA support enabled, MP allocation mode: native
Logical Core 33 (socket 1) forwards packets on 1 streams:
RX P=0/Q=0 (socket 1) -> TX P=0/Q=0 (socket 1) peer=02:00:00:00:00:00
Logical Core 34 (socket 1) forwards packets on 1 streams:
RX P=1/Q=0 (socket 1) -> TX P=1/Q=0 (socket 1) peer=02:00:00:00:00:01
io packet forwarding packets/burst=32
nb forwarding cores=2 - nb forwarding ports=2
port 0: RX queue number: 1 Tx queue number: 1
Rx offloads=0x0 Tx offloads=0x0
RX queue: 0
RX desc=0 - RX free threshold=0
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0x0
TX queue: 0
TX desc=0 - TX free threshold=0
TX threshold registers: pthresh=0 hthresh=0 wthresh=0
TX offloads=0x0 - TX RS bit threshold=0
port 1: RX queue number: 1 Tx queue number: 1
Rx offloads=0x0 Tx offloads=0x0
RX queue: 0
RX desc=0 - RX free threshold=0
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0x0
TX queue: 0
TX desc=0 - TX free threshold=0
TX threshold registers: pthresh=0 hthresh=0 wthresh=0
TX offloads=0x0 - TX RS bit threshold=0
22/10/2020 16:26:46 TestAfXdp: Running test test_perf_one_port_single_queue_with_two_vdev, and 64 frame size.
22/10/2020 16:26:46 pktgen: test port 0 map gen port 0
22/10/2020 16:26:46 pktgen: test port 0 map gen port 0
22/10/2020 16:26:47 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:d0',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:9d:1c:f8',
'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:82:00.0',
'prom': 'off',
'prom_supported': 'yes',
'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
'rx_filter_mode': 'hardware match',
'rx_queue': 'off',
'speed': 40.0,
'src_ipv4': '-',
'src_mac': '3c:fd:fe:9d:1c:f8',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
22/10/2020 16:26:47 pktgen: trex port <0> not support flow control
22/10/2020 16:26:47 pktgen: trex packet generator: run traffic 5s to warm up ...
22/10/2020 16:26:47 pktgen: check the trex port link status
22/10/2020 16:26:47 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:d0',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:9d:1c:f8',
'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:82:00.0',
'prom': 'on',
'prom_supported': 'yes',
'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
'rx_filter_mode': 'hardware match',
'rx_queue': 'off',
'speed': 40.0,
'src_ipv4': '-',
'src_mac': '3c:fd:fe:9d:1c:f8',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
22/10/2020 16:26:47 pktgen: begin traffic ......
22/10/2020 16:26:47 pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
22/10/2020 16:26:52 pktgen: traffic completed.
22/10/2020 16:26:52 pktgen: check the trex port link status
22/10/2020 16:26:52 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:d0',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:9d:1c:f8',
'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:82:00.0',
'prom': 'on',
'prom_supported': 'yes',
'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
'rx_filter_mode': 'hardware match',
'rx_queue': 'off',
'speed': 40.0,
'src_ipv4': '-',
'src_mac': '3c:fd:fe:9d:1c:f8',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
22/10/2020 16:26:52 pktgen: begin traffic ......
22/10/2020 16:26:52 pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
22/10/2020 16:27:02 pktgen: begin get port statistic ...
22/10/2020 16:27:02 pktgen: {'options': {'fields_config': {'ip': {'dst': {'action': 'random',
'end': '48.0.0.64',
'start': '48.0.0.1',
'step': 1}}},
'pcap': '/tmp/af_xdp_4243_64.pcap',
'stream_config': {'rate': 100,
'transmit_mode': 'continuous',
'txmode': {}}},
'pcap_file': '/tmp/af_xdp_4243_64.pcap',
'rx_port': 0,
'tx_port': 0}
22/10/2020 16:27:02 pktgen: {0: {'ibytes': 152620352,
'ierrors': 14894139,
'ipackets': 2384693,
'obytes': 13509025856,
'oerrors': 0,
'opackets': 211078608,
'rx_bps': 113978360.0,
'rx_bps_L1': 149596507.5,
'rx_pps': 222613.421875,
'rx_util': 0.37399126875,
'tx_bps': 10800235520.0,
'tx_bps_L1': 14175306880.0,
'tx_pps': 21094196.0,
'tx_util': 35.4382672},
1: {'ibytes': 0,
'ierrors': 0,
'ipackets': 0,
'obytes': 0,
'oerrors': 0,
'opackets': 0,
'rx_bps': 0.0,
'rx_bps_L1': 0,
'rx_pps': 0.0,
'rx_util': 0.0,
'tx_bps': 0.0,
'tx_bps_L1': 0,
'tx_pps': 0.0,
'tx_util': 0.0},
'flow_stats': {},
'global': {'bw_per_core': 2.1963083744049072,
'cpu_util': 98.34898376464844,
'queue_full': 76931199,
'rx_bps': 113978360.0,
'rx_cpu_util': 0.0,
'rx_drop_bps': 10686257152.0,
'rx_pps': 222613.421875,
'tx_bps': 10800235520.0,
'tx_pps': 21094196.0},
'latency': {},
'total': {'ibytes': 152620352,
'ierrors': 14894139,
'ipackets': 2384693,
'obytes': 13509025856,
'oerrors': 0,
'opackets': 211078608,
'rx_bps': 113978360.0,
'rx_bps_L1': 149596507.5,
'rx_pps': 222613.421875,
'rx_util': 0.37399126875,
'tx_bps': 10800235520.0,
'tx_bps_L1': 14175306880.0,
'tx_pps': 21094196.0,
'tx_util': 35.4382672}}
22/10/2020 16:27:02 pktgen: {'ibytes': 152620352,
'ierrors': 14894139,
'ipackets': 2384693,
'obytes': 13509025856,
'oerrors': 0,
'opackets': 211078608,
'rx_bps': 113978360.0,
'rx_bps_L1': 149596507.5,
'rx_pps': 222613.421875,
'rx_util': 0.37399126875,
'tx_bps': 10800235520.0,
'tx_bps_L1': 14175306880.0,
'tx_pps': 21094196.0,
'tx_util': 35.4382672}
22/10/2020 16:27:02 pktgen: Tx Port 0 stats:
tx_port: 0, tx_bps: 10800235520.000000, tx_pps: 21094196.000000
22/10/2020 16:27:02 pktgen: {'ibytes': 152620352,
'ierrors': 14894139,
'ipackets': 2384693,
'obytes': 13509025856,
'oerrors': 0,
'opackets': 211078608,
'rx_bps': 113978360.0,
'rx_bps_L1': 149596507.5,
'rx_pps': 222613.421875,
'rx_util': 0.37399126875,
'tx_bps': 10800235520.0,
'tx_bps_L1': 14175306880.0,
'tx_pps': 21094196.0,
'tx_util': 35.4382672}
22/10/2020 16:27:02 pktgen: Rx Port 0 stats:
rx_port: 0, rx_bps: 113978360.000000, rx_pps: 222613.421875
22/10/2020 16:27:02 pktgen: throughput: pps_rx 222613.421875, bps_rx 113978360.000000
22/10/2020 16:27:02 pktgen: traffic completed.
22/10/2020 16:27:02 dut.10.240.183.99: stop
22/10/2020 16:27:02 dut.10.240.183.99:
Telling cores to ...
Waiting for lcores to finish...
---------------------- Forward statistics for port 0 ----------------------
RX-packets: 25915034 RX-dropped: 48538525 RX-total: 74453559
TX-packets: 25915034 TX-dropped: 0 TX-total: 25915034
----------------------------------------------------------------------------
---------------------- Forward statistics for port 1 ----------------------
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: 25915034 RX-dropped: 48538525 RX-total: 74453559
TX-packets: 25915034 TX-dropped: 0 TX-total: 25915034
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Done.
22/10/2020 16:27:02 dut.10.240.183.99: start
22/10/2020 16:27:02 dut.10.240.183.99:
io packet forwarding - ports=2 - cores=2 - streams=2 - NUMA support enabled, MP allocation mode: native
Logical Core 33 (socket 1) forwards packets on 1 streams:
RX P=0/Q=0 (socket 1) -> TX P=0/Q=0 (socket 1) peer=02:00:00:00:00:00
Logical Core 34 (socket 1) forwards packets on 1 streams:
RX P=1/Q=0 (socket 1) -> TX P=1/Q=0 (socket 1) peer=02:00:00:00:00:01
io packet forwarding packets/burst=32
nb forwarding cores=2 - nb forwarding ports=2
port 0: RX queue number: 1 Tx queue number: 1
Rx offloads=0x0 Tx offloads=0x0
RX queue: 0
RX desc=0 - RX free threshold=0
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0x0
TX queue: 0
TX desc=0 - TX free threshold=0
TX threshold registers: pthresh=0 hthresh=0 wthresh=0
TX offloads=0x0 - TX RS bit threshold=0
port 1: RX queue number: 1 Tx queue number: 1
Rx offloads=0x0 Tx offloads=0x0
RX queue: 0
RX desc=0 - RX free threshold=0
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0x0
TX queue: 0
TX desc=0 - TX free threshold=0
TX threshold registers: pthresh=0 hthresh=0 wthresh=0
TX offloads=0x0 - TX RS bit threshold=0
22/10/2020 16:27:02 pktgen: test port 0 map gen port 0
22/10/2020 16:27:02 pktgen: test port 0 map gen port 0
22/10/2020 16:27:02 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:d0',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:9d:1c:f8',
'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:82:00.0',
'prom': 'off',
'prom_supported': 'yes',
'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
'rx_filter_mode': 'hardware match',
'rx_queue': 'off',
'speed': 40.0,
'src_ipv4': '-',
'src_mac': '3c:fd:fe:9d:1c:f8',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
22/10/2020 16:27:02 pktgen: trex port <0> not support flow control
22/10/2020 16:27:02 pktgen: trex packet generator: run traffic 5s to warm up ...
22/10/2020 16:27:02 pktgen: check the trex port link status
22/10/2020 16:27:02 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:d0',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:9d:1c:f8',
'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:82:00.0',
'prom': 'on',
'prom_supported': 'yes',
'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
'rx_filter_mode': 'hardware match',
'rx_queue': 'off',
'speed': 40.0,
'src_ipv4': '-',
'src_mac': '3c:fd:fe:9d:1c:f8',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
22/10/2020 16:27:02 pktgen: begin traffic ......
22/10/2020 16:27:02 pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
22/10/2020 16:27:07 pktgen: traffic completed.
22/10/2020 16:27:07 pktgen: check the trex port link status
22/10/2020 16:27:07 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:d0',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:9d:1c:f8',
'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:82:00.0',
'prom': 'on',
'prom_supported': 'yes',
'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
'rx_filter_mode': 'hardware match',
'rx_queue': 'off',
'speed': 40.0,
'src_ipv4': '-',
'src_mac': '3c:fd:fe:9d:1c:f8',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
22/10/2020 16:27:07 pktgen: begin traffic ......
22/10/2020 16:27:07 pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
22/10/2020 16:27:17 pktgen: begin get port statistic ...
22/10/2020 16:27:17 pktgen: {'options': {'fields_config': {'ip': {'dst': {'action': 'random',
'end': '48.0.0.64',
'start': '48.0.0.1',
'step': 1}}},
'pcap': '/tmp/af_xdp_4242_64.pcap',
'stream_config': {'rate': 100,
'transmit_mode': 'continuous',
'txmode': {}}},
'pcap_file': '/tmp/af_xdp_4242_64.pcap',
'rx_port': 0,
'tx_port': 0}
22/10/2020 16:27:17 pktgen: {0: {'ibytes': 166780224,
'ierrors': 14793113,
'ipackets': 2605942,
'obytes': 13511690816,
'oerrors': 0,
'opackets': 211120240,
'rx_bps': 150872992.0,
'rx_bps_L1': 198020737.0,
'rx_pps': 294673.40625,
'rx_util': 0.49505184249999995,
'tx_bps': 10817920000.0,
'tx_bps_L1': 14198520000.0,
'tx_pps': 21128750.0,
'tx_util': 35.4963},
1: {'ibytes': 0,
'ierrors': 0,
'ipackets': 0,
'obytes': 0,
'oerrors': 0,
'opackets': 0,
'rx_bps': 0.0,
'rx_bps_L1': 0,
'rx_pps': 0.0,
'rx_util': 0.0,
'tx_bps': 0.0,
'tx_bps_L1': 0,
'tx_pps': 0.0,
'tx_util': 0.0},
'flow_stats': {},
'global': {'bw_per_core': 2.166999340057373,
'cpu_util': 99.84239196777344,
'queue_full': 76651691,
'rx_bps': 150872992.0,
'rx_cpu_util': 0.0,
'rx_drop_bps': 10667046912.0,
'rx_pps': 294673.40625,
'tx_bps': 10817920000.0,
'tx_pps': 21128750.0},
'latency': {},
'total': {'ibytes': 166780224,
'ierrors': 14793113,
'ipackets': 2605942,
'obytes': 13511690816,
'oerrors': 0,
'opackets': 211120240,
'rx_bps': 150872992.0,
'rx_bps_L1': 198020737.0,
'rx_pps': 294673.40625,
'rx_util': 0.49505184249999995,
'tx_bps': 10817920000.0,
'tx_bps_L1': 14198520000.0,
'tx_pps': 21128750.0,
'tx_util': 35.4963}}
22/10/2020 16:27:17 pktgen: {'ibytes': 166780224,
'ierrors': 14793113,
'ipackets': 2605942,
'obytes': 13511690816,
'oerrors': 0,
'opackets': 211120240,
'rx_bps': 150872992.0,
'rx_bps_L1': 198020737.0,
'rx_pps': 294673.40625,
'rx_util': 0.49505184249999995,
'tx_bps': 10817920000.0,
'tx_bps_L1': 14198520000.0,
'tx_pps': 21128750.0,
'tx_util': 35.4963}
22/10/2020 16:27:17 pktgen: Tx Port 0 stats:
tx_port: 0, tx_bps: 10817920000.000000, tx_pps: 21128750.000000
22/10/2020 16:27:17 pktgen: {'ibytes': 166780224,
'ierrors': 14793113,
'ipackets': 2605942,
'obytes': 13511690816,
'oerrors': 0,
'opackets': 211120240,
'rx_bps': 150872992.0,
'rx_bps_L1': 198020737.0,
'rx_pps': 294673.40625,
'rx_util': 0.49505184249999995,
'tx_bps': 10817920000.0,
'tx_bps_L1': 14198520000.0,
'tx_pps': 21128750.0,
'tx_util': 35.4963}
22/10/2020 16:27:17 pktgen: Rx Port 0 stats:
rx_port: 0, rx_bps: 150872992.000000, rx_pps: 294673.406250
22/10/2020 16:27:17 pktgen: throughput: pps_rx 294673.406250, bps_rx 150872992.000000
22/10/2020 16:27:17 pktgen: traffic completed.
22/10/2020 16:27:17 dut.10.240.183.99: stop
22/10/2020 16:27:17 dut.10.240.183.99:
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
----------------------------------------------------------------------------
---------------------- Forward statistics for port 1 ----------------------
RX-packets: 26112638 RX-dropped: 46712609 RX-total: 72825247
TX-packets: 26112638 TX-dropped: 0 TX-total: 26112638
----------------------------------------------------------------------------
+++++++++++++++ Accumulated forward statistics for all ports+++++++++++++++
RX-packets: 26112638 RX-dropped: 46712609 RX-total: 72825247
TX-packets: 26112638 TX-dropped: 0 TX-total: 26112638
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Done.
22/10/2020 16:27:17 dut.10.240.183.99: start
22/10/2020 16:27:17 dut.10.240.183.99:
io packet forwarding - ports=2 - cores=2 - streams=2 - NUMA support enabled, MP allocation mode: native
Logical Core 33 (socket 1) forwards packets on 1 streams:
RX P=0/Q=0 (socket 1) -> TX P=0/Q=0 (socket 1) peer=02:00:00:00:00:00
Logical Core 34 (socket 1) forwards packets on 1 streams:
RX P=1/Q=0 (socket 1) -> TX P=1/Q=0 (socket 1) peer=02:00:00:00:00:01
io packet forwarding packets/burst=32
nb forwarding cores=2 - nb forwarding ports=2
port 0: RX queue number: 1 Tx queue number: 1
Rx offloads=0x0 Tx offloads=0x0
RX queue: 0
RX desc=0 - RX free threshold=0
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0x0
TX queue: 0
TX desc=0 - TX free threshold=0
TX threshold registers: pthresh=0 hthresh=0 wthresh=0
TX offloads=0x0 - TX RS bit threshold=0
port 1: RX queue number: 1 Tx queue number: 1
Rx offloads=0x0 Tx offloads=0x0
RX queue: 0
RX desc=0 - RX free threshold=0
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0x0
TX queue: 0
TX desc=0 - TX free threshold=0
TX threshold registers: pthresh=0 hthresh=0 wthresh=0
TX offloads=0x0 - TX RS bit threshold=0
22/10/2020 16:27:17 TestAfXdp: Test Case test_perf_one_port_single_queue_with_two_vdev Result FAILED: "The gap is too big btween two port's throughput"
22/10/2020 16:27:17 dut.10.240.183.99: quit
22/10/2020 16:27:18 dut.10.240.183.99:
Telling cores to stop...
Waiting for lcores to finish...
---------------------- Forward statistics for port 0 ----------------------
RX-packets: 0 RX-dropped: 0 RX-total: 0
TX-packets: 0 TX-dropped: 0 TX-total: 0
----------------------------------------------------------------------------
---------------------- Forward statistics for port 1 ----------------------
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.
Stopping port 0...
Stopping ports...
Done
Stopping port 1...
Stopping ports...
Done
Shutting down port 0...
Closing ports...
eth_dev_close(): Closing AF_XDP ethdev on numa socket 1
Port 0 is closed
Done
Shutting down port 1...
Closing ports...
eth_dev_close(): Closing AF_XDP ethdev on numa socket 1
Port 1 is closed
Done
Bye...
22/10/2020 16:27:18 TestAfXdp: Test Case test_perf_two_port_and_same_irqs Begin
22/10/2020 16:27:18 dut.10.240.183.99:
22/10/2020 16:27:18 tester:
22/10/2020 16:27:18 dut.10.240.183.99: ethtool -L enp175s0f0 combined 1
22/10/2020 16:27:18 dut.10.240.183.99: Cannot set device channel parameters: Invalid argument
22/10/2020 16:27:18 dut.10.240.183.99: ethtool -L enp175s0f1 combined 1
22/10/2020 16:27:19 dut.10.240.183.99:
22/10/2020 16:27:19 TestAfXdp: start testpmd
22/10/2020 16:27:19 dut.10.240.183.99: x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 32,33,34 -n 4 --file-prefix=dpdk_10327_20201022162606 --no-pci --vdev net_af_xdp0,iface=enp175s0f0 --vdev net_af_xdp1,iface=enp175s0f1 --log-level=pmd.net.af_xdp:8 -- -i --auto-start --nb-cores=2 --rxq=1 --txq=1 --port-topology=loop
22/10/2020 16:27:19 dut.10.240.183.99: EAL: Detected 72 lcore(s)
EAL: Detected 2 NUMA nodes
EAL: Multi-process socket /var/run/dpdk/dpdk_10327_20201022162606/mp_socket
EAL: Selected IOVA mode 'VA'
EAL: Probing VFIO support...
EAL: VFIO support initialized
rte_pmd_af_xdp_probe(): Initializing pmd_af_xdp for net_af_xdp0
init_internals(): Zero copy between umem and mbuf enabled.
rte_pmd_af_xdp_probe(): Initializing pmd_af_xdp for net_af_xdp1
init_internals(): Zero copy between umem and mbuf enabled.
Interactive-mode selected
Auto-start selected
testpmd: create a new mbuf pool <mb_pool_1>: n=163456, size=2176, socket=1
testpmd: preferred mempool ops selected: ring_mp_mc
Configuring Port 0 (socket 1)
eth_rx_queue_setup(): Set up rx queue, rx queue id: 0, xsk queue id: 0
Port 0: 3C:FD:FE:C8:19:D0
Configuring Port 1 (socket 1)
eth_rx_queue_setup(): Set up rx queue, rx queue id: 0, xsk queue id: 0
Port 1: 3C:FD:FE:C8:19:D1
Checking link statuses...
Done
Start automatic packet forwarding
io packet forwarding - ports=2 - cores=2 - streams=2 - NUMA support enabled, MP allocation mode: native
Logical Core 33 (socket 1) forwards packets on 1 streams:
RX P=0/Q=0 (socket 1) -> TX P=0/Q=0 (socket 1) peer=02:00:00:00:00:00
Logical Core 34 (socket 1) forwards packets on 1 streams:
RX P=1/Q=0 (socket 1) -> TX P=1/Q=0 (socket 1) peer=02:00:00:00:00:01
io packet forwarding packets/burst=32
nb forwarding cores=2 - nb forwarding ports=2
port 0: RX queue number: 1 Tx queue number: 1
Rx offloads=0x0 Tx offloads=0x0
RX queue: 0
RX desc=0 - RX free threshold=0
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0x0
TX queue: 0
TX desc=0 - TX free threshold=0
TX threshold registers: pthresh=0 hthresh=0 wthresh=0
TX offloads=0x0 - TX RS bit threshold=0
port 1: RX queue number: 1 Tx queue number: 1
Rx offloads=0x0 Tx offloads=0x0
RX queue: 0
RX desc=0 - RX free threshold=0
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0x0
TX queue: 0
TX desc=0 - TX free threshold=0
TX threshold registers: pthresh=0 hthresh=0 wthresh=0
TX offloads=0x0 - TX RS bit threshold=0
22/10/2020 16:27:22 TestAfXdp: Running test test_perf_two_port_and_same_irqs, and 64 frame size.
22/10/2020 16:27:22 pktgen: test port 0 map gen port 0
22/10/2020 16:27:22 pktgen: test port 0 map gen port 0
22/10/2020 16:27:22 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:d0',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:9d:1c:f8',
'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:82:00.0',
'prom': 'off',
'prom_supported': 'yes',
'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
'rx_filter_mode': 'hardware match',
'rx_queue': 'off',
'speed': 40.0,
'src_ipv4': '-',
'src_mac': '3c:fd:fe:9d:1c:f8',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
22/10/2020 16:27:22 pktgen: trex port <0> not support flow control
22/10/2020 16:27:22 pktgen: trex packet generator: run traffic 5s to warm up ...
22/10/2020 16:27:22 pktgen: check the trex port link status
22/10/2020 16:27:22 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:d0',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:9d:1c:f8',
'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:82:00.0',
'prom': 'on',
'prom_supported': 'yes',
'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
'rx_filter_mode': 'hardware match',
'rx_queue': 'off',
'speed': 40.0,
'src_ipv4': '-',
'src_mac': '3c:fd:fe:9d:1c:f8',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
22/10/2020 16:27:22 pktgen: begin traffic ......
22/10/2020 16:27:22 pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
22/10/2020 16:27:27 pktgen: traffic completed.
22/10/2020 16:27:27 pktgen: check the trex port link status
22/10/2020 16:27:27 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:d0',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:9d:1c:f8',
'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:82:00.0',
'prom': 'on',
'prom_supported': 'yes',
'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
'rx_filter_mode': 'hardware match',
'rx_queue': 'off',
'speed': 40.0,
'src_ipv4': '-',
'src_mac': '3c:fd:fe:9d:1c:f8',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
22/10/2020 16:27:27 pktgen: begin traffic ......
22/10/2020 16:27:27 pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
22/10/2020 16:27:37 pktgen: begin get port statistic ...
22/10/2020 16:27:37 pktgen: {'options': {'fields_config': {'ip': {'dst': {'action': 'random',
'end': '192.168.1.64',
'start': '192.168.1.1',
'step': 1}}},
'pcap': '/tmp/af_xdp_2_0_64.pcap',
'stream_config': {'rate': 100,
'transmit_mode': 'continuous',
'txmode': {}}},
'pcap_file': '/tmp/af_xdp_2_0_64.pcap',
'rx_port': 0,
'tx_port': 0}
22/10/2020 16:27:37 pktgen: {0: {'ibytes': 6783168,
'ierrors': 0,
'ipackets': 105987,
'obytes': 27333151040,
'oerrors': 0,
'opackets': 427080544,
'rx_bps': 5824462.0,
'rx_bps_L1': 7644606.375,
'rx_pps': 11375.90234375,
'rx_util': 0.0191115159375,
'tx_bps': 21772165120.0,
'tx_bps_L1': 28575966720.0,
'tx_pps': 42523760.0,
'tx_util': 71.4399168},
1: {'ibytes': 0,
'ierrors': 0,
'ipackets': 0,
'obytes': 0,
'oerrors': 0,
'opackets': 0,
'rx_bps': 0.0,
'rx_bps_L1': 0,
'rx_pps': 0.0,
'rx_util': 0.0,
'tx_bps': 0.0,
'tx_bps_L1': 0,
'tx_pps': 0.0,
'tx_util': 0.0},
'flow_stats': {},
'global': {'bw_per_core': 4.422080039978027,
'cpu_util': 98.47024536132812,
'queue_full': 53374489,
'rx_bps': 5824462.0,
'rx_cpu_util': 0.0,
'rx_drop_bps': 21766342656.0,
'rx_pps': 11375.90234375,
'tx_bps': 21772165120.0,
'tx_pps': 42523760.0},
'latency': {},
'total': {'ibytes': 6783168,
'ierrors': 0,
'ipackets': 105987,
'obytes': 27333151040,
'oerrors': 0,
'opackets': 427080544,
'rx_bps': 5824462.0,
'rx_bps_L1': 7644606.375,
'rx_pps': 11375.90234375,
'rx_util': 0.0191115159375,
'tx_bps': 21772165120.0,
'tx_bps_L1': 28575966720.0,
'tx_pps': 42523760.0,
'tx_util': 71.4399168}}
22/10/2020 16:27:37 pktgen: {'ibytes': 6783168,
'ierrors': 0,
'ipackets': 105987,
'obytes': 27333151040,
'oerrors': 0,
'opackets': 427080544,
'rx_bps': 5824462.0,
'rx_bps_L1': 7644606.375,
'rx_pps': 11375.90234375,
'rx_util': 0.0191115159375,
'tx_bps': 21772165120.0,
'tx_bps_L1': 28575966720.0,
'tx_pps': 42523760.0,
'tx_util': 71.4399168}
22/10/2020 16:27:37 pktgen: Tx Port 0 stats:
tx_port: 0, tx_bps: 21772165120.000000, tx_pps: 42523760.000000
22/10/2020 16:27:37 pktgen: {'ibytes': 6783168,
'ierrors': 0,
'ipackets': 105987,
'obytes': 27333151040,
'oerrors': 0,
'opackets': 427080544,
'rx_bps': 5824462.0,
'rx_bps_L1': 7644606.375,
'rx_pps': 11375.90234375,
'rx_util': 0.0191115159375,
'tx_bps': 21772165120.0,
'tx_bps_L1': 28575966720.0,
'tx_pps': 42523760.0,
'tx_util': 71.4399168}
22/10/2020 16:27:37 pktgen: Rx Port 0 stats:
rx_port: 0, rx_bps: 5824462.000000, rx_pps: 11375.902344
22/10/2020 16:27:37 pktgen: throughput: pps_rx 11375.902344, bps_rx 5824462.000000
22/10/2020 16:27:37 pktgen: traffic completed.
22/10/2020 16:27:37 dut.10.240.183.99: stop
22/10/2020 16:27:37 dut.10.240.183.99:
Telling cores to ...
Waiting for lcores to finish...
---------------------- Forward statistics for port 0 ----------------------
RX-packets: 149600 RX-dropped: 37559991 RX-total: 37709591
TX-packets: 149600 TX-dropped: 0 TX-total: 149600
----------------------------------------------------------------------------
---------------------- Forward statistics for port 1 ----------------------
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: 149600 RX-dropped: 37559991 RX-total: 37709591
TX-packets: 149600 TX-dropped: 0 TX-total: 149600
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Done.
22/10/2020 16:27:37 dut.10.240.183.99: start
22/10/2020 16:27:37 dut.10.240.183.99:
io packet forwarding - ports=2 - cores=2 - streams=2 - NUMA support enabled, MP allocation mode: native
Logical Core 33 (socket 1) forwards packets on 1 streams:
RX P=0/Q=0 (socket 1) -> TX P=0/Q=0 (socket 1) peer=02:00:00:00:00:00
Logical Core 34 (socket 1) forwards packets on 1 streams:
RX P=1/Q=0 (socket 1) -> TX P=1/Q=0 (socket 1) peer=02:00:00:00:00:01
io packet forwarding packets/burst=32
nb forwarding cores=2 - nb forwarding ports=2
port 0: RX queue number: 1 Tx queue number: 1
Rx offloads=0x0 Tx offloads=0x0
RX queue: 0
RX desc=0 - RX free threshold=0
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0x0
TX queue: 0
TX desc=0 - TX free threshold=0
TX threshold registers: pthresh=0 hthresh=0 wthresh=0
TX offloads=0x0 - TX RS bit threshold=0
port 1: RX queue number: 1 Tx queue number: 1
Rx offloads=0x0 Tx offloads=0x0
RX queue: 0
RX desc=0 - RX free threshold=0
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0x0
TX queue: 0
TX desc=0 - TX free threshold=0
TX threshold registers: pthresh=0 hthresh=0 wthresh=0
TX offloads=0x0 - TX RS bit threshold=0
22/10/2020 16:27:37 pktgen: test port 1 map gen port 1
22/10/2020 16:27:37 pktgen: test port 1 map gen port 1
22/10/2020 16:27:37 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:d0',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:9d:1c:f8',
'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:82:00.0',
'prom': 'off',
'prom_supported': 'yes',
'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
'rx_filter_mode': 'hardware match',
'rx_queue': 'off',
'speed': 40.0,
'src_ipv4': '-',
'src_mac': '3c:fd:fe:9d:1c:f8',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
22/10/2020 16:27:37 pktgen: trex port <0> not support flow control
22/10/2020 16:27:37 pktgen: trex packet generator: run traffic 5s to warm up ...
22/10/2020 16:27:37 pktgen: check the trex port link status
22/10/2020 16:27:37 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:d1',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:9d:1c:f9',
'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:82:00.1',
'prom': 'on',
'prom_supported': 'yes',
'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
'rx_filter_mode': 'hardware match',
'rx_queue': 'off',
'speed': 40.0,
'src_ipv4': '-',
'src_mac': '3c:fd:fe:9d:1c:f9',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
22/10/2020 16:27:37 pktgen: begin traffic ......
22/10/2020 16:27:37 pktgen: {'ports': [1], 'mult': '100%', 'core_mask': None, 'force': True}
22/10/2020 16:27:42 pktgen: traffic completed.
22/10/2020 16:27:42 pktgen: check the trex port link status
22/10/2020 16:27:42 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:d1',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:9d:1c:f9',
'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:82:00.1',
'prom': 'on',
'prom_supported': 'yes',
'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
'rx_filter_mode': 'hardware match',
'rx_queue': 'off',
'speed': 40.0,
'src_ipv4': '-',
'src_mac': '3c:fd:fe:9d:1c:f9',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
22/10/2020 16:27:42 pktgen: begin traffic ......
22/10/2020 16:27:42 pktgen: {'ports': [1], 'mult': '100%', 'core_mask': None, 'force': True}
22/10/2020 16:27:52 pktgen: begin get port statistic ...
22/10/2020 16:27:52 pktgen: {'options': {'fields_config': {'ip': {'dst': {'action': 'random',
'end': '192.168.2.64',
'start': '192.168.2.1',
'step': 1}}},
'pcap': '/tmp/af_xdp_2_1_64.pcap',
'stream_config': {'rate': 100,
'transmit_mode': 'continuous',
'txmode': {}}},
'pcap_file': '/tmp/af_xdp_2_1_64.pcap',
'rx_port': 1,
'tx_port': 1}
22/10/2020 16:27:52 pktgen: {0: {'ibytes': 111,
'ierrors': 0,
'ipackets': 1,
'obytes': 0,
'oerrors': 0,
'opackets': 0,
'rx_bps': 300.4325866699219,
'rx_bps_L1': 393.8579177856446,
'rx_pps': 0.5839083194732666,
'rx_util': 9.846447944641115e-07,
'tx_bps': 979306.6875,
'tx_bps_L1': 1285339.75390625,
'tx_pps': 1912.7066650390625,
'tx_util': 0.003213349384765625},
1: {'ibytes': 7387385,
'ierrors': 0,
'ipackets': 115427,
'obytes': 27304358720,
'oerrors': 0,
'opackets': 426630661,
'rx_bps': 5927520.5,
'rx_bps_L1': 7779869.562499999,
'rx_pps': 11577.181640625,
'rx_util': 0.01944967390625,
'tx_bps': 21832376320.0,
'tx_bps_L1': 28654993920.0,
'tx_pps': 42641360.0,
'tx_util': 71.6374848},
'flow_stats': {},
'global': {'bw_per_core': 4.375700950622559,
'cpu_util': 99.79364013671875,
'queue_full': 11953701,
'rx_bps': 5927820.5,
'rx_cpu_util': 0.0,
'rx_drop_bps': 21827428352.0,
'rx_pps': 11577.765625,
'tx_bps': 21833355264.0,
'tx_pps': 42643272.0},
'latency': {},
'total': {'ibytes': 7387496,
'ierrors': 0,
'ipackets': 115428,
'obytes': 27304358720,
'oerrors': 0,
'opackets': 426630661,
'rx_bps': 5927820.93258667,
'rx_bps_L1': 7780263.420417785,
'rx_pps': 11577.765548944473,
'rx_util': 0.019450658551044463,
'tx_bps': 21833355626.6875,
'tx_bps_L1': 28656279259.753906,
'tx_pps': 42643272.70666504,
'tx_util': 71.64069814938476}}
22/10/2020 16:27:52 pktgen: {'ibytes': 7387385,
'ierrors': 0,
'ipackets': 115427,
'obytes': 27304358720,
'oerrors': 0,
'opackets': 426630661,
'rx_bps': 5927520.5,
'rx_bps_L1': 7779869.562499999,
'rx_pps': 11577.181640625,
'rx_util': 0.01944967390625,
'tx_bps': 21832376320.0,
'tx_bps_L1': 28654993920.0,
'tx_pps': 42641360.0,
'tx_util': 71.6374848}
22/10/2020 16:27:52 pktgen: Tx Port 1 stats:
tx_port: 1, tx_bps: 21832376320.000000, tx_pps: 42641360.000000
22/10/2020 16:27:52 pktgen: {'ibytes': 7387385,
'ierrors': 0,
'ipackets': 115427,
'obytes': 27304358720,
'oerrors': 0,
'opackets': 426630661,
'rx_bps': 5927520.5,
'rx_bps_L1': 7779869.562499999,
'rx_pps': 11577.181640625,
'rx_util': 0.01944967390625,
'tx_bps': 21832376320.0,
'tx_bps_L1': 28654993920.0,
'tx_pps': 42641360.0,
'tx_util': 71.6374848}
22/10/2020 16:27:52 pktgen: Rx Port 1 stats:
rx_port: 1, rx_bps: 5927520.500000, rx_pps: 11577.181641
22/10/2020 16:27:52 pktgen: throughput: pps_rx 11577.181641, bps_rx 5927520.500000
22/10/2020 16:27:52 pktgen: traffic completed.
22/10/2020 16:27:52 dut.10.240.183.99: stop
22/10/2020 16:27:52 dut.10.240.183.99:
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
----------------------------------------------------------------------------
---------------------- Forward statistics for port 1 ----------------------
RX-packets: 177787 RX-dropped: 203878908 RX-total: 204056695
TX-packets: 177787 TX-dropped: 0 TX-total: 177787
----------------------------------------------------------------------------
+++++++++++++++ Accumulated forward statistics for all ports+++++++++++++++
RX-packets: 177787 RX-dropped: 203878908 RX-total: 204056695
TX-packets: 177787 TX-dropped: 0 TX-total: 177787
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Done.
22/10/2020 16:27:52 dut.10.240.183.99: start
22/10/2020 16:27:52 dut.10.240.183.99:
io packet forwarding - ports=2 - cores=2 - streams=2 - NUMA support enabled, MP allocation mode: native
Logical Core 33 (socket 1) forwards packets on 1 streams:
RX P=0/Q=0 (socket 1) -> TX P=0/Q=0 (socket 1) peer=02:00:00:00:00:00
Logical Core 34 (socket 1) forwards packets on 1 streams:
RX P=1/Q=0 (socket 1) -> TX P=1/Q=0 (socket 1) peer=02:00:00:00:00:01
io packet forwarding packets/burst=32
nb forwarding cores=2 - nb forwarding ports=2
port 0: RX queue number: 1 Tx queue number: 1
Rx offloads=0x0 Tx offloads=0x0
RX queue: 0
RX desc=0 - RX free threshold=0
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0x0
TX queue: 0
TX desc=0 - TX free threshold=0
TX threshold registers: pthresh=0 hthresh=0 wthresh=0
TX offloads=0x0 - TX RS bit threshold=0
port 1: RX queue number: 1 Tx queue number: 1
Rx offloads=0x0 Tx offloads=0x0
RX queue: 0
RX desc=0 - RX free threshold=0
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0x0
TX queue: 0
TX desc=0 - TX free threshold=0
TX threshold registers: pthresh=0 hthresh=0 wthresh=0
TX offloads=0x0 - TX RS bit threshold=0
22/10/2020 16:27:52 TestAfXdp: Running test test_perf_two_port_and_same_irqs, and 128 frame size.
22/10/2020 16:27:52 pktgen: test port 0 map gen port 0
22/10/2020 16:27:52 pktgen: test port 0 map gen port 0
22/10/2020 16:27:53 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:d0',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:9d:1c:f8',
'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:82:00.0',
'prom': 'off',
'prom_supported': 'yes',
'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
'rx_filter_mode': 'hardware match',
'rx_queue': 'off',
'speed': 40.0,
'src_ipv4': '-',
'src_mac': '3c:fd:fe:9d:1c:f8',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
22/10/2020 16:27:53 pktgen: trex port <0> not support flow control
22/10/2020 16:27:53 pktgen: trex packet generator: run traffic 5s to warm up ...
22/10/2020 16:27:53 pktgen: check the trex port link status
22/10/2020 16:27:53 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:d0',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:9d:1c:f8',
'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:82:00.0',
'prom': 'on',
'prom_supported': 'yes',
'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
'rx_filter_mode': 'hardware match',
'rx_queue': 'off',
'speed': 40.0,
'src_ipv4': '-',
'src_mac': '3c:fd:fe:9d:1c:f8',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
22/10/2020 16:27:53 pktgen: begin traffic ......
22/10/2020 16:27:53 pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
22/10/2020 16:27:58 pktgen: traffic completed.
22/10/2020 16:27:58 pktgen: check the trex port link status
22/10/2020 16:27:58 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:d0',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:9d:1c:f8',
'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:82:00.0',
'prom': 'on',
'prom_supported': 'yes',
'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
'rx_filter_mode': 'hardware match',
'rx_queue': 'off',
'speed': 40.0,
'src_ipv4': '-',
'src_mac': '3c:fd:fe:9d:1c:f8',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
22/10/2020 16:27:58 pktgen: begin traffic ......
22/10/2020 16:27:58 pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
22/10/2020 16:28:08 pktgen: begin get port statistic ...
22/10/2020 16:28:08 pktgen: {'options': {'fields_config': {'ip': {'dst': {'action': 'random',
'end': '192.168.1.64',
'start': '192.168.1.1',
'step': 1}}},
'pcap': '/tmp/af_xdp_2_0_128.pcap',
'stream_config': {'rate': 100,
'transmit_mode': 'continuous',
'txmode': {}}},
'pcap_file': '/tmp/af_xdp_2_0_128.pcap',
'rx_port': 0,
'tx_port': 0}
22/10/2020 16:28:08 pktgen: {0: {'ibytes': 13395968,
'ierrors': 0,
'ipackets': 104656,
'obytes': 43293219584,
'oerrors': 0,
'opackets': 338228307,
'rx_bps': 11303722.0,
'rx_bps_L1': 13069928.5625,
'rx_pps': 11038.791015625,
'rx_util': 0.03267482140625,
'tx_bps': 34649571328.0,
'tx_bps_L1': 40063566848.0,
'tx_pps': 33837472.0,
'tx_util': 100.15891712},
1: {'ibytes': 0,
'ierrors': 0,
'ipackets': 0,
'obytes': 0,
'oerrors': 0,
'opackets': 0,
'rx_bps': 287.4166259765625,
'rx_bps_L1': 377.2342834472656,
'rx_pps': 0.5613603591918945,
'rx_util': 9.430857086181641e-07,
'tx_bps': 944093.375,
'tx_bps_L1': 1239122.3203125,
'tx_pps': 1843.930908203125,
'tx_util': 0.0030978058007812503},
'flow_stats': {},
'global': {'bw_per_core': 14.287481307983398,
'cpu_util': 48.504722595214844,
'queue_full': 120798,
'rx_bps': 11304009.0,
'rx_cpu_util': 0.0,
'rx_drop_bps': 34639212544.0,
'rx_pps': 11039.3525390625,
'tx_bps': 34650517504.0,
'tx_pps': 33839316.0},
'latency': {},
'total': {'ibytes': 13395968,
'ierrors': 0,
'ipackets': 104656,
'obytes': 43293219584,
'oerrors': 0,
'opackets': 338228307,
'rx_bps': 11304009.416625977,
'rx_bps_L1': 13070305.796783447,
'rx_pps': 11039.352375984192,
'rx_util': 0.032675764491958616,
'tx_bps': 34650515421.375,
'tx_bps_L1': 40064805970.32031,
'tx_pps': 33839315.9309082,
'tx_util': 100.16201492580078}}
22/10/2020 16:28:08 pktgen: {'ibytes': 13395968,
'ierrors': 0,
'ipackets': 104656,
'obytes': 43293219584,
'oerrors': 0,
'opackets': 338228307,
'rx_bps': 11303722.0,
'rx_bps_L1': 13069928.5625,
'rx_pps': 11038.791015625,
'rx_util': 0.03267482140625,
'tx_bps': 34649571328.0,
'tx_bps_L1': 40063566848.0,
'tx_pps': 33837472.0,
'tx_util': 100.15891712}
22/10/2020 16:28:08 pktgen: Tx Port 0 stats:
tx_port: 0, tx_bps: 34649571328.000000, tx_pps: 33837472.000000
22/10/2020 16:28:08 pktgen: {'ibytes': 13395968,
'ierrors': 0,
'ipackets': 104656,
'obytes': 43293219584,
'oerrors': 0,
'opackets': 338228307,
'rx_bps': 11303722.0,
'rx_bps_L1': 13069928.5625,
'rx_pps': 11038.791015625,
'rx_util': 0.03267482140625,
'tx_bps': 34649571328.0,
'tx_bps_L1': 40063566848.0,
'tx_pps': 33837472.0,
'tx_util': 100.15891712}
22/10/2020 16:28:08 pktgen: Rx Port 0 stats:
rx_port: 0, rx_bps: 11303722.000000, rx_pps: 11038.791016
22/10/2020 16:28:08 pktgen: throughput: pps_rx 11038.791016, bps_rx 11303722.000000
22/10/2020 16:28:08 pktgen: traffic completed.
22/10/2020 16:28:08 dut.10.240.183.99: stop
22/10/2020 16:28:08 dut.10.240.183.99:
Telling cores to ...
Waiting for lcores to finish...
---------------------- Forward statistics for port 0 ----------------------
RX-packets: 167102 RX-dropped: 38277440 RX-total: 38444542
TX-packets: 167102 TX-dropped: 0 TX-total: 167102
----------------------------------------------------------------------------
---------------------- Forward statistics for port 1 ----------------------
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: 167102 RX-dropped: 38277440 RX-total: 38444542
TX-packets: 167102 TX-dropped: 0 TX-total: 167102
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Done.
22/10/2020 16:28:08 dut.10.240.183.99: start
22/10/2020 16:28:08 dut.10.240.183.99:
io packet forwarding - ports=2 - cores=2 - streams=2 - NUMA support enabled, MP allocation mode: native
Logical Core 33 (socket 1) forwards packets on 1 streams:
RX P=0/Q=0 (socket 1) -> TX P=0/Q=0 (socket 1) peer=02:00:00:00:00:00
Logical Core 34 (socket 1) forwards packets on 1 streams:
RX P=1/Q=0 (socket 1) -> TX P=1/Q=0 (socket 1) peer=02:00:00:00:00:01
io packet forwarding packets/burst=32
nb forwarding cores=2 - nb forwarding ports=2
port 0: RX queue number: 1 Tx queue number: 1
Rx offloads=0x0 Tx offloads=0x0
RX queue: 0
RX desc=0 - RX free threshold=0
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0x0
TX queue: 0
TX desc=0 - TX free threshold=0
TX threshold registers: pthresh=0 hthresh=0 wthresh=0
TX offloads=0x0 - TX RS bit threshold=0
port 1: RX queue number: 1 Tx queue number: 1
Rx offloads=0x0 Tx offloads=0x0
RX queue: 0
RX desc=0 - RX free threshold=0
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0x0
TX queue: 0
TX desc=0 - TX free threshold=0
TX threshold registers: pthresh=0 hthresh=0 wthresh=0
TX offloads=0x0 - TX RS bit threshold=0
22/10/2020 16:28:08 pktgen: test port 1 map gen port 1
22/10/2020 16:28:08 pktgen: test port 1 map gen port 1
22/10/2020 16:28:08 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:d0',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:9d:1c:f8',
'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:82:00.0',
'prom': 'off',
'prom_supported': 'yes',
'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
'rx_filter_mode': 'hardware match',
'rx_queue': 'off',
'speed': 40.0,
'src_ipv4': '-',
'src_mac': '3c:fd:fe:9d:1c:f8',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
22/10/2020 16:28:08 pktgen: trex port <0> not support flow control
22/10/2020 16:28:08 pktgen: trex packet generator: run traffic 5s to warm up ...
22/10/2020 16:28:08 pktgen: check the trex port link status
22/10/2020 16:28:08 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:d1',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:9d:1c:f9',
'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:82:00.1',
'prom': 'on',
'prom_supported': 'yes',
'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
'rx_filter_mode': 'hardware match',
'rx_queue': 'off',
'speed': 40.0,
'src_ipv4': '-',
'src_mac': '3c:fd:fe:9d:1c:f9',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
22/10/2020 16:28:08 pktgen: begin traffic ......
22/10/2020 16:28:08 pktgen: {'ports': [1], 'mult': '100%', 'core_mask': None, 'force': True}
22/10/2020 16:28:13 pktgen: traffic completed.
22/10/2020 16:28:13 pktgen: check the trex port link status
22/10/2020 16:28:13 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:d1',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:9d:1c:f9',
'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:82:00.1',
'prom': 'on',
'prom_supported': 'yes',
'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
'rx_filter_mode': 'hardware match',
'rx_queue': 'off',
'speed': 40.0,
'src_ipv4': '-',
'src_mac': '3c:fd:fe:9d:1c:f9',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
22/10/2020 16:28:13 pktgen: begin traffic ......
22/10/2020 16:28:13 pktgen: {'ports': [1], 'mult': '100%', 'core_mask': None, 'force': True}
22/10/2020 16:28:23 pktgen: begin get port statistic ...
22/10/2020 16:28:23 pktgen: {'options': {'fields_config': {'ip': {'dst': {'action': 'random',
'end': '192.168.2.64',
'start': '192.168.2.1',
'step': 1}}},
'pcap': '/tmp/af_xdp_2_1_128.pcap',
'stream_config': {'rate': 100,
'transmit_mode': 'continuous',
'txmode': {}}},
'pcap_file': '/tmp/af_xdp_2_1_128.pcap',
'rx_port': 1,
'tx_port': 1}
22/10/2020 16:28:23 pktgen: {0: {'ibytes': 0,
'ierrors': 0,
'ipackets': 0,
'obytes': 0,
'oerrors': 0,
'opackets': 0,
'rx_bps': 531.8128051757812,
'rx_bps_L1': 614.9116172790527,
'rx_pps': 0.5193675756454468,
'rx_util': 1.5372790431976318e-06,
'tx_bps': 1418778.875,
'tx_bps_L1': 1640462.8984375,
'tx_pps': 1385.525146484375,
'tx_util': 0.00410115724609375},
1: {'ibytes': 14804352,
'ierrors': 0,
'ipackets': 115662,
'obytes': 43291398784,
'oerrors': 0,
'opackets': 338214096,
'rx_bps': 11867514.0,
'rx_bps_L1': 13721813.0625,
'rx_pps': 11589.369140625,
'rx_util': 0.034304532656250004,
'tx_bps': 34671071232.0,
'tx_bps_L1': 40088425472.0,
'tx_pps': 33858464.0,
'tx_util': 100.22106368000001},
'flow_stats': {},
'global': {'bw_per_core': 15.433738708496094,
'cpu_util': 44.93077087402344,
'queue_full': 134010,
'rx_bps': 11868046.0,
'rx_cpu_util': 0.0,
'rx_drop_bps': 34660622336.0,
'rx_pps': 11589.888671875,
'tx_bps': 34672488448.0,
'tx_pps': 33859848.0},
'latency': {},
'total': {'ibytes': 14804352,
'ierrors': 0,
'ipackets': 115662,
'obytes': 43291398784,
'oerrors': 0,
'opackets': 338214096,
'rx_bps': 11868045.812805176,
'rx_bps_L1': 13722427.974117279,
'rx_pps': 11589.888508200645,
'rx_util': 0.0343060699352932,
'tx_bps': 34672490010.875,
'tx_bps_L1': 40090065934.89844,
'tx_pps': 33859849.525146484,
'tx_util': 100.22516483724611}}
22/10/2020 16:28:23 pktgen: {'ibytes': 14804352,
'ierrors': 0,
'ipackets': 115662,
'obytes': 43291398784,
'oerrors': 0,
'opackets': 338214096,
'rx_bps': 11867514.0,
'rx_bps_L1': 13721813.0625,
'rx_pps': 11589.369140625,
'rx_util': 0.034304532656250004,
'tx_bps': 34671071232.0,
'tx_bps_L1': 40088425472.0,
'tx_pps': 33858464.0,
'tx_util': 100.22106368000001}
22/10/2020 16:28:23 pktgen: Tx Port 1 stats:
tx_port: 1, tx_bps: 34671071232.000000, tx_pps: 33858464.000000
22/10/2020 16:28:23 pktgen: {'ibytes': 14804352,
'ierrors': 0,
'ipackets': 115662,
'obytes': 43291398784,
'oerrors': 0,
'opackets': 338214096,
'rx_bps': 11867514.0,
'rx_bps_L1': 13721813.0625,
'rx_pps': 11589.369140625,
'rx_util': 0.034304532656250004,
'tx_bps': 34671071232.0,
'tx_bps_L1': 40088425472.0,
'tx_pps': 33858464.0,
'tx_util': 100.22106368000001}
22/10/2020 16:28:23 pktgen: Rx Port 1 stats:
rx_port: 1, rx_bps: 11867514.000000, rx_pps: 11589.369141
22/10/2020 16:28:23 pktgen: throughput: pps_rx 11589.369141, bps_rx 11867514.000000
22/10/2020 16:28:23 pktgen: traffic completed.
22/10/2020 16:28:23 dut.10.240.183.99: stop
22/10/2020 16:28:23 dut.10.240.183.99:
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
----------------------------------------------------------------------------
---------------------- Forward statistics for port 1 ----------------------
RX-packets: 177609 RX-dropped: 203968713 RX-total: 204146322
TX-packets: 177609 TX-dropped: 0 TX-total: 177609
----------------------------------------------------------------------------
+++++++++++++++ Accumulated forward statistics for all ports+++++++++++++++
RX-packets: 177609 RX-dropped: 203968713 RX-total: 204146322
TX-packets: 177609 TX-dropped: 0 TX-total: 177609
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Done.
22/10/2020 16:28:23 dut.10.240.183.99: start
22/10/2020 16:28:23 dut.10.240.183.99:
io packet forwarding - ports=2 - cores=2 - streams=2 - NUMA support enabled, MP allocation mode: native
Logical Core 33 (socket 1) forwards packets on 1 streams:
RX P=0/Q=0 (socket 1) -> TX P=0/Q=0 (socket 1) peer=02:00:00:00:00:00
Logical Core 34 (socket 1) forwards packets on 1 streams:
RX P=1/Q=0 (socket 1) -> TX P=1/Q=0 (socket 1) peer=02:00:00:00:00:01
io packet forwarding packets/burst=32
nb forwarding cores=2 - nb forwarding ports=2
port 0: RX queue number: 1 Tx queue number: 1
Rx offloads=0x0 Tx offloads=0x0
RX queue: 0
RX desc=0 - RX free threshold=0
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0x0
TX queue: 0
TX desc=0 - TX free threshold=0
TX threshold registers: pthresh=0 hthresh=0 wthresh=0
TX offloads=0x0 - TX RS bit threshold=0
port 1: RX queue number: 1 Tx queue number: 1
Rx offloads=0x0 Tx offloads=0x0
RX queue: 0
RX desc=0 - RX free threshold=0
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0x0
TX queue: 0
TX desc=0 - TX free threshold=0
TX threshold registers: pthresh=0 hthresh=0 wthresh=0
TX offloads=0x0 - TX RS bit threshold=0
22/10/2020 16:28:23 TestAfXdp: Running test test_perf_two_port_and_same_irqs, and 256 frame size.
22/10/2020 16:28:23 pktgen: test port 0 map gen port 0
22/10/2020 16:28:23 pktgen: test port 0 map gen port 0
22/10/2020 16:28:23 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:d0',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:9d:1c:f8',
'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:82:00.0',
'prom': 'off',
'prom_supported': 'yes',
'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
'rx_filter_mode': 'hardware match',
'rx_queue': 'off',
'speed': 40.0,
'src_ipv4': '-',
'src_mac': '3c:fd:fe:9d:1c:f8',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
22/10/2020 16:28:23 pktgen: trex port <0> not support flow control
22/10/2020 16:28:23 pktgen: trex packet generator: run traffic 5s to warm up ...
22/10/2020 16:28:23 pktgen: check the trex port link status
22/10/2020 16:28:23 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:d0',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:9d:1c:f8',
'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:82:00.0',
'prom': 'on',
'prom_supported': 'yes',
'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
'rx_filter_mode': 'hardware match',
'rx_queue': 'off',
'speed': 40.0,
'src_ipv4': '-',
'src_mac': '3c:fd:fe:9d:1c:f8',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
22/10/2020 16:28:23 pktgen: begin traffic ......
22/10/2020 16:28:23 pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
22/10/2020 16:28:28 pktgen: traffic completed.
22/10/2020 16:28:28 pktgen: check the trex port link status
22/10/2020 16:28:28 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:d0',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:9d:1c:f8',
'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:82:00.0',
'prom': 'on',
'prom_supported': 'yes',
'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
'rx_filter_mode': 'hardware match',
'rx_queue': 'off',
'speed': 40.0,
'src_ipv4': '-',
'src_mac': '3c:fd:fe:9d:1c:f8',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
22/10/2020 16:28:28 pktgen: begin traffic ......
22/10/2020 16:28:28 pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
22/10/2020 16:28:38 pktgen: begin get port statistic ...
22/10/2020 16:28:38 pktgen: {'options': {'fields_config': {'ip': {'dst': {'action': 'random',
'end': '192.168.1.64',
'start': '192.168.1.1',
'step': 1}}},
'pcap': '/tmp/af_xdp_2_0_256.pcap',
'stream_config': {'rate': 100,
'transmit_mode': 'continuous',
'txmode': {}}},
'pcap_file': '/tmp/af_xdp_2_0_256.pcap',
'rx_port': 0,
'tx_port': 0}
22/10/2020 16:28:38 pktgen: {0: {'ibytes': 518971136,
'ierrors': 0,
'ipackets': 2027235,
'obytes': 16088342016,
'oerrors': 0,
'opackets': 62845089,
'rx_bps': 447590944.0,
'rx_bps_L1': 482558979.0,
'rx_pps': 218550.21875,
'rx_util': 1.2063974474999999,
'tx_bps': 12574751744.0,
'tx_bps_L1': 13557154064.0,
'tx_pps': 6140014.5,
'tx_util': 33.892885160000006},
1: {'ibytes': 0,
'ierrors': 0,
'ipackets': 0,
'obytes': 0,
'oerrors': 0,
'opackets': 0,
'rx_bps': 526.2904052734375,
'rx_bps_L1': 608.5232810974121,
'rx_pps': 0.5139554738998413,
'rx_util': 1.5213082027435302e-06,
'tx_bps': 1346603.0,
'tx_bps_L1': 1557009.5625,
'tx_pps': 1315.041015625,
'tx_util': 0.0038925239062499997},
'flow_stats': {},
'global': {'bw_per_core': 2.566080093383789,
'cpu_util': 98.01797485351562,
'queue_full': 89357531,
'rx_bps': 447591456.0,
'rx_cpu_util': 0.0,
'rx_drop_bps': 12128506880.0,
'rx_pps': 218550.734375,
'tx_bps': 12576098304.0,
'tx_pps': 6141329.5},
'latency': {},
'total': {'ibytes': 518971136,
'ierrors': 0,
'ipackets': 2027235,
'obytes': 16088342016,
'oerrors': 0,
'opackets': 62845089,
'rx_bps': 447591470.2904053,
'rx_bps_L1': 482559587.5232811,
'rx_pps': 218550.7327054739,
'rx_util': 1.2063989688082026,
'tx_bps': 12576098347.0,
'tx_bps_L1': 13558711073.5625,
'tx_pps': 6141329.541015625,
'tx_util': 33.89677768390626}}
22/10/2020 16:28:38 pktgen: {'ibytes': 518971136,
'ierrors': 0,
'ipackets': 2027235,
'obytes': 16088342016,
'oerrors': 0,
'opackets': 62845089,
'rx_bps': 447590944.0,
'rx_bps_L1': 482558979.0,
'rx_pps': 218550.21875,
'rx_util': 1.2063974474999999,
'tx_bps': 12574751744.0,
'tx_bps_L1': 13557154064.0,
'tx_pps': 6140014.5,
'tx_util': 33.892885160000006}
22/10/2020 16:28:38 pktgen: Tx Port 0 stats:
tx_port: 0, tx_bps: 12574751744.000000, tx_pps: 6140014.500000
22/10/2020 16:28:38 pktgen: {'ibytes': 518971136,
'ierrors': 0,
'ipackets': 2027235,
'obytes': 16088342016,
'oerrors': 0,
'opackets': 62845089,
'rx_bps': 447590944.0,
'rx_bps_L1': 482558979.0,
'rx_pps': 218550.21875,
'rx_util': 1.2063974474999999,
'tx_bps': 12574751744.0,
'tx_bps_L1': 13557154064.0,
'tx_pps': 6140014.5,
'tx_util': 33.892885160000006}
22/10/2020 16:28:38 pktgen: Rx Port 0 stats:
rx_port: 0, rx_bps: 447590944.000000, rx_pps: 218550.218750
22/10/2020 16:28:38 pktgen: throughput: pps_rx 218550.218750, bps_rx 447590944.000000
22/10/2020 16:28:38 pktgen: traffic completed.
22/10/2020 16:28:38 dut.10.240.183.99: stop
22/10/2020 16:28:38 dut.10.240.183.99:
Telling cores to ...
Waiting for lcores to finish...
---------------------- Forward statistics for port 0 ----------------------
RX-packets: 3026308 RX-dropped: 42492434 RX-total: 45518742
TX-packets: 3026308 TX-dropped: 0 TX-total: 3026308
----------------------------------------------------------------------------
---------------------- Forward statistics for port 1 ----------------------
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: 3026308 RX-dropped: 42492434 RX-total: 45518742
TX-packets: 3026308 TX-dropped: 0 TX-total: 3026308
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Done.
22/10/2020 16:28:38 dut.10.240.183.99: start
22/10/2020 16:28:38 dut.10.240.183.99:
io packet forwarding - ports=2 - cores=2 - streams=2 - NUMA support enabled, MP allocation mode: native
Logical Core 33 (socket 1) forwards packets on 1 streams:
RX P=0/Q=0 (socket 1) -> TX P=0/Q=0 (socket 1) peer=02:00:00:00:00:00
Logical Core 34 (socket 1) forwards packets on 1 streams:
RX P=1/Q=0 (socket 1) -> TX P=1/Q=0 (socket 1) peer=02:00:00:00:00:01
io packet forwarding packets/burst=32
nb forwarding cores=2 - nb forwarding ports=2
port 0: RX queue number: 1 Tx queue number: 1
Rx offloads=0x0 Tx offloads=0x0
RX queue: 0
RX desc=0 - RX free threshold=0
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0x0
TX queue: 0
TX desc=0 - TX free threshold=0
TX threshold registers: pthresh=0 hthresh=0 wthresh=0
TX offloads=0x0 - TX RS bit threshold=0
port 1: RX queue number: 1 Tx queue number: 1
Rx offloads=0x0 Tx offloads=0x0
RX queue: 0
RX desc=0 - RX free threshold=0
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0x0
TX queue: 0
TX desc=0 - TX free threshold=0
TX threshold registers: pthresh=0 hthresh=0 wthresh=0
TX offloads=0x0 - TX RS bit threshold=0
22/10/2020 16:28:38 pktgen: test port 1 map gen port 1
22/10/2020 16:28:38 pktgen: test port 1 map gen port 1
22/10/2020 16:28:38 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:d0',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:9d:1c:f8',
'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:82:00.0',
'prom': 'off',
'prom_supported': 'yes',
'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
'rx_filter_mode': 'hardware match',
'rx_queue': 'off',
'speed': 40.0,
'src_ipv4': '-',
'src_mac': '3c:fd:fe:9d:1c:f8',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
22/10/2020 16:28:38 pktgen: trex port <0> not support flow control
22/10/2020 16:28:38 pktgen: trex packet generator: run traffic 5s to warm up ...
22/10/2020 16:28:38 pktgen: check the trex port link status
22/10/2020 16:28:38 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:d1',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:9d:1c:f9',
'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:82:00.1',
'prom': 'on',
'prom_supported': 'yes',
'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
'rx_filter_mode': 'hardware match',
'rx_queue': 'off',
'speed': 40.0,
'src_ipv4': '-',
'src_mac': '3c:fd:fe:9d:1c:f9',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
22/10/2020 16:28:38 pktgen: begin traffic ......
22/10/2020 16:28:38 pktgen: {'ports': [1], 'mult': '100%', 'core_mask': None, 'force': True}
22/10/2020 16:28:43 pktgen: traffic completed.
22/10/2020 16:28:43 pktgen: check the trex port link status
22/10/2020 16:28:43 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:d1',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:9d:1c:f9',
'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:82:00.1',
'prom': 'on',
'prom_supported': 'yes',
'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
'rx_filter_mode': 'hardware match',
'rx_queue': 'off',
'speed': 40.0,
'src_ipv4': '-',
'src_mac': '3c:fd:fe:9d:1c:f9',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
22/10/2020 16:28:43 pktgen: begin traffic ......
22/10/2020 16:28:43 pktgen: {'ports': [1], 'mult': '100%', 'core_mask': None, 'force': True}
22/10/2020 16:28:53 pktgen: begin get port statistic ...
22/10/2020 16:28:53 pktgen: {'options': {'fields_config': {'ip': {'dst': {'action': 'random',
'end': '192.168.2.64',
'start': '192.168.2.1',
'step': 1}}},
'pcap': '/tmp/af_xdp_2_1_256.pcap',
'stream_config': {'rate': 100,
'transmit_mode': 'continuous',
'txmode': {}}},
'pcap_file': '/tmp/af_xdp_2_1_256.pcap',
'rx_port': 1,
'tx_port': 1}
22/10/2020 16:28:53 pktgen: {0: {'ibytes': 111,
'ierrors': 0,
'ipackets': 1,
'obytes': 0,
'oerrors': 0,
'opackets': 0,
'rx_bps': 16789.275390625,
'rx_bps_L1': 18103.703491210938,
'rx_pps': 8.21517562866211,
'rx_util': 4.525925872802734e-05,
'tx_bps': 467108.4375,
'tx_bps_L1': 503601.25,
'tx_pps': 228.080078125,
'tx_util': 0.001259003125},
1: {'ibytes': 2755747513,
'ierrors': 0,
'ipackets': 10764640,
'obytes': 16091585536,
'oerrors': 0,
'opackets': 62857759,
'rx_bps': 2235451648.0,
'rx_bps_L1': 2410096448.0,
'rx_pps': 1091530.0,
'rx_util': 6.0252411200000004,
'tx_bps': 12592144384.0,
'tx_bps_L1': 13575906143.999998,
'tx_pps': 6148511.0,
'tx_util': 33.939765359999996},
'flow_stats': {},
'global': {'bw_per_core': 2.5451157093048096,
'cpu_util': 98.95511627197266,
'queue_full': 89596211,
'rx_bps': 2235468544.0,
'rx_cpu_util': 0.0,
'rx_drop_bps': 10357142528.0,
'rx_pps': 1091538.25,
'tx_bps': 12592611328.0,
'tx_pps': 6148739.0},
'latency': {},
'total': {'ibytes': 2755747624,
'ierrors': 0,
'ipackets': 10764641,
'obytes': 16091585536,
'oerrors': 0,
'opackets': 62857759,
'rx_bps': 2235468437.2753906,
'rx_bps_L1': 2410114551.703491,
'rx_pps': 1091538.2151756287,
'rx_util': 6.025286379258729,
'tx_bps': 12592611492.4375,
'tx_bps_L1': 13576409745.249998,
'tx_pps': 6148739.080078125,
'tx_util': 33.941024363124995}}
22/10/2020 16:28:53 pktgen: {'ibytes': 2755747513,
'ierrors': 0,
'ipackets': 10764640,
'obytes': 16091585536,
'oerrors': 0,
'opackets': 62857759,
'rx_bps': 2235451648.0,
'rx_bps_L1': 2410096448.0,
'rx_pps': 1091530.0,
'rx_util': 6.0252411200000004,
'tx_bps': 12592144384.0,
'tx_bps_L1': 13575906143.999998,
'tx_pps': 6148511.0,
'tx_util': 33.939765359999996}
22/10/2020 16:28:53 pktgen: Tx Port 1 stats:
tx_port: 1, tx_bps: 12592144384.000000, tx_pps: 6148511.000000
22/10/2020 16:28:53 pktgen: {'ibytes': 2755747513,
'ierrors': 0,
'ipackets': 10764640,
'obytes': 16091585536,
'oerrors': 0,
'opackets': 62857759,
'rx_bps': 2235451648.0,
'rx_bps_L1': 2410096448.0,
'rx_pps': 1091530.0,
'rx_util': 6.0252411200000004,
'tx_bps': 12592144384.0,
'tx_bps_L1': 13575906143.999998,
'tx_pps': 6148511.0,
'tx_util': 33.939765359999996}
22/10/2020 16:28:53 pktgen: Rx Port 1 stats:
rx_port: 1, rx_bps: 2235451648.000000, rx_pps: 1091530.000000
22/10/2020 16:28:53 pktgen: throughput: pps_rx 1091530.000000, bps_rx 2235451648.000000
22/10/2020 16:28:53 pktgen: traffic completed.
22/10/2020 16:28:53 dut.10.240.183.99: stop
22/10/2020 16:28:54 dut.10.240.183.99:
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
----------------------------------------------------------------------------
---------------------- Forward statistics for port 1 ----------------------
RX-packets: 16041656 RX-dropped: 78708203 RX-total: 94749859
TX-packets: 16041656 TX-dropped: 0 TX-total: 16041656
----------------------------------------------------------------------------
+++++++++++++++ Accumulated forward statistics for all ports+++++++++++++++
RX-packets: 16041656 RX-dropped: 78708203 RX-total: 94749859
TX-packets: 16041656 TX-dropped: 0 TX-total: 16041656
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Done.
22/10/2020 16:28:54 dut.10.240.183.99: start
22/10/2020 16:28:54 dut.10.240.183.99:
io packet forwarding - ports=2 - cores=2 - streams=2 - NUMA support enabled, MP allocation mode: native
Logical Core 33 (socket 1) forwards packets on 1 streams:
RX P=0/Q=0 (socket 1) -> TX P=0/Q=0 (socket 1) peer=02:00:00:00:00:00
Logical Core 34 (socket 1) forwards packets on 1 streams:
RX P=1/Q=0 (socket 1) -> TX P=1/Q=0 (socket 1) peer=02:00:00:00:00:01
io packet forwarding packets/burst=32
nb forwarding cores=2 - nb forwarding ports=2
port 0: RX queue number: 1 Tx queue number: 1
Rx offloads=0x0 Tx offloads=0x0
RX queue: 0
RX desc=0 - RX free threshold=0
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0x0
TX queue: 0
TX desc=0 - TX free threshold=0
TX threshold registers: pthresh=0 hthresh=0 wthresh=0
TX offloads=0x0 - TX RS bit threshold=0
port 1: RX queue number: 1 Tx queue number: 1
Rx offloads=0x0 Tx offloads=0x0
RX queue: 0
RX desc=0 - RX free threshold=0
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0x0
TX queue: 0
TX desc=0 - TX free threshold=0
TX threshold registers: pthresh=0 hthresh=0 wthresh=0
TX offloads=0x0 - TX RS bit threshold=0
22/10/2020 16:28:54 TestAfXdp: Test Case test_perf_two_port_and_same_irqs Result FAILED: "The gap is too big btween two port's throughput"
22/10/2020 16:28:54 dut.10.240.183.99: quit
22/10/2020 16:28:55 dut.10.240.183.99:
Telling cores to stop...
Waiting for lcores to finish...
---------------------- Forward statistics for port 0 ----------------------
RX-packets: 0 RX-dropped: 0 RX-total: 0
TX-packets: 0 TX-dropped: 0 TX-total: 0
----------------------------------------------------------------------------
---------------------- Forward statistics for port 1 ----------------------
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.
Stopping port 0...
Stopping ports...
Done
Stopping port 1...
Stopping ports...
Done
Shutting down port 0...
Closing ports...
eth_dev_close(): Closing AF_XDP ethdev on numa socket 1
Port 0 is closed
Done
Shutting down port 1...
Closing ports...
eth_dev_close(): Closing AF_XDP ethdev on numa socket 1
Port 1 is closed
Done
Bye...
22/10/2020 16:28:55 TestAfXdp: Test Case test_perf_two_port_and_separate_irqs Begin
22/10/2020 16:28:55 dut.10.240.183.99:
22/10/2020 16:28:55 tester:
22/10/2020 16:28:55 dut.10.240.183.99: ethtool -L enp175s0f0 combined 1
22/10/2020 16:28:55 dut.10.240.183.99: Cannot set device channel parameters: Invalid argument
22/10/2020 16:28:55 dut.10.240.183.99: ethtool -L enp175s0f1 combined 1
22/10/2020 16:28:55 dut.10.240.183.99: combined unmodified, ignoring
no channel parameters changed.
current values: rx 0 tx 0 other 1 combined 1
22/10/2020 16:28:55 TestAfXdp: start testpmd
22/10/2020 16:28:55 dut.10.240.183.99: x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 32,33,34 -n 4 --file-prefix=dpdk_10327_20201022162606 --no-pci --vdev net_af_xdp0,iface=enp175s0f0 --vdev net_af_xdp1,iface=enp175s0f1 --log-level=pmd.net.af_xdp:8 -- -i --auto-start --nb-cores=2 --rxq=1 --txq=1 --port-topology=loop
22/10/2020 16:28:56 dut.10.240.183.99: EAL: Detected 72 lcore(s)
EAL: Detected 2 NUMA nodes
EAL: Multi-process socket /var/run/dpdk/dpdk_10327_20201022162606/mp_socket
EAL: Selected IOVA mode 'VA'
EAL: Probing VFIO support...
EAL: VFIO support initialized
rte_pmd_af_xdp_probe(): Initializing pmd_af_xdp for net_af_xdp0
init_internals(): Zero copy between umem and mbuf enabled.
rte_pmd_af_xdp_probe(): Initializing pmd_af_xdp for net_af_xdp1
init_internals(): Zero copy between umem and mbuf enabled.
Interactive-mode selected
Auto-start selected
testpmd: create a new mbuf pool <mb_pool_1>: n=163456, size=2176, socket=1
testpmd: preferred mempool ops selected: ring_mp_mc
Configuring Port 0 (socket 1)
eth_rx_queue_setup(): Set up rx queue, rx queue id: 0, xsk queue id: 0
Port 0: 3C:FD:FE:C8:19:D0
Configuring Port 1 (socket 1)
eth_rx_queue_setup(): Set up rx queue, rx queue id: 0, xsk queue id: 0
Port 1: 3C:FD:FE:C8:19:D1
Checking link statuses...
Done
Start automatic packet forwarding
io packet forwarding - ports=2 - cores=2 - streams=2 - NUMA support enabled, MP allocation mode: native
Logical Core 33 (socket 1) forwards packets on 1 streams:
RX P=0/Q=0 (socket 1) -> TX P=0/Q=0 (socket 1) peer=02:00:00:00:00:00
Logical Core 34 (socket 1) forwards packets on 1 streams:
RX P=1/Q=0 (socket 1) -> TX P=1/Q=0 (socket 1) peer=02:00:00:00:00:01
io packet forwarding packets/burst=32
nb forwarding cores=2 - nb forwarding ports=2
port 0: RX queue number: 1 Tx queue number: 1
Rx offloads=0x0 Tx offloads=0x0
RX queue: 0
RX desc=0 - RX free threshold=0
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0x0
TX queue: 0
TX desc=0 - TX free threshold=0
TX threshold registers: pthresh=0 hthresh=0 wthresh=0
TX offloads=0x0 - TX RS bit threshold=0
port 1: RX queue number: 1 Tx queue number: 1
Rx offloads=0x0 Tx offloads=0x0
RX queue: 0
RX desc=0 - RX free threshold=0
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0x0
TX queue: 0
TX desc=0 - TX free threshold=0
TX threshold registers: pthresh=0 hthresh=0 wthresh=0
TX offloads=0x0 - TX RS bit threshold=0
22/10/2020 16:28:59 TestAfXdp: Running test test_perf_two_port_and_separate_irqs, and 64 frame size.
22/10/2020 16:28:59 pktgen: test port 0 map gen port 0
22/10/2020 16:28:59 pktgen: test port 0 map gen port 0
22/10/2020 16:28:59 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:d0',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:9d:1c:f8',
'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:82:00.0',
'prom': 'off',
'prom_supported': 'yes',
'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
'rx_filter_mode': 'hardware match',
'rx_queue': 'off',
'speed': 40.0,
'src_ipv4': '-',
'src_mac': '3c:fd:fe:9d:1c:f8',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
22/10/2020 16:28:59 pktgen: trex port <0> not support flow control
22/10/2020 16:28:59 pktgen: trex packet generator: run traffic 5s to warm up ...
22/10/2020 16:28:59 pktgen: check the trex port link status
22/10/2020 16:28:59 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:d0',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:9d:1c:f8',
'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:82:00.0',
'prom': 'on',
'prom_supported': 'yes',
'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
'rx_filter_mode': 'hardware match',
'rx_queue': 'off',
'speed': 40.0,
'src_ipv4': '-',
'src_mac': '3c:fd:fe:9d:1c:f8',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
22/10/2020 16:28:59 pktgen: begin traffic ......
22/10/2020 16:28:59 pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
22/10/2020 16:29:04 pktgen: traffic completed.
22/10/2020 16:29:04 pktgen: check the trex port link status
22/10/2020 16:29:04 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:d0',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:9d:1c:f8',
'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:82:00.0',
'prom': 'on',
'prom_supported': 'yes',
'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
'rx_filter_mode': 'hardware match',
'rx_queue': 'off',
'speed': 40.0,
'src_ipv4': '-',
'src_mac': '3c:fd:fe:9d:1c:f8',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
22/10/2020 16:29:04 pktgen: begin traffic ......
22/10/2020 16:29:04 pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
22/10/2020 16:29:14 pktgen: begin get port statistic ...
22/10/2020 16:29:14 pktgen: {'options': {'fields_config': {'ip': {'dst': {'action': 'random',
'end': '192.168.1.64',
'start': '192.168.1.1',
'step': 1}}},
'pcap': '/tmp/af_xdp_2_0_64.pcap',
'stream_config': {'rate': 100,
'transmit_mode': 'continuous',
'txmode': {}}},
'pcap_file': '/tmp/af_xdp_2_0_64.pcap',
'rx_port': 0,
'tx_port': 0}
22/10/2020 16:29:14 pktgen: {0: {'ibytes': 967207127,
'ierrors': 0,
'ipackets': 15112613,
'obytes': 27322363776,
'oerrors': 0,
'opackets': 426911992,
'rx_bps': 774363008.0,
'rx_bps_L1': 1016351348.0,
'rx_pps': 1512427.125,
'rx_util': 2.54087837,
'tx_bps': 21870819328.0,
'tx_bps_L1': 28705449088.0,
'tx_pps': 42716436.0,
'tx_util': 71.76362272},
1: {'ibytes': 87,
'ierrors': 0,
'ipackets': 1,
'obytes': 0,
'oerrors': 0,
'opackets': 0,
'rx_bps': 5015.9560546875,
'rx_bps_L1': 5414.3017349243155,
'rx_pps': 2.4896605014801025,
'rx_util': 1.353575433731079e-05,
'tx_bps': 27959.580078125,
'tx_bps_L1': 30143.919982910153,
'tx_pps': 13.652124404907227,
'tx_util': 7.535979995727538e-05},
'flow_stats': {},
'global': {'bw_per_core': 4.430874347686768,
'cpu_util': 98.72023010253906,
'queue_full': 38221628,
'rx_bps': 774368064.0,
'rx_cpu_util': 0.0,
'rx_drop_bps': 21096478720.0,
'rx_pps': 1512429.625,
'tx_bps': 21870845952.0,
'tx_pps': 42716448.0},
'latency': {},
'total': {'ibytes': 967207214,
'ierrors': 0,
'ipackets': 15112614,
'obytes': 27322363776,
'oerrors': 0,
'opackets': 426911992,
'rx_bps': 774368023.9560547,
'rx_bps_L1': 1016356762.3017349,
'rx_pps': 1512429.6146605015,
'rx_util': 2.5408919057543375,
'tx_bps': 21870847287.58008,
'tx_bps_L1': 28705479231.919983,
'tx_pps': 42716449.652124405,
'tx_util': 71.76369807979995}}
22/10/2020 16:29:14 pktgen: {'ibytes': 967207127,
'ierrors': 0,
'ipackets': 15112613,
'obytes': 27322363776,
'oerrors': 0,
'opackets': 426911992,
'rx_bps': 774363008.0,
'rx_bps_L1': 1016351348.0,
'rx_pps': 1512427.125,
'rx_util': 2.54087837,
'tx_bps': 21870819328.0,
'tx_bps_L1': 28705449088.0,
'tx_pps': 42716436.0,
'tx_util': 71.76362272}
22/10/2020 16:29:14 pktgen: Tx Port 0 stats:
tx_port: 0, tx_bps: 21870819328.000000, tx_pps: 42716436.000000
22/10/2020 16:29:14 pktgen: {'ibytes': 967207127,
'ierrors': 0,
'ipackets': 15112613,
'obytes': 27322363776,
'oerrors': 0,
'opackets': 426911992,
'rx_bps': 774363008.0,
'rx_bps_L1': 1016351348.0,
'rx_pps': 1512427.125,
'rx_util': 2.54087837,
'tx_bps': 21870819328.0,
'tx_bps_L1': 28705449088.0,
'tx_pps': 42716436.0,
'tx_util': 71.76362272}
22/10/2020 16:29:14 pktgen: Rx Port 0 stats:
rx_port: 0, rx_bps: 774363008.000000, rx_pps: 1512427.125000
22/10/2020 16:29:14 pktgen: throughput: pps_rx 1512427.125000, bps_rx 774363008.000000
22/10/2020 16:29:14 pktgen: traffic completed.
22/10/2020 16:29:14 dut.10.240.183.99: stop
22/10/2020 16:29:14 dut.10.240.183.99:
Telling cores to ...
Waiting for lcores to finish...
---------------------- Forward statistics for port 0 ----------------------
RX-packets: 22636727 RX-dropped: 0 RX-total: 22636727
TX-packets: 22636727 TX-dropped: 0 TX-total: 22636727
----------------------------------------------------------------------------
---------------------- Forward statistics for port 1 ----------------------
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: 22636727 RX-dropped: 0 RX-total: 22636727
TX-packets: 22636727 TX-dropped: 0 TX-total: 22636727
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Done.
22/10/2020 16:29:14 dut.10.240.183.99: start
22/10/2020 16:29:14 dut.10.240.183.99:
io packet forwarding - ports=2 - cores=2 - streams=2 - NUMA support enabled, MP allocation mode: native
Logical Core 33 (socket 1) forwards packets on 1 streams:
RX P=0/Q=0 (socket 1) -> TX P=0/Q=0 (socket 1) peer=02:00:00:00:00:00
Logical Core 34 (socket 1) forwards packets on 1 streams:
RX P=1/Q=0 (socket 1) -> TX P=1/Q=0 (socket 1) peer=02:00:00:00:00:01
io packet forwarding packets/burst=32
nb forwarding cores=2 - nb forwarding ports=2
port 0: RX queue number: 1 Tx queue number: 1
Rx offloads=0x0 Tx offloads=0x0
RX queue: 0
RX desc=0 - RX free threshold=0
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0x0
TX queue: 0
TX desc=0 - TX free threshold=0
TX threshold registers: pthresh=0 hthresh=0 wthresh=0
TX offloads=0x0 - TX RS bit threshold=0
port 1: RX queue number: 1 Tx queue number: 1
Rx offloads=0x0 Tx offloads=0x0
RX queue: 0
RX desc=0 - RX free threshold=0
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0x0
TX queue: 0
TX desc=0 - TX free threshold=0
TX threshold registers: pthresh=0 hthresh=0 wthresh=0
TX offloads=0x0 - TX RS bit threshold=0
22/10/2020 16:29:14 pktgen: test port 1 map gen port 1
22/10/2020 16:29:14 pktgen: test port 1 map gen port 1
22/10/2020 16:29:14 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:d0',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:9d:1c:f8',
'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:82:00.0',
'prom': 'off',
'prom_supported': 'yes',
'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
'rx_filter_mode': 'hardware match',
'rx_queue': 'off',
'speed': 40.0,
'src_ipv4': '-',
'src_mac': '3c:fd:fe:9d:1c:f8',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
22/10/2020 16:29:14 pktgen: trex port <0> not support flow control
22/10/2020 16:29:14 pktgen: trex packet generator: run traffic 5s to warm up ...
22/10/2020 16:29:14 pktgen: check the trex port link status
22/10/2020 16:29:14 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:d1',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:9d:1c:f9',
'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:82:00.1',
'prom': 'on',
'prom_supported': 'yes',
'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
'rx_filter_mode': 'hardware match',
'rx_queue': 'off',
'speed': 40.0,
'src_ipv4': '-',
'src_mac': '3c:fd:fe:9d:1c:f9',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
22/10/2020 16:29:14 pktgen: begin traffic ......
22/10/2020 16:29:14 pktgen: {'ports': [1], 'mult': '100%', 'core_mask': None, 'force': True}
22/10/2020 16:29:19 pktgen: traffic completed.
22/10/2020 16:29:19 pktgen: check the trex port link status
22/10/2020 16:29:19 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:d1',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:9d:1c:f9',
'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:82:00.1',
'prom': 'on',
'prom_supported': 'yes',
'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
'rx_filter_mode': 'hardware match',
'rx_queue': 'off',
'speed': 40.0,
'src_ipv4': '-',
'src_mac': '3c:fd:fe:9d:1c:f9',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
22/10/2020 16:29:19 pktgen: begin traffic ......
22/10/2020 16:29:19 pktgen: {'ports': [1], 'mult': '100%', 'core_mask': None, 'force': True}
22/10/2020 16:29:29 pktgen: begin get port statistic ...
22/10/2020 16:29:29 pktgen: {'options': {'fields_config': {'ip': {'dst': {'action': 'random',
'end': '192.168.2.64',
'start': '192.168.2.1',
'step': 1}}},
'pcap': '/tmp/af_xdp_2_1_64.pcap',
'stream_config': {'rate': 100,
'transmit_mode': 'continuous',
'txmode': {}}},
'pcap_file': '/tmp/af_xdp_2_1_64.pcap',
'rx_port': 1,
'tx_port': 1}
22/10/2020 16:29:29 pktgen: {0: {'ibytes': 0,
'ierrors': 0,
'ipackets': 0,
'obytes': 0,
'oerrors': 0,
'opackets': 0,
'rx_bps': 43883.03125,
'rx_bps_L1': 57596.46630859374,
'rx_pps': 85.70896911621094,
'rx_util': 0.00014399116577148435,
'tx_bps': 1239143.625,
'tx_bps_L1': 1626375.7734375,
'tx_pps': 2420.200927734375,
'tx_util': 0.00406593943359375},
1: {'ibytes': 1119726080,
'ierrors': 0,
'ipackets': 17495722,
'obytes': 27315749760,
'oerrors': 0,
'opackets': 426808642,
'rx_bps': 896150848.0,
'rx_bps_L1': 1176198068.0000002,
'rx_pps': 1750295.125,
'rx_util': 2.9404951700000006,
'tx_bps': 21838995456.0,
'tx_bps_L1': 28663682816.0,
'tx_pps': 42654296.0,
'tx_util': 71.65920704},
'flow_stats': {},
'global': {'bw_per_core': 4.374942779541016,
'cpu_util': 99.8423843383789,
'queue_full': 47699012,
'rx_bps': 896194688.0,
'rx_cpu_util': 0.0,
'rx_drop_bps': 20944039936.0,
'rx_pps': 1750380.875,
'tx_bps': 21840234496.0,
'tx_pps': 42656716.0},
'latency': {},
'total': {'ibytes': 1119726080,
'ierrors': 0,
'ipackets': 17495722,
'obytes': 27315749760,
'oerrors': 0,
'opackets': 426808642,
'rx_bps': 896194731.03125,
'rx_bps_L1': 1176255664.4663088,
'rx_pps': 1750380.8339691162,
'rx_util': 2.9406391611657723,
'tx_bps': 21840234599.625,
'tx_bps_L1': 28665309191.773438,
'tx_pps': 42656716.200927734,
'tx_util': 71.66327297943359}}
22/10/2020 16:29:29 pktgen: {'ibytes': 1119726080,
'ierrors': 0,
'ipackets': 17495722,
'obytes': 27315749760,
'oerrors': 0,
'opackets': 426808642,
'rx_bps': 896150848.0,
'rx_bps_L1': 1176198068.0000002,
'rx_pps': 1750295.125,
'rx_util': 2.9404951700000006,
'tx_bps': 21838995456.0,
'tx_bps_L1': 28663682816.0,
'tx_pps': 42654296.0,
'tx_util': 71.65920704}
22/10/2020 16:29:29 pktgen: Tx Port 1 stats:
tx_port: 1, tx_bps: 21838995456.000000, tx_pps: 42654296.000000
22/10/2020 16:29:29 pktgen: {'ibytes': 1119726080,
'ierrors': 0,
'ipackets': 17495722,
'obytes': 27315749760,
'oerrors': 0,
'opackets': 426808642,
'rx_bps': 896150848.0,
'rx_bps_L1': 1176198068.0000002,
'rx_pps': 1750295.125,
'rx_util': 2.9404951700000006,
'tx_bps': 21838995456.0,
'tx_bps_L1': 28663682816.0,
'tx_pps': 42654296.0,
'tx_util': 71.65920704}
22/10/2020 16:29:29 pktgen: Rx Port 1 stats:
rx_port: 1, rx_bps: 896150848.000000, rx_pps: 1750295.125000
22/10/2020 16:29:29 pktgen: throughput: pps_rx 1750295.125000, bps_rx 896150848.000000
22/10/2020 16:29:29 pktgen: traffic completed.
22/10/2020 16:29:29 dut.10.240.183.99: stop
22/10/2020 16:29:29 dut.10.240.183.99:
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
----------------------------------------------------------------------------
---------------------- Forward statistics for port 1 ----------------------
RX-packets: 26261546 RX-dropped: 51080077 RX-total: 77341623
TX-packets: 26261546 TX-dropped: 0 TX-total: 26261546
----------------------------------------------------------------------------
+++++++++++++++ Accumulated forward statistics for all ports+++++++++++++++
RX-packets: 26261546 RX-dropped: 51080077 RX-total: 77341623
TX-packets: 26261546 TX-dropped: 0 TX-total: 26261546
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Done.
22/10/2020 16:29:29 dut.10.240.183.99: start
22/10/2020 16:29:29 dut.10.240.183.99:
io packet forwarding - ports=2 - cores=2 - streams=2 - NUMA support enabled, MP allocation mode: native
Logical Core 33 (socket 1) forwards packets on 1 streams:
RX P=0/Q=0 (socket 1) -> TX P=0/Q=0 (socket 1) peer=02:00:00:00:00:00
Logical Core 34 (socket 1) forwards packets on 1 streams:
RX P=1/Q=0 (socket 1) -> TX P=1/Q=0 (socket 1) peer=02:00:00:00:00:01
io packet forwarding packets/burst=32
nb forwarding cores=2 - nb forwarding ports=2
port 0: RX queue number: 1 Tx queue number: 1
Rx offloads=0x0 Tx offloads=0x0
RX queue: 0
RX desc=0 - RX free threshold=0
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0x0
TX queue: 0
TX desc=0 - TX free threshold=0
TX threshold registers: pthresh=0 hthresh=0 wthresh=0
TX offloads=0x0 - TX RS bit threshold=0
port 1: RX queue number: 1 Tx queue number: 1
Rx offloads=0x0 Tx offloads=0x0
RX queue: 0
RX desc=0 - RX free threshold=0
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0x0
TX queue: 0
TX desc=0 - TX free threshold=0
TX threshold registers: pthresh=0 hthresh=0 wthresh=0
TX offloads=0x0 - TX RS bit threshold=0
22/10/2020 16:29:29 TestAfXdp: Test Case test_perf_two_port_and_separate_irqs Result FAILED: "The gap is too big btween two port's throughput"
22/10/2020 16:29:29 dut.10.240.183.99: quit
22/10/2020 16:29:30 dut.10.240.183.99:
Telling cores to stop...
Waiting for lcores to finish...
---------------------- Forward statistics for port 0 ----------------------
RX-packets: 0 RX-dropped: 0 RX-total: 0
TX-packets: 0 TX-dropped: 0 TX-total: 0
----------------------------------------------------------------------------
---------------------- Forward statistics for port 1 ----------------------
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.
Stopping port 0...
Stopping ports...
Done
Stopping port 1...
Stopping ports...
Done
Shutting down port 0...
Closing ports...
eth_dev_close(): Closing AF_XDP ethdev on numa socket 1
Port 0 is closed
Done
Shutting down port 1...
Closing ports...
eth_dev_close(): Closing AF_XDP ethdev on numa socket 1
Port 1 is closed
Done
Bye...
22/10/2020 16:29:30 dts:
TEST SUITE ENDED: TestAfXdp
22/10/2020 16:31:23 dts:
TEST SUITE : TestAfXdp
22/10/2020 16:31:23 dts: NIC : fortville_spirit
22/10/2020 16:31:24 dut.10.240.183.99:
22/10/2020 16:31:24 tester:
22/10/2020 16:31:24 TestAfXdp: you can config packet_size in file af_xdp_2.cfg,in region 'suite' like packet_sizes=[64, 128, 256]
22/10/2020 16:31:24 tester: ls -d /tmp
22/10/2020 16:31:24 tester: /tmp
22/10/2020 16:31:24 dut.10.240.183.99: echo 0000:af:00.0 > /sys/bus/pci/devices/0000\:af\:00.0/driver/unbind
22/10/2020 16:31:24 dut.10.240.183.99:
22/10/2020 16:31:24 dut.10.240.183.99: modprobe i40e
22/10/2020 16:31:24 dut.10.240.183.99:
22/10/2020 16:31:24 dut.10.240.183.99: echo 0000:af:00.0 > /sys/bus/pci/drivers/i40e/bind
22/10/2020 16:31:24 dut.10.240.183.99:
22/10/2020 16:31:24 dut.10.240.183.99: ifconfig enp175s0f0 up
22/10/2020 16:31:24 dut.10.240.183.99:
22/10/2020 16:31:24 dut.10.240.183.99: echo 0000:af:00.1 > /sys/bus/pci/devices/0000\:af\:00.1/driver/unbind
22/10/2020 16:31:24 dut.10.240.183.99:
22/10/2020 16:31:24 dut.10.240.183.99: modprobe i40e
22/10/2020 16:31:25 dut.10.240.183.99:
22/10/2020 16:31:25 dut.10.240.183.99: echo 0000:af:00.1 > /sys/bus/pci/drivers/i40e/bind
22/10/2020 16:31:25 dut.10.240.183.99:
22/10/2020 16:31:25 dut.10.240.183.99: ifconfig enp175s0f1 up
22/10/2020 16:31:25 dut.10.240.183.99:
22/10/2020 16:31:27 TestAfXdp: Test Case test_perf_one_port_single_queue_with_two_vdev Begin
22/10/2020 16:31:27 dut.10.240.183.99:
22/10/2020 16:31:27 tester:
22/10/2020 16:31:27 dut.10.240.183.99: ethtool -L enp175s0f0 combined 2
22/10/2020 16:31:27 dut.10.240.183.99:
22/10/2020 16:31:28 TestAfXdp: start testpmd
22/10/2020 16:31:28 dut.10.240.183.99: x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 32,33,34 -n 4 --file-prefix=dpdk_11622_20201022163052 --no-pci --vdev net_af_xdp0,iface=enp175s0f0,start_queue=0,queue_count=1 --vdev net_af_xdp1,iface=enp175s0f0,start_queue=1,queue_count=1 --log-level=pmd.net.af_xdp:8 -- -i --auto-start --nb-cores=2 --rxq=1 --txq=1 --port-topology=loop
22/10/2020 16:31:29 dut.10.240.183.99: EAL: Detected 72 lcore(s)
EAL: Detected 2 NUMA nodes
EAL: Multi-process socket /var/run/dpdk/dpdk_11622_20201022163052/mp_socket
EAL: Selected IOVA mode 'VA'
EAL: Probing VFIO support...
EAL: VFIO support initialized
rte_pmd_af_xdp_probe(): Initializing pmd_af_xdp for net_af_xdp0
init_internals(): Zero copy between umem and mbuf enabled.
rte_pmd_af_xdp_probe(): Initializing pmd_af_xdp for net_af_xdp1
init_internals(): Zero copy between umem and mbuf enabled.
Interactive-mode selected
Auto-start selected
testpmd: create a new mbuf pool <mb_pool_1>: n=163456, size=2176, socket=1
testpmd: preferred mempool ops selected: ring_mp_mc
Configuring Port 0 (socket 1)
eth_rx_queue_setup(): Set up rx queue, rx queue id: 0, xsk queue id: 0
Port 0: 3C:FD:FE:C8:19:D0
Configuring Port 1 (socket 1)
eth_rx_queue_setup(): Set up rx queue, rx queue id: 0, xsk queue id: 1
Port 1: 3C:FD:FE:C8:19:D0
Checking link statuses...
Done
Start automatic packet forwarding
io packet forwarding - ports=2 - cores=2 - streams=2 - NUMA support enabled, MP allocation mode: native
Logical Core 33 (socket 1) forwards packets on 1 streams:
RX P=0/Q=0 (socket 1) -> TX P=0/Q=0 (socket 1) peer=02:00:00:00:00:00
Logical Core 34 (socket 1) forwards packets on 1 streams:
RX P=1/Q=0 (socket 1) -> TX P=1/Q=0 (socket 1) peer=02:00:00:00:00:01
io packet forwarding packets/burst=32
nb forwarding cores=2 - nb forwarding ports=2
port 0: RX queue number: 1 Tx queue number: 1
Rx offloads=0x0 Tx offloads=0x0
RX queue: 0
RX desc=0 - RX free threshold=0
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0x0
TX queue: 0
TX desc=0 - TX free threshold=0
TX threshold registers: pthresh=0 hthresh=0 wthresh=0
TX offloads=0x0 - TX RS bit threshold=0
port 1: RX queue number: 1 Tx queue number: 1
Rx offloads=0x0 Tx offloads=0x0
RX queue: 0
RX desc=0 - RX free threshold=0
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0x0
TX queue: 0
TX desc=0 - TX free threshold=0
TX threshold registers: pthresh=0 hthresh=0 wthresh=0
TX offloads=0x0 - TX RS bit threshold=0
22/10/2020 16:31:31 TestAfXdp: Running test test_perf_one_port_single_queue_with_two_vdev, and 64 frame size.
22/10/2020 16:31:31 pktgen: test port 0 map gen port 0
22/10/2020 16:31:31 pktgen: test port 0 map gen port 0
22/10/2020 16:31:31 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:d0',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:9d:1c:f8',
'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:82:00.0',
'prom': 'off',
'prom_supported': 'yes',
'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
'rx_filter_mode': 'hardware match',
'rx_queue': 'off',
'speed': 40.0,
'src_ipv4': '-',
'src_mac': '3c:fd:fe:9d:1c:f8',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
22/10/2020 16:31:31 pktgen: trex port <0> not support flow control
22/10/2020 16:31:31 pktgen: trex packet generator: run traffic 5s to warm up ...
22/10/2020 16:31:31 pktgen: check the trex port link status
22/10/2020 16:31:31 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:d0',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:9d:1c:f8',
'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:82:00.0',
'prom': 'on',
'prom_supported': 'yes',
'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
'rx_filter_mode': 'hardware match',
'rx_queue': 'off',
'speed': 40.0,
'src_ipv4': '-',
'src_mac': '3c:fd:fe:9d:1c:f8',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
22/10/2020 16:31:31 pktgen: begin traffic ......
22/10/2020 16:31:31 pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
22/10/2020 16:31:36 pktgen: traffic completed.
22/10/2020 16:31:36 pktgen: check the trex port link status
22/10/2020 16:31:36 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:d0',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:9d:1c:f8',
'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:82:00.0',
'prom': 'on',
'prom_supported': 'yes',
'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
'rx_filter_mode': 'hardware match',
'rx_queue': 'off',
'speed': 40.0,
'src_ipv4': '-',
'src_mac': '3c:fd:fe:9d:1c:f8',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
22/10/2020 16:31:36 pktgen: begin traffic ......
22/10/2020 16:31:36 pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
22/10/2020 16:31:46 pktgen: begin get port statistic ...
22/10/2020 16:31:46 pktgen: {'options': {'fields_config': {'ip': {'dst': {'action': 'random',
'end': '48.0.0.64',
'start': '48.0.0.1',
'step': 1}}},
'pcap': '/tmp/af_xdp_4243_64.pcap',
'stream_config': {'rate': 100,
'transmit_mode': 'continuous',
'txmode': {}}},
'pcap_file': '/tmp/af_xdp_4243_64.pcap',
'rx_port': 0,
'tx_port': 0}
22/10/2020 16:31:46 pktgen: {0: {'ibytes': 176293386,
'ierrors': 14597577,
'ipackets': 2754585,
'obytes': 13513039104,
'oerrors': 0,
'opackets': 211141307,
'rx_bps': 136746112.0,
'rx_bps_L1': 179479192.0,
'rx_pps': 267081.75,
'rx_util': 0.44869798,
'tx_bps': 10802499584.0,
'tx_bps_L1': 14178280704.0,
'tx_pps': 21098632.0,
'tx_util': 35.44570176},
1: {'ibytes': 0,
'ierrors': 0,
'ipackets': 0,
'obytes': 0,
'oerrors': 0,
'opackets': 0,
'rx_bps': 0.0,
'rx_bps_L1': 0,
'rx_pps': 0.0,
'rx_util': 0.0,
'tx_bps': 0.0,
'tx_bps_L1': 0,
'tx_pps': 0.0,
'tx_util': 0.0},
'flow_stats': {},
'global': {'bw_per_core': 2.1947712898254395,
'cpu_util': 98.4384994506836,
'queue_full': 74723862,
'rx_bps': 136746112.0,
'rx_cpu_util': 0.0,
'rx_drop_bps': 10665753600.0,
'rx_pps': 267081.75,
'tx_bps': 10802499584.0,
'tx_pps': 21098632.0},
'latency': {},
'total': {'ibytes': 176293386,
'ierrors': 14597577,
'ipackets': 2754585,
'obytes': 13513039104,
'oerrors': 0,
'opackets': 211141307,
'rx_bps': 136746112.0,
'rx_bps_L1': 179479192.0,
'rx_pps': 267081.75,
'rx_util': 0.44869798,
'tx_bps': 10802499584.0,
'tx_bps_L1': 14178280704.0,
'tx_pps': 21098632.0,
'tx_util': 35.44570176}}
22/10/2020 16:31:46 pktgen: {'ibytes': 176293386,
'ierrors': 14597577,
'ipackets': 2754585,
'obytes': 13513039104,
'oerrors': 0,
'opackets': 211141307,
'rx_bps': 136746112.0,
'rx_bps_L1': 179479192.0,
'rx_pps': 267081.75,
'rx_util': 0.44869798,
'tx_bps': 10802499584.0,
'tx_bps_L1': 14178280704.0,
'tx_pps': 21098632.0,
'tx_util': 35.44570176}
22/10/2020 16:31:46 pktgen: Tx Port 0 stats:
tx_port: 0, tx_bps: 10802499584.000000, tx_pps: 21098632.000000
22/10/2020 16:31:46 pktgen: {'ibytes': 176293386,
'ierrors': 14597577,
'ipackets': 2754585,
'obytes': 13513039104,
'oerrors': 0,
'opackets': 211141307,
'rx_bps': 136746112.0,
'rx_bps_L1': 179479192.0,
'rx_pps': 267081.75,
'rx_util': 0.44869798,
'tx_bps': 10802499584.0,
'tx_bps_L1': 14178280704.0,
'tx_pps': 21098632.0,
'tx_util': 35.44570176}
22/10/2020 16:31:46 pktgen: Rx Port 0 stats:
rx_port: 0, rx_bps: 136746112.000000, rx_pps: 267081.750000
22/10/2020 16:31:46 pktgen: throughput: pps_rx 267081.750000, bps_rx 136746112.000000
22/10/2020 16:31:46 pktgen: traffic completed.
22/10/2020 16:31:46 dut.10.240.183.99: stop
22/10/2020 16:31:47 dut.10.240.183.99:
Telling cores to ...
Waiting for lcores to finish...
---------------------- Forward statistics for port 0 ----------------------
RX-packets: 26049517 RX-dropped: 49558954 RX-total: 75608471
TX-packets: 26049517 TX-dropped: 0 TX-total: 26049517
----------------------------------------------------------------------------
---------------------- Forward statistics for port 1 ----------------------
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: 26049517 RX-dropped: 49558954 RX-total: 75608471
TX-packets: 26049517 TX-dropped: 0 TX-total: 26049517
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Done.
22/10/2020 16:31:47 dut.10.240.183.99: start
22/10/2020 16:31:47 dut.10.240.183.99:
io packet forwarding - ports=2 - cores=2 - streams=2 - NUMA support enabled, MP allocation mode: native
Logical Core 33 (socket 1) forwards packets on 1 streams:
RX P=0/Q=0 (socket 1) -> TX P=0/Q=0 (socket 1) peer=02:00:00:00:00:00
Logical Core 34 (socket 1) forwards packets on 1 streams:
RX P=1/Q=0 (socket 1) -> TX P=1/Q=0 (socket 1) peer=02:00:00:00:00:01
io packet forwarding packets/burst=32
nb forwarding cores=2 - nb forwarding ports=2
port 0: RX queue number: 1 Tx queue number: 1
Rx offloads=0x0 Tx offloads=0x0
RX queue: 0
RX desc=0 - RX free threshold=0
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0x0
TX queue: 0
TX desc=0 - TX free threshold=0
TX threshold registers: pthresh=0 hthresh=0 wthresh=0
TX offloads=0x0 - TX RS bit threshold=0
port 1: RX queue number: 1 Tx queue number: 1
Rx offloads=0x0 Tx offloads=0x0
RX queue: 0
RX desc=0 - RX free threshold=0
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0x0
TX queue: 0
TX desc=0 - TX free threshold=0
TX threshold registers: pthresh=0 hthresh=0 wthresh=0
TX offloads=0x0 - TX RS bit threshold=0
22/10/2020 16:31:47 pktgen: test port 0 map gen port 0
22/10/2020 16:31:47 pktgen: test port 0 map gen port 0
22/10/2020 16:31:47 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:d0',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:9d:1c:f8',
'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:82:00.0',
'prom': 'off',
'prom_supported': 'yes',
'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
'rx_filter_mode': 'hardware match',
'rx_queue': 'off',
'speed': 40.0,
'src_ipv4': '-',
'src_mac': '3c:fd:fe:9d:1c:f8',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
22/10/2020 16:31:47 pktgen: trex port <0> not support flow control
22/10/2020 16:31:47 pktgen: trex packet generator: run traffic 5s to warm up ...
22/10/2020 16:31:47 pktgen: check the trex port link status
22/10/2020 16:31:47 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:d0',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:9d:1c:f8',
'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:82:00.0',
'prom': 'on',
'prom_supported': 'yes',
'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
'rx_filter_mode': 'hardware match',
'rx_queue': 'off',
'speed': 40.0,
'src_ipv4': '-',
'src_mac': '3c:fd:fe:9d:1c:f8',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
22/10/2020 16:31:47 pktgen: begin traffic ......
22/10/2020 16:31:47 pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
22/10/2020 16:31:52 pktgen: traffic completed.
22/10/2020 16:31:52 pktgen: check the trex port link status
22/10/2020 16:31:52 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:d0',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:9d:1c:f8',
'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:82:00.0',
'prom': 'on',
'prom_supported': 'yes',
'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
'rx_filter_mode': 'hardware match',
'rx_queue': 'off',
'speed': 40.0,
'src_ipv4': '-',
'src_mac': '3c:fd:fe:9d:1c:f8',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
22/10/2020 16:31:52 pktgen: begin traffic ......
22/10/2020 16:31:52 pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
22/10/2020 16:32:02 pktgen: begin get port statistic ...
22/10/2020 16:32:02 pktgen: {'options': {'fields_config': {'ip': {'dst': {'action': 'random',
'end': '48.0.0.64',
'start': '48.0.0.1',
'step': 1}}},
'pcap': '/tmp/af_xdp_4242_64.pcap',
'stream_config': {'rate': 100,
'transmit_mode': 'continuous',
'txmode': {}}},
'pcap_file': '/tmp/af_xdp_4242_64.pcap',
'rx_port': 0,
'tx_port': 0}
22/10/2020 16:32:02 pktgen: {0: {'ibytes': 174320832,
'ierrors': 14646433,
'ipackets': 2723764,
'obytes': 13513187968,
'oerrors': 0,
'opackets': 211143634,
'rx_bps': 138417040.0,
'rx_bps_L1': 181672295.0,
'rx_pps': 270345.34375,
'rx_util': 0.4541807375,
'tx_bps': 10764773376.0,
'tx_bps_L1': 14128765056.0,
'tx_pps': 21024948.0,
'tx_util': 35.32191264},
1: {'ibytes': 0,
'ierrors': 0,
'ipackets': 0,
'obytes': 0,
'oerrors': 0,
'opackets': 0,
'rx_bps': 0.0,
'rx_bps_L1': 0,
'rx_pps': 0.0,
'rx_util': 0.0,
'tx_bps': 0.0,
'tx_bps_L1': 0,
'tx_pps': 0.0,
'tx_util': 0.0},
'flow_stats': {},
'global': {'bw_per_core': 2.156327247619629,
'cpu_util': 99.84358978271484,
'queue_full': 76562793,
'rx_bps': 138417040.0,
'rx_cpu_util': 0.0,
'rx_drop_bps': 10626356224.0,
'rx_pps': 270345.34375,
'tx_bps': 10764773376.0,
'tx_pps': 21024948.0},
'latency': {},
'total': {'ibytes': 174320832,
'ierrors': 14646433,
'ipackets': 2723764,
'obytes': 13513187968,
'oerrors': 0,
'opackets': 211143634,
'rx_bps': 138417040.0,
'rx_bps_L1': 181672295.0,
'rx_pps': 270345.34375,
'rx_util': 0.4541807375,
'tx_bps': 10764773376.0,
'tx_bps_L1': 14128765056.0,
'tx_pps': 21024948.0,
'tx_util': 35.32191264}}
22/10/2020 16:32:02 pktgen: {'ibytes': 174320832,
'ierrors': 14646433,
'ipackets': 2723764,
'obytes': 13513187968,
'oerrors': 0,
'opackets': 211143634,
'rx_bps': 138417040.0,
'rx_bps_L1': 181672295.0,
'rx_pps': 270345.34375,
'rx_util': 0.4541807375,
'tx_bps': 10764773376.0,
'tx_bps_L1': 14128765056.0,
'tx_pps': 21024948.0,
'tx_util': 35.32191264}
22/10/2020 16:32:02 pktgen: Tx Port 0 stats:
tx_port: 0, tx_bps: 10764773376.000000, tx_pps: 21024948.000000
22/10/2020 16:32:02 pktgen: {'ibytes': 174320832,
'ierrors': 14646433,
'ipackets': 2723764,
'obytes': 13513187968,
'oerrors': 0,
'opackets': 211143634,
'rx_bps': 138417040.0,
'rx_bps_L1': 181672295.0,
'rx_pps': 270345.34375,
'rx_util': 0.4541807375,
'tx_bps': 10764773376.0,
'tx_bps_L1': 14128765056.0,
'tx_pps': 21024948.0,
'tx_util': 35.32191264}
22/10/2020 16:32:02 pktgen: Rx Port 0 stats:
rx_port: 0, rx_bps: 138417040.000000, rx_pps: 270345.343750
22/10/2020 16:32:02 pktgen: throughput: pps_rx 270345.343750, bps_rx 138417040.000000
22/10/2020 16:32:02 pktgen: traffic completed.
22/10/2020 16:32:02 dut.10.240.183.99: stop
22/10/2020 16:32:02 dut.10.240.183.99:
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
----------------------------------------------------------------------------
---------------------- Forward statistics for port 1 ----------------------
RX-packets: 26075187 RX-dropped: 47560005 RX-total: 73635192
TX-packets: 26075187 TX-dropped: 0 TX-total: 26075187
----------------------------------------------------------------------------
+++++++++++++++ Accumulated forward statistics for all ports+++++++++++++++
RX-packets: 26075187 RX-dropped: 47560005 RX-total: 73635192
TX-packets: 26075187 TX-dropped: 0 TX-total: 26075187
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Done.
22/10/2020 16:32:02 dut.10.240.183.99: start
22/10/2020 16:32:02 dut.10.240.183.99:
io packet forwarding - ports=2 - cores=2 - streams=2 - NUMA support enabled, MP allocation mode: native
Logical Core 33 (socket 1) forwards packets on 1 streams:
RX P=0/Q=0 (socket 1) -> TX P=0/Q=0 (socket 1) peer=02:00:00:00:00:00
Logical Core 34 (socket 1) forwards packets on 1 streams:
RX P=1/Q=0 (socket 1) -> TX P=1/Q=0 (socket 1) peer=02:00:00:00:00:01
io packet forwarding packets/burst=32
nb forwarding cores=2 - nb forwarding ports=2
port 0: RX queue number: 1 Tx queue number: 1
Rx offloads=0x0 Tx offloads=0x0
RX queue: 0
RX desc=0 - RX free threshold=0
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0x0
TX queue: 0
TX desc=0 - TX free threshold=0
TX threshold registers: pthresh=0 hthresh=0 wthresh=0
TX offloads=0x0 - TX RS bit threshold=0
port 1: RX queue number: 1 Tx queue number: 1
Rx offloads=0x0 Tx offloads=0x0
RX queue: 0
RX desc=0 - RX free threshold=0
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0x0
TX queue: 0
TX desc=0 - TX free threshold=0
TX threshold registers: pthresh=0 hthresh=0 wthresh=0
TX offloads=0x0 - TX RS bit threshold=0
22/10/2020 16:32:02 TestAfXdp: Running test test_perf_one_port_single_queue_with_two_vdev, and 128 frame size.
22/10/2020 16:32:02 pktgen: test port 0 map gen port 0
22/10/2020 16:32:02 pktgen: test port 0 map gen port 0
22/10/2020 16:32:02 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:d0',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:9d:1c:f8',
'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:82:00.0',
'prom': 'off',
'prom_supported': 'yes',
'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
'rx_filter_mode': 'hardware match',
'rx_queue': 'off',
'speed': 40.0,
'src_ipv4': '-',
'src_mac': '3c:fd:fe:9d:1c:f8',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
22/10/2020 16:32:02 pktgen: trex port <0> not support flow control
22/10/2020 16:32:02 pktgen: trex packet generator: run traffic 5s to warm up ...
22/10/2020 16:32:02 pktgen: check the trex port link status
22/10/2020 16:32:02 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:d0',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:9d:1c:f8',
'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:82:00.0',
'prom': 'on',
'prom_supported': 'yes',
'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
'rx_filter_mode': 'hardware match',
'rx_queue': 'off',
'speed': 40.0,
'src_ipv4': '-',
'src_mac': '3c:fd:fe:9d:1c:f8',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
22/10/2020 16:32:02 pktgen: begin traffic ......
22/10/2020 16:32:02 pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
22/10/2020 16:32:07 pktgen: traffic completed.
22/10/2020 16:32:07 pktgen: check the trex port link status
22/10/2020 16:32:07 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:d0',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:9d:1c:f8',
'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:82:00.0',
'prom': 'on',
'prom_supported': 'yes',
'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
'rx_filter_mode': 'hardware match',
'rx_queue': 'off',
'speed': 40.0,
'src_ipv4': '-',
'src_mac': '3c:fd:fe:9d:1c:f8',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
22/10/2020 16:32:07 pktgen: begin traffic ......
22/10/2020 16:32:07 pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
22/10/2020 16:32:17 pktgen: begin get port statistic ...
22/10/2020 16:32:17 pktgen: {'options': {'fields_config': {'ip': {'dst': {'action': 'random',
'end': '48.0.0.64',
'start': '48.0.0.1',
'step': 1}}},
'pcap': '/tmp/af_xdp_4243_128.pcap',
'stream_config': {'rate': 100,
'transmit_mode': 'continuous',
'txmode': {}}},
'pcap_file': '/tmp/af_xdp_4243_128.pcap',
'rx_port': 0,
'tx_port': 0}
22/10/2020 16:32:17 pktgen: {0: {'ibytes': 143233664,
'ierrors': 15915628,
'ipackets': 1119013,
'obytes': 26984415104,
'oerrors': 0,
'opackets': 210815823,
'rx_bps': 100735640.0,
'rx_bps_L1': 116476656.25000001,
'rx_pps': 98381.3515625,
'rx_util': 0.291191640625,
'tx_bps': 21542287360.0,
'tx_bps_L1': 24908349440.0,
'tx_pps': 21037888.0,
'tx_util': 62.2708736},
1: {'ibytes': 0,
'ierrors': 0,
'ipackets': 0,
'obytes': 0,
'oerrors': 0,
'opackets': 0,
'rx_bps': 0.0,
'rx_bps_L1': 0,
'rx_pps': 0.0,
'rx_util': 0.0,
'tx_bps': 0.0,
'tx_bps_L1': 0,
'tx_pps': 0.0,
'tx_util': 0.0},
'flow_stats': {},
'global': {'bw_per_core': 4.334013938903809,
'cpu_util': 99.41033172607422,
'queue_full': 71497051,
'rx_bps': 100735640.0,
'rx_cpu_util': 0.0,
'rx_drop_bps': 21441550336.0,
'rx_pps': 98381.3515625,
'tx_bps': 21542287360.0,
'tx_pps': 21037888.0},
'latency': {},
'total': {'ibytes': 143233664,
'ierrors': 15915628,
'ipackets': 1119013,
'obytes': 26984415104,
'oerrors': 0,
'opackets': 210815823,
'rx_bps': 100735640.0,
'rx_bps_L1': 116476656.25000001,
'rx_pps': 98381.3515625,
'rx_util': 0.291191640625,
'tx_bps': 21542287360.0,
'tx_bps_L1': 24908349440.0,
'tx_pps': 21037888.0,
'tx_util': 62.2708736}}
22/10/2020 16:32:17 pktgen: {'ibytes': 143233664,
'ierrors': 15915628,
'ipackets': 1119013,
'obytes': 26984415104,
'oerrors': 0,
'opackets': 210815823,
'rx_bps': 100735640.0,
'rx_bps_L1': 116476656.25000001,
'rx_pps': 98381.3515625,
'rx_util': 0.291191640625,
'tx_bps': 21542287360.0,
'tx_bps_L1': 24908349440.0,
'tx_pps': 21037888.0,
'tx_util': 62.2708736}
22/10/2020 16:32:17 pktgen: Tx Port 0 stats:
tx_port: 0, tx_bps: 21542287360.000000, tx_pps: 21037888.000000
22/10/2020 16:32:17 pktgen: {'ibytes': 143233664,
'ierrors': 15915628,
'ipackets': 1119013,
'obytes': 26984415104,
'oerrors': 0,
'opackets': 210815823,
'rx_bps': 100735640.0,
'rx_bps_L1': 116476656.25000001,
'rx_pps': 98381.3515625,
'rx_util': 0.291191640625,
'tx_bps': 21542287360.0,
'tx_bps_L1': 24908349440.0,
'tx_pps': 21037888.0,
'tx_util': 62.2708736}
22/10/2020 16:32:17 pktgen: Rx Port 0 stats:
rx_port: 0, rx_bps: 100735640.000000, rx_pps: 98381.351562
22/10/2020 16:32:17 pktgen: throughput: pps_rx 98381.351562, bps_rx 100735640.000000
22/10/2020 16:32:17 pktgen: traffic completed.
22/10/2020 16:32:17 dut.10.240.183.99: stop
22/10/2020 16:32:17 dut.10.240.183.99:
Telling cores to ...
Waiting for lcores to finish...
---------------------- Forward statistics for port 0 ----------------------
RX-packets: 25565731 RX-dropped: 50053936 RX-total: 75619667
TX-packets: 25565731 TX-dropped: 0 TX-total: 25565731
----------------------------------------------------------------------------
---------------------- Forward statistics for port 1 ----------------------
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: 25565731 RX-dropped: 50053936 RX-total: 75619667
TX-packets: 25565731 TX-dropped: 0 TX-total: 25565731
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Done.
22/10/2020 16:32:17 dut.10.240.183.99: start
22/10/2020 16:32:17 dut.10.240.183.99:
io packet forwarding - ports=2 - cores=2 - streams=2 - NUMA support enabled, MP allocation mode: native
Logical Core 33 (socket 1) forwards packets on 1 streams:
RX P=0/Q=0 (socket 1) -> TX P=0/Q=0 (socket 1) peer=02:00:00:00:00:00
Logical Core 34 (socket 1) forwards packets on 1 streams:
RX P=1/Q=0 (socket 1) -> TX P=1/Q=0 (socket 1) peer=02:00:00:00:00:01
io packet forwarding packets/burst=32
nb forwarding cores=2 - nb forwarding ports=2
port 0: RX queue number: 1 Tx queue number: 1
Rx offloads=0x0 Tx offloads=0x0
RX queue: 0
RX desc=0 - RX free threshold=0
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0x0
TX queue: 0
TX desc=0 - TX free threshold=0
TX threshold registers: pthresh=0 hthresh=0 wthresh=0
TX offloads=0x0 - TX RS bit threshold=0
port 1: RX queue number: 1 Tx queue number: 1
Rx offloads=0x0 Tx offloads=0x0
RX queue: 0
RX desc=0 - RX free threshold=0
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0x0
TX queue: 0
TX desc=0 - TX free threshold=0
TX threshold registers: pthresh=0 hthresh=0 wthresh=0
TX offloads=0x0 - TX RS bit threshold=0
22/10/2020 16:32:17 pktgen: test port 0 map gen port 0
22/10/2020 16:32:17 pktgen: test port 0 map gen port 0
22/10/2020 16:32:17 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:d0',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:9d:1c:f8',
'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:82:00.0',
'prom': 'off',
'prom_supported': 'yes',
'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
'rx_filter_mode': 'hardware match',
'rx_queue': 'off',
'speed': 40.0,
'src_ipv4': '-',
'src_mac': '3c:fd:fe:9d:1c:f8',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
22/10/2020 16:32:17 pktgen: trex port <0> not support flow control
22/10/2020 16:32:17 pktgen: trex packet generator: run traffic 5s to warm up ...
22/10/2020 16:32:17 pktgen: check the trex port link status
22/10/2020 16:32:17 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:d0',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:9d:1c:f8',
'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:82:00.0',
'prom': 'on',
'prom_supported': 'yes',
'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
'rx_filter_mode': 'hardware match',
'rx_queue': 'off',
'speed': 40.0,
'src_ipv4': '-',
'src_mac': '3c:fd:fe:9d:1c:f8',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
22/10/2020 16:32:17 pktgen: begin traffic ......
22/10/2020 16:32:17 pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
22/10/2020 16:32:22 pktgen: traffic completed.
22/10/2020 16:32:22 pktgen: check the trex port link status
22/10/2020 16:32:22 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:d0',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:9d:1c:f8',
'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:82:00.0',
'prom': 'on',
'prom_supported': 'yes',
'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
'rx_filter_mode': 'hardware match',
'rx_queue': 'off',
'speed': 40.0,
'src_ipv4': '-',
'src_mac': '3c:fd:fe:9d:1c:f8',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
22/10/2020 16:32:22 pktgen: begin traffic ......
22/10/2020 16:32:22 pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
22/10/2020 16:32:32 pktgen: begin get port statistic ...
22/10/2020 16:32:32 pktgen: {'options': {'fields_config': {'ip': {'dst': {'action': 'random',
'end': '48.0.0.64',
'start': '48.0.0.1',
'step': 1}}},
'pcap': '/tmp/af_xdp_4242_128.pcap',
'stream_config': {'rate': 100,
'transmit_mode': 'continuous',
'txmode': {}}},
'pcap_file': '/tmp/af_xdp_4242_128.pcap',
'rx_port': 0,
'tx_port': 0}
22/10/2020 16:32:32 pktgen: {0: {'ibytes': 100464896,
'ierrors': 16245304,
'ipackets': 784882,
'obytes': 26975173888,
'oerrors': 0,
'opackets': 210743625,
'rx_bps': 73787288.0,
'rx_bps_L1': 85316536.75,
'rx_pps': 72057.8046875,
'rx_util': 0.213291341875,
'tx_bps': 21585328128.0,
'tx_bps_L1': 24958035968.0,
'tx_pps': 21079424.0,
'tx_util': 62.395089920000004},
1: {'ibytes': 0,
'ierrors': 0,
'ipackets': 0,
'obytes': 0,
'oerrors': 0,
'opackets': 0,
'rx_bps': 0.0,
'rx_bps_L1': 0,
'rx_pps': 0.0,
'rx_util': 0.0,
'tx_bps': 0.0,
'tx_bps_L1': 0,
'tx_pps': 0.0,
'tx_util': 0.0},
'flow_stats': {},
'global': {'bw_per_core': 4.342272758483887,
'cpu_util': 99.41949462890625,
'queue_full': 74984368,
'rx_bps': 73787288.0,
'rx_cpu_util': 0.0,
'rx_drop_bps': 21511540736.0,
'rx_pps': 72057.8046875,
'tx_bps': 21585328128.0,
'tx_pps': 21079424.0},
'latency': {},
'total': {'ibytes': 100464896,
'ierrors': 16245304,
'ipackets': 784882,
'obytes': 26975173888,
'oerrors': 0,
'opackets': 210743625,
'rx_bps': 73787288.0,
'rx_bps_L1': 85316536.75,
'rx_pps': 72057.8046875,
'rx_util': 0.213291341875,
'tx_bps': 21585328128.0,
'tx_bps_L1': 24958035968.0,
'tx_pps': 21079424.0,
'tx_util': 62.395089920000004}}
22/10/2020 16:32:32 pktgen: {'ibytes': 100464896,
'ierrors': 16245304,
'ipackets': 784882,
'obytes': 26975173888,
'oerrors': 0,
'opackets': 210743625,
'rx_bps': 73787288.0,
'rx_bps_L1': 85316536.75,
'rx_pps': 72057.8046875,
'rx_util': 0.213291341875,
'tx_bps': 21585328128.0,
'tx_bps_L1': 24958035968.0,
'tx_pps': 21079424.0,
'tx_util': 62.395089920000004}
22/10/2020 16:32:32 pktgen: Tx Port 0 stats:
tx_port: 0, tx_bps: 21585328128.000000, tx_pps: 21079424.000000
22/10/2020 16:32:32 pktgen: {'ibytes': 100464896,
'ierrors': 16245304,
'ipackets': 784882,
'obytes': 26975173888,
'oerrors': 0,
'opackets': 210743625,
'rx_bps': 73787288.0,
'rx_bps_L1': 85316536.75,
'rx_pps': 72057.8046875,
'rx_util': 0.213291341875,
'tx_bps': 21585328128.0,
'tx_bps_L1': 24958035968.0,
'tx_pps': 21079424.0,
'tx_util': 62.395089920000004}
22/10/2020 16:32:32 pktgen: Rx Port 0 stats:
rx_port: 0, rx_bps: 73787288.000000, rx_pps: 72057.804688
22/10/2020 16:32:32 pktgen: throughput: pps_rx 72057.804688, bps_rx 73787288.000000
22/10/2020 16:32:32 pktgen: traffic completed.
22/10/2020 16:32:32 dut.10.240.183.99: stop
22/10/2020 16:32:32 dut.10.240.183.99:
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
----------------------------------------------------------------------------
---------------------- Forward statistics for port 1 ----------------------
RX-packets: 25567635 RX-dropped: 47822910 RX-total: 73390545
TX-packets: 25567635 TX-dropped: 0 TX-total: 25567635
----------------------------------------------------------------------------
+++++++++++++++ Accumulated forward statistics for all ports+++++++++++++++
RX-packets: 25567635 RX-dropped: 47822910 RX-total: 73390545
TX-packets: 25567635 TX-dropped: 0 TX-total: 25567635
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Done.
22/10/2020 16:32:32 dut.10.240.183.99: start
22/10/2020 16:32:33 dut.10.240.183.99:
io packet forwarding - ports=2 - cores=2 - streams=2 - NUMA support enabled, MP allocation mode: native
Logical Core 33 (socket 1) forwards packets on 1 streams:
RX P=0/Q=0 (socket 1) -> TX P=0/Q=0 (socket 1) peer=02:00:00:00:00:00
Logical Core 34 (socket 1) forwards packets on 1 streams:
RX P=1/Q=0 (socket 1) -> TX P=1/Q=0 (socket 1) peer=02:00:00:00:00:01
io packet forwarding packets/burst=32
nb forwarding cores=2 - nb forwarding ports=2
port 0: RX queue number: 1 Tx queue number: 1
Rx offloads=0x0 Tx offloads=0x0
RX queue: 0
RX desc=0 - RX free threshold=0
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0x0
TX queue: 0
TX desc=0 - TX free threshold=0
TX threshold registers: pthresh=0 hthresh=0 wthresh=0
TX offloads=0x0 - TX RS bit threshold=0
port 1: RX queue number: 1 Tx queue number: 1
Rx offloads=0x0 Tx offloads=0x0
RX queue: 0
RX desc=0 - RX free threshold=0
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0x0
TX queue: 0
TX desc=0 - TX free threshold=0
TX threshold registers: pthresh=0 hthresh=0 wthresh=0
TX offloads=0x0 - TX RS bit threshold=0
22/10/2020 16:32:33 TestAfXdp: Running test test_perf_one_port_single_queue_with_two_vdev, and 256 frame size.
22/10/2020 16:32:33 pktgen: test port 0 map gen port 0
22/10/2020 16:32:33 pktgen: test port 0 map gen port 0
22/10/2020 16:32:33 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:d0',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:9d:1c:f8',
'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:82:00.0',
'prom': 'off',
'prom_supported': 'yes',
'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
'rx_filter_mode': 'hardware match',
'rx_queue': 'off',
'speed': 40.0,
'src_ipv4': '-',
'src_mac': '3c:fd:fe:9d:1c:f8',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
22/10/2020 16:32:33 pktgen: trex port <0> not support flow control
22/10/2020 16:32:33 pktgen: trex packet generator: run traffic 5s to warm up ...
22/10/2020 16:32:33 pktgen: check the trex port link status
22/10/2020 16:32:33 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:d0',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:9d:1c:f8',
'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:82:00.0',
'prom': 'on',
'prom_supported': 'yes',
'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
'rx_filter_mode': 'hardware match',
'rx_queue': 'off',
'speed': 40.0,
'src_ipv4': '-',
'src_mac': '3c:fd:fe:9d:1c:f8',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
22/10/2020 16:32:33 pktgen: begin traffic ......
22/10/2020 16:32:33 pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
22/10/2020 16:32:38 pktgen: traffic completed.
22/10/2020 16:32:38 pktgen: check the trex port link status
22/10/2020 16:32:38 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:d0',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:9d:1c:f8',
'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:82:00.0',
'prom': 'on',
'prom_supported': 'yes',
'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
'rx_filter_mode': 'hardware match',
'rx_queue': 'off',
'speed': 40.0,
'src_ipv4': '-',
'src_mac': '3c:fd:fe:9d:1c:f8',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
22/10/2020 16:32:38 pktgen: begin traffic ......
22/10/2020 16:32:38 pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
22/10/2020 16:32:48 pktgen: begin get port statistic ...
22/10/2020 16:32:48 pktgen: {'options': {'fields_config': {'ip': {'dst': {'action': 'random',
'end': '48.0.0.64',
'start': '48.0.0.1',
'step': 1}}},
'pcap': '/tmp/af_xdp_4243_256.pcap',
'stream_config': {'rate': 100,
'transmit_mode': 'continuous',
'txmode': {}}},
'pcap_file': '/tmp/af_xdp_4243_256.pcap',
'rx_port': 0,
'tx_port': 0}
22/10/2020 16:32:48 pktgen: {0: {'ibytes': 4257371991,
'ierrors': 23,
'ipackets': 16630367,
'obytes': 16130626304,
'oerrors': 0,
'opackets': 63010283,
'rx_bps': 3399034368.0,
'rx_bps_L1': 3664584288.0,
'rx_pps': 1659687.0,
'rx_util': 9.161460720000001,
'tx_bps': 12583929856.0,
'tx_bps_L1': 13567122976.000002,
'tx_pps': 6144957.0,
'tx_util': 33.917807440000004},
1: {'ibytes': 0,
'ierrors': 0,
'ipackets': 0,
'obytes': 0,
'oerrors': 0,
'opackets': 0,
'rx_bps': 0.0,
'rx_bps_L1': 0,
'rx_pps': 0.0,
'rx_util': 0.0,
'tx_bps': 0.0,
'tx_bps_L1': 0,
'tx_pps': 0.0,
'tx_util': 0.0},
'flow_stats': {},
'global': {'bw_per_core': 2.542581081390381,
'cpu_util': 98.9854736328125,
'queue_full': 89675255,
'rx_bps': 3399034368.0,
'rx_cpu_util': 0.0,
'rx_drop_bps': 9184896000.0,
'rx_pps': 1659687.0,
'tx_bps': 12583929856.0,
'tx_pps': 6144957.0},
'latency': {},
'total': {'ibytes': 4257371991,
'ierrors': 23,
'ipackets': 16630367,
'obytes': 16130626304,
'oerrors': 0,
'opackets': 63010283,
'rx_bps': 3399034368.0,
'rx_bps_L1': 3664584288.0,
'rx_pps': 1659687.0,
'rx_util': 9.161460720000001,
'tx_bps': 12583929856.0,
'tx_bps_L1': 13567122976.000002,
'tx_pps': 6144957.0,
'tx_util': 33.917807440000004}}
22/10/2020 16:32:48 pktgen: {'ibytes': 4257371991,
'ierrors': 23,
'ipackets': 16630367,
'obytes': 16130626304,
'oerrors': 0,
'opackets': 63010283,
'rx_bps': 3399034368.0,
'rx_bps_L1': 3664584288.0,
'rx_pps': 1659687.0,
'rx_util': 9.161460720000001,
'tx_bps': 12583929856.0,
'tx_bps_L1': 13567122976.000002,
'tx_pps': 6144957.0,
'tx_util': 33.917807440000004}
22/10/2020 16:32:48 pktgen: Tx Port 0 stats:
tx_port: 0, tx_bps: 12583929856.000000, tx_pps: 6144957.000000
22/10/2020 16:32:48 pktgen: {'ibytes': 4257371991,
'ierrors': 23,
'ipackets': 16630367,
'obytes': 16130626304,
'oerrors': 0,
'opackets': 63010283,
'rx_bps': 3399034368.0,
'rx_bps_L1': 3664584288.0,
'rx_pps': 1659687.0,
'rx_util': 9.161460720000001,
'tx_bps': 12583929856.0,
'tx_bps_L1': 13567122976.000002,
'tx_pps': 6144957.0,
'tx_util': 33.917807440000004}
22/10/2020 16:32:48 pktgen: Rx Port 0 stats:
rx_port: 0, rx_bps: 3399034368.000000, rx_pps: 1659687.000000
22/10/2020 16:32:48 pktgen: throughput: pps_rx 1659687.000000, bps_rx 3399034368.000000
22/10/2020 16:32:48 pktgen: traffic completed.
22/10/2020 16:32:48 dut.10.240.183.99: stop
22/10/2020 16:32:48 dut.10.240.183.99:
Telling cores to ...
Waiting for lcores to finish...
---------------------- Forward statistics for port 0 ----------------------
RX-packets: 24969597 RX-dropped: 40705998 RX-total: 65675595
TX-packets: 24969597 TX-dropped: 0 TX-total: 24969597
----------------------------------------------------------------------------
---------------------- Forward statistics for port 1 ----------------------
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: 24969597 RX-dropped: 40705998 RX-total: 65675595
TX-packets: 24969597 TX-dropped: 0 TX-total: 24969597
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Done.
22/10/2020 16:32:48 dut.10.240.183.99: start
22/10/2020 16:32:48 dut.10.240.183.99:
io packet forwarding - ports=2 - cores=2 - streams=2 - NUMA support enabled, MP allocation mode: native
Logical Core 33 (socket 1) forwards packets on 1 streams:
RX P=0/Q=0 (socket 1) -> TX P=0/Q=0 (socket 1) peer=02:00:00:00:00:00
Logical Core 34 (socket 1) forwards packets on 1 streams:
RX P=1/Q=0 (socket 1) -> TX P=1/Q=0 (socket 1) peer=02:00:00:00:00:01
io packet forwarding packets/burst=32
nb forwarding cores=2 - nb forwarding ports=2
port 0: RX queue number: 1 Tx queue number: 1
Rx offloads=0x0 Tx offloads=0x0
RX queue: 0
RX desc=0 - RX free threshold=0
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0x0
TX queue: 0
TX desc=0 - TX free threshold=0
TX threshold registers: pthresh=0 hthresh=0 wthresh=0
TX offloads=0x0 - TX RS bit threshold=0
port 1: RX queue number: 1 Tx queue number: 1
Rx offloads=0x0 Tx offloads=0x0
RX queue: 0
RX desc=0 - RX free threshold=0
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0x0
TX queue: 0
TX desc=0 - TX free threshold=0
TX threshold registers: pthresh=0 hthresh=0 wthresh=0
TX offloads=0x0 - TX RS bit threshold=0
22/10/2020 16:32:48 pktgen: test port 0 map gen port 0
22/10/2020 16:32:48 pktgen: test port 0 map gen port 0
22/10/2020 16:32:48 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:d0',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:9d:1c:f8',
'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:82:00.0',
'prom': 'off',
'prom_supported': 'yes',
'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
'rx_filter_mode': 'hardware match',
'rx_queue': 'off',
'speed': 40.0,
'src_ipv4': '-',
'src_mac': '3c:fd:fe:9d:1c:f8',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
22/10/2020 16:32:48 pktgen: trex port <0> not support flow control
22/10/2020 16:32:48 pktgen: trex packet generator: run traffic 5s to warm up ...
22/10/2020 16:32:48 pktgen: check the trex port link status
22/10/2020 16:32:48 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:d0',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:9d:1c:f8',
'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:82:00.0',
'prom': 'on',
'prom_supported': 'yes',
'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
'rx_filter_mode': 'hardware match',
'rx_queue': 'off',
'speed': 40.0,
'src_ipv4': '-',
'src_mac': '3c:fd:fe:9d:1c:f8',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
22/10/2020 16:32:48 pktgen: begin traffic ......
22/10/2020 16:32:48 pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
22/10/2020 16:32:53 pktgen: traffic completed.
22/10/2020 16:32:53 pktgen: check the trex port link status
22/10/2020 16:32:53 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:d0',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:9d:1c:f8',
'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:82:00.0',
'prom': 'on',
'prom_supported': 'yes',
'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
'rx_filter_mode': 'hardware match',
'rx_queue': 'off',
'speed': 40.0,
'src_ipv4': '-',
'src_mac': '3c:fd:fe:9d:1c:f8',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
22/10/2020 16:32:53 pktgen: begin traffic ......
22/10/2020 16:32:53 pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
22/10/2020 16:33:03 pktgen: begin get port statistic ...
22/10/2020 16:33:03 pktgen: {'options': {'fields_config': {'ip': {'dst': {'action': 'random',
'end': '48.0.0.64',
'start': '48.0.0.1',
'step': 1}}},
'pcap': '/tmp/af_xdp_4242_256.pcap',
'stream_config': {'rate': 100,
'transmit_mode': 'continuous',
'txmode': {}}},
'pcap_file': '/tmp/af_xdp_4242_256.pcap',
'rx_port': 0,
'tx_port': 0}
22/10/2020 16:33:03 pktgen: {0: {'ibytes': 4275422208,
'ierrors': 35,
'ipackets': 16700874,
'obytes': 16075747072,
'oerrors': 0,
'opackets': 62795911,
'rx_bps': 3400644864.0,
'rx_bps_L1': 3666320124.0,
'rx_pps': 1660470.375,
'rx_util': 9.16580031,
'tx_bps': 12535169024.0,
'tx_bps_L1': 13514479104.0,
'tx_pps': 6120688.0,
'tx_util': 33.78619776},
1: {'ibytes': 0,
'ierrors': 0,
'ipackets': 0,
'obytes': 0,
'oerrors': 0,
'opackets': 0,
'rx_bps': 0.0,
'rx_bps_L1': 0,
'rx_pps': 0.0,
'rx_util': 0.0,
'tx_bps': 0.0,
'tx_bps_L1': 0,
'tx_pps': 0.0,
'tx_util': 0.0},
'flow_stats': {},
'global': {'bw_per_core': 2.5308470726013184,
'cpu_util': 99.05908203125,
'queue_full': 89688611,
'rx_bps': 3400644864.0,
'rx_cpu_util': 0.0,
'rx_drop_bps': 9134524416.0,
'rx_pps': 1660470.375,
'tx_bps': 12535169024.0,
'tx_pps': 6120688.0},
'latency': {},
'total': {'ibytes': 4275422208,
'ierrors': 35,
'ipackets': 16700874,
'obytes': 16075747072,
'oerrors': 0,
'opackets': 62795911,
'rx_bps': 3400644864.0,
'rx_bps_L1': 3666320124.0,
'rx_pps': 1660470.375,
'rx_util': 9.16580031,
'tx_bps': 12535169024.0,
'tx_bps_L1': 13514479104.0,
'tx_pps': 6120688.0,
'tx_util': 33.78619776}}
22/10/2020 16:33:03 pktgen: {'ibytes': 4275422208,
'ierrors': 35,
'ipackets': 16700874,
'obytes': 16075747072,
'oerrors': 0,
'opackets': 62795911,
'rx_bps': 3400644864.0,
'rx_bps_L1': 3666320124.0,
'rx_pps': 1660470.375,
'rx_util': 9.16580031,
'tx_bps': 12535169024.0,
'tx_bps_L1': 13514479104.0,
'tx_pps': 6120688.0,
'tx_util': 33.78619776}
22/10/2020 16:33:03 pktgen: Tx Port 0 stats:
tx_port: 0, tx_bps: 12535169024.000000, tx_pps: 6120688.000000
22/10/2020 16:33:03 pktgen: {'ibytes': 4275422208,
'ierrors': 35,
'ipackets': 16700874,
'obytes': 16075747072,
'oerrors': 0,
'opackets': 62795911,
'rx_bps': 3400644864.0,
'rx_bps_L1': 3666320124.0,
'rx_pps': 1660470.375,
'rx_util': 9.16580031,
'tx_bps': 12535169024.0,
'tx_bps_L1': 13514479104.0,
'tx_pps': 6120688.0,
'tx_util': 33.78619776}
22/10/2020 16:33:03 pktgen: Rx Port 0 stats:
rx_port: 0, rx_bps: 3400644864.000000, rx_pps: 1660470.375000
22/10/2020 16:33:03 pktgen: throughput: pps_rx 1660470.375000, bps_rx 3400644864.000000
22/10/2020 16:33:03 pktgen: traffic completed.
22/10/2020 16:33:03 dut.10.240.183.99: stop
22/10/2020 16:33:03 dut.10.240.183.99:
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
----------------------------------------------------------------------------
---------------------- Forward statistics for port 1 ----------------------
RX-packets: 25099232 RX-dropped: 38872877 RX-total: 63972109
TX-packets: 25099232 TX-dropped: 0 TX-total: 25099232
----------------------------------------------------------------------------
+++++++++++++++ Accumulated forward statistics for all ports+++++++++++++++
RX-packets: 25099232 RX-dropped: 38872877 RX-total: 63972109
TX-packets: 25099232 TX-dropped: 0 TX-total: 25099232
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Done.
22/10/2020 16:33:03 dut.10.240.183.99: start
22/10/2020 16:33:03 dut.10.240.183.99:
io packet forwarding - ports=2 - cores=2 - streams=2 - NUMA support enabled, MP allocation mode: native
Logical Core 33 (socket 1) forwards packets on 1 streams:
RX P=0/Q=0 (socket 1) -> TX P=0/Q=0 (socket 1) peer=02:00:00:00:00:00
Logical Core 34 (socket 1) forwards packets on 1 streams:
RX P=1/Q=0 (socket 1) -> TX P=1/Q=0 (socket 1) peer=02:00:00:00:00:01
io packet forwarding packets/burst=32
nb forwarding cores=2 - nb forwarding ports=2
port 0: RX queue number: 1 Tx queue number: 1
Rx offloads=0x0 Tx offloads=0x0
RX queue: 0
RX desc=0 - RX free threshold=0
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0x0
TX queue: 0
TX desc=0 - TX free threshold=0
TX threshold registers: pthresh=0 hthresh=0 wthresh=0
TX offloads=0x0 - TX RS bit threshold=0
port 1: RX queue number: 1 Tx queue number: 1
Rx offloads=0x0 Tx offloads=0x0
RX queue: 0
RX desc=0 - RX free threshold=0
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0x0
TX queue: 0
TX desc=0 - TX free threshold=0
TX threshold registers: pthresh=0 hthresh=0 wthresh=0
TX offloads=0x0 - TX RS bit threshold=0
22/10/2020 16:33:03 TestAfXdp: Running test test_perf_one_port_single_queue_with_two_vdev, and 512 frame size.
22/10/2020 16:33:03 pktgen: test port 0 map gen port 0
22/10/2020 16:33:03 pktgen: test port 0 map gen port 0
22/10/2020 16:33:03 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:d0',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:9d:1c:f8',
'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:82:00.0',
'prom': 'off',
'prom_supported': 'yes',
'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
'rx_filter_mode': 'hardware match',
'rx_queue': 'off',
'speed': 40.0,
'src_ipv4': '-',
'src_mac': '3c:fd:fe:9d:1c:f8',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
22/10/2020 16:33:03 pktgen: trex port <0> not support flow control
22/10/2020 16:33:03 pktgen: trex packet generator: run traffic 5s to warm up ...
22/10/2020 16:33:03 pktgen: check the trex port link status
22/10/2020 16:33:03 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:d0',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:9d:1c:f8',
'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:82:00.0',
'prom': 'on',
'prom_supported': 'yes',
'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
'rx_filter_mode': 'hardware match',
'rx_queue': 'off',
'speed': 40.0,
'src_ipv4': '-',
'src_mac': '3c:fd:fe:9d:1c:f8',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
22/10/2020 16:33:03 pktgen: begin traffic ......
22/10/2020 16:33:03 pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
22/10/2020 16:33:08 pktgen: traffic completed.
22/10/2020 16:33:08 pktgen: check the trex port link status
22/10/2020 16:33:08 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:d0',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:9d:1c:f8',
'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:82:00.0',
'prom': 'on',
'prom_supported': 'yes',
'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
'rx_filter_mode': 'hardware match',
'rx_queue': 'off',
'speed': 40.0,
'src_ipv4': '-',
'src_mac': '3c:fd:fe:9d:1c:f8',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
22/10/2020 16:33:08 pktgen: begin traffic ......
22/10/2020 16:33:08 pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
22/10/2020 16:33:18 pktgen: begin get port statistic ...
22/10/2020 16:33:18 pktgen: {'options': {'fields_config': {'ip': {'dst': {'action': 'random',
'end': '48.0.0.64',
'start': '48.0.0.1',
'step': 1}}},
'pcap': '/tmp/af_xdp_4243_512.pcap',
'stream_config': {'rate': 100,
'transmit_mode': 'continuous',
'txmode': {}}},
'pcap_file': '/tmp/af_xdp_4243_512.pcap',
'rx_port': 0,
'tx_port': 0}
22/10/2020 16:33:18 pktgen: {0: {'ibytes': 8326533632,
'ierrors': 9,
'ipackets': 16262767,
'obytes': 29685475840,
'oerrors': 0,
'opackets': 57979464,
'rx_bps': 6631163904.0,
'rx_bps_L1': 6890198984.0,
'rx_pps': 1618969.25,
'rx_util': 17.22549746,
'tx_bps': 23160684544.0,
'tx_bps_L1': 24065418624.0,
'tx_pps': 5654588.0,
'tx_util': 60.16354656},
1: {'ibytes': 0,
'ierrors': 0,
'ipackets': 0,
'obytes': 0,
'oerrors': 0,
'opackets': 0,
'rx_bps': 0.0,
'rx_bps_L1': 0,
'rx_pps': 0.0,
'rx_util': 0.0,
'tx_bps': 0.0,
'tx_bps_L1': 0,
'tx_pps': 0.0,
'tx_util': 0.0},
'flow_stats': {},
'global': {'bw_per_core': 4.88776969909668,
'cpu_util': 94.76995086669922,
'queue_full': 84139875,
'rx_bps': 6631163904.0,
'rx_cpu_util': 0.0,
'rx_drop_bps': 16529521664.0,
'rx_pps': 1618969.25,
'tx_bps': 23160684544.0,
'tx_pps': 5654588.0},
'latency': {},
'total': {'ibytes': 8326533632,
'ierrors': 9,
'ipackets': 16262767,
'obytes': 29685475840,
'oerrors': 0,
'opackets': 57979464,
'rx_bps': 6631163904.0,
'rx_bps_L1': 6890198984.0,
'rx_pps': 1618969.25,
'rx_util': 17.22549746,
'tx_bps': 23160684544.0,
'tx_bps_L1': 24065418624.0,
'tx_pps': 5654588.0,
'tx_util': 60.16354656}}
22/10/2020 16:33:18 pktgen: {'ibytes': 8326533632,
'ierrors': 9,
'ipackets': 16262767,
'obytes': 29685475840,
'oerrors': 0,
'opackets': 57979464,
'rx_bps': 6631163904.0,
'rx_bps_L1': 6890198984.0,
'rx_pps': 1618969.25,
'rx_util': 17.22549746,
'tx_bps': 23160684544.0,
'tx_bps_L1': 24065418624.0,
'tx_pps': 5654588.0,
'tx_util': 60.16354656}
22/10/2020 16:33:18 pktgen: Tx Port 0 stats:
tx_port: 0, tx_bps: 23160684544.000000, tx_pps: 5654588.000000
22/10/2020 16:33:18 pktgen: {'ibytes': 8326533632,
'ierrors': 9,
'ipackets': 16262767,
'obytes': 29685475840,
'oerrors': 0,
'opackets': 57979464,
'rx_bps': 6631163904.0,
'rx_bps_L1': 6890198984.0,
'rx_pps': 1618969.25,
'rx_util': 17.22549746,
'tx_bps': 23160684544.0,
'tx_bps_L1': 24065418624.0,
'tx_pps': 5654588.0,
'tx_util': 60.16354656}
22/10/2020 16:33:18 pktgen: Rx Port 0 stats:
rx_port: 0, rx_bps: 6631163904.000000, rx_pps: 1618969.250000
22/10/2020 16:33:18 pktgen: throughput: pps_rx 1618969.250000, bps_rx 6631163904.000000
22/10/2020 16:33:18 pktgen: traffic completed.
22/10/2020 16:33:18 dut.10.240.183.99: stop
22/10/2020 16:33:18 dut.10.240.183.99:
Telling cores to ...
Waiting for lcores to finish...
---------------------- Forward statistics for port 0 ----------------------
RX-packets: 24414092 RX-dropped: 39264169 RX-total: 63678261
TX-packets: 24414092 TX-dropped: 0 TX-total: 24414092
----------------------------------------------------------------------------
---------------------- Forward statistics for port 1 ----------------------
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: 24414092 RX-dropped: 39264169 RX-total: 63678261
TX-packets: 24414092 TX-dropped: 0 TX-total: 24414092
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Done.
22/10/2020 16:33:18 dut.10.240.183.99: start
22/10/2020 16:33:18 dut.10.240.183.99:
io packet forwarding - ports=2 - cores=2 - streams=2 - NUMA support enabled, MP allocation mode: native
Logical Core 33 (socket 1) forwards packets on 1 streams:
RX P=0/Q=0 (socket 1) -> TX P=0/Q=0 (socket 1) peer=02:00:00:00:00:00
Logical Core 34 (socket 1) forwards packets on 1 streams:
RX P=1/Q=0 (socket 1) -> TX P=1/Q=0 (socket 1) peer=02:00:00:00:00:01
io packet forwarding packets/burst=32
nb forwarding cores=2 - nb forwarding ports=2
port 0: RX queue number: 1 Tx queue number: 1
Rx offloads=0x0 Tx offloads=0x0
RX queue: 0
RX desc=0 - RX free threshold=0
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0x0
TX queue: 0
TX desc=0 - TX free threshold=0
TX threshold registers: pthresh=0 hthresh=0 wthresh=0
TX offloads=0x0 - TX RS bit threshold=0
port 1: RX queue number: 1 Tx queue number: 1
Rx offloads=0x0 Tx offloads=0x0
RX queue: 0
RX desc=0 - RX free threshold=0
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0x0
TX queue: 0
TX desc=0 - TX free threshold=0
TX threshold registers: pthresh=0 hthresh=0 wthresh=0
TX offloads=0x0 - TX RS bit threshold=0
22/10/2020 16:33:18 pktgen: test port 0 map gen port 0
22/10/2020 16:33:18 pktgen: test port 0 map gen port 0
22/10/2020 16:33:18 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:d0',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:9d:1c:f8',
'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:82:00.0',
'prom': 'off',
'prom_supported': 'yes',
'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
'rx_filter_mode': 'hardware match',
'rx_queue': 'off',
'speed': 40.0,
'src_ipv4': '-',
'src_mac': '3c:fd:fe:9d:1c:f8',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
22/10/2020 16:33:18 pktgen: trex port <0> not support flow control
22/10/2020 16:33:18 pktgen: trex packet generator: run traffic 5s to warm up ...
22/10/2020 16:33:18 pktgen: check the trex port link status
22/10/2020 16:33:18 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:d0',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:9d:1c:f8',
'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:82:00.0',
'prom': 'on',
'prom_supported': 'yes',
'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
'rx_filter_mode': 'hardware match',
'rx_queue': 'off',
'speed': 40.0,
'src_ipv4': '-',
'src_mac': '3c:fd:fe:9d:1c:f8',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
22/10/2020 16:33:18 pktgen: begin traffic ......
22/10/2020 16:33:18 pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
22/10/2020 16:33:23 pktgen: traffic completed.
22/10/2020 16:33:23 pktgen: check the trex port link status
22/10/2020 16:33:23 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:d0',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:9d:1c:f8',
'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:82:00.0',
'prom': 'on',
'prom_supported': 'yes',
'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
'rx_filter_mode': 'hardware match',
'rx_queue': 'off',
'speed': 40.0,
'src_ipv4': '-',
'src_mac': '3c:fd:fe:9d:1c:f8',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
22/10/2020 16:33:23 pktgen: begin traffic ......
22/10/2020 16:33:23 pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
22/10/2020 16:33:33 pktgen: begin get port statistic ...
22/10/2020 16:33:33 pktgen: {'options': {'fields_config': {'ip': {'dst': {'action': 'random',
'end': '48.0.0.64',
'start': '48.0.0.1',
'step': 1}}},
'pcap': '/tmp/af_xdp_4242_512.pcap',
'stream_config': {'rate': 100,
'transmit_mode': 'continuous',
'txmode': {}}},
'pcap_file': '/tmp/af_xdp_4242_512.pcap',
'rx_port': 0,
'tx_port': 0}
22/10/2020 16:33:33 pktgen: {0: {'ibytes': 8370312704,
'ierrors': 27,
'ipackets': 16348270,
'obytes': 29336732160,
'oerrors': 0,
'opackets': 57298324,
'rx_bps': 6703886848.0,
'rx_bps_L1': 6965757447.999999,
'rx_pps': 1636691.25,
'rx_util': 17.41439362,
'tx_bps': 22954596352.0,
'tx_bps_L1': 23851260192.0,
'tx_pps': 5604149.0,
'tx_util': 59.628150479999995},
1: {'ibytes': 0,
'ierrors': 0,
'ipackets': 0,
'obytes': 0,
'oerrors': 0,
'opackets': 0,
'rx_bps': 0.0,
'rx_bps_L1': 0,
'rx_pps': 0.0,
'rx_util': 0.0,
'tx_bps': 0.0,
'tx_bps_L1': 0,
'tx_pps': 0.0,
'tx_util': 0.0},
'flow_stats': {},
'global': {'bw_per_core': 4.847753524780273,
'cpu_util': 94.70198822021484,
'queue_full': 84349253,
'rx_bps': 6703886848.0,
'rx_cpu_util': 0.0,
'rx_drop_bps': 16250708992.0,
'rx_pps': 1636691.25,
'tx_bps': 22954596352.0,
'tx_pps': 5604149.0},
'latency': {},
'total': {'ibytes': 8370312704,
'ierrors': 27,
'ipackets': 16348270,
'obytes': 29336732160,
'oerrors': 0,
'opackets': 57298324,
'rx_bps': 6703886848.0,
'rx_bps_L1': 6965757447.999999,
'rx_pps': 1636691.25,
'rx_util': 17.41439362,
'tx_bps': 22954596352.0,
'tx_bps_L1': 23851260192.0,
'tx_pps': 5604149.0,
'tx_util': 59.628150479999995}}
22/10/2020 16:33:33 pktgen: {'ibytes': 8370312704,
'ierrors': 27,
'ipackets': 16348270,
'obytes': 29336732160,
'oerrors': 0,
'opackets': 57298324,
'rx_bps': 6703886848.0,
'rx_bps_L1': 6965757447.999999,
'rx_pps': 1636691.25,
'rx_util': 17.41439362,
'tx_bps': 22954596352.0,
'tx_bps_L1': 23851260192.0,
'tx_pps': 5604149.0,
'tx_util': 59.628150479999995}
22/10/2020 16:33:33 pktgen: Tx Port 0 stats:
tx_port: 0, tx_bps: 22954596352.000000, tx_pps: 5604149.000000
22/10/2020 16:33:33 pktgen: {'ibytes': 8370312704,
'ierrors': 27,
'ipackets': 16348270,
'obytes': 29336732160,
'oerrors': 0,
'opackets': 57298324,
'rx_bps': 6703886848.0,
'rx_bps_L1': 6965757447.999999,
'rx_pps': 1636691.25,
'rx_util': 17.41439362,
'tx_bps': 22954596352.0,
'tx_bps_L1': 23851260192.0,
'tx_pps': 5604149.0,
'tx_util': 59.628150479999995}
22/10/2020 16:33:33 pktgen: Rx Port 0 stats:
rx_port: 0, rx_bps: 6703886848.000000, rx_pps: 1636691.250000
22/10/2020 16:33:33 pktgen: throughput: pps_rx 1636691.250000, bps_rx 6703886848.000000
22/10/2020 16:33:33 pktgen: traffic completed.
22/10/2020 16:33:33 dut.10.240.183.99: stop
22/10/2020 16:33:34 dut.10.240.183.99:
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
----------------------------------------------------------------------------
---------------------- Forward statistics for port 1 ----------------------
RX-packets: 24566264 RX-dropped: 37679431 RX-total: 62245695
TX-packets: 24566264 TX-dropped: 0 TX-total: 24566264
----------------------------------------------------------------------------
+++++++++++++++ Accumulated forward statistics for all ports+++++++++++++++
RX-packets: 24566264 RX-dropped: 37679431 RX-total: 62245695
TX-packets: 24566264 TX-dropped: 0 TX-total: 24566264
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Done.
22/10/2020 16:33:34 dut.10.240.183.99: start
22/10/2020 16:33:34 dut.10.240.183.99:
io packet forwarding - ports=2 - cores=2 - streams=2 - NUMA support enabled, MP allocation mode: native
Logical Core 33 (socket 1) forwards packets on 1 streams:
RX P=0/Q=0 (socket 1) -> TX P=0/Q=0 (socket 1) peer=02:00:00:00:00:00
Logical Core 34 (socket 1) forwards packets on 1 streams:
RX P=1/Q=0 (socket 1) -> TX P=1/Q=0 (socket 1) peer=02:00:00:00:00:01
io packet forwarding packets/burst=32
nb forwarding cores=2 - nb forwarding ports=2
port 0: RX queue number: 1 Tx queue number: 1
Rx offloads=0x0 Tx offloads=0x0
RX queue: 0
RX desc=0 - RX free threshold=0
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0x0
TX queue: 0
TX desc=0 - TX free threshold=0
TX threshold registers: pthresh=0 hthresh=0 wthresh=0
TX offloads=0x0 - TX RS bit threshold=0
port 1: RX queue number: 1 Tx queue number: 1
Rx offloads=0x0 Tx offloads=0x0
RX queue: 0
RX desc=0 - RX free threshold=0
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0x0
TX queue: 0
TX desc=0 - TX free threshold=0
TX threshold registers: pthresh=0 hthresh=0 wthresh=0
TX offloads=0x0 - TX RS bit threshold=0
22/10/2020 16:33:34 TestAfXdp: Running test test_perf_one_port_single_queue_with_two_vdev, and 1024 frame size.
22/10/2020 16:33:34 pktgen: test port 0 map gen port 0
22/10/2020 16:33:34 pktgen: test port 0 map gen port 0
22/10/2020 16:33:34 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:d0',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:9d:1c:f8',
'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:82:00.0',
'prom': 'off',
'prom_supported': 'yes',
'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
'rx_filter_mode': 'hardware match',
'rx_queue': 'off',
'speed': 40.0,
'src_ipv4': '-',
'src_mac': '3c:fd:fe:9d:1c:f8',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
22/10/2020 16:33:34 pktgen: trex port <0> not support flow control
22/10/2020 16:33:34 pktgen: trex packet generator: run traffic 5s to warm up ...
22/10/2020 16:33:34 pktgen: check the trex port link status
22/10/2020 16:33:34 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:d0',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:9d:1c:f8',
'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:82:00.0',
'prom': 'on',
'prom_supported': 'yes',
'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
'rx_filter_mode': 'hardware match',
'rx_queue': 'off',
'speed': 40.0,
'src_ipv4': '-',
'src_mac': '3c:fd:fe:9d:1c:f8',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
22/10/2020 16:33:34 pktgen: begin traffic ......
22/10/2020 16:33:34 pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
22/10/2020 16:33:39 pktgen: traffic completed.
22/10/2020 16:33:39 pktgen: check the trex port link status
22/10/2020 16:33:39 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:d0',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:9d:1c:f8',
'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:82:00.0',
'prom': 'on',
'prom_supported': 'yes',
'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
'rx_filter_mode': 'hardware match',
'rx_queue': 'off',
'speed': 40.0,
'src_ipv4': '-',
'src_mac': '3c:fd:fe:9d:1c:f8',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
22/10/2020 16:33:39 pktgen: begin traffic ......
22/10/2020 16:33:39 pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
22/10/2020 16:33:49 pktgen: begin get port statistic ...
22/10/2020 16:33:49 pktgen: {'options': {'fields_config': {'ip': {'dst': {'action': 'random',
'end': '48.0.0.64',
'start': '48.0.0.1',
'step': 1}}},
'pcap': '/tmp/af_xdp_4243_1024.pcap',
'stream_config': {'rate': 100,
'transmit_mode': 'continuous',
'txmode': {}}},
'pcap_file': '/tmp/af_xdp_4243_1024.pcap',
'rx_port': 0,
'tx_port': 0}
22/10/2020 16:33:49 pktgen: {0: {'ibytes': 14926600266,
'ierrors': 0,
'ipackets': 14576764,
'obytes': 46780792832,
'oerrors': 0,
'opackets': 45684382,
'rx_bps': 11905299456.0,
'rx_bps_L1': 12137829616.0,
'rx_pps': 1453313.5,
'rx_util': 30.34457404,
'tx_bps': 37132140544.0,
'tx_bps_L1': 37857393824.0,
'tx_pps': 4532833.0,
'tx_util': 94.64348456},
1: {'ibytes': 0,
'ierrors': 0,
'ipackets': 0,
'obytes': 0,
'oerrors': 0,
'opackets': 0,
'rx_bps': 0.0,
'rx_bps_L1': 0,
'rx_pps': 0.0,
'rx_util': 0.0,
'tx_bps': 0.0,
'tx_bps_L1': 0,
'tx_pps': 0.0,
'tx_util': 0.0},
'flow_stats': {},
'global': {'bw_per_core': 36.345130920410156,
'cpu_util': 20.433074951171875,
'queue_full': 13975845,
'rx_bps': 11905299456.0,
'rx_cpu_util': 0.0,
'rx_drop_bps': 25226840064.0,
'rx_pps': 1453313.5,
'tx_bps': 37132140544.0,
'tx_pps': 4532833.0},
'latency': {},
'total': {'ibytes': 14926600266,
'ierrors': 0,
'ipackets': 14576764,
'obytes': 46780792832,
'oerrors': 0,
'opackets': 45684382,
'rx_bps': 11905299456.0,
'rx_bps_L1': 12137829616.0,
'rx_pps': 1453313.5,
'rx_util': 30.34457404,
'tx_bps': 37132140544.0,
'tx_bps_L1': 37857393824.0,
'tx_pps': 4532833.0,
'tx_util': 94.64348456}}
22/10/2020 16:33:49 pktgen: {'ibytes': 14926600266,
'ierrors': 0,
'ipackets': 14576764,
'obytes': 46780792832,
'oerrors': 0,
'opackets': 45684382,
'rx_bps': 11905299456.0,
'rx_bps_L1': 12137829616.0,
'rx_pps': 1453313.5,
'rx_util': 30.34457404,
'tx_bps': 37132140544.0,
'tx_bps_L1': 37857393824.0,
'tx_pps': 4532833.0,
'tx_util': 94.64348456}
22/10/2020 16:33:49 pktgen: Tx Port 0 stats:
tx_port: 0, tx_bps: 37132140544.000000, tx_pps: 4532833.000000
22/10/2020 16:33:49 pktgen: {'ibytes': 14926600266,
'ierrors': 0,
'ipackets': 14576764,
'obytes': 46780792832,
'oerrors': 0,
'opackets': 45684382,
'rx_bps': 11905299456.0,
'rx_bps_L1': 12137829616.0,
'rx_pps': 1453313.5,
'rx_util': 30.34457404,
'tx_bps': 37132140544.0,
'tx_bps_L1': 37857393824.0,
'tx_pps': 4532833.0,
'tx_util': 94.64348456}
22/10/2020 16:33:49 pktgen: Rx Port 0 stats:
rx_port: 0, rx_bps: 11905299456.000000, rx_pps: 1453313.500000
22/10/2020 16:33:49 pktgen: throughput: pps_rx 1453313.500000, bps_rx 11905299456.000000
22/10/2020 16:33:49 pktgen: traffic completed.
22/10/2020 16:33:49 dut.10.240.183.99: stop
22/10/2020 16:33:49 dut.10.240.183.99:
Telling cores to ...
Waiting for lcores to finish...
---------------------- Forward statistics for port 0 ----------------------
RX-packets: 21879808 RX-dropped: 33292253 RX-total: 55172061
TX-packets: 21879808 TX-dropped: 0 TX-total: 21879808
----------------------------------------------------------------------------
---------------------- Forward statistics for port 1 ----------------------
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: 21879808 RX-dropped: 33292253 RX-total: 55172061
TX-packets: 21879808 TX-dropped: 0 TX-total: 21879808
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Done.
22/10/2020 16:33:49 dut.10.240.183.99: start
22/10/2020 16:33:49 dut.10.240.183.99:
io packet forwarding - ports=2 - cores=2 - streams=2 - NUMA support enabled, MP allocation mode: native
Logical Core 33 (socket 1) forwards packets on 1 streams:
RX P=0/Q=0 (socket 1) -> TX P=0/Q=0 (socket 1) peer=02:00:00:00:00:00
Logical Core 34 (socket 1) forwards packets on 1 streams:
RX P=1/Q=0 (socket 1) -> TX P=1/Q=0 (socket 1) peer=02:00:00:00:00:01
io packet forwarding packets/burst=32
nb forwarding cores=2 - nb forwarding ports=2
port 0: RX queue number: 1 Tx queue number: 1
Rx offloads=0x0 Tx offloads=0x0
RX queue: 0
RX desc=0 - RX free threshold=0
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0x0
TX queue: 0
TX desc=0 - TX free threshold=0
TX threshold registers: pthresh=0 hthresh=0 wthresh=0
TX offloads=0x0 - TX RS bit threshold=0
port 1: RX queue number: 1 Tx queue number: 1
Rx offloads=0x0 Tx offloads=0x0
RX queue: 0
RX desc=0 - RX free threshold=0
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0x0
TX queue: 0
TX desc=0 - TX free threshold=0
TX threshold registers: pthresh=0 hthresh=0 wthresh=0
TX offloads=0x0 - TX RS bit threshold=0
22/10/2020 16:33:49 pktgen: test port 0 map gen port 0
22/10/2020 16:33:49 pktgen: test port 0 map gen port 0
22/10/2020 16:33:49 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:d0',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:9d:1c:f8',
'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:82:00.0',
'prom': 'off',
'prom_supported': 'yes',
'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
'rx_filter_mode': 'hardware match',
'rx_queue': 'off',
'speed': 40.0,
'src_ipv4': '-',
'src_mac': '3c:fd:fe:9d:1c:f8',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
22/10/2020 16:33:49 pktgen: trex port <0> not support flow control
22/10/2020 16:33:49 pktgen: trex packet generator: run traffic 5s to warm up ...
22/10/2020 16:33:49 pktgen: check the trex port link status
22/10/2020 16:33:49 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:d0',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:9d:1c:f8',
'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:82:00.0',
'prom': 'on',
'prom_supported': 'yes',
'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
'rx_filter_mode': 'hardware match',
'rx_queue': 'off',
'speed': 40.0,
'src_ipv4': '-',
'src_mac': '3c:fd:fe:9d:1c:f8',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
22/10/2020 16:33:49 pktgen: begin traffic ......
22/10/2020 16:33:49 pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
22/10/2020 16:33:54 pktgen: traffic completed.
22/10/2020 16:33:54 pktgen: check the trex port link status
22/10/2020 16:33:54 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:d0',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:9d:1c:f8',
'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:82:00.0',
'prom': 'on',
'prom_supported': 'yes',
'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
'rx_filter_mode': 'hardware match',
'rx_queue': 'off',
'speed': 40.0,
'src_ipv4': '-',
'src_mac': '3c:fd:fe:9d:1c:f8',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
22/10/2020 16:33:54 pktgen: begin traffic ......
22/10/2020 16:33:54 pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
22/10/2020 16:34:04 pktgen: begin get port statistic ...
22/10/2020 16:34:04 pktgen: {'options': {'fields_config': {'ip': {'dst': {'action': 'random',
'end': '48.0.0.64',
'start': '48.0.0.1',
'step': 1}}},
'pcap': '/tmp/af_xdp_4242_1024.pcap',
'stream_config': {'rate': 100,
'transmit_mode': 'continuous',
'txmode': {}}},
'pcap_file': '/tmp/af_xdp_4242_1024.pcap',
'rx_port': 0,
'tx_port': 0}
22/10/2020 16:34:04 pktgen: {0: {'ibytes': 14993047552,
'ierrors': 0,
'ipackets': 14641655,
'obytes': 46767913984,
'oerrors': 0,
'opackets': 45671806,
'rx_bps': 11988612096.0,
'rx_bps_L1': 12222764736.0,
'rx_pps': 1463454.0,
'rx_util': 30.55691184,
'tx_bps': 37236998144.0,
'tx_bps_L1': 37964283424.0,
'tx_pps': 4545533.0,
'tx_util': 94.91070856},
1: {'ibytes': 0,
'ierrors': 0,
'ipackets': 0,
'obytes': 0,
'oerrors': 0,
'opackets': 0,
'rx_bps': 0.0,
'rx_bps_L1': 0,
'rx_pps': 0.0,
'rx_util': 0.0,
'tx_bps': 0.0,
'tx_bps_L1': 0,
'tx_pps': 0.0,
'tx_util': 0.0},
'flow_stats': {},
'global': {'bw_per_core': 36.771881103515625,
'cpu_util': 20.252973556518555,
'queue_full': 15971107,
'rx_bps': 11988612096.0,
'rx_cpu_util': 0.0,
'rx_drop_bps': 25248387072.0,
'rx_pps': 1463454.0,
'tx_bps': 37236998144.0,
'tx_pps': 4545533.0},
'latency': {},
'total': {'ibytes': 14993047552,
'ierrors': 0,
'ipackets': 14641655,
'obytes': 46767913984,
'oerrors': 0,
'opackets': 45671806,
'rx_bps': 11988612096.0,
'rx_bps_L1': 12222764736.0,
'rx_pps': 1463454.0,
'rx_util': 30.55691184,
'tx_bps': 37236998144.0,
'tx_bps_L1': 37964283424.0,
'tx_pps': 4545533.0,
'tx_util': 94.91070856}}
22/10/2020 16:34:04 pktgen: {'ibytes': 14993047552,
'ierrors': 0,
'ipackets': 14641655,
'obytes': 46767913984,
'oerrors': 0,
'opackets': 45671806,
'rx_bps': 11988612096.0,
'rx_bps_L1': 12222764736.0,
'rx_pps': 1463454.0,
'rx_util': 30.55691184,
'tx_bps': 37236998144.0,
'tx_bps_L1': 37964283424.0,
'tx_pps': 4545533.0,
'tx_util': 94.91070856}
22/10/2020 16:34:04 pktgen: Tx Port 0 stats:
tx_port: 0, tx_bps: 37236998144.000000, tx_pps: 4545533.000000
22/10/2020 16:34:04 pktgen: {'ibytes': 14993047552,
'ierrors': 0,
'ipackets': 14641655,
'obytes': 46767913984,
'oerrors': 0,
'opackets': 45671806,
'rx_bps': 11988612096.0,
'rx_bps_L1': 12222764736.0,
'rx_pps': 1463454.0,
'rx_util': 30.55691184,
'tx_bps': 37236998144.0,
'tx_bps_L1': 37964283424.0,
'tx_pps': 4545533.0,
'tx_util': 94.91070856}
22/10/2020 16:34:04 pktgen: Rx Port 0 stats:
rx_port: 0, rx_bps: 11988612096.000000, rx_pps: 1463454.000000
22/10/2020 16:34:04 pktgen: throughput: pps_rx 1463454.000000, bps_rx 11988612096.000000
22/10/2020 16:34:04 pktgen: traffic completed.
22/10/2020 16:34:04 dut.10.240.183.99: stop
22/10/2020 16:34:04 dut.10.240.183.99:
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
----------------------------------------------------------------------------
---------------------- Forward statistics for port 1 ----------------------
RX-packets: 21980540 RX-dropped: 31512739 RX-total: 53493279
TX-packets: 21980540 TX-dropped: 0 TX-total: 21980540
----------------------------------------------------------------------------
+++++++++++++++ Accumulated forward statistics for all ports+++++++++++++++
RX-packets: 21980540 RX-dropped: 31512739 RX-total: 53493279
TX-packets: 21980540 TX-dropped: 0 TX-total: 21980540
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Done.
22/10/2020 16:34:04 dut.10.240.183.99: start
22/10/2020 16:34:04 dut.10.240.183.99:
io packet forwarding - ports=2 - cores=2 - streams=2 - NUMA support enabled, MP allocation mode: native
Logical Core 33 (socket 1) forwards packets on 1 streams:
RX P=0/Q=0 (socket 1) -> TX P=0/Q=0 (socket 1) peer=02:00:00:00:00:00
Logical Core 34 (socket 1) forwards packets on 1 streams:
RX P=1/Q=0 (socket 1) -> TX P=1/Q=0 (socket 1) peer=02:00:00:00:00:01
io packet forwarding packets/burst=32
nb forwarding cores=2 - nb forwarding ports=2
port 0: RX queue number: 1 Tx queue number: 1
Rx offloads=0x0 Tx offloads=0x0
RX queue: 0
RX desc=0 - RX free threshold=0
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0x0
TX queue: 0
TX desc=0 - TX free threshold=0
TX threshold registers: pthresh=0 hthresh=0 wthresh=0
TX offloads=0x0 - TX RS bit threshold=0
port 1: RX queue number: 1 Tx queue number: 1
Rx offloads=0x0 Tx offloads=0x0
RX queue: 0
RX desc=0 - RX free threshold=0
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0x0
TX queue: 0
TX desc=0 - TX free threshold=0
TX threshold registers: pthresh=0 hthresh=0 wthresh=0
TX offloads=0x0 - TX RS bit threshold=0
22/10/2020 16:34:04 TestAfXdp: Running test test_perf_one_port_single_queue_with_two_vdev, and 1518 frame size.
22/10/2020 16:34:04 pktgen: test port 0 map gen port 0
22/10/2020 16:34:04 pktgen: test port 0 map gen port 0
22/10/2020 16:34:04 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:d0',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:9d:1c:f8',
'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:82:00.0',
'prom': 'off',
'prom_supported': 'yes',
'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
'rx_filter_mode': 'hardware match',
'rx_queue': 'off',
'speed': 40.0,
'src_ipv4': '-',
'src_mac': '3c:fd:fe:9d:1c:f8',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
22/10/2020 16:34:04 pktgen: trex port <0> not support flow control
22/10/2020 16:34:04 pktgen: trex packet generator: run traffic 5s to warm up ...
22/10/2020 16:34:04 pktgen: check the trex port link status
22/10/2020 16:34:04 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:d0',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:9d:1c:f8',
'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:82:00.0',
'prom': 'on',
'prom_supported': 'yes',
'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
'rx_filter_mode': 'hardware match',
'rx_queue': 'off',
'speed': 40.0,
'src_ipv4': '-',
'src_mac': '3c:fd:fe:9d:1c:f8',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
22/10/2020 16:34:04 pktgen: begin traffic ......
22/10/2020 16:34:04 pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
22/10/2020 16:34:09 pktgen: traffic completed.
22/10/2020 16:34:09 pktgen: check the trex port link status
22/10/2020 16:34:09 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:d0',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:9d:1c:f8',
'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:82:00.0',
'prom': 'on',
'prom_supported': 'yes',
'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
'rx_filter_mode': 'hardware match',
'rx_queue': 'off',
'speed': 40.0,
'src_ipv4': '-',
'src_mac': '3c:fd:fe:9d:1c:f8',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
22/10/2020 16:34:09 pktgen: begin traffic ......
22/10/2020 16:34:09 pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
22/10/2020 16:34:19 pktgen: begin get port statistic ...
22/10/2020 16:34:19 pktgen: {'options': {'fields_config': {'ip': {'dst': {'action': 'random',
'end': '48.0.0.64',
'start': '48.0.0.1',
'step': 1}}},
'pcap': '/tmp/af_xdp_4243_1518.pcap',
'stream_config': {'rate': 100,
'transmit_mode': 'continuous',
'txmode': {}}},
'pcap_file': '/tmp/af_xdp_4243_1518.pcap',
'rx_port': 0,
'tx_port': 0}
22/10/2020 16:34:19 pktgen: {0: {'ibytes': 21910499292,
'ierrors': 24,
'ipackets': 14433799,
'obytes': 48000231708,
'oerrors': 0,
'opackets': 31620716,
'rx_bps': 17573117952.0,
'rx_bps_L1': 17804650272.0,
'rx_pps': 1447077.0,
'rx_util': 44.51162568,
'tx_bps': 38469488640.0,
'tx_bps_L1': 38976340560.0,
'tx_pps': 3167824.5,
'tx_util': 97.4408514},
1: {'ibytes': 0,
'ierrors': 0,
'ipackets': 0,
'obytes': 0,
'oerrors': 0,
'opackets': 0,
'rx_bps': 0.0,
'rx_bps_L1': 0,
'rx_pps': 0.0,
'rx_util': 0.0,
'tx_bps': 0.0,
'tx_bps_L1': 0,
'tx_pps': 0.0,
'tx_util': 0.0},
'flow_stats': {},
'global': {'bw_per_core': 9.373781204223633,
'cpu_util': 82.07891082763672,
'queue_full': 77046594,
'rx_bps': 17573117952.0,
'rx_cpu_util': 0.0,
'rx_drop_bps': 20896370688.0,
'rx_pps': 1447077.0,
'tx_bps': 38469488640.0,
'tx_pps': 3167824.5},
'latency': {},
'total': {'ibytes': 21910499292,
'ierrors': 24,
'ipackets': 14433799,
'obytes': 48000231708,
'oerrors': 0,
'opackets': 31620716,
'rx_bps': 17573117952.0,
'rx_bps_L1': 17804650272.0,
'rx_pps': 1447077.0,
'rx_util': 44.51162568,
'tx_bps': 38469488640.0,
'tx_bps_L1': 38976340560.0,
'tx_pps': 3167824.5,
'tx_util': 97.4408514}}
22/10/2020 16:34:19 pktgen: {'ibytes': 21910499292,
'ierrors': 24,
'ipackets': 14433799,
'obytes': 48000231708,
'oerrors': 0,
'opackets': 31620716,
'rx_bps': 17573117952.0,
'rx_bps_L1': 17804650272.0,
'rx_pps': 1447077.0,
'rx_util': 44.51162568,
'tx_bps': 38469488640.0,
'tx_bps_L1': 38976340560.0,
'tx_pps': 3167824.5,
'tx_util': 97.4408514}
22/10/2020 16:34:19 pktgen: Tx Port 0 stats:
tx_port: 0, tx_bps: 38469488640.000000, tx_pps: 3167824.500000
22/10/2020 16:34:19 pktgen: {'ibytes': 21910499292,
'ierrors': 24,
'ipackets': 14433799,
'obytes': 48000231708,
'oerrors': 0,
'opackets': 31620716,
'rx_bps': 17573117952.0,
'rx_bps_L1': 17804650272.0,
'rx_pps': 1447077.0,
'rx_util': 44.51162568,
'tx_bps': 38469488640.0,
'tx_bps_L1': 38976340560.0,
'tx_pps': 3167824.5,
'tx_util': 97.4408514}
22/10/2020 16:34:19 pktgen: Rx Port 0 stats:
rx_port: 0, rx_bps: 17573117952.000000, rx_pps: 1447077.000000
22/10/2020 16:34:19 pktgen: throughput: pps_rx 1447077.000000, bps_rx 17573117952.000000
22/10/2020 16:34:19 pktgen: traffic completed.
22/10/2020 16:34:19 dut.10.240.183.99: stop
22/10/2020 16:34:19 dut.10.240.183.99:
Telling cores to ...
Waiting for lcores to finish...
---------------------- Forward statistics for port 0 ----------------------
RX-packets: 21654192 RX-dropped: 22433041 RX-total: 44087233
TX-packets: 21654192 TX-dropped: 0 TX-total: 21654192
----------------------------------------------------------------------------
---------------------- Forward statistics for port 1 ----------------------
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: 21654192 RX-dropped: 22433041 RX-total: 44087233
TX-packets: 21654192 TX-dropped: 0 TX-total: 21654192
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Done.
22/10/2020 16:34:19 dut.10.240.183.99: start
22/10/2020 16:34:20 dut.10.240.183.99:
io packet forwarding - ports=2 - cores=2 - streams=2 - NUMA support enabled, MP allocation mode: native
Logical Core 33 (socket 1) forwards packets on 1 streams:
RX P=0/Q=0 (socket 1) -> TX P=0/Q=0 (socket 1) peer=02:00:00:00:00:00
Logical Core 34 (socket 1) forwards packets on 1 streams:
RX P=1/Q=0 (socket 1) -> TX P=1/Q=0 (socket 1) peer=02:00:00:00:00:01
io packet forwarding packets/burst=32
nb forwarding cores=2 - nb forwarding ports=2
port 0: RX queue number: 1 Tx queue number: 1
Rx offloads=0x0 Tx offloads=0x0
RX queue: 0
RX desc=0 - RX free threshold=0
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0x0
TX queue: 0
TX desc=0 - TX free threshold=0
TX threshold registers: pthresh=0 hthresh=0 wthresh=0
TX offloads=0x0 - TX RS bit threshold=0
port 1: RX queue number: 1 Tx queue number: 1
Rx offloads=0x0 Tx offloads=0x0
RX queue: 0
RX desc=0 - RX free threshold=0
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0x0
TX queue: 0
TX desc=0 - TX free threshold=0
TX threshold registers: pthresh=0 hthresh=0 wthresh=0
TX offloads=0x0 - TX RS bit threshold=0
22/10/2020 16:34:20 pktgen: test port 0 map gen port 0
22/10/2020 16:34:20 pktgen: test port 0 map gen port 0
22/10/2020 16:34:20 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:d0',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:9d:1c:f8',
'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:82:00.0',
'prom': 'off',
'prom_supported': 'yes',
'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
'rx_filter_mode': 'hardware match',
'rx_queue': 'off',
'speed': 40.0,
'src_ipv4': '-',
'src_mac': '3c:fd:fe:9d:1c:f8',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
22/10/2020 16:34:20 pktgen: trex port <0> not support flow control
22/10/2020 16:34:20 pktgen: trex packet generator: run traffic 5s to warm up ...
22/10/2020 16:34:20 pktgen: check the trex port link status
22/10/2020 16:34:20 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:d0',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:9d:1c:f8',
'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:82:00.0',
'prom': 'on',
'prom_supported': 'yes',
'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
'rx_filter_mode': 'hardware match',
'rx_queue': 'off',
'speed': 40.0,
'src_ipv4': '-',
'src_mac': '3c:fd:fe:9d:1c:f8',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
22/10/2020 16:34:20 pktgen: begin traffic ......
22/10/2020 16:34:20 pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
22/10/2020 16:34:25 pktgen: traffic completed.
22/10/2020 16:34:25 pktgen: check the trex port link status
22/10/2020 16:34:25 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:d0',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:9d:1c:f8',
'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:82:00.0',
'prom': 'on',
'prom_supported': 'yes',
'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
'rx_filter_mode': 'hardware match',
'rx_queue': 'off',
'speed': 40.0,
'src_ipv4': '-',
'src_mac': '3c:fd:fe:9d:1c:f8',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
22/10/2020 16:34:25 pktgen: begin traffic ......
22/10/2020 16:34:25 pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
22/10/2020 16:34:35 pktgen: begin get port statistic ...
22/10/2020 16:34:35 pktgen: {'options': {'fields_config': {'ip': {'dst': {'action': 'random',
'end': '48.0.0.64',
'start': '48.0.0.1',
'step': 1}}},
'pcap': '/tmp/af_xdp_4242_1518.pcap',
'stream_config': {'rate': 100,
'transmit_mode': 'continuous',
'txmode': {}}},
'pcap_file': '/tmp/af_xdp_4242_1518.pcap',
'rx_port': 0,
'tx_port': 0}
22/10/2020 16:34:35 pktgen: {0: {'ibytes': 21751689168,
'ierrors': 39,
'ipackets': 14329182,
'obytes': 48045024852,
'oerrors': 0,
'opackets': 31650225,
'rx_bps': 17427931136.0,
'rx_bps_L1': 17657548036.0,
'rx_pps': 1435105.625,
'rx_util': 44.14387009,
'tx_bps': 38413307904.0,
'tx_bps_L1': 38919412144.0,
'tx_pps': 3163151.5,
'tx_util': 97.29853036},
1: {'ibytes': 0,
'ierrors': 0,
'ipackets': 0,
'obytes': 0,
'oerrors': 0,
'opackets': 0,
'rx_bps': 0.0,
'rx_bps_L1': 0,
'rx_pps': 0.0,
'rx_util': 0.0,
'tx_bps': 0.0,
'tx_bps_L1': 0,
'tx_pps': 0.0,
'tx_util': 0.0},
'flow_stats': {},
'global': {'bw_per_core': 9.245226860046387,
'cpu_util': 83.09867858886719,
'queue_full': 76605327,
'rx_bps': 17427931136.0,
'rx_cpu_util': 0.0,
'rx_drop_bps': 20985376768.0,
'rx_pps': 1435105.625,
'tx_bps': 38413307904.0,
'tx_pps': 3163151.5},
'latency': {},
'total': {'ibytes': 21751689168,
'ierrors': 39,
'ipackets': 14329182,
'obytes': 48045024852,
'oerrors': 0,
'opackets': 31650225,
'rx_bps': 17427931136.0,
'rx_bps_L1': 17657548036.0,
'rx_pps': 1435105.625,
'rx_util': 44.14387009,
'tx_bps': 38413307904.0,
'tx_bps_L1': 38919412144.0,
'tx_pps': 3163151.5,
'tx_util': 97.29853036}}
22/10/2020 16:34:35 pktgen: {'ibytes': 21751689168,
'ierrors': 39,
'ipackets': 14329182,
'obytes': 48045024852,
'oerrors': 0,
'opackets': 31650225,
'rx_bps': 17427931136.0,
'rx_bps_L1': 17657548036.0,
'rx_pps': 1435105.625,
'rx_util': 44.14387009,
'tx_bps': 38413307904.0,
'tx_bps_L1': 38919412144.0,
'tx_pps': 3163151.5,
'tx_util': 97.29853036}
22/10/2020 16:34:35 pktgen: Tx Port 0 stats:
tx_port: 0, tx_bps: 38413307904.000000, tx_pps: 3163151.500000
22/10/2020 16:34:35 pktgen: {'ibytes': 21751689168,
'ierrors': 39,
'ipackets': 14329182,
'obytes': 48045024852,
'oerrors': 0,
'opackets': 31650225,
'rx_bps': 17427931136.0,
'rx_bps_L1': 17657548036.0,
'rx_pps': 1435105.625,
'rx_util': 44.14387009,
'tx_bps': 38413307904.0,
'tx_bps_L1': 38919412144.0,
'tx_pps': 3163151.5,
'tx_util': 97.29853036}
22/10/2020 16:34:35 pktgen: Rx Port 0 stats:
rx_port: 0, rx_bps: 17427931136.000000, rx_pps: 1435105.625000
22/10/2020 16:34:35 pktgen: throughput: pps_rx 1435105.625000, bps_rx 17427931136.000000
22/10/2020 16:34:35 pktgen: traffic completed.
22/10/2020 16:34:35 dut.10.240.183.99: stop
22/10/2020 16:34:35 dut.10.240.183.99:
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
----------------------------------------------------------------------------
---------------------- Forward statistics for port 1 ----------------------
RX-packets: 21527110 RX-dropped: 20996342 RX-total: 42523452
TX-packets: 21527110 TX-dropped: 0 TX-total: 21527110
----------------------------------------------------------------------------
+++++++++++++++ Accumulated forward statistics for all ports+++++++++++++++
RX-packets: 21527110 RX-dropped: 20996342 RX-total: 42523452
TX-packets: 21527110 TX-dropped: 0 TX-total: 21527110
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Done.
22/10/2020 16:34:35 dut.10.240.183.99: start
22/10/2020 16:34:35 dut.10.240.183.99:
io packet forwarding - ports=2 - cores=2 - streams=2 - NUMA support enabled, MP allocation mode: native
Logical Core 33 (socket 1) forwards packets on 1 streams:
RX P=0/Q=0 (socket 1) -> TX P=0/Q=0 (socket 1) peer=02:00:00:00:00:00
Logical Core 34 (socket 1) forwards packets on 1 streams:
RX P=1/Q=0 (socket 1) -> TX P=1/Q=0 (socket 1) peer=02:00:00:00:00:01
io packet forwarding packets/burst=32
nb forwarding cores=2 - nb forwarding ports=2
port 0: RX queue number: 1 Tx queue number: 1
Rx offloads=0x0 Tx offloads=0x0
RX queue: 0
RX desc=0 - RX free threshold=0
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0x0
TX queue: 0
TX desc=0 - TX free threshold=0
TX threshold registers: pthresh=0 hthresh=0 wthresh=0
TX offloads=0x0 - TX RS bit threshold=0
port 1: RX queue number: 1 Tx queue number: 1
Rx offloads=0x0 Tx offloads=0x0
RX queue: 0
RX desc=0 - RX free threshold=0
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0x0
TX queue: 0
TX desc=0 - TX free threshold=0
TX threshold registers: pthresh=0 hthresh=0 wthresh=0
TX offloads=0x0 - TX RS bit threshold=0
22/10/2020 16:34:35 TestAfXdp:
+--------------+--------------+------------------------+------------------+------------------------+------------------+
| FrameSize(B) | Queue number | Port0 Throughput(Mpps) | Port0 % linerate | Port1 Throughput(Mpps) | Port1 % linerate |
+==============+==============+========================+==================+========================+==================+
| 64 | 1 | 0.267 | 0.449 | 0.270 | 0.454 |
+--------------+--------------+------------------------+------------------+------------------------+------------------+
| 128 | 1 | 0.098 | 0.291 | 0.072 | 0.213 |
+--------------+--------------+------------------------+------------------+------------------------+------------------+
| 256 | 1 | 1.660 | 9.161 | 1.660 | 9.166 |
+--------------+--------------+------------------------+------------------+------------------------+------------------+
| 512 | 1 | 1.619 | 17.226 | 1.637 | 17.414 |
+--------------+--------------+------------------------+------------------+------------------------+------------------+
| 1024 | 1 | 1.453 | 30.345 | 1.463 | 30.557 |
+--------------+--------------+------------------------+------------------+------------------------+------------------+
| 1518 | 1 | 1.447 | 44.512 | 1.435 | 44.144 |
+--------------+--------------+------------------------+------------------+------------------------+------------------+
22/10/2020 16:34:35 TestAfXdp: Test Case test_perf_one_port_single_queue_with_two_vdev Result PASSED:
22/10/2020 16:34:35 dut.10.240.183.99: quit
22/10/2020 16:34:36 dut.10.240.183.99:
Telling cores to stop...
Waiting for lcores to finish...
---------------------- Forward statistics for port 0 ----------------------
RX-packets: 0 RX-dropped: 0 RX-total: 0
TX-packets: 0 TX-dropped: 0 TX-total: 0
----------------------------------------------------------------------------
---------------------- Forward statistics for port 1 ----------------------
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.
Stopping port 0...
Stopping ports...
Done
Stopping port 1...
Stopping ports...
Done
Shutting down port 0...
Closing ports...
eth_dev_close(): Closing AF_XDP ethdev on numa socket 1
Port 0 is closed
Done
Shutting down port 1...
Closing ports...
eth_dev_close(): Closing AF_XDP ethdev on numa socket 1
Port 1 is closed
Done
Bye...
22/10/2020 16:34:36 dts:
TEST SUITE ENDED: TestAfXdp
22/10/2020 16:52:05 dts:
TEST SUITE : TestAfXdp
22/10/2020 16:52:05 dts: NIC : fortville_spirit
22/10/2020 16:52:05 dut.10.240.183.99:
22/10/2020 16:52:05 tester:
22/10/2020 16:52:05 TestAfXdp: you can config packet_size in file af_xdp_2.cfg,in region 'suite' like packet_sizes=[64, 128, 256]
22/10/2020 16:52:05 tester: ls -d /tmp
22/10/2020 16:52:05 tester: /tmp
22/10/2020 16:52:05 dut.10.240.183.99: echo 0000:af:00.0 > /sys/bus/pci/devices/0000\:af\:00.0/driver/unbind
22/10/2020 16:52:05 dut.10.240.183.99:
22/10/2020 16:52:05 dut.10.240.183.99: modprobe i40e
22/10/2020 16:52:05 dut.10.240.183.99:
22/10/2020 16:52:05 dut.10.240.183.99: echo 0000:af:00.0 > /sys/bus/pci/drivers/i40e/bind
22/10/2020 16:52:06 dut.10.240.183.99:
22/10/2020 16:52:06 dut.10.240.183.99: ifconfig enp175s0f0 up
22/10/2020 16:52:06 dut.10.240.183.99:
22/10/2020 16:52:06 dut.10.240.183.99: echo 0000:af:00.1 > /sys/bus/pci/devices/0000\:af\:00.1/driver/unbind
22/10/2020 16:52:06 dut.10.240.183.99:
22/10/2020 16:52:06 dut.10.240.183.99: modprobe i40e
22/10/2020 16:52:06 dut.10.240.183.99:
22/10/2020 16:52:06 dut.10.240.183.99: echo 0000:af:00.1 > /sys/bus/pci/drivers/i40e/bind
22/10/2020 16:52:06 dut.10.240.183.99:
22/10/2020 16:52:06 dut.10.240.183.99: ifconfig enp175s0f1 up
22/10/2020 16:52:06 dut.10.240.183.99:
22/10/2020 16:52:08 TestAfXdp: Test Case test_perf_two_port_and_same_irqs Begin
22/10/2020 16:52:08 dut.10.240.183.99:
22/10/2020 16:52:08 tester:
22/10/2020 16:52:08 dut.10.240.183.99: ethtool -L enp175s0f0 combined 1
22/10/2020 16:52:08 dut.10.240.183.99:
22/10/2020 16:52:09 dut.10.240.183.99: ethtool -L enp175s0f1 combined 1
22/10/2020 16:52:09 dut.10.240.183.99:
22/10/2020 16:52:09 TestAfXdp: start testpmd
22/10/2020 16:52:09 dut.10.240.183.99: x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 32,33,34 -n 4 --file-prefix=dpdk_12901_20201022165132 --no-pci --vdev net_af_xdp0,iface=enp175s0f0 --vdev net_af_xdp1,iface=enp175s0f1 --log-level=pmd.net.af_xdp:8 -- -i --auto-start --nb-cores=2 --rxq=1 --txq=1 --port-topology=loop
22/10/2020 16:52:10 dut.10.240.183.99: EAL: Detected 72 lcore(s)
EAL: Detected 2 NUMA nodes
EAL: Multi-process socket /var/run/dpdk/dpdk_12901_20201022165132/mp_socket
EAL: Selected IOVA mode 'VA'
EAL: Probing VFIO support...
EAL: VFIO support initialized
rte_pmd_af_xdp_probe(): Initializing pmd_af_xdp for net_af_xdp0
init_internals(): Zero copy between umem and mbuf enabled.
rte_pmd_af_xdp_probe(): Initializing pmd_af_xdp for net_af_xdp1
init_internals(): Zero copy between umem and mbuf enabled.
Interactive-mode selected
Auto-start selected
testpmd: create a new mbuf pool <mb_pool_1>: n=163456, size=2176, socket=1
testpmd: preferred mempool ops selected: ring_mp_mc
Configuring Port 0 (socket 1)
eth_rx_queue_setup(): Set up rx queue, rx queue id: 0, xsk queue id: 0
Port 0: 3C:FD:FE:C8:19:D0
Configuring Port 1 (socket 1)
eth_rx_queue_setup(): Set up rx queue, rx queue id: 0, xsk queue id: 0
Port 1: 3C:FD:FE:C8:19:D1
Checking link statuses...
Done
Start automatic packet forwarding
io packet forwarding - ports=2 - cores=2 - streams=2 - NUMA support enabled, MP allocation mode: native
Logical Core 33 (socket 1) forwards packets on 1 streams:
RX P=0/Q=0 (socket 1) -> TX P=0/Q=0 (socket 1) peer=02:00:00:00:00:00
Logical Core 34 (socket 1) forwards packets on 1 streams:
RX P=1/Q=0 (socket 1) -> TX P=1/Q=0 (socket 1) peer=02:00:00:00:00:01
io packet forwarding packets/burst=32
nb forwarding cores=2 - nb forwarding ports=2
port 0: RX queue number: 1 Tx queue number: 1
Rx offloads=0x0 Tx offloads=0x0
RX queue: 0
RX desc=0 - RX free threshold=0
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0x0
TX queue: 0
TX desc=0 - TX free threshold=0
TX threshold registers: pthresh=0 hthresh=0 wthresh=0
TX offloads=0x0 - TX RS bit threshold=0
port 1: RX queue number: 1 Tx queue number: 1
Rx offloads=0x0 Tx offloads=0x0
RX queue: 0
RX desc=0 - RX free threshold=0
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0x0
TX queue: 0
TX desc=0 - TX free threshold=0
TX threshold registers: pthresh=0 hthresh=0 wthresh=0
TX offloads=0x0 - TX RS bit threshold=0
22/10/2020 16:52:12 TestAfXdp: Running test test_perf_two_port_and_same_irqs, and 64 frame size.
22/10/2020 16:52:12 pktgen: test port 0 map gen port 0
22/10/2020 16:52:12 pktgen: test port 0 map gen port 0
22/10/2020 16:52:12 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:d0',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:9d:1c:f8',
'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:82:00.0',
'prom': 'off',
'prom_supported': 'yes',
'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
'rx_filter_mode': 'hardware match',
'rx_queue': 'off',
'speed': 40.0,
'src_ipv4': '-',
'src_mac': '3c:fd:fe:9d:1c:f8',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
22/10/2020 16:52:12 pktgen: trex port <0> not support flow control
22/10/2020 16:52:12 pktgen: trex packet generator: run traffic 5s to warm up ...
22/10/2020 16:52:12 pktgen: check the trex port link status
22/10/2020 16:52:12 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:d0',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:9d:1c:f8',
'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:82:00.0',
'prom': 'on',
'prom_supported': 'yes',
'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
'rx_filter_mode': 'hardware match',
'rx_queue': 'off',
'speed': 40.0,
'src_ipv4': '-',
'src_mac': '3c:fd:fe:9d:1c:f8',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
22/10/2020 16:52:12 pktgen: begin traffic ......
22/10/2020 16:52:12 pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
22/10/2020 16:52:17 pktgen: traffic completed.
22/10/2020 16:52:17 pktgen: check the trex port link status
22/10/2020 16:52:17 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:d0',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:9d:1c:f8',
'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:82:00.0',
'prom': 'on',
'prom_supported': 'yes',
'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
'rx_filter_mode': 'hardware match',
'rx_queue': 'off',
'speed': 40.0,
'src_ipv4': '-',
'src_mac': '3c:fd:fe:9d:1c:f8',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
22/10/2020 16:52:17 pktgen: begin traffic ......
22/10/2020 16:52:17 pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
22/10/2020 16:52:27 pktgen: begin get port statistic ...
22/10/2020 16:52:27 pktgen: {'options': {'fields_config': {'ip': {'dst': {'action': 'random',
'end': '192.168.1.64',
'start': '192.168.1.1',
'step': 1}}},
'pcap': '/tmp/af_xdp_2_0_64.pcap',
'stream_config': {'rate': 100,
'transmit_mode': 'continuous',
'txmode': {}}},
'pcap_file': '/tmp/af_xdp_2_0_64.pcap',
'rx_port': 0,
'tx_port': 0}
22/10/2020 16:52:27 pktgen: {0: {'ibytes': 6626361,
'ierrors': 0,
'ipackets': 103536,
'obytes': 27324622720,
'oerrors': 0,
'opackets': 426947265,
'rx_bps': 5664635.5,
'rx_bps_L1': 7434830.500000001,
'rx_pps': 11063.71875,
'rx_util': 0.01858707625,
'tx_bps': 21818662912.0,
'tx_bps_L1': 28636993792.0,
'tx_pps': 42614568.0,
'tx_util': 71.59248448},
1: {'ibytes': 0,
'ierrors': 0,
'ipackets': 0,
'obytes': 0,
'oerrors': 0,
'opackets': 0,
'rx_bps': 0.0,
'rx_bps_L1': 0,
'rx_pps': 0.0,
'rx_util': 0.0,
'tx_bps': 0.0,
'tx_bps_L1': 0,
'tx_pps': 0.0,
'tx_util': 0.0},
'flow_stats': {},
'global': {'bw_per_core': 4.446352481842041,
'cpu_util': 98.14185333251953,
'queue_full': 45198197,
'rx_bps': 5664635.5,
'rx_cpu_util': 0.0,
'rx_drop_bps': 21812998144.0,
'rx_pps': 11063.71875,
'tx_bps': 21818662912.0,
'tx_pps': 42614568.0},
'latency': {},
'total': {'ibytes': 6626361,
'ierrors': 0,
'ipackets': 103536,
'obytes': 27324622720,
'oerrors': 0,
'opackets': 426947265,
'rx_bps': 5664635.5,
'rx_bps_L1': 7434830.500000001,
'rx_pps': 11063.71875,
'rx_util': 0.01858707625,
'tx_bps': 21818662912.0,
'tx_bps_L1': 28636993792.0,
'tx_pps': 42614568.0,
'tx_util': 71.59248448}}
22/10/2020 16:52:27 pktgen: {'ibytes': 6626361,
'ierrors': 0,
'ipackets': 103536,
'obytes': 27324622720,
'oerrors': 0,
'opackets': 426947265,
'rx_bps': 5664635.5,
'rx_bps_L1': 7434830.500000001,
'rx_pps': 11063.71875,
'rx_util': 0.01858707625,
'tx_bps': 21818662912.0,
'tx_bps_L1': 28636993792.0,
'tx_pps': 42614568.0,
'tx_util': 71.59248448}
22/10/2020 16:52:27 pktgen: Tx Port 0 stats:
tx_port: 0, tx_bps: 21818662912.000000, tx_pps: 42614568.000000
22/10/2020 16:52:27 pktgen: {'ibytes': 6626361,
'ierrors': 0,
'ipackets': 103536,
'obytes': 27324622720,
'oerrors': 0,
'opackets': 426947265,
'rx_bps': 5664635.5,
'rx_bps_L1': 7434830.500000001,
'rx_pps': 11063.71875,
'rx_util': 0.01858707625,
'tx_bps': 21818662912.0,
'tx_bps_L1': 28636993792.0,
'tx_pps': 42614568.0,
'tx_util': 71.59248448}
22/10/2020 16:52:27 pktgen: Rx Port 0 stats:
rx_port: 0, rx_bps: 5664635.500000, rx_pps: 11063.718750
22/10/2020 16:52:27 pktgen: throughput: pps_rx 11063.718750, bps_rx 5664635.500000
22/10/2020 16:52:27 pktgen: traffic completed.
22/10/2020 16:52:27 dut.10.240.183.99: stop
22/10/2020 16:52:27 dut.10.240.183.99:
Telling cores to ...
Waiting for lcores to finish...
---------------------- Forward statistics for port 0 ----------------------
RX-packets: 153625 RX-dropped: 204501854 RX-total: 204655479
TX-packets: 153625 TX-dropped: 0 TX-total: 153625
----------------------------------------------------------------------------
---------------------- Forward statistics for port 1 ----------------------
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: 153625 RX-dropped: 204501854 RX-total: 204655479
TX-packets: 153625 TX-dropped: 0 TX-total: 153625
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Done.
22/10/2020 16:52:27 dut.10.240.183.99: start
22/10/2020 16:52:28 dut.10.240.183.99:
io packet forwarding - ports=2 - cores=2 - streams=2 - NUMA support enabled, MP allocation mode: native
Logical Core 33 (socket 1) forwards packets on 1 streams:
RX P=0/Q=0 (socket 1) -> TX P=0/Q=0 (socket 1) peer=02:00:00:00:00:00
Logical Core 34 (socket 1) forwards packets on 1 streams:
RX P=1/Q=0 (socket 1) -> TX P=1/Q=0 (socket 1) peer=02:00:00:00:00:01
io packet forwarding packets/burst=32
nb forwarding cores=2 - nb forwarding ports=2
port 0: RX queue number: 1 Tx queue number: 1
Rx offloads=0x0 Tx offloads=0x0
RX queue: 0
RX desc=0 - RX free threshold=0
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0x0
TX queue: 0
TX desc=0 - TX free threshold=0
TX threshold registers: pthresh=0 hthresh=0 wthresh=0
TX offloads=0x0 - TX RS bit threshold=0
port 1: RX queue number: 1 Tx queue number: 1
Rx offloads=0x0 Tx offloads=0x0
RX queue: 0
RX desc=0 - RX free threshold=0
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0x0
TX queue: 0
TX desc=0 - TX free threshold=0
TX threshold registers: pthresh=0 hthresh=0 wthresh=0
TX offloads=0x0 - TX RS bit threshold=0
22/10/2020 16:52:28 pktgen: test port 1 map gen port 1
22/10/2020 16:52:28 pktgen: test port 1 map gen port 1
22/10/2020 16:52:28 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:d0',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:9d:1c:f8',
'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:82:00.0',
'prom': 'off',
'prom_supported': 'yes',
'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
'rx_filter_mode': 'hardware match',
'rx_queue': 'off',
'speed': 40.0,
'src_ipv4': '-',
'src_mac': '3c:fd:fe:9d:1c:f8',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
22/10/2020 16:52:28 pktgen: trex port <0> not support flow control
22/10/2020 16:52:28 pktgen: trex packet generator: run traffic 5s to warm up ...
22/10/2020 16:52:28 pktgen: check the trex port link status
22/10/2020 16:52:28 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:d1',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:9d:1c:f9',
'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:82:00.1',
'prom': 'on',
'prom_supported': 'yes',
'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
'rx_filter_mode': 'hardware match',
'rx_queue': 'off',
'speed': 40.0,
'src_ipv4': '-',
'src_mac': '3c:fd:fe:9d:1c:f9',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
22/10/2020 16:52:28 pktgen: begin traffic ......
22/10/2020 16:52:28 pktgen: {'ports': [1], 'mult': '100%', 'core_mask': None, 'force': True}
22/10/2020 16:52:33 pktgen: traffic completed.
22/10/2020 16:52:33 pktgen: check the trex port link status
22/10/2020 16:52:33 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:d1',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:9d:1c:f9',
'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:82:00.1',
'prom': 'on',
'prom_supported': 'yes',
'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
'rx_filter_mode': 'hardware match',
'rx_queue': 'off',
'speed': 40.0,
'src_ipv4': '-',
'src_mac': '3c:fd:fe:9d:1c:f9',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
22/10/2020 16:52:33 pktgen: begin traffic ......
22/10/2020 16:52:33 pktgen: {'ports': [1], 'mult': '100%', 'core_mask': None, 'force': True}
22/10/2020 16:52:43 pktgen: begin get port statistic ...
22/10/2020 16:52:43 pktgen: {'options': {'fields_config': {'ip': {'dst': {'action': 'random',
'end': '192.168.2.64',
'start': '192.168.2.1',
'step': 1}}},
'pcap': '/tmp/af_xdp_2_1_64.pcap',
'stream_config': {'rate': 100,
'transmit_mode': 'continuous',
'txmode': {}}},
'pcap_file': '/tmp/af_xdp_2_1_64.pcap',
'rx_port': 1,
'tx_port': 1}
22/10/2020 16:52:43 pktgen: {0: {'ibytes': 272,
'ierrors': 0,
'ipackets': 3,
'obytes': 0,
'oerrors': 0,
'opackets': 0,
'rx_bps': 343.5481262207031,
'rx_bps_L1': 441.95712089538574,
'rx_pps': 0.6150562167167664,
'rx_util': 1.1048928022384645e-06,
'tx_bps': 830917.3125,
'tx_bps_L1': 1090578.7578125,
'tx_pps': 1622.884033203125,
'tx_util': 0.00272644689453125},
1: {'ibytes': 7399504,
'ierrors': 0,
'ipackets': 115616,
'obytes': 27332595328,
'oerrors': 0,
'opackets': 427071853,
'rx_bps': 5904099.5,
'rx_bps_L1': 7749123.09375,
'rx_pps': 11531.3974609375,
'rx_util': 0.019372807734375,
'tx_bps': 21825314816.0,
'tx_bps_L1': 28645724416.0,
'tx_pps': 42627560.0,
'tx_util': 71.61431104},
'flow_stats': {},
'global': {'bw_per_core': 4.372511863708496,
'cpu_util': 99.83344268798828,
'queue_full': 47984091,
'rx_bps': 5904443.0,
'rx_cpu_util': 0.0,
'rx_drop_bps': 21820239872.0,
'rx_pps': 11532.0126953125,
'tx_bps': 21826144256.0,
'tx_pps': 42629184.0},
'latency': {},
'total': {'ibytes': 7399776,
'ierrors': 0,
'ipackets': 115619,
'obytes': 27332595328,
'oerrors': 0,
'opackets': 427071853,
'rx_bps': 5904443.048126221,
'rx_bps_L1': 7749565.050870895,
'rx_pps': 11532.012517154217,
'rx_util': 0.01937391262717724,
'tx_bps': 21826145733.3125,
'tx_bps_L1': 28646814994.757812,
'tx_pps': 42629182.8840332,
'tx_util': 71.61703748689453}}
22/10/2020 16:52:43 pktgen: {'ibytes': 7399504,
'ierrors': 0,
'ipackets': 115616,
'obytes': 27332595328,
'oerrors': 0,
'opackets': 427071853,
'rx_bps': 5904099.5,
'rx_bps_L1': 7749123.09375,
'rx_pps': 11531.3974609375,
'rx_util': 0.019372807734375,
'tx_bps': 21825314816.0,
'tx_bps_L1': 28645724416.0,
'tx_pps': 42627560.0,
'tx_util': 71.61431104}
22/10/2020 16:52:43 pktgen: Tx Port 1 stats:
tx_port: 1, tx_bps: 21825314816.000000, tx_pps: 42627560.000000
22/10/2020 16:52:43 pktgen: {'ibytes': 7399504,
'ierrors': 0,
'ipackets': 115616,
'obytes': 27332595328,
'oerrors': 0,
'opackets': 427071853,
'rx_bps': 5904099.5,
'rx_bps_L1': 7749123.09375,
'rx_pps': 11531.3974609375,
'rx_util': 0.019372807734375,
'tx_bps': 21825314816.0,
'tx_bps_L1': 28645724416.0,
'tx_pps': 42627560.0,
'tx_util': 71.61431104}
22/10/2020 16:52:43 pktgen: Rx Port 1 stats:
rx_port: 1, rx_bps: 5904099.500000, rx_pps: 11531.397461
22/10/2020 16:52:43 pktgen: throughput: pps_rx 11531.397461, bps_rx 5904099.500000
22/10/2020 16:52:43 pktgen: traffic completed.
22/10/2020 16:52:43 dut.10.240.183.99: stop
22/10/2020 16:52:43 dut.10.240.183.99:
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
----------------------------------------------------------------------------
---------------------- Forward statistics for port 1 ----------------------
RX-packets: 177597 RX-dropped: 206618298 RX-total: 206795895
TX-packets: 177597 TX-dropped: 0 TX-total: 177597
----------------------------------------------------------------------------
+++++++++++++++ Accumulated forward statistics for all ports+++++++++++++++
RX-packets: 177597 RX-dropped: 206618298 RX-total: 206795895
TX-packets: 177597 TX-dropped: 0 TX-total: 177597
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Done.
22/10/2020 16:52:43 dut.10.240.183.99: start
22/10/2020 16:52:43 dut.10.240.183.99:
io packet forwarding - ports=2 - cores=2 - streams=2 - NUMA support enabled, MP allocation mode: native
Logical Core 33 (socket 1) forwards packets on 1 streams:
RX P=0/Q=0 (socket 1) -> TX P=0/Q=0 (socket 1) peer=02:00:00:00:00:00
Logical Core 34 (socket 1) forwards packets on 1 streams:
RX P=1/Q=0 (socket 1) -> TX P=1/Q=0 (socket 1) peer=02:00:00:00:00:01
io packet forwarding packets/burst=32
nb forwarding cores=2 - nb forwarding ports=2
port 0: RX queue number: 1 Tx queue number: 1
Rx offloads=0x0 Tx offloads=0x0
RX queue: 0
RX desc=0 - RX free threshold=0
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0x0
TX queue: 0
TX desc=0 - TX free threshold=0
TX threshold registers: pthresh=0 hthresh=0 wthresh=0
TX offloads=0x0 - TX RS bit threshold=0
port 1: RX queue number: 1 Tx queue number: 1
Rx offloads=0x0 Tx offloads=0x0
RX queue: 0
RX desc=0 - RX free threshold=0
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0x0
TX queue: 0
TX desc=0 - TX free threshold=0
TX threshold registers: pthresh=0 hthresh=0 wthresh=0
TX offloads=0x0 - TX RS bit threshold=0
22/10/2020 16:52:43 TestAfXdp: Running test test_perf_two_port_and_same_irqs, and 128 frame size.
22/10/2020 16:52:43 pktgen: test port 0 map gen port 0
22/10/2020 16:52:43 pktgen: test port 0 map gen port 0
22/10/2020 16:52:43 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:d0',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:9d:1c:f8',
'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:82:00.0',
'prom': 'off',
'prom_supported': 'yes',
'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
'rx_filter_mode': 'hardware match',
'rx_queue': 'off',
'speed': 40.0,
'src_ipv4': '-',
'src_mac': '3c:fd:fe:9d:1c:f8',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
22/10/2020 16:52:43 pktgen: trex port <0> not support flow control
22/10/2020 16:52:43 pktgen: trex packet generator: run traffic 5s to warm up ...
22/10/2020 16:52:43 pktgen: check the trex port link status
22/10/2020 16:52:43 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:d0',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:9d:1c:f8',
'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:82:00.0',
'prom': 'on',
'prom_supported': 'yes',
'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
'rx_filter_mode': 'hardware match',
'rx_queue': 'off',
'speed': 40.0,
'src_ipv4': '-',
'src_mac': '3c:fd:fe:9d:1c:f8',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
22/10/2020 16:52:43 pktgen: begin traffic ......
22/10/2020 16:52:43 pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
22/10/2020 16:52:48 pktgen: traffic completed.
22/10/2020 16:52:48 pktgen: check the trex port link status
22/10/2020 16:52:48 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:d0',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:9d:1c:f8',
'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:82:00.0',
'prom': 'on',
'prom_supported': 'yes',
'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
'rx_filter_mode': 'hardware match',
'rx_queue': 'off',
'speed': 40.0,
'src_ipv4': '-',
'src_mac': '3c:fd:fe:9d:1c:f8',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
22/10/2020 16:52:48 pktgen: begin traffic ......
22/10/2020 16:52:48 pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
22/10/2020 16:52:58 pktgen: begin get port statistic ...
22/10/2020 16:52:58 pktgen: {'options': {'fields_config': {'ip': {'dst': {'action': 'random',
'end': '192.168.1.64',
'start': '192.168.1.1',
'step': 1}}},
'pcap': '/tmp/af_xdp_2_0_128.pcap',
'stream_config': {'rate': 100,
'transmit_mode': 'continuous',
'txmode': {}}},
'pcap_file': '/tmp/af_xdp_2_0_128.pcap',
'rx_port': 0,
'tx_port': 0}
22/10/2020 16:52:58 pktgen: {0: {'ibytes': 13258624,
'ierrors': 0,
'ipackets': 103583,
'obytes': 43291516544,
'oerrors': 0,
'opackets': 338215015,
'rx_bps': 11435328.0,
'rx_bps_L1': 13222098.0,
'rx_pps': 11167.3125,
'rx_util': 0.033055245000000004,
'tx_bps': 34513559552.0,
'tx_bps_L1': 39906303232.0,
'tx_pps': 33704648.0,
'tx_util': 99.76575808},
1: {'ibytes': 0,
'ierrors': 0,
'ipackets': 0,
'obytes': 0,
'oerrors': 0,
'opackets': 0,
'rx_bps': 244.7722625732422,
'rx_bps_L1': 321.2633657455445,
'rx_pps': 0.47806939482688904,
'rx_util': 8.031584143638611e-07,
'tx_bps': 788838.75,
'tx_bps_L1': 1035350.5859374999,
'tx_pps': 1540.698974609375,
'tx_util': 0.0025883764648437497},
'flow_stats': {},
'global': {'bw_per_core': 15.944129943847656,
'cpu_util': 43.29410934448242,
'queue_full': 143792,
'rx_bps': 11435573.0,
'rx_cpu_util': 0.0,
'rx_drop_bps': 34502909952.0,
'rx_pps': 11167.791015625,
'tx_bps': 34514345984.0,
'tx_pps': 33706188.0},
'latency': {},
'total': {'ibytes': 13258624,
'ierrors': 0,
'ipackets': 103583,
'obytes': 43291516544,
'oerrors': 0,
'opackets': 338215015,
'rx_bps': 11435572.772262573,
'rx_bps_L1': 13222419.263365746,
'rx_pps': 11167.790569394827,
'rx_util': 0.03305604815841437,
'tx_bps': 34514348390.75,
'tx_bps_L1': 39907338582.58594,
'tx_pps': 33706188.69897461,
'tx_util': 99.76834645646484}}
22/10/2020 16:52:58 pktgen: {'ibytes': 13258624,
'ierrors': 0,
'ipackets': 103583,
'obytes': 43291516544,
'oerrors': 0,
'opackets': 338215015,
'rx_bps': 11435328.0,
'rx_bps_L1': 13222098.0,
'rx_pps': 11167.3125,
'rx_util': 0.033055245000000004,
'tx_bps': 34513559552.0,
'tx_bps_L1': 39906303232.0,
'tx_pps': 33704648.0,
'tx_util': 99.76575808}
22/10/2020 16:52:58 pktgen: Tx Port 0 stats:
tx_port: 0, tx_bps: 34513559552.000000, tx_pps: 33704648.000000
22/10/2020 16:52:58 pktgen: {'ibytes': 13258624,
'ierrors': 0,
'ipackets': 103583,
'obytes': 43291516544,
'oerrors': 0,
'opackets': 338215015,
'rx_bps': 11435328.0,
'rx_bps_L1': 13222098.0,
'rx_pps': 11167.3125,
'rx_util': 0.033055245000000004,
'tx_bps': 34513559552.0,
'tx_bps_L1': 39906303232.0,
'tx_pps': 33704648.0,
'tx_util': 99.76575808}
22/10/2020 16:52:58 pktgen: Rx Port 0 stats:
rx_port: 0, rx_bps: 11435328.000000, rx_pps: 11167.312500
22/10/2020 16:52:58 pktgen: throughput: pps_rx 11167.312500, bps_rx 11435328.000000
22/10/2020 16:52:58 pktgen: traffic completed.
22/10/2020 16:52:58 dut.10.240.183.99: stop
22/10/2020 16:52:58 dut.10.240.183.99:
Telling cores to ...
Waiting for lcores to finish...
---------------------- Forward statistics for port 0 ----------------------
RX-packets: 164502 RX-dropped: 206047348 RX-total: 206211850
TX-packets: 164502 TX-dropped: 0 TX-total: 164502
----------------------------------------------------------------------------
---------------------- Forward statistics for port 1 ----------------------
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: 164502 RX-dropped: 206047348 RX-total: 206211850
TX-packets: 164502 TX-dropped: 0 TX-total: 164502
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Done.
22/10/2020 16:52:58 dut.10.240.183.99: start
22/10/2020 16:52:58 dut.10.240.183.99:
io packet forwarding - ports=2 - cores=2 - streams=2 - NUMA support enabled, MP allocation mode: native
Logical Core 33 (socket 1) forwards packets on 1 streams:
RX P=0/Q=0 (socket 1) -> TX P=0/Q=0 (socket 1) peer=02:00:00:00:00:00
Logical Core 34 (socket 1) forwards packets on 1 streams:
RX P=1/Q=0 (socket 1) -> TX P=1/Q=0 (socket 1) peer=02:00:00:00:00:01
io packet forwarding packets/burst=32
nb forwarding cores=2 - nb forwarding ports=2
port 0: RX queue number: 1 Tx queue number: 1
Rx offloads=0x0 Tx offloads=0x0
RX queue: 0
RX desc=0 - RX free threshold=0
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0x0
TX queue: 0
TX desc=0 - TX free threshold=0
TX threshold registers: pthresh=0 hthresh=0 wthresh=0
TX offloads=0x0 - TX RS bit threshold=0
port 1: RX queue number: 1 Tx queue number: 1
Rx offloads=0x0 Tx offloads=0x0
RX queue: 0
RX desc=0 - RX free threshold=0
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0x0
TX queue: 0
TX desc=0 - TX free threshold=0
TX threshold registers: pthresh=0 hthresh=0 wthresh=0
TX offloads=0x0 - TX RS bit threshold=0
22/10/2020 16:52:58 pktgen: test port 1 map gen port 1
22/10/2020 16:52:58 pktgen: test port 1 map gen port 1
22/10/2020 16:52:58 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:d0',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:9d:1c:f8',
'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:82:00.0',
'prom': 'off',
'prom_supported': 'yes',
'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
'rx_filter_mode': 'hardware match',
'rx_queue': 'off',
'speed': 40.0,
'src_ipv4': '-',
'src_mac': '3c:fd:fe:9d:1c:f8',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
22/10/2020 16:52:58 pktgen: trex port <0> not support flow control
22/10/2020 16:52:58 pktgen: trex packet generator: run traffic 5s to warm up ...
22/10/2020 16:52:58 pktgen: check the trex port link status
22/10/2020 16:52:58 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:d1',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:9d:1c:f9',
'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:82:00.1',
'prom': 'on',
'prom_supported': 'yes',
'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
'rx_filter_mode': 'hardware match',
'rx_queue': 'off',
'speed': 40.0,
'src_ipv4': '-',
'src_mac': '3c:fd:fe:9d:1c:f9',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
22/10/2020 16:52:58 pktgen: begin traffic ......
22/10/2020 16:52:58 pktgen: {'ports': [1], 'mult': '100%', 'core_mask': None, 'force': True}
22/10/2020 16:53:03 pktgen: traffic completed.
22/10/2020 16:53:03 pktgen: check the trex port link status
22/10/2020 16:53:03 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:d1',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:9d:1c:f9',
'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:82:00.1',
'prom': 'on',
'prom_supported': 'yes',
'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
'rx_filter_mode': 'hardware match',
'rx_queue': 'off',
'speed': 40.0,
'src_ipv4': '-',
'src_mac': '3c:fd:fe:9d:1c:f9',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
22/10/2020 16:53:03 pktgen: begin traffic ......
22/10/2020 16:53:03 pktgen: {'ports': [1], 'mult': '100%', 'core_mask': None, 'force': True}
22/10/2020 16:53:13 pktgen: begin get port statistic ...
22/10/2020 16:53:13 pktgen: {'options': {'fields_config': {'ip': {'dst': {'action': 'random',
'end': '192.168.2.64',
'start': '192.168.2.1',
'step': 1}}},
'pcap': '/tmp/af_xdp_2_1_128.pcap',
'stream_config': {'rate': 100,
'transmit_mode': 'continuous',
'txmode': {}}},
'pcap_file': '/tmp/af_xdp_2_1_128.pcap',
'rx_port': 1,
'tx_port': 1}
22/10/2020 16:53:13 pktgen: {0: {'ibytes': 198,
'ierrors': 0,
'ipackets': 2,
'obytes': 0,
'oerrors': 0,
'opackets': 0,
'rx_bps': 571.5187377929688,
'rx_bps_L1': 663.4955615997314,
'rx_pps': 0.5748551487922668,
'rx_util': 1.6587389039993285e-06,
'tx_bps': 1176641.125,
'tx_bps_L1': 1360491.1054687498,
'tx_pps': 1149.0623779296875,
'tx_util': 0.003401227763671874},
1: {'ibytes': 14764688,
'ierrors': 0,
'ipackets': 115350,
'obytes': 43292323584,
'oerrors': 0,
'opackets': 338221320,
'rx_bps': 11809921.0,
'rx_bps_L1': 13655226.781249998,
'rx_pps': 11533.1611328125,
'rx_util': 0.034138066953125,
'tx_bps': 34503024640.0,
'tx_bps_L1': 39894122240.0,
'tx_pps': 33694360.0,
'tx_util': 99.7353056},
'flow_stats': {},
'global': {'bw_per_core': 15.797736167907715,
'cpu_util': 43.68246078491211,
'queue_full': 157145,
'rx_bps': 11810493.0,
'rx_cpu_util': 0.0,
'rx_drop_bps': 34492391424.0,
'rx_pps': 11533.736328125,
'tx_bps': 34504200192.0,
'tx_pps': 33695508.0},
'latency': {},
'total': {'ibytes': 14764886,
'ierrors': 0,
'ipackets': 115352,
'obytes': 43292323584,
'oerrors': 0,
'opackets': 338221320,
'rx_bps': 11810492.518737793,
'rx_bps_L1': 13655890.276811598,
'rx_pps': 11533.735987961292,
'rx_util': 0.034139725692029,
'tx_bps': 34504201281.125,
'tx_bps_L1': 39895482731.10547,
'tx_pps': 33695509.06237793,
'tx_util': 99.73870682776368}}
22/10/2020 16:53:13 pktgen: {'ibytes': 14764688,
'ierrors': 0,
'ipackets': 115350,
'obytes': 43292323584,
'oerrors': 0,
'opackets': 338221320,
'rx_bps': 11809921.0,
'rx_bps_L1': 13655226.781249998,
'rx_pps': 11533.1611328125,
'rx_util': 0.034138066953125,
'tx_bps': 34503024640.0,
'tx_bps_L1': 39894122240.0,
'tx_pps': 33694360.0,
'tx_util': 99.7353056}
22/10/2020 16:53:13 pktgen: Tx Port 1 stats:
tx_port: 1, tx_bps: 34503024640.000000, tx_pps: 33694360.000000
22/10/2020 16:53:13 pktgen: {'ibytes': 14764688,
'ierrors': 0,
'ipackets': 115350,
'obytes': 43292323584,
'oerrors': 0,
'opackets': 338221320,
'rx_bps': 11809921.0,
'rx_bps_L1': 13655226.781249998,
'rx_pps': 11533.1611328125,
'rx_util': 0.034138066953125,
'tx_bps': 34503024640.0,
'tx_bps_L1': 39894122240.0,
'tx_pps': 33694360.0,
'tx_util': 99.7353056}
22/10/2020 16:53:13 pktgen: Rx Port 1 stats:
rx_port: 1, rx_bps: 11809921.000000, rx_pps: 11533.161133
22/10/2020 16:53:13 pktgen: throughput: pps_rx 11533.161133, bps_rx 11809921.000000
22/10/2020 16:53:13 pktgen: traffic completed.
22/10/2020 16:53:13 dut.10.240.183.99: stop
22/10/2020 16:53:13 dut.10.240.183.99:
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
----------------------------------------------------------------------------
---------------------- Forward statistics for port 1 ----------------------
RX-packets: 178542 RX-dropped: 205013074 RX-total: 205191616
TX-packets: 178542 TX-dropped: 0 TX-total: 178542
----------------------------------------------------------------------------
+++++++++++++++ Accumulated forward statistics for all ports+++++++++++++++
RX-packets: 178542 RX-dropped: 205013074 RX-total: 205191616
TX-packets: 178542 TX-dropped: 0 TX-total: 178542
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Done.
22/10/2020 16:53:13 dut.10.240.183.99: start
22/10/2020 16:53:13 dut.10.240.183.99:
io packet forwarding - ports=2 - cores=2 - streams=2 - NUMA support enabled, MP allocation mode: native
Logical Core 33 (socket 1) forwards packets on 1 streams:
RX P=0/Q=0 (socket 1) -> TX P=0/Q=0 (socket 1) peer=02:00:00:00:00:00
Logical Core 34 (socket 1) forwards packets on 1 streams:
RX P=1/Q=0 (socket 1) -> TX P=1/Q=0 (socket 1) peer=02:00:00:00:00:01
io packet forwarding packets/burst=32
nb forwarding cores=2 - nb forwarding ports=2
port 0: RX queue number: 1 Tx queue number: 1
Rx offloads=0x0 Tx offloads=0x0
RX queue: 0
RX desc=0 - RX free threshold=0
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0x0
TX queue: 0
TX desc=0 - TX free threshold=0
TX threshold registers: pthresh=0 hthresh=0 wthresh=0
TX offloads=0x0 - TX RS bit threshold=0
port 1: RX queue number: 1 Tx queue number: 1
Rx offloads=0x0 Tx offloads=0x0
RX queue: 0
RX desc=0 - RX free threshold=0
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0x0
TX queue: 0
TX desc=0 - TX free threshold=0
TX threshold registers: pthresh=0 hthresh=0 wthresh=0
TX offloads=0x0 - TX RS bit threshold=0
22/10/2020 16:53:13 TestAfXdp: Running test test_perf_two_port_and_same_irqs, and 256 frame size.
22/10/2020 16:53:13 pktgen: test port 0 map gen port 0
22/10/2020 16:53:13 pktgen: test port 0 map gen port 0
22/10/2020 16:53:13 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:d0',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:9d:1c:f8',
'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:82:00.0',
'prom': 'off',
'prom_supported': 'yes',
'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
'rx_filter_mode': 'hardware match',
'rx_queue': 'off',
'speed': 40.0,
'src_ipv4': '-',
'src_mac': '3c:fd:fe:9d:1c:f8',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
22/10/2020 16:53:13 pktgen: trex port <0> not support flow control
22/10/2020 16:53:13 pktgen: trex packet generator: run traffic 5s to warm up ...
22/10/2020 16:53:13 pktgen: check the trex port link status
22/10/2020 16:53:13 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:d0',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:9d:1c:f8',
'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:82:00.0',
'prom': 'on',
'prom_supported': 'yes',
'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
'rx_filter_mode': 'hardware match',
'rx_queue': 'off',
'speed': 40.0,
'src_ipv4': '-',
'src_mac': '3c:fd:fe:9d:1c:f8',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
22/10/2020 16:53:13 pktgen: begin traffic ......
22/10/2020 16:53:13 pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
22/10/2020 16:53:18 pktgen: traffic completed.
22/10/2020 16:53:18 pktgen: check the trex port link status
22/10/2020 16:53:18 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:d0',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:9d:1c:f8',
'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:82:00.0',
'prom': 'on',
'prom_supported': 'yes',
'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
'rx_filter_mode': 'hardware match',
'rx_queue': 'off',
'speed': 40.0,
'src_ipv4': '-',
'src_mac': '3c:fd:fe:9d:1c:f8',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
22/10/2020 16:53:18 pktgen: begin traffic ......
22/10/2020 16:53:18 pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
22/10/2020 16:53:29 pktgen: begin get port statistic ...
22/10/2020 16:53:29 pktgen: {'options': {'fields_config': {'ip': {'dst': {'action': 'random',
'end': '192.168.1.64',
'start': '192.168.1.1',
'step': 1}}},
'pcap': '/tmp/af_xdp_2_0_256.pcap',
'stream_config': {'rate': 100,
'transmit_mode': 'continuous',
'txmode': {}}},
'pcap_file': '/tmp/af_xdp_2_0_256.pcap',
'rx_port': 0,
'tx_port': 0}
22/10/2020 16:53:29 pktgen: {0: {'ibytes': 2733823744,
'ierrors': 0,
'ipackets': 10678999,
'obytes': 16213652992,
'oerrors': 0,
'opackets': 63334588,
'rx_bps': 2212345344.0,
'rx_bps_L1': 2385184744.0,
'rx_pps': 1080246.25,
'rx_util': 5.96296186,
'tx_bps': 12644974592.0,
'tx_bps_L1': 13632863232.0,
'tx_pps': 6174304.0,
'tx_util': 34.08215808},
1: {'ibytes': 0,
'ierrors': 0,
'ipackets': 0,
'obytes': 0,
'oerrors': 0,
'opackets': 0,
'rx_bps': 439.6274108886719,
'rx_bps_L1': 508.3193655014038,
'rx_pps': 0.4293247163295746,
'rx_util': 1.2707984137535095e-06,
'tx_bps': 1101539.125,
'tx_bps_L1': 1273654.41796875,
'tx_pps': 1075.7205810546875,
'tx_util': 0.0031841360449218746},
'flow_stats': {},
'global': {'bw_per_core': 2.580436944961548,
'cpu_util': 98.01499938964844,
'queue_full': 89402842,
'rx_bps': 2212345856.0,
'rx_cpu_util': 0.0,
'rx_drop_bps': 10433730560.0,
'rx_pps': 1080246.625,
'tx_bps': 12646076416.0,
'tx_pps': 6175379.5},
'latency': {},
'total': {'ibytes': 2733823744,
'ierrors': 0,
'ipackets': 10678999,
'obytes': 16213652992,
'oerrors': 0,
'opackets': 63334588,
'rx_bps': 2212345783.627411,
'rx_bps_L1': 2385185252.3193655,
'rx_pps': 1080246.6793247163,
'rx_util': 5.962963130798414,
'tx_bps': 12646076131.125,
'tx_bps_L1': 13634136886.417969,
'tx_pps': 6175379.720581055,
'tx_util': 34.08534221604492}}
22/10/2020 16:53:29 pktgen: {'ibytes': 2733823744,
'ierrors': 0,
'ipackets': 10678999,
'obytes': 16213652992,
'oerrors': 0,
'opackets': 63334588,
'rx_bps': 2212345344.0,
'rx_bps_L1': 2385184744.0,
'rx_pps': 1080246.25,
'rx_util': 5.96296186,
'tx_bps': 12644974592.0,
'tx_bps_L1': 13632863232.0,
'tx_pps': 6174304.0,
'tx_util': 34.08215808}
22/10/2020 16:53:29 pktgen: Tx Port 0 stats:
tx_port: 0, tx_bps: 12644974592.000000, tx_pps: 6174304.000000
22/10/2020 16:53:29 pktgen: {'ibytes': 2733823744,
'ierrors': 0,
'ipackets': 10678999,
'obytes': 16213652992,
'oerrors': 0,
'opackets': 63334588,
'rx_bps': 2212345344.0,
'rx_bps_L1': 2385184744.0,
'rx_pps': 1080246.25,
'rx_util': 5.96296186,
'tx_bps': 12644974592.0,
'tx_bps_L1': 13632863232.0,
'tx_pps': 6174304.0,
'tx_util': 34.08215808}
22/10/2020 16:53:29 pktgen: Rx Port 0 stats:
rx_port: 0, rx_bps: 2212345344.000000, rx_pps: 1080246.250000
22/10/2020 16:53:29 pktgen: throughput: pps_rx 1080246.250000, bps_rx 2212345344.000000
22/10/2020 16:53:29 pktgen: traffic completed.
22/10/2020 16:53:29 dut.10.240.183.99: stop
22/10/2020 16:53:29 dut.10.240.183.99:
Telling cores to ...
Waiting for lcores to finish...
---------------------- Forward statistics for port 0 ----------------------
RX-packets: 15989932 RX-dropped: 79433542 RX-total: 95423474
TX-packets: 15989932 TX-dropped: 0 TX-total: 15989932
----------------------------------------------------------------------------
---------------------- Forward statistics for port 1 ----------------------
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: 15989932 RX-dropped: 79433542 RX-total: 95423474
TX-packets: 15989932 TX-dropped: 0 TX-total: 15989932
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Done.
22/10/2020 16:53:29 dut.10.240.183.99: start
22/10/2020 16:53:29 dut.10.240.183.99:
io packet forwarding - ports=2 - cores=2 - streams=2 - NUMA support enabled, MP allocation mode: native
Logical Core 33 (socket 1) forwards packets on 1 streams:
RX P=0/Q=0 (socket 1) -> TX P=0/Q=0 (socket 1) peer=02:00:00:00:00:00
Logical Core 34 (socket 1) forwards packets on 1 streams:
RX P=1/Q=0 (socket 1) -> TX P=1/Q=0 (socket 1) peer=02:00:00:00:00:01
io packet forwarding packets/burst=32
nb forwarding cores=2 - nb forwarding ports=2
port 0: RX queue number: 1 Tx queue number: 1
Rx offloads=0x0 Tx offloads=0x0
RX queue: 0
RX desc=0 - RX free threshold=0
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0x0
TX queue: 0
TX desc=0 - TX free threshold=0
TX threshold registers: pthresh=0 hthresh=0 wthresh=0
TX offloads=0x0 - TX RS bit threshold=0
port 1: RX queue number: 1 Tx queue number: 1
Rx offloads=0x0 Tx offloads=0x0
RX queue: 0
RX desc=0 - RX free threshold=0
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0x0
TX queue: 0
TX desc=0 - TX free threshold=0
TX threshold registers: pthresh=0 hthresh=0 wthresh=0
TX offloads=0x0 - TX RS bit threshold=0
22/10/2020 16:53:29 pktgen: test port 1 map gen port 1
22/10/2020 16:53:29 pktgen: test port 1 map gen port 1
22/10/2020 16:53:29 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:d0',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:9d:1c:f8',
'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:82:00.0',
'prom': 'off',
'prom_supported': 'yes',
'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
'rx_filter_mode': 'hardware match',
'rx_queue': 'off',
'speed': 40.0,
'src_ipv4': '-',
'src_mac': '3c:fd:fe:9d:1c:f8',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
22/10/2020 16:53:29 pktgen: trex port <0> not support flow control
22/10/2020 16:53:29 pktgen: trex packet generator: run traffic 5s to warm up ...
22/10/2020 16:53:29 pktgen: check the trex port link status
22/10/2020 16:53:29 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:d1',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:9d:1c:f9',
'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:82:00.1',
'prom': 'on',
'prom_supported': 'yes',
'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
'rx_filter_mode': 'hardware match',
'rx_queue': 'off',
'speed': 40.0,
'src_ipv4': '-',
'src_mac': '3c:fd:fe:9d:1c:f9',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
22/10/2020 16:53:29 pktgen: begin traffic ......
22/10/2020 16:53:29 pktgen: {'ports': [1], 'mult': '100%', 'core_mask': None, 'force': True}
22/10/2020 16:53:34 pktgen: traffic completed.
22/10/2020 16:53:34 pktgen: check the trex port link status
22/10/2020 16:53:34 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:d1',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:9d:1c:f9',
'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:82:00.1',
'prom': 'on',
'prom_supported': 'yes',
'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
'rx_filter_mode': 'hardware match',
'rx_queue': 'off',
'speed': 40.0,
'src_ipv4': '-',
'src_mac': '3c:fd:fe:9d:1c:f9',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
22/10/2020 16:53:34 pktgen: begin traffic ......
22/10/2020 16:53:34 pktgen: {'ports': [1], 'mult': '100%', 'core_mask': None, 'force': True}
22/10/2020 16:53:44 pktgen: begin get port statistic ...
22/10/2020 16:53:44 pktgen: {'options': {'fields_config': {'ip': {'dst': {'action': 'random',
'end': '192.168.2.64',
'start': '192.168.2.1',
'step': 1}}},
'pcap': '/tmp/af_xdp_2_1_256.pcap',
'stream_config': {'rate': 100,
'transmit_mode': 'continuous',
'txmode': {}}},
'pcap_file': '/tmp/af_xdp_2_1_256.pcap',
'rx_port': 1,
'tx_port': 1}
22/10/2020 16:53:44 pktgen: {0: {'ibytes': 87,
'ierrors': 0,
'ipackets': 1,
'obytes': 0,
'oerrors': 0,
'opackets': 0,
'rx_bps': 136841.6875,
'rx_bps_L1': 147532.64086914062,
'rx_pps': 66.8184585571289,
'rx_util': 0.00036883160217285153,
'tx_bps': 780629.25,
'tx_bps_L1': 841615.8662109375,
'tx_pps': 381.1663513183594,
'tx_util': 0.002104039665527344},
1: {'ibytes': 2752022103,
'ierrors': 0,
'ipackets': 10750089,
'obytes': 16077661440,
'oerrors': 0,
'opackets': 62803370,
'rx_bps': 2227172864.0,
'rx_bps_L1': 2401170724.0,
'rx_pps': 1087486.625,
'rx_util': 6.00292681,
'tx_bps': 12581159936.0,
'tx_bps_L1': 13564063295.999998,
'tx_pps': 6143146.0,
'tx_util': 33.910158239999994},
'flow_stats': {},
'global': {'bw_per_core': 2.5448522567749023,
'cpu_util': 98.8814926147461,
'queue_full': 89371937,
'rx_bps': 2227309824.0,
'rx_cpu_util': 0.0,
'rx_drop_bps': 10354630656.0,
'rx_pps': 1087553.5,
'tx_bps': 12581940224.0,
'tx_pps': 6143527.0},
'latency': {},
'total': {'ibytes': 2752022190,
'ierrors': 0,
'ipackets': 10750090,
'obytes': 16077661440,
'oerrors': 0,
'opackets': 62803370,
'rx_bps': 2227309705.6875,
'rx_bps_L1': 2401318256.640869,
'rx_pps': 1087553.4434585571,
'rx_util': 6.003295641602173,
'tx_bps': 12581940565.25,
'tx_bps_L1': 13564904911.866209,
'tx_pps': 6143527.166351318,
'tx_util': 33.91226227966552}}
22/10/2020 16:53:44 pktgen: {'ibytes': 2752022103,
'ierrors': 0,
'ipackets': 10750089,
'obytes': 16077661440,
'oerrors': 0,
'opackets': 62803370,
'rx_bps': 2227172864.0,
'rx_bps_L1': 2401170724.0,
'rx_pps': 1087486.625,
'rx_util': 6.00292681,
'tx_bps': 12581159936.0,
'tx_bps_L1': 13564063295.999998,
'tx_pps': 6143146.0,
'tx_util': 33.910158239999994}
22/10/2020 16:53:44 pktgen: Tx Port 1 stats:
tx_port: 1, tx_bps: 12581159936.000000, tx_pps: 6143146.000000
22/10/2020 16:53:44 pktgen: {'ibytes': 2752022103,
'ierrors': 0,
'ipackets': 10750089,
'obytes': 16077661440,
'oerrors': 0,
'opackets': 62803370,
'rx_bps': 2227172864.0,
'rx_bps_L1': 2401170724.0,
'rx_pps': 1087486.625,
'rx_util': 6.00292681,
'tx_bps': 12581159936.0,
'tx_bps_L1': 13564063295.999998,
'tx_pps': 6143146.0,
'tx_util': 33.910158239999994}
22/10/2020 16:53:44 pktgen: Rx Port 1 stats:
rx_port: 1, rx_bps: 2227172864.000000, rx_pps: 1087486.625000
22/10/2020 16:53:44 pktgen: throughput: pps_rx 1087486.625000, bps_rx 2227172864.000000
22/10/2020 16:53:44 pktgen: traffic completed.
22/10/2020 16:53:44 dut.10.240.183.99: stop
22/10/2020 16:53:44 dut.10.240.183.99:
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
----------------------------------------------------------------------------
---------------------- Forward statistics for port 1 ----------------------
RX-packets: 16135119 RX-dropped: 78417839 RX-total: 94552958
TX-packets: 16135119 TX-dropped: 0 TX-total: 16135119
----------------------------------------------------------------------------
+++++++++++++++ Accumulated forward statistics for all ports+++++++++++++++
RX-packets: 16135119 RX-dropped: 78417839 RX-total: 94552958
TX-packets: 16135119 TX-dropped: 0 TX-total: 16135119
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Done.
22/10/2020 16:53:44 dut.10.240.183.99: start
22/10/2020 16:53:44 dut.10.240.183.99:
io packet forwarding - ports=2 - cores=2 - streams=2 - NUMA support enabled, MP allocation mode: native
Logical Core 33 (socket 1) forwards packets on 1 streams:
RX P=0/Q=0 (socket 1) -> TX P=0/Q=0 (socket 1) peer=02:00:00:00:00:00
Logical Core 34 (socket 1) forwards packets on 1 streams:
RX P=1/Q=0 (socket 1) -> TX P=1/Q=0 (socket 1) peer=02:00:00:00:00:01
io packet forwarding packets/burst=32
nb forwarding cores=2 - nb forwarding ports=2
port 0: RX queue number: 1 Tx queue number: 1
Rx offloads=0x0 Tx offloads=0x0
RX queue: 0
RX desc=0 - RX free threshold=0
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0x0
TX queue: 0
TX desc=0 - TX free threshold=0
TX threshold registers: pthresh=0 hthresh=0 wthresh=0
TX offloads=0x0 - TX RS bit threshold=0
port 1: RX queue number: 1 Tx queue number: 1
Rx offloads=0x0 Tx offloads=0x0
RX queue: 0
RX desc=0 - RX free threshold=0
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0x0
TX queue: 0
TX desc=0 - TX free threshold=0
TX threshold registers: pthresh=0 hthresh=0 wthresh=0
TX offloads=0x0 - TX RS bit threshold=0
22/10/2020 16:53:44 TestAfXdp: Running test test_perf_two_port_and_same_irqs, and 512 frame size.
22/10/2020 16:53:44 pktgen: test port 0 map gen port 0
22/10/2020 16:53:44 pktgen: test port 0 map gen port 0
22/10/2020 16:53:44 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:d0',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:9d:1c:f8',
'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:82:00.0',
'prom': 'off',
'prom_supported': 'yes',
'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
'rx_filter_mode': 'hardware match',
'rx_queue': 'off',
'speed': 40.0,
'src_ipv4': '-',
'src_mac': '3c:fd:fe:9d:1c:f8',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
22/10/2020 16:53:44 pktgen: trex port <0> not support flow control
22/10/2020 16:53:44 pktgen: trex packet generator: run traffic 5s to warm up ...
22/10/2020 16:53:44 pktgen: check the trex port link status
22/10/2020 16:53:44 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:d0',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:9d:1c:f8',
'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:82:00.0',
'prom': 'on',
'prom_supported': 'yes',
'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
'rx_filter_mode': 'hardware match',
'rx_queue': 'off',
'speed': 40.0,
'src_ipv4': '-',
'src_mac': '3c:fd:fe:9d:1c:f8',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
22/10/2020 16:53:44 pktgen: begin traffic ......
22/10/2020 16:53:44 pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
22/10/2020 16:53:49 pktgen: traffic completed.
22/10/2020 16:53:49 pktgen: check the trex port link status
22/10/2020 16:53:49 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:d0',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:9d:1c:f8',
'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:82:00.0',
'prom': 'on',
'prom_supported': 'yes',
'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
'rx_filter_mode': 'hardware match',
'rx_queue': 'off',
'speed': 40.0,
'src_ipv4': '-',
'src_mac': '3c:fd:fe:9d:1c:f8',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
22/10/2020 16:53:49 pktgen: begin traffic ......
22/10/2020 16:53:49 pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
22/10/2020 16:53:59 pktgen: begin get port statistic ...
22/10/2020 16:53:59 pktgen: {'options': {'fields_config': {'ip': {'dst': {'action': 'random',
'end': '192.168.1.64',
'start': '192.168.1.1',
'step': 1}}},
'pcap': '/tmp/af_xdp_2_0_512.pcap',
'stream_config': {'rate': 100,
'transmit_mode': 'continuous',
'txmode': {}}},
'pcap_file': '/tmp/af_xdp_2_0_512.pcap',
'rx_port': 0,
'tx_port': 0}
22/10/2020 16:53:59 pktgen: {0: {'ibytes': 5528744960,
'ierrors': 0,
'ipackets': 10798333,
'obytes': 30027648512,
'oerrors': 0,
'opackets': 58647759,
'rx_bps': 4468117504.0,
'rx_bps_L1': 4642653704.0,
'rx_pps': 1090851.25,
'rx_util': 11.60663426,
'tx_bps': 23557068800.0,
'tx_bps_L1': 24477266720.000004,
'tx_pps': 5751237.0,
'tx_util': 61.19316680000001},
1: {'ibytes': 0,
'ierrors': 0,
'ipackets': 0,
'obytes': 0,
'oerrors': 0,
'opackets': 0,
'rx_bps': 131586.546875,
'rx_bps_L1': 141866.74584960938,
'rx_pps': 64.2512435913086,
'rx_util': 0.00035466686462402343,
'tx_bps': 741601.25,
'tx_bps_L1': 799538.8037109376,
'tx_pps': 362.1097106933594,
'tx_util': 0.001998847009277344},
'flow_stats': {},
'global': {'bw_per_core': 4.969592571258545,
'cpu_util': 94.80781555175781,
'queue_full': 83828335,
'rx_bps': 4468249088.0,
'rx_cpu_util': 0.0,
'rx_drop_bps': 19089561600.0,
'rx_pps': 1090915.5,
'tx_bps': 23557810176.0,
'tx_pps': 5751599.0},
'latency': {},
'total': {'ibytes': 5528744960,
'ierrors': 0,
'ipackets': 10798333,
'obytes': 30027648512,
'oerrors': 0,
'opackets': 58647759,
'rx_bps': 4468249090.546875,
'rx_bps_L1': 4642795570.74585,
'rx_pps': 1090915.5012435913,
'rx_util': 11.606988926864624,
'tx_bps': 23557810401.25,
'tx_bps_L1': 24478066258.803715,
'tx_pps': 5751599.109710693,
'tx_util': 61.19516564700928}}
22/10/2020 16:53:59 pktgen: {'ibytes': 5528744960,
'ierrors': 0,
'ipackets': 10798333,
'obytes': 30027648512,
'oerrors': 0,
'opackets': 58647759,
'rx_bps': 4468117504.0,
'rx_bps_L1': 4642653704.0,
'rx_pps': 1090851.25,
'rx_util': 11.60663426,
'tx_bps': 23557068800.0,
'tx_bps_L1': 24477266720.000004,
'tx_pps': 5751237.0,
'tx_util': 61.19316680000001}
22/10/2020 16:53:59 pktgen: Tx Port 0 stats:
tx_port: 0, tx_bps: 23557068800.000000, tx_pps: 5751237.000000
22/10/2020 16:53:59 pktgen: {'ibytes': 5528744960,
'ierrors': 0,
'ipackets': 10798333,
'obytes': 30027648512,
'oerrors': 0,
'opackets': 58647759,
'rx_bps': 4468117504.0,
'rx_bps_L1': 4642653704.0,
'rx_pps': 1090851.25,
'rx_util': 11.60663426,
'tx_bps': 23557068800.0,
'tx_bps_L1': 24477266720.000004,
'tx_pps': 5751237.0,
'tx_util': 61.19316680000001}
22/10/2020 16:53:59 pktgen: Rx Port 0 stats:
rx_port: 0, rx_bps: 4468117504.000000, rx_pps: 1090851.250000
22/10/2020 16:53:59 pktgen: throughput: pps_rx 1090851.250000, bps_rx 4468117504.000000
22/10/2020 16:53:59 pktgen: traffic completed.
22/10/2020 16:53:59 dut.10.240.183.99: stop
22/10/2020 16:53:59 dut.10.240.183.99:
Telling cores to ...
Waiting for lcores to finish...
---------------------- Forward statistics for port 0 ----------------------
RX-packets: 16197172 RX-dropped: 72149115 RX-total: 88346287
TX-packets: 16197172 TX-dropped: 0 TX-total: 16197172
----------------------------------------------------------------------------
---------------------- Forward statistics for port 1 ----------------------
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: 16197172 RX-dropped: 72149115 RX-total: 88346287
TX-packets: 16197172 TX-dropped: 0 TX-total: 16197172
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Done.
22/10/2020 16:53:59 dut.10.240.183.99: start
22/10/2020 16:53:59 dut.10.240.183.99:
io packet forwarding - ports=2 - cores=2 - streams=2 - NUMA support enabled, MP allocation mode: native
Logical Core 33 (socket 1) forwards packets on 1 streams:
RX P=0/Q=0 (socket 1) -> TX P=0/Q=0 (socket 1) peer=02:00:00:00:00:00
Logical Core 34 (socket 1) forwards packets on 1 streams:
RX P=1/Q=0 (socket 1) -> TX P=1/Q=0 (socket 1) peer=02:00:00:00:00:01
io packet forwarding packets/burst=32
nb forwarding cores=2 - nb forwarding ports=2
port 0: RX queue number: 1 Tx queue number: 1
Rx offloads=0x0 Tx offloads=0x0
RX queue: 0
RX desc=0 - RX free threshold=0
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0x0
TX queue: 0
TX desc=0 - TX free threshold=0
TX threshold registers: pthresh=0 hthresh=0 wthresh=0
TX offloads=0x0 - TX RS bit threshold=0
port 1: RX queue number: 1 Tx queue number: 1
Rx offloads=0x0 Tx offloads=0x0
RX queue: 0
RX desc=0 - RX free threshold=0
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0x0
TX queue: 0
TX desc=0 - TX free threshold=0
TX threshold registers: pthresh=0 hthresh=0 wthresh=0
TX offloads=0x0 - TX RS bit threshold=0
22/10/2020 16:53:59 pktgen: test port 1 map gen port 1
22/10/2020 16:53:59 pktgen: test port 1 map gen port 1
22/10/2020 16:53:59 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:d0',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:9d:1c:f8',
'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:82:00.0',
'prom': 'off',
'prom_supported': 'yes',
'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
'rx_filter_mode': 'hardware match',
'rx_queue': 'off',
'speed': 40.0,
'src_ipv4': '-',
'src_mac': '3c:fd:fe:9d:1c:f8',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
22/10/2020 16:53:59 pktgen: trex port <0> not support flow control
22/10/2020 16:53:59 pktgen: trex packet generator: run traffic 5s to warm up ...
22/10/2020 16:53:59 pktgen: check the trex port link status
22/10/2020 16:53:59 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:d1',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:9d:1c:f9',
'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:82:00.1',
'prom': 'on',
'prom_supported': 'yes',
'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
'rx_filter_mode': 'hardware match',
'rx_queue': 'off',
'speed': 40.0,
'src_ipv4': '-',
'src_mac': '3c:fd:fe:9d:1c:f9',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
22/10/2020 16:53:59 pktgen: begin traffic ......
22/10/2020 16:53:59 pktgen: {'ports': [1], 'mult': '100%', 'core_mask': None, 'force': True}
22/10/2020 16:54:04 pktgen: traffic completed.
22/10/2020 16:54:04 pktgen: check the trex port link status
22/10/2020 16:54:04 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:d1',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:9d:1c:f9',
'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:82:00.1',
'prom': 'on',
'prom_supported': 'yes',
'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
'rx_filter_mode': 'hardware match',
'rx_queue': 'off',
'speed': 40.0,
'src_ipv4': '-',
'src_mac': '3c:fd:fe:9d:1c:f9',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
22/10/2020 16:54:04 pktgen: begin traffic ......
22/10/2020 16:54:04 pktgen: {'ports': [1], 'mult': '100%', 'core_mask': None, 'force': True}
22/10/2020 16:54:14 pktgen: begin get port statistic ...
22/10/2020 16:54:14 pktgen: {'options': {'fields_config': {'ip': {'dst': {'action': 'random',
'end': '192.168.2.64',
'start': '192.168.2.1',
'step': 1}}},
'pcap': '/tmp/af_xdp_2_1_512.pcap',
'stream_config': {'rate': 100,
'transmit_mode': 'continuous',
'txmode': {}}},
'pcap_file': '/tmp/af_xdp_2_1_512.pcap',
'rx_port': 1,
'tx_port': 1}
22/10/2020 16:54:14 pktgen: {0: {'ibytes': 0,
'ierrors': 0,
'ipackets': 0,
'obytes': 0,
'oerrors': 0,
'opackets': 0,
'rx_bps': 257020.53125,
'rx_bps_L1': 267060.5098876953,
'rx_pps': 62.7498664855957,
'rx_util': 0.0006676512747192383,
'tx_bps': 1355253.0,
'tx_bps_L1': 1408192.541015625,
'tx_pps': 330.87213134765625,
'tx_util': 0.0035204813525390624},
1: {'ibytes': 5570144842,
'ierrors': 0,
'ipackets': 10879191,
'obytes': 29867339264,
'oerrors': 0,
'opackets': 58334654,
'rx_bps': 4476923392.0,
'rx_bps_L1': 4651803192.0,
'rx_pps': 1092998.75,
'rx_util': 11.629507980000001,
'tx_bps': 23369320448.0,
'tx_bps_L1': 24282184688.0,
'tx_pps': 5705401.5,
'tx_util': 60.705461719999995},
'flow_stats': {},
'global': {'bw_per_core': 4.931632995605469,
'cpu_util': 94.77864837646484,
'queue_full': 84030089,
'rx_bps': 4477180416.0,
'rx_cpu_util': 0.0,
'rx_drop_bps': 18893496320.0,
'rx_pps': 1093061.5,
'tx_bps': 23370676224.0,
'tx_pps': 5705732.5},
'latency': {},
'total': {'ibytes': 5570144842,
'ierrors': 0,
'ipackets': 10879191,
'obytes': 29867339264,
'oerrors': 0,
'opackets': 58334654,
'rx_bps': 4477180412.53125,
'rx_bps_L1': 4652070252.509888,
'rx_pps': 1093061.4998664856,
'rx_util': 11.63017563127472,
'tx_bps': 23370675701.0,
'tx_bps_L1': 24283592880.541016,
'tx_pps': 5705732.372131348,
'tx_util': 60.70898220135253}}
22/10/2020 16:54:14 pktgen: {'ibytes': 5570144842,
'ierrors': 0,
'ipackets': 10879191,
'obytes': 29867339264,
'oerrors': 0,
'opackets': 58334654,
'rx_bps': 4476923392.0,
'rx_bps_L1': 4651803192.0,
'rx_pps': 1092998.75,
'rx_util': 11.629507980000001,
'tx_bps': 23369320448.0,
'tx_bps_L1': 24282184688.0,
'tx_pps': 5705401.5,
'tx_util': 60.705461719999995}
22/10/2020 16:54:14 pktgen: Tx Port 1 stats:
tx_port: 1, tx_bps: 23369320448.000000, tx_pps: 5705401.500000
22/10/2020 16:54:14 pktgen: {'ibytes': 5570144842,
'ierrors': 0,
'ipackets': 10879191,
'obytes': 29867339264,
'oerrors': 0,
'opackets': 58334654,
'rx_bps': 4476923392.0,
'rx_bps_L1': 4651803192.0,
'rx_pps': 1092998.75,
'rx_util': 11.629507980000001,
'tx_bps': 23369320448.0,
'tx_bps_L1': 24282184688.0,
'tx_pps': 5705401.5,
'tx_util': 60.705461719999995}
22/10/2020 16:54:14 pktgen: Rx Port 1 stats:
rx_port: 1, rx_bps: 4476923392.000000, rx_pps: 1092998.750000
22/10/2020 16:54:14 pktgen: throughput: pps_rx 1092998.750000, bps_rx 4476923392.000000
22/10/2020 16:54:14 pktgen: traffic completed.
22/10/2020 16:54:14 dut.10.240.183.99: stop
22/10/2020 16:54:14 dut.10.240.183.99:
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
----------------------------------------------------------------------------
---------------------- Forward statistics for port 1 ----------------------
RX-packets: 16315296 RX-dropped: 71498419 RX-total: 87813715
TX-packets: 16315296 TX-dropped: 0 TX-total: 16315296
----------------------------------------------------------------------------
+++++++++++++++ Accumulated forward statistics for all ports+++++++++++++++
RX-packets: 16315296 RX-dropped: 71498419 RX-total: 87813715
TX-packets: 16315296 TX-dropped: 0 TX-total: 16315296
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Done.
22/10/2020 16:54:14 dut.10.240.183.99: start
22/10/2020 16:54:15 dut.10.240.183.99:
io packet forwarding - ports=2 - cores=2 - streams=2 - NUMA support enabled, MP allocation mode: native
Logical Core 33 (socket 1) forwards packets on 1 streams:
RX P=0/Q=0 (socket 1) -> TX P=0/Q=0 (socket 1) peer=02:00:00:00:00:00
Logical Core 34 (socket 1) forwards packets on 1 streams:
RX P=1/Q=0 (socket 1) -> TX P=1/Q=0 (socket 1) peer=02:00:00:00:00:01
io packet forwarding packets/burst=32
nb forwarding cores=2 - nb forwarding ports=2
port 0: RX queue number: 1 Tx queue number: 1
Rx offloads=0x0 Tx offloads=0x0
RX queue: 0
RX desc=0 - RX free threshold=0
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0x0
TX queue: 0
TX desc=0 - TX free threshold=0
TX threshold registers: pthresh=0 hthresh=0 wthresh=0
TX offloads=0x0 - TX RS bit threshold=0
port 1: RX queue number: 1 Tx queue number: 1
Rx offloads=0x0 Tx offloads=0x0
RX queue: 0
RX desc=0 - RX free threshold=0
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0x0
TX queue: 0
TX desc=0 - TX free threshold=0
TX threshold registers: pthresh=0 hthresh=0 wthresh=0
TX offloads=0x0 - TX RS bit threshold=0
22/10/2020 16:54:15 TestAfXdp: Running test test_perf_two_port_and_same_irqs, and 1024 frame size.
22/10/2020 16:54:15 pktgen: test port 0 map gen port 0
22/10/2020 16:54:15 pktgen: test port 0 map gen port 0
22/10/2020 16:54:15 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:d0',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:9d:1c:f8',
'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:82:00.0',
'prom': 'off',
'prom_supported': 'yes',
'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
'rx_filter_mode': 'hardware match',
'rx_queue': 'off',
'speed': 40.0,
'src_ipv4': '-',
'src_mac': '3c:fd:fe:9d:1c:f8',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
22/10/2020 16:54:15 pktgen: trex port <0> not support flow control
22/10/2020 16:54:15 pktgen: trex packet generator: run traffic 5s to warm up ...
22/10/2020 16:54:15 pktgen: check the trex port link status
22/10/2020 16:54:15 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:d0',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:9d:1c:f8',
'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:82:00.0',
'prom': 'on',
'prom_supported': 'yes',
'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
'rx_filter_mode': 'hardware match',
'rx_queue': 'off',
'speed': 40.0,
'src_ipv4': '-',
'src_mac': '3c:fd:fe:9d:1c:f8',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
22/10/2020 16:54:15 pktgen: begin traffic ......
22/10/2020 16:54:15 pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
22/10/2020 16:54:20 pktgen: traffic completed.
22/10/2020 16:54:20 pktgen: check the trex port link status
22/10/2020 16:54:20 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:d0',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:9d:1c:f8',
'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:82:00.0',
'prom': 'on',
'prom_supported': 'yes',
'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
'rx_filter_mode': 'hardware match',
'rx_queue': 'off',
'speed': 40.0,
'src_ipv4': '-',
'src_mac': '3c:fd:fe:9d:1c:f8',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
22/10/2020 16:54:20 pktgen: begin traffic ......
22/10/2020 16:54:20 pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
22/10/2020 16:54:30 pktgen: begin get port statistic ...
22/10/2020 16:54:30 pktgen: {'options': {'fields_config': {'ip': {'dst': {'action': 'random',
'end': '192.168.1.64',
'start': '192.168.1.1',
'step': 1}}},
'pcap': '/tmp/af_xdp_2_0_1024.pcap',
'stream_config': {'rate': 100,
'transmit_mode': 'continuous',
'txmode': {}}},
'pcap_file': '/tmp/af_xdp_2_0_1024.pcap',
'rx_port': 0,
'tx_port': 0}
22/10/2020 16:54:30 pktgen: {0: {'ibytes': 10841495626,
'ierrors': 0,
'ipackets': 10587402,
'obytes': 46688513024,
'oerrors': 0,
'opackets': 45594257,
'rx_bps': 8641082368.0,
'rx_bps_L1': 8809853468.0,
'rx_pps': 1054819.375,
'rx_util': 22.02463367,
'tx_bps': 37165740032.0,
'tx_bps_L1': 37891633472.0,
'tx_pps': 4536834.0,
'tx_util': 94.72908368},
1: {'ibytes': 0,
'ierrors': 0,
'ipackets': 0,
'obytes': 0,
'oerrors': 0,
'opackets': 0,
'rx_bps': 251577.5,
'rx_bps_L1': 261404.74792480466,
'rx_pps': 61.4202995300293,
'rx_util': 0.0006535118698120117,
'tx_bps': 1310221.375,
'tx_bps_L1': 1361401.8681640625,
'tx_pps': 319.8780822753906,
'tx_util': 0.003403504670410156},
'flow_stats': {},
'global': {'bw_per_core': 35.66454315185547,
'cpu_util': 20.84257698059082,
'queue_full': 14372464,
'rx_bps': 8641334272.0,
'rx_cpu_util': 0.0,
'rx_drop_bps': 28525713408.0,
'rx_pps': 1054880.75,
'tx_bps': 37167046656.0,
'tx_pps': 4537154.0},
'latency': {},
'total': {'ibytes': 10841495626,
'ierrors': 0,
'ipackets': 10587402,
'obytes': 46688513024,
'oerrors': 0,
'opackets': 45594257,
'rx_bps': 8641333945.5,
'rx_bps_L1': 8810114872.747925,
'rx_pps': 1054880.79529953,
'rx_util': 22.02528718186981,
'tx_bps': 37167050253.375,
'tx_bps_L1': 37892994873.868164,
'tx_pps': 4537153.878082275,
'tx_util': 94.73248718467042}}
22/10/2020 16:54:30 pktgen: {'ibytes': 10841495626,
'ierrors': 0,
'ipackets': 10587402,
'obytes': 46688513024,
'oerrors': 0,
'opackets': 45594257,
'rx_bps': 8641082368.0,
'rx_bps_L1': 8809853468.0,
'rx_pps': 1054819.375,
'rx_util': 22.02463367,
'tx_bps': 37165740032.0,
'tx_bps_L1': 37891633472.0,
'tx_pps': 4536834.0,
'tx_util': 94.72908368}
22/10/2020 16:54:30 pktgen: Tx Port 0 stats:
tx_port: 0, tx_bps: 37165740032.000000, tx_pps: 4536834.000000
22/10/2020 16:54:30 pktgen: {'ibytes': 10841495626,
'ierrors': 0,
'ipackets': 10587402,
'obytes': 46688513024,
'oerrors': 0,
'opackets': 45594257,
'rx_bps': 8641082368.0,
'rx_bps_L1': 8809853468.0,
'rx_pps': 1054819.375,
'rx_util': 22.02463367,
'tx_bps': 37165740032.0,
'tx_bps_L1': 37891633472.0,
'tx_pps': 4536834.0,
'tx_util': 94.72908368}
22/10/2020 16:54:30 pktgen: Rx Port 0 stats:
rx_port: 0, rx_bps: 8641082368.000000, rx_pps: 1054819.375000
22/10/2020 16:54:30 pktgen: throughput: pps_rx 1054819.375000, bps_rx 8641082368.000000
22/10/2020 16:54:30 pktgen: traffic completed.
22/10/2020 16:54:30 dut.10.240.183.99: stop
22/10/2020 16:54:30 dut.10.240.183.99:
Telling cores to ...
Waiting for lcores to finish...
---------------------- Forward statistics for port 0 ----------------------
RX-packets: 15848806 RX-dropped: 53045824 RX-total: 68894630
TX-packets: 15848806 TX-dropped: 0 TX-total: 15848806
----------------------------------------------------------------------------
---------------------- Forward statistics for port 1 ----------------------
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: 15848806 RX-dropped: 53045824 RX-total: 68894630
TX-packets: 15848806 TX-dropped: 0 TX-total: 15848806
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Done.
22/10/2020 16:54:30 dut.10.240.183.99: start
22/10/2020 16:54:30 dut.10.240.183.99:
io packet forwarding - ports=2 - cores=2 - streams=2 - NUMA support enabled, MP allocation mode: native
Logical Core 33 (socket 1) forwards packets on 1 streams:
RX P=0/Q=0 (socket 1) -> TX P=0/Q=0 (socket 1) peer=02:00:00:00:00:00
Logical Core 34 (socket 1) forwards packets on 1 streams:
RX P=1/Q=0 (socket 1) -> TX P=1/Q=0 (socket 1) peer=02:00:00:00:00:01
io packet forwarding packets/burst=32
nb forwarding cores=2 - nb forwarding ports=2
port 0: RX queue number: 1 Tx queue number: 1
Rx offloads=0x0 Tx offloads=0x0
RX queue: 0
RX desc=0 - RX free threshold=0
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0x0
TX queue: 0
TX desc=0 - TX free threshold=0
TX threshold registers: pthresh=0 hthresh=0 wthresh=0
TX offloads=0x0 - TX RS bit threshold=0
port 1: RX queue number: 1 Tx queue number: 1
Rx offloads=0x0 Tx offloads=0x0
RX queue: 0
RX desc=0 - RX free threshold=0
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0x0
TX queue: 0
TX desc=0 - TX free threshold=0
TX threshold registers: pthresh=0 hthresh=0 wthresh=0
TX offloads=0x0 - TX RS bit threshold=0
22/10/2020 16:54:30 pktgen: test port 1 map gen port 1
22/10/2020 16:54:30 pktgen: test port 1 map gen port 1
22/10/2020 16:54:30 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:d0',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:9d:1c:f8',
'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:82:00.0',
'prom': 'off',
'prom_supported': 'yes',
'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
'rx_filter_mode': 'hardware match',
'rx_queue': 'off',
'speed': 40.0,
'src_ipv4': '-',
'src_mac': '3c:fd:fe:9d:1c:f8',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
22/10/2020 16:54:30 pktgen: trex port <0> not support flow control
22/10/2020 16:54:30 pktgen: trex packet generator: run traffic 5s to warm up ...
22/10/2020 16:54:30 pktgen: check the trex port link status
22/10/2020 16:54:30 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:d1',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:9d:1c:f9',
'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:82:00.1',
'prom': 'on',
'prom_supported': 'yes',
'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
'rx_filter_mode': 'hardware match',
'rx_queue': 'off',
'speed': 40.0,
'src_ipv4': '-',
'src_mac': '3c:fd:fe:9d:1c:f9',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
22/10/2020 16:54:30 pktgen: begin traffic ......
22/10/2020 16:54:30 pktgen: {'ports': [1], 'mult': '100%', 'core_mask': None, 'force': True}
22/10/2020 16:54:35 pktgen: traffic completed.
22/10/2020 16:54:35 pktgen: check the trex port link status
22/10/2020 16:54:35 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:d1',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:9d:1c:f9',
'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:82:00.1',
'prom': 'on',
'prom_supported': 'yes',
'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
'rx_filter_mode': 'hardware match',
'rx_queue': 'off',
'speed': 40.0,
'src_ipv4': '-',
'src_mac': '3c:fd:fe:9d:1c:f9',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
22/10/2020 16:54:35 pktgen: begin traffic ......
22/10/2020 16:54:35 pktgen: {'ports': [1], 'mult': '100%', 'core_mask': None, 'force': True}
22/10/2020 16:54:45 pktgen: begin get port statistic ...
22/10/2020 16:54:45 pktgen: {'options': {'fields_config': {'ip': {'dst': {'action': 'random',
'end': '192.168.2.64',
'start': '192.168.2.1',
'step': 1}}},
'pcap': '/tmp/af_xdp_2_1_1024.pcap',
'stream_config': {'rate': 100,
'transmit_mode': 'continuous',
'txmode': {}}},
'pcap_file': '/tmp/af_xdp_2_1_1024.pcap',
'rx_port': 1,
'tx_port': 1}
22/10/2020 16:54:45 pktgen: {0: {'ibytes': 0,
'ierrors': 0,
'ipackets': 0,
'obytes': 0,
'oerrors': 0,
'opackets': 0,
'rx_bps': 469122.65625,
'rx_bps_L1': 478285.2667236328,
'rx_pps': 57.26631546020508,
'rx_util': 0.0011957131668090821,
'tx_bps': 2009821.625,
'tx_bps_L1': 2049075.9267578123,
'tx_pps': 245.33938598632812,
'tx_util': 0.005122689816894531},
1: {'ibytes': 10677622784,
'ierrors': 0,
'ipackets': 10427366,
'obytes': 47241601024,
'oerrors': 0,
'opackets': 46134381,
'rx_bps': 8552402432.0,
'rx_bps_L1': 8719441612.0,
'rx_pps': 1043994.875,
'rx_util': 21.79860403,
'tx_bps': 37685436416.0,
'tx_bps_L1': 38421480256.0,
'tx_pps': 4600274.0,
'tx_util': 96.05370063999999},
'flow_stats': {},
'global': {'bw_per_core': 43.62583923339844,
'cpu_util': 17.27758026123047,
'queue_full': 11736220,
'rx_bps': 8552870912.0,
'rx_cpu_util': 0.0,
'rx_drop_bps': 29134577664.0,
'rx_pps': 1044052.125,
'tx_bps': 37687447552.0,
'tx_pps': 4600519.5},
'latency': {},
'total': {'ibytes': 10677622784,
'ierrors': 0,
'ipackets': 10427366,
'obytes': 47241601024,
'oerrors': 0,
'opackets': 46134381,
'rx_bps': 8552871554.65625,
'rx_bps_L1': 8719919897.266724,
'rx_pps': 1044052.1413154602,
'rx_util': 21.79979974316681,
'tx_bps': 37687446237.625,
'tx_bps_L1': 38423529331.92676,
'tx_pps': 4600519.339385986,
'tx_util': 96.05882332981689}}
22/10/2020 16:54:45 pktgen: {'ibytes': 10677622784,
'ierrors': 0,
'ipackets': 10427366,
'obytes': 47241601024,
'oerrors': 0,
'opackets': 46134381,
'rx_bps': 8552402432.0,
'rx_bps_L1': 8719441612.0,
'rx_pps': 1043994.875,
'rx_util': 21.79860403,
'tx_bps': 37685436416.0,
'tx_bps_L1': 38421480256.0,
'tx_pps': 4600274.0,
'tx_util': 96.05370063999999}
22/10/2020 16:54:45 pktgen: Tx Port 1 stats:
tx_port: 1, tx_bps: 37685436416.000000, tx_pps: 4600274.000000
22/10/2020 16:54:45 pktgen: {'ibytes': 10677622784,
'ierrors': 0,
'ipackets': 10427366,
'obytes': 47241601024,
'oerrors': 0,
'opackets': 46134381,
'rx_bps': 8552402432.0,
'rx_bps_L1': 8719441612.0,
'rx_pps': 1043994.875,
'rx_util': 21.79860403,
'tx_bps': 37685436416.0,
'tx_bps_L1': 38421480256.0,
'tx_pps': 4600274.0,
'tx_util': 96.05370063999999}
22/10/2020 16:54:45 pktgen: Rx Port 1 stats:
rx_port: 1, rx_bps: 8552402432.000000, rx_pps: 1043994.875000
22/10/2020 16:54:45 pktgen: throughput: pps_rx 1043994.875000, bps_rx 8552402432.000000
22/10/2020 16:54:45 pktgen: traffic completed.
22/10/2020 16:54:45 dut.10.240.183.99: stop
22/10/2020 16:54:45 dut.10.240.183.99:
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
----------------------------------------------------------------------------
---------------------- Forward statistics for port 1 ----------------------
RX-packets: 15636977 RX-dropped: 53793095 RX-total: 69430072
TX-packets: 15636977 TX-dropped: 0 TX-total: 15636977
----------------------------------------------------------------------------
+++++++++++++++ Accumulated forward statistics for all ports+++++++++++++++
RX-packets: 15636977 RX-dropped: 53793095 RX-total: 69430072
TX-packets: 15636977 TX-dropped: 0 TX-total: 15636977
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Done.
22/10/2020 16:54:45 dut.10.240.183.99: start
22/10/2020 16:54:45 dut.10.240.183.99:
io packet forwarding - ports=2 - cores=2 - streams=2 - NUMA support enabled, MP allocation mode: native
Logical Core 33 (socket 1) forwards packets on 1 streams:
RX P=0/Q=0 (socket 1) -> TX P=0/Q=0 (socket 1) peer=02:00:00:00:00:00
Logical Core 34 (socket 1) forwards packets on 1 streams:
RX P=1/Q=0 (socket 1) -> TX P=1/Q=0 (socket 1) peer=02:00:00:00:00:01
io packet forwarding packets/burst=32
nb forwarding cores=2 - nb forwarding ports=2
port 0: RX queue number: 1 Tx queue number: 1
Rx offloads=0x0 Tx offloads=0x0
RX queue: 0
RX desc=0 - RX free threshold=0
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0x0
TX queue: 0
TX desc=0 - TX free threshold=0
TX threshold registers: pthresh=0 hthresh=0 wthresh=0
TX offloads=0x0 - TX RS bit threshold=0
port 1: RX queue number: 1 Tx queue number: 1
Rx offloads=0x0 Tx offloads=0x0
RX queue: 0
RX desc=0 - RX free threshold=0
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0x0
TX queue: 0
TX desc=0 - TX free threshold=0
TX threshold registers: pthresh=0 hthresh=0 wthresh=0
TX offloads=0x0 - TX RS bit threshold=0
22/10/2020 16:54:45 TestAfXdp: Running test test_perf_two_port_and_same_irqs, and 1518 frame size.
22/10/2020 16:54:45 pktgen: test port 0 map gen port 0
22/10/2020 16:54:45 pktgen: test port 0 map gen port 0
22/10/2020 16:54:45 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:d0',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:9d:1c:f8',
'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:82:00.0',
'prom': 'off',
'prom_supported': 'yes',
'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
'rx_filter_mode': 'hardware match',
'rx_queue': 'off',
'speed': 40.0,
'src_ipv4': '-',
'src_mac': '3c:fd:fe:9d:1c:f8',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
22/10/2020 16:54:45 pktgen: trex port <0> not support flow control
22/10/2020 16:54:45 pktgen: trex packet generator: run traffic 5s to warm up ...
22/10/2020 16:54:45 pktgen: check the trex port link status
22/10/2020 16:54:45 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:d0',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:9d:1c:f8',
'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:82:00.0',
'prom': 'on',
'prom_supported': 'yes',
'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
'rx_filter_mode': 'hardware match',
'rx_queue': 'off',
'speed': 40.0,
'src_ipv4': '-',
'src_mac': '3c:fd:fe:9d:1c:f8',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
22/10/2020 16:54:45 pktgen: begin traffic ......
22/10/2020 16:54:45 pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
22/10/2020 16:54:50 pktgen: traffic completed.
22/10/2020 16:54:50 pktgen: check the trex port link status
22/10/2020 16:54:50 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:d0',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:9d:1c:f8',
'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:82:00.0',
'prom': 'on',
'prom_supported': 'yes',
'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
'rx_filter_mode': 'hardware match',
'rx_queue': 'off',
'speed': 40.0,
'src_ipv4': '-',
'src_mac': '3c:fd:fe:9d:1c:f8',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
22/10/2020 16:54:50 pktgen: begin traffic ......
22/10/2020 16:54:50 pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
22/10/2020 16:55:00 pktgen: begin get port statistic ...
22/10/2020 16:55:00 pktgen: {'options': {'fields_config': {'ip': {'dst': {'action': 'random',
'end': '192.168.1.64',
'start': '192.168.1.1',
'step': 1}}},
'pcap': '/tmp/af_xdp_2_0_1518.pcap',
'stream_config': {'rate': 100,
'transmit_mode': 'continuous',
'txmode': {}}},
'pcap_file': '/tmp/af_xdp_2_0_1518.pcap',
'rx_port': 0,
'tx_port': 0}
22/10/2020 16:55:00 pktgen: {0: {'ibytes': 16830289146,
'ierrors': 0,
'ipackets': 11087147,
'obytes': 49404179814,
'oerrors': 0,
'opackets': 32545577,
'rx_bps': 13419978752.0,
'rx_bps_L1': 13596790211.999998,
'rx_pps': 1105071.625,
'rx_util': 33.99197553,
'tx_bps': 39405527040.0,
'tx_bps_L1': 39924703960.0,
'tx_pps': 3244855.75,
'tx_util': 99.8117599},
1: {'ibytes': 0,
'ierrors': 0,
'ipackets': 0,
'obytes': 0,
'oerrors': 0,
'opackets': 0,
'rx_bps': 444511.46875,
'rx_bps_L1': 453193.32177734375,
'rx_pps': 54.26158142089844,
'rx_util': 0.0011329833044433594,
'tx_bps': 1956239.125,
'tx_bps_L1': 1994446.8959960935,
'tx_pps': 238.79856872558594,
'tx_util': 0.004986117239990234},
'flow_stats': {},
'global': {'bw_per_core': 276.77984619140625,
'cpu_util': 2.847568988800049,
'queue_full': 0,
'rx_bps': 13420423168.0,
'rx_cpu_util': 0.0,
'rx_drop_bps': 25987061760.0,
'rx_pps': 1105125.875,
'tx_bps': 39407484928.0,
'tx_pps': 3245094.5},
'latency': {},
'total': {'ibytes': 16830289146,
'ierrors': 0,
'ipackets': 11087147,
'obytes': 49404179814,
'oerrors': 0,
'opackets': 32545577,
'rx_bps': 13420423263.46875,
'rx_bps_L1': 13597243405.321775,
'rx_pps': 1105125.886581421,
'rx_util': 33.99310851330444,
'tx_bps': 39407483279.125,
'tx_bps_L1': 39926698406.895996,
'tx_pps': 3245094.5485687256,
'tx_util': 99.81674601723999}}
22/10/2020 16:55:00 pktgen: {'ibytes': 16830289146,
'ierrors': 0,
'ipackets': 11087147,
'obytes': 49404179814,
'oerrors': 0,
'opackets': 32545577,
'rx_bps': 13419978752.0,
'rx_bps_L1': 13596790211.999998,
'rx_pps': 1105071.625,
'rx_util': 33.99197553,
'tx_bps': 39405527040.0,
'tx_bps_L1': 39924703960.0,
'tx_pps': 3244855.75,
'tx_util': 99.8117599}
22/10/2020 16:55:00 pktgen: Tx Port 0 stats:
tx_port: 0, tx_bps: 39405527040.000000, tx_pps: 3244855.750000
22/10/2020 16:55:00 pktgen: {'ibytes': 16830289146,
'ierrors': 0,
'ipackets': 11087147,
'obytes': 49404179814,
'oerrors': 0,
'opackets': 32545577,
'rx_bps': 13419978752.0,
'rx_bps_L1': 13596790211.999998,
'rx_pps': 1105071.625,
'rx_util': 33.99197553,
'tx_bps': 39405527040.0,
'tx_bps_L1': 39924703960.0,
'tx_pps': 3244855.75,
'tx_util': 99.8117599}
22/10/2020 16:55:00 pktgen: Rx Port 0 stats:
rx_port: 0, rx_bps: 13419978752.000000, rx_pps: 1105071.625000
22/10/2020 16:55:00 pktgen: throughput: pps_rx 1105071.625000, bps_rx 13419978752.000000
22/10/2020 16:55:00 pktgen: traffic completed.
22/10/2020 16:55:00 dut.10.240.183.99: stop
22/10/2020 16:55:00 dut.10.240.183.99:
Telling cores to ...
Waiting for lcores to finish...
---------------------- Forward statistics for port 0 ----------------------
RX-packets: 16640371 RX-dropped: 32215607 RX-total: 48855978
TX-packets: 16640371 TX-dropped: 0 TX-total: 16640371
----------------------------------------------------------------------------
---------------------- Forward statistics for port 1 ----------------------
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: 16640371 RX-dropped: 32215607 RX-total: 48855978
TX-packets: 16640371 TX-dropped: 0 TX-total: 16640371
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Done.
22/10/2020 16:55:00 dut.10.240.183.99: start
22/10/2020 16:55:00 dut.10.240.183.99:
io packet forwarding - ports=2 - cores=2 - streams=2 - NUMA support enabled, MP allocation mode: native
Logical Core 33 (socket 1) forwards packets on 1 streams:
RX P=0/Q=0 (socket 1) -> TX P=0/Q=0 (socket 1) peer=02:00:00:00:00:00
Logical Core 34 (socket 1) forwards packets on 1 streams:
RX P=1/Q=0 (socket 1) -> TX P=1/Q=0 (socket 1) peer=02:00:00:00:00:01
io packet forwarding packets/burst=32
nb forwarding cores=2 - nb forwarding ports=2
port 0: RX queue number: 1 Tx queue number: 1
Rx offloads=0x0 Tx offloads=0x0
RX queue: 0
RX desc=0 - RX free threshold=0
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0x0
TX queue: 0
TX desc=0 - TX free threshold=0
TX threshold registers: pthresh=0 hthresh=0 wthresh=0
TX offloads=0x0 - TX RS bit threshold=0
port 1: RX queue number: 1 Tx queue number: 1
Rx offloads=0x0 Tx offloads=0x0
RX queue: 0
RX desc=0 - RX free threshold=0
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0x0
TX queue: 0
TX desc=0 - TX free threshold=0
TX threshold registers: pthresh=0 hthresh=0 wthresh=0
TX offloads=0x0 - TX RS bit threshold=0
22/10/2020 16:55:00 pktgen: test port 1 map gen port 1
22/10/2020 16:55:00 pktgen: test port 1 map gen port 1
22/10/2020 16:55:01 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:d0',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:9d:1c:f8',
'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:82:00.0',
'prom': 'off',
'prom_supported': 'yes',
'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
'rx_filter_mode': 'hardware match',
'rx_queue': 'off',
'speed': 40.0,
'src_ipv4': '-',
'src_mac': '3c:fd:fe:9d:1c:f8',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
22/10/2020 16:55:01 pktgen: trex port <0> not support flow control
22/10/2020 16:55:01 pktgen: trex packet generator: run traffic 5s to warm up ...
22/10/2020 16:55:01 pktgen: check the trex port link status
22/10/2020 16:55:01 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:d1',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:9d:1c:f9',
'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:82:00.1',
'prom': 'on',
'prom_supported': 'yes',
'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
'rx_filter_mode': 'hardware match',
'rx_queue': 'off',
'speed': 40.0,
'src_ipv4': '-',
'src_mac': '3c:fd:fe:9d:1c:f9',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
22/10/2020 16:55:01 pktgen: begin traffic ......
22/10/2020 16:55:01 pktgen: {'ports': [1], 'mult': '100%', 'core_mask': None, 'force': True}
22/10/2020 16:55:06 pktgen: traffic completed.
22/10/2020 16:55:06 pktgen: check the trex port link status
22/10/2020 16:55:06 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:d1',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:9d:1c:f9',
'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:82:00.1',
'prom': 'on',
'prom_supported': 'yes',
'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
'rx_filter_mode': 'hardware match',
'rx_queue': 'off',
'speed': 40.0,
'src_ipv4': '-',
'src_mac': '3c:fd:fe:9d:1c:f9',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
22/10/2020 16:55:06 pktgen: begin traffic ......
22/10/2020 16:55:06 pktgen: {'ports': [1], 'mult': '100%', 'core_mask': None, 'force': True}
22/10/2020 16:55:16 pktgen: begin get port statistic ...
22/10/2020 16:55:16 pktgen: {'options': {'fields_config': {'ip': {'dst': {'action': 'random',
'end': '192.168.2.64',
'start': '192.168.2.1',
'step': 1}}},
'pcap': '/tmp/af_xdp_2_1_1518.pcap',
'stream_config': {'rate': 100,
'transmit_mode': 'continuous',
'txmode': {}}},
'pcap_file': '/tmp/af_xdp_2_1_1518.pcap',
'rx_port': 1,
'tx_port': 1}
22/10/2020 16:55:16 pktgen: {0: {'ibytes': 0,
'ierrors': 0,
'ipackets': 0,
'obytes': 0,
'oerrors': 0,
'opackets': 0,
'rx_bps': 665476.0625,
'rx_bps_L1': 674243.9256591797,
'rx_pps': 54.79914474487305,
'rx_util': 0.0016856098141479494,
'tx_bps': 1951549.5,
'tx_bps_L1': 1977261.6020507815,
'tx_pps': 160.7006378173828,
'tx_util': 0.0049431540051269535},
1: {'ibytes': 16783498314,
'ierrors': 0,
'ipackets': 11056326,
'obytes': 49410446118,
'oerrors': 0,
'opackets': 32549706,
'rx_bps': 13377549312.0,
'rx_bps_L1': 13553801512.0,
'rx_pps': 1101576.25,
'rx_util': 33.88450378,
'tx_bps': 39401951232.0,
'tx_bps_L1': 39921081072.0,
'tx_pps': 3244561.5,
'tx_util': 99.80270268},
'flow_stats': {},
'global': {'bw_per_core': 305.96478271484375,
'cpu_util': 2.5757150650024414,
'queue_full': 0,
'rx_bps': 13378213888.0,
'rx_cpu_util': 0.0,
'rx_drop_bps': 26025691136.0,
'rx_pps': 1101631.0,
'tx_bps': 39403905024.0,
'tx_pps': 3244722.25},
'latency': {},
'total': {'ibytes': 16783498314,
'ierrors': 0,
'ipackets': 11056326,
'obytes': 49410446118,
'oerrors': 0,
'opackets': 32549706,
'rx_bps': 13378214788.0625,
'rx_bps_L1': 13554475755.92566,
'rx_pps': 1101631.0491447449,
'rx_util': 33.88618938981415,
'tx_bps': 39403902781.5,
'tx_bps_L1': 39923058333.60205,
'tx_pps': 3244722.2006378174,
'tx_util': 99.80764583400513}}
22/10/2020 16:55:16 pktgen: {'ibytes': 16783498314,
'ierrors': 0,
'ipackets': 11056326,
'obytes': 49410446118,
'oerrors': 0,
'opackets': 32549706,
'rx_bps': 13377549312.0,
'rx_bps_L1': 13553801512.0,
'rx_pps': 1101576.25,
'rx_util': 33.88450378,
'tx_bps': 39401951232.0,
'tx_bps_L1': 39921081072.0,
'tx_pps': 3244561.5,
'tx_util': 99.80270268}
22/10/2020 16:55:16 pktgen: Tx Port 1 stats:
tx_port: 1, tx_bps: 39401951232.000000, tx_pps: 3244561.500000
22/10/2020 16:55:16 pktgen: {'ibytes': 16783498314,
'ierrors': 0,
'ipackets': 11056326,
'obytes': 49410446118,
'oerrors': 0,
'opackets': 32549706,
'rx_bps': 13377549312.0,
'rx_bps_L1': 13553801512.0,
'rx_pps': 1101576.25,
'rx_util': 33.88450378,
'tx_bps': 39401951232.0,
'tx_bps_L1': 39921081072.0,
'tx_pps': 3244561.5,
'tx_util': 99.80270268}
22/10/2020 16:55:16 pktgen: Rx Port 1 stats:
rx_port: 1, rx_bps: 13377549312.000000, rx_pps: 1101576.250000
22/10/2020 16:55:16 pktgen: throughput: pps_rx 1101576.250000, bps_rx 13377549312.000000
22/10/2020 16:55:16 pktgen: traffic completed.
22/10/2020 16:55:16 dut.10.240.183.99: stop
22/10/2020 16:55:16 dut.10.240.183.99:
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
----------------------------------------------------------------------------
---------------------- Forward statistics for port 1 ----------------------
RX-packets: 16602342 RX-dropped: 32258513 RX-total: 48860855
TX-packets: 16602342 TX-dropped: 0 TX-total: 16602342
----------------------------------------------------------------------------
+++++++++++++++ Accumulated forward statistics for all ports+++++++++++++++
RX-packets: 16602342 RX-dropped: 32258513 RX-total: 48860855
TX-packets: 16602342 TX-dropped: 0 TX-total: 16602342
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Done.
22/10/2020 16:55:16 dut.10.240.183.99: start
22/10/2020 16:55:16 dut.10.240.183.99:
io packet forwarding - ports=2 - cores=2 - streams=2 - NUMA support enabled, MP allocation mode: native
Logical Core 33 (socket 1) forwards packets on 1 streams:
RX P=0/Q=0 (socket 1) -> TX P=0/Q=0 (socket 1) peer=02:00:00:00:00:00
Logical Core 34 (socket 1) forwards packets on 1 streams:
RX P=1/Q=0 (socket 1) -> TX P=1/Q=0 (socket 1) peer=02:00:00:00:00:01
io packet forwarding packets/burst=32
nb forwarding cores=2 - nb forwarding ports=2
port 0: RX queue number: 1 Tx queue number: 1
Rx offloads=0x0 Tx offloads=0x0
RX queue: 0
RX desc=0 - RX free threshold=0
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0x0
TX queue: 0
TX desc=0 - TX free threshold=0
TX threshold registers: pthresh=0 hthresh=0 wthresh=0
TX offloads=0x0 - TX RS bit threshold=0
port 1: RX queue number: 1 Tx queue number: 1
Rx offloads=0x0 Tx offloads=0x0
RX queue: 0
RX desc=0 - RX free threshold=0
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0x0
TX queue: 0
TX desc=0 - TX free threshold=0
TX threshold registers: pthresh=0 hthresh=0 wthresh=0
TX offloads=0x0 - TX RS bit threshold=0
22/10/2020 16:55:16 TestAfXdp:
+--------------+--------------+------------------------+------------------+------------------------+------------------+
| FrameSize(B) | Queue number | Port0 Throughput(Mpps) | Port0 % linerate | Port1 Throughput(Mpps) | Port1 % linerate |
+==============+==============+========================+==================+========================+==================+
| 64 | 1 | 0.011 | 0.019 | 0.012 | 0.019 |
+--------------+--------------+------------------------+------------------+------------------------+------------------+
| 128 | 1 | 0.011 | 0.033 | 0.012 | 0.034 |
+--------------+--------------+------------------------+------------------+------------------------+------------------+
| 256 | 1 | 1.080 | 5.963 | 1.087 | 6.003 |
+--------------+--------------+------------------------+------------------+------------------------+------------------+
| 512 | 1 | 1.091 | 11.607 | 1.093 | 11.630 |
+--------------+--------------+------------------------+------------------+------------------------+------------------+
| 1024 | 1 | 1.055 | 22.025 | 1.044 | 21.799 |
+--------------+--------------+------------------------+------------------+------------------------+------------------+
| 1518 | 1 | 1.105 | 33.992 | 1.102 | 33.884 |
+--------------+--------------+------------------------+------------------+------------------------+------------------+
22/10/2020 16:55:16 TestAfXdp: Test Case test_perf_two_port_and_same_irqs Result PASSED:
22/10/2020 16:55:16 dut.10.240.183.99: quit
22/10/2020 16:55:17 dut.10.240.183.99:
Telling cores to stop...
Waiting for lcores to finish...
---------------------- Forward statistics for port 0 ----------------------
RX-packets: 0 RX-dropped: 0 RX-total: 0
TX-packets: 0 TX-dropped: 0 TX-total: 0
----------------------------------------------------------------------------
---------------------- Forward statistics for port 1 ----------------------
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.
Stopping port 0...
Stopping ports...
Done
Stopping port 1...
Stopping ports...
Done
Shutting down port 0...
Closing ports...
eth_dev_close(): Closing AF_XDP ethdev on numa socket 1
Port 0 is closed
Done
Shutting down port 1...
Closing ports...
eth_dev_close(): Closing AF_XDP ethdev on numa socket 1
Port 1 is closed
Done
Bye...
22/10/2020 16:55:17 dts:
TEST SUITE ENDED: TestAfXdp
22/10/2020 16:57:15 dts:
TEST SUITE : TestAfXdp
22/10/2020 16:57:15 dts: NIC : fortville_spirit
22/10/2020 16:57:15 dut.10.240.183.99:
22/10/2020 16:57:15 tester:
22/10/2020 16:57:15 TestAfXdp: you can config packet_size in file af_xdp_2.cfg,in region 'suite' like packet_sizes=[64, 128, 256]
22/10/2020 16:57:15 tester: ls -d /tmp
22/10/2020 16:57:15 tester: /tmp
22/10/2020 16:57:15 dut.10.240.183.99: echo 0000:af:00.0 > /sys/bus/pci/devices/0000\:af\:00.0/driver/unbind
22/10/2020 16:57:15 dut.10.240.183.99:
22/10/2020 16:57:15 dut.10.240.183.99: modprobe i40e
22/10/2020 16:57:15 dut.10.240.183.99:
22/10/2020 16:57:15 dut.10.240.183.99: echo 0000:af:00.0 > /sys/bus/pci/drivers/i40e/bind
22/10/2020 16:57:15 dut.10.240.183.99:
22/10/2020 16:57:15 dut.10.240.183.99: ifconfig enp175s0f0 up
22/10/2020 16:57:15 dut.10.240.183.99:
22/10/2020 16:57:15 dut.10.240.183.99: echo 0000:af:00.1 > /sys/bus/pci/devices/0000\:af\:00.1/driver/unbind
22/10/2020 16:57:16 dut.10.240.183.99:
22/10/2020 16:57:16 dut.10.240.183.99: modprobe i40e
22/10/2020 16:57:16 dut.10.240.183.99:
22/10/2020 16:57:16 dut.10.240.183.99: echo 0000:af:00.1 > /sys/bus/pci/drivers/i40e/bind
22/10/2020 16:57:16 dut.10.240.183.99:
22/10/2020 16:57:16 dut.10.240.183.99: ifconfig enp175s0f1 up
22/10/2020 16:57:16 dut.10.240.183.99:
22/10/2020 16:57:18 TestAfXdp: Test Case test_perf_two_port_and_separate_irqs Begin
22/10/2020 16:57:18 dut.10.240.183.99:
22/10/2020 16:57:18 tester:
22/10/2020 16:57:18 dut.10.240.183.99: ethtool -L enp175s0f0 combined 1
22/10/2020 16:57:18 dut.10.240.183.99:
22/10/2020 16:57:18 dut.10.240.183.99: ethtool -L enp175s0f1 combined 1
22/10/2020 16:57:19 dut.10.240.183.99:
22/10/2020 16:57:19 TestAfXdp: start testpmd
22/10/2020 16:57:19 dut.10.240.183.99: x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 32,33,34 -n 4 --file-prefix=dpdk_14166_20201022165641 --no-pci --vdev net_af_xdp0,iface=enp175s0f0 --vdev net_af_xdp1,iface=enp175s0f1 --log-level=pmd.net.af_xdp:8 -- -i --auto-start --nb-cores=2 --rxq=1 --txq=1 --port-topology=loop
22/10/2020 16:57:19 dut.10.240.183.99: EAL: Detected 72 lcore(s)
EAL: Detected 2 NUMA nodes
EAL: Multi-process socket /var/run/dpdk/dpdk_14166_20201022165641/mp_socket
EAL: Selected IOVA mode 'VA'
EAL: Probing VFIO support...
EAL: VFIO support initialized
rte_pmd_af_xdp_probe(): Initializing pmd_af_xdp for net_af_xdp0
init_internals(): Zero copy between umem and mbuf enabled.
rte_pmd_af_xdp_probe(): Initializing pmd_af_xdp for net_af_xdp1
init_internals(): Zero copy between umem and mbuf enabled.
Interactive-mode selected
Auto-start selected
testpmd: create a new mbuf pool <mb_pool_1>: n=163456, size=2176, socket=1
testpmd: preferred mempool ops selected: ring_mp_mc
Configuring Port 0 (socket 1)
eth_rx_queue_setup(): Set up rx queue, rx queue id: 0, xsk queue id: 0
Port 0: 3C:FD:FE:C8:19:D0
Configuring Port 1 (socket 1)
eth_rx_queue_setup(): Set up rx queue, rx queue id: 0, xsk queue id: 0
Port 1: 3C:FD:FE:C8:19:D1
Checking link statuses...
Done
Start automatic packet forwarding
io packet forwarding - ports=2 - cores=2 - streams=2 - NUMA support enabled, MP allocation mode: native
Logical Core 33 (socket 1) forwards packets on 1 streams:
RX P=0/Q=0 (socket 1) -> TX P=0/Q=0 (socket 1) peer=02:00:00:00:00:00
Logical Core 34 (socket 1) forwards packets on 1 streams:
RX P=1/Q=0 (socket 1) -> TX P=1/Q=0 (socket 1) peer=02:00:00:00:00:01
io packet forwarding packets/burst=32
nb forwarding cores=2 - nb forwarding ports=2
port 0: RX queue number: 1 Tx queue number: 1
Rx offloads=0x0 Tx offloads=0x0
RX queue: 0
RX desc=0 - RX free threshold=0
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0x0
TX queue: 0
TX desc=0 - TX free threshold=0
TX threshold registers: pthresh=0 hthresh=0 wthresh=0
TX offloads=0x0 - TX RS bit threshold=0
port 1: RX queue number: 1 Tx queue number: 1
Rx offloads=0x0 Tx offloads=0x0
RX queue: 0
RX desc=0 - RX free threshold=0
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0x0
TX queue: 0
TX desc=0 - TX free threshold=0
TX threshold registers: pthresh=0 hthresh=0 wthresh=0
TX offloads=0x0 - TX RS bit threshold=0
22/10/2020 16:57:22 TestAfXdp: Running test test_perf_two_port_and_separate_irqs, and 64 frame size.
22/10/2020 16:57:22 pktgen: test port 0 map gen port 0
22/10/2020 16:57:22 pktgen: test port 0 map gen port 0
22/10/2020 16:57:22 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:d0',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:9d:1c:f8',
'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:82:00.0',
'prom': 'off',
'prom_supported': 'yes',
'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
'rx_filter_mode': 'hardware match',
'rx_queue': 'off',
'speed': 40.0,
'src_ipv4': '-',
'src_mac': '3c:fd:fe:9d:1c:f8',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
22/10/2020 16:57:22 pktgen: trex port <0> not support flow control
22/10/2020 16:57:22 pktgen: trex packet generator: run traffic 5s to warm up ...
22/10/2020 16:57:22 pktgen: check the trex port link status
22/10/2020 16:57:22 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:d0',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:9d:1c:f8',
'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:82:00.0',
'prom': 'on',
'prom_supported': 'yes',
'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
'rx_filter_mode': 'hardware match',
'rx_queue': 'off',
'speed': 40.0,
'src_ipv4': '-',
'src_mac': '3c:fd:fe:9d:1c:f8',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
22/10/2020 16:57:22 pktgen: begin traffic ......
22/10/2020 16:57:22 pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
22/10/2020 16:57:27 pktgen: traffic completed.
22/10/2020 16:57:27 pktgen: check the trex port link status
22/10/2020 16:57:27 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:d0',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:9d:1c:f8',
'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:82:00.0',
'prom': 'on',
'prom_supported': 'yes',
'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
'rx_filter_mode': 'hardware match',
'rx_queue': 'off',
'speed': 40.0,
'src_ipv4': '-',
'src_mac': '3c:fd:fe:9d:1c:f8',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
22/10/2020 16:57:27 pktgen: begin traffic ......
22/10/2020 16:57:27 pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
22/10/2020 16:57:37 pktgen: begin get port statistic ...
22/10/2020 16:57:37 pktgen: {'options': {'fields_config': {'ip': {'dst': {'action': 'random',
'end': '192.168.1.64',
'start': '192.168.1.1',
'step': 1}}},
'pcap': '/tmp/af_xdp_2_0_64.pcap',
'stream_config': {'rate': 100,
'transmit_mode': 'continuous',
'txmode': {}}},
'pcap_file': '/tmp/af_xdp_2_0_64.pcap',
'rx_port': 0,
'tx_port': 0}
22/10/2020 16:57:37 pktgen: {0: {'ibytes': 1113920464,
'ierrors': 0,
'ipackets': 17405007,
'obytes': 27325460864,
'oerrors': 0,
'opackets': 426960377,
'rx_bps': 891242432.0,
'rx_bps_L1': 1169755632.0,
'rx_pps': 1740707.5,
'rx_util': 2.9243890799999996,
'tx_bps': 21846941696.0,
'tx_bps_L1': 28674109696.0,
'tx_pps': 42669800.0,
'tx_util': 71.68527424},
1: {'ibytes': 0,
'ierrors': 0,
'ipackets': 0,
'obytes': 0,
'oerrors': 0,
'opackets': 0,
'rx_bps': 0.0,
'rx_bps_L1': 0,
'rx_pps': 0.0,
'rx_util': 0.0,
'tx_bps': 0.0,
'tx_bps_L1': 0,
'tx_pps': 0.0,
'tx_util': 0.0},
'flow_stats': {},
'global': {'bw_per_core': 4.450394153594971,
'cpu_util': 98.1798095703125,
'queue_full': 45661312,
'rx_bps': 891242432.0,
'rx_cpu_util': 0.0,
'rx_drop_bps': 20955699200.0,
'rx_pps': 1740707.5,
'tx_bps': 21846941696.0,
'tx_pps': 42669800.0},
'latency': {},
'total': {'ibytes': 1113920464,
'ierrors': 0,
'ipackets': 17405007,
'obytes': 27325460864,
'oerrors': 0,
'opackets': 426960377,
'rx_bps': 891242432.0,
'rx_bps_L1': 1169755632.0,
'rx_pps': 1740707.5,
'rx_util': 2.9243890799999996,
'tx_bps': 21846941696.0,
'tx_bps_L1': 28674109696.0,
'tx_pps': 42669800.0,
'tx_util': 71.68527424}}
22/10/2020 16:57:37 pktgen: {'ibytes': 1113920464,
'ierrors': 0,
'ipackets': 17405007,
'obytes': 27325460864,
'oerrors': 0,
'opackets': 426960377,
'rx_bps': 891242432.0,
'rx_bps_L1': 1169755632.0,
'rx_pps': 1740707.5,
'rx_util': 2.9243890799999996,
'tx_bps': 21846941696.0,
'tx_bps_L1': 28674109696.0,
'tx_pps': 42669800.0,
'tx_util': 71.68527424}
22/10/2020 16:57:37 pktgen: Tx Port 0 stats:
tx_port: 0, tx_bps: 21846941696.000000, tx_pps: 42669800.000000
22/10/2020 16:57:37 pktgen: {'ibytes': 1113920464,
'ierrors': 0,
'ipackets': 17405007,
'obytes': 27325460864,
'oerrors': 0,
'opackets': 426960377,
'rx_bps': 891242432.0,
'rx_bps_L1': 1169755632.0,
'rx_pps': 1740707.5,
'rx_util': 2.9243890799999996,
'tx_bps': 21846941696.0,
'tx_bps_L1': 28674109696.0,
'tx_pps': 42669800.0,
'tx_util': 71.68527424}
22/10/2020 16:57:37 pktgen: Rx Port 0 stats:
rx_port: 0, rx_bps: 891242432.000000, rx_pps: 1740707.500000
22/10/2020 16:57:37 pktgen: throughput: pps_rx 1740707.500000, bps_rx 891242432.000000
22/10/2020 16:57:37 pktgen: traffic completed.
22/10/2020 16:57:37 dut.10.240.183.99: stop
22/10/2020 16:57:37 dut.10.240.183.99:
Telling cores to ...
Waiting for lcores to finish...
---------------------- Forward statistics for port 0 ----------------------
RX-packets: 26097760 RX-dropped: 50364503 RX-total: 76462263
TX-packets: 26097760 TX-dropped: 0 TX-total: 26097760
----------------------------------------------------------------------------
---------------------- Forward statistics for port 1 ----------------------
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: 26097760 RX-dropped: 50364503 RX-total: 76462263
TX-packets: 26097760 TX-dropped: 0 TX-total: 26097760
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Done.
22/10/2020 16:57:37 dut.10.240.183.99: start
22/10/2020 16:57:37 dut.10.240.183.99:
io packet forwarding - ports=2 - cores=2 - streams=2 - NUMA support enabled, MP allocation mode: native
Logical Core 33 (socket 1) forwards packets on 1 streams:
RX P=0/Q=0 (socket 1) -> TX P=0/Q=0 (socket 1) peer=02:00:00:00:00:00
Logical Core 34 (socket 1) forwards packets on 1 streams:
RX P=1/Q=0 (socket 1) -> TX P=1/Q=0 (socket 1) peer=02:00:00:00:00:01
io packet forwarding packets/burst=32
nb forwarding cores=2 - nb forwarding ports=2
port 0: RX queue number: 1 Tx queue number: 1
Rx offloads=0x0 Tx offloads=0x0
RX queue: 0
RX desc=0 - RX free threshold=0
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0x0
TX queue: 0
TX desc=0 - TX free threshold=0
TX threshold registers: pthresh=0 hthresh=0 wthresh=0
TX offloads=0x0 - TX RS bit threshold=0
port 1: RX queue number: 1 Tx queue number: 1
Rx offloads=0x0 Tx offloads=0x0
RX queue: 0
RX desc=0 - RX free threshold=0
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0x0
TX queue: 0
TX desc=0 - TX free threshold=0
TX threshold registers: pthresh=0 hthresh=0 wthresh=0
TX offloads=0x0 - TX RS bit threshold=0
22/10/2020 16:57:37 pktgen: test port 1 map gen port 1
22/10/2020 16:57:37 pktgen: test port 1 map gen port 1
22/10/2020 16:57:37 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:d0',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:9d:1c:f8',
'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:82:00.0',
'prom': 'off',
'prom_supported': 'yes',
'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
'rx_filter_mode': 'hardware match',
'rx_queue': 'off',
'speed': 40.0,
'src_ipv4': '-',
'src_mac': '3c:fd:fe:9d:1c:f8',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
22/10/2020 16:57:37 pktgen: trex port <0> not support flow control
22/10/2020 16:57:37 pktgen: trex packet generator: run traffic 5s to warm up ...
22/10/2020 16:57:37 pktgen: check the trex port link status
22/10/2020 16:57:37 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:d1',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:9d:1c:f9',
'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:82:00.1',
'prom': 'on',
'prom_supported': 'yes',
'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
'rx_filter_mode': 'hardware match',
'rx_queue': 'off',
'speed': 40.0,
'src_ipv4': '-',
'src_mac': '3c:fd:fe:9d:1c:f9',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
22/10/2020 16:57:37 pktgen: begin traffic ......
22/10/2020 16:57:37 pktgen: {'ports': [1], 'mult': '100%', 'core_mask': None, 'force': True}
22/10/2020 16:57:42 pktgen: traffic completed.
22/10/2020 16:57:42 pktgen: check the trex port link status
22/10/2020 16:57:42 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:d1',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:9d:1c:f9',
'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:82:00.1',
'prom': 'on',
'prom_supported': 'yes',
'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
'rx_filter_mode': 'hardware match',
'rx_queue': 'off',
'speed': 40.0,
'src_ipv4': '-',
'src_mac': '3c:fd:fe:9d:1c:f9',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
22/10/2020 16:57:42 pktgen: begin traffic ......
22/10/2020 16:57:42 pktgen: {'ports': [1], 'mult': '100%', 'core_mask': None, 'force': True}
22/10/2020 16:57:52 pktgen: begin get port statistic ...
22/10/2020 16:57:52 pktgen: {'options': {'fields_config': {'ip': {'dst': {'action': 'random',
'end': '192.168.2.64',
'start': '192.168.2.1',
'step': 1}}},
'pcap': '/tmp/af_xdp_2_1_64.pcap',
'stream_config': {'rate': 100,
'transmit_mode': 'continuous',
'txmode': {}}},
'pcap_file': '/tmp/af_xdp_2_1_64.pcap',
'rx_port': 1,
'tx_port': 1}
22/10/2020 16:57:52 pktgen: {0: {'ibytes': 185,
'ierrors': 0,
'ipackets': 2,
'obytes': 0,
'oerrors': 0,
'opackets': 0,
'rx_bps': 32624.353515625,
'rx_bps_L1': 42812.157470703125,
'rx_pps': 63.67377471923828,
'rx_util': 0.00010703039367675782,
'tx_bps': 797410.0,
'tx_bps_L1': 1046600.4296875001,
'tx_pps': 1557.440185546875,
'tx_util': 0.0026165010742187503},
1: {'ibytes': 1115788601,
'ierrors': 0,
'ipackets': 17434198,
'obytes': 27321215296,
'oerrors': 0,
'opackets': 426894034,
'rx_bps': 893626560.0,
'rx_bps_L1': 1172884840.0,
'rx_pps': 1745364.25,
'rx_util': 2.9322121,
'tx_bps': 21867917312.0,
'tx_bps_L1': 28701642752.0,
'tx_pps': 42710784.0,
'tx_util': 71.75410688},
'flow_stats': {},
'global': {'bw_per_core': 4.381198406219482,
'cpu_util': 99.82982635498047,
'queue_full': 45572120,
'rx_bps': 893659264.0,
'rx_cpu_util': 0.0,
'rx_drop_bps': 20975054848.0,
'rx_pps': 1745427.875,
'tx_bps': 21868713984.0,
'tx_pps': 42712340.0},
'latency': {},
'total': {'ibytes': 1115788786,
'ierrors': 0,
'ipackets': 17434200,
'obytes': 27321215296,
'oerrors': 0,
'opackets': 426894034,
'rx_bps': 893659184.3535156,
'rx_bps_L1': 1172927652.1574707,
'rx_pps': 1745427.9237747192,
'rx_util': 2.932319130393677,
'tx_bps': 21868714722.0,
'tx_bps_L1': 28702689352.429688,
'tx_pps': 42712341.44018555,
'tx_util': 71.75672338107421}}
22/10/2020 16:57:52 pktgen: {'ibytes': 1115788601,
'ierrors': 0,
'ipackets': 17434198,
'obytes': 27321215296,
'oerrors': 0,
'opackets': 426894034,
'rx_bps': 893626560.0,
'rx_bps_L1': 1172884840.0,
'rx_pps': 1745364.25,
'rx_util': 2.9322121,
'tx_bps': 21867917312.0,
'tx_bps_L1': 28701642752.0,
'tx_pps': 42710784.0,
'tx_util': 71.75410688}
22/10/2020 16:57:52 pktgen: Tx Port 1 stats:
tx_port: 1, tx_bps: 21867917312.000000, tx_pps: 42710784.000000
22/10/2020 16:57:52 pktgen: {'ibytes': 1115788601,
'ierrors': 0,
'ipackets': 17434198,
'obytes': 27321215296,
'oerrors': 0,
'opackets': 426894034,
'rx_bps': 893626560.0,
'rx_bps_L1': 1172884840.0,
'rx_pps': 1745364.25,
'rx_util': 2.9322121,
'tx_bps': 21867917312.0,
'tx_bps_L1': 28701642752.0,
'tx_pps': 42710784.0,
'tx_util': 71.75410688}
22/10/2020 16:57:52 pktgen: Rx Port 1 stats:
rx_port: 1, rx_bps: 893626560.000000, rx_pps: 1745364.250000
22/10/2020 16:57:52 pktgen: throughput: pps_rx 1745364.250000, bps_rx 893626560.000000
22/10/2020 16:57:52 pktgen: traffic completed.
22/10/2020 16:57:52 dut.10.240.183.99: stop
22/10/2020 16:57:52 dut.10.240.183.99:
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
----------------------------------------------------------------------------
---------------------- Forward statistics for port 1 ----------------------
RX-packets: 26150621 RX-dropped: 49707034 RX-total: 75857655
TX-packets: 26150621 TX-dropped: 0 TX-total: 26150621
----------------------------------------------------------------------------
+++++++++++++++ Accumulated forward statistics for all ports+++++++++++++++
RX-packets: 26150621 RX-dropped: 49707034 RX-total: 75857655
TX-packets: 26150621 TX-dropped: 0 TX-total: 26150621
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Done.
22/10/2020 16:57:52 dut.10.240.183.99: start
22/10/2020 16:57:52 dut.10.240.183.99:
io packet forwarding - ports=2 - cores=2 - streams=2 - NUMA support enabled, MP allocation mode: native
Logical Core 33 (socket 1) forwards packets on 1 streams:
RX P=0/Q=0 (socket 1) -> TX P=0/Q=0 (socket 1) peer=02:00:00:00:00:00
Logical Core 34 (socket 1) forwards packets on 1 streams:
RX P=1/Q=0 (socket 1) -> TX P=1/Q=0 (socket 1) peer=02:00:00:00:00:01
io packet forwarding packets/burst=32
nb forwarding cores=2 - nb forwarding ports=2
port 0: RX queue number: 1 Tx queue number: 1
Rx offloads=0x0 Tx offloads=0x0
RX queue: 0
RX desc=0 - RX free threshold=0
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0x0
TX queue: 0
TX desc=0 - TX free threshold=0
TX threshold registers: pthresh=0 hthresh=0 wthresh=0
TX offloads=0x0 - TX RS bit threshold=0
port 1: RX queue number: 1 Tx queue number: 1
Rx offloads=0x0 Tx offloads=0x0
RX queue: 0
RX desc=0 - RX free threshold=0
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0x0
TX queue: 0
TX desc=0 - TX free threshold=0
TX threshold registers: pthresh=0 hthresh=0 wthresh=0
TX offloads=0x0 - TX RS bit threshold=0
22/10/2020 16:57:52 TestAfXdp: Running test test_perf_two_port_and_separate_irqs, and 128 frame size.
22/10/2020 16:57:52 pktgen: test port 0 map gen port 0
22/10/2020 16:57:52 pktgen: test port 0 map gen port 0
22/10/2020 16:57:53 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:d0',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:9d:1c:f8',
'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:82:00.0',
'prom': 'off',
'prom_supported': 'yes',
'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
'rx_filter_mode': 'hardware match',
'rx_queue': 'off',
'speed': 40.0,
'src_ipv4': '-',
'src_mac': '3c:fd:fe:9d:1c:f8',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
22/10/2020 16:57:53 pktgen: trex port <0> not support flow control
22/10/2020 16:57:53 pktgen: trex packet generator: run traffic 5s to warm up ...
22/10/2020 16:57:53 pktgen: check the trex port link status
22/10/2020 16:57:53 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:d0',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:9d:1c:f8',
'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:82:00.0',
'prom': 'on',
'prom_supported': 'yes',
'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
'rx_filter_mode': 'hardware match',
'rx_queue': 'off',
'speed': 40.0,
'src_ipv4': '-',
'src_mac': '3c:fd:fe:9d:1c:f8',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
22/10/2020 16:57:53 pktgen: begin traffic ......
22/10/2020 16:57:53 pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
22/10/2020 16:57:58 pktgen: traffic completed.
22/10/2020 16:57:58 pktgen: check the trex port link status
22/10/2020 16:57:58 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:d0',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:9d:1c:f8',
'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:82:00.0',
'prom': 'on',
'prom_supported': 'yes',
'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
'rx_filter_mode': 'hardware match',
'rx_queue': 'off',
'speed': 40.0,
'src_ipv4': '-',
'src_mac': '3c:fd:fe:9d:1c:f8',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
22/10/2020 16:57:58 pktgen: begin traffic ......
22/10/2020 16:57:58 pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
22/10/2020 16:58:08 pktgen: begin get port statistic ...
22/10/2020 16:58:08 pktgen: {'options': {'fields_config': {'ip': {'dst': {'action': 'random',
'end': '192.168.1.64',
'start': '192.168.1.1',
'step': 1}}},
'pcap': '/tmp/af_xdp_2_0_128.pcap',
'stream_config': {'rate': 100,
'transmit_mode': 'continuous',
'txmode': {}}},
'pcap_file': '/tmp/af_xdp_2_0_128.pcap',
'rx_port': 0,
'tx_port': 0}
22/10/2020 16:58:08 pktgen: {0: {'ibytes': 2189744471,
'ierrors': 0,
'ipackets': 17107381,
'obytes': 43294851200,
'oerrors': 0,
'opackets': 338241068,
'rx_bps': 1750050176.0,
'rx_bps_L1': 2023495535.9999998,
'rx_pps': 1709033.5,
'rx_util': 5.058738839999999,
'tx_bps': 34605490176.0,
'tx_bps_L1': 40012598016.0,
'tx_pps': 33794424.0,
'tx_util': 100.03149504},
1: {'ibytes': 87,
'ierrors': 0,
'ipackets': 1,
'obytes': 0,
'oerrors': 0,
'opackets': 0,
'rx_bps': 31025.81640625,
'rx_bps_L1': 40719.611572265625,
'rx_pps': 60.586219787597656,
'rx_util': 0.00010179902893066406,
'tx_bps': 757798.75,
'tx_bps_L1': 994610.5273437501,
'tx_pps': 1480.0736083984375,
'tx_util': 0.0024865263183593755},
'flow_stats': {},
'global': {'bw_per_core': 15.362648963928223,
'cpu_util': 45.052452087402344,
'queue_full': 148312,
'rx_bps': 1750081152.0,
'rx_cpu_util': 0.0,
'rx_drop_bps': 32856168448.0,
'rx_pps': 1709094.125,
'tx_bps': 34606252032.0,
'tx_pps': 33795904.0},
'latency': {},
'total': {'ibytes': 2189744558,
'ierrors': 0,
'ipackets': 17107382,
'obytes': 43294851200,
'oerrors': 0,
'opackets': 338241068,
'rx_bps': 1750081201.8164062,
'rx_bps_L1': 2023536255.611572,
'rx_pps': 1709094.0862197876,
'rx_util': 5.05884063902893,
'tx_bps': 34606247974.75,
'tx_bps_L1': 40013592626.52734,
'tx_pps': 33795904.0736084,
'tx_util': 100.03398156631836}}
22/10/2020 16:58:08 pktgen: {'ibytes': 2189744471,
'ierrors': 0,
'ipackets': 17107381,
'obytes': 43294851200,
'oerrors': 0,
'opackets': 338241068,
'rx_bps': 1750050176.0,
'rx_bps_L1': 2023495535.9999998,
'rx_pps': 1709033.5,
'rx_util': 5.058738839999999,
'tx_bps': 34605490176.0,
'tx_bps_L1': 40012598016.0,
'tx_pps': 33794424.0,
'tx_util': 100.03149504}
22/10/2020 16:58:08 pktgen: Tx Port 0 stats:
tx_port: 0, tx_bps: 34605490176.000000, tx_pps: 33794424.000000
22/10/2020 16:58:08 pktgen: {'ibytes': 2189744471,
'ierrors': 0,
'ipackets': 17107381,
'obytes': 43294851200,
'oerrors': 0,
'opackets': 338241068,
'rx_bps': 1750050176.0,
'rx_bps_L1': 2023495535.9999998,
'rx_pps': 1709033.5,
'rx_util': 5.058738839999999,
'tx_bps': 34605490176.0,
'tx_bps_L1': 40012598016.0,
'tx_pps': 33794424.0,
'tx_util': 100.03149504}
22/10/2020 16:58:08 pktgen: Rx Port 0 stats:
rx_port: 0, rx_bps: 1750050176.000000, rx_pps: 1709033.500000
22/10/2020 16:58:08 pktgen: throughput: pps_rx 1709033.500000, bps_rx 1750050176.000000
22/10/2020 16:58:08 pktgen: traffic completed.
22/10/2020 16:58:08 dut.10.240.183.99: stop
22/10/2020 16:58:08 dut.10.240.183.99:
Telling cores to ...
Waiting for lcores to finish...
---------------------- Forward statistics for port 0 ----------------------
RX-packets: 25678302 RX-dropped: 50766580 RX-total: 76444882
TX-packets: 25678302 TX-dropped: 0 TX-total: 25678302
----------------------------------------------------------------------------
---------------------- Forward statistics for port 1 ----------------------
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: 25678302 RX-dropped: 50766580 RX-total: 76444882
TX-packets: 25678302 TX-dropped: 0 TX-total: 25678302
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Done.
22/10/2020 16:58:08 dut.10.240.183.99: start
22/10/2020 16:58:08 dut.10.240.183.99:
io packet forwarding - ports=2 - cores=2 - streams=2 - NUMA support enabled, MP allocation mode: native
Logical Core 33 (socket 1) forwards packets on 1 streams:
RX P=0/Q=0 (socket 1) -> TX P=0/Q=0 (socket 1) peer=02:00:00:00:00:00
Logical Core 34 (socket 1) forwards packets on 1 streams:
RX P=1/Q=0 (socket 1) -> TX P=1/Q=0 (socket 1) peer=02:00:00:00:00:01
io packet forwarding packets/burst=32
nb forwarding cores=2 - nb forwarding ports=2
port 0: RX queue number: 1 Tx queue number: 1
Rx offloads=0x0 Tx offloads=0x0
RX queue: 0
RX desc=0 - RX free threshold=0
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0x0
TX queue: 0
TX desc=0 - TX free threshold=0
TX threshold registers: pthresh=0 hthresh=0 wthresh=0
TX offloads=0x0 - TX RS bit threshold=0
port 1: RX queue number: 1 Tx queue number: 1
Rx offloads=0x0 Tx offloads=0x0
RX queue: 0
RX desc=0 - RX free threshold=0
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0x0
TX queue: 0
TX desc=0 - TX free threshold=0
TX threshold registers: pthresh=0 hthresh=0 wthresh=0
TX offloads=0x0 - TX RS bit threshold=0
22/10/2020 16:58:08 pktgen: test port 1 map gen port 1
22/10/2020 16:58:08 pktgen: test port 1 map gen port 1
22/10/2020 16:58:08 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:d0',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:9d:1c:f8',
'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:82:00.0',
'prom': 'off',
'prom_supported': 'yes',
'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
'rx_filter_mode': 'hardware match',
'rx_queue': 'off',
'speed': 40.0,
'src_ipv4': '-',
'src_mac': '3c:fd:fe:9d:1c:f8',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
22/10/2020 16:58:08 pktgen: trex port <0> not support flow control
22/10/2020 16:58:08 pktgen: trex packet generator: run traffic 5s to warm up ...
22/10/2020 16:58:08 pktgen: check the trex port link status
22/10/2020 16:58:08 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:d1',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:9d:1c:f9',
'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:82:00.1',
'prom': 'on',
'prom_supported': 'yes',
'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
'rx_filter_mode': 'hardware match',
'rx_queue': 'off',
'speed': 40.0,
'src_ipv4': '-',
'src_mac': '3c:fd:fe:9d:1c:f9',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
22/10/2020 16:58:08 pktgen: begin traffic ......
22/10/2020 16:58:08 pktgen: {'ports': [1], 'mult': '100%', 'core_mask': None, 'force': True}
22/10/2020 16:58:13 pktgen: traffic completed.
22/10/2020 16:58:13 pktgen: check the trex port link status
22/10/2020 16:58:13 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:d1',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:9d:1c:f9',
'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:82:00.1',
'prom': 'on',
'prom_supported': 'yes',
'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
'rx_filter_mode': 'hardware match',
'rx_queue': 'off',
'speed': 40.0,
'src_ipv4': '-',
'src_mac': '3c:fd:fe:9d:1c:f9',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
22/10/2020 16:58:13 pktgen: begin traffic ......
22/10/2020 16:58:13 pktgen: {'ports': [1], 'mult': '100%', 'core_mask': None, 'force': True}
22/10/2020 16:58:23 pktgen: begin get port statistic ...
22/10/2020 16:58:23 pktgen: {'options': {'fields_config': {'ip': {'dst': {'action': 'random',
'end': '192.168.2.64',
'start': '192.168.2.1',
'step': 1}}},
'pcap': '/tmp/af_xdp_2_1_128.pcap',
'stream_config': {'rate': 100,
'transmit_mode': 'continuous',
'txmode': {}}},
'pcap_file': '/tmp/af_xdp_2_1_128.pcap',
'rx_port': 1,
'tx_port': 1}
22/10/2020 16:58:23 pktgen: {0: {'ibytes': 185,
'ierrors': 0,
'ipackets': 2,
'obytes': 0,
'oerrors': 0,
'opackets': 0,
'rx_bps': 57039.515625,
'rx_bps_L1': 65957.65649414062,
'rx_pps': 55.738380432128906,
'rx_util': 0.00016489414123535158,
'tx_bps': 1121803.5,
'tx_bps_L1': 1297085.1015625,
'tx_pps': 1095.510009765625,
'tx_util': 0.00324271275390625},
1: {'ibytes': 2189893615,
'ierrors': 0,
'ipackets': 17108546,
'obytes': 43292361088,
'oerrors': 0,
'opackets': 338221614,
'rx_bps': 1747881856.0,
'rx_bps_L1': 2020988455.9999998,
'rx_pps': 1706916.25,
'rx_util': 5.052471139999999,
'tx_bps': 34557341696.0,
'tx_bps_L1': 39956925696.00001,
'tx_pps': 33747400.0,
'tx_util': 99.89231424000002},
'flow_stats': {},
'global': {'bw_per_core': 16.007966995239258,
'cpu_util': 43.17657470703125,
'queue_full': 160431,
'rx_bps': 1747938816.0,
'rx_cpu_util': 0.0,
'rx_drop_bps': 32810522624.0,
'rx_pps': 1706972.0,
'tx_bps': 34558459904.0,
'tx_pps': 33748496.0},
'latency': {},
'total': {'ibytes': 2189893800,
'ierrors': 0,
'ipackets': 17108548,
'obytes': 43292361088,
'oerrors': 0,
'opackets': 338221614,
'rx_bps': 1747938895.515625,
'rx_bps_L1': 2021054413.656494,
'rx_pps': 1706971.9883804321,
'rx_util': 5.052636034141234,
'tx_bps': 34558463499.5,
'tx_bps_L1': 39958222781.10157,
'tx_pps': 33748495.510009766,
'tx_util': 99.89555695275392}}
22/10/2020 16:58:23 pktgen: {'ibytes': 2189893615,
'ierrors': 0,
'ipackets': 17108546,
'obytes': 43292361088,
'oerrors': 0,
'opackets': 338221614,
'rx_bps': 1747881856.0,
'rx_bps_L1': 2020988455.9999998,
'rx_pps': 1706916.25,
'rx_util': 5.052471139999999,
'tx_bps': 34557341696.0,
'tx_bps_L1': 39956925696.00001,
'tx_pps': 33747400.0,
'tx_util': 99.89231424000002}
22/10/2020 16:58:23 pktgen: Tx Port 1 stats:
tx_port: 1, tx_bps: 34557341696.000000, tx_pps: 33747400.000000
22/10/2020 16:58:23 pktgen: {'ibytes': 2189893615,
'ierrors': 0,
'ipackets': 17108546,
'obytes': 43292361088,
'oerrors': 0,
'opackets': 338221614,
'rx_bps': 1747881856.0,
'rx_bps_L1': 2020988455.9999998,
'rx_pps': 1706916.25,
'rx_util': 5.052471139999999,
'tx_bps': 34557341696.0,
'tx_bps_L1': 39956925696.00001,
'tx_pps': 33747400.0,
'tx_util': 99.89231424000002}
22/10/2020 16:58:23 pktgen: Rx Port 1 stats:
rx_port: 1, rx_bps: 1747881856.000000, rx_pps: 1706916.250000
22/10/2020 16:58:23 pktgen: throughput: pps_rx 1706916.250000, bps_rx 1747881856.000000
22/10/2020 16:58:23 pktgen: traffic completed.
22/10/2020 16:58:23 dut.10.240.183.99: stop
22/10/2020 16:58:23 dut.10.240.183.99:
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
----------------------------------------------------------------------------
---------------------- Forward statistics for port 1 ----------------------
RX-packets: 25677108 RX-dropped: 49357790 RX-total: 75034898
TX-packets: 25677108 TX-dropped: 0 TX-total: 25677108
----------------------------------------------------------------------------
+++++++++++++++ Accumulated forward statistics for all ports+++++++++++++++
RX-packets: 25677108 RX-dropped: 49357790 RX-total: 75034898
TX-packets: 25677108 TX-dropped: 0 TX-total: 25677108
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Done.
22/10/2020 16:58:23 dut.10.240.183.99: start
22/10/2020 16:58:23 dut.10.240.183.99:
io packet forwarding - ports=2 - cores=2 - streams=2 - NUMA support enabled, MP allocation mode: native
Logical Core 33 (socket 1) forwards packets on 1 streams:
RX P=0/Q=0 (socket 1) -> TX P=0/Q=0 (socket 1) peer=02:00:00:00:00:00
Logical Core 34 (socket 1) forwards packets on 1 streams:
RX P=1/Q=0 (socket 1) -> TX P=1/Q=0 (socket 1) peer=02:00:00:00:00:01
io packet forwarding packets/burst=32
nb forwarding cores=2 - nb forwarding ports=2
port 0: RX queue number: 1 Tx queue number: 1
Rx offloads=0x0 Tx offloads=0x0
RX queue: 0
RX desc=0 - RX free threshold=0
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0x0
TX queue: 0
TX desc=0 - TX free threshold=0
TX threshold registers: pthresh=0 hthresh=0 wthresh=0
TX offloads=0x0 - TX RS bit threshold=0
port 1: RX queue number: 1 Tx queue number: 1
Rx offloads=0x0 Tx offloads=0x0
RX queue: 0
RX desc=0 - RX free threshold=0
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0x0
TX queue: 0
TX desc=0 - TX free threshold=0
TX threshold registers: pthresh=0 hthresh=0 wthresh=0
TX offloads=0x0 - TX RS bit threshold=0
22/10/2020 16:58:23 TestAfXdp: Running test test_perf_two_port_and_separate_irqs, and 256 frame size.
22/10/2020 16:58:23 pktgen: test port 0 map gen port 0
22/10/2020 16:58:23 pktgen: test port 0 map gen port 0
22/10/2020 16:58:23 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:d0',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:9d:1c:f8',
'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:82:00.0',
'prom': 'off',
'prom_supported': 'yes',
'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
'rx_filter_mode': 'hardware match',
'rx_queue': 'off',
'speed': 40.0,
'src_ipv4': '-',
'src_mac': '3c:fd:fe:9d:1c:f8',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
22/10/2020 16:58:23 pktgen: trex port <0> not support flow control
22/10/2020 16:58:23 pktgen: trex packet generator: run traffic 5s to warm up ...
22/10/2020 16:58:23 pktgen: check the trex port link status
22/10/2020 16:58:23 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:d0',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:9d:1c:f8',
'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:82:00.0',
'prom': 'on',
'prom_supported': 'yes',
'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
'rx_filter_mode': 'hardware match',
'rx_queue': 'off',
'speed': 40.0,
'src_ipv4': '-',
'src_mac': '3c:fd:fe:9d:1c:f8',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
22/10/2020 16:58:23 pktgen: begin traffic ......
22/10/2020 16:58:23 pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
22/10/2020 16:58:28 pktgen: traffic completed.
22/10/2020 16:58:28 pktgen: check the trex port link status
22/10/2020 16:58:28 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:d0',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:9d:1c:f8',
'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:82:00.0',
'prom': 'on',
'prom_supported': 'yes',
'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
'rx_filter_mode': 'hardware match',
'rx_queue': 'off',
'speed': 40.0,
'src_ipv4': '-',
'src_mac': '3c:fd:fe:9d:1c:f8',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
22/10/2020 16:58:28 pktgen: begin traffic ......
22/10/2020 16:58:28 pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
22/10/2020 16:58:38 pktgen: begin get port statistic ...
22/10/2020 16:58:38 pktgen: {'options': {'fields_config': {'ip': {'dst': {'action': 'random',
'end': '192.168.1.64',
'start': '192.168.1.1',
'step': 1}}},
'pcap': '/tmp/af_xdp_2_0_256.pcap',
'stream_config': {'rate': 100,
'transmit_mode': 'continuous',
'txmode': {}}},
'pcap_file': '/tmp/af_xdp_2_0_256.pcap',
'rx_port': 0,
'tx_port': 0}
22/10/2020 16:58:38 pktgen: {0: {'ibytes': 4265119063,
'ierrors': 14,
'ipackets': 16660625,
'obytes': 16202002176,
'oerrors': 0,
'opackets': 63289084,
'rx_bps': 3403956224.0,
'rx_bps_L1': 3669890304.0,
'rx_pps': 1662088.0,
'rx_util': 9.174725760000001,
'tx_bps': 12611491840.0,
'tx_bps_L1': 13596765120.0,
'tx_pps': 6157958.0,
'tx_util': 33.9919128},
1: {'ibytes': 87,
'ierrors': 0,
'ipackets': 1,
'obytes': 0,
'oerrors': 0,
'opackets': 0,
'rx_bps': 107976.46875,
'rx_bps_L1': 124850.94018554688,
'rx_pps': 105.46544647216797,
'rx_util': 0.00031212735046386717,
'tx_bps': 2130733.0,
'tx_bps_L1': 2463659.6015625,
'tx_pps': 2080.791259765625,
'tx_util': 0.0061591490039062495},
'flow_stats': {},
'global': {'bw_per_core': 2.5758447647094727,
'cpu_util': 97.93775939941406,
'queue_full': 89552863,
'rx_bps': 3404064256.0,
'rx_cpu_util': 0.0,
'rx_drop_bps': 9209559040.0,
'rx_pps': 1662193.5,
'tx_bps': 12613622784.0,
'tx_pps': 6160039.0},
'latency': {},
'total': {'ibytes': 4265119150,
'ierrors': 14,
'ipackets': 16660626,
'obytes': 16202002176,
'oerrors': 0,
'opackets': 63289084,
'rx_bps': 3404064200.46875,
'rx_bps_L1': 3670015154.9401855,
'rx_pps': 1662193.4654464722,
'rx_util': 9.175037887350465,
'tx_bps': 12613622573.0,
'tx_bps_L1': 13599228779.601562,
'tx_pps': 6160038.791259766,
'tx_util': 33.99807194900391}}
22/10/2020 16:58:38 pktgen: {'ibytes': 4265119063,
'ierrors': 14,
'ipackets': 16660625,
'obytes': 16202002176,
'oerrors': 0,
'opackets': 63289084,
'rx_bps': 3403956224.0,
'rx_bps_L1': 3669890304.0,
'rx_pps': 1662088.0,
'rx_util': 9.174725760000001,
'tx_bps': 12611491840.0,
'tx_bps_L1': 13596765120.0,
'tx_pps': 6157958.0,
'tx_util': 33.9919128}
22/10/2020 16:58:38 pktgen: Tx Port 0 stats:
tx_port: 0, tx_bps: 12611491840.000000, tx_pps: 6157958.000000
22/10/2020 16:58:38 pktgen: {'ibytes': 4265119063,
'ierrors': 14,
'ipackets': 16660625,
'obytes': 16202002176,
'oerrors': 0,
'opackets': 63289084,
'rx_bps': 3403956224.0,
'rx_bps_L1': 3669890304.0,
'rx_pps': 1662088.0,
'rx_util': 9.174725760000001,
'tx_bps': 12611491840.0,
'tx_bps_L1': 13596765120.0,
'tx_pps': 6157958.0,
'tx_util': 33.9919128}
22/10/2020 16:58:38 pktgen: Rx Port 0 stats:
rx_port: 0, rx_bps: 3403956224.000000, rx_pps: 1662088.000000
22/10/2020 16:58:38 pktgen: throughput: pps_rx 1662088.000000, bps_rx 3403956224.000000
22/10/2020 16:58:38 pktgen: traffic completed.
22/10/2020 16:58:38 dut.10.240.183.99: stop
22/10/2020 16:58:38 dut.10.240.183.99:
Telling cores to ...
Waiting for lcores to finish...
---------------------- Forward statistics for port 0 ----------------------
RX-packets: 25021803 RX-dropped: 40806972 RX-total: 65828775
TX-packets: 25021803 TX-dropped: 0 TX-total: 25021803
----------------------------------------------------------------------------
---------------------- Forward statistics for port 1 ----------------------
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: 25021803 RX-dropped: 40806972 RX-total: 65828775
TX-packets: 25021803 TX-dropped: 0 TX-total: 25021803
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Done.
22/10/2020 16:58:38 dut.10.240.183.99: start
22/10/2020 16:58:38 dut.10.240.183.99:
io packet forwarding - ports=2 - cores=2 - streams=2 - NUMA support enabled, MP allocation mode: native
Logical Core 33 (socket 1) forwards packets on 1 streams:
RX P=0/Q=0 (socket 1) -> TX P=0/Q=0 (socket 1) peer=02:00:00:00:00:00
Logical Core 34 (socket 1) forwards packets on 1 streams:
RX P=1/Q=0 (socket 1) -> TX P=1/Q=0 (socket 1) peer=02:00:00:00:00:01
io packet forwarding packets/burst=32
nb forwarding cores=2 - nb forwarding ports=2
port 0: RX queue number: 1 Tx queue number: 1
Rx offloads=0x0 Tx offloads=0x0
RX queue: 0
RX desc=0 - RX free threshold=0
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0x0
TX queue: 0
TX desc=0 - TX free threshold=0
TX threshold registers: pthresh=0 hthresh=0 wthresh=0
TX offloads=0x0 - TX RS bit threshold=0
port 1: RX queue number: 1 Tx queue number: 1
Rx offloads=0x0 Tx offloads=0x0
RX queue: 0
RX desc=0 - RX free threshold=0
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0x0
TX queue: 0
TX desc=0 - TX free threshold=0
TX threshold registers: pthresh=0 hthresh=0 wthresh=0
TX offloads=0x0 - TX RS bit threshold=0
22/10/2020 16:58:38 pktgen: test port 1 map gen port 1
22/10/2020 16:58:38 pktgen: test port 1 map gen port 1
22/10/2020 16:58:38 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:d0',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:9d:1c:f8',
'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:82:00.0',
'prom': 'off',
'prom_supported': 'yes',
'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
'rx_filter_mode': 'hardware match',
'rx_queue': 'off',
'speed': 40.0,
'src_ipv4': '-',
'src_mac': '3c:fd:fe:9d:1c:f8',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
22/10/2020 16:58:38 pktgen: trex port <0> not support flow control
22/10/2020 16:58:38 pktgen: trex packet generator: run traffic 5s to warm up ...
22/10/2020 16:58:38 pktgen: check the trex port link status
22/10/2020 16:58:38 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:d1',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:9d:1c:f9',
'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:82:00.1',
'prom': 'on',
'prom_supported': 'yes',
'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
'rx_filter_mode': 'hardware match',
'rx_queue': 'off',
'speed': 40.0,
'src_ipv4': '-',
'src_mac': '3c:fd:fe:9d:1c:f9',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
22/10/2020 16:58:38 pktgen: begin traffic ......
22/10/2020 16:58:38 pktgen: {'ports': [1], 'mult': '100%', 'core_mask': None, 'force': True}
22/10/2020 16:58:43 pktgen: traffic completed.
22/10/2020 16:58:43 pktgen: check the trex port link status
22/10/2020 16:58:43 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:d1',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:9d:1c:f9',
'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:82:00.1',
'prom': 'on',
'prom_supported': 'yes',
'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
'rx_filter_mode': 'hardware match',
'rx_queue': 'off',
'speed': 40.0,
'src_ipv4': '-',
'src_mac': '3c:fd:fe:9d:1c:f9',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
22/10/2020 16:58:43 pktgen: begin traffic ......
22/10/2020 16:58:43 pktgen: {'ports': [1], 'mult': '100%', 'core_mask': None, 'force': True}
22/10/2020 16:58:53 pktgen: begin get port statistic ...
22/10/2020 16:58:53 pktgen: {'options': {'fields_config': {'ip': {'dst': {'action': 'random',
'end': '192.168.2.64',
'start': '192.168.2.1',
'step': 1}}},
'pcap': '/tmp/af_xdp_2_1_256.pcap',
'stream_config': {'rate': 100,
'transmit_mode': 'continuous',
'txmode': {}}},
'pcap_file': '/tmp/af_xdp_2_1_256.pcap',
'rx_port': 1,
'tx_port': 1}
22/10/2020 16:58:53 pktgen: {0: {'ibytes': 0,
'ierrors': 0,
'ipackets': 0,
'obytes': 0,
'oerrors': 0,
'opackets': 0,
'rx_bps': 200943.375,
'rx_bps_L1': 216642.06640625003,
'rx_pps': 98.1168212890625,
'rx_util': 0.0005416051660156251,
'tx_bps': 744174.9375,
'tx_bps_L1': 802313.5703125,
'tx_pps': 363.366455078125,
'tx_util': 0.00200578392578125},
1: {'ibytes': 4281593856,
'ierrors': 17,
'ipackets': 16724979,
'obytes': 16173382400,
'oerrors': 0,
'opackets': 63177279,
'rx_bps': 3426615296.0,
'rx_bps_L1': 3694319656.0,
'rx_pps': 1673152.25,
'rx_util': 9.235799140000001,
'tx_bps': 12661273600.0,
'tx_bps_L1': 13650435520.0,
'tx_pps': 6182262.0,
'tx_util': 34.1260888},
'flow_stats': {},
'global': {'bw_per_core': 2.5601754188537598,
'cpu_util': 98.91523742675781,
'queue_full': 89392310,
'rx_bps': 3426816256.0,
'rx_cpu_util': 0.0,
'rx_drop_bps': 9235201024.0,
'rx_pps': 1673250.375,
'tx_bps': 12662018048.0,
'tx_pps': 6182625.5},
'latency': {},
'total': {'ibytes': 4281593856,
'ierrors': 17,
'ipackets': 16724979,
'obytes': 16173382400,
'oerrors': 0,
'opackets': 63177279,
'rx_bps': 3426816239.375,
'rx_bps_L1': 3694536298.0664062,
'rx_pps': 1673250.366821289,
'rx_util': 9.236340745166016,
'tx_bps': 12662017774.9375,
'tx_bps_L1': 13651237833.570312,
'tx_pps': 6182625.366455078,
'tx_util': 34.12809458392578}}
22/10/2020 16:58:53 pktgen: {'ibytes': 4281593856,
'ierrors': 17,
'ipackets': 16724979,
'obytes': 16173382400,
'oerrors': 0,
'opackets': 63177279,
'rx_bps': 3426615296.0,
'rx_bps_L1': 3694319656.0,
'rx_pps': 1673152.25,
'rx_util': 9.235799140000001,
'tx_bps': 12661273600.0,
'tx_bps_L1': 13650435520.0,
'tx_pps': 6182262.0,
'tx_util': 34.1260888}
22/10/2020 16:58:53 pktgen: Tx Port 1 stats:
tx_port: 1, tx_bps: 12661273600.000000, tx_pps: 6182262.000000
22/10/2020 16:58:53 pktgen: {'ibytes': 4281593856,
'ierrors': 17,
'ipackets': 16724979,
'obytes': 16173382400,
'oerrors': 0,
'opackets': 63177279,
'rx_bps': 3426615296.0,
'rx_bps_L1': 3694319656.0,
'rx_pps': 1673152.25,
'rx_util': 9.235799140000001,
'tx_bps': 12661273600.0,
'tx_bps_L1': 13650435520.0,
'tx_pps': 6182262.0,
'tx_util': 34.1260888}
22/10/2020 16:58:53 pktgen: Rx Port 1 stats:
rx_port: 1, rx_bps: 3426615296.000000, rx_pps: 1673152.250000
22/10/2020 16:58:53 pktgen: throughput: pps_rx 1673152.250000, bps_rx 3426615296.000000
22/10/2020 16:58:53 pktgen: traffic completed.
22/10/2020 16:58:53 dut.10.240.183.99: stop
22/10/2020 16:58:54 dut.10.240.183.99:
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
----------------------------------------------------------------------------
---------------------- Forward statistics for port 1 ----------------------
RX-packets: 25114602 RX-dropped: 42467514 RX-total: 67582116
TX-packets: 25114602 TX-dropped: 0 TX-total: 25114602
----------------------------------------------------------------------------
+++++++++++++++ Accumulated forward statistics for all ports+++++++++++++++
RX-packets: 25114602 RX-dropped: 42467514 RX-total: 67582116
TX-packets: 25114602 TX-dropped: 0 TX-total: 25114602
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Done.
22/10/2020 16:58:54 dut.10.240.183.99: start
22/10/2020 16:58:54 dut.10.240.183.99:
io packet forwarding - ports=2 - cores=2 - streams=2 - NUMA support enabled, MP allocation mode: native
Logical Core 33 (socket 1) forwards packets on 1 streams:
RX P=0/Q=0 (socket 1) -> TX P=0/Q=0 (socket 1) peer=02:00:00:00:00:00
Logical Core 34 (socket 1) forwards packets on 1 streams:
RX P=1/Q=0 (socket 1) -> TX P=1/Q=0 (socket 1) peer=02:00:00:00:00:01
io packet forwarding packets/burst=32
nb forwarding cores=2 - nb forwarding ports=2
port 0: RX queue number: 1 Tx queue number: 1
Rx offloads=0x0 Tx offloads=0x0
RX queue: 0
RX desc=0 - RX free threshold=0
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0x0
TX queue: 0
TX desc=0 - TX free threshold=0
TX threshold registers: pthresh=0 hthresh=0 wthresh=0
TX offloads=0x0 - TX RS bit threshold=0
port 1: RX queue number: 1 Tx queue number: 1
Rx offloads=0x0 Tx offloads=0x0
RX queue: 0
RX desc=0 - RX free threshold=0
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0x0
TX queue: 0
TX desc=0 - TX free threshold=0
TX threshold registers: pthresh=0 hthresh=0 wthresh=0
TX offloads=0x0 - TX RS bit threshold=0
22/10/2020 16:58:54 TestAfXdp: Running test test_perf_two_port_and_separate_irqs, and 512 frame size.
22/10/2020 16:58:54 pktgen: test port 0 map gen port 0
22/10/2020 16:58:54 pktgen: test port 0 map gen port 0
22/10/2020 16:58:54 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:d0',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:9d:1c:f8',
'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:82:00.0',
'prom': 'off',
'prom_supported': 'yes',
'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
'rx_filter_mode': 'hardware match',
'rx_queue': 'off',
'speed': 40.0,
'src_ipv4': '-',
'src_mac': '3c:fd:fe:9d:1c:f8',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
22/10/2020 16:58:54 pktgen: trex port <0> not support flow control
22/10/2020 16:58:54 pktgen: trex packet generator: run traffic 5s to warm up ...
22/10/2020 16:58:54 pktgen: check the trex port link status
22/10/2020 16:58:54 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:d0',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:9d:1c:f8',
'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:82:00.0',
'prom': 'on',
'prom_supported': 'yes',
'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
'rx_filter_mode': 'hardware match',
'rx_queue': 'off',
'speed': 40.0,
'src_ipv4': '-',
'src_mac': '3c:fd:fe:9d:1c:f8',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
22/10/2020 16:58:54 pktgen: begin traffic ......
22/10/2020 16:58:54 pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
22/10/2020 16:58:59 pktgen: traffic completed.
22/10/2020 16:58:59 pktgen: check the trex port link status
22/10/2020 16:58:59 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:d0',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:9d:1c:f8',
'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:82:00.0',
'prom': 'on',
'prom_supported': 'yes',
'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
'rx_filter_mode': 'hardware match',
'rx_queue': 'off',
'speed': 40.0,
'src_ipv4': '-',
'src_mac': '3c:fd:fe:9d:1c:f8',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
22/10/2020 16:58:59 pktgen: begin traffic ......
22/10/2020 16:58:59 pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
22/10/2020 16:59:09 pktgen: begin get port statistic ...
22/10/2020 16:59:09 pktgen: {'options': {'fields_config': {'ip': {'dst': {'action': 'random',
'end': '192.168.1.64',
'start': '192.168.1.1',
'step': 1}}},
'pcap': '/tmp/af_xdp_2_0_512.pcap',
'stream_config': {'rate': 100,
'transmit_mode': 'continuous',
'txmode': {}}},
'pcap_file': '/tmp/af_xdp_2_0_512.pcap',
'rx_port': 0,
'tx_port': 0}
22/10/2020 16:59:09 pktgen: {0: {'ibytes': 8398517847,
'ierrors': 7,
'ipackets': 16403358,
'obytes': 29408790016,
'oerrors': 0,
'opackets': 57439050,
'rx_bps': 6713312256.0,
'rx_bps_L1': 6975550976.0,
'rx_pps': 1638992.0,
'rx_util': 17.43887744,
'tx_bps': 23043282944.0,
'tx_bps_L1': 23943411264.0,
'tx_pps': 5625802.0,
'tx_util': 59.85852816},
1: {'ibytes': 87,
'ierrors': 0,
'ipackets': 1,
'obytes': 0,
'oerrors': 0,
'opackets': 0,
'rx_bps': 195837.90625,
'rx_bps_L1': 211140.93481445312,
'rx_pps': 95.64392852783203,
'rx_util': 0.0005278523370361328,
'tx_bps': 721958.3125,
'tx_bps_L1': 778361.2763671875,
'tx_pps': 352.5185241699219,
'tx_util': 0.0019459031909179686},
'flow_stats': {},
'global': {'bw_per_core': 4.83197021484375,
'cpu_util': 95.38140869140625,
'queue_full': 84389245,
'rx_bps': 6713507840.0,
'rx_cpu_util': 0.0,
'rx_drop_bps': 16330498048.0,
'rx_pps': 1639087.625,
'tx_bps': 23044005888.0,
'tx_pps': 5626154.5},
'latency': {},
'total': {'ibytes': 8398517934,
'ierrors': 7,
'ipackets': 16403359,
'obytes': 29408790016,
'oerrors': 0,
'opackets': 57439050,
'rx_bps': 6713508093.90625,
'rx_bps_L1': 6975762116.934814,
'rx_pps': 1639087.6439285278,
'rx_util': 17.439405292337035,
'tx_bps': 23044004902.3125,
'tx_bps_L1': 23944189625.276367,
'tx_pps': 5626154.51852417,
'tx_util': 59.860474063190914}}
22/10/2020 16:59:09 pktgen: {'ibytes': 8398517847,
'ierrors': 7,
'ipackets': 16403358,
'obytes': 29408790016,
'oerrors': 0,
'opackets': 57439050,
'rx_bps': 6713312256.0,
'rx_bps_L1': 6975550976.0,
'rx_pps': 1638992.0,
'rx_util': 17.43887744,
'tx_bps': 23043282944.0,
'tx_bps_L1': 23943411264.0,
'tx_pps': 5625802.0,
'tx_util': 59.85852816}
22/10/2020 16:59:09 pktgen: Tx Port 0 stats:
tx_port: 0, tx_bps: 23043282944.000000, tx_pps: 5625802.000000
22/10/2020 16:59:09 pktgen: {'ibytes': 8398517847,
'ierrors': 7,
'ipackets': 16403358,
'obytes': 29408790016,
'oerrors': 0,
'opackets': 57439050,
'rx_bps': 6713312256.0,
'rx_bps_L1': 6975550976.0,
'rx_pps': 1638992.0,
'rx_util': 17.43887744,
'tx_bps': 23043282944.0,
'tx_bps_L1': 23943411264.0,
'tx_pps': 5625802.0,
'tx_util': 59.85852816}
22/10/2020 16:59:09 pktgen: Rx Port 0 stats:
rx_port: 0, rx_bps: 6713312256.000000, rx_pps: 1638992.000000
22/10/2020 16:59:09 pktgen: throughput: pps_rx 1638992.000000, bps_rx 6713312256.000000
22/10/2020 16:59:09 pktgen: traffic completed.
22/10/2020 16:59:09 dut.10.240.183.99: stop
22/10/2020 16:59:09 dut.10.240.183.99:
Telling cores to ...
Waiting for lcores to finish...
---------------------- Forward statistics for port 0 ----------------------
RX-packets: 24613715 RX-dropped: 39904537 RX-total: 64518252
TX-packets: 24613715 TX-dropped: 0 TX-total: 24613715
----------------------------------------------------------------------------
---------------------- Forward statistics for port 1 ----------------------
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: 24613715 RX-dropped: 39904537 RX-total: 64518252
TX-packets: 24613715 TX-dropped: 0 TX-total: 24613715
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Done.
22/10/2020 16:59:09 dut.10.240.183.99: start
22/10/2020 16:59:09 dut.10.240.183.99:
io packet forwarding - ports=2 - cores=2 - streams=2 - NUMA support enabled, MP allocation mode: native
Logical Core 33 (socket 1) forwards packets on 1 streams:
RX P=0/Q=0 (socket 1) -> TX P=0/Q=0 (socket 1) peer=02:00:00:00:00:00
Logical Core 34 (socket 1) forwards packets on 1 streams:
RX P=1/Q=0 (socket 1) -> TX P=1/Q=0 (socket 1) peer=02:00:00:00:00:01
io packet forwarding packets/burst=32
nb forwarding cores=2 - nb forwarding ports=2
port 0: RX queue number: 1 Tx queue number: 1
Rx offloads=0x0 Tx offloads=0x0
RX queue: 0
RX desc=0 - RX free threshold=0
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0x0
TX queue: 0
TX desc=0 - TX free threshold=0
TX threshold registers: pthresh=0 hthresh=0 wthresh=0
TX offloads=0x0 - TX RS bit threshold=0
port 1: RX queue number: 1 Tx queue number: 1
Rx offloads=0x0 Tx offloads=0x0
RX queue: 0
RX desc=0 - RX free threshold=0
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0x0
TX queue: 0
TX desc=0 - TX free threshold=0
TX threshold registers: pthresh=0 hthresh=0 wthresh=0
TX offloads=0x0 - TX RS bit threshold=0
22/10/2020 16:59:09 pktgen: test port 1 map gen port 1
22/10/2020 16:59:09 pktgen: test port 1 map gen port 1
22/10/2020 16:59:09 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:d0',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:9d:1c:f8',
'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:82:00.0',
'prom': 'off',
'prom_supported': 'yes',
'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
'rx_filter_mode': 'hardware match',
'rx_queue': 'off',
'speed': 40.0,
'src_ipv4': '-',
'src_mac': '3c:fd:fe:9d:1c:f8',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
22/10/2020 16:59:09 pktgen: trex port <0> not support flow control
22/10/2020 16:59:09 pktgen: trex packet generator: run traffic 5s to warm up ...
22/10/2020 16:59:09 pktgen: check the trex port link status
22/10/2020 16:59:09 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:d1',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:9d:1c:f9',
'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:82:00.1',
'prom': 'on',
'prom_supported': 'yes',
'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
'rx_filter_mode': 'hardware match',
'rx_queue': 'off',
'speed': 40.0,
'src_ipv4': '-',
'src_mac': '3c:fd:fe:9d:1c:f9',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
22/10/2020 16:59:09 pktgen: begin traffic ......
22/10/2020 16:59:09 pktgen: {'ports': [1], 'mult': '100%', 'core_mask': None, 'force': True}
22/10/2020 16:59:14 pktgen: traffic completed.
22/10/2020 16:59:14 pktgen: check the trex port link status
22/10/2020 16:59:14 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:d1',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:9d:1c:f9',
'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:82:00.1',
'prom': 'on',
'prom_supported': 'yes',
'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
'rx_filter_mode': 'hardware match',
'rx_queue': 'off',
'speed': 40.0,
'src_ipv4': '-',
'src_mac': '3c:fd:fe:9d:1c:f9',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
22/10/2020 16:59:14 pktgen: begin traffic ......
22/10/2020 16:59:14 pktgen: {'ports': [1], 'mult': '100%', 'core_mask': None, 'force': True}
22/10/2020 16:59:24 pktgen: begin get port statistic ...
22/10/2020 16:59:24 pktgen: {'options': {'fields_config': {'ip': {'dst': {'action': 'random',
'end': '192.168.2.64',
'start': '192.168.2.1',
'step': 1}}},
'pcap': '/tmp/af_xdp_2_1_512.pcap',
'stream_config': {'rate': 100,
'transmit_mode': 'continuous',
'txmode': {}}},
'pcap_file': '/tmp/af_xdp_2_1_512.pcap',
'rx_port': 1,
'tx_port': 1}
22/10/2020 16:59:24 pktgen: {0: {'ibytes': 74,
'ierrors': 0,
'ipackets': 1,
'obytes': 0,
'oerrors': 0,
'opackets': 0,
'rx_bps': 374563.90625,
'rx_bps_L1': 389203.68408203125,
'rx_pps': 91.49861145019531,
'rx_util': 0.0009730092102050782,
'tx_bps': 1284452.75,
'tx_bps_L1': 1334626.6513671875,
'tx_pps': 313.5868835449219,
'tx_util': 0.0033365666284179687},
1: {'ibytes': 8384322560,
'ierrors': 16,
'ipackets': 16375632,
'obytes': 29629018112,
'oerrors': 0,
'opackets': 57869180,
'rx_bps': 6702429696.0,
'rx_bps_L1': 6964243396.0,
'rx_pps': 1636335.625,
'rx_util': 17.41060849,
'tx_bps': 23232284672.0,
'tx_bps_L1': 24139795952.0,
'tx_pps': 5671945.5,
'tx_util': 60.34948987999999},
'flow_stats': {},
'global': {'bw_per_core': 4.886027812957764,
'cpu_util': 95.10208129882812,
'queue_full': 84368469,
'rx_bps': 6702803968.0,
'rx_cpu_util': 0.0,
'rx_drop_bps': 16530765824.0,
'rx_pps': 1636427.125,
'tx_bps': 23233570816.0,
'tx_pps': 5672259.0},
'latency': {},
'total': {'ibytes': 8384322634,
'ierrors': 16,
'ipackets': 16375633,
'obytes': 29629018112,
'oerrors': 0,
'opackets': 57869180,
'rx_bps': 6702804259.90625,
'rx_bps_L1': 6964632599.684082,
'rx_pps': 1636427.1236114502,
'rx_util': 17.411581499210207,
'tx_bps': 23233569124.75,
'tx_bps_L1': 24141130578.651367,
'tx_pps': 5672259.086883545,
'tx_util': 60.35282644662841}}
22/10/2020 16:59:24 pktgen: {'ibytes': 8384322560,
'ierrors': 16,
'ipackets': 16375632,
'obytes': 29629018112,
'oerrors': 0,
'opackets': 57869180,
'rx_bps': 6702429696.0,
'rx_bps_L1': 6964243396.0,
'rx_pps': 1636335.625,
'rx_util': 17.41060849,
'tx_bps': 23232284672.0,
'tx_bps_L1': 24139795952.0,
'tx_pps': 5671945.5,
'tx_util': 60.34948987999999}
22/10/2020 16:59:24 pktgen: Tx Port 1 stats:
tx_port: 1, tx_bps: 23232284672.000000, tx_pps: 5671945.500000
22/10/2020 16:59:24 pktgen: {'ibytes': 8384322560,
'ierrors': 16,
'ipackets': 16375632,
'obytes': 29629018112,
'oerrors': 0,
'opackets': 57869180,
'rx_bps': 6702429696.0,
'rx_bps_L1': 6964243396.0,
'rx_pps': 1636335.625,
'rx_util': 17.41060849,
'tx_bps': 23232284672.0,
'tx_bps_L1': 24139795952.0,
'tx_pps': 5671945.5,
'tx_util': 60.34948987999999}
22/10/2020 16:59:24 pktgen: Rx Port 1 stats:
rx_port: 1, rx_bps: 6702429696.000000, rx_pps: 1636335.625000
22/10/2020 16:59:24 pktgen: throughput: pps_rx 1636335.625000, bps_rx 6702429696.000000
22/10/2020 16:59:24 pktgen: traffic completed.
22/10/2020 16:59:24 dut.10.240.183.99: stop
22/10/2020 16:59:24 dut.10.240.183.99:
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
----------------------------------------------------------------------------
---------------------- Forward statistics for port 1 ----------------------
RX-packets: 24569664 RX-dropped: 39174037 RX-total: 63743701
TX-packets: 24569664 TX-dropped: 0 TX-total: 24569664
----------------------------------------------------------------------------
+++++++++++++++ Accumulated forward statistics for all ports+++++++++++++++
RX-packets: 24569664 RX-dropped: 39174037 RX-total: 63743701
TX-packets: 24569664 TX-dropped: 0 TX-total: 24569664
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Done.
22/10/2020 16:59:24 dut.10.240.183.99: start
22/10/2020 16:59:24 dut.10.240.183.99:
io packet forwarding - ports=2 - cores=2 - streams=2 - NUMA support enabled, MP allocation mode: native
Logical Core 33 (socket 1) forwards packets on 1 streams:
RX P=0/Q=0 (socket 1) -> TX P=0/Q=0 (socket 1) peer=02:00:00:00:00:00
Logical Core 34 (socket 1) forwards packets on 1 streams:
RX P=1/Q=0 (socket 1) -> TX P=1/Q=0 (socket 1) peer=02:00:00:00:00:01
io packet forwarding packets/burst=32
nb forwarding cores=2 - nb forwarding ports=2
port 0: RX queue number: 1 Tx queue number: 1
Rx offloads=0x0 Tx offloads=0x0
RX queue: 0
RX desc=0 - RX free threshold=0
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0x0
TX queue: 0
TX desc=0 - TX free threshold=0
TX threshold registers: pthresh=0 hthresh=0 wthresh=0
TX offloads=0x0 - TX RS bit threshold=0
port 1: RX queue number: 1 Tx queue number: 1
Rx offloads=0x0 Tx offloads=0x0
RX queue: 0
RX desc=0 - RX free threshold=0
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0x0
TX queue: 0
TX desc=0 - TX free threshold=0
TX threshold registers: pthresh=0 hthresh=0 wthresh=0
TX offloads=0x0 - TX RS bit threshold=0
22/10/2020 16:59:24 TestAfXdp: Running test test_perf_two_port_and_separate_irqs, and 1024 frame size.
22/10/2020 16:59:24 pktgen: test port 0 map gen port 0
22/10/2020 16:59:24 pktgen: test port 0 map gen port 0
22/10/2020 16:59:24 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:d0',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:9d:1c:f8',
'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:82:00.0',
'prom': 'off',
'prom_supported': 'yes',
'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
'rx_filter_mode': 'hardware match',
'rx_queue': 'off',
'speed': 40.0,
'src_ipv4': '-',
'src_mac': '3c:fd:fe:9d:1c:f8',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
22/10/2020 16:59:24 pktgen: trex port <0> not support flow control
22/10/2020 16:59:24 pktgen: trex packet generator: run traffic 5s to warm up ...
22/10/2020 16:59:24 pktgen: check the trex port link status
22/10/2020 16:59:24 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:d0',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:9d:1c:f8',
'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:82:00.0',
'prom': 'on',
'prom_supported': 'yes',
'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
'rx_filter_mode': 'hardware match',
'rx_queue': 'off',
'speed': 40.0,
'src_ipv4': '-',
'src_mac': '3c:fd:fe:9d:1c:f8',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
22/10/2020 16:59:24 pktgen: begin traffic ......
22/10/2020 16:59:24 pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
22/10/2020 16:59:29 pktgen: traffic completed.
22/10/2020 16:59:29 pktgen: check the trex port link status
22/10/2020 16:59:29 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:d0',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:9d:1c:f8',
'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:82:00.0',
'prom': 'on',
'prom_supported': 'yes',
'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
'rx_filter_mode': 'hardware match',
'rx_queue': 'off',
'speed': 40.0,
'src_ipv4': '-',
'src_mac': '3c:fd:fe:9d:1c:f8',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
22/10/2020 16:59:29 pktgen: begin traffic ......
22/10/2020 16:59:29 pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
22/10/2020 16:59:39 pktgen: begin get port statistic ...
22/10/2020 16:59:39 pktgen: {'options': {'fields_config': {'ip': {'dst': {'action': 'random',
'end': '192.168.1.64',
'start': '192.168.1.1',
'step': 1}}},
'pcap': '/tmp/af_xdp_2_0_1024.pcap',
'stream_config': {'rate': 100,
'transmit_mode': 'continuous',
'txmode': {}}},
'pcap_file': '/tmp/af_xdp_2_0_1024.pcap',
'rx_port': 0,
'tx_port': 0}
22/10/2020 16:59:39 pktgen: {0: {'ibytes': 14987795543,
'ierrors': 0,
'ipackets': 14636523,
'obytes': 46557419520,
'oerrors': 0,
'opackets': 45466236,
'rx_bps': 11944516608.0,
'rx_bps_L1': 12177807967.999998,
'rx_pps': 1458071.0,
'rx_util': 30.444519919999998,
'tx_bps': 36945047552.0,
'tx_bps_L1': 37666630512.0,
'tx_pps': 4509893.5,
'tx_util': 94.16657628},
1: {'ibytes': 161,
'ierrors': 0,
'ipackets': 2,
'obytes': 0,
'oerrors': 0,
'opackets': 0,
'rx_bps': 362788.6875,
'rx_bps_L1': 376978.9279785157,
'rx_pps': 88.68900299072266,
'rx_util': 0.0009424473199462892,
'tx_bps': 1257399.625,
'tx_bps_L1': 1306516.763671875,
'tx_pps': 306.98211669921875,
'tx_util': 0.003266291909179688},
'flow_stats': {},
'global': {'bw_per_core': 34.423675537109375,
'cpu_util': 21.465635299682617,
'queue_full': 14851260,
'rx_bps': 11944879104.0,
'rx_cpu_util': 0.0,
'rx_drop_bps': 25001424896.0,
'rx_pps': 1458159.75,
'tx_bps': 36946305024.0,
'tx_pps': 4510200.5},
'latency': {},
'total': {'ibytes': 14987795704,
'ierrors': 0,
'ipackets': 14636525,
'obytes': 46557419520,
'oerrors': 0,
'opackets': 45466236,
'rx_bps': 11944879396.6875,
'rx_bps_L1': 12178184946.927977,
'rx_pps': 1458159.6890029907,
'rx_util': 30.445462367319944,
'tx_bps': 36946304951.625,
'tx_bps_L1': 37667937028.76367,
'tx_pps': 4510200.482116699,
'tx_util': 94.16984257190919}}
22/10/2020 16:59:39 pktgen: {'ibytes': 14987795543,
'ierrors': 0,
'ipackets': 14636523,
'obytes': 46557419520,
'oerrors': 0,
'opackets': 45466236,
'rx_bps': 11944516608.0,
'rx_bps_L1': 12177807967.999998,
'rx_pps': 1458071.0,
'rx_util': 30.444519919999998,
'tx_bps': 36945047552.0,
'tx_bps_L1': 37666630512.0,
'tx_pps': 4509893.5,
'tx_util': 94.16657628}
22/10/2020 16:59:39 pktgen: Tx Port 0 stats:
tx_port: 0, tx_bps: 36945047552.000000, tx_pps: 4509893.500000
22/10/2020 16:59:39 pktgen: {'ibytes': 14987795543,
'ierrors': 0,
'ipackets': 14636523,
'obytes': 46557419520,
'oerrors': 0,
'opackets': 45466236,
'rx_bps': 11944516608.0,
'rx_bps_L1': 12177807967.999998,
'rx_pps': 1458071.0,
'rx_util': 30.444519919999998,
'tx_bps': 36945047552.0,
'tx_bps_L1': 37666630512.0,
'tx_pps': 4509893.5,
'tx_util': 94.16657628}
22/10/2020 16:59:39 pktgen: Rx Port 0 stats:
rx_port: 0, rx_bps: 11944516608.000000, rx_pps: 1458071.000000
22/10/2020 16:59:39 pktgen: throughput: pps_rx 1458071.000000, bps_rx 11944516608.000000
22/10/2020 16:59:39 pktgen: traffic completed.
22/10/2020 16:59:39 dut.10.240.183.99: stop
22/10/2020 16:59:39 dut.10.240.183.99:
Telling cores to ...
Waiting for lcores to finish...
---------------------- Forward statistics for port 0 ----------------------
RX-packets: 21937608 RX-dropped: 32861620 RX-total: 54799228
TX-packets: 21937608 TX-dropped: 0 TX-total: 21937608
----------------------------------------------------------------------------
---------------------- Forward statistics for port 1 ----------------------
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: 21937608 RX-dropped: 32861620 RX-total: 54799228
TX-packets: 21937608 TX-dropped: 0 TX-total: 21937608
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Done.
22/10/2020 16:59:39 dut.10.240.183.99: start
22/10/2020 16:59:40 dut.10.240.183.99:
io packet forwarding - ports=2 - cores=2 - streams=2 - NUMA support enabled, MP allocation mode: native
Logical Core 33 (socket 1) forwards packets on 1 streams:
RX P=0/Q=0 (socket 1) -> TX P=0/Q=0 (socket 1) peer=02:00:00:00:00:00
Logical Core 34 (socket 1) forwards packets on 1 streams:
RX P=1/Q=0 (socket 1) -> TX P=1/Q=0 (socket 1) peer=02:00:00:00:00:01
io packet forwarding packets/burst=32
nb forwarding cores=2 - nb forwarding ports=2
port 0: RX queue number: 1 Tx queue number: 1
Rx offloads=0x0 Tx offloads=0x0
RX queue: 0
RX desc=0 - RX free threshold=0
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0x0
TX queue: 0
TX desc=0 - TX free threshold=0
TX threshold registers: pthresh=0 hthresh=0 wthresh=0
TX offloads=0x0 - TX RS bit threshold=0
port 1: RX queue number: 1 Tx queue number: 1
Rx offloads=0x0 Tx offloads=0x0
RX queue: 0
RX desc=0 - RX free threshold=0
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0x0
TX queue: 0
TX desc=0 - TX free threshold=0
TX threshold registers: pthresh=0 hthresh=0 wthresh=0
TX offloads=0x0 - TX RS bit threshold=0
22/10/2020 16:59:40 pktgen: test port 1 map gen port 1
22/10/2020 16:59:40 pktgen: test port 1 map gen port 1
22/10/2020 16:59:40 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:d0',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:9d:1c:f8',
'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:82:00.0',
'prom': 'off',
'prom_supported': 'yes',
'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
'rx_filter_mode': 'hardware match',
'rx_queue': 'off',
'speed': 40.0,
'src_ipv4': '-',
'src_mac': '3c:fd:fe:9d:1c:f8',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
22/10/2020 16:59:40 pktgen: trex port <0> not support flow control
22/10/2020 16:59:40 pktgen: trex packet generator: run traffic 5s to warm up ...
22/10/2020 16:59:40 pktgen: check the trex port link status
22/10/2020 16:59:40 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:d1',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:9d:1c:f9',
'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:82:00.1',
'prom': 'on',
'prom_supported': 'yes',
'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
'rx_filter_mode': 'hardware match',
'rx_queue': 'off',
'speed': 40.0,
'src_ipv4': '-',
'src_mac': '3c:fd:fe:9d:1c:f9',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
22/10/2020 16:59:40 pktgen: begin traffic ......
22/10/2020 16:59:40 pktgen: {'ports': [1], 'mult': '100%', 'core_mask': None, 'force': True}
22/10/2020 16:59:45 pktgen: traffic completed.
22/10/2020 16:59:45 pktgen: check the trex port link status
22/10/2020 16:59:45 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:d1',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:9d:1c:f9',
'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:82:00.1',
'prom': 'on',
'prom_supported': 'yes',
'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
'rx_filter_mode': 'hardware match',
'rx_queue': 'off',
'speed': 40.0,
'src_ipv4': '-',
'src_mac': '3c:fd:fe:9d:1c:f9',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
22/10/2020 16:59:45 pktgen: begin traffic ......
22/10/2020 16:59:45 pktgen: {'ports': [1], 'mult': '100%', 'core_mask': None, 'force': True}
22/10/2020 16:59:55 pktgen: begin get port statistic ...
22/10/2020 16:59:55 pktgen: {'options': {'fields_config': {'ip': {'dst': {'action': 'random',
'end': '192.168.2.64',
'start': '192.168.2.1',
'step': 1}}},
'pcap': '/tmp/af_xdp_2_1_1024.pcap',
'stream_config': {'rate': 100,
'transmit_mode': 'continuous',
'txmode': {}}},
'pcap_file': '/tmp/af_xdp_2_1_1024.pcap',
'rx_port': 1,
'tx_port': 1}
22/10/2020 16:59:55 pktgen: {0: {'ibytes': 0,
'ierrors': 0,
'ipackets': 0,
'obytes': 0,
'oerrors': 0,
'opackets': 0,
'rx_bps': 625034.625,
'rx_bps_L1': 637242.3239746094,
'rx_pps': 76.2981185913086,
'rx_util': 0.0015931058099365235,
'tx_bps': 1931824.625,
'tx_bps_L1': 1969555.5478515625,
'tx_pps': 235.81826782226562,
'tx_util': 0.004923888869628907},
1: {'ibytes': 14794898432,
'ierrors': 0,
'ipackets': 14448145,
'obytes': 46875716608,
'oerrors': 0,
'opackets': 45777070,
'rx_bps': 11848009728.0,
'rx_bps_L1': 12079416188.0,
'rx_pps': 1446290.375,
'rx_util': 30.19854047,
'tx_bps': 37393453056.0,
'tx_bps_L1': 38123794175.99999,
'tx_pps': 4564632.0,
'tx_util': 95.30948543999999},
'flow_stats': {},
'global': {'bw_per_core': 39.03388595581055,
'cpu_util': 19.160472869873047,
'queue_full': 13813566,
'rx_bps': 11848634368.0,
'rx_cpu_util': 0.0,
'rx_drop_bps': 25546752000.0,
'rx_pps': 1446366.625,
'tx_bps': 37395386368.0,
'tx_pps': 4564868.0},
'latency': {},
'total': {'ibytes': 14794898432,
'ierrors': 0,
'ipackets': 14448145,
'obytes': 46875716608,
'oerrors': 0,
'opackets': 45777070,
'rx_bps': 11848634762.625,
'rx_bps_L1': 12080053430.323975,
'rx_pps': 1446366.6731185913,
'rx_util': 30.200133575809936,
'tx_bps': 37395384880.625,
'tx_bps_L1': 38125763731.547844,
'tx_pps': 4564867.818267822,
'tx_util': 95.31440932886962}}
22/10/2020 16:59:55 pktgen: {'ibytes': 14794898432,
'ierrors': 0,
'ipackets': 14448145,
'obytes': 46875716608,
'oerrors': 0,
'opackets': 45777070,
'rx_bps': 11848009728.0,
'rx_bps_L1': 12079416188.0,
'rx_pps': 1446290.375,
'rx_util': 30.19854047,
'tx_bps': 37393453056.0,
'tx_bps_L1': 38123794175.99999,
'tx_pps': 4564632.0,
'tx_util': 95.30948543999999}
22/10/2020 16:59:55 pktgen: Tx Port 1 stats:
tx_port: 1, tx_bps: 37393453056.000000, tx_pps: 4564632.000000
22/10/2020 16:59:55 pktgen: {'ibytes': 14794898432,
'ierrors': 0,
'ipackets': 14448145,
'obytes': 46875716608,
'oerrors': 0,
'opackets': 45777070,
'rx_bps': 11848009728.0,
'rx_bps_L1': 12079416188.0,
'rx_pps': 1446290.375,
'rx_util': 30.19854047,
'tx_bps': 37393453056.0,
'tx_bps_L1': 38123794175.99999,
'tx_pps': 4564632.0,
'tx_util': 95.30948543999999}
22/10/2020 16:59:55 pktgen: Rx Port 1 stats:
rx_port: 1, rx_bps: 11848009728.000000, rx_pps: 1446290.375000
22/10/2020 16:59:55 pktgen: throughput: pps_rx 1446290.375000, bps_rx 11848009728.000000
22/10/2020 16:59:55 pktgen: traffic completed.
22/10/2020 16:59:55 dut.10.240.183.99: stop
22/10/2020 16:59:55 dut.10.240.183.99:
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
----------------------------------------------------------------------------
---------------------- Forward statistics for port 1 ----------------------
RX-packets: 21669588 RX-dropped: 37977563 RX-total: 59647151
TX-packets: 21669588 TX-dropped: 0 TX-total: 21669588
----------------------------------------------------------------------------
+++++++++++++++ Accumulated forward statistics for all ports+++++++++++++++
RX-packets: 21669588 RX-dropped: 37977563 RX-total: 59647151
TX-packets: 21669588 TX-dropped: 0 TX-total: 21669588
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Done.
22/10/2020 16:59:55 dut.10.240.183.99: start
22/10/2020 16:59:55 dut.10.240.183.99:
io packet forwarding - ports=2 - cores=2 - streams=2 - NUMA support enabled, MP allocation mode: native
Logical Core 33 (socket 1) forwards packets on 1 streams:
RX P=0/Q=0 (socket 1) -> TX P=0/Q=0 (socket 1) peer=02:00:00:00:00:00
Logical Core 34 (socket 1) forwards packets on 1 streams:
RX P=1/Q=0 (socket 1) -> TX P=1/Q=0 (socket 1) peer=02:00:00:00:00:01
io packet forwarding packets/burst=32
nb forwarding cores=2 - nb forwarding ports=2
port 0: RX queue number: 1 Tx queue number: 1
Rx offloads=0x0 Tx offloads=0x0
RX queue: 0
RX desc=0 - RX free threshold=0
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0x0
TX queue: 0
TX desc=0 - TX free threshold=0
TX threshold registers: pthresh=0 hthresh=0 wthresh=0
TX offloads=0x0 - TX RS bit threshold=0
port 1: RX queue number: 1 Tx queue number: 1
Rx offloads=0x0 Tx offloads=0x0
RX queue: 0
RX desc=0 - RX free threshold=0
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0x0
TX queue: 0
TX desc=0 - TX free threshold=0
TX threshold registers: pthresh=0 hthresh=0 wthresh=0
TX offloads=0x0 - TX RS bit threshold=0
22/10/2020 16:59:55 TestAfXdp: Running test test_perf_two_port_and_separate_irqs, and 1518 frame size.
22/10/2020 16:59:55 pktgen: test port 0 map gen port 0
22/10/2020 16:59:55 pktgen: test port 0 map gen port 0
22/10/2020 16:59:55 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:d0',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:9d:1c:f8',
'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:82:00.0',
'prom': 'off',
'prom_supported': 'yes',
'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
'rx_filter_mode': 'hardware match',
'rx_queue': 'off',
'speed': 40.0,
'src_ipv4': '-',
'src_mac': '3c:fd:fe:9d:1c:f8',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
22/10/2020 16:59:55 pktgen: trex port <0> not support flow control
22/10/2020 16:59:55 pktgen: trex packet generator: run traffic 5s to warm up ...
22/10/2020 16:59:55 pktgen: check the trex port link status
22/10/2020 16:59:55 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:d0',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:9d:1c:f8',
'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:82:00.0',
'prom': 'on',
'prom_supported': 'yes',
'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
'rx_filter_mode': 'hardware match',
'rx_queue': 'off',
'speed': 40.0,
'src_ipv4': '-',
'src_mac': '3c:fd:fe:9d:1c:f8',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
22/10/2020 16:59:55 pktgen: begin traffic ......
22/10/2020 16:59:55 pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
22/10/2020 17:00:00 pktgen: traffic completed.
22/10/2020 17:00:00 pktgen: check the trex port link status
22/10/2020 17:00:00 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:d0',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:9d:1c:f8',
'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:82:00.0',
'prom': 'on',
'prom_supported': 'yes',
'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
'rx_filter_mode': 'hardware match',
'rx_queue': 'off',
'speed': 40.0,
'src_ipv4': '-',
'src_mac': '3c:fd:fe:9d:1c:f8',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
22/10/2020 17:00:00 pktgen: begin traffic ......
22/10/2020 17:00:00 pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
22/10/2020 17:00:10 pktgen: begin get port statistic ...
22/10/2020 17:00:10 pktgen: {'options': {'fields_config': {'ip': {'dst': {'action': 'random',
'end': '192.168.1.64',
'start': '192.168.1.1',
'step': 1}}},
'pcap': '/tmp/af_xdp_2_0_1518.pcap',
'stream_config': {'rate': 100,
'transmit_mode': 'continuous',
'txmode': {}}},
'pcap_file': '/tmp/af_xdp_2_0_1518.pcap',
'rx_port': 0,
'tx_port': 0}
22/10/2020 17:00:10 pktgen: {0: {'ibytes': 21615459381,
'ierrors': 13,
'ipackets': 14239436,
'obytes': 49403258388,
'oerrors': 0,
'opackets': 32544970,
'rx_bps': 17245528064.0,
'rx_bps_L1': 17472741904.0,
'rx_pps': 1420086.5,
'rx_util': 43.68185476,
'tx_bps': 39391940608.0,
'tx_bps_L1': 39910938568.0,
'tx_pps': 3243737.25,
'tx_util': 99.77734642},
1: {'ibytes': 87,
'ierrors': 0,
'ipackets': 1,
'obytes': 0,
'oerrors': 0,
'opackets': 0,
'rx_bps': 591579.0625,
'rx_bps_L1': 603134.4421386719,
'rx_pps': 72.22112274169922,
'rx_util': 0.0015078361053466795,
'tx_bps': 1867902.375,
'tx_bps_L1': 1904384.8212890623,
'tx_pps': 228.01528930664062,
'tx_util': 0.004760962053222656},
'flow_stats': {},
'global': {'bw_per_core': 229.40435791015625,
'cpu_util': 3.4344429969787598,
'queue_full': 0,
'rx_bps': 17246119936.0,
'rx_cpu_util': 0.0,
'rx_drop_bps': 22147688448.0,
'rx_pps': 1420158.75,
'tx_bps': 39393808384.0,
'tx_pps': 3243965.25},
'latency': {},
'total': {'ibytes': 21615459468,
'ierrors': 13,
'ipackets': 14239437,
'obytes': 49403258388,
'oerrors': 0,
'opackets': 32544970,
'rx_bps': 17246119643.0625,
'rx_bps_L1': 17473345038.44214,
'rx_pps': 1420158.7211227417,
'rx_util': 43.68336259610535,
'tx_bps': 39393808510.375,
'tx_bps_L1': 39912842952.82129,
'tx_pps': 3243965.2652893066,
'tx_util': 99.78210738205323}}
22/10/2020 17:00:10 pktgen: {'ibytes': 21615459381,
'ierrors': 13,
'ipackets': 14239436,
'obytes': 49403258388,
'oerrors': 0,
'opackets': 32544970,
'rx_bps': 17245528064.0,
'rx_bps_L1': 17472741904.0,
'rx_pps': 1420086.5,
'rx_util': 43.68185476,
'tx_bps': 39391940608.0,
'tx_bps_L1': 39910938568.0,
'tx_pps': 3243737.25,
'tx_util': 99.77734642}
22/10/2020 17:00:10 pktgen: Tx Port 0 stats:
tx_port: 0, tx_bps: 39391940608.000000, tx_pps: 3243737.250000
22/10/2020 17:00:10 pktgen: {'ibytes': 21615459381,
'ierrors': 13,
'ipackets': 14239436,
'obytes': 49403258388,
'oerrors': 0,
'opackets': 32544970,
'rx_bps': 17245528064.0,
'rx_bps_L1': 17472741904.0,
'rx_pps': 1420086.5,
'rx_util': 43.68185476,
'tx_bps': 39391940608.0,
'tx_bps_L1': 39910938568.0,
'tx_pps': 3243737.25,
'tx_util': 99.77734642}
22/10/2020 17:00:10 pktgen: Rx Port 0 stats:
rx_port: 0, rx_bps: 17245528064.000000, rx_pps: 1420086.500000
22/10/2020 17:00:10 pktgen: throughput: pps_rx 1420086.500000, bps_rx 17245528064.000000
22/10/2020 17:00:10 pktgen: traffic completed.
22/10/2020 17:00:10 dut.10.240.183.99: stop
22/10/2020 17:00:10 dut.10.240.183.99:
Telling cores to ...
Waiting for lcores to finish...
---------------------- Forward statistics for port 0 ----------------------
RX-packets: 21362662 RX-dropped: 23222006 RX-total: 44584668
TX-packets: 21362662 TX-dropped: 0 TX-total: 21362662
----------------------------------------------------------------------------
---------------------- Forward statistics for port 1 ----------------------
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: 21362662 RX-dropped: 23222006 RX-total: 44584668
TX-packets: 21362662 TX-dropped: 0 TX-total: 21362662
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Done.
22/10/2020 17:00:10 dut.10.240.183.99: start
22/10/2020 17:00:10 dut.10.240.183.99:
io packet forwarding - ports=2 - cores=2 - streams=2 - NUMA support enabled, MP allocation mode: native
Logical Core 33 (socket 1) forwards packets on 1 streams:
RX P=0/Q=0 (socket 1) -> TX P=0/Q=0 (socket 1) peer=02:00:00:00:00:00
Logical Core 34 (socket 1) forwards packets on 1 streams:
RX P=1/Q=0 (socket 1) -> TX P=1/Q=0 (socket 1) peer=02:00:00:00:00:01
io packet forwarding packets/burst=32
nb forwarding cores=2 - nb forwarding ports=2
port 0: RX queue number: 1 Tx queue number: 1
Rx offloads=0x0 Tx offloads=0x0
RX queue: 0
RX desc=0 - RX free threshold=0
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0x0
TX queue: 0
TX desc=0 - TX free threshold=0
TX threshold registers: pthresh=0 hthresh=0 wthresh=0
TX offloads=0x0 - TX RS bit threshold=0
port 1: RX queue number: 1 Tx queue number: 1
Rx offloads=0x0 Tx offloads=0x0
RX queue: 0
RX desc=0 - RX free threshold=0
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0x0
TX queue: 0
TX desc=0 - TX free threshold=0
TX threshold registers: pthresh=0 hthresh=0 wthresh=0
TX offloads=0x0 - TX RS bit threshold=0
22/10/2020 17:00:10 pktgen: test port 1 map gen port 1
22/10/2020 17:00:10 pktgen: test port 1 map gen port 1
22/10/2020 17:00:10 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:d0',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:9d:1c:f8',
'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:82:00.0',
'prom': 'off',
'prom_supported': 'yes',
'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
'rx_filter_mode': 'hardware match',
'rx_queue': 'off',
'speed': 40.0,
'src_ipv4': '-',
'src_mac': '3c:fd:fe:9d:1c:f8',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
22/10/2020 17:00:10 pktgen: trex port <0> not support flow control
22/10/2020 17:00:10 pktgen: trex packet generator: run traffic 5s to warm up ...
22/10/2020 17:00:10 pktgen: check the trex port link status
22/10/2020 17:00:10 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:d1',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:9d:1c:f9',
'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:82:00.1',
'prom': 'on',
'prom_supported': 'yes',
'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
'rx_filter_mode': 'hardware match',
'rx_queue': 'off',
'speed': 40.0,
'src_ipv4': '-',
'src_mac': '3c:fd:fe:9d:1c:f9',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
22/10/2020 17:00:10 pktgen: begin traffic ......
22/10/2020 17:00:10 pktgen: {'ports': [1], 'mult': '100%', 'core_mask': None, 'force': True}
22/10/2020 17:00:15 pktgen: traffic completed.
22/10/2020 17:00:15 pktgen: check the trex port link status
22/10/2020 17:00:15 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:d1',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:9d:1c:f9',
'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:82:00.1',
'prom': 'on',
'prom_supported': 'yes',
'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127},
'rx_filter_mode': 'hardware match',
'rx_queue': 'off',
'speed': 40.0,
'src_ipv4': '-',
'src_mac': '3c:fd:fe:9d:1c:f9',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
22/10/2020 17:00:15 pktgen: begin traffic ......
22/10/2020 17:00:15 pktgen: {'ports': [1], 'mult': '100%', 'core_mask': None, 'force': True}
22/10/2020 17:00:25 pktgen: begin get port statistic ...
22/10/2020 17:00:25 pktgen: {'options': {'fields_config': {'ip': {'dst': {'action': 'random',
'end': '192.168.2.64',
'start': '192.168.2.1',
'step': 1}}},
'pcap': '/tmp/af_xdp_2_1_1518.pcap',
'stream_config': {'rate': 100,
'transmit_mode': 'continuous',
'txmode': {}}},
'pcap_file': '/tmp/af_xdp_2_1_1518.pcap',
'rx_port': 1,
'tx_port': 1}
22/10/2020 17:00:25 pktgen: {0: {'ibytes': 0,
'ierrors': 0,
'ipackets': 0,
'obytes': 0,
'oerrors': 0,
'opackets': 0,
'rx_bps': 827367.625,
'rx_bps_L1': 838268.3769531249,
'rx_pps': 68.12969970703125,
'rx_util': 0.002095670942382812,
'tx_bps': 1887107.25,
'tx_bps_L1': 1911970.306640625,
'tx_pps': 155.39410400390625,
'tx_util': 0.004779925766601563},
1: {'ibytes': 21716366826,
'ierrors': 31,
'ipackets': 14305907,
'obytes': 49403299374,
'oerrors': 0,
'opackets': 32544997,
'rx_bps': 17390946304.0,
'rx_bps_L1': 17620076024.0,
'rx_pps': 1432060.75,
'rx_util': 44.05019006,
'tx_bps': 39552090112.0,
'tx_bps_L1': 40073198152.0,
'tx_pps': 3256925.25,
'tx_util': 100.18299538},
'flow_stats': {},
'global': {'bw_per_core': 311.0794982910156,
'cpu_util': 2.5430140495300293,
'queue_full': 0,
'rx_bps': 17391773696.0,
'rx_cpu_util': 0.0,
'rx_drop_bps': 22162202624.0,
'rx_pps': 1432128.875,
'tx_bps': 39553978368.0,
'tx_pps': 3257080.75},
'latency': {},
'total': {'ibytes': 21716366826,
'ierrors': 31,
'ipackets': 14305907,
'obytes': 49403299374,
'oerrors': 0,
'opackets': 32544997,
'rx_bps': 17391773671.625,
'rx_bps_L1': 17620914292.376953,
'rx_pps': 1432128.879699707,
'rx_util': 44.05228573094238,
'tx_bps': 39553977219.25,
'tx_bps_L1': 40075110122.30664,
'tx_pps': 3257080.644104004,
'tx_util': 100.18777530576659}}
22/10/2020 17:00:25 pktgen: {'ibytes': 21716366826,
'ierrors': 31,
'ipackets': 14305907,
'obytes': 49403299374,
'oerrors': 0,
'opackets': 32544997,
'rx_bps': 17390946304.0,
'rx_bps_L1': 17620076024.0,
'rx_pps': 1432060.75,
'rx_util': 44.05019006,
'tx_bps': 39552090112.0,
'tx_bps_L1': 40073198152.0,
'tx_pps': 3256925.25,
'tx_util': 100.18299538}
22/10/2020 17:00:25 pktgen: Tx Port 1 stats:
tx_port: 1, tx_bps: 39552090112.000000, tx_pps: 3256925.250000
22/10/2020 17:00:25 pktgen: {'ibytes': 21716366826,
'ierrors': 31,
'ipackets': 14305907,
'obytes': 49403299374,
'oerrors': 0,
'opackets': 32544997,
'rx_bps': 17390946304.0,
'rx_bps_L1': 17620076024.0,
'rx_pps': 1432060.75,
'rx_util': 44.05019006,
'tx_bps': 39552090112.0,
'tx_bps_L1': 40073198152.0,
'tx_pps': 3256925.25,
'tx_util': 100.18299538}
22/10/2020 17:00:25 pktgen: Rx Port 1 stats:
rx_port: 1, rx_bps: 17390946304.000000, rx_pps: 1432060.750000
22/10/2020 17:00:25 pktgen: throughput: pps_rx 1432060.750000, bps_rx 17390946304.000000
22/10/2020 17:00:25 pktgen: traffic completed.
22/10/2020 17:00:25 dut.10.240.183.99: stop
22/10/2020 17:00:25 dut.10.240.183.99:
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
----------------------------------------------------------------------------
---------------------- Forward statistics for port 1 ----------------------
RX-packets: 21470494 RX-dropped: 21009163 RX-total: 42479657
TX-packets: 21470494 TX-dropped: 0 TX-total: 21470494
----------------------------------------------------------------------------
+++++++++++++++ Accumulated forward statistics for all ports+++++++++++++++
RX-packets: 21470494 RX-dropped: 21009163 RX-total: 42479657
TX-packets: 21470494 TX-dropped: 0 TX-total: 21470494
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Done.
22/10/2020 17:00:25 dut.10.240.183.99: start
22/10/2020 17:00:25 dut.10.240.183.99:
io packet forwarding - ports=2 - cores=2 - streams=2 - NUMA support enabled, MP allocation mode: native
Logical Core 33 (socket 1) forwards packets on 1 streams:
RX P=0/Q=0 (socket 1) -> TX P=0/Q=0 (socket 1) peer=02:00:00:00:00:00
Logical Core 34 (socket 1) forwards packets on 1 streams:
RX P=1/Q=0 (socket 1) -> TX P=1/Q=0 (socket 1) peer=02:00:00:00:00:01
io packet forwarding packets/burst=32
nb forwarding cores=2 - nb forwarding ports=2
port 0: RX queue number: 1 Tx queue number: 1
Rx offloads=0x0 Tx offloads=0x0
RX queue: 0
RX desc=0 - RX free threshold=0
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0x0
TX queue: 0
TX desc=0 - TX free threshold=0
TX threshold registers: pthresh=0 hthresh=0 wthresh=0
TX offloads=0x0 - TX RS bit threshold=0
port 1: RX queue number: 1 Tx queue number: 1
Rx offloads=0x0 Tx offloads=0x0
RX queue: 0
RX desc=0 - RX free threshold=0
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0x0
TX queue: 0
TX desc=0 - TX free threshold=0
TX threshold registers: pthresh=0 hthresh=0 wthresh=0
TX offloads=0x0 - TX RS bit threshold=0
22/10/2020 17:00:25 TestAfXdp:
+--------------+--------------+------------------------+------------------+------------------------+------------------+
| FrameSize(B) | Queue number | Port0 Throughput(Mpps) | Port0 % linerate | Port1 Throughput(Mpps) | Port1 % linerate |
+==============+==============+========================+==================+========================+==================+
| 64 | 1 | 1.741 | 2.924 | 1.745 | 2.932 |
+--------------+--------------+------------------------+------------------+------------------------+------------------+
| 128 | 1 | 1.709 | 5.059 | 1.707 | 5.052 |
+--------------+--------------+------------------------+------------------+------------------------+------------------+
| 256 | 1 | 1.662 | 9.175 | 1.673 | 9.236 |
+--------------+--------------+------------------------+------------------+------------------------+------------------+
| 512 | 1 | 1.639 | 17.439 | 1.636 | 17.411 |
+--------------+--------------+------------------------+------------------+------------------------+------------------+
| 1024 | 1 | 1.458 | 30.445 | 1.446 | 30.199 |
+--------------+--------------+------------------------+------------------+------------------------+------------------+
| 1518 | 1 | 1.420 | 43.682 | 1.432 | 44.050 |
+--------------+--------------+------------------------+------------------+------------------------+------------------+
22/10/2020 17:00:25 TestAfXdp: Test Case test_perf_two_port_and_separate_irqs Result PASSED:
22/10/2020 17:00:25 dut.10.240.183.99: quit
22/10/2020 17:00:26 dut.10.240.183.99:
Telling cores to stop...
Waiting for lcores to finish...
---------------------- Forward statistics for port 0 ----------------------
RX-packets: 0 RX-dropped: 0 RX-total: 0
TX-packets: 0 TX-dropped: 0 TX-total: 0
----------------------------------------------------------------------------
---------------------- Forward statistics for port 1 ----------------------
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.
Stopping port 0...
Stopping ports...
Done
Stopping port 1...
Stopping ports...
Done
Shutting down port 0...
Closing ports...
eth_dev_close(): Closing AF_XDP ethdev on numa socket 1
Port 0 is closed
Done
Shutting down port 1...
Closing ports...
eth_dev_close(): Closing AF_XDP ethdev on numa socket 1
Port 1 is closed
Done
Bye...
22/10/2020 17:00:26 dts:
TEST SUITE ENDED: TestAfXdp
next prev parent reply other threads:[~2020-10-22 9:19 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-10-22 9:09 Xie wei
2020-10-22 9:19 ` Xie, WeiX [this message]
2020-10-29 8:52 ` Ma, LihongX
2020-11-03 2:04 ` Tu, Lijuan
2020-11-03 2:06 ` Tu, Lijuan
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=721faada37c94656926372f33681dcb8@intel.com \
--to=weix.xie@intel.com \
--cc=dts@dpdk.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).