NVIDIA DOCA SDK Data Center on a Chip Framework Documentation
dpa_ping_pong_main.c File Reference
#include "dpa_common.h"
Include dependency graph for dpa_ping_pong_main.c:

Go to the source code of this file.

Functions

 DOCA_LOG_REGISTER (DPA_PING_PONG::MAIN)
 
doca_error_t dpa_ping_pong (struct dpa_resources *resources)
 Sample's logic. More...
 
int main (int argc, char **argv)
 Sample's main function. More...
 

Function Documentation

◆ DOCA_LOG_REGISTER()

DOCA_LOG_REGISTER ( DPA_PING_PONG::MAIN  )

◆ dpa_ping_pong()

doca_error_t dpa_ping_pong ( struct dpa_resources resources)

Sample's logic.

Sample's logic.

@resources [in]: DPA resources that the sample will use

Returns
: DOCA_SUCCESS on success and DOCA_ERROR otherwise

Definition at line 167 of file dpa_ping_pong_sample.c.

◆ main()

int main ( int  argc,
char **  argv 
)

Sample's main function.

@argc [in]: sample arguments length @argv [in]: sample arguments

Returns
: EXIT_SUCCESS on success and EXIT_FAILURE otherwise

Definition at line 42 of file dpa_ping_pong_main.c.