-
Notifications
You must be signed in to change notification settings - Fork 137
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
cnf-tests: improve sriov nic selector #1310
cnf-tests: improve sriov nic selector #1310
Conversation
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: SchSeba The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/hold need to wait for k8snetworkplumbingwg/sriov-network-operator#373 |
This one can continue new as we did the sriov bump |
/hold cancel |
/retest-required |
@@ -709,6 +709,14 @@ func findSriovDeviceForDPDK(sriovInfos *sriovcluster.EnabledNodes, nodeNames []s | |||
if sriovInfos.IsSecureBootEnabled[nodeName] && iface.Vendor == networks.MlxVendorID { | |||
continue | |||
} | |||
|
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.
Can you wrap this in a "isIntelDisabledNic" function?
17f3051
to
062a2e8
Compare
this commit add a check to be sure for intel nics that we enable sriov in the bios. if that is not the case the totalvf variabel will be 0 so we skip that nic Signed-off-by: Sebastian Sch <[email protected]>
Signed-off-by: Sebastian Sch <[email protected]>
062a2e8
to
ce31071
Compare
/lgtm |
/retest |
@SchSeba: The following test failed, say
Full PR test history. Your PR dashboard. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here. |
both issues are not related to this PR
/override ci/prow/e2e-gcp-ovn |
@SchSeba: Overrode contexts on behalf of SchSeba: ci/prow/e2e-gcp-ovn In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/cherry-pick release-4.12 |
@SchSeba: new pull request created: #1354 In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
this commit add a check to be sure for intel nics that we enable sriov in the bios. if that is not the case the totalvf variabel will be 0 so we skip that nic
Signed-off-by: Sebastian Sch [email protected]