Home
last modified time | relevance | path

Searched refs:txring (Results 1 – 6 of 6) sorted by relevance

/freebsd-11-stable/tools/tools/netmap/
HDbridge.c55 process_rings(struct netmap_ring *rxring, struct netmap_ring *txring, in process_rings() argument
61 if (rxring->flags || txring->flags) in process_rings()
63 msg, rxring->flags, txring->flags); in process_rings()
65 k = txring->cur; /* TX */ in process_rings()
69 m = nm_ring_space(txring); in process_rings()
75 struct netmap_slot *ts = &txring->slot[k]; in process_rings()
102 char *txbuf = NETMAP_BUF(txring, ts->buf_idx); in process_rings()
106 k = nm_ring_next(txring, k); in process_rings()
109 txring->head = txring->cur = k; in process_rings()
111 D("%s sent %d packets to %p", msg, m, txring); in process_rings()
[all …]
HDpkt-gen.c1477 struct netmap_ring *txring, *rxring; in pong_body() local
1501 txring = NETMAP_TXRING(nifp, targ->nmd->first_tx_ring); in pong_body()
1502 txhead = txring->head; in pong_body()
1503 txavail = nm_ring_space(txring); in pong_body()
1518 dst = NETMAP_BUF(txring, in pong_body()
1519 txring->slot[txhead].buf_idx); in pong_body()
1531 txring->slot[txhead].len = slot->len; in pong_body()
1532 txhead = nm_ring_next(txring, txhead); in pong_body()
1537 txring->head = txring->cur = txhead; in pong_body()
1560 struct netmap_ring *txring = NULL; in sender_body() local
[all …]
/freebsd-11-stable/sys/dev/cadence/
HDif_cgem.c134 struct cgem_tx_desc *txring; member
371 sc->txring = NULL; in cgem_setup_descs()
437 (void **)&sc->txring, in cgem_setup_descs()
445 (void *)sc->txring, in cgem_setup_descs()
454 sc->txring[i].addr = 0; in cgem_setup_descs()
455 sc->txring[i].ctl = CGEM_TXDESC_USED; in cgem_setup_descs()
459 sc->txring[CGEM_NUM_TX_DESCS - 1].ctl |= CGEM_TXDESC_WRAP; in cgem_setup_descs()
636 ((ctl = sc->txring[sc->txring_tl_ptr].ctl) & in cgem_clean_tx()
661 sc->txring[sc->txring_tl_ptr].addr); in cgem_clean_tx()
679 ctl = sc->txring[sc->txring_tl_ptr].ctl; in cgem_clean_tx()
[all …]
/freebsd-11-stable/sys/dev/netmap/
HDnetmap_pipe.c189 struct netmap_ring *txring = txkring->ring, *rxring = rxkring->ring; in netmap_pipe_txsync() local
211 struct netmap_slot *ts = &txring->slot[k]; in netmap_pipe_txsync()
241 struct netmap_ring *txring = txkring->ring, *rxring = rxkring->ring; in netmap_pipe_rxsync() local
262 struct netmap_slot *ts = &txring->slot[k]; in netmap_pipe_rxsync()
/freebsd-11-stable/sys/dev/lmc/
HDif_lmc.c2744 struct desc_ring *ring = &sc->txring; in txintr_cleanup()
2789 struct desc_ring *ring = &sc->txring; in txintr_setup_mbuf()
2873 struct desc_ring *ring = &sc->txring; in txintr_setup()
3050 struct desc_ring *ring = &sc->txring; in core_interrupt()
3051 DMA_SYNC(sc->txring.map, sc->txring.size_descs, in core_interrupt()
3067 struct desc_ring *ring = &sc->txring; in core_interrupt()
3068 DMA_SYNC(sc->txring.map, sc->txring.size_descs, in core_interrupt()
4269 if ((error = create_ring(sc, &sc->txring, NUM_TX_DESCS))) return error; in startup_card()
4270 WRITE_CSR(TLP_TX_LIST, sc->txring.dma_addr); in startup_card()
4307 destroy_ring(sc, &sc->txring); in shutdown_card()
HDif_lmc.h1129 struct desc_ring txring; /* tx descriptor ring state */ member