Hello, I am reporting a minor bug I found in the sample code.
when dst_mmap registration fails, it logs "source", and when src_mmap registration fails, it logs "destination"
location: samples/doca_dma/dma_local_copy/dma_local_copy_sample.c
result = register_memory_range_and_start_mmap(state->dst_mmap, dst_buffer, length);
if (result != DOCA_SUCCESS) {
DOCA_LOG_ERR("Failed to create and start source mmap: %s", doca_error_get_descr(result));
goto stop_dma;
}
result = register_memory_range_and_start_mmap(state->src_mmap, src_buffer, length);
if (result != DOCA_SUCCESS) {
DOCA_LOG_ERR("Failed to create and start destination mmap: %s", doca_error_get_descr(result));
goto stop_dma;
}
Hello, I am reporting a minor bug I found in the sample code.
when dst_mmap registration fails, it logs "source", and when src_mmap registration fails, it logs "destination"
location: samples/doca_dma/dma_local_copy/dma_local_copy_sample.c