/freebsd-9.3-release/sys/dev/sfxge/ |
H A D | sfxge_rx.c | 112 sfxge_rx_qflush_done(struct sfxge_rxq *rxq) argument 115 rxq->flush_state = SFXGE_FLUSH_DONE; 119 sfxge_rx_qflush_failed(struct sfxge_rxq *rxq) argument 122 rxq->flush_state = SFXGE_FLUSH_FAILED; 136 struct sfxge_rxq *rxq = arg; local 142 sc = rxq->sc; 143 index = rxq->index; 151 KASSERT(rxq->init_state == SFXGE_RXQ_STARTED, 152 ("rxq not started")); 157 sfxge_rx_schedule_refill(struct sfxge_rxq *rxq, boolean_ argument 193 sfxge_rx_qfill(struct sfxge_rxq *rxq, unsigned int target, boolean_t retrying) argument 270 sfxge_rx_qrefill(struct sfxge_rxq *rxq) argument 368 sfxge_lro_drop(struct sfxge_rxq *rxq, struct sfxge_lro_conn *c) argument 389 sfxge_lro_purge_idle(struct sfxge_rxq *rxq, unsigned now) argument 472 sfxge_lro_try_merge(struct sfxge_rxq *rxq, struct sfxge_lro_conn *c) argument 617 sfxge_lro(struct sfxge_rxq *rxq, struct sfxge_rx_sw_desc *rx_buf) argument 716 sfxge_lro_end_of_burst(struct sfxge_rxq *rxq) argument 740 sfxge_rx_qcomplete(struct sfxge_rxq *rxq, boolean_t eop) argument 832 struct sfxge_rxq *rxq; local 896 struct sfxge_rxq *rxq; local 1022 sfxge_lro_init(struct sfxge_rxq *rxq) argument 1043 sfxge_lro_fini(struct sfxge_rxq *rxq) argument 1077 struct sfxge_rxq *rxq; local 1099 struct sfxge_rxq *rxq; local [all...] |
H A D | sfxge_ev.c | 45 struct sfxge_rxq *rxq; local 50 rxq = sc->rxq[index]; 72 if (rxq->pending != rxq->completed) 73 sfxge_rx_qcomplete(rxq, eop); 82 struct sfxge_rxq *rxq; local 92 rxq = sc->rxq[label]; 93 KASSERT(rxq ! 157 struct sfxge_rxq *rxq; local 187 struct sfxge_rxq *rxq; local 298 struct sfxge_rxq *rxq = sc->rxq[label]; local 308 struct sfxge_rxq *rxq = sc->rxq[label]; local 318 struct sfxge_rxq *rxq = sc->rxq[label]; local [all...] |
H A D | sfxge_rx.h | 183 extern void sfxge_rx_qcomplete(struct sfxge_rxq *rxq, boolean_t eop); 184 extern void sfxge_rx_qrefill(struct sfxge_rxq *rxq); 185 extern void sfxge_rx_qflush_done(struct sfxge_rxq *rxq); 186 extern void sfxge_rx_qflush_failed(struct sfxge_rxq *rxq);
|
H A D | sfxge.h | 225 struct sfxge_rxq *rxq[SFXGE_RX_SCALE_MAX]; member in struct:sfxge_softc
|
/freebsd-9.3-release/sys/dev/virtio/network/ |
H A D | if_vtnet.c | 671 struct vtnet_rxq *rxq; local 673 rxq = &sc->vtnet_rxqs[id]; 675 snprintf(rxq->vtnrx_name, sizeof(rxq->vtnrx_name), "%s-rx%d", 677 mtx_init(&rxq->vtnrx_mtx, rxq->vtnrx_name, NULL, MTX_DEF); 679 rxq->vtnrx_sc = sc; 680 rxq->vtnrx_id = id; 682 rxq->vtnrx_sg = sglist_alloc(sc->vtnet_rx_nsegs, M_NOWAIT); 683 if (rxq 757 vtnet_destroy_rxq(struct vtnet_rxq *rxq) argument 856 struct vtnet_rxq *rxq; local 1163 vtnet_rxq_populate(struct vtnet_rxq *rxq) argument 1192 vtnet_rxq_free_mbufs(struct vtnet_rxq *rxq) argument 1205 ("%s: mbufs remaining in rx queue %p", __func__, rxq)); local 1253 vtnet_rxq_replace_lro_nomgr_buf(struct vtnet_rxq *rxq, struct mbuf *m0, int len0) argument 1344 vtnet_rxq_replace_buf(struct vtnet_rxq *rxq, struct mbuf *m, int len) argument 1382 vtnet_rxq_enqueue_buf(struct vtnet_rxq *rxq, struct mbuf *m) argument 1422 vtnet_rxq_new_buf(struct vtnet_rxq *rxq) argument 1446 vtnet_rxq_csum_by_offset(struct vtnet_rxq *rxq, struct mbuf *m, uint16_t eth_type, int ip_start, struct virtio_net_hdr *hdr) argument 1499 vtnet_rxq_csum_by_parse(struct vtnet_rxq *rxq, struct mbuf *m, uint16_t eth_type, int ip_start, struct virtio_net_hdr *hdr) argument 1580 vtnet_rxq_csum(struct vtnet_rxq *rxq, struct mbuf *m, struct virtio_net_hdr *hdr) argument 1607 vtnet_rxq_discard_merged_bufs(struct vtnet_rxq *rxq, int nbufs) argument 1620 vtnet_rxq_discard_buf(struct vtnet_rxq *rxq, struct mbuf *m) argument 1634 vtnet_rxq_merged_eof(struct vtnet_rxq *rxq, struct mbuf *m_head, int nbufs) argument 1683 vtnet_rxq_input(struct vtnet_rxq *rxq, struct mbuf *m, struct virtio_net_hdr *hdr) argument 1731 vtnet_rxq_eof(struct vtnet_rxq *rxq) argument 1823 struct vtnet_rxq *rxq; local 1873 struct vtnet_rxq *rxq; local 2526 vtnet_rxq_accum_stats(struct vtnet_rxq *rxq, struct vtnet_rxq_stats *accum) argument 2624 struct vtnet_rxq *rxq; local 2661 struct vtnet_rxq *rxq; local 2683 struct vtnet_rxq *rxq; local 2705 struct vtnet_rxq *rxq; local 2721 struct vtnet_rxq *rxq; local 2847 struct vtnet_rxq *rxq; local 3573 vtnet_setup_rxq_sysctl(struct sysctl_ctx_list *ctx, struct sysctl_oid_list *child, struct vtnet_rxq *rxq) argument 3751 vtnet_rxq_enable_intr(struct vtnet_rxq *rxq) argument 3758 vtnet_rxq_disable_intr(struct vtnet_rxq *rxq) argument [all...] |
/freebsd-9.3-release/sys/dev/cxgbe/ |
H A D | adapter.h | 289 IQ_LRO_ENABLED = (1 << 3), /* iq is an eth rxq with LRO enabled */ 465 /* rxq: SGE ingress queue + SGE free list + miscellaneous items */ 470 struct ifnet *ifp; /* the interface this rxq belongs to */ 556 struct sge_rxq *rxq; /* NIC rx queues */ member in struct:sge 688 #define RXQ_FL_LOCK(rxq) FL_LOCK(&(rxq)->fl) 689 #define RXQ_FL_UNLOCK(rxq) FL_UNLOCK(&(rxq)->fl) 690 #define RXQ_FL_LOCK_ASSERT_OWNED(rxq) FL_LOCK_ASSERT_OWNED(&(rxq) [all...] |
H A D | t4_sge.c | 870 iq = &s->rxq[pi->first_rxq + idx].iq; 876 iq = &s->rxq[pi->first_rxq + idx].iq; 889 iq = &s->rxq[pi->first_rxq + idx].iq; 923 struct sge_rxq *rxq; local 938 oid = SYSCTL_ADD_NODE(&pi->ctx, children, OID_AUTO, "rxq", CTLFLAG_RD, 959 for_each_rxq(pi, i, rxq) { 961 init_iq(&rxq->iq, sc, pi->tmr_idx, pi->pktc_idx, pi->qsize_rxq, 964 snprintf(name, sizeof(name), "%s rxq%d-fl", 966 init_fl(sc, &rxq->fl, pi->qsize_rxq / 8, maxp, pack, name); 973 rxq 1106 struct sge_rxq *rxq; local 1228 struct sge_rxq *rxq = iq_to_rxq(iq); /* Use iff iq is part of rxq */ local 1602 struct sge_rxq *rxq = iq_to_rxq(iq); local 1947 struct sge_rxq *rxq; local 2416 alloc_rxq(struct port_info *pi, struct sge_rxq *rxq, int intr_idx, int idx, struct sysctl_oid *oid) argument 2476 free_rxq(struct port_info *pi, struct sge_rxq *rxq) argument [all...] |
H A D | t4_main.c | 302 int nrxq10g; /* # of NIC rxq's for each 10G port */ 304 int nrxq1g; /* # of NIC rxq's for each 1G port */ 308 int nofldrxq10g; /* # of TOE rxq's for each 10G port */ 310 int nofldrxq1g; /* # of TOE rxq's for each 1G port */ 487 * exactly the same for both rxq and ofld_rxq. 725 s->neq = s->ntxq + s->nrxq; /* the free list in an rxq is an eq */ 746 s->rxq = malloc(s->nrxq * sizeof(struct sge_rxq), M_CXGBE, 919 free(sc->sge.rxq, M_CXGBE); 1008 "%d txq, %d rxq (NIC); %d txq, %d rxq (TO 1194 struct sge_rxq *rxq; local 3021 struct sge_rxq *rxq; local 3177 struct sge_rxq *rxq; local 3230 struct sge_rxq *rxq; local 4815 struct sge_rxq *rxq; local 7792 struct sge_rxq *rxq; local [all...] |
/freebsd-9.3-release/sys/dev/nfe/ |
H A D | if_nfe.c | 585 if ((error = nfe_alloc_rx_ring(sc, &sc->rxq)) != 0) 773 nfe_free_rx_ring(sc, &sc->rxq); 1181 data = &sc->rxq.data[i]; 1955 data = &sc->rxq.data[idx]; 1959 desc64 = &sc->rxq.desc64[idx]; 1966 desc32 = &sc->rxq.desc32[idx]; 2017 if (bus_dmamap_load_mbuf_sg(sc->rxq.rx_data_tag, sc->rxq.rx_spare_map, 2024 data = &sc->rxq.data[idx]; 2026 bus_dmamap_sync(sc->rxq [all...] |
H A D | if_nfevar.h | 155 struct nfe_rx_ring rxq; member in struct:nfe_softc
|
/freebsd-9.3-release/sys/dev/ral/ |
H A D | rt2560var.h | 133 struct rt2560_rx_ring rxq; member in struct:rt2560_softc
|
H A D | rt2661var.h | 130 struct rt2661_rx_ring rxq; member in struct:rt2661_softc
|
H A D | rt2560.c | 248 error = rt2560_alloc_rx_ring(sc, &sc->rxq, RT2560_RX_RING_COUNT); 341 fail6: rt2560_free_rx_ring(sc, &sc->rxq); 366 rt2560_free_rx_ring(sc, &sc->rxq); 667 desc = &sc->rxq.desc[i]; 668 data = &sc->rxq.data[i]; 1131 hw = RAL_READ(sc, RT2560_SECCSR0) - sc->rxq.physaddr; 1134 bus_dmamap_sync(sc->rxq.desc_dmat, sc->rxq.desc_map, 1137 for (; sc->rxq.cur_decrypt != hw;) { 1138 desc = &sc->rxq [all...] |
H A D | rt2661.c | 259 error = rt2661_alloc_rx_ring(sc, &sc->rxq, RT2661_RX_RING_COUNT); 361 rt2661_free_rx_ring(sc, &sc->rxq); 676 desc = &sc->rxq.desc[i]; 677 data = &sc->rxq.data[i]; 997 bus_dmamap_sync(sc->rxq.desc_dmat, sc->rxq.desc_map, 1003 desc = &sc->rxq.desc[sc->rxq.cur]; 1004 data = &sc->rxq.data[sc->rxq [all...] |
H A D | rt2860var.h | 146 struct rt2860_rx_ring rxq; member in struct:rt2860_softc
|
H A D | rt2860.c | 284 if ((error = rt2860_alloc_rx_ring(sc, &sc->rxq)) != 0) { 369 fail3: rt2860_free_rx_ring(sc, &sc->rxq); 393 rt2860_free_rx_ring(sc, &sc->rxq); 1211 while (sc->rxq.cur != hw) { 1212 struct rt2860_rx_data *data = &sc->rxq.data[sc->rxq.cur]; 1213 struct rt2860_rxd *rxd = &sc->rxq.rxd[sc->rxq.cur]; 1216 bus_dmamap_sync(sc->rxq.desc_dmat, sc->rxq [all...] |
/freebsd-9.3-release/sys/dev/iwi/ |
H A D | if_iwivar.h | 149 struct iwi_rx_ring rxq; member in struct:iwi_softc
|
H A D | if_iwi.c | 347 if (iwi_alloc_rx_ring(sc, &sc->rxq, IWI_RX_RING_COUNT) != 0) { 473 iwi_free_rx_ring(sc, &sc->rxq); 1237 bus_dmamap_unload(sc->rxq.data_dmat, data->map); 1239 error = bus_dmamap_load(sc->rxq.data_dmat, data->map, 1246 error = bus_dmamap_load(sc->rxq.data_dmat, data->map, 1560 for (; sc->rxq.cur != hw;) { 1561 data = &sc->rxq.data[sc->rxq.cur]; 1563 bus_dmamap_sync(sc->rxq.data_dmat, data->map, 1570 iwi_frame_intr(sc, data, sc->rxq [all...] |
/freebsd-9.3-release/sys/dev/wpi/ |
H A D | if_wpivar.h | 149 struct wpi_rx_ring rxq; member in struct:wpi_softc
|
H A D | if_wpi.c | 598 error = wpi_alloc_rx_ring(sc, &sc->rxq); 730 wpi_free_rx_ring(sc, &sc->rxq); 1448 struct wpi_rx_ring *ring = &sc->rxq; 1656 while (sc->rxq.cur != hw) { 1657 data = &sc->rxq.data[sc->rxq.cur]; 1659 bus_dmamap_sync(sc->rxq.data_dmat, data->map, 1764 sc->rxq.cur = (sc->rxq.cur + 1) % WPI_RX_RING_COUNT; 3071 WPI_WRITE(sc, WPI_RX_BASE, sc->rxq [all...] |
/freebsd-9.3-release/sys/dev/netmap/ |
H A D | netmap_freebsd.c | 239 generic_find_num_queues(struct ifnet *ifp, u_int *txq, u_int *rxq) argument 243 *rxq = netmap_generic_rings;
|
/freebsd-9.3-release/sys/contrib/ngatm/netnatm/saal/ |
H A D | sscoppriv.h | 256 int rxq; /* number of PDUs in retransmission queue */ member in struct:sscop
|
/freebsd-9.3-release/sys/dev/iwn/ |
H A D | if_iwnvar.h | 255 struct iwn_rx_ring rxq; member in struct:iwn_softc
|
H A D | if_iwn.c | 544 if ((error = iwn_alloc_rx_ring(sc, &sc->rxq)) != 0) { 912 iwn_free_rx_ring(sc, &sc->rxq); 2254 bus_dmamap_sync(sc->rxq.data_dmat, data->map, BUS_DMASYNC_POSTREAD); 2272 struct iwn_rx_ring *ring = &sc->rxq; 2441 bus_dmamap_sync(sc->rxq.data_dmat, data->map, BUS_DMASYNC_POSTREAD); 2530 bus_dmamap_sync(sc->rxq.data_dmat, data->map, BUS_DMASYNC_POSTREAD); 2595 bus_dmamap_sync(sc->rxq.data_dmat, data->map, BUS_DMASYNC_POSTREAD); 2913 bus_dmamap_sync(sc->rxq.stat_dma.tag, sc->rxq.stat_dma.map, 2916 hw = le16toh(sc->rxq [all...] |
/freebsd-9.3-release/sys/dev/xen/netback/ |
H A D | netback.c | 1962 const netif_rx_request_t *rxq = RING_GET_REQUEST(rxb, r_idx); local 1976 gnttab[gnt_idx].dest.u.ref = rxq->gref; 2079 netif_rx_request_t rxq; local 2084 * We copy the structure of rxq instead of making a 2087 rxq = *(RING_GET_REQUEST(ring, r_idx)); 2099 rsp->id = rxq.id; 2113 for (; gnttab[gnt_idx].dest.u.ref == rxq.gref;
|