Home
last modified time | relevance | path

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

123

/linux-6.15/drivers/net/wireless/intel/iwlwifi/pcie/
H A Dtx.c179 trans_pcie->txqs.tfd.max_tbs); in iwl_pcie_txq_build_tfd()
458 trans_pcie->txqs.tfd.size * in iwl_pcie_txq_free()
514 trans_pcie->txqs.cmd.fifo, in iwl_pcie_tx_start()
515 trans_pcie->txqs.cmd.wdg_timeout); in iwl_pcie_tx_start()
1316 if (i == trans_pcie->txqs.cmd.q_id) in iwl_trans_pcie_block_txq_ptrs()
1349 struct iwl_txq *txq = trans_pcie->txqs.txq[trans_pcie->txqs.cmd.q_id]; in iwl_pcie_enqueue_hcmd()
1636 struct iwl_txq *txq = trans_pcie->txqs.txq[trans_pcie->txqs.cmd.q_id]; in iwl_pcie_hcmd_complete()
1933 trans_pcie->txqs.tfd.size, in iwl_fill_data_tbs_amsdu()
2128 txq = trans_pcie->txqs.txq[txq_id]; in iwl_trans_pcie_tx()
2239 trans_pcie->txqs.tfd.size, in iwl_trans_pcie_tx()
[all …]
H A Dtx-gen2.c634 trans_pcie->txqs.tfd.max_tbs); in iwl_txq_gen2_set_tb()
901 txq = trans_pcie->txqs.txq[txq_id]; in iwl_txq_gen2_free()
918 trans_pcie->txqs.txq[txq_id] = NULL; in iwl_txq_gen2_free()
931 WARN_ON(!trans_pcie->txqs.bc_tbl_size); in iwl_txq_dyn_alloc_dma()
1009 trans_pcie->txqs.txq[qid] = txq; in iwl_pcie_txq_alloc_response()
1143 memset(trans_pcie->txqs.queue_used, 0, in iwl_txq_gen2_tx_free()
1148 if (!trans_pcie->txqs.txq[i]) in iwl_txq_gen2_tx_free()
1162 if (!trans_pcie->txqs.txq[txq_id]) { in iwl_txq_gen2_init()
1168 trans_pcie->txqs.txq[txq_id] = queue; in iwl_txq_gen2_init()
1175 queue = trans_pcie->txqs.txq[txq_id]; in iwl_txq_gen2_init()
[all …]
H A Dtrans.c2094 if (trans_pcie->txqs.tso_hdr_page) { in iwl_trans_pcie_free()
2647 txq = trans_pcie->txqs.txq[txq_idx]; in iwl_trans_pcie_wait_txq_empty()
3620 struct iwl_txq *cmdq = trans_pcie->txqs.txq[trans_pcie->txqs.cmd.q_id]; in iwl_trans_pcie_dump_data()
3819 trans_pcie->txqs.tfd.addr_size = 64; in iwl_trans_pcie_alloc()
3823 trans_pcie->txqs.tfd.addr_size = 36; in iwl_trans_pcie_alloc()
3833 if (!trans_pcie->txqs.tso_hdr_page) { in iwl_trans_pcie_alloc()
3839 trans_pcie->txqs.bc_tbl_size = in iwl_trans_pcie_alloc()
3842 trans_pcie->txqs.bc_tbl_size = in iwl_trans_pcie_alloc()
3852 trans_pcie->txqs.bc_pool = in iwl_trans_pcie_alloc()
3854 trans_pcie->txqs.bc_tbl_size, in iwl_trans_pcie_alloc()
[all …]
H A Dtrans-gen2.c263 if (iwl_txq_gen2_init(trans, trans_pcie->txqs.cmd.q_id, queue_size)) in iwl_pcie_gen2_nic_init()
359 memset(trans_pcie->txqs.queue_stopped, 0, in iwl_trans_pcie_gen2_fw_alive()
360 sizeof(trans_pcie->txqs.queue_stopped)); in iwl_trans_pcie_gen2_fw_alive()
361 memset(trans_pcie->txqs.queue_used, 0, in iwl_trans_pcie_gen2_fw_alive()
362 sizeof(trans_pcie->txqs.queue_used)); in iwl_trans_pcie_gen2_fw_alive()
H A Dinternal.h520 struct iwl_pcie_txqs txqs; member
602 #define IWL_TRANS_PCIE_MAX_FRAGS(trans_pcie) ((trans_pcie)->txqs.tfd.max_tbs - 3)
685 return (u8 *)txq->tfds + trans_pcie->txqs.tfd.size * idx; in iwl_txq_get_tfd()
704 if (!test_and_set_bit(txq->id, trans_pcie->txqs.queue_stopped)) { in iwl_txq_stop()
742 if (test_and_clear_bit(txq->id, trans_pcie->txqs.queue_stopped)) { in iwl_trans_pcie_wake_queue()
802 unsigned long txqs, bool freeze);
H A Dctxt-info.c221 cpu_to_le64(trans_pcie->txqs.txq[trans_pcie->txqs.cmd.q_id]->dma_addr); in iwl_pcie_ctxt_info_init()
/linux-6.15/drivers/net/wireless/ath/ath5k/
H A Dmac80211-ops.c69 ath5k_tx_queue(hw, skb, &ah->txqs[qnum], control); in ath5k_tx()
745 *tx = ah->txqs[AR5K_TX_QUEUE_ID_DATA_MIN].txq_max; in ath5k_get_ringparam()
765 for (qnum = 0; qnum < ARRAY_SIZE(ah->txqs); qnum++) { in ath5k_set_ringparam()
766 if (!ah->txqs[qnum].setup) in ath5k_set_ringparam()
768 if (ah->txqs[qnum].qnum < AR5K_TX_QUEUE_ID_DATA_MIN || in ath5k_set_ringparam()
769 ah->txqs[qnum].qnum > AR5K_TX_QUEUE_ID_DATA_MAX) in ath5k_set_ringparam()
772 ah->txqs[qnum].txq_max = tx; in ath5k_set_ringparam()
773 if (ah->txqs[qnum].txq_len >= ah->txqs[qnum].txq_max) in ath5k_set_ringparam()
774 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()
1839 ath5k_tx_processq(ah, &ah->txqs[i]); in ath5k_tasklet_tx()
2519 for (i = 0; i < ARRAY_SIZE(ah->txqs); i++) { in ath5k_tx_complete_poll_work()
2520 if (ah->txqs[i].setup) { in ath5k_tx_complete_poll_work()
[all …]
/linux-6.15/drivers/net/ethernet/huawei/hinic/
H A Dhinic_main.c134 if (nic_dev->txqs) in create_txqs()
139 if (!nic_dev->txqs) in create_txqs()
165 hinic_clean_txq(&nic_dev->txqs[i]); in create_txqs()
169 hinic_clean_txq(&nic_dev->txqs[j]); in create_txqs()
175 nic_dev->txqs = NULL; in create_txqs()
185 napi_enable(&nic_dev->txqs[i].napi); in enable_txqs_napi()
194 napi_disable(&nic_dev->txqs[i].napi); in disable_txqs_napi()
206 if (!nic_dev->txqs) in free_txqs()
211 hinic_clean_txq(&nic_dev->txqs[i]); in free_txqs()
217 nic_dev->txqs = NULL; in free_txqs()
[all …]
H A Dhinic_dev.h97 struct hinic_txq *txqs; member
/linux-6.15/drivers/net/ethernet/fungible/funeth/
H A Dfuneth_main.c355 for (i = start; i < nqs && txqs[i]; i++) in free_txqs()
356 txqs[i] = funeth_txq_free(txqs[i], state); in free_txqs()
369 state, &txqs[i]); in alloc_txqs()
453 qset->txqs = fp->txqs; in fun_free_rings()
465 fp->txqs = NULL; in fun_free_rings()
481 struct funeth_txq **xdpqs = NULL, **txqs; in fun_alloc_rings() local
514 qset->txqs = txqs; in fun_alloc_rings()
796 fp->txqs = qset->txqs; in fun_up()
1630 .txqs = fp->txqs, in fun_change_num_queues()
1659 memcpy(newqs.txqs, fp->txqs, keep_tx * sizeof(*fp->txqs)); in fun_change_num_queues()
[all …]
H A Dfuneth.h67 struct funeth_txq **txqs; member
88 struct funeth_txq **txqs; member
/linux-6.15/drivers/infiniband/hw/hfi1/
H A Dipoib_tx.c697 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()
822 struct hfi1_ipoib_txq *txq = &priv->txqs[i]; in hfi1_ipoib_napi_tx_enable()
[all …]
H A Dipoib.h125 struct hfi1_ipoib_txq *txqs; member
/linux-6.15/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-6.15/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-6.15/drivers/net/ethernet/intel/idpf/
H A Didpf_txrx.c997 kfree(txq_grp->txqs[j]); in idpf_txq_group_rel()
998 txq_grp->txqs[j] = NULL; in idpf_txq_group_rel()
1094 kfree(vport->txqs); in idpf_vport_queues_rel()
1095 vport->txqs = NULL; in idpf_vport_queues_rel()
1112 vport->txqs = kcalloc(vport->num_txq, sizeof(*vport->txqs), in idpf_vport_init_fast_path_txqs()
1115 if (!vport->txqs) in idpf_vport_init_fast_path_txqs()
1122 vport->txqs[k] = tx_grp->txqs[j]; in idpf_vport_init_fast_path_txqs()
1123 vport->txqs[k]->idx = k; in idpf_vport_init_fast_path_txqs()
1368 tx_qgrp->txqs[j] = kzalloc(sizeof(*tx_qgrp->txqs[j]), in idpf_txq_group_alloc()
1370 if (!tx_qgrp->txqs[j]) in idpf_txq_group_alloc()
[all …]
H A Didpf_virtchnl.c759 idpf_queue_set(SW_MARKER, vport->txqs[i]); in idpf_wait_for_marker_event()
767 idpf_queue_clear(POLL_MODE, vport->txqs[i]); in idpf_wait_for_marker_event()
1109 tx_qgrp->txqs[j]->tail = in __idpf_queue_reg_init()
1460 cpu_to_le32(tx_qgrp->txqs[j]->q_id); in idpf_send_config_tx_queues_msg()
1466 cpu_to_le16(tx_qgrp->txqs[j]->desc_count); in idpf_send_config_tx_queues_msg()
1468 cpu_to_le64(tx_qgrp->txqs[j]->dma); in idpf_send_config_tx_queues_msg()
1470 struct idpf_tx_queue *q = tx_qgrp->txqs[j]; in idpf_send_config_tx_queues_msg()
1889 cpu_to_le16(tx_qgrp->txqs[j]->q_vector->v_idx); in idpf_send_map_unmap_queue_vector_msg()
1891 cpu_to_le32(tx_qgrp->txqs[j]->q_vector->tx_itr_idx); in idpf_send_map_unmap_queue_vector_msg()
2006 idpf_queue_set(POLL_MODE, vport->txqs[i]); in idpf_send_disable_queues_msg()
[all …]
/linux-6.15/drivers/net/ethernet/intel/ice/
H A Dice_base.c891 u8 buf_len = struct_size(qg_buf, txqs, 1); in ice_vsi_cfg_txq()
907 qg_buf->txqs[0].txq_id = cpu_to_le16(pf_q); in ice_vsi_cfg_txq()
908 ice_pack_txq_ctx(&tlan_ctx, &qg_buf->txqs[0].txq_ctx); in ice_vsi_cfg_txq()
943 txq = &qg_buf->txqs[0]; in ice_vsi_cfg_txq()
953 DEFINE_RAW_FLEX(struct ice_aqc_add_tx_qgrp, qg_buf, txqs, 1); in ice_vsi_cfg_single_txq()
975 DEFINE_RAW_FLEX(struct ice_aqc_add_tx_qgrp, qg_buf, txqs, 1); in ice_vsi_cfg_txqs()
/linux-6.15/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);
/linux-6.15/drivers/net/wireless/intel/iwlwifi/
H A Diwl-trans.c704 int iwl_trans_wait_tx_queues_empty(struct iwl_trans *trans, u32 txqs) in iwl_trans_wait_tx_queues_empty() argument
710 return iwl_trans_pcie_wait_txqs_empty(trans, txqs); in iwl_trans_wait_tx_queues_empty()
715 unsigned long txqs, bool freeze) in iwl_trans_freeze_txq_timer() argument
721 iwl_pcie_freeze_txq_timer(trans, txqs, freeze); in iwl_trans_freeze_txq_timer()
/linux-6.15/net/ethernet/
H A Deth.c379 struct net_device *alloc_etherdev_mqs(int sizeof_priv, unsigned int txqs, in alloc_etherdev_mqs() argument
383 ether_setup, txqs, rxqs); in alloc_etherdev_mqs()
/linux-6.15/include/linux/
H A Detherdevice.h56 struct net_device *alloc_etherdev_mqs(int sizeof_priv, unsigned int txqs,
62 unsigned int txqs,
/linux-6.15/drivers/net/can/dev/
H A Ddev.c248 unsigned int txqs, unsigned int rxqs) in alloc_candev_mqs() argument
275 txqs, rxqs); in alloc_candev_mqs()
/linux-6.15/include/linux/can/
H A Ddev.h174 unsigned int txqs, unsigned int rxqs);

123