Go to the source code of this file.
|
static u8 * | format_session_queue_trace (u8 *s, va_list *args) |
|
static void | session_tx_fifo_chain_tail (session_manager_main_t *smm, vlib_main_t *vm, u8 thread_index, svm_fifo_t *fifo, vlib_buffer_t *b0, u32 bi0, u8 n_bufs_per_seg, u32 *left_to_snd0, u16 *n_bufs, u32 *rx_offset, u16 deq_per_buf, u8 peek_data) |
|
static int | session_tx_fifo_read_and_snd_i (vlib_main_t *vm, vlib_node_runtime_t *node, session_manager_main_t *smm, session_fifo_event_t *e0, stream_session_t *s0, u32 thread_index, int *n_tx_packets, u8 peek_data) |
|
int | session_tx_fifo_peek_and_snd (vlib_main_t *vm, vlib_node_runtime_t *node, session_manager_main_t *smm, session_fifo_event_t *e0, stream_session_t *s0, u32 thread_index, int *n_tx_pkts) |
|
int | session_tx_fifo_dequeue_and_snd (vlib_main_t *vm, vlib_node_runtime_t *node, session_manager_main_t *smm, session_fifo_event_t *e0, stream_session_t *s0, u32 thread_index, int *n_tx_pkts) |
|
stream_session_t * | session_event_get_session (session_fifo_event_t *e0, u8 thread_index) |
|
void | dump_thread_0_event_queue (void) |
|
static uword | session_queue_node_fn (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame) |
|
#define foreach_session_queue_error |
Value:_(TX, "Packets transmitted") \
_(TIMER, "Timer events") \
_(NO_BUFFER, "Out of buffers")
Definition at line 48 of file node.c.
Enumerator |
---|
SESSION_QUEUE_N_ERROR |
|
Definition at line 53 of file node.c.
void dump_thread_0_event_queue |
( |
void |
| ) |
|
static u8* format_session_queue_trace |
( |
u8 * |
s, |
|
|
va_list * |
args |
|
) |
| |
|
static |
stream_session_t* session_event_get_session |
( |
session_fifo_event_t * |
e0, |
|
|
u8 |
thread_index |
|
) |
| |
static void session_tx_fifo_chain_tail |
( |
session_manager_main_t * |
smm, |
|
|
vlib_main_t * |
vm, |
|
|
u8 |
thread_index, |
|
|
svm_fifo_t * |
fifo, |
|
|
vlib_buffer_t * |
b0, |
|
|
u32 |
bi0, |
|
|
u8 |
n_bufs_per_seg, |
|
|
u32 * |
left_to_snd0, |
|
|
u16 * |
n_bufs, |
|
|
u32 * |
rx_offset, |
|
|
u16 |
deq_per_buf, |
|
|
u8 |
peek_data |
|
) |
| |
|
inlinestatic |
char* session_queue_error_strings[] |
|
static |
Initial value:= {
#define _(sym,string)
}
#define foreach_session_queue_error
Definition at line 61 of file node.c.
Initial value:=
{
.name = "session-queue",
.state = VLIB_NODE_STATE_DISABLED,
.next_nodes =
{
},
}
static char * session_queue_error_strings[]
static u8 * format_session_queue_trace(u8 *s, va_list *args)
static uword session_queue_node_fn(vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame)
(constructor) VLIB_REGISTER_NODE (session_queue_node)
Definition at line 25 of file node.c.
u32 session_type_to_next[] |
|
static |
Initial value:
Definition at line 67 of file node.c.