nvidia-container-toolkit/pkg/nvcdi
Evan Lezar d4e21fdd10 Add devRoot option to CDI api
A driverRoot defines both the driver library root and the
root for device nodes. In the case of preinstalled drivers or
the driver container, these are equal, but in cases such as GKE
they do not match. In this case, drivers are extracted to a folder
and devices exist at the root /.

The changes here add a devRoot option to the nvcdi API that allows the
parent of /dev to be specified explicitly.

Signed-off-by: Evan Lezar <elezar@nvidia.com>
2023-11-20 21:29:35 +01:00
..
spec Use tags.cncf.io for CDI imports 2023-11-01 12:40:51 +01:00
transform Use tags.cncf.io for CDI imports 2023-11-01 12:40:51 +01:00
api.go Use github.com/NVIDIA/go-nvlib imports 2023-11-15 21:38:26 +01:00
common-nvml.go Add devRoot option to CDI api 2023-11-20 21:29:35 +01:00
device-wsl.go Add devRoot option to CDI api 2023-11-20 21:29:35 +01:00
driver-nvml.go Use github.com/NVIDIA/go-nvlib imports 2023-11-15 21:38:26 +01:00
driver-wsl_test.go Fix bug with multiple driver store paths 2023-06-26 21:37:14 +02:00
driver-wsl.go Check returned error values 2023-10-24 20:00:24 +02:00
full-gpu-nvml.go Add devRoot option to CDI api 2023-11-20 21:29:35 +01:00
gds.go Add devRoot option to CDI api 2023-11-20 21:29:35 +01:00
lib_test.go Fix unnecessary conversion 2023-10-24 20:11:34 +02:00
lib-csv.go Add devRoot option to CDI api 2023-11-20 21:29:35 +01:00
lib-nvml.go Add devRoot option to CDI api 2023-11-20 21:29:35 +01:00
lib-wsl.go Add devRoot option to CDI api 2023-11-20 21:29:35 +01:00
lib.go Add devRoot option to CDI api 2023-11-20 21:29:35 +01:00
management.go Add devRoot option to CDI api 2023-11-20 21:29:35 +01:00
mig-device-nvml.go Use github.com/NVIDIA/go-nvlib imports 2023-11-15 21:38:26 +01:00
mofed.go Use github.com/NVIDIA/go-nvlib imports 2023-11-15 21:38:26 +01:00
namer_nvml_mock.go Use github.com/NVIDIA/go-nvlib imports 2023-11-15 21:38:26 +01:00
namer_test.go Use github.com/NVIDIA/go-nvlib imports 2023-11-15 21:38:26 +01:00
namer.go Use github.com/NVIDIA/go-nvlib imports 2023-11-15 21:38:26 +01:00
options.go Add devRoot option to CDI api 2023-11-20 21:29:35 +01:00
workarounds-device-folder-permissions.go Add devRoot option to CDI api 2023-11-20 21:29:35 +01:00