-
Notifications
You must be signed in to change notification settings - Fork 180
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
Allow to filter net devices by Infiniband Partition Key #517
Allow to filter net devices by Infiniband Partition Key #517
Conversation
Pull Request Test Coverage Report for Build 7914659039Details
💛 - Coveralls |
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.
@almaslennikov Thanks for the contribution!
this looks good to me, could you fix the lint issue as well? just remove the commented out line.
bbaac0f
to
073df9b
Compare
The new sriovnet dependency requires upgrading to go1.21. I've created a separate PR to update the toolchain: #527 |
@almaslennikov can you sort out lint issue? |
15ce663
to
a8f45fb
Compare
@adrianchiris @Eoghan1232 the linter issues are fixed |
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! thanks for fixing linting issue
/retest |
/retest-kubernetes-ci |
a8f45fb
to
68e7c3f
Compare
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.
overall this looks good. added a few small comments.
This function wraps sriovnet.GetDefaultPKeyFromPci and returns the default IB Partition Key for an Infiniband device Signed-off-by: amaslennikov <[email protected]>
Add a new interface function + implement it in pciNetDevice struct Signed-off-by: amaslennikov <[email protected]>
Signed-off-by: amaslennikov <[email protected]>
Signed-off-by: amaslennikov <[email protected]>
Signed-off-by: amaslennikov <[email protected]>
68e7c3f
to
b6ce7be
Compare
@adrianchiris Thank you for the review! Addressed your comments |
Signed-off-by: amaslennikov <[email protected]>
b6ce7be
to
93507ca
Compare
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 ! . Thx @almaslennikov :)
@Eoghan1232 could you take a quick look at the lastest iteration ? if all is ok id like to merge this one |
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.
latest iteration lgtm.
@adrianchiris are we waiting for all CI to pass or can we merge this? |
we can merge. we have issues with CI that need to be sorted internally. |
1a99d09
into
k8snetworkplumbingwg:master
This PR introduced a new kind of device selector based on Infiniband Partition Key.
The PKey retrieval functionality is taken from sriovnet. This PR will be finalized with updated sriovnet dependency when the (related PR there) is merged