Add Fabric Manager Shared NVSwitch virtualization model support #538
+179
−21
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR adds Fabric Manager (FM) Shared NVSwitch virtualization model support when NVSwitch devices are detected and the newly introduced
FABRIC_MANAGER_FABRIC_MODEenv var is set to1(shared-nvswitch).No changes introduced when
FABRIC_MANAGER_FABRIC_MODE=0(default FM mode - full-passthrough).Changes
FABRIC_MANAGER_FABRIC_MODEto control fabric managerFABRIC_MODE(defaults to0forfull-passthrough,1forshared-nvswitch).FABRIC_MODEis set to Shared NVSwitch.vfio-pci.nvidia-persistencedsince GPU devices are blacklisted from the NVIDIA driver.Flow when
FABRIC_MANAGER_FABRIC_MODE=1(shared-nvswitch)nvidia-smi.driver_overridevfio-pcifor passthrough scenarios.nvidia-persistencedstartup since GPU devices are no longer managed by the NVIDIA driver.