-
Notifications
You must be signed in to change notification settings - Fork 200
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fpga: move GetAPIVersion call out of NewPort and NewFME #497
fpga: move GetAPIVersion call out of NewPort and NewFME #497
Conversation
8a2b966
to
0b6b247
Compare
Codecov Report
@@ Coverage Diff @@
## master #497 +/- ##
==========================================
+ Coverage 56.41% 56.70% +0.29%
==========================================
Files 30 30
Lines 2035 2028 -7
==========================================
+ Hits 1148 1150 +2
+ Misses 816 807 -9
Partials 71 71
Continue to review full report at Codecov.
|
0b6b247
to
fbccd20
Compare
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>
fbccd20
to
2c73e2a
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great! Added nitpicks.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
This call is implemented by calling ioctl, which raises
"open /dev/intel-fpga-port.X: operation not permitted" 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.