Home
last modified time | relevance | path

Searched refs:tx_index (Results 1 - 15 of 15) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/ethernet/hisilicon/hns3/
H A Dhns3_debugfs.c178 u32 tx_index, rx_index; in hns3_dbg_bd_info() local
183 cnt = sscanf(&cmd_buf[8], "%u %u", &q_num, &tx_index); in hns3_dbg_bd_info()
185 rx_index = tx_index; in hns3_dbg_bd_info()
199 tx_index = (cnt == 1) ? value : tx_index; in hns3_dbg_bd_info()
201 if (tx_index >= ring->desc_num) { in hns3_dbg_bd_info()
202 dev_err(dev, "bd index(%u) is out of range(0-%u)\n", tx_index, in hns3_dbg_bd_info()
207 tx_desc = &ring->desc[tx_index]; in hns3_dbg_bd_info()
209 dev_info(dev, "TX Queue Num: %u, BD Index: %u\n", q_num, tx_index); in hns3_dbg_bd_info()
232 rx_index = (cnt == 1) ? value : tx_index; in hns3_dbg_bd_info()
[all...]
/kernel/linux/linux-5.10/drivers/net/ethernet/amd/
H A Damd8111e.c643 int tx_index; in amd8111e_tx() local
647 tx_index = lp->tx_complete_idx & TX_RING_DR_MOD_MASK; in amd8111e_tx()
648 status = le16_to_cpu(lp->tx_ring[tx_index].tx_flags); in amd8111e_tx()
653 lp->tx_ring[tx_index].buff_phy_addr = 0; in amd8111e_tx()
656 if (lp->tx_skbuff[tx_index]) { in amd8111e_tx()
658 lp->tx_dma_addr[tx_index], in amd8111e_tx()
659 lp->tx_skbuff[tx_index]->len, in amd8111e_tx()
661 dev_consume_skb_irq(lp->tx_skbuff[tx_index]); in amd8111e_tx()
662 lp->tx_skbuff[tx_index] = NULL; in amd8111e_tx()
663 lp->tx_dma_addr[tx_index] in amd8111e_tx()
1240 int tx_index = lp->tx_idx & TX_BUFF_MOD_MASK; amd8111e_tx_queue_avail() local
1257 int tx_index; amd8111e_start_xmit() local
[all...]
/kernel/linux/linux-6.6/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] in amd8111e_tx()
1232 int tx_index = lp->tx_idx & TX_BUFF_MOD_MASK; amd8111e_tx_queue_avail() local
1249 int tx_index; amd8111e_start_xmit() local
[all...]
/kernel/linux/linux-5.10/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()
1257 int tx_index; in pxa168_eth_start_xmit() local
1260 tx_index = eth_alloc_tx_desc_index(pep); in pxa168_eth_start_xmit()
1261 desc = &pep->p_tx_desc_area[tx_index]; in pxa168_eth_start_xmit()
1263 pep->tx_skb[tx_index] in pxa168_eth_start_xmit()
[all...]
H A Dmv643xx_eth.c729 int tx_index; in txq_put_data_tso() local
733 tx_index = txq->tx_curr_desc++; in txq_put_data_tso()
736 desc = &txq->tx_desc_area[tx_index]; in txq_put_data_tso()
737 txq->tx_desc_mapping[tx_index] = DESC_DMA_MAP_SINGLE; in txq_put_data_tso()
744 memcpy(txq->tso_hdrs + tx_index * TSO_HEADER_SIZE, in txq_put_data_tso()
747 + tx_index * TSO_HEADER_SIZE; in txq_put_data_tso()
750 txq->tx_desc_mapping[tx_index] = DESC_DMA_MAP_SINGLE; in txq_put_data_tso()
778 int tx_index; in txq_put_hdr_tso() local
785 tx_index = txq->tx_curr_desc; in txq_put_hdr_tso()
786 desc = &txq->tx_desc_area[tx_index]; in txq_put_hdr_tso()
896 int tx_index; txq_submit_frag_skb() local
931 int tx_index; txq_submit_skb() local
1064 int tx_index; txq_reclaim() local
[all...]
/kernel/linux/linux-6.6/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] in pxa168_eth_start_xmit()
[all...]
H A Dmv643xx_eth.c731 int tx_index; in txq_put_data_tso() local
735 tx_index = txq->tx_curr_desc++; in txq_put_data_tso()
738 desc = &txq->tx_desc_area[tx_index]; in txq_put_data_tso()
739 txq->tx_desc_mapping[tx_index] = DESC_DMA_MAP_SINGLE; in txq_put_data_tso()
746 memcpy(txq->tso_hdrs + tx_index * TSO_HEADER_SIZE, in txq_put_data_tso()
749 + tx_index * TSO_HEADER_SIZE; in txq_put_data_tso()
752 txq->tx_desc_mapping[tx_index] = DESC_DMA_MAP_SINGLE; in txq_put_data_tso()
780 int tx_index; in txq_put_hdr_tso() local
787 tx_index = txq->tx_curr_desc; in txq_put_hdr_tso()
788 desc = &txq->tx_desc_area[tx_index]; in txq_put_hdr_tso()
899 int tx_index; txq_submit_frag_skb() local
934 int tx_index; txq_submit_skb() local
1067 int tx_index; txq_reclaim() local
[all...]
/kernel/linux/linux-5.10/drivers/spi/
H A Dspi-topcliff-pch.c138 * @tx_index: Transmit data count; for bookkeeping during
173 u32 tx_index; member
265 u32 n_read, tx_index, rx_index, bpw_len; in pch_spi_handler_sub() local
278 tx_index = data->tx_index; in pch_spi_handler_sub()
290 if (tx_index < bpw_len) in pch_spi_handler_sub()
291 iowrite32(pkt_tx_buff[tx_index++], spdwr); in pch_spi_handler_sub()
307 data->tx_index = tx_index; in pch_spi_handler_sub()
312 if ((tx_index in pch_spi_handler_sub()
[all...]
/kernel/linux/linux-6.6/drivers/spi/
H A Dspi-topcliff-pch.c139 * @tx_index: Transmit data count; for bookkeeping during
174 u32 tx_index; member
266 u32 n_read, tx_index, rx_index, bpw_len; in pch_spi_handler_sub() local
279 tx_index = data->tx_index; in pch_spi_handler_sub()
291 if (tx_index < bpw_len) in pch_spi_handler_sub()
292 iowrite32(pkt_tx_buff[tx_index++], spdwr); in pch_spi_handler_sub()
308 data->tx_index = tx_index; in pch_spi_handler_sub()
313 if ((tx_index in pch_spi_handler_sub()
[all...]
/kernel/linux/linux-5.10/drivers/ntb/
H A Dntb_transport.c117 unsigned int tx_index; member
156 unsigned int tx_index; member
526 "tx_index (H) - \t%u\n", qp->tx_index); in debugfs_read()
680 qp->tx_index = 0; in ntb_transport_setup_qp_mw()
919 qp->tx_index = 0; in ntb_qp_link_context_reset()
1754 entry->tx_index; in ntb_tx_copy_callback()
1822 dest = qp->tx_mw_dma_addr + qp->tx_max_frame * entry->tx_index; in ntb_async_tx_submit()
1875 entry->tx_index = qp->tx_index; in ntb_async_tx()
[all...]
/kernel/linux/linux-6.6/drivers/ntb/
H A Dntb_transport.c117 unsigned int tx_index; member
156 unsigned int tx_index; member
524 "tx_index (H) - \t%u\n", qp->tx_index); in debugfs_read()
678 qp->tx_index = 0; in ntb_transport_setup_qp_mw()
917 qp->tx_index = 0; in ntb_qp_link_context_reset()
1752 entry->tx_index; in ntb_tx_copy_callback()
1820 dest = qp->tx_mw_dma_addr + qp->tx_max_frame * entry->tx_index; in ntb_async_tx_submit()
1873 entry->tx_index = qp->tx_index; in ntb_async_tx()
[all...]
/kernel/linux/linux-5.10/drivers/net/ethernet/sfc/
H A Def100_tx.c323 unsigned int tx_index = (tx_queue->read_count + tx_done - 1) & in ef100_ev_tx() local
326 efx_xmit_done(tx_queue, tx_index); in ef100_ev_tx()
/kernel/linux/linux-6.6/drivers/net/ethernet/sfc/
H A Def100_tx.c357 unsigned int tx_index = (tx_queue->read_count + tx_done - 1) & in ef100_ev_tx() local
360 return efx_xmit_done(tx_queue, tx_index); in ef100_ev_tx()
/kernel/linux/linux-5.10/drivers/net/ethernet/broadcom/bnx2x/
H A Dbnx2x_main.c8794 int tx_index, bool leading) in bnx2x_setup_tx_only()
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()
8791 bnx2x_setup_tx_only(struct bnx2x *bp, struct bnx2x_fastpath *fp, struct bnx2x_queue_state_params *q_params, struct bnx2x_queue_setup_tx_only_params *tx_only_params, int tx_index, bool leading) bnx2x_setup_tx_only() argument
8923 int rc, tx_index; bnx2x_stop_queue() local
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/broadcom/bnx2x/
H A Dbnx2x_main.c8792 int tx_index, bool leading) in bnx2x_setup_tx_only()
8803 tx_only_params->cid_index = tx_index; in bnx2x_setup_tx_only()
8806 bnx2x_pf_q_prep_general(bp, fp, &tx_only_params->gen_params, tx_index); in bnx2x_setup_tx_only()
8809 bnx2x_pf_tx_q_prep(bp, fp, &tx_only_params->txq_params, tx_index); in bnx2x_setup_tx_only()
8813 tx_index, q_params->q_obj->cids[FIRST_TX_COS_INDEX], in bnx2x_setup_tx_only()
8814 q_params->q_obj->cids[tx_index], q_params->q_obj->cl_id, in bnx2x_setup_tx_only()
8841 u8 tx_index; in bnx2x_setup_queue() local
8899 for (tx_index = FIRST_TX_ONLY_COS_INDEX; in bnx2x_setup_queue()
8900 tx_index < fp->max_cos; in bnx2x_setup_queue()
8901 tx_index in bnx2x_setup_queue()
8789 bnx2x_setup_tx_only(struct bnx2x *bp, struct bnx2x_fastpath *fp, struct bnx2x_queue_state_params *q_params, struct bnx2x_queue_setup_tx_only_params *tx_only_params, int tx_index, bool leading) bnx2x_setup_tx_only() argument
8921 int rc, tx_index; bnx2x_stop_queue() local
[all...]

Completed in 46 milliseconds