class HostToGuestCompletionQueue

Defined at line 21 of file ../../src/virtualization/bin/vmm/device/virtio_net/src/cpp/completion_queue.h

Public Members

static const uint32_t kMaxDepth
static const uint32_t kQueueDepth

Public Methods

void Complete (uint32_t buffer_id, zx_status_t status)

Write a completion to the queue, scheduling a task to send a completion to the netstack if

needed. If the queue is full, this won't be batched and instead will be scheduled

independently.

This is safe to call from any thread.

Defined at line 9 of file ../../src/virtualization/bin/vmm/device/virtio_net/src/cpp/completion_queue.cc

void HostToGuestCompletionQueue (async_dispatcher_t * dispatcher, fdf::WireSharedClient<fuchsia_hardware_network_driver::NetworkDeviceIfc> * device)

Defined at line 23 of file ../../src/virtualization/bin/vmm/device/virtio_net/src/cpp/completion_queue.h