Comments (4)
I could start a demo project in a few days. ping back if you don't hear anything in one week.
from dpdk.
I could start a demo project in a few days. ping back if you don't hear anything in one week.
Hi, Ming. Thanks for your reply. Actually, we are now trying to integrate DPDK into our bazel project. We have tried the 8 branches in this repo, and only bazel-16.04-asan can be compiled successfully (after I change a bit).
But even after we successfully compiled it, we found it went into runtime failure. Here is our steps:
We launched a clean VM in AWS with Ubuntu 16.04, we then git cloned this repo and checkout to bazel-16.04-asan branch (because bazel building other branches just give us many errors). We created the path as decribed int the BUILD files (i.e. we mkdir third_party/dpdk/). We write a demo program, then we bazel build this demo program in this repo and it can be compiled successfully, but then we run it and it fails at rte_eth_dev_configure, errno -22.
To check whether it is the problems of our demo program, we download DPDK-16.04 and install it. We then build the program with makefile and run it successfully.
We are confused why the same code can successfully run after we build it in original make building system, but fails after we build it with bazel. I believe we probably make some wrong linkage/configuration, so we would really appreciate it if you could a give a demo/tutorial.
Besides, since DPDK has developed so fast and DPDK 16.04 can not even run on newer OSes like Ubuntu 18.04. Could you give a demo on how to integrate newer DPDK into bazel. I have a suggestion here:
This guy provides a minimal demo and successfully runs it on AWS VM. This is a simple but common DPDK application (a simple sender and a simple receiver).
https://github.com/NEOAdvancedTechnology/MinimalDPDKExamples
I really like his tutorial below, which is clear and accurate, instructing me how to deploy and run DPDK on AWS VMs. I have successfully reproduced the result on AWS VM (Ubuntu 18.04) following the steps.
https://github.com/NEOAdvancedTechnology/MinimalDPDKExamples/blob/master/DPDK_EC2_Tutorial.md
I am just wondering, while you are starting the demo project, could you just use the demo code in this MinimalDPDKExamples repo and bazel build this application with DPDK 19.01. If this example can be bazel built and successfully run in your demo project, that means everybody can reproduce it at least in AWS VMs. So long as it can be reproducible, it can serve as a template and people (espeically students) can easily integrate their own projects with DPDK by following this example.
Many thanks for your track and looking forward to your demo project.
from dpdk.
@mzhaom Hi, Ming. Seems we are trapped with DPDK integration. Could you provide us with a demo to bazel build this small application with DPDK 19.01?
https://github.com/NEOAdvancedTechnology/MinimalDPDKExamples
from dpdk.
@Steamgjk updated wiki https://github.com/bazelment/dpdk/wiki to show how this can be used with 16.04 branch. Please let me know if you run into issue after following the instruction.
from dpdk.
Related Issues (2)
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 dpdk.