Dmitry Rozhkov
eccd70c600
replace glog with simpler home-grown debug logging
2018-08-16 17:40:16 +03:00
Dmitry Rozhkov
2ff6c5929a
Use annotated errors for tracing
2018-08-16 17:31:19 +03:00
Ed Bartosh
cf8d6bbc3f
fix broken links in the FPGA plugin documentation
2018-08-14 15:00:48 +03:00
Alexander D. Kanevskiy
2a6eda891a
Merge pull request #68 from bart0sh/PR0030-fix-annotation-value
...
fpga_crihook: fix annotation value
2018-08-08 01:18:18 +03:00
Ed Bartosh
9de82c819f
fpga_crihook: fix annotation value
...
Annotation value has been changed in FPGA plugin code recently.
Updated fpga_crihook to use the same value.
2018-08-07 17:40:16 +03:00
Ed Bartosh
71e8ea471a
fpga_crihook: specify socket number when programming device
...
Added -S <device number> parameter to fpgaconf command line to
ensure usage of allocated device.
2018-08-07 17:32:59 +03:00
MCamp859
a29e04f614
Edits to FPGA readme files for format and text flow.
...
Signed-off-by: MCamp859 <mary.camp@ptiglobal.net>
2018-07-30 16:13:47 -04:00
Ed Bartosh
b1b2edf1b8
fpga_crihook: check if requested AF is programmed
...
Check if programmed AF id is equal to the requested AF id
after re-programming a device.
2018-07-18 12:27:45 +03:00
Ed Bartosh
9df1afdf43
fpga_crihook: check if intel annotation is set
...
Check if container annotation com.intel.fpga.mode is set to
"intel.com/fpga-region". This annotation is set by device plugin.
So, the check should help to filter out unwanted workflow that
device plugin is not aware of.
2018-07-16 16:12:59 +03:00
Ed Bartosh
2f9debe35b
fpga_crihook: check if bitstream is already programmed
...
FPGA device can be already programmed with requested bitstream.
In this case hook should not programm the device again.
2018-07-13 14:16:27 +03:00
Ed Bartosh
69a32df387
fpga_crihook: covered by tests
2018-07-05 13:49:09 +03:00
Ed Bartosh
b4476110f8
implement CRI prestart hook
...
The hook gets FPGA_REGION and FPGA_BITSTREAM environment variables
defined in a pod spec, finds bitstream file, verifies it and programs
FPGA device with it using fpga-configure tool from OPAE.
2018-07-05 13:49:09 +03:00