First time user of TRex on a Intel 82599ES 10-Gigabit NIC. Using the simple cfg yaml for a loopback scenario [DPDK in a box].
When i run trex, it errors as below. I have tried v2.36 and v2.35.
[root@trexnode v2.36]# ./t-rex-64 -f /etc/trex_cfg.yaml
The ports are bound/configured.
Starting TRex v2.36 please wait ...
set driver name net_ixgbe
driver capability : TCP_UDP_OFFLOAD TSO
Number of ports found: 2
zmq publisher at: tcp://*:4500
wait 1 sec .
port : 0
------------
link : link : Link Up - speed 10000 Mbps - full-duplex
promiscuous : 0
port : 1
------------
link : link : Link Up - speed 10000 Mbps - full-duplex
promiscuous : 0
number of ports : 2
max cores for 2 ports : 1
max queue per port : 3
yaml-cpp: error at line 1, column 3: key not found: duration
[root@trexnode v2.36]# ./t-rex-64 -f /etc/trex_cfg.yaml -c 2 -d 30
The ports are bound/configured.
Starting TRex v2.36 please wait ...
set driver name net_ixgbe
driver capability : TCP_UDP_OFFLOAD TSO
Number of ports found: 2
zmq publisher at: tcp://*:4500
wait 1 sec .
port : 0
------------
link : link : Link Up - speed 10000 Mbps - full-duplex
promiscuous : 0
port : 1
------------
link : link : Link Up - speed 10000 Mbps - full-duplex
promiscuous : 0
number of ports : 2
max cores for 2 ports : 2
max queue per port : 4
yaml-cpp: error at line 1, column 3: key not found: duration
[root@trexnode v2.36]#
[root@trexnode v2.35]#./t-rex-64 -f /etc/trex235mac_cfg.yaml -c 2 -d 30
The ports are bound/configured.
Starting TRex v2.35 please wait ...
set driver name net_ixgbe
driver capability : TCP_UDP_OFFLOAD TSO
Number of ports found: 2
zmq publisher at: tcp://*:4500
wait 1 sec .
port : 0
------------
link : link : Link Up - speed 10000 Mbps - full-duplex
promiscuous : 0
port : 1
------------
link : link : Link Up - speed 10000 Mbps - full-duplex
promiscuous : 0
number of ports : 2
max cores for 2 ports : 2
max queue per port : 4
yaml-cpp: error at line 1, column 3: key not found: duration
[root@trexnode v2.35]#
Here is the cfg file:
[root@trexnode etc]# cat trex_cfg.yaml
- port_limit : 2
version : 2
#List of interfaces. Change to suit your setup. Use ./dpdk_setup_ports.py -s to see available options
interfaces : ["05:00.0","05:00.1"]
port_info : # Port IPs. Change to suit your needs. In case of loopback, you can leave as is.
- ip : 0.0.0.0
default_gw : 0.0.0.0
- ip : 0.0.0.0
default_gw : 0.0.0.0
[root@trexnode etc]# cat trex235mac_cfg.yaml
- port_limit : 2 # this option can limit the number of port of the platform
version : 2
interfaces : ["05:00.0","05:00.1"] # list of the interfaces to bind run ./dpdk_nic_bind.py --status
port_info : # set eh mac addr
- dest_mac : [14:02:ec:74:2b:ec] # port 0
src_mac : [14:02:ec:74:2b:ed]
- dest_mac : [0x0,0x0,0x0,0x2,0x0,0x00] # port 1
src_mac : [0x0,0x0,0x0,0x1,0x0,0x00]
- dest_mac : [0x0,0x0,0x0,0x5,0x0,0x00] # port 2
src_mac : [0x0,0x0,0x0,0x6,0x0,0x00]
- dest_mac : [0x0,0x0,0x0,0x6,0x0,0x01] # port 3
src_mac : [0x0,0x0,0x0,0x5,0x0,0x02]
- dest_mac : [0x0,0x0,0x0,0x9,0x0,0x03] # port 4
src_mac : [0x0,0x0,0x0,0xa,0x0,0x04]
- dest_mac : [0x0,0x0,0x0,0xa,0x0,0x05] # port 5
src_mac : [0x0,0x0,0x0,0x9,0x0,0x06]
- dest_mac : [0x0,0x0,0x0,0xd,0x0,0x07] # port 6
src_mac : [0x0,0x0,0x0,0xe,0x0,0x08]
- dest_mac : [0x0,0x0,0x0,0xe,0x0,0x09] # port 7
src_mac : [0x0,0x0,0x0,0xd,0x0,0x0a]
[root@trexnode etc]#
What should be done to get this working.
Thanks,
Sandeep Raman.
--
You received this message because you are subscribed to the Google Groups "TRex Traffic Generator" group.
To unsubscribe from this group and stop receiving emails from it, send an email to trex-tgn+unsubscribe@googlegroups.com.
To post to this group, send email to trex...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/trex-tgn/53bec9a2-fa5b-4edb-92fc-1f9012438b97%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To unsubscribe from this group and stop receiving emails from it, send an email to trex-tgn+u...@googlegroups.com.