usnistgov / ndn-dpdk

NDN-DPDK: High-Speed Named Data Networking Forwarder
https://www.nist.gov/publications/ndn-dpdk-ndn-forwarding-100-gbps-commodity-hardware
Other
131 stars 26 forks source link

Failing to create an eth port with PCI #80

Closed sjzhu closed 11 months ago

sjzhu commented 11 months ago

Hi! I'm trying to use NDN-DPDK and I'm running into an issue creating PCI eth ports (XDP works fine, but seems to be slow). Context: I'm working on the FABRIC testbed, which I believe has some NDN-DPDK work already! https://github.com/yoursunny/fabric I have set up the drivers, and have run a basic DPDK tutorial, so it seems like the drivers work properly. image

However, upon installing NDN-DPDK and attempting to create a PCI eth port with that same device, I get the following error: image systemd logs: image

Is there some other step I need to do in order to make the PCI devices available for NDN-DPDK to use? Thanks!

sjzhu commented 11 months ago

😅 I figured it out! I needed to activate the forwarder role before trying to bind the port! Sorry for the spurious issue!