Changeset View
Changeset View
Standalone View
Standalone View
head/sys/dev/hyperv/include/hyperv.h
Show First 20 Lines • Show All 749 Lines • ▼ Show 20 Lines | typedef struct hv_vmbus_channel { | ||||
hv_vmbus_ring_buffer_info outbound; | hv_vmbus_ring_buffer_info outbound; | ||||
/* | /* | ||||
* receive from parent | * receive from parent | ||||
*/ | */ | ||||
hv_vmbus_ring_buffer_info inbound; | hv_vmbus_ring_buffer_info inbound; | ||||
struct mtx inbound_lock; | struct mtx inbound_lock; | ||||
struct taskqueue * rxq; | |||||
struct task channel_task; | |||||
hv_vmbus_pfn_channel_callback on_channel_callback; | hv_vmbus_pfn_channel_callback on_channel_callback; | ||||
void* channel_callback_context; | void* channel_callback_context; | ||||
/* | /* | ||||
* If batched_reading is set to "true", mask the interrupt | * If batched_reading is set to "true", mask the interrupt | ||||
* and read until the channel is empty. | * and read until the channel is empty. | ||||
* If batched_reading is set to "false", the channel is not | * If batched_reading is set to "false", the channel is not | ||||
* going to perform batched reading. | * going to perform batched reading. | ||||
▲ Show 20 Lines • Show All 210 Lines • Show Last 20 Lines |