Skip to content

dlb: make init script end with exit 0 when sriov_numvfs not found #1428

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

Merged
merged 1 commit into from
May 24, 2023
Merged

dlb: make init script end with exit 0 when sriov_numvfs not found #1428

merged 1 commit into from
May 24, 2023

Conversation

hj-johannes-lee
Copy link
Contributor

@hj-johannes-lee hj-johannes-lee commented May 19, 2023

Even if sriov_numvfs is not found, do not finish with an error.
It is necessary because VM still recognizes VF's BDF as xx.xx.0,
and script tries to find sriov_numvfs. So, chnage the script just
print some informational message and end with exit 0.

@hj-johannes-lee hj-johannes-lee marked this pull request as draft May 19, 2023 10:36
@hj-johannes-lee hj-johannes-lee marked this pull request as ready for review May 19, 2023 13:57
@hj-johannes-lee hj-johannes-lee changed the title dlb: fix init script run only for 2710 dlb: make init script end with exit 0 when sriov_numvfs not found May 24, 2023
Even if sriov_numvfs is not found, do not finish with an error.
It is necessary because VM still recognizes VF's BDF as xx.xx.0,
and script tries to find sriov_numvfs. So, chnage the script just
print some informational message and end with exit 0.

Signed-off-by: Hyeongju Johannes Lee <[email protected]>
@codecov-commenter
Copy link

Codecov Report

Merging #1428 (1705c62) into main (e49e89e) will not change coverage.
The diff coverage is n/a.

❗ Current head 1705c62 differs from pull request most recent head 82ecaf0. Consider uploading reports for the commit 82ecaf0 to get more accurate results

@@           Coverage Diff           @@
##             main    #1428   +/-   ##
=======================================
  Coverage   51.08%   51.08%           
=======================================
  Files          44       44           
  Lines        5005     5005           
=======================================
  Hits         2557     2557           
  Misses       2302     2302           
  Partials      146      146           

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

Copy link
Contributor

@mythi mythi left a comment

Choose a reason for hiding this comment

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

/lgtm

@mythi mythi merged commit 4587fd3 into intel:main May 24, 2023
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.

4 participants