-
Notifications
You must be signed in to change notification settings - Fork 674
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Porting DPDK application #1454
Comments
Can you provide the full |
Almost. Here is what I did at one point and it worked. But now when I build the image it doesn't and cannot figure out how come: sudo docker run -d --name dpdk-channel --privileged --net=host -v /dev/hugepages:/dev/hugepages -v /var/run/dpdk:/var/run/dpdk dpdk-channel:1 |
@JasMetzger I never ran DPDK inside docker so I'm not sure how to to make it work, but it seems that @SesomB has some experience, maybe he can help |
I think it may not be specific to DPDK. The first call was to simply list the PCAP devices PCAPLiveDeviceList and it throws an error librte_pmd_e1000.so cannot open shared object file. This runs fine outside the container. |
Try to create a custom docker image that contains DPDK installation and PcapPlusPlus. |
I've gotten a little further. I have a custom docker image with DPDK and PCAP++ application installed. It runs and get through most of the initDPDK but complains about "ZERO DPDK ports are initialized.. Something went wrong while initializing.... |
Can you show us the output of Also, Try to run with: |
Question
My PCAP++ DPDK application runs on an Ubuntu 20.04 linux . I am trying to run same application in a 20.04 docker container with sufficient mappings and transparency on the host system. At one point I had this working with a bunch of -v options with docker run. But now when I run the app in a docker container I cannot initDPDK for some reason.
[ERROR: /PcapLiveDeviceList.cpp: init:46] Error searching for devices: Can't look for DPDK devices: The configuration file has invalid parameters.
It "Cannot init plugins" and errors.
What is the app missing from the environment?
Operating systems
No response
The text was updated successfully, but these errors were encountered: