Lines Matching refs:rx_iobuf
394 * @v index Index for rx_iobuf and rx_ring array
409 p->rx_ring[index].DataAddr = virt_to_bus(p->rx_iobuf[index]->data);
441 if (p->rx_iobuf[i] != NULL)
444 p->rx_iobuf[i] = alloc_iob(RX_BUF_SIZE);
445 if (p->rx_iobuf[i] == NULL) {
483 p->rx_iobuf[i] = NULL;
509 free_iob(p->rx_iobuf[i]);
510 p->rx_iobuf[i] = NULL;
537 if (p->rx_iobuf[p->rx_cur] == NULL)
542 netdev_rx_err(netdev, p->rx_iobuf[p->rx_cur],
549 iob_put(p->rx_iobuf[p->rx_cur], packet_len);
554 netdev_rx(netdev, p->rx_iobuf[p->rx_cur]);
557 p->rx_iobuf[p->rx_cur] = NULL; /* invalidate rx desc */