#include <devemu_pci_common.h>
#include <errno.h>
#include <fcntl.h>
#include <linux/vfio.h>
#include <sys/ioctl.h>
#include <sys/mman.h>
#include <stdbool.h>
#include <stdint.h>
#include <string.h>
#include <unistd.h>
#include <common.h>
#include <doca_error.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 */ |
◆ allocate_dma_mem()
◆ 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 |
| ) |
|
◆ map_dma_mem()
◆ unmap_dma_mem()