NVIDIA DOCA SDK Data Center on a Chip Framework Documentation
devemu_pci_device_stateful_region_dpu_sample.c File Reference
#include <devemu_pci_common.h>
#include <signal.h>
#include <stdbool.h>
#include <stdint.h>
#include <string.h>
#include <time.h>
#include <doca_ctx.h>
#include <doca_devemu_pci.h>
#include <doca_dev.h>
#include <doca_error.h>
#include <doca_log.h>
#include <common.h>
Include dependency graph for devemu_pci_device_stateful_region_dpu_sample.c:

Go to the source code of this file.

Functions

 DOCA_LOG_REGISTER (DEVEMU_PCI_DEVICE_STATEFUL_REGION_DPU)
 
static void signal_handler (int signum)
 
static void stateful_region_write_event_handler_cb (struct doca_devemu_pci_dev_event_bar_stateful_region_driver_write *event, union doca_data user_data)
 
static doca_error_t register_to_stateful_region_write_events (struct doca_devemu_pci_dev *pci_dev, struct devemu_resources *resources)
 
doca_error_t devemu_pci_device_stateful_region_dpu (const char *pci_address, const char *emulated_dev_vuid)
 

Variables

static bool force_quit
 

Function Documentation

◆ devemu_pci_device_stateful_region_dpu()

doca_error_t devemu_pci_device_stateful_region_dpu ( const char *  pci_address,
const char *  emulated_dev_vuid 
)

◆ DOCA_LOG_REGISTER()

DOCA_LOG_REGISTER ( DEVEMU_PCI_DEVICE_STATEFUL_REGION_DPU  )

◆ register_to_stateful_region_write_events()

static doca_error_t register_to_stateful_region_write_events ( struct doca_devemu_pci_dev *  pci_dev,
struct devemu_resources resources 
)
static

◆ signal_handler()

static void signal_handler ( int  signum)
static

◆ stateful_region_write_event_handler_cb()

static void stateful_region_write_event_handler_cb ( struct doca_devemu_pci_dev_event_bar_stateful_region_driver_write *  event,
union doca_data  user_data 
)
static

Variable Documentation

◆ force_quit

bool force_quit
static