Lines Matching refs:txb
153 static int xnb_recv(netif_tx_back_ring_t *txb, domid_t otherend,
165 const netif_tx_back_ring_t *txb,
544 netif_tx_back_ring_t const* txb = in xnb_dump_rings() local
550 if ( !txb || !txb->sring || !rxb || !rxb->sring ) in xnb_dump_rings()
564 "req_cons", txb->req_cons, rxb->req_cons, in xnb_dump_rings()
565 "nr_ents", txb->nr_ents, rxb->nr_ents, in xnb_dump_rings()
566 "rsp_prod_pvt", txb->rsp_prod_pvt, rxb->rsp_prod_pvt, in xnb_dump_rings()
567 "sring", txb->sring, rxb->sring, in xnb_dump_rings()
568 "sring->req_prod", txb->sring->req_prod, rxb->sring->req_prod, in xnb_dump_rings()
569 "sring->req_event", txb->sring->req_event, rxb->sring->req_event, in xnb_dump_rings()
570 "sring->rsp_prod", txb->sring->rsp_prod, rxb->sring->rsp_prod, in xnb_dump_rings()
571 "sring->rsp_event", txb->sring->rsp_event, rxb->sring->rsp_event); in xnb_dump_rings()
1427 netif_tx_back_ring_t *txb; in xnb_intr() local
1432 txb = &xnb->ring_configs[XNB_RING_TYPE_TX].back_ring.tx_ring; in xnb_intr()
1437 req_prod_local = txb->sring->req_prod; in xnb_intr()
1444 err = xnb_recv(txb, xnb->otherend_id, &mbufc, ifp, in xnb_intr()
1453 RING_PUSH_RESPONSES_AND_CHECK_NOTIFY(txb, notify); in xnb_intr()
1457 txb->sring->req_event = txb->req_cons + 1; in xnb_intr()
1459 } while (txb->sring->req_prod != req_prod_local) ; in xnb_intr()
1699 gnttab_copy_table gnttab, const netif_tx_back_ring_t *txb, in xnb_txpkt2gnttab() argument
1712 const netif_tx_request_t *txq = RING_GET_REQUEST(txb, r_idx); in xnb_txpkt2gnttab()
1805 xnb_recv(netif_tx_back_ring_t *txb, domid_t otherend, struct mbuf **mbufc, in xnb_recv() argument
1814 num_consumed = xnb_ring2pkt(&pkt, txb, txb->req_cons); in xnb_recv()
1827 xnb_txpkt2rsp(&pkt, txb, 1); in xnb_recv()
1828 txb->req_cons += num_consumed; in xnb_recv()
1842 xnb_txpkt2rsp(&pkt, txb, 1); in xnb_recv()
1849 nr_ents = xnb_txpkt2gnttab(&pkt, *mbufc, gnttab, txb, otherend); in xnb_recv()
1859 xnb_txpkt2rsp(&pkt, txb, 0); in xnb_recv()
1860 txb->req_cons += num_consumed; in xnb_recv()