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

support dpdk #1317

Merged
merged 3 commits into from
Mar 11, 2022
Merged

support dpdk #1317

merged 3 commits into from
Mar 11, 2022

Conversation

luoyunhe
Copy link
Contributor

@luoyunhe luoyunhe commented Feb 23, 2022

What type of this PR

Feature

run Kube-OVN with nodes which run ovs-dpdk or ovs-kernel

@luoyunhe luoyunhe changed the title support dpdk [wip]support dpdk Feb 23, 2022
@luoyunhe luoyunhe changed the title [wip]support dpdk support dpdk Feb 25, 2022
@oilbeater oilbeater added the feature New network feature label Mar 1, 2022
@oilbeater oilbeater added this to To do in v1.10-s4 Mar 1, 2022
@oilbeater
Copy link
Collaborator

@luoyunhe the tmp/Dockerfile should be removed

@luoyunhe
Copy link
Contributor Author

luoyunhe commented Mar 2, 2022

@luoyunhe the tmp/Dockerfile should be removed

ok, Could you give me some suggestions for this PR, thanks.

@oilbeater
Copy link
Collaborator

@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

@oilbeater oilbeater moved this from To do to In progress in v1.10-s4 Mar 3, 2022
@oilbeater oilbeater self-assigned this Mar 3, 2022
docs/dpdk-hybrid.md Outdated Show resolved Hide resolved
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.
Copy link
Collaborator

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

docs/dpdk-hybrid.md Outdated Show resolved Hide resolved
pkg/daemon/handler.go Outdated Show resolved Hide resolved
pkg/daemon/config.go Outdated Show resolved Hide resolved
} else if podRequest.VhostUserSocketVolumeName != "" {
nicType = util.DpdkType
err = createShortSharedDir(pod, podRequest.VhostUserSocketVolumeName)
if err != nil {
Copy link
Collaborator

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

pkg/daemon/handler.go Show resolved Hide resolved
pkg/daemon/handler.go Outdated Show resolved Hide resolved
pkg/daemon/handler.go Outdated Show resolved Hide resolved
pkg/daemon/handler.go Outdated Show resolved Hide resolved
pkg/daemon/config.go Outdated Show resolved Hide resolved
@oilbeater oilbeater merged commit dd4a5e0 into kubeovn:master Mar 11, 2022
v1.10-s4 automation moved this from In progress to Done Mar 11, 2022
@oilbeater
Copy link
Collaborator

Great work! Thanks @luoyunhe

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New network feature
Projects
No open projects
Development

Successfully merging this pull request may close these issues.

None yet

2 participants