FD.io VPP  v18.01-8-g0eacf49
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_info_tvlib_pci_get_device_info (vlib_pci_addr_t *addr, clib_error_t **error)
 
vlib_pci_addr_t * vlib_pci_get_all_dev_addrs ()
 
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_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 140 of file pci.c.

+ Here is the call graph for this function:

+ Here is the caller 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:

+ Here is the caller 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:

+ Here is the caller 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 call graph for this function:

+ 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 123 of file pci.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

vlib_pci_addr_t* vlib_pci_get_all_dev_addrs ( )

Definition at line 63 of file pci.c.

+ Here is the call graph for this function:

vlib_pci_device_info_t* vlib_pci_get_device_info ( vlib_pci_addr_t *  addr,
clib_error_t **  error 
)

Definition at line 56 of file pci.c.

+ Here is the call 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.