Go to the source code of this file.
|
static clib_error_t * | pcap_trace_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
|
static clib_error_t * | show_dpdk_buffer (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
|
static clib_error_t * | test_dpdk_buffer (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
|
static void | show_dpdk_device_stats (vlib_main_t *vm, dpdk_device_t *xd) |
|
static clib_error_t * | trace_frame_queue (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
|
static u32 | compute_percent (u64 *two_counters, u64 total) |
|
static clib_error_t * | show_frame_queue_internal (vlib_main_t *vm, u32 histogram) |
|
static clib_error_t * | show_frame_queue_trace (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
|
static clib_error_t * | show_frame_queue_histogram (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
|
static clib_error_t * | test_frame_queue_nelts (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
|
static clib_error_t * | test_frame_queue_threshold (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
|
static void | show_efd_config (vlib_main_t *vm) |
|
static clib_error_t * | show_efd (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
|
static clib_error_t * | clear_efd (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
|
static clib_error_t * | parse_op_and_prec (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd, char *prec_type, u8 *prec_bitmap) |
|
static clib_error_t * | set_efd (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
|
static clib_error_t * | set_dpdk_if_desc (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
|
static clib_error_t * | show_dpdk_if_placement (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
|
static int | dpdk_device_queue_sort (void *a1, void *a2) |
|
static clib_error_t * | set_dpdk_if_placement (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
|
clib_error_t * | dpdk_cli_init (vlib_main_t *vm) |
|
static u32 compute_percent |
( |
u64 * |
two_counters, |
|
|
u64 |
total |
|
) |
| |
|
static |
static int dpdk_device_queue_sort |
( |
void * |
a1, |
|
|
void * |
a2 |
|
) |
| |
|
static |
Definition at line 29 of file cli.c.
Initial value:= {
.path = "clear efd",
.short_help = "Clear early-fast-discard counters",
}
static clib_error_t * clear_efd(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
(constructor) VLIB_CLI_COMMAND (clear_efd_command)
Definition at line 704 of file cli.c.
Initial value:= {
.path = "set dpdk interface descriptors",
.short_help = "set dpdk interface descriptors <if-name> [rx <n>] [tx <n>]",
}
static clib_error_t * set_dpdk_if_desc(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
(constructor) VLIB_CLI_COMMAND (cmd_set_dpdk_if_desc)
Definition at line 912 of file cli.c.
Initial value:= {
.path = "set dpdk interface placement",
.short_help = "set dpdk interface placement <if-name> [queue <n>] thread <n>",
}
static clib_error_t * set_dpdk_if_placement(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
(constructor) VLIB_CLI_COMMAND (cmd_set_dpdk_if_placement)
Definition at line 1052 of file cli.c.
Initial value:= {
.path = "set efd",
.short_help = "set early-fast-discard commands",
}
static clib_error_t * set_efd(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
(constructor) VLIB_CLI_COMMAND (cmd_set_efd)
Definition at line 850 of file cli.c.
Initial value:= {
.path = "show dpdk buffer",
.short_help = "show dpdk buffer state",
.is_mp_safe = 1,
}
static clib_error_t * show_dpdk_buffer(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
(constructor) VLIB_CLI_COMMAND (cmd_show_dpdk_bufferr)
Definition at line 185 of file cli.c.
Initial value:= {
.path = "show dpdk interface placement",
.short_help = "show dpdk interface placement",
}
static clib_error_t * show_dpdk_if_placement(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
(constructor) VLIB_CLI_COMMAND (cmd_show_dpdk_if_placement)
Definition at line 947 of file cli.c.
Initial value:= {
.path = "show frame-queue histogram",
.short_help = "show frame-queue histogram",
}
static clib_error_t * show_frame_queue_histogram(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
(constructor) VLIB_CLI_COMMAND (cmd_show_frame_queue_histogram)
Definition at line 475 of file cli.c.
Initial value:= {
.path = "show frame-queue",
.short_help = "show frame-queue trace",
}
static clib_error_t * show_frame_queue_trace(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
(constructor) VLIB_CLI_COMMAND (cmd_show_frame_queue_trace)
Definition at line 469 of file cli.c.
Initial value:= {
.path = "test dpdk buffer",
.short_help = "test dpdk buffer [allocate <nn>][free <nn>]",
.is_mp_safe = 1,
}
static clib_error_t * test_dpdk_buffer(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
(constructor) VLIB_CLI_COMMAND (cmd_test_dpdk_buffer)
Definition at line 245 of file cli.c.
Initial value:= {
.path = "test frame-queue nelts",
.short_help = "test frame-queue nelts (4,8,16,32)",
}
static clib_error_t * test_frame_queue_nelts(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
(constructor) VLIB_CLI_COMMAND (cmd_test_frame_queue_nelts)
Definition at line 513 of file cli.c.
Initial value:= {
.path = "test frame-queue threshold",
.short_help = "test frame-queue threshold N (0=no limit)",
}
static clib_error_t * test_frame_queue_threshold(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
(constructor) VLIB_CLI_COMMAND (cmd_test_frame_queue_threshold)
Definition at line 555 of file cli.c.
Initial value:= {
.path = "trace frame-queue",
.short_help = "trace frame-queue (on|off)",
.is_mp_safe = 1,
}
static clib_error_t * trace_frame_queue(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
(constructor) VLIB_CLI_COMMAND (cmd_trace_frame_queue)
Definition at line 330 of file cli.c.
Initial value:= {
.path = "pcap tx trace",
.short_help =
"pcap tx trace on off max <nn> intfc <intfc> file <name> status",
}
static clib_error_t * pcap_trace_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
(constructor) VLIB_CLI_COMMAND (pcap_trace_command)
Definition at line 150 of file cli.c.
Initial value:= {
.path = "show efd",
.short_help = "Show efd [device <id>] | [config]",
}
static clib_error_t * show_efd(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
(constructor) VLIB_CLI_COMMAND (show_efd_command)
Definition at line 664 of file cli.c.