You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thank you sir, can you also please help me up with these queries
Do we need external adapters to run dpdk in virtual machine or in my local machine.
In spite of having supported adapters I'm getting the following error, I've also successfully binded the NICs, but showing valid port array as 0.
sudo ./moongen-simple start load-latency:0:1:rate=10Mp/s,time=3m
[INFO] Initializing DPDK. This will take a few seconds...
EAL: Detected 8 lcore(s)
EAL: No free hugepages reported in hugepages-1048576kB
EAL: Probing VFIO support...
EAL: VFIO support initialized
[INFO] Found 0 usable devices:
[ERROR] Invalid device number "0" for flow "load-latency".
[ERROR] Invalid device number "1" for flow "load-latency".
[ERROR] Need to pass at least one tx or rx device.
[ERROR] No valid flows remain
sudo ./build/MoonGen examples/l3-load-latency.lua 0 1
[INFO] Initializing DPDK. This will take a few seconds...
EAL: Detected 8 lcore(s)
EAL: No free hugepages reported in hugepages-1048576kB
EAL: Probing VFIO support...
EAL: VFIO support initialized
[INFO] Found 0 usable devices:
[FATAL] Lua error in task master
/home/ubuntu/MoonGen/build/../libmoon/lua/device.lua:100: there are only 0 ports, tried to configure port id 0
Stack Traceback
(2) Lua method 'fatal' at file '/home/ubuntu/MoonGen/build/../libmoon/lua/log.lua:129'
Local variables:
self = table: 0x411bcf98 {DEBUG:0, fatal:function: 0x4020bae0, writeToLog:function: 0x4020bac0, INFO:1 (more...)}
str = string: "there are only 0 ports, tried to configure port id 0"
(3) Lua field 'config' at file '/home/ubuntu/MoonGen/build/../libmoon/lua/device.lua:100'
Local variables:
args = table: 0x41f1b9f0 {rxQueues:3, txQueues:3, port:0}
(4) Lua function 'master' at file 'examples/l3-load-latency.lua:37' (best guess)
Local variables:
args = table: 0x4191f1a8 {rxDev:1, txDev:0, flows:4, rate:10000, size:60}
(5) global C function 'xpcall'
(6) Lua upvalue 'master' at file '/home/ubuntu/MoonGen/build/../libmoon/lua/main.lua:96'
Local variables:
_ = string: "./build/MoonGen"
file = string: "examples/l3-load-latency.lua"
args = table: 0x408824b0 {1:0, 2:1}
cfgFile = nil
ok = boolean: true
parsedArgs = table: 0x4191eec0 {1:table: 0x4191f1a8}
(7) Lua function 'main' at file '/home/ubuntu/MoonGen/build/../libmoon/lua/main.lua:146' (best guess)
Local variables:
task = string: "master"
/home/ubuntu/MoonGen/build/../libmoon/lua/device.lua:100: there are only 0 ports, tried to configure port id 0
Hi, did you find a solution for this issue?
Nope, I thought we need some supported external adapters, so the work is on halt. Please let me know if you find the solution.
Hi, did you find a solution for this issue?
Nope, I thought we need some supported external adapters, so the work is on halt. Please let me know if you find the solution.
Thank you sir, can you also please help me up with these queries
sudo ./moongen-simple start load-latency:0:1:rate=10Mp/s,time=3m
[INFO] Initializing DPDK. This will take a few seconds...
EAL: Detected 8 lcore(s)
EAL: No free hugepages reported in hugepages-1048576kB
EAL: Probing VFIO support...
EAL: VFIO support initialized
[INFO] Found 0 usable devices:
[ERROR] Invalid device number "0" for flow "load-latency".
[ERROR] Invalid device number "1" for flow "load-latency".
[ERROR] Need to pass at least one tx or rx device.
[ERROR] No valid flows remain
sudo ./build/MoonGen examples/l3-load-latency.lua 0 1
[INFO] Initializing DPDK. This will take a few seconds...
EAL: Detected 8 lcore(s)
EAL: No free hugepages reported in hugepages-1048576kB
EAL: Probing VFIO support...
EAL: VFIO support initialized
[INFO] Found 0 usable devices:
[FATAL] Lua error in task master
/home/ubuntu/MoonGen/build/../libmoon/lua/device.lua:100: there are only 0 ports, tried to configure port id 0
Stack Traceback
(2) Lua method 'fatal' at file '/home/ubuntu/MoonGen/build/../libmoon/lua/log.lua:129'
Local variables:
self = table: 0x411bcf98 {DEBUG:0, fatal:function: 0x4020bae0, writeToLog:function: 0x4020bac0, INFO:1 (more...)}
str = string: "there are only 0 ports, tried to configure port id 0"
(3) Lua field 'config' at file '/home/ubuntu/MoonGen/build/../libmoon/lua/device.lua:100'
Local variables:
args = table: 0x41f1b9f0 {rxQueues:3, txQueues:3, port:0}
(4) Lua function 'master' at file 'examples/l3-load-latency.lua:37' (best guess)
Local variables:
args = table: 0x4191f1a8 {rxDev:1, txDev:0, flows:4, rate:10000, size:60}
(5) global C function 'xpcall'
(6) Lua upvalue 'master' at file '/home/ubuntu/MoonGen/build/../libmoon/lua/main.lua:96'
Local variables:
_ = string: "./build/MoonGen"
file = string: "examples/l3-load-latency.lua"
args = table: 0x408824b0 {1:0, 2:1}
cfgFile = nil
ok = boolean: true
parsedArgs = table: 0x4191eec0 {1:table: 0x4191f1a8}
(7) Lua function 'main' at file '/home/ubuntu/MoonGen/build/../libmoon/lua/main.lua:146' (best guess)
Local variables:
task = string: "master"
/home/ubuntu/MoonGen/build/../libmoon/lua/device.lua:100: there are only 0 ports, tried to configure port id 0
Originally posted by @rohit172001-eng in #306 (comment)
The text was updated successfully, but these errors were encountered: