iPXE
Data Fields
vmbus_device Struct Reference

A VMBus device. More...

#include <vmbus.h>

Data Fields

struct device dev
 Generic iPXE device.
struct hv_hypervisorhv
 Hyper-V hypervisor.
union uuid instance
 Channel instance.
unsigned int channel
 Channel ID.
unsigned int monitor
 Monitor ID.
void(* signal )(struct vmbus_device *vmdev)
 Signal channel.
uint32_t out_len
 Outbound ring buffer length.
uint32_t in_len
 Inbound ring buffer length.
struct vmbus_ringout
 Outbound ring buffer.
struct vmbus_ringin
 Inbound ring buffer.
unsigned int gpadl
 Ring buffer GPADL ID.
struct vmbus_channel_operationsop
 Channel operations.
size_t mtu
 Maximum expected data packet length.
void * packet
 Packet buffer.
struct list_head pages
 List of transfer page sets.
struct vmbus_driverdriver
 Driver.
void * priv
 Driver-private data.

Detailed Description

A VMBus device.

Definition at line 476 of file vmbus.h.


Field Documentation

Channel instance.

Definition at line 483 of file vmbus.h.

Referenced by vmbus_probe_channels().

unsigned int vmbus_device::channel
unsigned int vmbus_device::monitor

Monitor ID.

Definition at line 487 of file vmbus.h.

Referenced by vmbus_probe_channels(), and vmbus_signal_monitor().

void( * vmbus_device::signal)(struct vmbus_device *vmdev)

Signal channel.

Parameters:
vmdevVMBus device

Definition at line 492 of file vmbus.h.

Referenced by vmbus_probe_channels(), and vmbus_send().

Outbound ring buffer length.

Definition at line 495 of file vmbus.h.

Referenced by vmbus_close(), vmbus_open(), vmbus_produce(), and vmbus_send().

Inbound ring buffer length.

Definition at line 497 of file vmbus.h.

Referenced by vmbus_close(), vmbus_consume(), vmbus_dump_channel(), vmbus_open(), and vmbus_poll().

Outbound ring buffer.

Definition at line 499 of file vmbus.h.

Referenced by vmbus_close(), vmbus_dump_channel(), vmbus_open(), vmbus_produce(), vmbus_remove_channels(), and vmbus_send().

Inbound ring buffer.

Definition at line 501 of file vmbus.h.

Referenced by vmbus_close(), vmbus_consume(), vmbus_dump_channel(), vmbus_open(), vmbus_poll(), and vmbus_remove_channels().

unsigned int vmbus_device::gpadl

Ring buffer GPADL ID.

Definition at line 503 of file vmbus.h.

Referenced by netvsc_destroy_buffer(), vmbus_close(), and vmbus_open().

Channel operations.

Definition at line 506 of file vmbus.h.

Referenced by vmbus_open(), and vmbus_poll().

Maximum expected data packet length.

Definition at line 508 of file vmbus.h.

Referenced by vmbus_open(), vmbus_poll(), and vmbus_send_data().

List of transfer page sets.

Definition at line 512 of file vmbus.h.

Referenced by netvsc_create_buffer(), netvsc_destroy_buffer(), vmbus_probe_channels(), vmbus_remove_channels(), and vmbus_xfer_pages().

Driver.

Definition at line 515 of file vmbus.h.

Referenced by vmbus_probe_channels(), vmbus_remove_channels(), and vmbus_reset_channels().

Driver-private data.

Definition at line 517 of file vmbus.h.

Referenced by vmbus_get_drvdata(), and vmbus_set_drvdata().


The documentation for this struct was generated from the following file: