diff options
| author | 2026-04-28 17:26:44 +0200 | |
|---|---|---|
| committer | 2026-09-28 09:09:06 -0700 | |
| commit | 74bbbc9359a592e3c0736b289c00489c1afa928c (patch) | |
| tree | ad720df71db8436f568effd1ec510b54feb8276f /scripts/objdiff | |
| parent | ipv6: fix prefix route expiry in modify_prefix_route() (diff) | |
i40e: skip unnecessary VF reset when setting trust
The current implementation triggers a VF reset when changing the trust
setting, causing a ~10 second delay during bonding setup.
In all the cases, the reset causes a ~10 second delay during which:
- VF must reinitialize completely
- Any in-progress operations (like bonding enslave) fail with timeouts
- VF is unavailable
When granting trust, no reset is needed - we can just set the capability
flag to allow privileged operations.
When revoking trust, we only need to reset (conservative approach) if
the VF has actually configured advanced features that require cleanup
(ADQ/cloud filters, promiscuous mode). For VFs in a clean state, we can
safely change the trust setting without the disruptive reset.
When we don't reset, we manually handle capability flag via helper
function, eliminating the delay.
Signed-off-by: Jose Ignacio Tornos Martinez <jtornosm@redhat.com>
Tested-by: Rafal Romanowski <rafal.romanowski@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Diffstat (limited to 'scripts/objdiff')
0 files changed, 0 insertions, 0 deletions
