Comments (5)
...that's what they use to initialize drivers in their examples that come with the DPDK distribution.
from drv-netif-dpdk.
I can't see rte_pmd_init_all() in the dpdk.org release. Am I blind, or is the latest DPDK you're referring to something else than the open source one?
That said, I think init_all would be useful. One could easily do a homegrown approximation. Do you want to send a patch which works against the dpdk.org release?
from drv-netif-dpdk.
The one I'm working with is v1.3.1.7, I got it from Intel's web-site: http://www.intel.com/content/www/us/en/intelligent-systems/intel-technology/packet-processing-is-enhanced-with-software-from-intel-dpdk.html
Here is the direct link: http://downloadmirror.intel.com/22777/eng/IntelDPDK.L.1.3.1_7.zip
Unfortunately, I don't have dpdk.org's distribution installed. I looked at their web-site and it seems latest they have is v1.2.3r3.
The API reference for the version I use (http://www.intel.com/content/dam/www/public/us/en/documents/reference-guides/intel-dpdk-api-reference.pdf) does not say when the function was added (which version of the framework).
The framework provides version information though (http://dpdk.org/doc/api/rte__version_8h.html), so it is possible to use init_all if version is at least 1.3.1.7 and fallback to pre-selected driver if not, using some ifdefs.
I'll try it and can send you a patch sometime later if you don't get to it before me.
BTW, aside from the above (I had to switch the dirver init function to init_all), everything worked for me with latest DPDK, Ubuntu 12.04.
from drv-netif-dpdk.
I don't have immediate plans to work on initialization -- I feel like the way to init the stack needs a complete overhaul, but I'm not quite sure which way to go in at the moment. You'll most likely get to init before me even if you take your time.
And thanks for the report! It's always nice to hear that software still in its early stages is working for other people too.
from drv-netif-dpdk.
I changed it to rte_pmd_init_all().
I think we can safely declare older versions obsolete, so I'm closing this report.
thanks!
from drv-netif-dpdk.
Related Issues (10)
- Cannot build on Ubuntu 16.04 LTS HOT 2
- test webbrowser caused rump kernel halted.
- Is drv-netif-dpdk still under maintenance?
- Rupmake pass -OO -g flags to the compiler HOT 1
- User space TCP performance HOT 7
- Build error on Ubuntu 12.04 LTS HOT 2
- udp_echo_server does not work with a single ixgbe card HOT 4
- Cannot run TCP web browser HOT 2
- Help my please! Don't change src ip after two initialize interfaces HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from drv-netif-dpdk.