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 234 forks source link

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

Closed qjiajia closed 4 years ago

qjiajia commented 5 years ago

Hi: 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] Found 2 usable devices: Device 0: 6C:92:BF:5B:C5:16 (Intel Corporation Ethernet Controller X710 for 10GbE SFP+) Device 1: 6C:92:BF:5B:C5:57 (Intel Corporation Ethernet Controller X710 for 10GbE SFP+) [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

I would like to express my deep appreciation for your Suggestions.

emmericp commented 4 years ago

x710 does not support this feature, only very few nics do, consult the datasheets for details