Hello Team,
I have installed TREX on Ubuntu 14-04.
After doing initial setup and configuration, 10 Gi port validation failed by DPDK .
Can someone help me on this? Do I need to do any more additional steps.
Trex details >>>
ssh tr...@172.27.58.75/trex123
trex@trex-virtual-machine:/opt/trex/v2.51$ sudo ./t-rex-64 -i
Killing Scapy server... Scapy server is killed
Starting Scapy server.... Scapy server is started
The ports are bound/configured.
Starting TRex v2.51 please wait ...
eth_ixgbe_dev_init(): The EEPROM checksum is not valid: -1
EAL: ethdev initialisation failedEAL: Requested device 0000:0b:00.0 cannot be used
eth_ixgbe_dev_init(): The EEPROM checksum is not valid: -1
EAL: ethdev initialisation failedEAL: Requested device 0000:0b:00.1 cannot be used
ERROR in DPDK map
Could not find requested interface 0b:00.1
trex@trex-virtual-machine:/opt/trex/v2.51$ sudo vi /etc/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 : ["0b:00.0","0b:00.1"]
port_info : # Port IPs. Change to suit your needs. In case of loopback, you can leave as is.
# - ip : 1.1.1.1
# default_gw : 2.2.2.2
# - ip : 2.2.2.2
# default_gw : 1.1.1.1
scan_only_1g : false
# enable_zmq_pub : true # enable publisher for stats data
# zmq_pub_port : 4507
# telnet_port : 4508 # the telnet port in case it is enable ( with intercative mode )
port_info : # set eh mac addr
#port_info : # set eh mac addr
- dest_mac : [0x74,0xa2,0xe6,0x24,0xf0,0x16]
src_mac : [0x00,0x55,0x56,0x8e,0x6f,0xfd]
- dest_mac : [0x74,0xa2,0xe6,0x24,0xf0,0x17]
src_mac : [0x00,0x55,0x56,0x8e,0x62,0x19]
Thanks,
Ravi.
--
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+u...@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/CB040206-FEB2-4E3E-BA42-7E5B22A7DEB0%40cisco.com.
For more options, visit https://groups.google.com/d/optout.
Hi Hanoh,
I have 2 different setup , one with working Trex and another one with DPDK error.
Red one is Errored version and Green one is working fine. Both the NIC cards are same. Only diff I can see is Driver, working one has Driver as none, and failed one has it igb_uio.
How can I make it work? Do I need do something on ESXi host side.
Thanks,
Ravi.
trex@trex-virtual-machine:/opt/trex/v2.51$ sudo ./dpdk_setup_ports.py -t
[sudo] password for trex:
+----+------+---------+-------------------+------------------------------------------------+---------+----------+----------+
| ID | NUMA | PCI | MAC | Name | Driver | Linux IF | Active |
+====+======+=========+===================+================================================+=========+==========+==========+
| 0 | -1 | 03:00.0 | 00:50:56:8e:51:4a | VMXNET3 Ethernet Controller | vmxnet3 | eth0 | *Active* |
+----+------+---------+-------------------+------------------------------------------------+---------+----------+----------+
| 1 | -1 | 0b:00.0 | | 82599ES 10-Gigabit SFI/SFP+ Network Connection | igb_uio | | |
+----+------+---------+-------------------+------------------------------------------------+---------+----------+----------+
| 2 | -1 | 0b:00.1 | | 82599ES 10-Gigabit SFI/SFP+ Network Connection | igb_uio | | |
+----+------+---------+-------------------+------------------------------------------------+---------+----------+----------+
trex@trex-predo:~/v2.41$ sudo ./dpdk_setup_ports.py -t
+----+------+---------+-------------------+------------------------------------------------+---------+----------+----------+
| ID | NUMA | PCI | MAC | Name | Driver | Linux IF | Active |
+====+======+=========+===================+================================================+=========+==========+==========+
| 0 | -1 | 03:00.0 | 00:50:56:8e:59:fc | VMXNET3 Ethernet Controller | vmxnet3 | eth0 | *Active* |
+----+------+---------+-------------------+------------------------------------------------+---------+----------+----------+
| 1 | -1 | 04:00.0 | 00:50:56:8e:6f:fd | VMXNET3 Ethernet Controller | igb_uio | | |
+----+------+---------+-------------------+------------------------------------------------+---------+----------+----------+
| 2 | -1 | 0b:00.0 | | 82599ES 10-Gigabit SFI/SFP+ Network Connection | | | |
+----+------+---------+-------------------+------------------------------------------------+---------+----------+----------+
| 3 | -1 | 0b:00.1 | | 82599ES 10-Gigabit SFI/SFP+ Network Connection | | | |
+----+------+---------+-------------------+------------------------------------------------+---------+----------+----------+
| 4 | -1 | 1b:00.0 | 00:50:56:8e:62:17 | VMXNET3 Ethernet Controller | igb_uio | | |
+----+------+---------+-------------------+------------------------------------------------+---------+----------+----------+