-
Notifications
You must be signed in to change notification settings - Fork 455
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
support dpdk #1317
support dpdk #1317
Conversation
@luoyunhe the |
ok, Could you give me some suggestions for this PR, thanks. |
@luoyunhe it looks good to me now. I will test the pr in my cluster later and will let you know if something need to change |
docs/dpdk-hybrid.md
Outdated
For other drivers, please refer to https://www.dpdk.org/ | ||
|
||
## configrue node | ||
Edit the configuration file named ovs-dpdk-config on the node that needs to run ovs-dpdk. The configuration file needs to be placed in the /opt/ovs-config directory. |
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.
ovs-dpdk-config -> ovs-dpdk-config
/opt/ovs-config -> /opt/ovs-config
pkg/daemon/handler.go
Outdated
} else if podRequest.VhostUserSocketVolumeName != "" { | ||
nicType = util.DpdkType | ||
err = createShortSharedDir(pod, podRequest.VhostUserSocketVolumeName) | ||
if err != nil { |
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.
use if errr = xxx; err != nil {}
error handle format
Great work! Thanks @luoyunhe |
What type of this PR
Feature
run Kube-OVN with nodes which run ovs-dpdk or ovs-kernel