Hi,
I'm trying to run trex in a Kubernetes cluster.
I have a master node and a worker node. In the worker is running OvS-DPDK and I have one pod with a trex container that is connected with Userspace CNI and Multus to OvS.
The interface is a net_virtio_user.
I'm getting this error from trex:
$ ./t-rex-64 -i --no-scapy-server --nc --no-watchdog
The ports are bound/configured.
Starting TRex v2.86 please wait ...
EAL: cannot open VFIO container, error 2 (No such file or directory)
update_memory_region(): Failed to get fd, ms=0x100033000 rte_errno=95
update_memory_region(): Failed to get fd, ms=0x100033000 rte_errno=95
Error: driver net_virtio_user is not supported. Please consult the documentation for a list of supported drivers
-------------------Configuration file---------------------
trex_cfg.yaml:
- port_limit : 2
version : 2
interfaces : ["--vdev=virtio_user0,path=/usrspcni/74ab18eb76f8-net1", "--vdev=virtio_user1,path=/usrspcni/74ab18eb76f8-net2"] # list of the interfaces
port_info : # set eth mac addr
- dest_mac : "3c:fd:fe:b4:41:09" # port 0
src_mac : "3c:fd:fe:b4:41:08"
- dest_mac : "3c:fd:fe:b4:41:08" # port 1
src_mac : "3c:fd:fe:b4:41:09"
Is it possible to use this type of interface or it isn't supported at all?
Thanks,
Daniele