Searched refs:txring (Results 1 – 4 of 4) sorted by relevance
| /freebsd-12.1/tools/tools/netmap/ |
| H A D | bridge.c | 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() 106 k = nm_ring_next(txring, k); in process_rings() 109 txring->head = txring->cur = k; in process_rings() 120 struct netmap_ring *txring, *rxring; in move() local 127 txring = NETMAP_TXRING(dst->nifp, di); in move() 128 ND("txring %p rxring %p", txring, rxring); in move() [all …]
|
| H A D | pkt-gen.c | 1502 txhead = txring->head; in pong_body() 1503 txavail = nm_ring_space(txring); in pong_body() 1518 dst = NETMAP_BUF(txring, in pong_body() 1537 txring->head = txring->cur = txhead; in pong_body() 1628 bufsz = txring->nr_buf_size; in sender_body() 1689 if (nm_ring_empty(txring)) in sender_body() 1700 limit, txring->tail, m); in sender_body() 1715 if (txring != NULL) { in sender_body() 1717 txring->tail, txring->head, in sender_body() 1724 txring = NETMAP_TXRING(nifp, i); in sender_body() [all …]
|
| /freebsd-12.1/sys/dev/cadence/ |
| H A D | if_cgem.c | 142 struct cgem_tx_desc *txring; member 379 sc->txring = NULL; in cgem_setup_descs() 445 (void **)&sc->txring, in cgem_setup_descs() 453 (void *)sc->txring, in cgem_setup_descs() 462 sc->txring[i].addr = 0; in cgem_setup_descs() 463 sc->txring[i].ctl = CGEM_TXDESC_USED; in cgem_setup_descs() 689 sc->txring[sc->txring_tl_ptr].ctl = in cgem_clean_tx() 1124 sc->txring[i].ctl = CGEM_TXDESC_USED; in cgem_stop() 1125 sc->txring[i].addr = 0; in cgem_stop() 1815 if (sc->txring != NULL) { in cgem_detach() [all …]
|
| /freebsd-12.1/sys/dev/netmap/ |
| H A D | netmap_pipe.c | 191 struct netmap_ring *txring = txkring->ring, *rxring = rxkring->ring; in netmap_pipe_txsync() local 213 struct netmap_slot *ts = &txring->slot[k]; in netmap_pipe_txsync() 243 struct netmap_ring *txring = txkring->ring, *rxring = rxkring->ring; in netmap_pipe_rxsync() local 264 struct netmap_slot *ts = &txring->slot[k]; in netmap_pipe_rxsync()
|