Lines Matching refs:rx_ring
60 netif_rx_back_ring_t rx_ring; member
231 RING_IDX i = netdev->rx_ring.rsp_prod_pvt; in net_rx_response()
235 resp = RING_GET_RESPONSE(&netdev->rx_ring, i); in net_rx_response()
246 netdev->rx_ring.rsp_prod_pvt = ++i; in net_rx_response()
247 RING_PUSH_RESPONSES_AND_CHECK_NOTIFY(&netdev->rx_ring, notify); in net_rx_response()
269 rc = netdev->rx_ring.req_cons; in net_rx_packet()
270 rp = netdev->rx_ring.sring->req_prod; in net_rx_packet()
273 if (rc == rp || RING_REQUEST_CONS_OVERFLOW(&netdev->rx_ring, rc)) { in net_rx_packet()
283 memcpy(&rxreq, RING_GET_REQUEST(&netdev->rx_ring, rc), sizeof(rxreq)); in net_rx_packet()
284 netdev->rx_ring.req_cons = ++rc; in net_rx_packet()
406 BACK_RING_INIT(&netdev->rx_ring, netdev->rxs, XEN_PAGE_SIZE); in xen_netdev_connect()
432 netdev->rx_ring.sring = NULL; in xen_netdev_disconnect()