intel-device-plugins-for-ku.../pkg/fpga
Ed Bartosh 2c73e2a0b3 fpga: move GetAPIVersion call out of NewPort and NewFME
This call is implemented by calling ioctl, which raises
"open /dev/intel-fpga-port.X: operation not permitted" error
when called inside unprivileged container.

This breaks FPGA plugin.

Calling this API from fpga_tool is still OK, so
moving calls there should fix the issue.

Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
2020-11-10 16:44:20 +02:00
..
bitstream lint: enable errcheck 2020-08-28 16:14:14 +03:00
devtypes_test.go lint: enable errcheck 2020-08-28 16:14:14 +03:00
devtypes.go fpga: compress fpga AF resource names 2020-04-29 11:59:50 +03:00
dfl_linux.go fpga: move GetAPIVersion call out of NewPort and NewFME 2020-11-10 16:44:20 +02:00
fpga_linux.go add golangci linter 2020-06-08 14:01:13 +03:00
intel_fpga_linux.go fpga: move GetAPIVersion call out of NewPort and NewFME 2020-11-10 16:44:20 +02:00
interfaces.go Implemented SR-IOV Release/Assign ioctl 2020-09-02 18:16:53 +03:00
ioctl_linux.go convert syscall.Errno to conventional error 2020-06-18 16:52:18 +03:00
pci_linux.go add golangci linter 2020-06-08 14:01:13 +03:00
types.go fpga: rename files to make them linux-only 2020-01-29 17:17:06 +02:00
utils.go add golangci linter 2020-06-08 14:01:13 +03:00
ztypes.go fpga: rename files to make them linux-only 2020-01-29 17:17:06 +02:00