FD.io VPP
v19.01.3-6-g70449b9b9
Vector Packet Processing
|
Go to the source code of this file.
Data Structures | |
struct | vlib_pci_device_info |
struct | pci_device_id_t |
struct | vlib_pci_main_t |
Macros | |
#define | VLIB_PCI_DEVICE_INFO_F_NOIOMMU (1 << 0); |
#define | PCI_REGISTER_DEVICE(x, ...) |
Typedefs | |
typedef struct vlib_pci_device_info | vlib_pci_device_info_t |
typedef u32 | vlib_pci_dev_handle_t |
typedef void() | pci_intx_handler_function_t(vlib_main_t *vm, vlib_pci_dev_handle_t handle) |
typedef void() | pci_msix_handler_function_t(vlib_main_t *vm, vlib_pci_dev_handle_t handle, u16 line) |
typedef struct _pci_device_registration | pci_device_registration_t |
Variables | |
vlib_pci_main_t | pci_main |
unformat_function_t | unformat_vlib_pci_addr |
format_function_t | format_vlib_pci_addr |
format_function_t | format_vlib_pci_link_speed |
format_function_t | format_vlib_pci_vpd |
#define PCI_REGISTER_DEVICE | ( | x, | |
... | |||
) |
typedef struct _pci_device_registration pci_device_registration_t |
typedef void() pci_intx_handler_function_t(vlib_main_t *vm, vlib_pci_dev_handle_t handle) |
typedef void() pci_msix_handler_function_t(vlib_main_t *vm, vlib_pci_dev_handle_t handle, u16 line) |
typedef u32 vlib_pci_dev_handle_t |
typedef struct vlib_pci_device_info vlib_pci_device_info_t |
clib_error_t* vlib_pci_bind_to_uio | ( | vlib_main_t * | vm, |
vlib_pci_addr_t * | addr, | ||
char * | uio_driver_name | ||
) |
|
inlinestatic |
void vlib_pci_device_close | ( | vlib_main_t * | vm, |
vlib_pci_dev_handle_t | h | ||
) |
clib_error_t* vlib_pci_device_open | ( | vlib_main_t * | vm, |
vlib_pci_addr_t * | addr, | ||
pci_device_id_t | ids[], | ||
vlib_pci_dev_handle_t * | handle | ||
) |
clib_error_t* vlib_pci_disable_msix_irq | ( | vlib_main_t * | vm, |
vlib_pci_dev_handle_t | h, | ||
u16 | start, | ||
u16 | count | ||
) |
clib_error_t* vlib_pci_enable_msix_irq | ( | vlib_main_t * | vm, |
vlib_pci_dev_handle_t | h, | ||
u16 | start, | ||
u16 | count | ||
) |
|
inlinestatic |
vlib_pci_addr_t* vlib_pci_get_addr | ( | vlib_main_t * | vm, |
vlib_pci_dev_handle_t | h | ||
) |
vlib_pci_addr_t* vlib_pci_get_all_dev_addrs | ( | ) |
vlib_pci_device_info_t* vlib_pci_get_device_info | ( | vlib_main_t * | vm, |
vlib_pci_addr_t * | addr, | ||
clib_error_t ** | error | ||
) |
u32 vlib_pci_get_numa_node | ( | vlib_main_t * | vm, |
vlib_pci_dev_handle_t | h | ||
) |
uword vlib_pci_get_private_data | ( | vlib_main_t * | vm, |
vlib_pci_dev_handle_t | h | ||
) |
|
inlinestatic |
|
inlinestatic |
clib_error_t* vlib_pci_io_region | ( | vlib_main_t * | vm, |
vlib_pci_dev_handle_t | h, | ||
u32 | resource | ||
) |
clib_error_t* vlib_pci_map_dma | ( | vlib_main_t * | vm, |
vlib_pci_dev_handle_t | h, | ||
void * | ptr | ||
) |
clib_error_t* vlib_pci_map_region | ( | vlib_main_t * | vm, |
vlib_pci_dev_handle_t | h, | ||
u32 | resource, | ||
void ** | result | ||
) |
clib_error_t* vlib_pci_map_region_fixed | ( | vlib_main_t * | vm, |
vlib_pci_dev_handle_t | h, | ||
u32 | resource, | ||
u8 * | addr, | ||
void ** | result | ||
) |
clib_error_t* vlib_pci_read_write_config | ( | vlib_main_t * | vm, |
vlib_pci_dev_handle_t | handle, | ||
vlib_read_or_write_t | read_or_write, | ||
uword | address, | ||
void * | data, | ||
u32 | n_bytes | ||
) |
clib_error_t* vlib_pci_read_write_io | ( | vlib_main_t * | vm, |
vlib_pci_dev_handle_t | handle, | ||
vlib_read_or_write_t | read_or_write, | ||
uword | address, | ||
void * | data, | ||
u32 | n_bytes | ||
) |
clib_error_t* vlib_pci_register_intx_handler | ( | vlib_main_t * | vm, |
vlib_pci_dev_handle_t | h, | ||
pci_intx_handler_function_t * | intx_handler | ||
) |
clib_error_t* vlib_pci_register_msix_handler | ( | vlib_main_t * | vm, |
vlib_pci_dev_handle_t | h, | ||
u32 | start, | ||
u32 | count, | ||
pci_msix_handler_function_t * | msix_handler | ||
) |
void vlib_pci_set_private_data | ( | vlib_main_t * | vm, |
vlib_pci_dev_handle_t | h, | ||
uword | private_data | ||
) |
int vlib_pci_supports_virtual_addr_dma | ( | vlib_main_t * | vm, |
vlib_pci_dev_handle_t | h | ||
) |
format_function_t format_vlib_pci_addr |
format_function_t format_vlib_pci_link_speed |
format_function_t format_vlib_pci_vpd |
vlib_pci_main_t pci_main |
unformat_function_t unformat_vlib_pci_addr |