/freebsd-current/sys/dev/sfxge/ |
H A D | sfxge_tx.c | 143 static void sfxge_tx_qdpl_service(struct sfxge_txq *txq); 144 static void sfxge_tx_qlist_post(struct sfxge_txq *txq); 145 static void sfxge_tx_qunblock(struct sfxge_txq *txq); 146 static int sfxge_tx_queue_tso(struct sfxge_txq *txq, struct mbuf *mbuf, 151 sfxge_next_stmp(struct sfxge_txq *txq, struct sfxge_tx_mapping **pstmp) argument 155 &txq->stmp[txq->ptr_mask])) 156 *pstmp = &txq->stmp[0]; 162 sfxge_tx_maybe_toggle_cksum_offload(struct sfxge_txq *txq, struct mbuf *mbuf, argument 182 if (new_hw_cksum_flags == txq 196 sfxge_tx_maybe_insert_tag(struct sfxge_txq *txq, struct mbuf *mbuf, struct sfxge_tx_mapping **pstmp) argument 218 sfxge_tx_qcomplete(struct sfxge_txq *txq, struct sfxge_evq *evq) argument 271 sfxge_tx_qdpl_swizzle(struct sfxge_txq *txq) argument 322 sfxge_tx_qreap(struct sfxge_txq *txq) argument 330 sfxge_tx_qlist_post(struct sfxge_txq *txq) argument 395 sfxge_tx_queue_mbuf(struct sfxge_txq *txq, struct mbuf *mbuf) argument 534 sfxge_tx_qdpl_drain(struct sfxge_txq *txq) argument 619 sfxge_tx_qdpl_service(struct sfxge_txq *txq) argument 639 sfxge_tx_qdpl_put_locked(struct sfxge_txq *txq, struct mbuf *mbuf) argument 676 sfxge_tx_qdpl_put_unlocked(struct sfxge_txq *txq, struct mbuf *mbuf) argument 715 sfxge_tx_packet_add(struct sfxge_txq *txq, struct mbuf *m) argument 760 sfxge_tx_qdpl_flush(struct sfxge_txq *txq) argument 876 struct sfxge_txq *txq; local 1002 tso_init(struct sfxge_txq *txq) argument 1028 tso_fini(struct sfxge_txq *txq) argument 1039 tso_start(struct sfxge_txq *txq, struct sfxge_tso_state *tso, const bus_dma_segment_t *hdr_dma_seg, struct mbuf *mbuf) argument 1150 tso_fill_packet_with_fragment(struct sfxge_txq *txq, struct sfxge_tso_state *tso) argument 1214 tso_start_new_packet(struct sfxge_txq *txq, struct sfxge_tso_state *tso, unsigned int *idp) argument 1362 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 1431 sfxge_tx_qunblock(struct sfxge_txq *txq) argument 1462 sfxge_tx_qflush_done(struct sfxge_txq *txq) argument 1471 struct sfxge_txq *txq; local 1612 struct sfxge_txq *txq; local 1747 sfxge_txq_stat_init(struct sfxge_txq *txq, struct sysctl_oid *txq_node) argument 1775 struct sfxge_txq *txq; local 1811 struct sfxge_txq *txq; local 1968 struct sfxge_txq *txq; local [all...] |
H A D | sfxge_ev.c | 54 struct sfxge_txq *txq; local 62 if ((txq = evq->txq) != NULL) { 63 evq->txq = NULL; 64 evq->txqs = &(evq->txq); 69 next = txq->next; 70 txq->next = NULL; 72 KASSERT(txq->evq_index == index, 73 ("txq->evq_index != index")); 75 if (txq 283 struct sfxge_txq *txq; local 325 struct sfxge_txq *txq; local 380 struct sfxge_txq *txq = sfxge_get_txq_by_label(evq, label); local [all...] |
/freebsd-current/sys/contrib/dev/iwlwifi/queue/ |
H A D | tx.c | 27 struct iwl_txq *txq, u16 byte_cnt, 30 int idx = iwl_txq_get_cmd_index(txq, txq->write_ptr); 35 if (WARN(idx >= txq->n_window, "%d >= %d\n", idx, txq->n_window)) 51 struct iwl_gen3_bc_tbl_entry *scd_bc_tbl_gen3 = txq->bc_tbl.addr; 59 struct iwlagn_scd_bc_tbl *scd_bc_tbl = txq->bc_tbl.addr; 73 void iwl_txq_inc_wr_ptr(struct iwl_trans *trans, struct iwl_txq *txq) argument 75 lockdep_assert_held(&txq->lock); 77 IWL_DEBUG_TX(trans, "Q:%d WR: 0x%x\n", txq 26 iwl_pcie_gen2_update_byte_tbl(struct iwl_trans *trans, struct iwl_txq *txq, u16 byte_cnt, int num_tbs) argument 122 iwl_txq_gen2_free_tfd(struct iwl_trans *trans, struct iwl_txq *txq) argument 460 iwl_txq_gen2_build_tx_amsdu(struct iwl_trans *trans, struct iwl_txq *txq, struct iwl_device_tx_cmd *dev_cmd, struct sk_buff *skb, struct iwl_cmd_meta *out_meta, int hdr_len, int tx_cmd_len) argument 547 iwl_txq_gen2_build_tx(struct iwl_trans *trans, struct iwl_txq *txq, struct iwl_device_tx_cmd *dev_cmd, struct sk_buff *skb, struct iwl_cmd_meta *out_meta, int hdr_len, int tx_cmd_len, bool pad) argument 642 iwl_txq_gen2_build_tfd(struct iwl_trans *trans, struct iwl_txq *txq, struct iwl_device_tx_cmd *dev_cmd, struct sk_buff *skb, struct iwl_cmd_meta *out_meta) argument 722 struct iwl_txq *txq = trans->txqs.txq[txq_id]; local 817 struct iwl_txq *txq = trans->txqs.txq[txq_id]; local 847 iwl_txq_gen2_free_memory(struct iwl_trans *trans, struct iwl_txq *txq) argument 879 struct iwl_txq *txq; local 934 iwl_txq_init(struct iwl_trans *trans, struct iwl_txq *txq, int slots_num, bool cmd_queue) argument 988 iwl_txq_log_scd_error(struct iwl_trans *trans, struct iwl_txq *txq) argument 1033 struct iwl_txq *txq = from_timer(txq, t, stuck_timer); local 1049 iwl_txq_alloc(struct iwl_trans *trans, struct iwl_txq *txq, int slots_num, bool cmd_queue) argument 1122 struct iwl_txq *txq; local 1165 iwl_txq_alloc_response(struct iwl_trans *trans, struct iwl_txq *txq, struct iwl_host_cmd *hcmd) argument 1222 struct iwl_txq *txq; local 1394 iwl_txq_gen1_tfd_unmap(struct iwl_trans *trans, struct iwl_cmd_meta *meta, struct iwl_txq *txq, int index) argument 1448 iwl_txq_gen1_update_byte_cnt_tbl(struct iwl_trans *trans, struct iwl_txq *txq, u16 byte_cnt, int num_tbs) argument 1492 iwl_txq_gen1_inval_byte_cnt_tbl(struct iwl_trans *trans, struct iwl_txq *txq) argument 1526 iwl_txq_free_tfd(struct iwl_trans *trans, struct iwl_txq *txq) argument 1558 iwl_txq_progress(struct iwl_txq *txq) argument 1586 struct iwl_txq *txq = trans->txqs.txq[txq_id]; local 1710 struct iwl_txq *txq = trans->txqs.txq[txq_id]; local 1726 struct iwl_txq *txq = trans->txqs.txq[queue]; local 1778 struct iwl_txq *txq = trans->txqs.txq[trans->txqs.cmd.q_id]; local [all...] |
H A D | tx.h | 16 iwl_txq_get_first_tb_dma(struct iwl_txq *txq, int idx) argument 18 return txq->first_tb_dma + 30 struct iwl_txq *txq) 32 if (test_and_clear_bit(txq->id, trans->txqs.queue_stopped)) { 33 IWL_DEBUG_TX_QUEUES(trans, "Wake hwq %d\n", txq->id); 34 iwl_op_mode_queue_not_full(trans->op_mode, txq->id); 39 struct iwl_txq *txq, int idx) 42 idx = iwl_txq_get_cmd_index(txq, idx); 44 return (u8 *)txq->tfds + trans->txqs.tfd.size * idx; 47 int iwl_txq_alloc(struct iwl_trans *trans, struct iwl_txq *txq, in 29 iwl_wake_queue(struct iwl_trans *trans, struct iwl_txq *txq) argument 38 iwl_txq_get_tfd(struct iwl_trans *trans, struct iwl_txq *txq, int idx) argument 61 iwl_txq_stop(struct iwl_trans *trans, struct iwl_txq *txq) argument [all...] |
/freebsd-current/sys/dev/ath/ |
H A D | if_ath_tx_edma.c | 143 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 txq->axq_qnum, 185 txq->axq_fifo_depth, 186 !! (TAILQ_EMPTY(&txq->axq_q))); 191 if (txq->axq_fifo_depth >= HAL_TXFIFO_DEPTH) 194 if (TAILQ_EMPTY(&txq 301 ath_edma_tx_fifo_fill(struct ath_softc *sc, struct ath_txq *txq) argument 402 ath_edma_dma_restart(struct ath_softc *sc, struct ath_txq *txq) argument 528 ath_edma_xmit_handoff_hw(struct ath_softc *sc, struct ath_txq *txq, struct ath_buf *bf) argument 565 ath_edma_xmit_handoff_mcast(struct ath_softc *sc, struct ath_txq *txq, struct ath_buf *bf) argument 620 ath_edma_xmit_handoff(struct ath_softc *sc, struct ath_txq *txq, struct ath_buf *bf) argument 799 struct ath_txq *txq; local [all...] |
H A D | if_ath_misc.h | 74 struct ath_txq *txq); 86 extern void ath_tx_draintxq(struct ath_softc *sc, struct ath_txq *txq); 92 struct ath_txq *txq, struct ath_tx_status *ts, struct ath_buf *bf); 109 extern void ath_tx_dump(struct ath_softc *sc, struct ath_txq *txq);
|
H A D | if_ath_tx.c | 690 * with the actual hardware txq, or all of this will fall apart. 697 ath_tx_handoff_mcast(struct ath_softc *sc, struct ath_txq *txq, argument 713 txq->axq_qnum); 716 ATH_TXQ_LOCK(txq); 717 if (ATH_TXQ_LAST(txq, axq_q_s) != NULL) { 718 struct ath_buf *bf_last = ATH_TXQ_LAST(txq, axq_q_s); 732 ATH_TXQ_INSERT_TAIL(txq, bf, bf_list); 733 ATH_TXQ_UNLOCK(txq); 740 ath_tx_handoff_hw(struct ath_softc *sc, struct ath_txq *txq, argument 757 KASSERT(txq 909 ath_legacy_tx_dma_restart(struct ath_softc *sc, struct ath_txq *txq) argument 958 ath_legacy_xmit_handoff(struct ath_softc *sc, struct ath_txq *txq, struct ath_buf *bf) argument 1503 ath_tx_xmit_normal(struct ath_softc *sc, struct ath_txq *txq, struct ath_buf *bf) argument 1553 ath_tx_normal_setup(struct ath_softc *sc, struct ieee80211_node *ni, struct ath_buf *bf, struct mbuf *m0, struct ath_txq *txq) argument 1910 struct ath_txq *txq; local 2908 struct ath_txq *txq = sc->sc_ac2q[tid->ac]; local 2961 struct ath_txq *txq = sc->sc_ac2q[tid->ac]; local 3046 ath_tx_xmit_aggr(struct ath_softc *sc, struct ath_node *an, struct ath_txq *txq, struct ath_buf *bf) argument 3135 ath_tx_swq(struct ath_softc *sc, struct ieee80211_node *ni, struct ath_txq *txq, int queue_to_head, struct ath_buf *bf) argument 3850 struct ath_txq *txq; local 4142 ath_tx_txq_drain(struct ath_softc *sc, struct ath_txq *txq) argument 5429 struct ath_txq *txq = sc->sc_ac2q[tid->ac]; local 5660 struct ath_txq *txq = sc->sc_ac2q[tid->ac]; local 5748 ath_txq_sched(struct ath_softc *sc, struct ath_txq *txq) argument 6310 struct ath_txq *txq; local 6347 struct ath_txq *txq; local [all...] |
H A D | if_ath_tx.h | 47 * How 'busy' to try and keep the hardware txq 88 extern void ath_tx_txq_drain(struct ath_softc *sc, struct ath_txq *txq); 100 struct ath_txq *txq, int queue_to_head, struct ath_buf *bf); 106 extern void ath_txq_sched(struct ath_softc *sc, struct ath_txq *txq); 142 extern void ath_tx_push_pending(struct ath_softc *sc, struct ath_txq *txq);
|
/freebsd-current/sys/contrib/dev/iwlwifi/pcie/ |
H A D | tx.c | 78 struct iwl_txq *txq) 81 int txq_id = txq->id; 83 lockdep_assert_held(&txq->lock); 106 txq->need_update = true; 115 IWL_DEBUG_TX(trans, "Q:%d WR: 0x%x\n", txq_id, txq->write_ptr); 116 if (!txq->block) 118 txq->write_ptr | (txq_id << 8)); 126 struct iwl_txq *txq = trans->txqs.txq[i]; local 131 spin_lock_bh(&txq 77 iwl_pcie_txq_inc_wr_ptr(struct iwl_trans *trans, struct iwl_txq *txq) argument 156 iwl_pcie_txq_build_tfd(struct iwl_trans *trans, struct iwl_txq *txq, dma_addr_t addr, u16 len, bool reset) argument 210 struct iwl_txq *txq = trans->txqs.txq[txq_id]; local 260 struct iwl_txq *txq = trans->txqs.txq[txq_id]; local 371 struct iwl_txq *txq = trans->txqs.txq[txq_id]; local 674 struct iwl_txq *txq = trans->txqs.txq[txq_id]; local 744 struct iwl_txq *txq = trans->txqs.txq[txq_id]; local 854 struct iwl_txq *txq = trans->txqs.txq[txq_id]; local 909 struct iwl_txq *txq = trans->txqs.txq[trans->txqs.cmd.q_id]; local 1190 struct iwl_txq *txq = trans->txqs.txq[trans->txqs.cmd.q_id]; local 1248 iwl_fill_data_tbs(struct iwl_trans *trans, struct sk_buff *skb, struct iwl_txq *txq, u8 hdr_len, struct iwl_cmd_meta *out_meta) argument 1300 iwl_fill_data_tbs_amsdu(struct iwl_trans *trans, struct sk_buff *skb, struct iwl_txq *txq, u8 hdr_len, struct iwl_cmd_meta *out_meta, struct iwl_device_tx_cmd *dev_cmd, u16 tb1_len) argument 1431 iwl_fill_data_tbs_amsdu(struct iwl_trans *trans, struct sk_buff *skb, struct iwl_txq *txq, u8 hdr_len, struct iwl_cmd_meta *out_meta, struct iwl_device_tx_cmd *dev_cmd, u16 tb1_len) argument 1450 struct iwl_txq *txq; local [all...] |
H A D | tx-gen2.c | 33 struct iwl_txq *txq = trans->txqs.txq[trans->txqs.cmd.q_id]; local 114 spin_lock_irqsave(&txq->lock, flags); 116 idx = iwl_txq_get_cmd_index(txq, txq->write_ptr); 117 tfd = iwl_txq_get_tfd(trans, txq, txq->write_ptr); 120 if (iwl_txq_space(trans, txq) < ((cmd->flags & CMD_ASYNC) ? 2 : 1)) { 121 spin_unlock_irqrestore(&txq->lock, flags); 129 out_cmd = txq [all...] |
/freebsd-current/sys/dev/xen/netfront/ |
H A D | netfront.c | 206 struct netfront_txq *txq; member in struct:netfront_txq::mbuf_xennet 222 struct netfront_txq *txq; member in struct:netfront_info 349 SLIST_INSERT_HEAD(&ref->txq->tags, ref, next); 472 XN_TX_LOCK(&np->txq[i]); 477 XN_TX_UNLOCK(&np->txq[i]); 497 XN_TX_LOCK(&info->txq[i]); 502 XN_TX_UNLOCK(&info->txq[i]); 514 struct netfront_txq *txq, 523 KASSERT(rxq->id == txq->id, ("Mismatch between RX and TX queue ids")); 525 KASSERT(rxq->xen_intr_handle == txq 512 write_queue_xenstore_keys(device_t dev, struct netfront_rxq *rxq, struct netfront_txq *txq, struct xs_transaction *xst, bool hierarchy) argument 685 xn_txq_start(struct netfront_txq *txq) argument 696 xn_txq_intr(struct netfront_txq *txq) argument 709 struct netfront_txq *txq = xtxq; local 825 disconnect_txq(struct netfront_txq *txq) argument 838 destroy_txq(struct netfront_txq *txq) argument 878 struct netfront_txq *txq; local 1101 xn_tx_slot_available(struct netfront_txq *txq) argument 1108 xn_release_tx_bufs(struct netfront_txq *txq) argument 1354 xn_txeof(struct netfront_txq *txq) argument 1435 struct netfront_txq *txq = xsc; local 1605 xn_assemble_tx_request(struct netfront_txq *txq, struct mbuf *m_head) argument 2012 struct netfront_txq *txq; local 2059 struct netfront_txq *txq; local 2175 xn_txq_mq_start_locked(struct netfront_txq *txq, struct mbuf *m) argument 2232 struct netfront_txq *txq; local 2266 struct netfront_txq *txq; local [all...] |
/freebsd-current/sys/net/ |
H A D | iflib.c | 438 #define TXQ_AVAIL(txq) (txq->ift_size - get_inuse(txq->ift_size, txq->ift_cidx, txq->ift_pidx, txq->ift_gen)) 549 #define CALLOUT_LOCK(txq) mtx_lock(&txq->ift_mtx) 550 #define CALLOUT_UNLOCK(txq) mtx_unlock(&txq 1007 iflib_txq_t txq = &ctx->ifc_txqs[kring->ring_id]; local 1333 iflib_netmap_txq_init(if_ctx_t ctx, iflib_txq_t txq) argument 1374 iflib_txq_t txq = arg; local 1589 iflib_txq_t txq; local 1705 iflib_txsd_alloc(iflib_txq_t txq) argument 1821 iflib_txsd_destroy(if_ctx_t ctx, iflib_txq_t txq, int i) argument 1844 iflib_txq_destroy(iflib_txq_t txq) argument 1884 iflib_txsd_free(if_ctx_t ctx, iflib_txq_t txq, int i) argument 1909 iflib_txq_setup(iflib_txq_t txq) argument 2404 iflib_txq_t txq = arg; local 2490 iflib_txq_t txq; local 2591 iflib_txq_t txq = ctx->ifc_txqs; local 3107 txq_max_db_deferred(iflib_txq_t txq, qidx_t in_use) argument 3121 txq_max_rs_deferred(iflib_txq_t txq) argument 3154 iflib_txd_db_check(iflib_txq_t txq, int ring) argument 3344 iflib_parse_header(iflib_txq_t txq, if_pkt_info_t pi, struct mbuf **mp) argument 3510 iflib_remove_mbuf(iflib_txq_t txq) argument 3532 calc_next_txd(iflib_txq_t txq, int cidx, uint8_t qid) argument 3595 iflib_encap(iflib_txq_t txq, struct mbuf **m_headp) argument 3808 iflib_tx_desc_free(iflib_txq_t txq, int n) argument 3860 iflib_completed_tx_reclaim(iflib_txq_t txq, int thresh) argument 3912 iflib_txq_check_drain(iflib_txq_t txq, int budget) argument 3921 iflib_txq_t txq = r->cookie; local 3935 iflib_txq_t txq = r->cookie; local 4051 iflib_txq_t txq; local 4073 iflib_ifmp_purge(iflib_txq_t txq) argument 4090 iflib_txq_t txq = context; local 4180 iflib_txq_t txq; local 4284 iflib_txq_t txq; local 4438 iflib_txq_t txq = ctx->ifc_txqs; local 5526 iflib_txq_t txq; local 5604 iflib_txq_t txq = ctx->ifc_txqs; local 5840 iflib_txq_t txq; local 6056 iflib_txq_t txq = ctx->ifc_txqs; local 6068 iflib_txq_t txq = ctx->ifc_txqs; local 6424 iflib_txq_t txq = ctx->ifc_txqs; local 6531 iflib_txq_t txq = ctx->ifc_txqs; local 6549 iflib_tx_credits_update(if_ctx_t ctx, iflib_txq_t txq) argument 6916 iflib_txq_t txq; local 7143 iflib_txq_t txq; local 7164 iflib_txq_t txq; local [all...] |
/freebsd-current/sys/dev/ice/ |
H A D | ice_iflib_txrx.c | 50 static int _ice_ift_txd_encap(struct ice_tx_queue *txq, if_pkt_info_t pi); 51 static int _ice_ift_txd_credits_update(struct ice_softc *sc, struct ice_tx_queue *txq, bool clear); 124 * @txq: driver's TX queue context 135 _ice_ift_txd_encap(struct ice_tx_queue *txq, if_pkt_info_t pi) argument 152 i = ice_tso_setup(txq, pi); 154 ice_tx_setup_offload(txq, pi, &cmd, &off); 159 mask = txq->desc_count - 1; 163 txd = &txq->tx_base[i]; 174 txq->stats.tx_bytes += seglen; 185 txq 211 struct ice_tx_queue *txq = &sc->pf_vsi.tx_queues[pi->ipi_qsidx]; local 229 struct ice_tx_queue *txq = &sc->pf_vsi.tx_queues[txqid]; local 250 _ice_ift_txd_credits_update(struct ice_softc *sc __unused, struct ice_tx_queue *txq, bool clear) argument 308 struct ice_tx_queue *txq = &sc->pf_vsi.tx_queues[txqid]; local 625 struct ice_tx_queue *txq = &mif->vsi->tx_queues[txqid]; local 644 struct ice_tx_queue *txq = &mif->vsi->tx_queues[pi->ipi_qsidx]; local 663 struct ice_tx_queue *txq = &mif->vsi->tx_queues[txqid]; local [all...] |
H A D | ice_common_txrx.h | 137 * @txq: the Tx queue to use 145 ice_tso_setup(struct ice_tx_queue *txq, if_pkt_info_t pi) argument 153 txd = (struct ice_tx_ctx_desc *)&txq->tx_base[idx]; 160 txq->stats.mss_too_small++; 172 txq->tso++; 174 return ((idx + 1) & (txq->desc_count-1)); 179 * @txq: The Tx queue, used to track checksum offload stats 192 ice_tx_setup_offload(struct ice_tx_queue *txq, if_pkt_info_t pi, u32 *cmd, u32 *off) argument 201 txq->stats.cso[ICE_CSO_STAT_TX_IP4]++; 214 txq [all...] |
/freebsd-current/sys/dev/cxgb/ |
H A D | cxgb_sge.c | 232 #define TXQ_RING_EMPTY(qs) drbr_empty((qs)->port->ifp, (qs)->txq[TXQ_ETH].txq_mr) 234 drbr_needs_enqueue((qs)->port->ifp, (qs)->txq[TXQ_ETH].txq_mr) 235 #define TXQ_RING_FLUSH(qs) drbr_flush((qs)->port->ifp, (qs)->txq[TXQ_ETH].txq_mr) 237 drbr_dequeue_cond((qs)->port->ifp, (qs)->txq[TXQ_ETH].txq_mr, func, arg) 239 drbr_dequeue((qs)->port->ifp, (qs)->txq[TXQ_ETH].txq_mr) 257 struct sge_txq *txq; local 262 txq = &qs->txq[TXQ_ETH]; 276 if (*fill != 0 && (txq->in_use <= cxgb_tx_coalesce_enable_stop) && 279 else if (*fill == 0 && (txq 967 struct sge_txq *txq; local 1131 txq_prod(struct sge_txq *txq, unsigned int ndesc, struct txq_state *txqs) argument 1282 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 1359 struct sge_txq *txq; local 1612 struct sge_txq *txq = &qs->txq[TXQ_ETH]; local 1636 struct sge_txq *txq = &qs->txq[TXQ_ETH]; local 1652 struct sge_txq *txq = &qs->txq[TXQ_ETH]; local 1698 struct sge_txq *txq = &qs->txq[TXQ_ETH]; local 3161 struct sge_txq *txq; local 3228 struct sge_txq *txq; local 3459 struct sge_txq *txq = &qs->txq[TXQ_ETH]; local [all...] |
/freebsd-current/sys/dev/mana/ |
H A D | mana_en.c | 488 mana_xmit(struct mana_txq *txq) argument 492 if_t ndev = txq->ndev; 506 gdma_sq = txq->gdma_sq; 507 cq = &apc->tx_qp[txq->idx].tx_cq; 508 tx_stats = &txq->stats; 512 next_to_use = txq->next_to_use; 514 while ((mbuf = drbr_peek(ndev, txq->txq_br)) != NULL) { 517 drbr_putback(ndev, txq->txq_br, mbuf); 529 stops > wakeups && txq->alt_txq_idx == txq 668 struct mana_txq *txq = (struct mana_txq *)arg; local 805 struct mana_txq *txq; local 1435 struct mana_txq *txq = cq->txq; local 1946 mana_deinit_txq(struct mana_port_context *apc, struct mana_txq *txq) argument 2037 struct mana_txq *txq; local 2699 struct mana_txq *txq; local [all...] |
/freebsd-current/sys/dev/virtio/network/ |
H A D | if_vtnet.c | 859 struct vtnet_txq *txq; local 861 txq = &sc->vtnet_txqs[id]; 863 snprintf(txq->vtntx_name, sizeof(txq->vtntx_name), "%s-tx%d", 865 mtx_init(&txq->vtntx_mtx, txq->vtntx_name, NULL, MTX_DEF); 867 txq->vtntx_sc = sc; 868 txq->vtntx_id = id; 870 txq->vtntx_sg = sglist_alloc(sc->vtnet_tx_nsegs, M_NOWAIT); 871 if (txq 941 vtnet_destroy_txq(struct vtnet_txq *txq) argument 1025 struct vtnet_txq *txq; local 2276 vtnet_txq_intr_threshold(struct vtnet_txq *txq) argument 2305 vtnet_txq_below_threshold(struct vtnet_txq *txq) argument 2315 vtnet_txq_notify(struct vtnet_txq *txq) argument 2341 vtnet_txq_free_mbufs(struct vtnet_txq *txq) argument 2364 ("%s: mbufs remaining in tx queue %p", __func__, txq)); local 2371 vtnet_txq_offload_ctx(struct vtnet_txq *txq, struct mbuf *m, int *etype, int *proto, int *start) argument 2430 vtnet_txq_offload_tso(struct vtnet_txq *txq, struct mbuf *m, int eth_type, int offset, struct virtio_net_hdr *hdr) argument 2473 vtnet_txq_offload(struct vtnet_txq *txq, struct mbuf *m, struct virtio_net_hdr *hdr) argument 2528 vtnet_txq_enqueue_buf(struct vtnet_txq *txq, struct mbuf **m_head, struct vtnet_tx_header *txhdr) argument 2578 vtnet_txq_encap(struct vtnet_txq *txq, struct mbuf **m_head, int flags) argument 2630 vtnet_start_locked(struct vtnet_txq *txq, if_t ifp) argument 2683 struct vtnet_txq *txq; local 2696 vtnet_txq_mq_start_locked(struct vtnet_txq *txq, struct mbuf *m) argument 2765 struct vtnet_txq *txq; local 2793 struct vtnet_txq *txq; local 2807 vtnet_txq_start(struct vtnet_txq *txq) argument 2828 struct vtnet_txq *txq; local 2849 vtnet_txq_eof(struct vtnet_txq *txq) argument 2883 struct vtnet_txq *txq; local 2922 struct vtnet_txq *txq; local 2941 struct vtnet_txq *txq; local 2961 vtnet_watchdog(struct vtnet_txq *txq) argument 3078 struct vtnet_txq *txq; local 3115 struct vtnet_txq *txq; local 3137 struct vtnet_txq *txq; local 3159 struct vtnet_txq *txq; local 3175 struct vtnet_txq *txq; local 3330 struct vtnet_txq *txq; local 4125 vtnet_setup_txq_sysctl(struct sysctl_ctx_list *ctx, struct sysctl_oid_list *child, struct vtnet_txq *txq) argument 4314 vtnet_txq_enable_intr(struct vtnet_txq *txq) argument 4331 vtnet_txq_disable_intr(struct vtnet_txq *txq) argument 4448 struct vtnet_txq *txq; local [all...] |
/freebsd-current/sys/dev/iavf/ |
H A D | iavf_vc_iflib.c | 88 vqpi->txq.vsi_id = vqci->vsi_id; 89 vqpi->txq.queue_id = i; 90 vqpi->txq.ring_len = scctx->isc_ntxd[0]; 91 vqpi->txq.dma_ring_addr = txr->tx_paddr; 94 vqpi->txq.headwb_enabled = 0; 95 vqpi->txq.dma_headwb_addr = 0; 97 vqpi->txq.headwb_enabled = 1; 98 vqpi->txq.dma_headwb_addr = txr->tx_paddr +
|
/freebsd-current/sys/contrib/dev/mediatek/mt76/mt7921/ |
H A D | pci_mcu.c | 26 enum mt76_mcuq_id txq = MT_MCUQ_WM; local 36 txq = MT_MCUQ_FWDL; 38 return mt76_tx_queue_skb_raw(dev, mdev->q_mcu[txq], skb, 0);
|
/freebsd-current/sys/dev/malo/ |
H A D | if_malo.c | 550 malo_txdma_setup(struct malo_softc *sc, struct malo_txq *txq) argument 556 error = malo_desc_setup(sc, "tx", &txq->dma, 570 txq->dma.dd_bufptr = bf; 572 STAILQ_INIT(&txq->free); 573 txq->nfree = 0; 574 ds = txq->dma.dd_desc; 577 bf->bf_daddr = DS2PHYS(&txq->dma, ds); 586 STAILQ_INSERT_TAIL(&txq->free, bf, bf_list); 587 txq->nfree++; 628 malo_txdma_cleanup(struct malo_softc *sc, struct malo_txq *txq) argument 722 struct malo_txq *txq; local 739 malo_txq_init(struct malo_softc *sc, struct malo_txq *txq, int qnum) argument 764 malo_tx_cleanupq(struct malo_softc *sc, struct malo_txq *txq) argument 774 malo_getbuf(struct malo_softc *sc, struct malo_txq *txq) argument 920 malo_tx_processq(struct malo_softc *sc, struct malo_txq *txq) argument 1037 struct malo_txq *txq; local 1222 struct malo_txq *txq = &sc->malo_txq[0]; local 1564 malo_tx_draintxq(struct malo_softc *sc, struct malo_txq *txq) argument 1764 struct malo_txq *txq; local [all...] |
/freebsd-current/sys/contrib/dev/athk/ath10k/ |
H A D | txrx.c | 50 struct ieee80211_txq *txq; local 76 txq = skb_cb->txq; 78 if (txq) { 79 artxq = (void *)txq->drv_priv; 89 if (txq && txq->sta && skb_cb->airtime_est) 90 ieee80211_sta_register_airtime(txq->sta, txq->tid, 138 if (txq) [all...] |
/freebsd-current/sys/dev/cxgbe/crypto/ |
H A D | t6_kern_tls.c | 72 struct sge_txq *txq; member in struct:tlspcb 104 const struct ktls_session *tls, struct sge_txq *txq); 276 write_set_tcb_field_ulp(struct tlspcb *tlsp, void *dst, struct sge_txq *txq, argument 288 V_ULP_TXPKT_FID(txq->eq.cntxt_id) | V_ULP_TXPKT_RO(1)); 311 ktls_set_tcb_fields(struct tlspcb *tlsp, struct tcpcb *tp, struct sge_txq *txq) argument 340 write_set_tcb_field_ulp(tlsp, dst, txq, W_TCB_T_FLAGS, 346 write_set_tcb_field_ulp(tlsp, dst, txq, W_TCB_SND_UNA_RAW, 352 write_set_tcb_field_ulp(tlsp, dst, txq, W_TCB_SND_MAX_RAW, 357 write_set_tcb_field_ulp(tlsp, dst, txq, W_TCB_TIMESTAMP_OFFSET, 366 error = mp_ring_enqueue(txq 382 struct sge_txq *txq; local 587 ktls_setup_keys(struct tlspcb *tlsp, const struct ktls_session *tls, struct sge_txq *txq) argument 1109 ktls_write_tcp_options(struct sge_txq *txq, void *dst, struct mbuf *m, u_int available, u_int pidx) argument 1203 ktls_write_tunnel_packet(struct sge_txq *txq, void *dst, struct mbuf *m, struct mbuf *m_tls, u_int available, tcp_seq tcp_seqno, u_int pidx) argument 1312 ktls_write_tls_wr(struct tlspcb *tlsp, struct sge_txq *txq, void *dst, struct mbuf *m, struct tcphdr *tcp, struct mbuf *m_tls, u_int available, tcp_seq tcp_seqno, uint32_t *tsopt, u_int pidx, bool set_l2t_idx) argument 1851 ktls_write_tcp_fin(struct sge_txq *txq, void *dst, struct mbuf *m, u_int available, tcp_seq tcp_seqno, u_int pidx) argument 1945 t6_ktls_write_wr(struct sge_txq *txq, void *dst, struct mbuf *m, u_int available) argument 2122 t6_ktls_write_wr(struct sge_txq *txq, void *dst, struct mbuf *m, u_int available) argument [all...] |
/freebsd-current/sys/contrib/dev/mediatek/mt76/ |
H A D | tx.c | 9 mt76_txq_get_qid(struct ieee80211_txq *txq) argument 11 if (!txq->sta) 14 return txq->ac; 21 struct ieee80211_txq *txq; local 30 txq = sta->txq[tid]; 31 mtxq = (struct mt76_txq *)txq->drv_priv; 372 struct ieee80211_txq *txq = mtxq_to_txq(mtxq); local 376 skb = ieee80211_tx_dequeue(phy->hw, txq); 416 struct ieee80211_txq *txq local 459 struct ieee80211_txq *txq = mtxq_to_txq(mtxq); local 525 struct ieee80211_txq *txq; local 551 struct ieee80211_txq *txq = mtxq_to_txq(mtxq); local 643 struct ieee80211_txq *txq = sta->txq[i]; local 660 mt76_wake_tx_queue(struct ieee80211_hw *hw, struct ieee80211_txq *txq) argument [all...] |
/freebsd-current/sys/dev/ral/ |
H A D | rt2661.c | 240 error = rt2661_alloc_tx_ring(sc, &sc->txq[ac], 322 rt2661_free_tx_ring(sc, &sc->txq[ac]); 340 rt2661_free_tx_ring(sc, &sc->txq[0]); 341 rt2661_free_tx_ring(sc, &sc->txq[1]); 342 rt2661_free_tx_ring(sc, &sc->txq[2]); 343 rt2661_free_tx_ring(sc, &sc->txq[3]); 850 struct rt2661_tx_ring *txq; local 866 txq = (qid <= 3) ? &sc->txq[qid] : &sc->mgtq; 869 data = &txq 924 rt2661_tx_dma_intr(struct rt2661_softc *sc, struct rt2661_tx_ring *txq) argument 1358 struct rt2661_tx_ring *txq = &sc->txq[ac]; local 1414 struct rt2661_tx_ring *txq = &sc->txq[ac]; local [all...] |
/freebsd-current/sys/dev/mwl/ |
H A D | if_mwl.c | 975 struct mwl_txq *txq = &sc->sc_txq[i]; local 976 sc->sc_hwdma.wcbBase[i] = txq->dma.dd_desc_paddr; 1265 mwl_gettxbuf(struct mwl_softc *sc, struct mwl_txq *txq) argument 1272 MWL_TXQ_LOCK(txq); 1273 bf = STAILQ_FIRST(&txq->free); 1275 STAILQ_REMOVE_HEAD(&txq->free, bf_list); 1276 txq->nfree--; 1278 MWL_TXQ_UNLOCK(txq); 1281 "%s: out of xmit buffers on q %d\n", __func__, txq->qnum); 1292 mwl_puttxbuf_head(struct mwl_txq *txq, struc argument 1303 mwl_puttxbuf_tail(struct mwl_txq *txq, struct mwl_txbuf *bf) argument 1340 struct mwl_txq *txq = NULL; /* XXX silence gcc */ local 1419 struct mwl_txq *txq; local 2007 mwl_txq_reset(struct mwl_softc *sc, struct mwl_txq *txq) argument 2023 mwl_txdma_setup(struct mwl_softc *sc, struct mwl_txq *txq) argument 2062 mwl_txdma_cleanup(struct mwl_softc *sc, struct mwl_txq *txq) argument 2825 mwl_txq_init(struct mwl_softc *sc, struct mwl_txq *txq, int qnum) argument 2857 struct mwl_txq *txq; local 2884 struct mwl_txq *txq = sc->sc_ac2q[ac]; local 2926 mwl_tx_cleanupq(struct mwl_softc *sc, struct mwl_txq *txq) argument 3075 struct mwl_txq *txq; local 3315 mwl_tx_processq(struct mwl_softc *sc, struct mwl_txq *txq) argument 3434 mwl_tx_draintxq(struct mwl_softc *sc, struct mwl_txq *txq) argument 3514 struct mwl_txq *txq; local 4805 struct mwl_txq *txq = sc->sc_ac2q[i]; local [all...] |