emmericp / MoonGen

MoonGen is a fully scriptable high-speed packet generator built on DPDK and LuaJIT. It can saturate a 10 Gbit/s connection with 64 byte packets on a single CPU core while executing user-provided Lua scripts for each packet. Multi-core support allows for even higher rates. It also features precise and accurate timestamping and rate control.
MIT License
1.04k stars 235 forks source link

timestamping all rx packets is not supported by the hardware or driver #241

Closed qjiajia closed 5 years ago

qjiajia commented 5 years ago

Hello: I tried to use moonsniffer to grab the package, but it kept coming up with the following error, as shown in the figure below. My network card model is x70, is it the reason that the network card model I use is not compatible with yours? Is there any way to solve it?

[INFO] Waiting for devices to come up... [INFO] Device 1 (6C:92:BF:5B:C5:57) is up: 10000 MBit/s [INFO] Device 0 (6C:92:BF:5B:C5:16) is up: 10000 MBit/s [INFO] 2 devices are up. [FATAL] Lua error in task master /home/nupt5/MoonGen/build/../libmoon/lua/device.lua:477: timestamping all rx packets is not supported by the hardware or driver . . . (8) Lua function 'main' at file '/home/nupt5/MoonGen/build/../libmoon/lua/main.lua:146' (best guess) Local variables: task = string: "master" /home/nupt5/MoonGen/build/../libmoon/lua/device.lua:477: timestamping all rx packets is not supported by the hardware or driver