FD.io VPP
v19.04.2-12-g66b1689
Vector Packet Processing
|
Go to the source code of this file.
Data Structures | |
struct | linux_vmbus_region_t |
struct | linux_vmbus_irq_t |
struct | linux_vmbus_device_t |
struct | linux_vmbus_main_t |
Functions | |
static linux_vmbus_device_t * | linux_vmbus_get_device (vlib_vmbus_dev_handle_t h) |
uword | vlib_vmbus_get_private_data (vlib_vmbus_dev_handle_t h) |
void | vlib_vmbus_set_private_data (vlib_vmbus_dev_handle_t h, uword private_data) |
vlib_vmbus_addr_t * | vlib_vmbus_get_addr (vlib_vmbus_dev_handle_t h) |
clib_error_t * | vmbus_bus_init (vlib_main_t *vm) |
static uword | unformat_vlib_vmbus_addr (unformat_input_t *input, va_list *args) |
static u8 * | format_vlib_vmbus_addr (u8 *s, va_list *va) |
static clib_error_t * | vlib_vmbus_raise_lower (int fd, const char *upper_name) |
static int | directory_exists (char *path) |
clib_error_t * | vlib_vmbus_bind_to_uio (vlib_vmbus_addr_t *addr) |
static clib_error_t * | scan_vmbus_addr (void *arg, u8 *dev_dir_name, u8 *ignored) |
static int | vmbus_addr_cmp (void *v1, void *v2) |
vlib_vmbus_addr_t * | vlib_vmbus_get_all_dev_addrs () |
clib_error_t * | linux_vmbus_init (vlib_main_t *vm) |
Variables | |
static const char | sysfs_vmbus_dev_path [] = "/sys/bus/vmbus/devices" |
static const char | sysfs_vmbus_drv_path [] = "/sys/bus/vmbus/drivers" |
static const char | sysfs_class_net_path [] = "/sys/class/net" |
static const char | uio_drv_name [] = "uio_hv_generic" |
static const char | netvsc_uuid [] = "f8615163-df3e-46c5-913f-f2d2f965ed0e" |
linux_vmbus_main_t | linux_vmbus_main |
|
static |
|
static |
clib_error_t* linux_vmbus_init | ( | vlib_main_t * | vm | ) |
|
static |
|
static |
clib_error_t* vlib_vmbus_bind_to_uio | ( | vlib_vmbus_addr_t * | addr | ) |
vlib_vmbus_addr_t* vlib_vmbus_get_addr | ( | vlib_vmbus_dev_handle_t | h | ) |
vlib_vmbus_addr_t* vlib_vmbus_get_all_dev_addrs | ( | ) |
uword vlib_vmbus_get_private_data | ( | vlib_vmbus_dev_handle_t | h | ) |
|
static |
void vlib_vmbus_set_private_data | ( | vlib_vmbus_dev_handle_t | h, |
uword | private_data | ||
) |
|
static |
clib_error_t* vmbus_bus_init | ( | vlib_main_t * | vm | ) |
linux_vmbus_main_t linux_vmbus_main |
|
static |
|
static |
|
static |