Function nic_initialization::init_rx_buf_pool
source · pub fn init_rx_buf_pool(
num_rx_buffers: usize,
buffer_size: u16,
rx_buffer_pool: &'static Queue<ReceiveBuffer>
) -> Result<(), &'static str>
Expand description
Initialize the receive buffer pool from where receive buffers are taken and returned
Arguments
num_rx_buffers
: number of buffers that are initially added to the poolbuffer_size
: size of the receive buffers in bytesrx_buffer_pool
: buffer pool to initialize