NVIDIA DOCA SDK Data Center on a Chip Framework Documentation
eth_rxq_regular_receive_main.c File Reference
#include <stdlib.h>
#include <stdbool.h>
#include <string.h>
#include <doca_argp.h>
#include <doca_dev.h>
#include <doca_error.h>
#include <doca_log.h>
#include "eth_common.h"
Include dependency graph for eth_rxq_regular_receive_main.c:

Go to the source code of this file.

Data Structures

struct  eth_rxq_cfg
 

Functions

 DOCA_LOG_REGISTER (ETH_RXQ_REGULAR_RECEIVE::MAIN)
 
doca_error_t eth_rxq_regular_receive (const char *ib_dev_name, bool timestamp_enable)
 
static doca_error_t device_address_callback (void *param, void *config)
 
static doca_error_t timestamp_callback (void *param, void *config)
 
static doca_error_t register_eth_rxq_params (void)
 
int main (int argc, char **argv)
 

Function Documentation

◆ device_address_callback()

static doca_error_t device_address_callback ( void *  param,
void *  config 
)
static

Definition at line 55 of file eth_rxq_regular_receive_main.c.

◆ DOCA_LOG_REGISTER()

DOCA_LOG_REGISTER ( ETH_RXQ_REGULAR_RECEIVE::MAIN  )

◆ eth_rxq_regular_receive()

doca_error_t eth_rxq_regular_receive ( const char *  ib_dev_name,
bool  timestamp_enable 
)

Definition at line 487 of file eth_rxq_regular_receive_sample.c.

◆ main()

int main ( int  argc,
char **  argv 
)

Definition at line 134 of file eth_rxq_regular_receive_main.c.

◆ register_eth_rxq_params()

static doca_error_t register_eth_rxq_params ( void  )
static

Definition at line 84 of file eth_rxq_regular_receive_main.c.

◆ timestamp_callback()

static doca_error_t timestamp_callback ( void *  param,
void *  config 
)
static

Definition at line 69 of file eth_rxq_regular_receive_main.c.