FD.io VPP  v17.10-9-gd594711
Vector Packet Processing
pci.c File Reference
+ Include dependency graph for pci.c:

Go to the source code of this file.

Functions

vlib_pci_device_tvlib_get_pci_device (vlib_pci_addr_t *addr)
 
static clib_error_tshow_pci_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
 
uword unformat_vlib_pci_addr (unformat_input_t *input, va_list *args)
 
u8format_vlib_pci_addr (u8 *s, va_list *va)
 
u8format_vlib_pci_handle (u8 *s, va_list *va)
 
u8format_vlib_pci_link_speed (u8 *s, va_list *va)
 
u8format_vlib_pci_vpd (u8 *s, va_list *args)
 
clib_error_tpci_bus_init (vlib_main_t *vm)
 

Variables

vlib_pci_main_t pci_main
 
static vlib_cli_command_t show_pci_command
 (constructor) VLIB_CLI_COMMAND (show_pci_command) More...
 

Function Documentation

u8* format_vlib_pci_addr ( u8 s,
va_list *  va 
)

Definition at line 133 of file pci.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

u8* format_vlib_pci_handle ( u8 s,
va_list *  va 
)

Definition at line 141 of file pci.c.

+ Here is the call graph for this function:

u8* format_vlib_pci_link_speed ( u8 s,
va_list *  va 
)

Definition at line 148 of file pci.c.

+ Here is the call graph for this function:

u8* format_vlib_pci_vpd ( u8 s,
va_list *  args 
)

Definition at line 170 of file pci.c.

+ Here is the call graph for this function:

clib_error_t* pci_bus_init ( vlib_main_t vm)

Definition at line 251 of file pci.c.

+ Here is the caller graph for this function:

static clib_error_t* show_pci_fn ( vlib_main_t vm,
unformat_input_t input,
vlib_cli_command_t cmd 
)
static

Definition at line 69 of file pci.c.

+ Here is the call graph for this function:

uword unformat_vlib_pci_addr ( unformat_input_t input,
va_list *  args 
)

Definition at line 116 of file pci.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

vlib_pci_device_t* vlib_get_pci_device ( vlib_pci_addr_t *  addr)

Definition at line 56 of file pci.c.

+ Here is the caller graph for this function:

Variable Documentation

vlib_pci_main_t pci_main

Definition at line 53 of file pci.c.

vlib_cli_command_t show_pci_command
static
Initial value:
= {
.path = "show pci",
.short_help = "show pci [all]",
.function = show_pci_fn,
}
static clib_error_t * show_pci_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
Definition: pci.c:69

(constructor) VLIB_CLI_COMMAND (show_pci_command)

Definition at line 243 of file pci.c.