MoonGen icon indicating copy to clipboard operation
MoonGen copied to clipboard

Invalid device number

Open shashankbr11 opened this issue 6 years ago • 5 comments

The usage of this command shown below is giving me errors

sudo ./moongen-simple start "load-latency:0,1:rate=1000"

[ERROR] Invalid device number "0" for flow "load-latency" [ERROR] Invalid device number "1" for flow "load-latency" [ERROR] Invalid device number "rate=1000" for flow "load-latency" [ERROR] Need to pass at least one tx or rx device [ERROR] No valid flows remaining

Could you please guide me on the correct usage of the command? I wish to send traffic to multicores by repeating the 0,1 as mentioned in the git page. On lspci on my PC, I have found the device ID to be 02:00.0 and 02:00.1 for Intel 82599ES adapter and that is the one that I have bound by running the bind-interfaces.sh file. Can you please guide on the correct usage of this id or should I have to specify the interface names? What should be the syntax to specify a tx or rx device?

shashankbr11 avatar Nov 01 '19 10:11 shashankbr11

Please post the full output.

emmericp avatar Nov 01 '19 10:11 emmericp

The full output

[INFO] Initializing DPDK. This will take a few seconds... ERROR: This system does not support "SSE4_1". Please check that RTE_MACHINE is set correctly. EAL: FATAL: unsupported cpu type. EAL: unsupported cpu type. [INFO] Found 0 usable devices: [ERROR] Invalid device number "0" for flow "load-latency". [ERROR] Invalid device number "1" for flow "load-latency". [ERROR] Invalid device number "rate=1000" for flow "load-latency". [ERROR] Need to pass at least one tx or rx device. [ERROR] No valid flows remaining.

shashankbr11 avatar Nov 04 '19 06:11 shashankbr11

any observations based on my previous comment?

shashankbr11 avatar Nov 06 '19 04:11 shashankbr11

any updates regarding this issue.. any reply in this regard would be appreciated..

shashankbr11 avatar Nov 07 '19 05:11 shashankbr11

try this : sudo ./moongen-simple start load-latency:0:1:rate=10Mp/s

badr-bzh avatar Dec 11 '19 13:12 badr-bzh