#include <stdlib.h>
#include <string.h>
#include <doca_argp.h>
#include <doca_error.h>
#include <doca_dev.h>
#include <doca_log.h>
#include <devemu_pci_host_common.h>
Go to the source code of this file.
|
| #define | MEM_BUF_LEN (4 * 1024) /* Mem buffer size. It's the same as DPU side*/ |
| |
◆ MEM_BUF_LEN
| #define MEM_BUF_LEN (4 * 1024) /* Mem buffer size. It's the same as DPU side*/ |
◆ devemu_pci_device_dma_host()
| doca_error_t devemu_pci_device_dma_host |
( |
const char * |
pci_address, |
|
|
int |
vfio_group, |
|
|
const char * |
write_data |
|
) |
| |
◆ DOCA_LOG_REGISTER()
| DOCA_LOG_REGISTER |
( |
DEVEMU_PCI_DEVICE_DMA_HOST::MAIN |
| ) |
|
◆ main()
| int main |
( |
int |
argc, |
|
|
char ** |
argv |
|
) |
| |
◆ pci_callback()
| static doca_error_t pci_callback |
( |
void * |
param, |
|
|
void * |
config |
|
) |
| |
|
static |
◆ register_devemu_pci_params()
◆ register_write_data_param()
◆ vfio_group_callback()
| static doca_error_t vfio_group_callback |
( |
void * |
param, |
|
|
void * |
config |
|
) |
| |
|
static |
◆ write_data_callback()
| static doca_error_t write_data_callback |
( |
void * |
param, |
|
|
void * |
config |
|
) |
| |
|
static |