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
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