Skip to content

Commit

Permalink
host_exerciser: fix buffer comparison in interrupt test mode
Browse files Browse the repository at this point in the history
Buffer comparison varies by FPGA configuration. Stop calling direct memory
comparison in interrupt test mode. The caller of he_interrupt() already does
the proper test.

Signed-off-by: Michael Adler <michael.adler@intel.com>
  • Loading branch information
michael-adler committed Jun 14, 2024
1 parent 046b40f commit 074a7b5
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions samples/host_exerciser/host_exerciser_cmd.h
Original file line number Diff line number Diff line change
Expand Up @@ -198,8 +198,6 @@ class host_exerciser_cmd : public test_command
{
try {
host_exe_->interrupt_wait(ev, 10000);
if (he_lpbk_cfg_.TestMode == HOST_EXEMODE_LPBK1)
host_exe_->compare(source_, destination_);
}
catch (std::exception &ex) {
std::cout << "Exception: " << ex.what() << std::endl;
Expand Down

0 comments on commit 074a7b5

Please sign in to comment.