| /linux/drivers/infiniband/hw/hfi1/ |
| H A D | ipoib_tx.c | 29 struct hfi1_ipoib_txq *txq; member 47 static u64 hfi1_ipoib_used(struct hfi1_ipoib_txq *txq) in hfi1_ipoib_used() argument 49 return hfi1_ipoib_txreqs(txq->tx_ring.sent_txreqs, in hfi1_ipoib_used() 50 txq->tx_ring.complete_txreqs); in hfi1_ipoib_used() 53 static void hfi1_ipoib_stop_txq(struct hfi1_ipoib_txq *txq) in hfi1_ipoib_stop_txq() argument 55 trace_hfi1_txq_stop(txq); in hfi1_ipoib_stop_txq() 56 if (atomic_inc_return(&txq->tx_ring.stops) == 1) in hfi1_ipoib_stop_txq() 57 netif_stop_subqueue(txq->priv->netdev, txq->q_idx); in hfi1_ipoib_stop_txq() 60 static void hfi1_ipoib_wake_txq(struct hfi1_ipoib_txq *txq) in hfi1_ipoib_wake_txq() argument 62 trace_hfi1_txq_wake(txq); in hfi1_ipoib_wake_txq() [all …]
|
| /linux/drivers/net/wireless/intel/iwlwifi/pcie/gen1_2/ |
| H A D | tx.c | |
| H A D | tx-gen2.c | |
| /linux/drivers/net/ethernet/huawei/hinic/ |
| H A D | hinic_tx.c | 75 * @txq: Logical Tx Queue 77 static void hinic_txq_clean_stats(struct hinic_txq *txq) in hinic_txq_clean_stats() argument 79 struct hinic_txq_stats *txq_stats = &txq->txq_stats; in hinic_txq_clean_stats() 93 * @txq: Logical Tx Queue 96 void hinic_txq_get_stats(struct hinic_txq *txq, struct hinic_txq_stats *stats) in hinic_txq_get_stats() argument 98 struct hinic_txq_stats *txq_stats = &txq->txq_stats; in hinic_txq_get_stats() 114 * @txq: Logical Tx Queue 116 static void txq_stats_init(struct hinic_txq *txq) in txq_stats_init() argument 118 struct hinic_txq_stats *txq_stats = &txq->txq_stats; in txq_stats_init() 121 hinic_txq_clean_stats(txq); in txq_stats_init() 499 struct hinic_txq *txq; hinic_lb_xmit_frame() local 560 struct hinic_txq *txq; hinic_xmit_frame() local 665 free_all_tx_skbs(struct hinic_txq * txq) free_all_tx_skbs() argument 699 struct hinic_txq *txq = container_of(napi, struct hinic_txq, napi); free_tx_poll() local 779 struct hinic_txq *txq = data; tx_irq() local 796 tx_request_irq(struct hinic_txq * txq) tx_request_irq() argument 842 tx_free_irq(struct hinic_txq * txq) tx_free_irq() argument 858 hinic_init_txq(struct hinic_txq * txq,struct hinic_sq * sq,struct net_device * netdev) hinic_init_txq() argument 921 hinic_clean_txq(struct hinic_txq * txq) hinic_clean_txq() argument [all...] |
| /linux/drivers/net/ethernet/huawei/hinic3/ |
| H A D | hinic3_tx.c | 36 static void hinic3_txq_stats_init(struct hinic3_txq *txq) in hinic3_txq_stats_init() argument 38 struct hinic3_txq_stats *txq_stats = &txq->txq_stats; in hinic3_txq_stats_init() 49 struct hinic3_txq *txq; in hinic3_alloc_txqs() local 56 txq = &nic_dev->txqs[q_id]; in hinic3_alloc_txqs() 57 txq->netdev = netdev; in hinic3_alloc_txqs() 58 txq->q_id = q_id; in hinic3_alloc_txqs() 59 txq->q_depth = nic_dev->q_params.sq_depth; in hinic3_alloc_txqs() 60 txq->q_mask = nic_dev->q_params.sq_depth - 1; in hinic3_alloc_txqs() 61 txq->dev = &pdev->dev; in hinic3_alloc_txqs() 63 hinic3_txq_stats_init(txq); in hinic3_alloc_txqs() 85 hinic3_tx_map_skb(struct net_device * netdev,struct sk_buff * skb,struct hinic3_txq * txq,struct hinic3_tx_info * tx_info,struct hinic3_sq_wqe_combo * wqe_combo) hinic3_tx_map_skb() argument 229 hinic3_tx_csum(struct hinic3_txq * txq,struct hinic3_sq_task * task,struct sk_buff * skb) hinic3_tx_csum() argument 396 hinic3_tx_offload(struct sk_buff * skb,struct hinic3_sq_task * task,__le32 * queue_info,struct hinic3_txq * txq) hinic3_tx_offload() argument 450 hinic3_set_wqe_combo(struct hinic3_txq * txq,struct hinic3_sq_wqe_combo * wqe_combo,u32 offload,u16 num_sge,u16 * curr_pi) hinic3_set_wqe_combo() argument 531 hinic3_send_one_skb(struct sk_buff * skb,struct net_device * netdev,struct hinic3_txq * txq) hinic3_send_one_skb() argument 645 hinic3_stop_sq(struct hinic3_txq * txq) hinic3_stop_sq() argument 734 struct hinic3_txq *txq; hinic3_configure_txqs() local 761 hinic3_tx_poll(struct hinic3_txq * txq,int budget) hinic3_tx_poll() argument [all...] |
| /linux/drivers/net/ethernet/marvell/ |
| H A D | mv643xx_eth.c | 179 #define IS_TSO_HEADER(txq, addr) \ argument 180 ((addr >= txq->tso_hdrs_dma) && \ 181 (addr < txq->tso_hdrs_dma + txq->tx_ring_size * TSO_HEADER_SIZE)) 408 struct tx_queue txq[8]; member 440 /* rxq/txq helper functions *************************************************/ 446 static struct mv643xx_eth_private *txq_to_mp(struct tx_queue *txq) in txq_to_mp() argument 448 return container_of(txq, struct mv643xx_eth_private, txq[txq in txq_to_mp() 467 txq_reset_hw_ptr(struct tx_queue * txq) txq_reset_hw_ptr() argument 477 txq_enable(struct tx_queue * txq) txq_enable() argument 483 txq_disable(struct tx_queue * txq) txq_disable() argument 493 txq_maybe_wake(struct tx_queue * txq) txq_maybe_wake() argument 727 txq_put_data_tso(struct net_device * dev,struct tx_queue * txq,struct sk_buff * skb,char * data,int length,bool last_tcp,bool is_last) txq_put_data_tso() argument 775 txq_put_hdr_tso(struct sk_buff * skb,struct tx_queue * txq,int length,u32 * first_cmd_sts,bool first_desc) txq_put_hdr_tso() argument 818 txq_submit_tso(struct tx_queue * txq,struct sk_buff * skb,struct net_device * dev) txq_submit_tso() argument 891 txq_submit_frag_skb(struct tx_queue * txq,struct sk_buff * skb) txq_submit_frag_skb() argument 929 txq_submit_skb(struct tx_queue * txq,struct sk_buff * skb,struct net_device * dev) txq_submit_skb() argument 997 struct tx_queue *txq; mv643xx_eth_xmit() local 1032 txq_kick(struct tx_queue * txq) txq_kick() argument 1057 txq_reclaim(struct tx_queue * txq,int budget,int force) txq_reclaim() argument 1165 txq_set_rate(struct tx_queue * txq,int rate,int burst) txq_set_rate() argument 1183 txq_set_fixed_prio_mode(struct tx_queue * txq) txq_set_fixed_prio_mode() argument 1262 struct tx_queue *txq = mp->txq + i; mv643xx_eth_get_stats() local 2032 struct tx_queue *txq = mp->txq + index; txq_init() local 2118 txq_deinit(struct tx_queue * txq) txq_deinit() argument 2208 struct tx_queue *txq = mp->txq + i; handle_link_event() local 2351 struct tx_queue *txq = mp->txq + i; port_start() local [all...] |
| H A D | mvneta.c | 135 #define MVNETA_CPU_TXQ_ACCESS(txq) BIT(txq + 8) argument 773 /* Increment txq get counter */ 774 static void mvneta_txq_inc_get(struct mvneta_tx_queue *txq) in mvneta_txq_inc_get() argument 776 txq->txq_get_index++; in mvneta_txq_inc_get() 777 if (txq->txq_get_index == txq->size) in mvneta_txq_inc_get() 778 txq->txq_get_index = 0; in mvneta_txq_inc_get() 781 /* Increment txq put counter */ 782 static void mvneta_txq_inc_put(struct mvneta_tx_queue *txq) in mvneta_txq_inc_put() argument 964 mvneta_txq_pend_desc_add(struct mvneta_port * pp,struct mvneta_tx_queue * txq,int pend_desc) mvneta_txq_pend_desc_add() argument 982 mvneta_txq_next_desc_get(struct mvneta_tx_queue * txq) mvneta_txq_next_desc_get() argument 993 mvneta_txq_desc_put(struct mvneta_tx_queue * txq) mvneta_txq_desc_put() argument 1260 struct mvneta_tx_queue *txq = &pp->txqs[queue]; mvneta_port_up() local 1498 int rxq, txq; mvneta_defaults_set() local 1709 mvneta_tx_done_pkts_coal_set(struct mvneta_port * pp,struct mvneta_tx_queue * txq,u32 value) mvneta_tx_done_pkts_coal_set() argument 1735 mvneta_txq_sent_desc_dec(struct mvneta_port * pp,struct mvneta_tx_queue * txq,int sent_desc) mvneta_txq_sent_desc_dec() argument 1753 mvneta_txq_sent_desc_num_get(struct mvneta_port * pp,struct mvneta_tx_queue * txq) mvneta_txq_sent_desc_num_get() argument 1769 mvneta_txq_sent_desc_proc(struct mvneta_port * pp,struct mvneta_tx_queue * txq) mvneta_txq_sent_desc_proc() argument 1869 mvneta_txq_bufs_free(struct mvneta_port * pp,struct mvneta_tx_queue * txq,int num,struct netdev_queue * nq,bool napi) mvneta_txq_bufs_free() argument 1914 mvneta_txq_done(struct mvneta_port * pp,struct mvneta_tx_queue * txq) mvneta_txq_done() argument 2091 mvneta_xdp_submit_frame(struct mvneta_port * pp,struct mvneta_tx_queue * txq,struct xdp_frame * xdpf,int * nxmit_byte,bool dma_map) mvneta_xdp_submit_frame() argument 2177 struct mvneta_tx_queue *txq; mvneta_xdp_xmit_back() local 2219 struct mvneta_tx_queue *txq; mvneta_xdp_xmit() local 2673 mvneta_free_tso_hdrs(struct mvneta_port * pp,struct mvneta_tx_queue * txq) mvneta_free_tso_hdrs() argument 2689 mvneta_alloc_tso_hdrs(struct mvneta_port * pp,struct mvneta_tx_queue * txq) mvneta_alloc_tso_hdrs() argument 2708 mvneta_get_tso_hdr(struct mvneta_tx_queue * txq,dma_addr_t * dma) mvneta_get_tso_hdr() argument 2720 mvneta_tso_put_hdr(struct sk_buff * skb,struct mvneta_tx_queue * txq,struct tso_t * tso,int size,bool is_last) mvneta_tso_put_hdr() argument 2744 mvneta_tso_put_data(struct net_device * dev,struct mvneta_tx_queue * txq,struct sk_buff * skb,char * data,int size,bool last_tcp,bool is_last) mvneta_tso_put_data() argument 2778 mvneta_release_descs(struct mvneta_port * pp,struct mvneta_tx_queue * txq,int first,int num) mvneta_release_descs() argument 2806 mvneta_tx_tso(struct sk_buff * skb,struct net_device * dev,struct mvneta_tx_queue * txq) mvneta_tx_tso() argument 2865 mvneta_tx_frag_process(struct mvneta_port * pp,struct sk_buff * skb,struct mvneta_tx_queue * txq) mvneta_tx_frag_process() argument 2917 struct mvneta_tx_queue *txq = &pp->txqs[txq_id]; mvneta_tx() local 3015 mvneta_txq_done_force(struct mvneta_port * pp,struct mvneta_tx_queue * txq) mvneta_txq_done_force() argument 3034 struct mvneta_tx_queue *txq; mvneta_tx_done_gbe() local 3535 mvneta_txq_sw_init(struct mvneta_port * pp,struct mvneta_tx_queue * txq) mvneta_txq_sw_init() argument 3580 mvneta_txq_hw_init(struct mvneta_port * pp,struct mvneta_tx_queue * txq) mvneta_txq_hw_init() argument 3595 mvneta_txq_init(struct mvneta_port * pp,struct mvneta_tx_queue * txq) mvneta_txq_init() argument 3610 mvneta_txq_sw_deinit(struct mvneta_port * pp,struct mvneta_tx_queue * txq) mvneta_txq_sw_deinit() argument 3632 mvneta_txq_hw_deinit(struct mvneta_port * pp,struct mvneta_tx_queue * txq) mvneta_txq_hw_deinit() argument 3644 mvneta_txq_deinit(struct mvneta_port * pp,struct mvneta_tx_queue * txq) mvneta_txq_deinit() argument 4744 struct mvneta_tx_queue *txq = &pp->txqs[queue]; mvneta_ethtool_set_coalesce() local 5244 int rxq, txq, tc, ret; mvneta_setup_mqprio() local 5380 struct mvneta_tx_queue *txq = &pp->txqs[queue]; mvneta_init() local 5847 struct mvneta_tx_queue *txq = &pp->txqs[queue]; mvneta_suspend() local 5900 struct mvneta_tx_queue *txq = &pp->txqs[queue]; mvneta_resume() local [all...] |
| /linux/drivers/net/ethernet/qlogic/qede/ |
| H A D | qede_fp.c | 77 int qede_free_tx_pkt(struct qede_dev *edev, struct qede_tx_queue *txq, int *len) in qede_free_tx_pkt() argument 79 u16 idx = txq->sw_tx_cons; in qede_free_tx_pkt() 80 struct sk_buff *skb = txq->sw_tx_ring.skbs[idx].skb; in qede_free_tx_pkt() 85 bool data_split = txq->sw_tx_ring.skbs[idx].flags & QEDE_TSO_SPLIT_BD; in qede_free_tx_pkt() 91 idx, txq->sw_tx_cons, txq->sw_tx_prod); in qede_free_tx_pkt() 97 first_bd = (struct eth_tx_1st_bd *)qed_chain_consume(&txq->tx_pbl); in qede_free_tx_pkt() 105 qed_chain_consume(&txq->tx_pbl); in qede_free_tx_pkt() 115 qed_chain_consume(&txq->tx_pbl); in qede_free_tx_pkt() 121 qed_chain_consume(&txq->tx_pbl); in qede_free_tx_pkt() 125 txq->sw_tx_ring.skbs[idx].skb = NULL; in qede_free_tx_pkt() [all …]
|
| H A D | qede_main.c | 525 struct qede_fastpath *fp, struct qede_tx_queue *txq) in qede_txq_fp_log_metadata() argument 527 struct qed_chain *p_chain = &txq->tx_pbl; in qede_txq_fp_log_metadata() 532 fp->id, fp->sb_info->igu_sb_id, txq->index, txq->ndev_txq_id, txq->cos, in qede_txq_fp_log_metadata() 538 le16_to_cpu(*txq->hw_cons_ptr), txq->sw_tx_prod, txq->sw_tx_cons, in qede_txq_fp_log_metadata() 543 qede_tx_log_print(struct qede_dev *edev, struct qede_fastpath *fp, struct qede_tx_queue *txq) in qede_tx_log_print() argument 555 sb_dbg.igu_prod, sb_dbg.igu_cons, sb_dbg.pi[TX_PI(txq->cos)]); in qede_tx_log_print() 560 txq->index, le16_to_cpu(*txq->hw_cons_ptr), in qede_tx_log_print() 561 qed_chain_get_cons_idx(&txq->tx_pbl), in qede_tx_log_print() 562 qed_chain_get_prod_idx(&txq->tx_pbl), jiffies); in qede_tx_log_print() 566 txq->index, fp->sb_info->igu_sb_id, in qede_tx_log_print() [all …]
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/en/ |
| H A D | selq.h | 30 static inline u16 mlx5e_txq_to_ch_ix(u16 txq, u16 num_channels) in mlx5e_txq_to_ch_ix() argument 32 while (unlikely(txq >= num_channels)) in mlx5e_txq_to_ch_ix() 33 txq -= num_channels; in mlx5e_txq_to_ch_ix() 34 return txq; in mlx5e_txq_to_ch_ix() 37 static inline u16 mlx5e_txq_to_ch_ix_htb(u16 txq, u16 num_channels) in mlx5e_txq_to_ch_ix_htb() argument 39 if (unlikely(txq >= num_channels)) { in mlx5e_txq_to_ch_ix_htb() 40 if (unlikely(txq >= num_channels << 3)) in mlx5e_txq_to_ch_ix_htb() 41 txq %= num_channels; in mlx5e_txq_to_ch_ix_htb() 44 txq -= num_channels; in mlx5e_txq_to_ch_ix_htb() 45 while (txq >= num_channels); in mlx5e_txq_to_ch_ix_htb() [all …]
|
| /linux/drivers/net/ethernet/atheros/alx/ |
| H A D | main.c | 53 static void alx_free_txbuf(struct alx_tx_queue *txq, int entry) in alx_free_txbuf() argument 55 struct alx_buffer *txb = &txq->bufs[entry]; in alx_free_txbuf() 58 dma_unmap_single(txq->dev, in alx_free_txbuf() 149 return alx->qnapi[r_idx]->txq; in alx_tx_queue_mapping() 152 static struct netdev_queue *alx_get_tx_queue(const struct alx_tx_queue *txq) in alx_get_tx_queue() argument 154 return netdev_get_tx_queue(txq->netdev, txq->queue_idx); in alx_get_tx_queue() 157 static inline int alx_tpd_avail(struct alx_tx_queue *txq) in alx_tpd_avail() argument 159 if (txq->write_idx >= txq in alx_tpd_avail() 164 alx_clean_tx_irq(struct alx_tx_queue * txq) alx_clean_tx_irq() argument 488 alx_free_txring_buf(struct alx_tx_queue * txq) alx_free_txring_buf() argument 616 alx_alloc_tx_ring(struct alx_priv * alx,struct alx_tx_queue * txq,int offset) alx_alloc_tx_ring() argument 742 struct alx_tx_queue *txq; alx_alloc_napis() local 1460 alx_map_tx_skb(struct alx_tx_queue * txq,struct sk_buff * skb) alx_map_tx_skb() argument 1532 alx_start_xmit_ring(struct sk_buff * skb,struct alx_tx_queue * txq) alx_start_xmit_ring() argument [all...] |
| /linux/net/core/ |
| H A D | netpoll.c | 42 * Cap on skbs parked in npinfo->txq while the device is busy. The queue 66 struct netdev_queue *txq) in netpoll_start_xmit() 85 status = netdev_start_xmit(skb, dev, txq, false); in queue_process() 98 while ((skb = skb_dequeue(&npinfo->txq))) { in queue_process() 100 struct netdev_queue *txq; in queue_process() 115 txq = netdev_get_tx_queue(dev, q_index); in queue_process() 116 HARD_TX_LOCK(dev, txq, smp_processor_id()); in queue_process() 117 if (netif_xmit_frozen_or_stopped(txq) || in queue_process() 118 !dev_xmit_complete(netpoll_start_xmit(skb, dev, txq))) { in queue_process() 119 skb_queue_head(&npinfo->txq, sk in queue_process() 57 netpoll_start_xmit(struct sk_buff * skb,struct net_device * dev,struct netdev_queue * txq) netpoll_start_xmit() argument 91 struct netdev_queue *txq; queue_process() local 127 struct netdev_queue *txq = netdev_get_tx_queue(dev, i); netif_local_xmit_active() local 286 struct netdev_queue *txq; __netpoll_send_skb() local [all...] |
| /linux/drivers/net/wireless/intel/iwlwifi/mld/ |
| H A D | tx.c | 18 #include "fw/api/txq.h" 176 iwl_mld_get_queue_size(struct iwl_mld *mld, struct ieee80211_txq *txq) in iwl_mld_free_txq() 178 struct ieee80211_sta *sta = txq->sta; in iwl_mld_free_txq() 185 for_each_sta_active_link(txq->vif, sta, link_sta, link_id) { in iwl_mld_remove_txq() 198 static int iwl_mld_allocate_txq(struct iwl_mld *mld, struct ieee80211_txq *txq) in iwl_mld_remove_txq() 200 u8 tid = txq->tid == IEEE80211_NUM_TIDS ? IWL_MGMT_TID : txq->tid; in iwl_mld_remove_txq() 201 u32 fw_sta_mask = iwl_mld_fw_sta_id_mask(mld, txq->sta); in iwl_mld_remove_txq() 205 switch (txq->vif->type) { in iwl_mld_remove_txq() 221 size = iwl_mld_get_queue_size(mld, txq); in iwl_mld_get_offload_assist() 48 iwl_mld_get_queue_size(struct iwl_mld * mld,struct ieee80211_txq * txq) iwl_mld_get_queue_size() argument 70 iwl_mld_allocate_txq(struct iwl_mld * mld,struct ieee80211_txq * txq) iwl_mld_allocate_txq() argument 105 iwl_mld_add_txq(struct iwl_mld * mld,struct ieee80211_txq * txq) iwl_mld_add_txq() argument 130 struct ieee80211_txq *txq; iwl_mld_add_txq_list() local 183 iwl_mld_remove_txq(struct iwl_mld * mld,struct ieee80211_txq * txq) iwl_mld_remove_txq() argument 613 iwl_mld_get_tx_queue_id(struct iwl_mld * mld,struct ieee80211_txq * txq,struct sk_buff * skb) iwl_mld_get_tx_queue_id() argument 751 iwl_mld_tx_mpdu(struct iwl_mld * mld,struct sk_buff * skb,struct ieee80211_txq * txq) iwl_mld_tx_mpdu() argument 901 iwl_mld_tx_tso(struct iwl_mld * mld,struct sk_buff * skb,struct ieee80211_txq * txq) iwl_mld_tx_tso() argument 959 iwl_mld_tx_tso(struct iwl_mld * mld,struct sk_buff * skb,struct ieee80211_txq * txq) iwl_mld_tx_tso() argument 969 iwl_mld_tx_skb(struct iwl_mld * mld,struct sk_buff * skb,struct ieee80211_txq * txq) iwl_mld_tx_skb() argument 984 iwl_mld_tx_from_txq(struct iwl_mld * mld,struct ieee80211_txq * txq) iwl_mld_tx_from_txq() argument 1221 iwl_mld_tx_reclaim_txq(struct iwl_mld * mld,int txq,int index,bool in_flush) iwl_mld_tx_reclaim_txq() argument 1324 iwl_mld_ensure_queue(struct iwl_mld * mld,struct ieee80211_txq * txq) iwl_mld_ensure_queue() argument 1357 struct ieee80211_txq *txq = iwl_mld_update_sta_txqs() local [all...] |
| H A D | tx.h | 20 * @fw_id: the fw id of this txq. Only valid when &status.allocated is true. 21 * @status: bitmap of the txq status 26 * from this txq, only one of them will do all the TXing. 27 * This is needed to avoid spinning the trans txq lock, which is expensive 50 iwl_mld_txq_from_mac80211(struct ieee80211_txq *txq) 52 return (void *)txq->drv_priv; 56 void iwl_mld_remove_txq(struct iwl_mld *mld, struct ieee80211_txq *txq); 60 void iwl_mld_tx_from_txq(struct iwl_mld *mld, struct ieee80211_txq *txq); 64 int iwl_mld_ensure_queue(struct iwl_mld *mld, struct ieee80211_txq *txq); 79 struct ieee80211_txq *txq); 46 iwl_mld_txq_from_mac80211(struct ieee80211_txq * txq) iwl_mld_txq_from_mac80211() argument [all...] |
| /linux/drivers/net/wireless/mediatek/mt76/ |
| H A D | tx.c | 9 mt76_txq_get_qid(struct ieee80211_txq *txq) in mt76_txq_get_qid() argument 11 if (!txq->sta) in mt76_txq_get_qid() 14 return txq->ac; in mt76_txq_get_qid() 21 struct ieee80211_txq *txq; in mt76_tx_check_agg_ssn() local 30 txq = sta->txq[tid]; in mt76_tx_check_agg_ssn() 31 mtxq = (struct mt76_txq *)txq->drv_priv; in mt76_tx_check_agg_ssn() 252 for (i = 0; i < ARRAY_SIZE(sta->txq); i++) { in mt76_tx_check_non_aql() 253 if (!sta->txq[i]) in mt76_tx_check_non_aql() 256 ieee80211_schedule_txq(dev->hw, sta->txq[ in __mt76_tx_complete_skb() 402 struct ieee80211_txq *txq = mtxq_to_txq(mtxq); mt76_txq_dequeue() local 453 struct ieee80211_txq *txq = sta->txq[i]; mt76_release_buffered_frames() local 497 struct ieee80211_txq *txq = mtxq_to_txq(mtxq); mt76_txq_send_burst() local 571 struct ieee80211_txq *txq; mt76_txq_schedule_list() local 619 struct ieee80211_txq *txq = mtxq_to_txq(mtxq); mt76_txq_schedule_list() local 803 struct ieee80211_txq *txq = sta->txq[i]; mt76_stop_tx_queues() local 847 mt76_wake_tx_queue(struct ieee80211_hw * hw,struct ieee80211_txq * txq) mt76_wake_tx_queue() argument [all...] |
| /linux/drivers/net/ethernet/freescale/ |
| H A D | fec_main.c | 311 #define IS_TSO_HEADER(txq, addr) \ argument 312 ((addr >= txq->tso_hdrs_dma) && \ 313 (addr < txq->tso_hdrs_dma + txq->bd.ring_size * TSO_HEADER_SIZE)) 337 static int fec_enet_get_free_txdesc_num(struct fec_enet_priv_tx_q *txq) in fec_enet_get_free_txdesc_num() argument 341 entries = (((const char *)txq->dirty_tx - in fec_enet_get_free_txdesc_num() 342 (const char *)txq->bd.cur) >> txq->bd.dsize_log2) - 1; in fec_enet_get_free_txdesc_num() 344 return entries >= 0 ? entries : entries + txq->bd.ring_size; in fec_enet_get_free_txdesc_num() 360 struct fec_enet_priv_tx_q *txq; in fec_dump() local 497 fec_txq_trigger_xmit(struct fec_enet_private * fep,struct fec_enet_priv_tx_q * txq) fec_txq_trigger_xmit() argument 508 fec_enet_txq_submit_frag_skb(struct fec_enet_priv_tx_q * txq,struct sk_buff * skb,struct net_device * ndev) fec_enet_txq_submit_frag_skb() argument 596 fec_enet_txq_submit_skb(struct fec_enet_priv_tx_q * txq,struct sk_buff * skb,struct net_device * ndev) fec_enet_txq_submit_skb() argument 722 fec_enet_txq_put_data_tso(struct fec_enet_priv_tx_q * txq,struct sk_buff * skb,struct net_device * ndev,struct bufdesc * bdp,int index,char * data,int size,bool last_tcp,bool is_last) fec_enet_txq_put_data_tso() argument 782 fec_enet_txq_put_hdr_tso(struct fec_enet_priv_tx_q * txq,struct sk_buff * skb,struct net_device * ndev,struct bufdesc * bdp,int index) fec_enet_txq_put_hdr_tso() argument 835 fec_enet_txq_submit_tso(struct fec_enet_priv_tx_q * txq,struct sk_buff * skb,struct net_device * ndev) fec_enet_txq_submit_tso() argument 949 struct fec_enet_priv_tx_q *txq; fec_enet_start_xmit() local 976 struct fec_enet_priv_tx_q *txq; fec_enet_bd_init() local 1078 struct fec_enet_priv_tx_q *txq; fec_enet_enable_ring() local 1486 struct fec_enet_priv_tx_q *txq = fep->tx_queue[queue]; fec_enet_xsk_xmit() local 1569 struct fec_enet_priv_tx_q *txq = fep->tx_queue[queue]; fec_enet_tx_queue() local 2207 struct fec_enet_priv_tx_q *txq = fep->tx_queue[queue]; fec_enet_xsk_tx_xmit() local 3881 struct fec_enet_priv_tx_q *txq; fec_enet_free_buffers() local 3931 struct fec_enet_priv_tx_q *txq; fec_enet_free_queue() local 3952 struct fec_enet_priv_tx_q *txq; fec_enet_alloc_queue() local 4107 struct fec_enet_priv_tx_q *txq; fec_enet_alloc_txq_buffers() local 4526 struct fec_enet_priv_tx_q *txq = fep->tx_queue[queue]; fec_xsk_restart_napi() local 4575 struct fec_enet_priv_tx_q *txq = fep->tx_queue[queue]; fec_enable_xsk_pool() local 4595 struct fec_enet_priv_tx_q *txq = fep->tx_queue[queue]; fec_disable_xsk_pool() local 4675 fec_enet_txq_xmit_frame(struct fec_enet_private * fep,struct fec_enet_priv_tx_q * txq,void * frame,u32 dma_sync_len,bool ndo_xmit) fec_enet_txq_xmit_frame() argument 4767 struct fec_enet_priv_tx_q *txq = fep->tx_queue[queue]; fec_enet_xdp_tx_xmit() local 4787 struct fec_enet_priv_tx_q *txq; fec_enet_xdp_xmit() local 4985 struct fec_enet_priv_tx_q *txq = fep->tx_queue[i]; fec_enet_init() local [all...] |
| /linux/drivers/net/ethernet/chelsio/cxgb4vf/ |
| H A D | sge.c | 1133 static void txq_stop(struct sge_eth_txq *txq) in txq_stop() argument 1135 netif_tx_stop_queue(txq->txq); in txq_stop() 1136 txq->q.stops++; in txq_stop() 1164 struct sge_eth_txq *txq; in t4vf_eth_xmit() local 1195 txq = &adapter->sge.ethtxq[pi->first_qset + qidx]; in t4vf_eth_xmit() 1205 reclaim_completed_tx(adapter, &txq->q, true); in t4vf_eth_xmit() 1214 credits = txq_avail(&txq->q) - ndesc; in t4vf_eth_xmit() 1223 txq_stop(txq); in t4vf_eth_xmit() 1237 txq->mapping_err++; in t4vf_eth_xmit() 1252 txq_stop(txq); in t4vf_eth_xmit() [all …]
|
| /linux/net/sched/ |
| H A D | sch_generic.c | 41 struct netdev_queue *txq, struct net_device *dev) in __tcf_kfree_skb_list() argument 54 trace_qdisc_drop(q, txq, dev, skb, (enum qdisc_drop_reason)reason); in __tcf_kfree_skb_list() 66 const struct netdev_queue *txq) in qdisc_maybe_clear_missed() argument 80 if (!netif_xmit_frozen_or_stopped(txq)) in qdisc_maybe_clear_missed() 126 const struct netdev_queue *txq; in __skb_dequeue_bad_txq() 139 txq = skb_cap_tx_queue(q, skb); in qdisc_dequeue_skb_bad_txq() 140 if (!netif_xmit_frozen_or_stopped(txq)) { in qdisc_dequeue_skb_bad_txq() 151 qdisc_maybe_clear_missed(q, txq); in qdisc_enqueue_skb_bad_txq() 241 const struct netdev_queue *txq, in try_bulk_dequeue_skb_slow() 244 int bytelimit = qdisc_avail_bulklimit(txq) in try_bulk_dequeue_skb_slow() 101 const struct netdev_queue *txq = q->dev_queue; __skb_dequeue_bad_txq() local 207 try_bulk_dequeue_skb(struct Qdisc * q,struct sk_buff * skb,const struct netdev_queue * txq,int * packets,int budget) try_bulk_dequeue_skb() argument 261 const struct netdev_queue *txq = q->dev_queue; dequeue_skb() local 345 sch_direct_xmit(struct sk_buff * skb,struct Qdisc * q,struct net_device * dev,struct netdev_queue * txq,spinlock_t * root_lock,bool validate) sch_direct_xmit() argument 421 struct netdev_queue *txq; qdisc_restart() local 481 struct netdev_queue *txq = netdev_get_tx_queue(dev, i); netif_freeze_queues() local 507 struct netdev_queue *txq = netdev_get_tx_queue(dev, i); netif_unfreeze_queues() local 541 struct netdev_queue *txq; dev_watchdog() local 1230 struct netdev_queue *txq; attach_default_qdiscs() local [all...] |
| /linux/drivers/net/ethernet/hisilicon/ |
| H A D | hisi_femac.c | 120 struct hisi_femac_queue txq; member 147 dma_addr = priv->txq.dma_phys[pos]; in hisi_femac_tx_dma_unmap() 155 struct hisi_femac_queue *txq = &priv->txq; in hisi_femac_xmit_reclaim() local 163 skb = txq->skb[txq->tail]; in hisi_femac_xmit_reclaim() 169 hisi_femac_tx_dma_unmap(priv, skb, txq->tail); in hisi_femac_xmit_reclaim() 177 txq->skb[txq->tail] = NULL; in hisi_femac_xmit_reclaim() 178 txq in hisi_femac_xmit_reclaim() 387 struct hisi_femac_queue *txq = &priv->txq; hisi_femac_free_skb_rings() local 503 struct hisi_femac_queue *txq = &priv->txq; hisi_femac_net_xmit() local [all...] |
| /linux/drivers/net/ethernet/chelsio/cxgb3/ |
| H A D | sge.c | 176 return container_of(q, struct sge_qset, txq[qidx]); in txq_to_qset() 654 memset(q->txq, 0, sizeof(struct sge_txq) * SGE_TXQ_PER_SET); in t3_reset_qset() 691 if (q->txq[i].desc) { in t3_free_qset() 693 t3_sge_enable_ecntxt(adapter, q->txq[i].cntxt_id, 0); in t3_free_qset() 695 if (q->txq[i].sdesc) { in t3_free_qset() 696 free_tx_desc(adapter, &q->txq[i], in t3_free_qset() 697 q->txq[i].in_use); in t3_free_qset() 698 kfree(q->txq[i].sdesc); in t3_free_qset() 701 q->txq[i].size * in t3_free_qset() 703 q->txq[i].desc, q->txq[i].phys_addr); in t3_free_qset() [all …]
|
| /linux/drivers/net/wireless/ath/ath10k/ |
| H A D | txrx.c | 50 struct ieee80211_txq *txq; in ath10k_txrx_tx_unref() local 76 txq = skb_cb->txq; in ath10k_txrx_tx_unref() 78 if (txq) { in ath10k_txrx_tx_unref() 79 artxq = (void *)txq->drv_priv; in ath10k_txrx_tx_unref() 89 if (txq && txq->sta && skb_cb->airtime_est) in ath10k_txrx_tx_unref() 90 ieee80211_sta_register_airtime(txq->sta, txq->tid, in ath10k_txrx_tx_unref() 138 if (txq) in ath10k_txrx_tx_unref() 139 status.sta = txq->sta; in ath10k_txrx_tx_unref()
|
| /linux/drivers/net/wireless/intel/iwlegacy/ |
| H A D | common.c | 364 il->txq[il->cmd_queue].meta[cmd_idx].flags &= ~CMD_WANT_SKB; in il_send_cmd_sync() 2710 il_txq_update_write_ptr(struct il_priv *il, struct il_tx_queue *txq) in il_txq_update_write_ptr() argument 2713 int txq_id = txq->q.id; in il_txq_update_write_ptr() 2715 if (txq->need_update == 0) in il_txq_update_write_ptr() 2733 il_wr(il, HBUS_TARG_WRPTR, txq->q.write_ptr | (txq_id << 8)); in il_txq_update_write_ptr() 2741 _il_wr(il, HBUS_TARG_WRPTR, txq->q.write_ptr | (txq_id << 8)); in il_txq_update_write_ptr() 2742 txq->need_update = 0; in il_txq_update_write_ptr() 2752 struct il_tx_queue *txq = &il->txq[txq_id]; in il_tx_queue_unmap() local 2753 struct il_queue *q = &txq->q; in il_tx_queue_unmap() 2759 il->ops->txq_free_tfd(il, txq); in il_tx_queue_unmap() [all …]
|
| /linux/drivers/net/ethernet/chelsio/cxgb4/ |
| H A D | sge.c | 1220 netif_tx_stop_queue(q->txq); in eth_txq_stop() 1411 if (!q->in_use || !__netif_tx_trylock(eq->txq)) in t4_sge_eth_txq_egress_update() 1427 if (netif_tx_queue_stopped(eq->txq) && hw_in_use < (q->size / 2)) { in t4_sge_eth_txq_egress_update() 1428 netif_tx_wake_queue(eq->txq); in t4_sge_eth_txq_egress_update() 1432 __netif_tx_unlock(eq->txq); in t4_sge_eth_txq_egress_update() 1819 struct sge_eth_txq *txq; in cxgb4_vf_eth_xmit() local 1845 txq = &adapter->sge.ethtxq[pi->first_qset + qidx]; in cxgb4_vf_eth_xmit() 1850 reclaim_completed_tx(adapter, &txq->q, -1, true); in cxgb4_vf_eth_xmit() 1858 credits = txq_avail(&txq->q) - ndesc; in cxgb4_vf_eth_xmit() 1866 eth_txq_stop(txq); in cxgb4_vf_eth_xmit() [all …]
|
| /linux/Documentation/translations/zh_CN/networking/ |
| H A D | driver.rst | 63 struct netdev_queue *txq; 69 txq = netdev_get_tx_queue(dev, idx); 74 netif_tx_stop_queue(txq); 81 netdev_tx_sent_queue(txq, skb->len); 85 if (!netif_txq_maybe_stop(txq, drv_tx_avail(dr), 99 netif_txq_completed_wake(txq, cmpl_pkts, cmpl_bytes,
|
| /linux/drivers/net/ethernet/brocade/bna/ |
| H A D | bna_tx_rx.c | 2870 struct bna_txq *txq; in bna_tx_sm_started_entry() local 2873 list_for_each_entry(txq, &tx->txq_q, qe) { in bna_tx_sm_started_entry() 2874 txq->tcb->priority = txq->priority; in bna_tx_sm_started_entry() 2876 bna_ib_start(tx->bna, &txq->ib, is_regular); in bna_tx_sm_started_entry() 3089 struct bna_txq *txq = NULL; in bna_bfi_tx_enet_start() local 3099 txq = txq ? list_next_entry(txq, qe) in bna_bfi_tx_enet_start() 3101 bfi_enet_datapath_q_init(&cfg_req->q_cfg[i].q.q, &txq->qpt); in bna_bfi_tx_enet_start() 3102 cfg_req->q_cfg[i].q.priority = txq->priority; in bna_bfi_tx_enet_start() 3105 txq->ib.ib_seg_host_addr.lsb; in bna_bfi_tx_enet_start() 3107 txq->ib.ib_seg_host_addr.msb; in bna_bfi_tx_enet_start() [all …]
|