-
Notifications
You must be signed in to change notification settings - Fork 728
Improved smart pointer usages to KniDevice and DpdkDevice. #1901
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
base: dev
Are you sure you want to change the base?
Conversation
|
@Dimi1010 did you have a chance to run the DPDK test locally? |
Unfortunately, no. :/ I mostly have it setup to validate it can build, but unsure how, or even if it can be setup to run on WSL, and I don't have a bare-metal Unix OS currently. |
I don't think DPDK can run in WSL 😕 |
Sure, I can try to set one up, if you know it can run there. :) |
You can follow the instructions here: https://pcapplusplus.github.io/docs/dpdk |
|
BTW, maybe at some point we need to figure out how to run DPDK tests in CI, but I gave some thought to it and it won't be easy... |
the docs still say we test against ubuntu 20.04 and 22.04 when the CI runs on 22.04 and 24.04 |
Thanks! I will fix it. Please let me know if you find more issues with the documentation |
|
This link https://doc.dpdk.org/guides/prog_guide/kernel_nic_interface.html in the docstring of setup_dpdk.py appears to be broken. |
|
@Dimi1010 I fixed the 2 issues mentioned above ☝️ |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## dev #1901 +/- ##
==========================================
- Coverage 83.46% 83.46% -0.01%
==========================================
Files 312 312
Lines 54621 54613 -8
Branches 11483 11550 +67
==========================================
- Hits 45590 45583 -7
- Misses 7792 8181 +389
+ Partials 1239 849 -390
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
tigercosmos
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
This PR rewrites some functions that were using manual lifetime tracking with
std::unique_ptr.