Home
last modified time | relevance | path

Searched refs:tx_index (Results 1 – 5 of 5) sorted by relevance

/linux/drivers/net/ethernet/amd/
H A Damd8111e.c642 int tx_index; in amd8111e_tx() local
646 tx_index = lp->tx_complete_idx & TX_RING_DR_MOD_MASK; in amd8111e_tx()
647 status = le16_to_cpu(lp->tx_ring[tx_index].tx_flags); in amd8111e_tx()
652 lp->tx_ring[tx_index].buff_phy_addr = 0; in amd8111e_tx()
655 if (lp->tx_skbuff[tx_index]) { in amd8111e_tx()
657 lp->tx_dma_addr[tx_index], in amd8111e_tx()
658 lp->tx_skbuff[tx_index]->len, in amd8111e_tx()
660 dev_consume_skb_irq(lp->tx_skbuff[tx_index]); in amd8111e_tx()
661 lp->tx_skbuff[tx_index] = NULL; in amd8111e_tx()
662 lp->tx_dma_addr[tx_index] = 0; in amd8111e_tx()
[all …]
/linux/drivers/net/ethernet/marvell/
H A Dpxa168_eth.c702 int tx_index; in txq_reclaim() local
711 tx_index = pep->tx_used_desc_q; in txq_reclaim()
712 desc = &pep->p_tx_desc_area[tx_index]; in txq_reclaim()
722 pep->tx_used_desc_q = (tx_index + 1) % pep->tx_ring_size; in txq_reclaim()
726 skb = pep->tx_skb[tx_index]; in txq_reclaim()
728 pep->tx_skb[tx_index] = NULL; in txq_reclaim()
1256 int tx_index; in pxa168_eth_start_xmit() local
1259 tx_index = eth_alloc_tx_desc_index(pep); in pxa168_eth_start_xmit()
1260 desc = &pep->p_tx_desc_area[tx_index]; in pxa168_eth_start_xmit()
1262 pep->tx_skb[tx_index] = skb; in pxa168_eth_start_xmit()
/linux/drivers/ntb/
H A Dntb_transport.c124 unsigned int tx_index; member
165 unsigned int tx_index; member
516 seq_printf(s, "tx_index (H) - \t%u\n", qp->tx_index); in ntb_qp_debugfs_stats_show()
647 qp->tx_index = 0; in ntb_transport_setup_qp_mw()
900 qp->tx_index = 0; in ntb_qp_link_context_reset()
1746 entry->tx_index; in ntb_tx_copy_callback()
1826 offset = qp->tx_mw + qp->tx_max_frame * entry->tx_index; in ntb_tx_memcpy_kthread()
1868 dest = qp->tx_mw_dma_addr + qp->tx_max_frame * entry->tx_index; in ntb_async_tx_submit()
1921 entry->tx_index = qp->tx_index; in ntb_async_tx()
1922 offset = qp->tx_mw + qp->tx_max_frame * entry->tx_index; in ntb_async_tx()
[all …]
/linux/drivers/net/team/
H A Dteam_core.c854 if (port->tx_index < cur->tx_index) in team_queue_override_port_has_gt_prio_than()
988 * setting port->tx_index (Might be racy so reader could see incorrect
995 WRITE_ONCE(port->tx_index, team->tx_en_port_count); in __team_port_enable_tx()
998 team_tx_port_index_hash(team, port->tx_index)); in __team_port_enable_tx()
1025 WRITE_ONCE(port->tx_index, port->tx_index - 1); in __reconstruct_port_hlist()
1027 port->tx_index); in __reconstruct_port_hlist()
1039 __reconstruct_port_hlist(team, port->tx_index); in __team_port_disable_tx()
1041 WRITE_ONCE(port->tx_index, in __team_port_disable_tx()
[all...]
/linux/drivers/net/ethernet/broadcom/bnx2x/
H A Dbnx2x_main.c8794 int tx_index, bool leading) in bnx2x_setup_tx_only() argument
8805 tx_only_params->cid_index = tx_index; in bnx2x_setup_tx_only()
8808 bnx2x_pf_q_prep_general(bp, fp, &tx_only_params->gen_params, tx_index); in bnx2x_setup_tx_only()
8811 bnx2x_pf_tx_q_prep(bp, fp, &tx_only_params->txq_params, tx_index); in bnx2x_setup_tx_only()
8815 tx_index, q_params->q_obj->cids[FIRST_TX_COS_INDEX], in bnx2x_setup_tx_only()
8816 q_params->q_obj->cids[tx_index], q_params->q_obj->cl_id, in bnx2x_setup_tx_only()
8843 u8 tx_index; in bnx2x_setup_queue() local
8901 for (tx_index = FIRST_TX_ONLY_COS_INDEX; in bnx2x_setup_queue()
8902 tx_index < fp->max_cos; in bnx2x_setup_queue()
8903 tx_index++) { in bnx2x_setup_queue()
[all …]