FPGA: Do not load internal packet generator frame via DMA
This commit is contained in:
@@ -93,6 +93,10 @@ bool PCIExpressDevice::HW_SendWorkRequest(uint32_t handle) {
|
||||
}
|
||||
|
||||
void PCIExpressDevice::FPGA_StartAction() {
|
||||
if (ioctl(fd, IOCTL_JFJOCH_SET_INT_PKT, internal_pkt_gen_frame.data()) != 0)
|
||||
throw JFJochException(JFJochExceptionCategory::PCIeError,
|
||||
"Failed loading internal packet generator frame", errno);
|
||||
|
||||
if (ioctl(fd, IOCTL_JFJOCH_START) != 0)
|
||||
throw JFJochException(JFJochExceptionCategory::PCIeError,
|
||||
"Failed starting action", errno);
|
||||
|
||||
Reference in New Issue
Block a user