Skip to content

[14.5-stable] SR-IOV: Fix API logic and add I350 NIC support#5633

Merged
rene merged 5 commits intolf-edge:14.5-stablefrom
uncleDecart:sriov-fix-145
Feb 27, 2026
Merged

[14.5-stable] SR-IOV: Fix API logic and add I350 NIC support#5633
rene merged 5 commits intolf-edge:14.5-stablefrom
uncleDecart:sriov-fix-145

Conversation

@uncleDecart
Copy link
Copy Markdown
Member

@uncleDecart uncleDecart commented Feb 26, 2026

Description

Backport of #5604

Checklist

  • I've added a reference link to the original PR
  • PR's title follows the template

instead log error nad move on, that helps to avoid
infinite boot cycle if something is not working.

Signed-off-by: Pavel Abramov <uncle.decart@gmail.com>
(cherry picked from commit 3e61cfd)
files under /sys are not files, those are calls, so
we shouldn't try to create files if they are not explicitly
present, that can cause us trouble

Signed-off-by: Pavel Abramov <uncle.decart@gmail.com>
(cherry picked from commit a430608)
currently we create Virtual Function VF only to pass it through to the VM
we are not initializing interface on the host side, thus we shoudn't try
to test VF or probe it for last resort.

Former obstructs EVE from passing through VFs due to race condition, i.e.
we start to test at some point and only some part of VFs is actually passed
since we're not considering VFs Network devices (isNet is false) we pass
them through and won't try them for last resort.

Signed-off-by: Pavel Abramov <uncle.decart@gmail.com>
(cherry picked from commit eb8be0f)
if controller does not send configuration for Virtual Functions
(even empty ones) we ignore it and create bundles based on information
from the system

it also includes expansion of debug messages

Signed-off-by: Pavel Abramov <uncle.decart@gmail.com>
(cherry picked from commit 0d66949)
certain drivers (like igb on Intel I350 NIC) put Physical Function (PF)
interface in DOWN state, which doesn't work for us, since Virtual Functions (VF)
need PF to be in UP state. We handle this in SR-IOV package, specifically
after creating VFs.

This is done intentionally not in nim. We don't want to make nim that
robust, because some EVE users want to change configuration manually and
that might trip them.

Signed-off-by: Pavel Abramov <uncle.decart@gmail.com>
(cherry picked from commit b622713)
@rene rene merged commit e11f3b3 into lf-edge:14.5-stable Feb 27, 2026
38 of 42 checks passed
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.

2 participants