| NVIDIA DOCA SDK | Data Center on a Chip Framework Documentation |
#include <stdio.h>#include <stdlib.h>#include <string.h>#include <doca_log.h>#include "eth_common.h"
Go to the source code of this file.
Macros | |
| #define | CACHE_LINE_SIZE 64 /* Cache-line size in bytes */ |
Functions | |
| DOCA_LOG_REGISTER (ETH::COMMON) | |
| doca_error_t | allocate_eth_core_resources (struct eth_core_config *cfg, struct eth_core_resources *resources) |
| doca_error_t | destroy_eth_core_resources (struct eth_core_resources *resources) |
| doca_error_t | extract_ibdev_name (char *ibdev_name, char *ibdev_name_out) |
| doca_error_t | extract_mac_addr (char *mac_addr, uint8_t *mac_addr_out) |
| #define CACHE_LINE_SIZE 64 /* Cache-line size in bytes */ |
Definition at line 36 of file eth_common.c.
| doca_error_t allocate_eth_core_resources | ( | struct eth_core_config * | cfg, |
| struct eth_core_resources * | resources | ||
| ) |
Definition at line 38 of file eth_common.c.
| doca_error_t destroy_eth_core_resources | ( | struct eth_core_resources * | resources | ) |
Definition at line 98 of file eth_common.c.
| DOCA_LOG_REGISTER | ( | ETH::COMMON | ) |
| doca_error_t extract_ibdev_name | ( | char * | ibdev_name, |
| char * | ibdev_name_out | ||
| ) |
Definition at line 128 of file eth_common.c.
| doca_error_t extract_mac_addr | ( | char * | mac_addr, |
| uint8_t * | mac_addr_out | ||
| ) |
Definition at line 146 of file eth_common.c.