#include <stdint.h>
#include <stdlib.h>
#include <string.h>
#include <time.h>
#include <limits.h>
#include <doca_buf.h>
#include <doca_buf_inventory.h>
#include <doca_ctx.h>
#include <doca_dev.h>
#include <doca_dma.h>
#include <doca_error.h>
#include <doca_log.h>
#include <doca_mmap.h>
#include <doca_pe.h>
#include "dma_common.h"
Go to the source code of this file.
|
| #define | SLEEP_IN_NANOS (10 * 1000) /* Sample the task every 10 microseconds */ |
| |
| #define | RECV_BUF_SIZE (512) /* Buffer which contains config information */ |
| |
◆ RECV_BUF_SIZE
| #define RECV_BUF_SIZE (512) /* Buffer which contains config information */ |
◆ SLEEP_IN_NANOS
| #define SLEEP_IN_NANOS (10 * 1000) /* Sample the task every 10 microseconds */ |
◆ dma_copy_dpu()
| doca_error_t dma_copy_dpu |
( |
char * |
export_desc_file_path, |
|
|
char * |
buffer_info_file_path, |
|
|
const char * |
pcie_addr, |
|
|
int |
num_src_buf, |
|
|
int |
num_dst_buf |
|
) |
| |
◆ DOCA_LOG_REGISTER()
| DOCA_LOG_REGISTER |
( |
DMA_COPY_DPU |
| ) |
|
◆ save_config_info_to_buffers()
| static doca_error_t save_config_info_to_buffers |
( |
const char * |
export_desc_file_path, |
|
|
const char * |
buffer_info_file_path, |
|
|
char * |
export_desc, |
|
|
size_t * |
export_desc_len, |
|
|
char ** |
remote_addr, |
|
|
size_t * |
remote_addr_len |
|
) |
| |
|
static |