Changeset View
Changeset View
Standalone View
Standalone View
head/sys/dev/hyperv/vmbus/hv_vmbus_priv.h
Show All 39 Lines | |||||
struct vmbus_softc; | struct vmbus_softc; | ||||
typedef struct { | typedef struct { | ||||
void* data; | void* data; | ||||
uint32_t length; | uint32_t length; | ||||
} hv_vmbus_sg_buffer_list; | } hv_vmbus_sg_buffer_list; | ||||
typedef struct { | |||||
uint32_t current_interrupt_mask; | |||||
uint32_t current_read_index; | |||||
uint32_t current_write_index; | |||||
uint32_t bytes_avail_to_read; | |||||
uint32_t bytes_avail_to_write; | |||||
} hv_vmbus_ring_buffer_debug_info; | |||||
typedef struct { | |||||
uint32_t rel_id; | |||||
struct hyperv_guid interface_type; | |||||
struct hyperv_guid interface_instance; | |||||
uint32_t monitor_id; | |||||
uint32_t server_monitor_pending; | |||||
uint32_t server_monitor_latency; | |||||
uint32_t server_monitor_connection_id; | |||||
uint32_t client_monitor_pending; | |||||
uint32_t client_monitor_latency; | |||||
uint32_t client_monitor_connection_id; | |||||
hv_vmbus_ring_buffer_debug_info inbound; | |||||
hv_vmbus_ring_buffer_debug_info outbound; | |||||
} hv_vmbus_channel_debug_info; | |||||
/* | /* | ||||
* The format must be the same as hv_vm_data_gpa_direct | * The format must be the same as hv_vm_data_gpa_direct | ||||
*/ | */ | ||||
typedef struct hv_vmbus_channel_packet_page_buffer { | typedef struct hv_vmbus_channel_packet_page_buffer { | ||||
uint16_t type; | uint16_t type; | ||||
uint16_t data_offset8; | uint16_t data_offset8; | ||||
uint16_t length8; | uint16_t length8; | ||||
uint16_t flags; | uint16_t flags; | ||||
▲ Show 20 Lines • Show All 76 Lines • Show Last 20 Lines |