int fill_rx_buffers (struct s2io_nic * nic, int ring_no);
The function allocates Rx side skbs and puts the physical address of these buffers into the RxD buffer pointers, so that the NIC can DMA the received frame into these locations. The NIC supports 3 receive modes, viz 1. single buffer, 2. three buffer and 3. Five buffer modes. Each mode defines how many fragments the received frame will be split up into by the NIC. The frame is split into L3 header, L4 Header, L4 payload in three buffer mode and in 5 buffer mode, L4 payload itself is split into 3 fragments. As of now only single buffer mode is supported.
SUCCESS on success or an appropriate -ve value on failure.