/freebsd-10-stable/sys/dev/sfxge/ |
H A D | sfxge_tx.c | 139 static void sfxge_tx_qdpl_service(struct sfxge_txq *txq); 140 static void sfxge_tx_qlist_post(struct sfxge_txq *txq); 141 static void sfxge_tx_qunblock(struct sfxge_txq *txq); 142 static int sfxge_tx_queue_tso(struct sfxge_txq *txq, struct mbuf *mbuf, 147 sfxge_next_stmp(struct sfxge_txq *txq, struct sfxge_tx_mapping **pstmp) argument 151 &txq->stmp[txq->ptr_mask])) 152 *pstmp = &txq->stmp[0]; 158 sfxge_tx_maybe_toggle_cksum_offload(struct sfxge_txq *txq, struct mbuf *mbuf, argument 178 if (new_hw_cksum_flags == txq 192 sfxge_tx_maybe_insert_tag(struct sfxge_txq *txq, struct mbuf *mbuf, struct sfxge_tx_mapping **pstmp) argument 214 sfxge_tx_qcomplete(struct sfxge_txq *txq, struct sfxge_evq *evq) argument 267 sfxge_tx_qdpl_swizzle(struct sfxge_txq *txq) argument 318 sfxge_tx_qreap(struct sfxge_txq *txq) argument 326 sfxge_tx_qlist_post(struct sfxge_txq *txq) argument 391 sfxge_tx_queue_mbuf(struct sfxge_txq *txq, struct mbuf *mbuf) argument 530 sfxge_tx_qdpl_drain(struct sfxge_txq *txq) argument 615 sfxge_tx_qdpl_service(struct sfxge_txq *txq) argument 635 sfxge_tx_qdpl_put_locked(struct sfxge_txq *txq, struct mbuf *mbuf) argument 672 sfxge_tx_qdpl_put_unlocked(struct sfxge_txq *txq, struct mbuf *mbuf) argument 711 sfxge_tx_packet_add(struct sfxge_txq *txq, struct mbuf *m) argument 756 sfxge_tx_qdpl_flush(struct sfxge_txq *txq) argument 873 struct sfxge_txq *txq; local 988 tso_init(struct sfxge_txq *txq) argument 1014 tso_fini(struct sfxge_txq *txq) argument 1025 tso_start(struct sfxge_txq *txq, struct sfxge_tso_state *tso, const bus_dma_segment_t *hdr_dma_seg, struct mbuf *mbuf) argument 1138 tso_fill_packet_with_fragment(struct sfxge_txq *txq, struct sfxge_tso_state *tso) argument 1202 tso_start_new_packet(struct sfxge_txq *txq, struct sfxge_tso_state *tso, unsigned int *idp) argument 1349 sfxge_tx_queue_tso(struct sfxge_txq *txq, struct mbuf *mbuf, const bus_dma_segment_t *dma_seg, int n_dma_seg, int n_extra_descs) argument 1418 sfxge_tx_qunblock(struct sfxge_txq *txq) argument 1449 sfxge_tx_qflush_done(struct sfxge_txq *txq) argument 1458 struct sfxge_txq *txq; local 1599 struct sfxge_txq *txq; local 1734 sfxge_txq_stat_init(struct sfxge_txq *txq, struct sysctl_oid *txq_node) argument 1763 struct sfxge_txq *txq; local 1799 struct sfxge_txq *txq; local 1961 struct sfxge_txq *txq; local [all...] |
H A D | sfxge_ev.c | 50 struct sfxge_txq *txq; local 58 if ((txq = evq->txq) != NULL) { 59 evq->txq = NULL; 60 evq->txqs = &(evq->txq); 65 next = txq->next; 66 txq->next = NULL; 68 KASSERT(txq->evq_index == index, 69 ("txq->evq_index != index")); 71 if (txq 279 struct sfxge_txq *txq; local 321 struct sfxge_txq *txq; local 379 struct sfxge_txq *txq = sfxge_get_txq_by_label(evq, label); local [all...] |
H A D | sfxge_tx.h | 154 "%s:txq%u", (_ifname), (_txq_index)); \ 245 extern void sfxge_tx_qcomplete(struct sfxge_txq *txq, struct sfxge_evq *evq); 246 extern void sfxge_tx_qflush_done(struct sfxge_txq *txq);
|
H A D | sfxge.h | 147 sfxge_sw_ev_txq_magic(enum sfxge_sw_ev sw_ev, struct sfxge_txq *txq) argument 149 return sfxge_sw_ev_mk_magic(sw_ev, txq->type); 177 struct sfxge_txq *txq; member in struct:sfxge_evq 316 struct sfxge_txq *txq[SFXGE_TXQ_NTYPES + SFXGE_RX_SCALE_MAX]; member in struct:sfxge_softc
|
/freebsd-10-stable/sys/dev/ath/ |
H A D | if_ath_tx_edma.c | 143 ath_edma_tx_fifo_fill(struct ath_softc *sc, struct ath_txq *txq) argument 148 ATH_TXQ_LOCK_ASSERT(txq); 152 txq->axq_qnum); 154 TAILQ_FOREACH(bf, &txq->axq_q, bf_list) { 155 if (txq->axq_fifo_depth >= HAL_TXFIFO_DEPTH) 166 ATH_TXQ_REMOVE(txq, bf, bf_list); 178 txq->axq_qnum, 179 txq->axq_fifo_depth, 186 ATH_TXQ_INSERT_TAIL(&txq->fifo, bf, bf_list); 198 ath_hal_puttxbuf(sc->sc_ah, txq 222 ath_edma_dma_restart(struct ath_softc *sc, struct ath_txq *txq) argument 348 ath_edma_xmit_handoff_hw(struct ath_softc *sc, struct ath_txq *txq, struct ath_buf *bf) argument 392 ath_edma_xmit_handoff_mcast(struct ath_softc *sc, struct ath_txq *txq, struct ath_buf *bf) argument 447 ath_edma_xmit_handoff(struct ath_softc *sc, struct ath_txq *txq, struct ath_buf *bf) argument 612 struct ath_txq *txq; local [all...] |
H A D | if_ath_misc.h | 81 struct ath_txq *txq); 105 extern void ath_tx_draintxq(struct ath_softc *sc, struct ath_txq *txq); 111 struct ath_txq *txq, struct ath_tx_status *ts, struct ath_buf *bf); 128 extern void ath_tx_dump(struct ath_softc *sc, struct ath_txq *txq);
|
H A D | if_ath_tx.c | 691 * with the actual hardware txq, or all of this will fall apart. 698 ath_tx_handoff_mcast(struct ath_softc *sc, struct ath_txq *txq, argument 714 txq->axq_qnum); 717 ATH_TXQ_LOCK(txq); 718 if (ATH_TXQ_LAST(txq, axq_q_s) != NULL) { 719 struct ath_buf *bf_last = ATH_TXQ_LAST(txq, axq_q_s); 733 ATH_TXQ_INSERT_TAIL(txq, bf, bf_list); 734 ATH_TXQ_UNLOCK(txq); 741 ath_tx_handoff_hw(struct ath_softc *sc, struct ath_txq *txq, argument 758 KASSERT(txq 926 ath_legacy_tx_dma_restart(struct ath_softc *sc, struct ath_txq *txq) argument 975 ath_legacy_xmit_handoff(struct ath_softc *sc, struct ath_txq *txq, struct ath_buf *bf) argument 1507 ath_tx_xmit_normal(struct ath_softc *sc, struct ath_txq *txq, struct ath_buf *bf) argument 1557 ath_tx_normal_setup(struct ath_softc *sc, struct ieee80211_node *ni, struct ath_buf *bf, struct mbuf *m0, struct ath_txq *txq) argument 1875 struct ath_txq *txq; local 2820 struct ath_txq *txq = sc->sc_ac2q[tid->ac]; local 2873 struct ath_txq *txq = sc->sc_ac2q[tid->ac]; local 2946 ath_tx_xmit_aggr(struct ath_softc *sc, struct ath_node *an, struct ath_txq *txq, struct ath_buf *bf) argument 3034 ath_tx_swq(struct ath_softc *sc, struct ieee80211_node *ni, struct ath_txq *txq, int queue_to_head, struct ath_buf *bf) argument 3714 struct ath_txq *txq; local 4006 ath_tx_txq_drain(struct ath_softc *sc, struct ath_txq *txq) argument 5142 struct ath_txq *txq = sc->sc_ac2q[tid->ac]; local 5371 struct ath_txq *txq = sc->sc_ac2q[tid->ac]; local 5459 ath_txq_sched(struct ath_softc *sc, struct ath_txq *txq) argument 5958 struct ath_txq *txq; local 5995 struct ath_txq *txq; local [all...] |
H A D | if_ath_tx.h | 47 * How 'busy' to try and keep the hardware txq 90 extern void ath_tx_txq_drain(struct ath_softc *sc, struct ath_txq *txq); 102 struct ath_txq *txq, int queue_to_head, struct ath_buf *bf); 108 extern void ath_txq_sched(struct ath_softc *sc, struct ath_txq *txq); 144 extern void ath_tx_push_pending(struct ath_softc *sc, struct ath_txq *txq);
|
H A D | if_ath.c | 185 static int ath_tx_processq(struct ath_softc *sc, struct ath_txq *txq, 266 * include them when checking the txq setup mask. 1429 * may be being scheduled between sw->hw txq. Tsk. 1851 * Grab all the currently set bits in the HAL txq bitmap 3656 ath_txq_init(struct ath_softc *sc, struct ath_txq *txq, int qnum) argument 3658 txq->axq_qnum = qnum; 3659 txq->axq_ac = 0; 3660 txq->axq_depth = 0; 3661 txq->axq_aggr_depth = 0; 3662 txq 3742 struct ath_txq *txq; local 3769 struct ath_txq *txq = sc->sc_ac2q[ac]; local 3854 ath_tx_cleanupq(struct ath_softc *sc, struct ath_txq *txq) argument 4040 ath_tx_process_buf_completion(struct ath_softc *sc, struct ath_txq *txq, struct ath_tx_status *ts, struct ath_buf *bf) argument 4089 ath_tx_processq(struct ath_softc *sc, struct ath_txq *txq, int dosched) argument 4463 ath_txq_freeholdingbuf(struct ath_softc *sc, struct ath_txq *txq) argument 4487 struct ath_txq *txq; local 4530 struct ath_txq *txq; local 4589 ath_tx_draintxq_get_one(struct ath_softc *sc, struct ath_txq *txq) argument 4644 ath_tx_draintxq(struct ath_softc *sc, struct ath_txq *txq) argument 4718 ath_tx_stopdma(struct ath_softc *sc, struct ath_txq *txq) argument 4783 ath_tx_dump(struct ath_softc *sc, struct ath_txq *txq) argument 6056 struct ath_txq *txq = sc->sc_ac2q[i]; local [all...] |
/freebsd-10-stable/sys/dev/cxgb/ |
H A D | cxgb_sge.c | 239 #define TXQ_RING_EMPTY(qs) drbr_empty((qs)->port->ifp, (qs)->txq[TXQ_ETH].txq_mr) 241 drbr_needs_enqueue((qs)->port->ifp, (qs)->txq[TXQ_ETH].txq_mr) 242 #define TXQ_RING_FLUSH(qs) drbr_flush((qs)->port->ifp, (qs)->txq[TXQ_ETH].txq_mr) 244 drbr_dequeue_cond((qs)->port->ifp, (qs)->txq[TXQ_ETH].txq_mr, func, arg) 246 drbr_dequeue((qs)->port->ifp, (qs)->txq[TXQ_ETH].txq_mr) 264 struct sge_txq *txq; local 269 txq = &qs->txq[TXQ_ETH]; 283 if (*fill != 0 && (txq->in_use <= cxgb_tx_coalesce_enable_stop) && 286 else if (*fill == 0 && (txq 969 struct sge_txq *txq; local 1132 txq_prod(struct sge_txq *txq, unsigned int ndesc, struct txq_state *txqs) argument 1283 write_wr_hdr_sgl(unsigned int ndesc, struct tx_desc *txd, struct txq_state *txqs, const struct sge_txq *txq, const struct sg_ent *sgl, unsigned int flits, unsigned int sgl_flits, unsigned int wr_hi, unsigned int wr_lo) argument 1363 struct sge_txq *txq; local 1599 struct sge_txq *txq = &qs->txq[TXQ_ETH]; local 1623 struct sge_txq *txq = &qs->txq[TXQ_ETH]; local 1639 struct sge_txq *txq = &qs->txq[TXQ_ETH]; local 1685 struct sge_txq *txq = &qs->txq[TXQ_ETH]; local 3166 struct sge_txq *txq; local 3236 struct sge_txq *txq; local 3471 struct sge_txq *txq = &qs->txq[TXQ_ETH]; local [all...] |
/freebsd-10-stable/sys/dev/virtio/network/ |
H A D | if_vtnet.c | 711 struct vtnet_txq *txq; local 713 txq = &sc->vtnet_txqs[id]; 715 snprintf(txq->vtntx_name, sizeof(txq->vtntx_name), "%s-tx%d", 717 mtx_init(&txq->vtntx_mtx, txq->vtntx_name, NULL, MTX_DEF); 719 txq->vtntx_sc = sc; 720 txq->vtntx_id = id; 722 txq->vtntx_sg = sglist_alloc(sc->vtnet_tx_nsegs, M_NOWAIT); 723 if (txq 788 vtnet_destroy_txq(struct vtnet_txq *txq) argument 872 struct vtnet_txq *txq; local 1921 vtnet_txq_below_threshold(struct vtnet_txq *txq) argument 1933 vtnet_txq_notify(struct vtnet_txq *txq) argument 1959 vtnet_txq_free_mbufs(struct vtnet_txq *txq) argument 1974 ("%s: mbufs remaining in tx queue %p", __func__, txq)); local 1982 vtnet_txq_offload_ctx(struct vtnet_txq *txq, struct mbuf *m, int *etype, int *proto, int *start) argument 2035 vtnet_txq_offload_tso(struct vtnet_txq *txq, struct mbuf *m, int eth_type, int offset, struct virtio_net_hdr *hdr) argument 2077 vtnet_txq_offload(struct vtnet_txq *txq, struct mbuf *m, struct virtio_net_hdr *hdr) argument 2126 vtnet_txq_enqueue_buf(struct vtnet_txq *txq, struct mbuf **m_head, struct vtnet_tx_header *txhdr) argument 2173 vtnet_txq_encap(struct vtnet_txq *txq, struct mbuf **m_head) argument 2227 vtnet_start_locked(struct vtnet_txq *txq, struct ifnet *ifp) argument 2280 struct vtnet_txq *txq; local 2293 vtnet_txq_mq_start_locked(struct vtnet_txq *txq, struct mbuf *m) argument 2362 struct vtnet_txq *txq; local 2391 struct vtnet_txq *txq; local 2405 vtnet_txq_start(struct vtnet_txq *txq) argument 2426 struct vtnet_txq *txq; local 2447 vtnet_txq_eof(struct vtnet_txq *txq) argument 2488 struct vtnet_txq *txq; local 2522 struct vtnet_txq *txq; local 2541 struct vtnet_txq *txq; local 2561 vtnet_watchdog(struct vtnet_txq *txq) argument 2607 vtnet_txq_accum_stats(struct vtnet_txq *txq, struct vtnet_txq_stats *accum) argument 2691 struct vtnet_txq *txq; local 2728 struct vtnet_txq *txq; local 2750 struct vtnet_txq *txq; local 2772 struct vtnet_txq *txq; local 2793 struct vtnet_txq *txq; local 2970 struct vtnet_txq *txq; local 3729 vtnet_setup_txq_sysctl(struct sysctl_ctx_list *ctx, struct sysctl_oid_list *child, struct vtnet_txq *txq) argument 3891 vtnet_txq_enable_intr(struct vtnet_txq *txq) argument 3908 vtnet_txq_disable_intr(struct vtnet_txq *txq) argument [all...] |
/freebsd-10-stable/sys/dev/vmware/vmxnet3/ |
H A D | if_vmx.c | 687 struct vmxnet3_txqueue *txq; local 698 txq = &sc->vmx_txq[i]; 700 vmxnet3_txq_intr, txq, &intr->vmxi_handler); 705 txq->vxtxq_intr_idx = intr->vmxi_rid - 1; 752 struct vmxnet3_txqueue *txq; local 761 txq = &sc->vmx_txq[i]; 762 txs = txq->vxtxq_ts; 763 txs->intr_idx = txq->vxtxq_intr_idx; 922 struct vmxnet3_txqueue *txq; local 927 txq 977 struct vmxnet3_txqueue *txq; local 1072 vmxnet3_destroy_txq(struct vmxnet3_txqueue *txq) argument 1192 struct vmxnet3_txqueue *txq; local 1261 struct vmxnet3_txqueue *txq; local 1505 struct vmxnet3_txqueue *txq; local 1833 vmxnet3_txq_eof(struct vmxnet3_txqueue *txq) argument 2260 struct vmxnet3_txqueue *txq; local 2292 struct vmxnet3_txqueue *txq; local 2344 vmxnet3_txstop(struct vmxnet3_softc *sc, struct vmxnet3_txqueue *txq) argument 2401 struct vmxnet3_txqueue *txq; local 2445 vmxnet3_txinit(struct vmxnet3_softc *sc, struct vmxnet3_txqueue *txq) argument 2650 vmxnet3_txq_offload_ctx(struct vmxnet3_txqueue *txq, struct mbuf *m, int *etype, int *proto, int *start) argument 2759 vmxnet3_txq_load_mbuf(struct vmxnet3_txqueue *txq, struct mbuf **m0, bus_dmamap_t dmap, bus_dma_segment_t segs[], int *nsegs) argument 2793 vmxnet3_txq_unload_mbuf(struct vmxnet3_txqueue *txq, bus_dmamap_t dmap) argument 2802 vmxnet3_txq_encap(struct vmxnet3_txqueue *txq, struct mbuf **m0) argument 2906 struct vmxnet3_txqueue *txq; local 2954 struct vmxnet3_txqueue *txq; local 2967 vmxnet3_txq_mq_start_locked(struct vmxnet3_txqueue *txq, struct mbuf *m) argument 3031 struct vmxnet3_txqueue *txq; local 3060 struct vmxnet3_txqueue *txq; local 3074 vmxnet3_txq_start(struct vmxnet3_txqueue *txq) argument 3094 struct vmxnet3_txqueue *txq; local 3335 struct vmxnet3_txqueue *txq; local 3355 vmxnet3_watchdog(struct vmxnet3_txqueue *txq) argument 3381 vmxnet3_txq_accum_stats(struct vmxnet3_txqueue *txq, struct vmxnet3_txq_stats *accum) argument 3561 vmxnet3_setup_txq_sysctl(struct vmxnet3_txqueue *txq, struct sysctl_ctx_list *ctx, struct sysctl_oid_list *child) argument 3683 struct vmxnet3_txqueue *txq = &sc->vmx_txq[i]; local [all...] |
/freebsd-10-stable/sys/dev/malo/ |
H A D | if_malo.c | 587 malo_txdma_setup(struct malo_softc *sc, struct malo_txq *txq) argument 594 error = malo_desc_setup(sc, "tx", &txq->dma, 608 txq->dma.dd_bufptr = bf; 610 STAILQ_INIT(&txq->free); 611 txq->nfree = 0; 612 ds = txq->dma.dd_desc; 615 bf->bf_daddr = DS2PHYS(&txq->dma, ds); 623 STAILQ_INSERT_TAIL(&txq->free, bf, bf_list); 624 txq->nfree++; 666 malo_txdma_cleanup(struct malo_softc *sc, struct malo_txq *txq) argument 760 struct malo_txq *txq; local 777 malo_txq_init(struct malo_softc *sc, struct malo_txq *txq, int qnum) argument 802 malo_tx_cleanupq(struct malo_softc *sc, struct malo_txq *txq) argument 812 malo_getbuf(struct malo_softc *sc, struct malo_txq *txq) argument 966 malo_tx_processq(struct malo_softc *sc, struct malo_txq *txq) argument 1099 struct malo_txq *txq; local 1273 struct malo_txq *txq = &sc->malo_txq[0]; local 1635 malo_tx_draintxq(struct malo_softc *sc, struct malo_txq *txq) argument 1858 struct malo_txq *txq; local [all...] |
/freebsd-10-stable/sys/dev/ral/ |
H A D | rt2661.c | 244 error = rt2661_alloc_tx_ring(sc, &sc->txq[ac], 337 rt2661_free_tx_ring(sc, &sc->txq[ac]); 356 rt2661_free_tx_ring(sc, &sc->txq[0]); 357 rt2661_free_tx_ring(sc, &sc->txq[1]); 358 rt2661_free_tx_ring(sc, &sc->txq[2]); 359 rt2661_free_tx_ring(sc, &sc->txq[3]); 870 struct rt2661_tx_ring *txq; local 886 txq = (qid <= 3) ? &sc->txq[qid] : &sc->mgtq; 889 data = &txq 953 rt2661_tx_dma_intr(struct rt2661_softc *sc, struct rt2661_tx_ring *txq) argument 1391 struct rt2661_tx_ring *txq = &sc->txq[ac]; local 1463 struct rt2661_tx_ring *txq = &sc->txq[ac]; local [all...] |
H A D | rt2560.c | 224 error = rt2560_alloc_tx_ring(sc, &sc->txq, RT2560_TX_RING_COUNT); 345 fail2: rt2560_free_tx_ring(sc, &sc->txq); 362 rt2560_free_tx_ring(sc, &sc->txq); 881 hw = RAL_READ(sc, RT2560_SECCSR1) - sc->txq.physaddr; 884 bus_dmamap_sync(sc->txq.desc_dmat, sc->txq.desc_map, 887 while (sc->txq.next_encrypt != hw) { 888 if (sc->txq.next_encrypt == sc->txq.cur_encrypt) { 890 sc->txq [all...] |
/freebsd-10-stable/sys/dev/mwl/ |
H A D | if_mwlvar.h | 140 #define MWL_TXDESC_SYNC(txq, ds, how) do { \ 141 bus_dmamap_sync((txq)->dma.dd_dmat, (txq)->dma.dd_dmamap, how); \ 185 uint8_t txq; /* h/w q for BA stream */ member in struct:mwl_bastate 190 mwl_bastream_setup(struct mwl_bastate *bas, int tid, int txq) argument 192 bas->txq = txq; 201 /* NB: don't need to clear txq */
|
H A D | if_mwl.c | 1014 struct mwl_txq *txq = &sc->sc_txq[i]; local 1015 sc->sc_hwdma.wcbBase[i] = txq->dma.dd_desc_paddr; 1344 mwl_gettxbuf(struct mwl_softc *sc, struct mwl_txq *txq) argument 1351 MWL_TXQ_LOCK(txq); 1352 bf = STAILQ_FIRST(&txq->free); 1354 STAILQ_REMOVE_HEAD(&txq->free, bf_list); 1355 txq->nfree--; 1357 MWL_TXQ_UNLOCK(txq); 1360 "%s: out of xmit buffers on q %d\n", __func__, txq->qnum); 1371 mwl_puttxbuf_head(struct mwl_txq *txq, struc argument 1382 mwl_puttxbuf_tail(struct mwl_txq *txq, struct mwl_txbuf *bf) argument 1399 struct mwl_txq *txq = NULL; /* XXX silence gcc */ local 1483 struct mwl_txq *txq; local 2107 mwl_txq_reset(struct mwl_softc *sc, struct mwl_txq *txq) argument 2123 mwl_txdma_setup(struct mwl_softc *sc, struct mwl_txq *txq) argument 2163 mwl_txdma_cleanup(struct mwl_softc *sc, struct mwl_txq *txq) argument 2948 mwl_txq_init(struct mwl_softc *sc, struct mwl_txq *txq, int qnum) argument 2981 struct mwl_txq *txq; local 3009 struct mwl_txq *txq = sc->sc_ac2q[ac]; local 3048 mwl_tx_cleanupq(struct mwl_softc *sc, struct mwl_txq *txq) argument 3199 struct mwl_txq *txq; local 3450 mwl_tx_processq(struct mwl_softc *sc, struct mwl_txq *txq) argument 3586 mwl_tx_draintxq(struct mwl_softc *sc, struct mwl_txq *txq) argument 3669 struct mwl_txq *txq; local 5035 struct mwl_txq *txq = sc->sc_ac2q[i]; local [all...] |
/freebsd-10-stable/sys/dev/cxgbe/ |
H A D | t4_sge.c | 1013 struct sge_txq *txq; local 1166 oid = SYSCTL_ADD_NODE(&vi->ctx, children, OID_AUTO, "txq", CTLFLAG_RD, 1169 for_each_txq(vi, i, txq) { 1171 snprintf(name, sizeof(name), "%s txq%d", 1173 init_eq(sc, &txq->eq, EQ_ETH, vi->qsize_txq, pi->tx_chan, iqid, 1176 rc = alloc_txq(vi, txq, i, oid); 1235 struct sge_txq *txq; local 1271 for_each_txq(vi, i, txq) { 1272 free_txq(vi, txq); 2418 struct sge_txq *txq local 3619 alloc_txq(struct vi_info *vi, struct sge_txq *txq, int idx, struct sysctl_oid *oid) argument 3745 free_txq(struct vi_info *vi, struct sge_txq *txq) argument 4096 write_txpkt_vm_wr(struct adapter *sc, struct sge_txq *txq, struct fw_eth_tx_pkt_vm_wr *wr, struct mbuf *m0, u_int available) argument 4275 write_txpkt_wr(struct sge_txq *txq, struct fw_eth_tx_pkt_wr *wr, struct mbuf *m0, u_int available) argument 4468 write_txpkts_wr(struct sge_txq *txq, struct fw_eth_tx_pkts_wr *wr, struct mbuf *m0, const struct txpkts *txp, u_int available) argument 4580 write_gl_to_txd(struct sge_txq *txq, struct mbuf *m, caddr_t *to, int checkwrap) argument 4764 reclaim_tx_descs(struct sge_txq *txq, u_int n) argument 4803 struct sge_txq *txq = arg; local 5041 struct sge_txq *txq = (void *)eq; local 5201 struct sge_txq *txq; local [all...] |
H A D | t4_vf.c | 69 uint16_t ntxq10g; /* # of NIC txq's for each 10G port */ 71 uint16_t ntxq1g; /* # of NIC txq's for each 1G port */ 352 * list and interrupts and an egress queue. Every txq 714 s->txq = malloc(s->ntxq * sizeof(struct sge_txq), M_CXGBE, 892 struct sge_txq *txq; local 903 for_each_txq(vi, i, txq) { 904 txq->txcsum = 0; 905 txq->tso_wrs = 0; 906 txq->vlan_insertion = 0; 907 txq [all...] |
H A D | t4_sched.c | 260 struct sge_txq *txq; local 301 txq = &sc->sge.txq[vi->first_txq + p->queue]; 302 fw_queue = (fw_mnem | V_FW_PARAMS_PARAM_YZ(txq->eq.cntxt_id)); 312 for_each_txq(vi, i, txq) { 313 fw_queue = (fw_mnem | V_FW_PARAMS_PARAM_YZ(txq->eq.cntxt_id));
|
H A D | adapter.h | 527 /* txq: SGE egress queue + what's needed for Ethernet NIC */ 531 struct ifnet *ifp; /* the interface this txq belongs to */ 713 struct sge_txq *txq; /* NIC tx queues */ member in struct:sge 884 #define TXQ_LOCK(txq) EQ_LOCK(&(txq)->eq) 885 #define TXQ_TRYLOCK(txq) EQ_TRYLOCK(&(txq)->eq) 886 #define TXQ_UNLOCK(txq) EQ_UNLOCK(&(txq)->eq) 887 #define TXQ_LOCK_ASSERT_OWNED(txq) EQ_LOCK_ASSERT_OWNE [all...] |
/freebsd-10-stable/sys/dev/netmap/ |
H A D | if_vtnet_netmap.h | 43 * - buffers queued by netmap return the txq/rxq, and do not need work 54 struct vtnet_txq *txq = &sc->vtnet_txqs[i]; local 68 vq = txq->vtntx_vq; 71 if (txhdr != (void *)txq) { 123 struct vtnet_txq *txq = &sc->vtnet_txqs[ring_nr]; local 124 struct virtqueue *vq = txq->vtntx_vq; 133 struct sglist *sg = txq->vtntx_sg; 157 err = virtqueue_enqueue(vq, txq, sg, sg->sg_nseg, 0); 194 if (likely(txhdr == (void *)txq)) { 209 if (nm_i != kring->nr_hwtail /* && vtnet_txq_below_threshold(txq) [all...] |
/freebsd-10-stable/sys/dev/qlnx/qlnxe/ |
H A D | qlnx_os.c | 146 struct qlnx_tx_queue *txq); 148 struct qlnx_tx_queue *txq); 474 struct qlnx_tx_queue *txq) 480 hw_bd_cons = le16toh(*txq->hw_cons_ptr); 482 ecore_cons_idx = ecore_chain_get_cons_idx(&txq->tx_pbl); 1494 if (fp->txq[0]->handle != NULL) { 1496 (uint16_t)usecs, fp->txq[0]->handle); 2963 struct qlnx_tx_queue *txq) 2973 idx = txq->sw_tx_cons; 2974 mp = txq 473 qlnx_num_tx_compl(qlnx_host_t *ha, struct qlnx_fastpath *fp, struct qlnx_tx_queue *txq) argument 2962 qlnx_free_tx_pkt(qlnx_host_t *ha, struct qlnx_fastpath *fp, struct qlnx_tx_queue *txq) argument 3032 qlnx_tx_int(qlnx_host_t *ha, struct qlnx_fastpath *fp, struct qlnx_tx_queue *txq) argument 3092 struct qlnx_tx_queue *txq; local 3371 struct qlnx_tx_queue *txq; local 5010 struct qlnx_tx_queue *txq; local 6477 qlnx_free_mem_txq(qlnx_host_t *ha, struct qlnx_fastpath *fp, struct qlnx_tx_queue *txq) argument 6497 qlnx_alloc_mem_txq(qlnx_host_t *ha, struct qlnx_fastpath *fp, struct qlnx_tx_queue *txq) argument 6965 struct qlnx_tx_queue *txq = fp->txq[tc]; local 7076 qlnx_drain_txq(qlnx_host_t *ha, struct qlnx_fastpath *fp, struct qlnx_tx_queue *txq) argument 7143 struct qlnx_tx_queue *txq = fp->txq[tc]; local [all...] |
/freebsd-10-stable/sys/dev/iwi/ |
H A D | if_iwi.c | 337 error = iwi_alloc_tx_ring(sc, &sc->txq[i], IWI_TX_RING_COUNT, 469 iwi_free_tx_ring(sc, &sc->txq[0]); 470 iwi_free_tx_ring(sc, &sc->txq[1]); 471 iwi_free_tx_ring(sc, &sc->txq[2]); 472 iwi_free_tx_ring(sc, &sc->txq[3]); 1595 iwi_tx_intr(struct iwi_softc *sc, struct iwi_tx_ring *txq) argument 1601 hw = CSR_READ_4(sc, txq->csr_ridx); 1603 for (; txq->next != hw;) { 1604 data = &txq->data[txq 1781 struct iwi_tx_ring *txq = &sc->txq[ac]; local [all...] |
/freebsd-10-stable/sys/mips/nlm/dev/net/ |
H A D | xlpge.h | 117 int txq; member in struct:nlm_xlpge_softc
|