host_exerciser: don't pull in IRQ mode
@@ -245,6 +245,7 @@ public:
he_interrupt_.VectorNum = host_exe_->he_interrupt_;
d_afu->write32(HE_INTERRUPT0, he_interrupt_.value);
ev = d_afu->register_interrupt(host_exe_->he_interrupt_);
+ std::cout << "Using Interrupts\n";
}
// Write to CSR_CTL
@@ -261,15 +262,6 @@ public:
if (he_lpbk_cfg_.IntrTestMode == 1) {
try {
d_afu->interrupt_wait(ev, 10000);
- while (0 == ((*status_ptr) & 0x1)) {
- usleep(HELPBK_TEST_SLEEP_INVL);
- if (--timeout == 0) {
- std::cout << "DSM read timeout" << std::endl;
- host_exerciser_errors();
- return -1;
- }
- }
-
if (he_lpbk_cfg_.TestMode == HOST_EXEMODE_LPBK1)
d_afu->compare(source_, destination_);
}
