Searched refs:txq (Results 1 - 25 of 69) sorted by relevance

123

/freebsd-11-stable/sys/dev/sfxge/
H A Dsfxge_tx.c146 static void sfxge_tx_qdpl_service(struct sfxge_txq *txq);
147 static void sfxge_tx_qlist_post(struct sfxge_txq *txq);
148 static void sfxge_tx_qunblock(struct sfxge_txq *txq);
149 static int sfxge_tx_queue_tso(struct sfxge_txq *txq, struct mbuf *mbuf,
154 sfxge_next_stmp(struct sfxge_txq *txq, struct sfxge_tx_mapping **pstmp) argument
158 &txq->stmp[txq->ptr_mask]))
159 *pstmp = &txq->stmp[0];
165 sfxge_tx_maybe_toggle_cksum_offload(struct sfxge_txq *txq, struct mbuf *mbuf, argument
185 if (new_hw_cksum_flags == txq
199 sfxge_tx_maybe_insert_tag(struct sfxge_txq *txq, struct mbuf *mbuf, struct sfxge_tx_mapping **pstmp) argument
221 sfxge_tx_qcomplete(struct sfxge_txq *txq, struct sfxge_evq *evq) argument
274 sfxge_tx_qdpl_swizzle(struct sfxge_txq *txq) argument
325 sfxge_tx_qreap(struct sfxge_txq *txq) argument
333 sfxge_tx_qlist_post(struct sfxge_txq *txq) argument
398 sfxge_tx_queue_mbuf(struct sfxge_txq *txq, struct mbuf *mbuf) argument
537 sfxge_tx_qdpl_drain(struct sfxge_txq *txq) argument
622 sfxge_tx_qdpl_service(struct sfxge_txq *txq) argument
642 sfxge_tx_qdpl_put_locked(struct sfxge_txq *txq, struct mbuf *mbuf) argument
679 sfxge_tx_qdpl_put_unlocked(struct sfxge_txq *txq, struct mbuf *mbuf) argument
718 sfxge_tx_packet_add(struct sfxge_txq *txq, struct mbuf *m) argument
763 sfxge_tx_qdpl_flush(struct sfxge_txq *txq) argument
880 struct sfxge_txq *txq; local
1007 tso_init(struct sfxge_txq *txq) argument
1033 tso_fini(struct sfxge_txq *txq) argument
1044 tso_start(struct sfxge_txq *txq, struct sfxge_tso_state *tso, const bus_dma_segment_t *hdr_dma_seg, struct mbuf *mbuf) argument
1157 tso_fill_packet_with_fragment(struct sfxge_txq *txq, struct sfxge_tso_state *tso) argument
1221 tso_start_new_packet(struct sfxge_txq *txq, struct sfxge_tso_state *tso, unsigned int *idp) argument
1368 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
1437 sfxge_tx_qunblock(struct sfxge_txq *txq) argument
1468 sfxge_tx_qflush_done(struct sfxge_txq *txq) argument
1477 struct sfxge_txq *txq; local
1618 struct sfxge_txq *txq; local
1753 sfxge_txq_stat_init(struct sfxge_txq *txq, struct sysctl_oid *txq_node) argument
1782 struct sfxge_txq *txq; local
1818 struct sfxge_txq *txq; local
1980 struct sfxge_txq *txq; local
[all...]
H A Dsfxge_ev.c55 struct sfxge_txq *txq; local
63 if ((txq = evq->txq) != NULL) {
64 evq->txq = NULL;
65 evq->txqs = &(evq->txq);
70 next = txq->next;
71 txq->next = NULL;
73 KASSERT(txq->evq_index == index,
74 ("txq->evq_index != index"));
76 if (txq
284 struct sfxge_txq *txq; local
326 struct sfxge_txq *txq; local
384 struct sfxge_txq *txq = sfxge_get_txq_by_label(evq, label); local
[all...]
H A Dsfxge_tx.h154 "%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);
/freebsd-11-stable/sys/dev/ath/
H A Dif_ath_tx_edma.c143 ath_tx_alq_edma_push(struct ath_softc *sc, int txq, int nframes, argument
148 aq.txq = htobe32(txq);
171 ath_tx_edma_push_staging_list(struct ath_softc *sc, struct ath_txq *txq, argument
179 ATH_TXQ_LOCK_ASSERT(txq);
184 if (txq->axq_fifo_depth >= HAL_TXFIFO_DEPTH)
187 if (TAILQ_EMPTY(&txq->axq_q))
199 bf = ATH_TXQ_FIRST(txq);
202 ATH_TXQ_REMOVE(txq, bf, bf_list);
214 * frames from the txq
294 ath_edma_tx_fifo_fill(struct ath_softc *sc, struct ath_txq *txq) argument
390 ath_edma_dma_restart(struct ath_softc *sc, struct ath_txq *txq) argument
516 ath_edma_xmit_handoff_hw(struct ath_softc *sc, struct ath_txq *txq, struct ath_buf *bf) argument
553 ath_edma_xmit_handoff_mcast(struct ath_softc *sc, struct ath_txq *txq, struct ath_buf *bf) argument
608 ath_edma_xmit_handoff(struct ath_softc *sc, struct ath_txq *txq, struct ath_buf *bf) argument
769 struct ath_txq *txq; local
[all...]
H A Dif_ath_misc.h72 struct ath_txq *txq);
84 extern void ath_tx_draintxq(struct ath_softc *sc, struct ath_txq *txq);
90 struct ath_txq *txq, struct ath_tx_status *ts, struct ath_buf *bf);
107 extern void ath_tx_dump(struct ath_softc *sc, struct ath_txq *txq);
H A Dif_ath_tx.c677 * with the actual hardware txq, or all of this will fall apart.
684 ath_tx_handoff_mcast(struct ath_softc *sc, struct ath_txq *txq, argument
700 txq->axq_qnum);
703 ATH_TXQ_LOCK(txq);
704 if (ATH_TXQ_LAST(txq, axq_q_s) != NULL) {
705 struct ath_buf *bf_last = ATH_TXQ_LAST(txq, axq_q_s);
719 ATH_TXQ_INSERT_TAIL(txq, bf, bf_list);
720 ATH_TXQ_UNLOCK(txq);
727 ath_tx_handoff_hw(struct ath_softc *sc, struct ath_txq *txq, argument
744 KASSERT(txq
896 ath_legacy_tx_dma_restart(struct ath_softc *sc, struct ath_txq *txq) argument
945 ath_legacy_xmit_handoff(struct ath_softc *sc, struct ath_txq *txq, struct ath_buf *bf) argument
1476 ath_tx_xmit_normal(struct ath_softc *sc, struct ath_txq *txq, struct ath_buf *bf) argument
1526 ath_tx_normal_setup(struct ath_softc *sc, struct ieee80211_node *ni, struct ath_buf *bf, struct mbuf *m0, struct ath_txq *txq) argument
1849 struct ath_txq *txq; local
2815 struct ath_txq *txq = sc->sc_ac2q[tid->ac]; local
2868 struct ath_txq *txq = sc->sc_ac2q[tid->ac]; local
2941 ath_tx_xmit_aggr(struct ath_softc *sc, struct ath_node *an, struct ath_txq *txq, struct ath_buf *bf) argument
3029 ath_tx_swq(struct ath_softc *sc, struct ieee80211_node *ni, struct ath_txq *txq, int queue_to_head, struct ath_buf *bf) argument
3731 struct ath_txq *txq; local
4023 ath_tx_txq_drain(struct ath_softc *sc, struct ath_txq *txq) argument
5243 struct ath_txq *txq = sc->sc_ac2q[tid->ac]; local
5472 struct ath_txq *txq = sc->sc_ac2q[tid->ac]; local
5560 ath_txq_sched(struct ath_softc *sc, struct ath_txq *txq) argument
6103 struct ath_txq *txq; local
6140 struct ath_txq *txq; local
[all...]
H A Dif_ath_tx.h47 * How 'busy' to try and keep the hardware txq
89 extern void ath_tx_txq_drain(struct ath_softc *sc, struct ath_txq *txq);
101 struct ath_txq *txq, int queue_to_head, struct ath_buf *bf);
107 extern void ath_txq_sched(struct ath_softc *sc, struct ath_txq *txq);
143 extern void ath_tx_push_pending(struct ath_softc *sc, struct ath_txq *txq);
H A Dif_ath.c188 static int ath_tx_processq(struct ath_softc *sc, struct ath_txq *txq,
266 * include them when checking the txq setup mask.
1743 * may be being scheduled between sw->hw txq. Tsk.
2203 * Grab all the currently set bits in the HAL txq bitmap
3831 ath_txq_init(struct ath_softc *sc, struct ath_txq *txq, int qnum) argument
3833 txq->axq_qnum = qnum;
3834 txq->axq_ac = 0;
3835 txq->axq_depth = 0;
3836 txq->axq_aggr_depth = 0;
3837 txq
3914 struct ath_txq *txq; local
3938 struct ath_txq *txq = sc->sc_ac2q[ac]; local
4021 ath_tx_cleanupq(struct ath_softc *sc, struct ath_txq *txq) argument
4206 ath_tx_process_buf_completion(struct ath_softc *sc, struct ath_txq *txq, struct ath_tx_status *ts, struct ath_buf *bf) argument
4253 ath_tx_processq(struct ath_softc *sc, struct ath_txq *txq, int dosched) argument
4646 ath_txq_freeholdingbuf(struct ath_softc *sc, struct ath_txq *txq) argument
4670 struct ath_txq *txq; local
4713 struct ath_txq *txq; local
4772 ath_tx_draintxq_get_one(struct ath_softc *sc, struct ath_txq *txq) argument
4827 ath_tx_draintxq(struct ath_softc *sc, struct ath_txq *txq) argument
4901 ath_tx_stopdma(struct ath_softc *sc, struct ath_txq *txq) argument
4966 ath_tx_dump(struct ath_softc *sc, struct ath_txq *txq) argument
6196 struct ath_txq *txq = sc->sc_ac2q[i]; local
[all...]
/freebsd-11-stable/sys/dev/xen/netfront/
H A Dnetfront.c210 struct netfront_txq *txq; member in struct:netfront_info
422 XN_TX_LOCK(&np->txq[i]);
427 XN_TX_UNLOCK(&np->txq[i]);
447 XN_TX_LOCK(&info->txq[i]);
452 XN_TX_UNLOCK(&info->txq[i]);
464 struct netfront_txq *txq,
473 KASSERT(rxq->id == txq->id, ("Mismatch between RX and TX queue ids"));
475 KASSERT(rxq->xen_intr_handle == txq->xen_intr_handle,
488 err = xs_printf(*xst, path, "tx-ring-ref","%u", txq->ring_ref);
554 &info->txq[
462 write_queue_xenstore_keys(device_t dev, struct netfront_rxq *rxq, struct netfront_txq *txq, struct xs_transaction *xst, bool hierarchy) argument
633 xn_txq_start(struct netfront_txq *txq) argument
644 xn_txq_intr(struct netfront_txq *txq) argument
657 struct netfront_txq *txq = xtxq; local
767 disconnect_txq(struct netfront_txq *txq) argument
777 destroy_txq(struct netfront_txq *txq) argument
805 struct netfront_txq *txq; local
1005 xn_tx_slot_available(struct netfront_txq *txq) argument
1012 xn_release_tx_bufs(struct netfront_txq *txq) argument
1258 xn_txeof(struct netfront_txq *txq) argument
1339 struct netfront_txq *txq = xsc; local
1528 xn_assemble_tx_request(struct netfront_txq *txq, struct mbuf *m_head) argument
1925 struct netfront_txq *txq; local
1972 struct netfront_txq *txq; local
2087 xn_txq_mq_start_locked(struct netfront_txq *txq, struct mbuf *m) argument
2144 struct netfront_txq *txq; local
2178 struct netfront_txq *txq; local
[all...]
/freebsd-11-stable/sys/net/
H A Diflib.c440 #define TXQ_AVAIL(txq) (txq->ift_size - get_inuse(txq->ift_size, txq->ift_cidx, txq->ift_pidx, txq->ift_gen))
561 #define CALLOUT_LOCK(txq) mtx_lock(&txq->ift_mtx)
562 #define CALLOUT_UNLOCK(txq) mtx_unlock(&txq
926 iflib_txq_t txq = &ctx->ifc_txqs[kring->ring_id]; local
1160 iflib_netmap_txq_init(if_ctx_t ctx, iflib_txq_t txq) argument
1501 iflib_txsd_alloc(iflib_txq_t txq) argument
1594 iflib_txsd_destroy(if_ctx_t ctx, iflib_txq_t txq, int i) argument
1607 iflib_txq_destroy(iflib_txq_t txq) argument
1647 iflib_txsd_free(if_ctx_t ctx, iflib_txq_t txq, int i) argument
1668 iflib_txq_setup(iflib_txq_t txq) argument
2124 iflib_txq_t txq = arg; local
2193 iflib_txq_t txq; local
2283 iflib_txq_t txq = ctx->ifc_txqs; local
2727 txq_max_db_deferred(iflib_txq_t txq, qidx_t in_use) argument
2741 txq_max_rs_deferred(iflib_txq_t txq) argument
2773 iflib_txd_db_check(if_ctx_t ctx, iflib_txq_t txq, int ring, qidx_t in_use) argument
2808 iflib_parse_header(iflib_txq_t txq, if_pkt_info_t pi, struct mbuf **mp) argument
3008 iflib_remove_mbuf(iflib_txq_t txq) argument
3035 iflib_busdma_load_mbuf_sg(iflib_txq_t txq, bus_dma_tag_t tag, bus_dmamap_t map, struct mbuf **m0, bus_dma_segment_t *segs, int *nsegs, int max_segs, int flags) argument
3153 calc_next_txd(iflib_txq_t txq, int cidx, uint8_t qid) argument
3214 iflib_encap(iflib_txq_t txq, struct mbuf **m_headp) argument
3418 iflib_tx_desc_free(iflib_txq_t txq, int n) argument
3482 iflib_completed_tx_reclaim(iflib_txq_t txq, int thresh) argument
3535 iflib_txq_check_drain(iflib_txq_t txq, int budget) argument
3544 iflib_txq_t txq = r->cookie; local
3554 iflib_txq_t txq = r->cookie; local
3662 iflib_txq_t txq; local
3683 iflib_ifmp_purge(iflib_txq_t txq) argument
3700 iflib_txq_t txq = context; local
3781 iflib_txq_t txq; local
3885 iflib_txq_t txq; local
3957 iflib_txq_t txq = ctx->ifc_txqs; local
4538 iflib_txq_t txq; local
4668 iflib_txq_t txq = ctx->ifc_txqs; local
4861 iflib_txq_t txq; local
5069 iflib_txq_t txq = ctx->ifc_txqs; local
5081 iflib_txq_t txq = ctx->ifc_txqs; local
5475 iflib_txq_t txq = ctx->ifc_txqs; local
5578 iflib_txq_t txq = ctx->ifc_txqs; local
5596 iflib_tx_credits_update(if_ctx_t ctx, iflib_txq_t txq) argument
5948 iflib_txq_t txq; local
[all...]
/freebsd-11-stable/sys/dev/cxgb/
H A Dcxgb_sge.c234 #define TXQ_RING_EMPTY(qs) drbr_empty((qs)->port->ifp, (qs)->txq[TXQ_ETH].txq_mr)
236 drbr_needs_enqueue((qs)->port->ifp, (qs)->txq[TXQ_ETH].txq_mr)
237 #define TXQ_RING_FLUSH(qs) drbr_flush((qs)->port->ifp, (qs)->txq[TXQ_ETH].txq_mr)
239 drbr_dequeue_cond((qs)->port->ifp, (qs)->txq[TXQ_ETH].txq_mr, func, arg)
241 drbr_dequeue((qs)->port->ifp, (qs)->txq[TXQ_ETH].txq_mr)
259 struct sge_txq *txq; local
264 txq = &qs->txq[TXQ_ETH];
278 if (*fill != 0 && (txq->in_use <= cxgb_tx_coalesce_enable_stop) &&
281 else if (*fill == 0 && (txq
962 struct sge_txq *txq; local
1126 txq_prod(struct sge_txq *txq, unsigned int ndesc, struct txq_state *txqs) argument
1277 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
1357 struct sge_txq *txq; local
1593 struct sge_txq *txq = &qs->txq[TXQ_ETH]; local
1617 struct sge_txq *txq = &qs->txq[TXQ_ETH]; local
1633 struct sge_txq *txq = &qs->txq[TXQ_ETH]; local
1679 struct sge_txq *txq = &qs->txq[TXQ_ETH]; local
3154 struct sge_txq *txq; local
3221 struct sge_txq *txq; local
3451 struct sge_txq *txq = &qs->txq[TXQ_ETH]; local
[all...]
/freebsd-11-stable/sys/dev/virtio/network/
H A Dif_vtnet.c716 struct vtnet_txq *txq; local
718 txq = &sc->vtnet_txqs[id];
720 snprintf(txq->vtntx_name, sizeof(txq->vtntx_name), "%s-tx%d",
722 mtx_init(&txq->vtntx_mtx, txq->vtntx_name, NULL, MTX_DEF);
724 txq->vtntx_sc = sc;
725 txq->vtntx_id = id;
727 txq->vtntx_sg = sglist_alloc(sc->vtnet_tx_nsegs, M_NOWAIT);
728 if (txq
793 vtnet_destroy_txq(struct vtnet_txq *txq) argument
877 struct vtnet_txq *txq; local
1929 vtnet_txq_below_threshold(struct vtnet_txq *txq) argument
1941 vtnet_txq_notify(struct vtnet_txq *txq) argument
1967 vtnet_txq_free_mbufs(struct vtnet_txq *txq) argument
1990 ("%s: mbufs remaining in tx queue %p", __func__, txq)); local
1998 vtnet_txq_offload_ctx(struct vtnet_txq *txq, struct mbuf *m, int *etype, int *proto, int *start) argument
2051 vtnet_txq_offload_tso(struct vtnet_txq *txq, struct mbuf *m, int eth_type, int offset, struct virtio_net_hdr *hdr) argument
2093 vtnet_txq_offload(struct vtnet_txq *txq, struct mbuf *m, struct virtio_net_hdr *hdr) argument
2142 vtnet_txq_enqueue_buf(struct vtnet_txq *txq, struct mbuf **m_head, struct vtnet_tx_header *txhdr) argument
2189 vtnet_txq_encap(struct vtnet_txq *txq, struct mbuf **m_head) argument
2243 vtnet_start_locked(struct vtnet_txq *txq, struct ifnet *ifp) argument
2296 struct vtnet_txq *txq; local
2309 vtnet_txq_mq_start_locked(struct vtnet_txq *txq, struct mbuf *m) argument
2378 struct vtnet_txq *txq; local
2407 struct vtnet_txq *txq; local
2421 vtnet_txq_start(struct vtnet_txq *txq) argument
2442 struct vtnet_txq *txq; local
2463 vtnet_txq_eof(struct vtnet_txq *txq) argument
2497 struct vtnet_txq *txq; local
2536 struct vtnet_txq *txq; local
2555 struct vtnet_txq *txq; local
2575 vtnet_watchdog(struct vtnet_txq *txq) argument
2692 struct vtnet_txq *txq; local
2729 struct vtnet_txq *txq; local
2751 struct vtnet_txq *txq; local
2773 struct vtnet_txq *txq; local
2789 struct vtnet_txq *txq; local
2961 struct vtnet_txq *txq; local
3711 vtnet_setup_txq_sysctl(struct sysctl_ctx_list *ctx, struct sysctl_oid_list *child, struct vtnet_txq *txq) argument
3883 vtnet_txq_enable_intr(struct vtnet_txq *txq) argument
3900 vtnet_txq_disable_intr(struct vtnet_txq *txq) argument
[all...]
/freebsd-11-stable/sys/dev/malo/
H A Dif_malo.c553 malo_txdma_setup(struct malo_softc *sc, struct malo_txq *txq) argument
559 error = malo_desc_setup(sc, "tx", &txq->dma,
573 txq->dma.dd_bufptr = bf;
575 STAILQ_INIT(&txq->free);
576 txq->nfree = 0;
577 ds = txq->dma.dd_desc;
580 bf->bf_daddr = DS2PHYS(&txq->dma, ds);
589 STAILQ_INSERT_TAIL(&txq->free, bf, bf_list);
590 txq->nfree++;
631 malo_txdma_cleanup(struct malo_softc *sc, struct malo_txq *txq) argument
725 struct malo_txq *txq; local
742 malo_txq_init(struct malo_softc *sc, struct malo_txq *txq, int qnum) argument
767 malo_tx_cleanupq(struct malo_softc *sc, struct malo_txq *txq) argument
777 malo_getbuf(struct malo_softc *sc, struct malo_txq *txq) argument
927 malo_tx_processq(struct malo_softc *sc, struct malo_txq *txq) argument
1043 struct malo_txq *txq; local
1231 struct malo_txq *txq = &sc->malo_txq[0]; local
1576 malo_tx_draintxq(struct malo_softc *sc, struct malo_txq *txq) argument
1776 struct malo_txq *txq; local
[all...]
/freebsd-11-stable/sys/dev/vmware/vmxnet3/
H A Dif_vmx.c701 struct vmxnet3_txqueue *txq; local
712 txq = &sc->vmx_txq[i];
714 vmxnet3_txq_intr, txq, &intr->vmxi_handler);
719 txq->vxtxq_intr_idx = intr->vmxi_rid - 1;
766 struct vmxnet3_txqueue *txq; local
775 txq = &sc->vmx_txq[i];
776 txs = txq->vxtxq_ts;
777 txs->intr_idx = txq->vxtxq_intr_idx;
936 struct vmxnet3_txqueue *txq; local
941 txq
991 struct vmxnet3_txqueue *txq; local
1086 vmxnet3_destroy_txq(struct vmxnet3_txqueue *txq) argument
1206 struct vmxnet3_txqueue *txq; local
1275 struct vmxnet3_txqueue *txq; local
1519 struct vmxnet3_txqueue *txq; local
1848 vmxnet3_txq_eof(struct vmxnet3_txqueue *txq) argument
2289 struct vmxnet3_txqueue *txq; local
2321 struct vmxnet3_txqueue *txq; local
2373 vmxnet3_txstop(struct vmxnet3_softc *sc, struct vmxnet3_txqueue *txq) argument
2430 struct vmxnet3_txqueue *txq; local
2478 vmxnet3_txinit(struct vmxnet3_softc *sc, struct vmxnet3_txqueue *txq) argument
2707 vmxnet3_txq_offload_ctx(struct vmxnet3_txqueue *txq, struct mbuf *m, int *etype, int *proto, int *start) argument
2816 vmxnet3_txq_load_mbuf(struct vmxnet3_txqueue *txq, struct mbuf **m0, bus_dmamap_t dmap, bus_dma_segment_t segs[], int *nsegs) argument
2850 vmxnet3_txq_unload_mbuf(struct vmxnet3_txqueue *txq, bus_dmamap_t dmap) argument
2859 vmxnet3_txq_encap(struct vmxnet3_txqueue *txq, struct mbuf **m0) argument
2963 struct vmxnet3_txqueue *txq; local
3011 struct vmxnet3_txqueue *txq; local
3024 vmxnet3_txq_mq_start_locked(struct vmxnet3_txqueue *txq, struct mbuf *m) argument
3088 struct vmxnet3_txqueue *txq; local
3117 struct vmxnet3_txqueue *txq; local
3131 vmxnet3_txq_start(struct vmxnet3_txqueue *txq) argument
3151 struct vmxnet3_txqueue *txq; local
3392 struct vmxnet3_txqueue *txq; local
3412 vmxnet3_watchdog(struct vmxnet3_txqueue *txq) argument
3598 vmxnet3_setup_txq_sysctl(struct vmxnet3_txqueue *txq, struct sysctl_ctx_list *ctx, struct sysctl_oid_list *child) argument
3720 struct vmxnet3_txqueue *txq = &sc->vmx_txq[i]; local
[all...]
H A Dvmx_netmap.h88 vmxnet3_netmap_txq_init(struct vmxnet3_softc *sc, struct vmxnet3_txqueue *txq) argument
96 q = txq - sc->vmx_txq;
104 txr = &txq->vxtxq_cmd_ring;
151 struct vmxnet3_txqueue *txq = &sc->vmx_txq[kring->ring_id]; local
152 struct vmxnet3_txring *txr = &txq->vxtxq_cmd_ring;
153 struct vmxnet3_comp_ring *txc = &txq->vxtxq_comp_ring;
204 vmxnet3_write_bar0(sc, VMXNET3_BAR0_TXH(txq->vxtxq_id), nic_i);
/freebsd-11-stable/sys/dev/cxgbe/
H A Dt4_sched.c292 bind_txq_to_traffic_class(struct adapter *sc, struct sge_txq *txq, int idx) argument
298 if (!(txq->eq.flags & EQ_ALLOCATED))
302 if (txq->tc_idx == -2) {
306 if (idx == txq->tc_idx) {
311 tc0 = &sc->port[txq->eq.tx_chan]->sched_params->cl_rl[0];
330 old_idx = txq->tc_idx;
331 txq->tc_idx = -2;
339 V_FW_PARAMS_PARAM_YZ(txq->eq.cntxt_id));
345 MPASS(txq->tc_idx == -2);
356 txq
380 struct sge_txq *txq; local
569 struct sge_txq *txq; local
[all...]
H A Dt4_sge.c1096 struct sge_txq *txq; local
1201 oid = SYSCTL_ADD_NODE(&vi->ctx, children, OID_AUTO, "txq", CTLFLAG_RD,
1203 for_each_txq(vi, i, txq) {
1205 snprintf(name, sizeof(name), "%s txq%d",
1207 init_eq(sc, &txq->eq, EQ_ETH, vi->qsize_txq, pi->tx_chan,
1210 rc = alloc_txq(vi, txq, i, oid);
1250 struct sge_txq *txq; local
1287 for_each_txq(vi, i, txq) {
1288 free_txq(vi, txq);
2558 struct sge_txq *txq local
3749 alloc_txq(struct vi_info *vi, struct sge_txq *txq, int idx, struct sysctl_oid *oid) argument
3873 free_txq(struct vi_info *vi, struct sge_txq *txq) argument
4224 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
4403 write_txpkt_wr(struct sge_txq *txq, struct fw_eth_tx_pkt_wr *wr, struct mbuf *m0, u_int available) argument
4596 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
4712 write_gl_to_txd(struct sge_txq *txq, struct mbuf *m, caddr_t *to, int checkwrap) argument
4896 reclaim_tx_descs(struct sge_txq *txq, u_int n) argument
4938 struct sge_txq *txq = arg; local
5176 struct sge_txq *txq = (void *)eq; local
[all...]
H A Dt4_vf.c65 uint16_t ntxq; /* # of NIC txq's for each port */
349 * list and interrupts and an egress queue. Every txq
681 s->txq = malloc(s->ntxq * sizeof(struct sge_txq), M_CXGBE,
851 struct sge_txq *txq; local
862 for_each_txq(vi, i, txq) {
863 txq->txcsum = 0;
864 txq->tso_wrs = 0;
865 txq->vlan_insertion = 0;
866 txq->imm_wrs = 0;
867 txq
[all...]
/freebsd-11-stable/sys/dev/ral/
H A Drt2661.c243 error = rt2661_alloc_tx_ring(sc, &sc->txq[ac],
325 rt2661_free_tx_ring(sc, &sc->txq[ac]);
343 rt2661_free_tx_ring(sc, &sc->txq[0]);
344 rt2661_free_tx_ring(sc, &sc->txq[1]);
345 rt2661_free_tx_ring(sc, &sc->txq[2]);
346 rt2661_free_tx_ring(sc, &sc->txq[3]);
852 struct rt2661_tx_ring *txq; local
868 txq = (qid <= 3) ? &sc->txq[qid] : &sc->mgtq;
871 data = &txq
930 rt2661_tx_dma_intr(struct rt2661_softc *sc, struct rt2661_tx_ring *txq) argument
1364 struct rt2661_tx_ring *txq = &sc->txq[ac]; local
1435 struct rt2661_tx_ring *txq = &sc->txq[ac]; local
[all...]
H A Drt2560.c231 error = rt2560_alloc_tx_ring(sc, &sc->txq, RT2560_TX_RING_COUNT);
334 fail2: rt2560_free_tx_ring(sc, &sc->txq);
351 rt2560_free_tx_ring(sc, &sc->txq);
866 hw = RAL_READ(sc, RT2560_SECCSR1) - sc->txq.physaddr;
869 bus_dmamap_sync(sc->txq.desc_dmat, sc->txq.desc_map,
872 while (sc->txq.next_encrypt != hw) {
873 if (sc->txq.next_encrypt == sc->txq.cur_encrypt) {
875 sc->txq
[all...]
/freebsd-11-stable/sys/dev/mwl/
H A Dif_mwl.c978 struct mwl_txq *txq = &sc->sc_txq[i]; local
979 sc->sc_hwdma.wcbBase[i] = txq->dma.dd_desc_paddr;
1268 mwl_gettxbuf(struct mwl_softc *sc, struct mwl_txq *txq) argument
1275 MWL_TXQ_LOCK(txq);
1276 bf = STAILQ_FIRST(&txq->free);
1278 STAILQ_REMOVE_HEAD(&txq->free, bf_list);
1279 txq->nfree--;
1281 MWL_TXQ_UNLOCK(txq);
1284 "%s: out of xmit buffers on q %d\n", __func__, txq->qnum);
1295 mwl_puttxbuf_head(struct mwl_txq *txq, struc argument
1306 mwl_puttxbuf_tail(struct mwl_txq *txq, struct mwl_txbuf *bf) argument
1343 struct mwl_txq *txq = NULL; /* XXX silence gcc */ local
1422 struct mwl_txq *txq; local
2009 mwl_txq_reset(struct mwl_softc *sc, struct mwl_txq *txq) argument
2025 mwl_txdma_setup(struct mwl_softc *sc, struct mwl_txq *txq) argument
2064 mwl_txdma_cleanup(struct mwl_softc *sc, struct mwl_txq *txq) argument
2828 mwl_txq_init(struct mwl_softc *sc, struct mwl_txq *txq, int qnum) argument
2860 struct mwl_txq *txq; local
2886 struct mwl_txq *txq = sc->sc_ac2q[ac]; local
2925 mwl_tx_cleanupq(struct mwl_softc *sc, struct mwl_txq *txq) argument
3073 struct mwl_txq *txq; local
3316 mwl_tx_processq(struct mwl_softc *sc, struct mwl_txq *txq) argument
3435 mwl_tx_draintxq(struct mwl_softc *sc, struct mwl_txq *txq) argument
3515 struct mwl_txq *txq; local
4805 struct mwl_txq *txq = sc->sc_ac2q[i]; local
[all...]
H A Dif_mwlvar.h141 #define MWL_TXDESC_SYNC(txq, ds, how) do { \
142 bus_dmamap_sync((txq)->dma.dd_dmat, (txq)->dma.dd_dmamap, how); \
186 uint8_t txq; /* h/w q for BA stream */ member in struct:mwl_bastate
191 mwl_bastream_setup(struct mwl_bastate *bas, int tid, int txq) argument
193 bas->txq = txq;
202 /* NB: don't need to clear txq */
/freebsd-11-stable/sys/dev/netmap/
H A Dif_vtnet_netmap.h114 struct vtnet_txq *txq = &sc->vtnet_txqs[i]; local
118 VTNET_TXQ_LOCK(txq);
120 vtnet_free_used(txq->vtntx_vq,
122 VTNET_TXQ_UNLOCK(txq);
160 struct vtnet_txq *txq = &sc->vtnet_txqs[ring_nr]; local
161 struct virtqueue *vq = txq->vtntx_vq;
172 struct sglist *sg = txq->vtntx_sg;
189 err = sglist_append(sg, &txq->vtntx_shrhdr, sc->vtnet_hdr_size);
193 err = virtqueue_enqueue(vq, /*cookie=*/txq, sg,
218 if (unlikely(token != (void *)txq))
407 struct vtnet_txq *txq = &sc->vtnet_txqs[i]; local
[all...]
/freebsd-11-stable/sys/dev/qlnx/qlnxe/
H A Dqlnx_os.c146 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-11-stable/sys/dev/iwi/
H A Dif_iwi.c340 error = iwi_alloc_tx_ring(sc, &sc->txq[i], IWI_TX_RING_COUNT,
462 iwi_free_tx_ring(sc, &sc->txq[0]);
463 iwi_free_tx_ring(sc, &sc->txq[1]);
464 iwi_free_tx_ring(sc, &sc->txq[2]);
465 iwi_free_tx_ring(sc, &sc->txq[3]);
1606 iwi_tx_intr(struct iwi_softc *sc, struct iwi_tx_ring *txq) argument
1611 hw = CSR_READ_4(sc, txq->csr_ridx);
1613 while (txq->next != hw) {
1614 data = &txq->data[txq
1775 struct iwi_tx_ring *txq = &sc->txq[ac]; local
[all...]

Completed in 472 milliseconds

123