NVIDIA DOCA SDK Data Center on a Chip Framework Documentation
worker_graph.c File Reference
#include <string.h>
#include <doca_buf.h>
#include <doca_log.h>
#include <doca_pe.h>
#include "urom_graph.h"
#include "worker_graph.h"
Include dependency graph for worker_graph.c:

Go to the source code of this file.

Data Structures

struct  doca_graph_task_data
 

Functions

 DOCA_LOG_REGISTER (UROM::WORKER::GRAPH)
 
static doca_error_t urom_worker_graph_cmd_pack (struct urom_worker_graph_cmd *graph_cmd, size_t *packed_cmd_len, void *packed_cmd)
 
static void urom_graph_completed (struct doca_urom_worker_cmd_task *task, union doca_data task_user_data, union doca_data ctx_user_data)
 
doca_error_t urom_graph_task_loopback (struct doca_urom_worker *worker_ctx, union doca_data cookie, uint64_t data, urom_graph_loopback_finished cb)
 
doca_error_t urom_graph_init (uint64_t plugin_id, uint64_t version)
 

Variables

static uint64_t graph_id
 
static uint64_t graph_version = 0x01
 

Function Documentation

◆ DOCA_LOG_REGISTER()

DOCA_LOG_REGISTER ( UROM::WORKER::GRAPH  )

◆ urom_graph_completed()

static void urom_graph_completed ( struct doca_urom_worker_cmd_task *  task,
union doca_data  task_user_data,
union doca_data  ctx_user_data 
)
static

Definition at line 78 of file worker_graph.c.

◆ urom_graph_init()

doca_error_t urom_graph_init ( uint64_t  plugin_id,
uint64_t  version 
)

Definition at line 194 of file worker_graph.c.

◆ urom_graph_task_loopback()

doca_error_t urom_graph_task_loopback ( struct doca_urom_worker *  worker_ctx,
union doca_data  cookie,
uint64_t  data,
urom_graph_loopback_finished  cb 
)

Definition at line 135 of file worker_graph.c.

◆ urom_worker_graph_cmd_pack()

static doca_error_t urom_worker_graph_cmd_pack ( struct urom_worker_graph_cmd graph_cmd,
size_t packed_cmd_len,
void *  packed_cmd 
)
static

Definition at line 54 of file worker_graph.c.

Variable Documentation

◆ graph_id

uint64_t graph_id
static

Definition at line 37 of file worker_graph.c.

◆ graph_version

uint64_t graph_version = 0x01
static

Definition at line 38 of file worker_graph.c.