NVIDIA DOCA SDK Data Center on a Chip Framework Documentation
dpa_nvqual_common_defs.h File Reference
#include <stdbool.h>
#include <doca_sync_event.h>
Include dependency graph for dpa_nvqual_common_defs.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  dpa_nvqual_flow_config
 
struct  dpa_nvqual_run_output
 
struct  dpa_nvqual_tls
 
struct  dpa_nvqual_thread_ret
 
struct  dpa_nvqual
 
struct  dpa_nvqual_config
 

Macros

#define DPA_NVQUAL_DPA_FREQ   (1800.00f)
 
#define DPA_NVQUAL_COPY_BYTE_LATENCY_USEC   (0.08f)
 
#define DPA_NVQUAL_WATCHDOG_TIME_SEC   (2 * 60)
 
#define DPA_NVQUAL_SEC_TO_USEC   (1000000)
 
#define DPA_NVQUAL_SEC_IN_HOUR   (3600)
 
#define DPA_NVQUAL_SEC_IN_MINUTE   (60)
 
#define DPA_NVQUAL_FACTOR   (0.75f)
 
#define DPA_NVQUAL_ITERATION_DURATION_SEC   (DPA_NVQUAL_WATCHDOG_TIME_SEC * DPA_NVQUAL_FACTOR)
 
#define DPA_NVQUAL_ALLOCATED_DPA_HEAP_SIZE   (268435456)
 
#define DPA_NVQUAL_MAX_EUS   (256)
 
#define DPA_NVQUAL_PRINT_BUFFER_SIZE   (2048)
 
#define DPA_NVQUAL_MAX_INPUT_EXCLUDED_EUS_SIZE   (1024)
 
#define DPA_NVQUAL_DOCA_DEVINFO_IBDEV_NAME_SIZE   64
 
#define DPA_NVQUAL_SYNC_EVENT_MASK   (0xffffffffffffffff)
 

Variables

struct doca_dpa_app * dpa_sample_app
 

Macro Definition Documentation

◆ DPA_NVQUAL_ALLOCATED_DPA_HEAP_SIZE

#define DPA_NVQUAL_ALLOCATED_DPA_HEAP_SIZE   (268435456)

Default allocated DPA heap size for flow configuration

Definition at line 85 of file dpa_nvqual_common_defs.h.

◆ DPA_NVQUAL_COPY_BYTE_LATENCY_USEC

#define DPA_NVQUAL_COPY_BYTE_LATENCY_USEC   (0.08f)

Size of copy bytes latency microseconds

Definition at line 50 of file dpa_nvqual_common_defs.h.

◆ DPA_NVQUAL_DOCA_DEVINFO_IBDEV_NAME_SIZE

#define DPA_NVQUAL_DOCA_DEVINFO_IBDEV_NAME_SIZE   64

Buffer size to hold Infiniband/RoCE device name. Including a null terminator.

Definition at line 105 of file dpa_nvqual_common_defs.h.

◆ DPA_NVQUAL_DPA_FREQ

#define DPA_NVQUAL_DPA_FREQ   (1800.00f)

DPA frequency in MHz

Definition at line 45 of file dpa_nvqual_common_defs.h.

◆ DPA_NVQUAL_FACTOR

#define DPA_NVQUAL_FACTOR   (0.75f)

Default factor to be calculated for iteration duration

Definition at line 75 of file dpa_nvqual_common_defs.h.

◆ DPA_NVQUAL_ITERATION_DURATION_SEC

#define DPA_NVQUAL_ITERATION_DURATION_SEC   (DPA_NVQUAL_WATCHDOG_TIME_SEC * DPA_NVQUAL_FACTOR)

Default iteration duration seconds

Definition at line 80 of file dpa_nvqual_common_defs.h.

◆ DPA_NVQUAL_MAX_EUS

#define DPA_NVQUAL_MAX_EUS   (256)

Max possible EUs

Definition at line 90 of file dpa_nvqual_common_defs.h.

◆ DPA_NVQUAL_MAX_INPUT_EXCLUDED_EUS_SIZE

#define DPA_NVQUAL_MAX_INPUT_EXCLUDED_EUS_SIZE   (1024)

Default size of input of excluded EUs

Definition at line 100 of file dpa_nvqual_common_defs.h.

◆ DPA_NVQUAL_PRINT_BUFFER_SIZE

#define DPA_NVQUAL_PRINT_BUFFER_SIZE   (2048)

Buffer size to hold printing sample data

Definition at line 95 of file dpa_nvqual_common_defs.h.

◆ DPA_NVQUAL_SEC_IN_HOUR

#define DPA_NVQUAL_SEC_IN_HOUR   (3600)

Seconds in hour

Definition at line 65 of file dpa_nvqual_common_defs.h.

◆ DPA_NVQUAL_SEC_IN_MINUTE

#define DPA_NVQUAL_SEC_IN_MINUTE   (60)

Seconds in minute

Definition at line 70 of file dpa_nvqual_common_defs.h.

◆ DPA_NVQUAL_SEC_TO_USEC

#define DPA_NVQUAL_SEC_TO_USEC   (1000000)

Size to multiply to convert from seconds to microseconds

Definition at line 60 of file dpa_nvqual_common_defs.h.

◆ DPA_NVQUAL_SYNC_EVENT_MASK

#define DPA_NVQUAL_SYNC_EVENT_MASK   (0xffffffffffffffff)

Sync event mask

Definition at line 110 of file dpa_nvqual_common_defs.h.

◆ DPA_NVQUAL_WATCHDOG_TIME_SEC

#define DPA_NVQUAL_WATCHDOG_TIME_SEC   (2 * 60)

Watchdog time seconds to be calculated for iteration duration

Definition at line 55 of file dpa_nvqual_common_defs.h.

Variable Documentation

◆ dpa_sample_app

struct doca_dpa_app* dpa_sample_app
extern

DPA sample application