MCPcopy Create free account

hub / github.com/Xilinx/FPGA_as_a_Service / functions

Functions33 in github.com/Xilinx/FPGA_as_a_Service

↓ 8 callersFunctionGetFileContent
(file string)
k8s-device-plugin/fpga.go:127
↓ 6 callersFunctionGetFileNameFromPrefix
(dir string, prefix string)
k8s-device-plugin/fpga.go:111
↓ 6 callersFunctionIsEqual
check euqal strings
k8s-device-plugin/server.go:71
↓ 4 callersFunctionGetDevices
()
k8s-device-plugin/fpga.go:469
↓ 3 callersFunctionIsContain
(items []string, item string)
k8s-device-plugin/server.go:370
↓ 3 callersMethodStop
Stop stops the gRPC server
k8s-device-plugin/server.go:321
↓ 2 callersFunctionFileExist
Prior to 2018.3 release, Xilinx FPGA has mgmt PF as func 1 and user PF as func 0. The func numbers of the 2 PFs are swapped after 2018.3 release. The
k8s-device-plugin/fpga.go:143
↓ 2 callersMethodServe
Serve starts the gRPC server and register the device plugin to Kubelet
k8s-device-plugin/server.go:568
↓ 2 callersMethodcleanup
()
k8s-device-plugin/server.go:334
↓ 1 callersFunctionGetAMADevices
List all AMA devices
k8s-device-plugin/fpga.go:352
↓ 1 callersFunctionGetAlveoDevices
()
k8s-device-plugin/fpga.go:162
↓ 1 callersFunctionGetInstance
(DBDF string)
k8s-device-plugin/fpga.go:88
↓ 1 callersFunctionIsMgmtPf
(pciID string)
k8s-device-plugin/fpga.go:152
↓ 1 callersFunctionIsUserPf
(pciID string)
k8s-device-plugin/fpga.go:157
↓ 1 callersFunctionNewFPGADevicePlugin
NewFPGADevicePlugin returns an initialized FPGADevicePlugin
k8s-device-plugin/server.go:124
↓ 1 callersMethodNewFPGADevicePluginServer
NewFPGADevicePluginServer returns an initialized FPGADevicePluginServer
k8s-device-plugin/server.go:247
↓ 1 callersMethodRegister
Register registers the device plugin for the given resourceName with Kubelet.
k8s-device-plugin/server.go:343
↓ 1 callersMethodStart
Start starts the gRPC server of the device plugin
k8s-device-plugin/server.go:296
↓ 1 callersMethodcheckDeviceUpdate
(n map[string]map[string]Device)
k8s-device-plugin/server.go:198
↓ 1 callersMethoddeviceExists
(id string)
k8s-device-plugin/server.go:278
↓ 1 callersFunctiongetKeys
get keys from struct
k8s-device-plugin/server.go:60
↓ 1 callersFunctiongetMatchKey
find matched key for name ustomzie deivce
k8s-device-plugin/server.go:80
↓ 1 callersFunctiongetModifiedDSAtype
get customzied DSAtype Name
k8s-device-plugin/server.go:101
↓ 1 callersFunctionnewFSWatcher
(files ...string)
k8s-device-plugin/watcher.go:26
↓ 1 callersFunctionnewOSWatcher
(sigs ...os.Signal)
k8s-device-plugin/watcher.go:43
↓ 1 callersMethodsendDevices
(s pluginapi.DevicePlugin_ListAndWatchServer)
k8s-device-plugin/server.go:380
↓ 1 callersFunctionwaitForServer
waitForServer checks if grpc server is alive by making grpc blocking connection to the server socket
k8s-device-plugin/server.go:259
MethodAllocate
Allocate which return list of devices.
k8s-device-plugin/server.go:433
MethodGetDevicePluginOptions
(ctx context.Context, empty *pluginapi.Empty)
k8s-device-plugin/server.go:291
MethodGetPreferredAllocation
GetPreferredAllocation returns a preferred set of devices to allocate from a list of available ones. The resulting preferred allocation is not guarant
k8s-device-plugin/server.go:428
MethodListAndWatch
ListAndWatch lists devices and update that list according to the health status
k8s-device-plugin/server.go:412
MethodPreStartContainer
(ctx context.Context, rqt *pluginapi.PreStartContainerRequest)
k8s-device-plugin/server.go:287
Functionmain
()
k8s-device-plugin/main.go:39