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",
vnet_interface_output_runtime_t * rt
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...
#define pool_foreach(VAR, POOL)
Iterate through pool.
#define VIRTIO_EVENT_START_TIMER
static_always_inline void vnet_hw_if_rx_queue_set_int_pending(vnet_main_t *vnm, u32 queue_index)
#define vec_reset_length(v)
Reset vector length to zero NULL-pointer tolerant.
static uword virtio_send_interrupt_process(vlib_main_t *vm, vlib_node_runtime_t *rt, vlib_frame_t *f)
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...
vlib_node_registration_t virtio_send_interrupt_node
(constructor) VLIB_REGISTER_NODE (virtio_send_interrupt_node)
vnet_main_t * vnet_get_main(void)
vlib_main_t * vm
X-connect all packets from the HOST to the PHY.
virtio_vring_t * rxq_vrings
#define VLIB_REGISTER_NODE(x,...)
#define clib_warning(format, args...)
virtio_main_t virtio_main
#define vec_foreach(var, vec)
Vector iterator.
#define VIRTIO_EVENT_STOP_TIMER