Log Snippet:
# ./t-rex-64 -i -v 7
Killing Scapy server... Scapy server is killed
Starting Scapy server.... Scapy server is started
The ports are bound/configured.
Starting TRex v2.48 please wait ...
Using configuration file /etc/trex_cfg.yaml
port limit : 2
port_bandwidth_gb : 10
if_mask : None
prefix : trex2
is low-end : 0
stack type :
limit_memory : 3096
thread_per_dual_if : 1
if : 83:00.0, 83:00.1,
enable_zmq_pub : 1
zmq_pub_port : 4500
m_zmq_rpc_port : 4501
src : 6c:b3:11:50:29:d4
dest : 6c:b3:11:50:29:d6
src : 6c:b3:11:50:29:d6
dest : 6c:b3:11:50:29:d4
memory per 2x10G ports
MBUF_64 : 16380
MBUF_128 : 8190
MBUF_256 : 8190
MBUF_512 : 8190
MBUF_1024 : 8190
MBUF_2048 : 4095
MBUF_4096 : 128
MBUF_9K : 512
TRAFFIC_MBUF_64 : 65520
TRAFFIC_MBUF_128 : 32760
TRAFFIC_MBUF_256 : 8190
TRAFFIC_MBUF_512 : 8190
TRAFFIC_MBUF_1024 : 8190
TRAFFIC_MBUF_2048 : 32760
TRAFFIC_MBUF_4096 : 128
TRAFFIC_MBUF_9K : 512
MBUF_DP_FLOWS : 524288
MBUF_GLOBAL_FLOWS : 5120
master thread : 2
rx thread : 4
dual_if : 0
socket : 0
[ 6 7 8 9 10 ]
CTimerWheelYamlInfo does not exist
flags : 8010f00
write_file : 0
verbose : 7
realtime : 1
flip : 0
cores : 1
single core : 0
flow-flip : 0
no clean close : 0
zmq_publish : 1
vlan mode : 0
client_cfg : 0
mbuf_cache_disable : 0
cfg file :
mac file :
out file :
client cfg file :
duration : 0
factor : 1
mbuf_factor : 1
latency : 0 pkt/sec
zmq_port : 4500
telnet_port : 4501
expected_ports : 2
tw_bucket_usec : 20.000000 usec
tw_buckets : 1024 usec
tw_levels : 3 usec
port : 0 dst:6c:b3:11:50:29:d6 src:6c:b3:11:50:29:d4
port : 1 dst:6c:b3:11:50:29:d4 src:6c:b3:11:50:29:d6
port : 2 dst:00:00:00:01:00:00 src:00:00:00:00:00:00
port : 3 dst:00:00:00:01:00:00 src:00:00:00:00:00:00
port : 4 dst:00:00:00:01:00:00 src:00:00:00:00:00:00
port : 5 dst:00:00:00:01:00:00 src:00:00:00:00:00:00
port : 6 dst:00:00:00:01:00:00 src:00:00:00:00:00:00
port : 7 dst:00:00:00:01:00:00 src:00:00:00:00:00:00
port : 8 dst:00:00:00:01:00:00 src:00:00:00:00:00:00
port : 9 dst:00:00:00:01:00:00 src:00:00:00:00:00:00
port : 10 dst:00:00:00:01:00:00 src:00:00:00:00:00:00
port : 11 dst:00:00:00:01:00:00 src:00:00:00:00:00:00
port : 12 dst:00:00:00:01:00:00 src:00:00:00:00:00:00
port : 13 dst:00:00:00:01:00:00 src:00:00:00:00:00:00
port : 14 dst:00:00:00:01:00:00 src:00:00:00:00:00:00
port : 15 dst:00:00:00:01:00:00 src:00:00:00:00:00:00
Total Memory :
MBUF_64 : 81900
MBUF_128 : 40950
MBUF_256 : 16380
MBUF_512 : 16380
MBUF_1024 : 16380
MBUF_2048 : 36855
MBUF_4096 : 1024
MBUF_DP_FLOWS : 524288
MBUF_GLOBAL_FLOWS : 5120
get_each_core_dp_flows : 524288
Total memory : 248.40 Mbytes
core_mask 54
sockets : 0
active sockets : 1
ports_sockets : 1
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
phy | virt
6 1
DPDK args
xx -c 0x54 -n 4 --log-level 8 --master-lcore 2 -w 0000:83:00.0 -w 0000:83:00.1 --legacy-mem --file-prefix trex2 --socket-mem 3096,3096
EAL: Detected 72 lcore(s)
EAL: Detected 2 NUMA nodes
EAL: Multi-process socket /var/run/dpdk/trex2/mp_socket
EAL: No free hugepages reported in hugepages-1048576kB
EAL: Probing VFIO support...
EAL: PCI device 0000:83:00.0 on NUMA socket 1
EAL: probe driver: 8086:1583 net_i40e
EAL: PCI device 0000:83:00.1 on NUMA socket 1
EAL: probe driver: 8086:1583 net_i40e
input : [83:00.0, 83:00.1]
dpdk : [0000:83:00.0, 0000:83:00.1]
pci_scan : [0000:83:00.0, 0000:83:00.1]
map : [ 0, 1]
TRex port mapping
-----------------
TRex vport: 0 dpdk_rte_eth: 0
TRex vport: 1 dpdk_rte_eth: 1
set driver name net_i40e
driver capability : TCP_UDP_OFFLOAD TSO
Number of ports found: 2
if_index : 0
driver name : net_i40e
min_rx_bufsize : 1024
max_rx_pktlen : 9728
max_rx_queues : 320
max_tx_queues : 320
max_mac_addrs : 64
rx_offload_capa : 0x13e6f
tx_offload_capa : 0x19fbf
rss reta_size : 512
flow_type_rss : 0x7ef8
port 0: FW ver 06.00.01
port 1: FW ver 06.00.01
zmq publisher at: tcp://*:4500
port 0 desc: Ethernet Controller XL710 for 40GbE QSFP+
port 1 desc: Ethernet Controller XL710 for 40GbE QSFP+
wait 1 sec .
port : 0
------------
link : link : Link Up - speed 40000 Mbps - full-duplex
promiscuous : 0
port : 1
------------
link : link : Link Up - speed 40000 Mbps - full-duplex
promiscuous : 0
number of ports : 2
max cores for 2 ports : 1
max queue per port : 3
-------------------------------
RX core uses TX queue number 1 on all ports
core, c-port, c-queue, s-port, s-queue, lat-queue
------------------------------------------
1 0 0 1 0 2
-------------------------------
base stack ctor
Legacy stack ctor
add port node
add node
Run pending tasks for ticket 0
Running in FG
Legacy node ctor
base stack ctor
Legacy stack ctor
add port node
add node
Run pending tasks for ticket 0
Running in FG
Legacy node ctor
i40e_ethertype_filter_set(): filter vlan ether_type in first tag is not supported.
i40e_ethertype_filter_set(): filter vlan ether_type in first tag is not supported.
*******Pretest after resolving ********
Pre test info start ===================
Port 0:
Sources:
ip: 0.0.0.0 mac: 6c:b3:11:50:29:d4
Destinations:
Port 1:
Sources:
ip: 0.0.0.0 mac: 6c:b3:11:50:29:d6
Destinations:
Pre test info end ===================
Pre test statistics for port 0
opackets : 0
obytes : 0
ipackets : 0
ibytes : 0
m_tx_arp : 0
m_rx_arp : 0
i40e_ethertype_filter_set(): filter vlan ether_type in first tag is not supported.
Pre test statistics for port 1
opackets : 0
obytes : 0
ipackets : 0
ibytes : 0
m_tx_arp : 0
m_rx_arp : 0
i40e_ethertype_filter_set(): filter vlan ether_type in first tag is not supported.
clear ip4
clear ip6
conf dst
set dst valid
set is loop
Run pending tasks for ticket 0
Running in FG
another cfg
conf dst internal
conf dst valid internal
conf loop internal
clear ip4
clear ip6
conf dst
set dst valid
set is loop
Run pending tasks for ticket 0
Running in FG
another cfg
conf dst internal
conf dst valid internal
conf loop internal
-Per port stats table
ports | 0 | 1
-----------------------------------------------------------------------------------------
opackets | 0 | 0
obytes | 0 | 0
ipackets | 0 | 0
ibytes | 0 | 0
ierrors | 0 | 0
oerrors | 0 | 0
Tx Bw | 0.00 bps | 0.00 bps
-Global stats enabled
Cpu Utilization : 0.0 %
Platform_factor : 1.0
Total-Tx : 0.00 bps
Total-Rx : 0.00 bps
Total-PPS : 0.00 pps
Total-CPS : 0.00 cps
Expected-PPS : 0.00 pps
Expected-CPS : 0.00 cps
Expected-BPS : 0.00 bps
Active-flows : 0 Clients : 0 Socket-util : 0.0000 %
Open-flows : 0 Servers : 0 Socket : 0 Socket/Clients : -nan
OOO Packets : 0
Missed Packets : 0
drop-rate : 0.00 bps
current time : 1.7 sec
test duration : 0.0 sec
Regards,
Akash Saxena