NVIDIA DOCA SDK Data Center on a Chip Framework Documentation
dma_local_copy_main.c File Reference
#include <stdlib.h>
#include <string.h>
#include <doca_argp.h>
#include <doca_error.h>
#include <doca_dev.h>
#include <doca_log.h>
#include "dma_common.h"
Include dependency graph for dma_local_copy_main.c:

Go to the source code of this file.

Functions

 DOCA_LOG_REGISTER (DPU_LOCAL_DMA_COPY::MAIN)
 
doca_error_t dma_local_copy (const char *pcie_addr, char *dst_buffer, const char *src_buffer, size_t length, int num_src_buf, int num_dst_buf)
 
int main (int argc, char **argv)
 

Function Documentation

◆ dma_local_copy()

doca_error_t dma_local_copy ( const char *  pcie_addr,
char *  dst_buffer,
const char *  src_buffer,
size_t  length,
int  num_src_buf,
int  num_dst_buf 
)

◆ DOCA_LOG_REGISTER()

DOCA_LOG_REGISTER ( DPU_LOCAL_DMA_COPY::MAIN  )

◆ main()

int main ( int  argc,
char **  argv 
)

Definition at line 53 of file dma_local_copy_main.c.