can't move mellanox interface to switchdev when SR-IOV disable
Bug #2020409 reported by
Moshe Levi
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Netplan |
Fix Released
|
Medium
|
Unassigned | ||
netplan.io (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
I am looking on the netplan implementation of switchdev [1]. The current code assume that we can move to switchdev only if SR-IOV enabled.
This assumption is incorrect, as we can move to switchdev even if SR-IOV is disabled.
There 2 use-case come to mind:
1. VF Lag with Subfunction (you don't need SR-IOV to enable Subfunction)
2. VF Lag creation. It better to first move the PF (physicals function) to switchdev mode before creating the SR-IOV VF. In this case you don't need to unbind and bind the VFs, which mean you save time at boot.
Who will be the best person at canonical side so help use fix this issues?
CVE References
Changed in netplan: | |
status: | Fix Committed → Fix Released |
tags: | added: sru-next |
Changed in netplan: | |
status: | Fix Released → Fix Committed |
To post a comment you must log in.
Some Nvidia docs on use-cases to move to switchdev mode without SR-IOV
[1] - https:/ /github. com/Mellanox/ scalablefunctio ns/wiki/ Upstream- step-by- step-guide /git.kernel. org/pub/ scm/linux/ kernel/ git/torvalds/ linux.git/ tree/Documentat ion/networking/ device_ drivers/ ethernet/ mellanox/ mlx5.rst? h=v5.12- rc3#n186
[2] - https:/