Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replacing libc functions with DPDK functions #201

Closed
dennisafa opened this issue Apr 4, 2020 · 1 comment · Fixed by #216
Closed

Replacing libc functions with DPDK functions #201

dennisafa opened this issue Apr 4, 2020 · 1 comment · Fixed by #216
Assignees
Labels
enhancement 🚀 good first issue Simple issues for new ONVM developers to help with!

Comments

@dennisafa
Copy link
Member

Optimization

Describe the solution you'd like
We use libc functions in some parts of our NF's and manager code. This includes calls like malloc or memcpy or strcpy. DPDK recommends using their own functions, as they are optimized for the data plane environment. We'd like to identify points in the critical datapath where these calls occur and replace them.

Documentation, Integration Strategy
I recommend looking at our example NF's, particularly the pkt_handler function as that will be called the most. Replace the libc function calls with DPDK function calls if possible, referring to the API and note any performance benefits. It would also be worth looking at where these calls are used in the manager.

@dennisafa dennisafa added good first issue Simple issues for new ONVM developers to help with! enhancement 🚀 labels Apr 4, 2020
@bdevierno1
Copy link
Contributor

I've been working with @kevindweb on #200 . I think I could switch the libc functions as well.

@bdevierno1 bdevierno1 mentioned this issue May 31, 2020
1 task
@twood02 twood02 linked a pull request Jul 22, 2020 that will close this issue
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement 🚀 good first issue Simple issues for new ONVM developers to help with!
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants