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.03k stars 234 forks source link

Is Aquantia Atlantic NIC compatible with MoonGen? #308

Open JackKuo-tw opened 3 years ago

JackKuo-tw commented 3 years ago

I can bind my ASUS XG-C100C (chip is AQC107) to DPDK, but MoonGen can't find it.

Does anyone has any idea? or the Intel NIC is the best choice for MoonGen?

Error message:

$ sudo ./build/MoonGen examples/l3-load-latency.lua 0 0
[INFO]  Initializing DPDK. This will take a few seconds...
EAL: Detected 6 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
$ libmoon/deps/dpdk/usertools/dpdk-devbind.py --status

Network devices using DPDK-compatible driver
============================================
0000:01:00.0 'AQC107 NBase-T/IEEE 802.3bz Ethernet Controller [AQtion] 07b1' drv=igb_uio unused=vfio-pci

Network devices using kernel driver
===================================
0000:03:00.0 'RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller 8168' if=enp3s0 drv=r8169 unused=igb_uio,vfio-pci *Active*

Other Network devices
=====================
0000:04:00.0 'QCA9565 / AR9565 Wireless Network Adapter 0036' unused=igb_uio,vfio-pci

...