Searched refs:rxring (Results 1 - 7 of 7) sorted by relevance
/freebsd-13-stable/tools/tools/netmap/ |
H A D | bridge.c | 67 * Move up to 'limit' pkts from rxring to txring, swapping buffers 71 rings_move(struct netmap_ring *rxring, struct netmap_ring *txring, argument 77 if (rxring->flags || txring->flags) 79 msg, rxring->flags, txring->flags); 80 j = rxring->head; /* RX */ 82 m = nm_ring_space(rxring); 90 struct netmap_slot *rs = &rxring->slot[j]; 99 if (rs->len > rxring->nr_buf_size) { 116 char *rxbuf = NETMAP_BUF(rxring, rs->buf_idx); 125 j = nm_ring_next(rxring, 142 struct netmap_ring *txring, *rxring; local [all...] |
H A D | lb.c | 890 struct netmap_ring *rxring = NETMAP_RXRING(rxport->nmd->nifp, i); local 891 struct morefrag *mf = (struct morefrag *)rxring->sem; 1008 struct netmap_ring *rxring = NETMAP_RXRING(rxport->nmd->nifp, i); local 1009 struct morefrag *mf = (struct morefrag *)rxring->sem; 1012 int next_head = rxring->head; 1013 struct netmap_slot *next_slot = &rxring->slot[next_head]; 1014 const char *next_buf = NETMAP_BUF(rxring, next_slot->buf_idx); 1015 while (!nm_ring_empty(rxring)) { 1035 next_head = nm_ring_next(rxring, next_head); 1036 next_slot = &rxring [all...] |
H A D | pkt-gen.c | 1496 struct netmap_ring *txring, *rxring; local 1525 rxring = NETMAP_RXRING(nifp, i); 1526 while (!nm_ring_empty(rxring)) { 1528 uint32_t head = rxring->head; 1529 struct netmap_slot *slot = &rxring->slot[head]; 1531 src = NETMAP_BUF(rxring, slot->buf_idx); 1533 rxring->head = rxring->cur = nm_ring_next(rxring, head); 1816 struct netmap_ring *rxring; local [all...] |
H A D | nmreplay.c | 565 struct netmap_ring *rxring; /* current ring being handled */ member in struct:_qs
|
/freebsd-13-stable/sys/dev/cadence/ |
H A D | if_cgem.c | 143 struct cgem_rx_desc *rxring; member in struct:cgem_softc 422 sc->rxring = NULL; 451 err = bus_dmamem_alloc(sc->desc_dma_tag, (void **)&sc->rxring, 459 (void *)sc->rxring, desc_rings_size, 466 sc->rxring[i].addr = CGEM_RXDESC_OWN; 467 sc->rxring[i].ctl = 0; 471 sc->rxring[CGEM_NUM_RX_DESCS - 1].addr |= CGEM_RXDESC_WRAP; 477 sc->txring = (struct cgem_tx_desc *)(sc->rxring + CGEM_NUM_RX_DESCS); 550 sc->rxring[sc->rxring_hd_ptr].ctl = 0; 552 sc->rxring[s [all...] |
/freebsd-13-stable/sys/dev/netmap/ |
H A D | netmap_pipe.c | 191 struct netmap_ring *txring = txkring->ring, *rxring = rxkring->ring; local 212 struct netmap_slot *rs = &rxring->slot[k]; 243 struct netmap_ring *txring = txkring->ring, *rxring = rxkring->ring; local 263 struct netmap_slot *rs = &rxring->slot[k];
|
/freebsd-13-stable/sys/dev/qat/ |
H A D | qat_hw15.c | 99 uint32_t rxring) 106 msg->resp_pipe_id = rxring; 98 qat_msg_req_type_populate(struct arch_if_req_hdr *msg, enum arch_if_req type, uint32_t rxring) argument
|
Completed in 182 milliseconds