-
Notifications
You must be signed in to change notification settings - Fork 111
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
Externally managed fixes #567
Externally managed fixes #567
Conversation
adrianchiris
commented
Dec 27, 2023
- block mtu change on PF when externally managed
- fix handling in mellanox plugin for externally managed interfaces
Thanks for your PR,
To skip the vendors CIs use one of:
|
@SchSeba PTAL |
Pull Request Test Coverage Report for Build 7472646223
💛 - Coveralls |
pkg/daemon/plugin.go
Outdated
|
||
// populate Set of vendors for plugin creation |
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.
while at it, i added this to instantiate plugin only once per vendor, hope its ok
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.
Why we need a separate set here? Is it possible to simply check if existing vendorPlugins
map already contains a vendor name and skip plugin initialization in this case?
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.
it is, and will result in less code changes ! will do the modification
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.
going back to this change,
vendorPlugins is keyed by plugin name and not by vendor.
to instantiate once we then need this set.
if we want just to set a plugin once in vendorPlugins map then we can do as u say.
seeing its not a really big deal, i will just set plugin in map once.
64c048b
to
bb0ecb9
Compare
Thanks for your PR,
To skip the vendors CIs use one of:
|
@SchSeba can we merge this one ? these fixes are much needed |
bb0ecb9
to
bc7bcc1
Compare
@ykulazhenkov PTAL |
@zeeke could you take a look ? :) |
When interface(pf) is externally managed, we need to avoid resetting firmware configurations. - use store manager to get latest pf config from host so we can reliably determine if interface is externally managed if it does not appear in spec - when interface appears in spec, block both sriov and link type firmware configurations if interface is externally managed - skip pfs that are externally managed Signed-off-by: adrianc <adrianc@nvidia.com>
Signed-off-by: adrianc <adrianc@nvidia.com>
bc7bcc1
to
2af158f
Compare
Thanks for your PR,
To skip the vendors CIs use one of:
|
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