Comments (3)
@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.
@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.
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)
- Error compile dpdk HOT 19
- compile example error HOT 5
- mOS Configuration HOT 4
- i40e/XL710 not receiving packets HOT 4
- segfault when using only some interfaces HOT 1
- insmod: ERROR: could not insert module drivers/dpdk-16.11/x86_64-native-linuxapp-gcc/kmod/igb_uio.ko: Unknown symbol in module HOT 6
- [nat] Packets not translated when using 3 cores HOT 10
- Mac address prevent change? HOT 2
- Can mOS be used in conjunction with IPS, not IDS? HOT 1
- mOS with mlx5 HOT 7
- Can mOS API run on a Raspberry Pi B+? HOT 10
- DBG_OPT flag cause compiling error HOT 1
- Performance problem HOT 6
- Example for mtcp_peek?
- insmod: ERROR: could not insert module drivers/dpdk-16.04/x86_64-native-linuxapp-gcc/kmod/igb_uio.ko: Invalid module format HOT 1
- QOS implementation support with mOS HOT 4
- Problem starting midstat: EAL: Error - exiting with code: 1 Cause: Cannot init mbuf pool HOT 7
- Issue with running sample application using > 2 cores. HOT 3
- Problems with more than 23 flows. 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 mos-networking-stack.