I have a centos 7.4 machine where mellanox connect 5 part is installed (2x 100gb ports)
i have followed steps as shown here to install ofed driver
https://trex-tgn.cisco.com/trex/doc/trex_appendix_mellanox.html#_build_with_native_ofed
DPDK is also installed on base machine and
Trex is running fine on base machine.
My goal is to run Trex from container using connect 5 ports
i followed steps here; but trex is giving errors.
https://trex-tgn.cisco.com/trex/doc/trex_vm_manual.html
i tried running in privileged mode but trex still faces issues.
docker run --rm -it --privileged --cap-add=ALL -v /usr/src/kernels/:/usr/src/kernels/ -v /lib/modules/:/lib/modules/ -v /mnt/huge/:/mnt/huge/ -v /dev/vfio:/dev/vfio -v /sys/bus/pci/devices:/sys/bus/pci/devices -v /sys/devices/system/node:/sys/devices/system/node -v /dev:/dev trexcisco/trex:2.36
following is the error
[root@2a5785cde089 v2.36]# ./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.36 please wait ...
PMD: net_mlx5: cannot get MAC address, is mlx5_en loaded? (errno: Success)
EAL: Requested device 0000:05:00.0 cannot be used
PMD: net_mlx5: cannot get MAC address, is mlx5_en loaded? (errno: Success)
EAL: Requested device 0000:05:00.1 cannot be used
Could not find all interfaces (asked for: 2, found: 0).
[root@2a5785cde089 v2.36]#
can you help me ?
thanks
Ankit
--
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/8b463a2a-1c9a-4e11-aa8a-dda203f64bfe%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.