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

Add endpoint settings to add nic call #1246

Merged

Conversation

katiewasnothere
Copy link
Contributor

This PR adds the ability to pass in endpoint settings as part of a call to AddNIC in ncproxy. Typically, a call to create an endpoint is made before the UVM is up and therefore we cannot query the UVM for information to assist in setting the correct iov policy values. However, at the time of calling AddNIC we know that the UVM is up. The purpose of this PR is to allow the caller to set iov policy after the endpoint has been created but before adding a nic to the UVM.

Signed-off-by: Kathryn Baldauf [email protected]

@katiewasnothere katiewasnothere requested a review from a team as a code owner December 16, 2021 21:15
cmd/ncproxy/ncproxy.go Outdated Show resolved Hide resolved
@dcantah dcantah self-assigned this Dec 31, 2021
@helsaawy
Copy link
Contributor

helsaawy commented Jan 5, 2022

lgtm

Copy link
Contributor

@dcantah dcantah left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@katiewasnothere katiewasnothere merged commit 422eb31 into microsoft:master Jan 6, 2022
@katiewasnothere katiewasnothere deleted the endpoint_settings_add_nic branch January 6, 2022 01:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants