#include <string.h>
#include <unistd.h>
#include <doca_argp.h>
#include <doca_log.h>
#include <doca_apsh.h>
#include <doca_apsh_attr.h>
#include "common.h"
#include "apsh_common.h"
Go to the source code of this file.
|
| | DOCA_LOG_REGISTER (APSH_COMMON) |
| |
| static doca_error_t | pid_callback (void *param, void *config) |
| |
| static doca_error_t | vuid_callback (void *param, void *config) |
| |
| static doca_error_t | dma_callback (void *param, void *config) |
| |
| static doca_error_t | os_type_callback (void *param, void *config) |
| |
| static doca_error_t | memr_callback (void *param, void *config) |
| |
| static doca_error_t | os_syms_callback (void *param, void *config) |
| |
| doca_error_t | register_apsh_params (bool add_os_arg, bool add_pid_arg) |
| |
| doca_error_t | init_doca_apsh (const char *dma_device_name, struct doca_apsh_ctx **ctx) |
| |
| doca_error_t | init_doca_apsh_system (struct doca_apsh_ctx *ctx, enum doca_apsh_system_os os_type, const char *os_symbols, const char *mem_region, const char *pci_vuid, struct doca_apsh_system **system) |
| |
| doca_error_t | cleanup_doca_apsh (struct doca_apsh_ctx *ctx, struct doca_apsh_system *system) |
| |
| doca_error_t | process_get (DOCA_APSH_PROCESS_PID_TYPE pid, struct doca_apsh_system *sys, int *nb_procs, struct doca_apsh_process ***processes, struct doca_apsh_process **process) |
| |
◆ cleanup_doca_apsh()
| doca_error_t cleanup_doca_apsh |
( |
struct doca_apsh_ctx * |
ctx, |
|
|
struct doca_apsh_system * |
system |
|
) |
| |
◆ dma_callback()
| static doca_error_t dma_callback |
( |
void * |
param, |
|
|
void * |
config |
|
) |
| |
|
static |
◆ DOCA_LOG_REGISTER()
| DOCA_LOG_REGISTER |
( |
APSH_COMMON |
| ) |
|
◆ init_doca_apsh()
| doca_error_t init_doca_apsh |
( |
const char * |
dma_device_name, |
|
|
struct doca_apsh_ctx ** |
ctx |
|
) |
| |
◆ init_doca_apsh_system()
| doca_error_t init_doca_apsh_system |
( |
struct doca_apsh_ctx * |
ctx, |
|
|
enum doca_apsh_system_os |
os_type, |
|
|
const char * |
os_symbols, |
|
|
const char * |
mem_region, |
|
|
const char * |
pci_vuid, |
|
|
struct doca_apsh_system ** |
system |
|
) |
| |
◆ memr_callback()
| static doca_error_t memr_callback |
( |
void * |
param, |
|
|
void * |
config |
|
) |
| |
|
static |
◆ os_syms_callback()
| static doca_error_t os_syms_callback |
( |
void * |
param, |
|
|
void * |
config |
|
) |
| |
|
static |
◆ os_type_callback()
| static doca_error_t os_type_callback |
( |
void * |
param, |
|
|
void * |
config |
|
) |
| |
|
static |
◆ pid_callback()
| static doca_error_t pid_callback |
( |
void * |
param, |
|
|
void * |
config |
|
) |
| |
|
static |
◆ process_get()
◆ register_apsh_params()
◆ vuid_callback()
| static doca_error_t vuid_callback |
( |
void * |
param, |
|
|
void * |
config |
|
) |
| |
|
static |
◆ dma_device
| struct doca_dev* dma_device |
|
static |
◆ pci_device
| struct doca_dev_rep* pci_device |
|
static |