Home
last modified time | relevance | path

Searched refs:txqs (Results 1 – 25 of 36) sorted by relevance

12

/linux/drivers/net/wireless/intel/iwlwifi/pcie/gen1_2/
H A Dtx.c130 struct iwl_txq *txq = trans_pcie->txqs.txq[i]; in iwl_pcie_txq_check_wrptrs()
132 if (!test_bit(i, trans_pcie->txqs.queue_used)) in iwl_pcie_txq_check_wrptrs()
170 tfd = (u8 *)txq->tfds + trans_pcie->txqs.tfd.size * txq->write_ptr; in iwl_pcie_txq_build_tfd()
173 memset(tfd, 0, trans_pcie->txqs.tfd.size); in iwl_pcie_txq_build_tfd()
178 if (num_tbs >= trans_pcie->txqs.tfd.max_tbs) { in iwl_pcie_txq_build_tfd()
180 trans_pcie->txqs.tfd.max_tbs); in iwl_pcie_txq_build_tfd()
302 if (num_tbs > trans_pcie->txqs.tfd.max_tbs) { in iwl_txq_gen1_tfd_unmap()
386 struct iwl_txq *txq = trans_pcie->txqs.txq[txq_id]; in iwl_pcie_txq_unmap()
441 struct iwl_txq *txq = trans_pcie->txqs.txq[txq_id]; in iwl_pcie_txq_free()
460 trans_pcie->txqs.tfd.size * in iwl_pcie_txq_free()
[all …]
H A Dtx-gen2.c623 if (le16_to_cpu(tfd->num_tbs) >= trans_pcie->txqs.tfd.max_tbs) { in iwl_txq_gen2_set_tb()
625 trans_pcie->txqs.tfd.max_tbs); in iwl_txq_gen2_set_tb()
647 if (num_tbs > trans_pcie->txqs.tfd.max_tbs) { in iwl_txq_gen2_tfd_unmap()
722 struct iwl_txq *txq = trans_pcie->txqs.txq[txq_id]; in iwl_txq_gen2_tx()
731 if (WARN_ONCE(!test_bit(txq_id, trans_pcie->txqs.queue_used), in iwl_txq_gen2_tx()
819 struct iwl_txq *txq = trans_pcie->txqs.txq[txq_id]; in iwl_txq_gen2_unmap()
861 trans_pcie->txqs.tfd.size * txq->n_window, in iwl_txq_gen2_free_memory()
870 dma_pool_free(trans_pcie->txqs.bc_pool, in iwl_txq_gen2_free_memory()
893 txq = trans_pcie->txqs.txq[txq_id]; in iwl_txq_gen2_free()
910 trans_pcie->txqs.txq[txq_id] = NULL; in iwl_txq_gen2_free()
[all …]
H A Drx.c1304 struct iwl_txq *txq = trans_pcie->txqs.txq[trans->conf.cmd_queue]; in iwl_pcie_rx_handle_rb()
1698 if (!trans_pcie->txqs.txq[i]) in iwl_pcie_irq_handle_error()
1700 timer_delete(&trans_pcie->txqs.txq[i]->stuck_timer); in iwl_pcie_irq_handle_error()
/linux/drivers/net/ethernet/huawei/hinic/
H A Dhinic_main.c120 gather_tx_stats(nic_tx_stats, &nic_dev->txqs[i]); in gather_nic_stats()
134 if (nic_dev->txqs) in create_txqs()
137 nic_dev->txqs = devm_kcalloc(&netdev->dev, num_txqs, in create_txqs()
138 sizeof(*nic_dev->txqs), GFP_KERNEL); in create_txqs()
139 if (!nic_dev->txqs) in create_txqs()
147 err = hinic_init_txq(&nic_dev->txqs[i], sq, netdev); in create_txqs()
165 hinic_clean_txq(&nic_dev->txqs[i]); in create_txqs()
168 hinic_sq_debug_rem(nic_dev->txqs[j].sq); in create_txqs()
169 hinic_clean_txq(&nic_dev->txqs[j]); in create_txqs()
174 devm_kfree(&netdev->dev, nic_dev->txqs); in create_txqs()
[all …]
H A Dhinic_dev.h97 struct hinic_txq *txqs; member
H A Dhinic_debugfs.c218 sq = dev->txqs[sq_id].sq; in hinic_sq_debug_add()
H A Dhinic_tx.c502 txq = &nic_dev->txqs[q_id]; in hinic_lb_xmit_frame()
563 txq = &nic_dev->txqs[q_id]; in hinic_xmit_frame()
H A Dhinic_ethtool.c701 nic_dev->txqs[q_id].sq->msix_entry; in set_queue_coalesce()
1359 if (!nic_dev->txqs) in get_drv_queue_stats()
1362 hinic_txq_get_stats(&nic_dev->txqs[qid], &txq_stats); in get_drv_queue_stats()
/linux/drivers/net/wireless/ath/ath5k/
H A Dmac80211-ops.c69 ath5k_tx_queue(hw, skb, &ah->txqs[qnum], control); in ath5k_tx()
749 *tx = ah->txqs[AR5K_TX_QUEUE_ID_DATA_MIN].txq_max; in ath5k_get_ringparam()
769 for (qnum = 0; qnum < ARRAY_SIZE(ah->txqs); qnum++) { in ath5k_set_ringparam()
770 if (!ah->txqs[qnum].setup) in ath5k_set_ringparam()
772 if (ah->txqs[qnum].qnum < AR5K_TX_QUEUE_ID_DATA_MIN || in ath5k_set_ringparam()
773 ah->txqs[qnum].qnum > AR5K_TX_QUEUE_ID_DATA_MAX) in ath5k_set_ringparam()
776 ah->txqs[qnum].txq_max = tx; in ath5k_set_ringparam()
777 if (ah->txqs[qnum].txq_len >= ah->txqs[qnum].txq_max) in ath5k_set_ringparam()
778 ieee80211_stop_queue(hw, ah->txqs[qnum].qnum); in ath5k_set_ringparam()
H A Dbase.c1055 txq = &ah->txqs[qnum]; in ath5k_txq_setup()
1067 return &ah->txqs[qnum]; in ath5k_txq_setup()
1161 for (i = 0; i < ARRAY_SIZE(ah->txqs); i++) { in ath5k_drain_tx_buffs()
1162 if (ah->txqs[i].setup) { in ath5k_drain_tx_buffs()
1163 txq = &ah->txqs[i]; in ath5k_drain_tx_buffs()
1186 struct ath5k_txq *txq = ah->txqs; in ath5k_txq_release()
1189 for (i = 0; i < ARRAY_SIZE(ah->txqs); i++, txq++) in ath5k_txq_release()
1838 if (ah->txqs[i].setup && (ah->ah_txq_isr_txok_all & BIT(i))) in ath5k_tasklet_tx()
1839 ath5k_tx_processq(ah, &ah->txqs[i]); in ath5k_tasklet_tx()
2054 trace_ath5k_tx(ah, bf->skb, &ah->txqs[ah->bhalq]); in ath5k_beacon_send()
[all …]
H A Ddebug.c823 for (i = 0; i < ARRAY_SIZE(ah->txqs); i++) { in read_file_queue()
824 txq = &ah->txqs[i]; in read_file_queue()
/linux/drivers/infiniband/hw/hfi1/
H A Dipoib_tx.c593 txp.txq = &priv->txqs[skb_get_queue_mapping(skb)]; in hfi1_ipoib_send()
697 priv->txqs = kcalloc_node(dev->num_tx_queues, in hfi1_ipoib_txreq_init()
701 if (!priv->txqs) in hfi1_ipoib_txreq_init()
705 struct hfi1_ipoib_txq *txq = &priv->txqs[i]; in hfi1_ipoib_txreq_init()
756 struct hfi1_ipoib_txq *txq = &priv->txqs[i]; in hfi1_ipoib_txreq_init()
765 kfree(priv->txqs); in hfi1_ipoib_txreq_init()
766 priv->txqs = NULL; in hfi1_ipoib_txreq_init()
799 struct hfi1_ipoib_txq *txq = &priv->txqs[i]; in hfi1_ipoib_txreq_deinit()
812 kfree(priv->txqs); in hfi1_ipoib_txreq_deinit()
813 priv->txqs = NULL; in hfi1_ipoib_txreq_deinit()
[all …]
H A Dipoib.h125 struct hfi1_ipoib_txq *txqs; member
H A Dipoib_main.c244 params->txqs = dd->num_sdma; in hfi1_ipoib_rn_get_params()
/linux/net/
H A Ddevres.c22 unsigned int txqs, unsigned int rxqs) in devm_alloc_etherdev_mqs() argument
30 dr->ndev = alloc_etherdev_mqs(sizeof_priv, txqs, rxqs); in devm_alloc_etherdev_mqs()
/linux/drivers/net/ethernet/netronome/nfp/abm/
H A Dmain.c85 unsigned int txqs; in nfp_abm_spawn_repr() local
90 txqs = 1; in nfp_abm_spawn_repr()
93 txqs = alink->vnic->max_rx_rings; in nfp_abm_spawn_repr()
96 netdev = nfp_repr_alloc_mqs(app, txqs, 1); in nfp_abm_spawn_repr()
/linux/drivers/net/wireless/intel/iwlwifi/
H A Diwl-trans.c712 int iwl_trans_wait_tx_queues_empty(struct iwl_trans *trans, u32 txqs) in iwl_trans_wait_tx_queues_empty() argument
718 return iwl_trans_pcie_wait_txqs_empty(trans, txqs); in iwl_trans_wait_tx_queues_empty()
723 unsigned long txqs, bool freeze) in iwl_trans_freeze_txq_timer() argument
729 iwl_pcie_freeze_txq_timer(trans, txqs, freeze); in iwl_trans_freeze_txq_timer()
/linux/drivers/net/ethernet/netronome/nfp/
H A Dnfp_net_repr.h102 nfp_repr_alloc_mqs(struct nfp_app *app, unsigned int txqs, unsigned int rxqs);
H A Dnfp_net_repr.c424 nfp_repr_alloc_mqs(struct nfp_app *app, unsigned int txqs, unsigned int rxqs) in nfp_repr_alloc_mqs() argument
429 netdev = alloc_etherdev_mqs(sizeof(*repr), txqs, rxqs); in nfp_repr_alloc_mqs()
/linux/drivers/net/wan/
H A Dfarsync.c437 int txqs; /* index to get next buffer to tx */ member
1305 txq_length = port->txqe - port->txqs; in do_bottom_half_tx()
1317 skb = port->txq[port->txqs]; in do_bottom_half_tx()
1318 port->txqs++; in do_bottom_half_tx()
1319 if (port->txqs == FST_TXQ_DEPTH) in do_bottom_half_tx()
1320 port->txqs = 0; in do_bottom_half_tx()
2098 port->txqs = 0; in fst_openport()
2233 txq_length = port->txqe - port->txqs; in fst_start_xmit()
/linux/drivers/net/wireless/intel/iwlwifi/pcie/
H A Dctxt-info.c222 cpu_to_le64(trans_pcie->txqs.txq[trans->conf.cmd_queue]->dma_addr); in iwl_pcie_ctxt_info_init()
H A Dctxt-info-v2.c253 cpu_to_le64(trans_pcie->txqs.txq[trans->conf.cmd_queue]->dma_addr); in iwl_pcie_ctxt_info_v2_alloc()
/linux/drivers/net/ethernet/intel/ice/
H A Dice_common.c4696 sum_size += struct_size(list, txqs, list->num_txqs); in ice_aq_add_lan_txq()
4697 list = (struct ice_aqc_add_tx_qgrp *)(list->txqs + in ice_aq_add_lan_txq()
5032 buf->txqs[0].info.valid_sections = in ice_ena_vsi_txq()
5035 buf->txqs[0].info.generic = 0; in ice_ena_vsi_txq()
5036 buf->txqs[0].info.cir_bw.bw_profile_idx = in ice_ena_vsi_txq()
5038 buf->txqs[0].info.cir_bw.bw_alloc = in ice_ena_vsi_txq()
5040 buf->txqs[0].info.eir_bw.bw_profile_idx = in ice_ena_vsi_txq()
5042 buf->txqs[0].info.eir_bw.bw_alloc = in ice_ena_vsi_txq()
5049 le16_to_cpu(buf->txqs[0].txq_id), in ice_ena_vsi_txq()
5054 node.node_teid = buf->txqs[0].q_teid; in ice_ena_vsi_txq()
/linux/drivers/net/ethernet/intel/idpf/
H A Didpf_virtchnl.c854 qs->qs[i].txq = vport->txqs[i]; in idpf_wait_for_marker_event()
1371 tx_qgrp->txqs[j]->tail = in __idpf_queue_reg_init()
1844 qs->qs[k++].txq = tx_qgrp->txqs[j]; in idpf_send_config_tx_queues_msg()
2175 qs->qs[k++].txq = tx_qgrp->txqs[j]; in idpf_send_ena_dis_queues_msg()
2361 qs->qs[k++].txq = tx_qgrp->txqs[j]; in idpf_send_map_unmap_queue_vector_msg()
3818 tx_qgrp->txqs[j]->q_id = qids[k]; in __idpf_vport_queue_ids_init()
H A Didpf_txrx.h968 struct idpf_tx_queue *txqs[IDPF_LARGE_MAX_Q]; member

12