Giter Club home page Giter Club logo

Comments (3)

ajamshed avatar ajamshed commented on July 22, 2024

@shawnjava,

Unfortunately we do not provide support for vhost-user at the moment. However we encourage you to write the driver module for mOS. We already provide support for DPDK bare metal (core/src/dpdk_module.c), netmap bare metal (core/src/netmap_module.c). and PCAP (core/src/pcap_module.c). You can use any of these files as a template to build a new vhost-user module file (or you can update dpdk_module.c file) as well. Let me know if you need any assistance in this regard.

from mos-networking-stack.

 avatar commented on July 22, 2024

@ajamshed,
Thank you for your response. First, I've made a mistake when raising the question. The word 'vhost-user' is actually 'virtio_user', which can be regarded as a virtual port dpdk provided for an app. When using this feature, we just need to pass the option '--vdev' to EAL parameters.
I notice you used fixed parameters in rte_eal_init() in file dpdk_module.c, can I add the '--vdev' to argv[]? Will this affect the whole program?

from mos-networking-stack.

ajamshed avatar ajamshed commented on July 22, 2024

Yes. You can update argc value accordingly as well. You may want to check DPDK documentation to see whether some additional initialization routines may be required to support virto_user vdev.

from mos-networking-stack.

Related Issues (20)

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.