NVIDIA DOCA SDK Data Center on a Chip Framework Documentation
device.c File Reference
#include <rte_ethdev.h>
#include "common.h"
Include dependency graph for device.c:

Go to the source code of this file.

Functions

 DOCA_LOG_REGISTER (GPU_PACKET_PROCESSING_DEVICE)
 
static doca_error_t open_doca_device_with_pci (const char *pcie_value, struct doca_dev **retval)
 
doca_error_t init_doca_device (char *nic_pcie_addr, struct doca_dev **ddev, uint16_t *dpdk_port_id)
 

Variables

struct rte_eth_dev_info dev_info = {0}
 
struct rte_eth_conf eth_conf = {0}
 
struct rte_mempool * mp
 

Function Documentation

◆ DOCA_LOG_REGISTER()

DOCA_LOG_REGISTER ( GPU_PACKET_PROCESSING_DEVICE  )

◆ init_doca_device()

doca_error_t init_doca_device ( char *  nic_pcie_addr,
struct doca_dev **  ddev,
uint16_t *  dpdk_port_id 
)

Definition at line 80 of file device.c.

◆ open_doca_device_with_pci()

static doca_error_t open_doca_device_with_pci ( const char *  pcie_value,
struct doca_dev **  retval 
)
static

Definition at line 43 of file device.c.

Variable Documentation

◆ dev_info

struct rte_eth_dev_info dev_info = {0}

Definition at line 30 of file device.c.

◆ eth_conf

struct rte_eth_conf eth_conf = {0}

Definition at line 30 of file device.c.

◆ mp

struct rte_mempool* mp

Definition at line 34 of file device.c.