Skip to content

Commit

Permalink
fix: CRC calculation in client sample
Browse files Browse the repository at this point in the history
Signed-off-by: William Henderson <william.henderson@nutanix.com>
  • Loading branch information
w-henderson committed Jul 24, 2023
1 parent bb308a2 commit 7b20ead
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion samples/client.c
Original file line number Diff line number Diff line change
Expand Up @@ -844,7 +844,7 @@ fake_guest(void *arg)
if (ret != 0) {
err(EXIT_FAILURE, "fake guest failed to write garbage to BAR1");
}
crc = rte_hash_crc(buf, fake_guest_data->bar1_size, crc);
crc = rte_hash_crc(buf, fake_guest_data->bar1_size, 0);
__sync_synchronize();
} while (!fake_guest_data->done);

Expand Down

0 comments on commit 7b20ead

Please sign in to comment.