morpheus_network::driver::virtio::rx

Function prefill_queue

Source
pub fn prefill_queue(
    rx_state: &mut VirtqueueState,
    rx_pool: &mut BufferPool,
) -> Result<usize, RxError>
Expand description

Pre-fill RX queue during initialization.

Should be called after queue setup, before DRIVER_OK.