Skip to content
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

Recipes/SRIOVNetnsOvSRecipe.py: deconfigure ovs bridge before resetti… #359

Merged
merged 2 commits into from
Feb 2, 2024

Conversation

jtluka
Copy link
Collaborator

@jtluka jtluka commented Feb 2, 2024

…ng switchdev mode

Description

On a setup with Nvidia CX6DX NIC we hit an issue when switchdev mode of the NIC could not be set back to legacy mode.

After some testing, the issue was resolved after the switchdev mode was reset after the ovs bridge device was brought down and ports removed from the switch. Previously this was done after reset of switchdev.

Logically, the steps of deconfiguration should match the configuration steps, in reversed order.

Tests

Already tested in J:8877925

Reviews

@Axonis

@jtluka jtluka requested a review from Axonis February 2, 2024 09:39
@jtluka jtluka self-assigned this Feb 2, 2024
Axonis
Axonis previously approved these changes Feb 2, 2024
lnst/Recipes/ENRT/SRIOVNetnsOvSRecipe.py Show resolved Hide resolved
…ng switchdev mode

On a setup with Nvidia CX6DX NIC we hit an issue when switchdev mode of
the NIC could not be set back to legacy mode.

After some testing, the issue was resolved after the switchdev mode was
reset after the ovs bridge device was brought down and ports removed from
the switch. Previously this was done after reset of switchdev.

Logically, the steps of deconfiguration should match the configuration steps,
in reversed order.

Signed-off-by: Jan Tluka <[email protected]>
@jtluka jtluka force-pushed the sriov-ovs-fix-down-and-del-ports branch from 0361979 to ee6b244 Compare February 2, 2024 09:48
@jtluka jtluka merged commit 18746ed into LNST-project:master Feb 2, 2024
3 checks passed
@jtluka jtluka deleted the sriov-ovs-fix-down-and-del-ports branch February 2, 2024 10:06
@jtluka jtluka restored the sriov-ovs-fix-down-and-del-ports branch February 2, 2024 10:06
@jtluka jtluka deleted the sriov-ovs-fix-down-and-del-ports branch February 2, 2024 10:29
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