class RxIoBufferRing

Defined at line 135 of file ../../src/devices/misc/drivers/virtio-socket/socket.h

Public Methods

void RxIoBufferRing (virtio::Device * device, uint16_t count, uint32_t buf_size)

Defined at line 650 of file ../../src/devices/misc/drivers/virtio-socket/socket.cc

void RefillRing ()

Submit descriptors into the ring. Typically only needs to be called on

init, as ProcessDescriptors will automatically call this.

Defined at line 654 of file ../../src/devices/misc/drivers/virtio-socket/socket.cc

template <typename H, typename F>
void ProcessDescriptors (F func)

Calls the provided function on any completed descriptors giving header

and any extra data. Drops any descriptors that are chained.

Will automatically refill and kick the ring.

Defined at line 670 of file ../../src/devices/misc/drivers/virtio-socket/socket.cc