Home
last modified time | relevance | path

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

12

/linux/drivers/net/wireless/intel/iwlwifi/pcie/gen1_2/
H A Dtx.c
H A Dtx-gen2.c
/linux/drivers/net/ethernet/fungible/funeth/
H A Dfuneth_main.c350 static void free_txqs(struct funeth_txq **txqs, unsigned int nqs, in free_txqs() argument
355 for (i = start; i < nqs && txqs[i]; i++) in free_txqs()
356 txqs[i] = funeth_txq_free(txqs[i], state); in free_txqs()
359 static int alloc_txqs(struct net_device *dev, struct funeth_txq **txqs, in alloc_txqs() argument
369 state, &txqs[i]); in alloc_txqs()
371 free_txqs(txqs, nqs, start, FUN_QSTATE_DESTROYED); in alloc_txqs()
453 qset->txqs = fp->txqs; in fun_free_rings()
465 fp->txqs = NULL; in fun_free_rings()
469 free_txqs(qset->txqs, qset->ntxqs, qset->txq_start, qset->state); in fun_free_rings()
481 struct funeth_txq **xdpqs = NULL, **txqs; in fun_alloc_rings() local
[all …]
/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()
/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/huawei/hinic3/
H A Dhinic3_tx.c51 nic_dev->txqs = kzalloc_objs(*nic_dev->txqs, num_txqs); in hinic3_alloc_txqs()
52 if (!nic_dev->txqs) in hinic3_alloc_txqs()
56 txq = &nic_dev->txqs[q_id]; in hinic3_alloc_txqs()
73 kfree(nic_dev->txqs); in hinic3_free_txqs()
621 return hinic3_send_one_skb(skb, netdev, &nic_dev->txqs[q_id]); in hinic3_xmit_frame()
665 err = hinic3_stop_sq(&nic_dev->txqs[qid]); in hinic3_flush_txqs()
735 txq = &nic_dev->txqs[q_id]; in hinic3_configure_txqs()
/linux/drivers/net/ethernet/intel/idpf/
H A Didpf_txrx.c164 idpf_tx_desc_rel(txq_grp->txqs[j]); in idpf_tx_desc_rel_all()
312 struct idpf_tx_queue *txq = rsrc->txq_grps[i].txqs[j]; in idpf_tx_desc_alloc_all()
1162 qs->qs[num++].txq = vport->txqs[idx]; in idpf_vector_to_queue_set()
1165 qs->qs[num++].complq = vport->txqs[idx]->complq; in idpf_vector_to_queue_set()
1316 if (!txq_grp->txqs[j]) in idpf_txq_group_rel()
1319 if (idpf_queue_has(FLOW_SCH_EN, txq_grp->txqs[j])) { in idpf_txq_group_rel()
1320 kfree(txq_grp->txqs[j]->refillq); in idpf_txq_group_rel()
1321 txq_grp->txqs[j]->refillq = NULL; in idpf_txq_group_rel()
1324 kfree(txq_grp->txqs[j]); in idpf_txq_group_rel()
1325 txq_grp->txqs[ in idpf_txq_group_rel()
[all...]
H A Dxdp.c82 rxq->xdpsqs = &vport->txqs[rsrc->xdp_txq_offset]; in __idpf_xdp_rxq_info_init()
180 struct idpf_tx_queue *xdpsq = vport->txqs[i]; in idpf_xdpsqs_get()
217 struct idpf_tx_queue *xdpsq = vport->txqs[i]; in idpf_xdpsqs_put()
378 &vport->txqs[xdp_txq_offset], in idpf_xdp_xmit()
H A Didpf_ethtool.c1161 struct idpf_tx_queue *txq = txq_grp->txqs[j]; in idpf_collect_queue_stats()
1229 struct idpf_tx_queue *txq = txq_grp->txqs[j]; in idpf_get_ethtool_stats()
1319 return vport->txqs[q_num]->q_vector; in idpf_find_txq_vec()
1770 struct idpf_tx_queue *txq = txq_grp->txqs[j]; in idpf_get_ts_stats()
/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/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/ethernet/intel/ice/
H A Dice_base.c1042 u8 buf_len = struct_size(qg_buf, txqs, 1); in ice_vsi_cfg_txq()
1063 qg_buf->txqs[0].txq_id = cpu_to_le16(pf_q); in ice_vsi_cfg_txq()
1064 ice_pack_txq_ctx(&tlan_ctx, &qg_buf->txqs[0].txq_ctx); in ice_vsi_cfg_txq()
1100 txq = &qg_buf->txqs[0]; in ice_vsi_cfg_txq()
1135 DEFINE_RAW_FLEX(struct ice_aqc_add_tx_qgrp, qg_buf, txqs, 1); in ice_vsi_cfg_single_txq()
1157 DEFINE_RAW_FLEX(struct ice_aqc_add_tx_qgrp, qg_buf, txqs, 1); in ice_vsi_cfg_txqs()
/linux/drivers/net/ethernet/huawei/hinic/
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()
/linux/include/linux/
H A Detherdevice.h85 struct net_device *alloc_etherdev_mqs(int sizeof_priv, unsigned int txqs,
91 unsigned int txqs, in is_link_local_ether_addr()
/linux/net/ethernet/
H A Deth.c351 * @txqs: The number of TX queues this device has. in ether_setup()
362 struct net_device *alloc_etherdev_mqs(int sizeof_priv, unsigned int txqs,
366 ether_setup, txqs, rxqs);
376 alloc_etherdev_mqs(int sizeof_priv,unsigned int txqs,unsigned int rxqs) alloc_etherdev_mqs() argument
/linux/include/linux/can/
H A Ddev.h106 unsigned int txqs, unsigned int rxqs);
/linux/drivers/net/can/dev/
H A Ddev.c299 unsigned int txqs, unsigned int rxqs) in alloc_candev_mqs() argument
326 txqs, rxqs); in alloc_candev_mqs()
/linux/drivers/net/ethernet/marvell/
H A Dmvneta.c511 struct mvneta_tx_queue *txqs; member
1260 struct mvneta_tx_queue *txq = &pp->txqs[queue]; in mvneta_port_up()
1864 return &pp->txqs[queue]; in mvneta_tx_done_policy()
2188 txq = &pp->txqs[cpu % txq_number]; in mvneta_xdp_xmit_back()
2229 txq = &pp->txqs[cpu % txq_number]; in mvneta_xdp_xmit()
2917 struct mvneta_tx_queue *txq = &pp->txqs[txq_id]; in mvneta_tx()
3435 mvneta_txq_done_force(pp, &pp->txqs[queue]); in mvneta_tx_reset()
3656 mvneta_txq_deinit(pp, &pp->txqs[queue]); in mvneta_cleanup_txqs()
3694 int err = mvneta_txq_init(pp, &pp->txqs[queue]); in mvneta_setup_txqs()
3905 netdev_err(dev, "unable to setup txqs afte in mvneta_change_mtu()
[all...]
/linux/drivers/net/ethernet/marvell/mvpp2/
H A Dmvpp2_main.c2354 struct mvpp2_tx_queue *txq = port->txqs[queue]; in mvpp2_egress_enable()
2648 int id = port->txqs[queue]->id; in mvpp2_txq_sent_counter_clear()
2853 return port->txqs[queue]; in mvpp2_get_tx_queue()
3282 txq = port->txqs[queue]; in mvpp2_cleanup_txqs()
3333 txq = port->txqs[queue]; in mvpp2_setup_txqs()
3346 txq = port->txqs[queue]; in mvpp2_setup_txqs()
3644 txq = port->txqs[txq_id]; in mvpp2_xdp_finish_tx()
3680 txq = port->txqs[txq_id]; in mvpp2_xdp_submit_frame()
4387 txq = port->txqs[txq_id]; in mvpp2_tx()
5437 struct mvpp2_tx_queue *txq = port->txqs[queu in mvpp2_ethtool_set_coalesce()
[all...]
/linux/drivers/net/wireless/intel/iwlwifi/pcie/
H A Dctxt-info.c228 cpu_to_le64(trans_pcie->txqs.txq[trans->conf.cmd_queue]->dma_addr); in iwl_pcie_ctxt_info_init()

12