|
FD.io VPP
v21.06-3-gbb25fbf28
Vector Packet Processing
|
Go to the documentation of this file.
28 f64 timeout = 3153600000.0 ;
29 uword event_type, *event_data = 0;
41 timeout = 3153600000.0;
66 clib_warning (
"BUG: unhandled event type %d", event_type);
77 .name =
"virtio-send-interrupt-process",
#define vec_reset_length(v)
Reset vector length to zero NULL-pointer tolerant.
@ VNET_HW_IF_RX_MODE_ADAPTIVE
vlib_main_t * vm
X-connect all packets from the HOST to the PHY.
virtio_main_t virtio_main
static uword vlib_process_get_events(vlib_main_t *vm, uword **data_vector)
Return the first event type which has occurred and a vector of per-event data of that type,...
#define pool_foreach(VAR, POOL)
Iterate through pool.
static uword virtio_send_interrupt_process(vlib_main_t *vm, vlib_node_runtime_t *rt, vlib_frame_t *f)
vnet_main_t * vnet_get_main(void)
#define VIRTIO_EVENT_STOP_TIMER
@ VNET_HW_IF_RX_MODE_INTERRUPT
static_always_inline void vnet_hw_if_rx_queue_set_int_pending(vnet_main_t *vnm, u32 queue_index)
struct _vlib_node_registration vlib_node_registration_t
static f64 vlib_process_wait_for_event_or_clock(vlib_main_t *vm, f64 dt)
Suspend a cooperative multi-tasking thread Waits for an event, or for the indicated number of seconds...
vlib_node_registration_t virtio_send_interrupt_node
(constructor) VLIB_REGISTER_NODE (virtio_send_interrupt_node)
#define vec_foreach(var, vec)
Vector iterator.
#define VIRTIO_EVENT_START_TIMER
virtio_vring_t * rxq_vrings
vnet_interface_output_runtime_t * rt
#define clib_warning(format, args...)
#define VLIB_REGISTER_NODE(x,...)