Searched refs:txring (Results 1 – 4 of 4) sorted by relevance
| /freebsd-13.1/tools/tools/netmap/ |
| H A D | bridge.c | 77 if (rxring->flags || txring->flags) in rings_move() 79 msg, rxring->flags, txring->flags); in rings_move() 81 k = txring->head; /* TX */ in rings_move() 85 m = nm_ring_space(txring); in rings_move() 91 struct netmap_slot *ts = &txring->slot[k]; in rings_move() 126 k = nm_ring_next(txring, k); in rings_move() 129 txring->head = txring->cur = k; in rings_move() 132 msg, m, rxring->ringid, txring->ringid); in rings_move() 142 struct netmap_ring *txring, *rxring; in ports_move() local 147 txring = NETMAP_TXRING(dst->nifp, di); in ports_move() [all …]
|
| H A D | pkt-gen.c | 1521 txhead = txring->head; in pong_body() 1522 txavail = nm_ring_space(txring); in pong_body() 1537 dst = NETMAP_BUF(txring, in pong_body() 1556 txring->head = txring->cur = txhead; in pong_body() 1647 bufsz = txring->nr_buf_size; in sender_body() 1708 if (nm_ring_empty(txring)) in sender_body() 1719 limit, txring->tail, m); in sender_body() 1734 if (txring != NULL) { in sender_body() 1736 txring->tail, txring->head, in sender_body() 1743 txring = NETMAP_TXRING(nifp, i); in sender_body() [all …]
|
| /freebsd-13.1/sys/dev/cadence/ |
| H A D | if_cgem.c | 160 struct cgem_tx_desc *txring; member 422 sc->txring = NULL; in cgem_setup_descs() 484 sc->txring[i].addr = 0; in cgem_setup_descs() 485 sc->txring[i].ctl = CGEM_TXDESC_USED; in cgem_setup_descs() 704 sc->txring[sc->txring_tl_ptr].addr); in cgem_clean_tx() 708 sc->txring[sc->txring_tl_ptr].addr); in cgem_clean_tx() 728 ctl = sc->txring[sc->txring_tl_ptr].ctl; in cgem_clean_tx() 730 sc->txring[sc->txring_tl_ptr].ctl = in cgem_clean_tx() 835 sc->txring[sc->txring_hd_ptr + i].addr = in cgem_start_locked() 1187 sc->txring[i].ctl = CGEM_TXDESC_USED; in cgem_stop() [all …]
|
| /freebsd-13.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()
|