FD.io VPP  v16.12-rc0-308-g931be3a
Vector Packet Processing
pci.c File Reference
+ Include dependency graph for pci.c:

Go to the source code of this file.

Functions

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)
 
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 119 of file pci.c.

+ Here is the call graph for this function:

u8* format_vlib_pci_handle ( u8 s,
va_list *  va 
)

Definition at line 127 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 134 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 165 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 56 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 102 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:56

(constructor) VLIB_CLI_COMMAND (show_pci_command)

Definition at line 157 of file pci.c.