NVIDIA DOCA SDK Data Center on a Chip Framework Documentation
eth_txq_batch_send_ethernet_frames_main.c File Reference
#include <stdlib.h>
#include <stdint.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_txq_batch_send_ethernet_frames_main.c:

Go to the source code of this file.

Data Structures

struct  eth_txq_cfg
 

Functions

 DOCA_LOG_REGISTER (ETH_TXQ_BATCH_SEND_ETHERNET_FRAMES::MAIN)
 
doca_error_t eth_txq_batch_send_ethernet_frames (const char *ib_dev_name, uint8_t *dest_mac_addr)
 
static doca_error_t ibdev_name_callback (void *param, void *config)
 
static doca_error_t mac_addr_callback (void *param, void *config)
 
static doca_error_t register_eth_txq_params (void)
 
int main (int argc, char **argv)
 

Function Documentation

◆ DOCA_LOG_REGISTER()

DOCA_LOG_REGISTER ( ETH_TXQ_BATCH_SEND_ETHERNET_FRAMES::MAIN  )

◆ eth_txq_batch_send_ethernet_frames()

doca_error_t eth_txq_batch_send_ethernet_frames ( const char *  ib_dev_name,
uint8_t *  dest_mac_addr 
)

Definition at line 455 of file eth_txq_batch_send_ethernet_frames_sample.c.

◆ ibdev_name_callback()

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

Definition at line 55 of file eth_txq_batch_send_ethernet_frames_main.c.

◆ mac_addr_callback()

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

Definition at line 69 of file eth_txq_batch_send_ethernet_frames_main.c.

◆ main()

int main ( int  argc,
char **  argv 
)

Definition at line 131 of file eth_txq_batch_send_ethernet_frames_main.c.

◆ register_eth_txq_params()

static doca_error_t register_eth_txq_params ( void  )
static

Definition at line 81 of file eth_txq_batch_send_ethernet_frames_main.c.