Coder Social home page Coder Social logo

Comments (5)

ktsoy avatar ktsoy commented on May 30, 2024

...that's what they use to initialize drivers in their examples that come with the DPDK distribution.

from drv-netif-dpdk.

anttikantee avatar anttikantee commented on May 30, 2024

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.

ktsoy avatar ktsoy commented on May 30, 2024

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.

anttikantee avatar anttikantee commented on May 30, 2024

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.

anttikantee avatar anttikantee commented on May 30, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.