Home
last modified time | relevance | path

Searched refs:tx_desc_num (Results 1 – 6 of 6) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/ethernet/marvell/
Dpxa168_eth.c1085 int tx_desc_num = pep->tx_ring_size; in txq_init() local
1087 pep->tx_skb = kcalloc(tx_desc_num, sizeof(*pep->tx_skb), GFP_KERNEL); in txq_init()
1102 for (i = 0; i < tx_desc_num; i++) { in txq_init()
1104 ((i + 1) % tx_desc_num) * sizeof(struct tx_desc); in txq_init()
1108 pep->tx_desc_area_size = tx_desc_num * sizeof(struct tx_desc); in txq_init()
/kernel/linux/linux-5.10/drivers/net/ethernet/ti/
Ddavinci_cpdma.c730 int tx_desc_num, rx_desc_num; in cpdma_chan_split_pool() local
756 tx_desc_num = ctlr->num_tx_desc; in cpdma_chan_split_pool()
760 tx_per_ch_desc = tx_desc_num - (tx_weight * tx_desc_num) / 100; in cpdma_chan_split_pool()
768 cpdma_chan_set_descs(ctlr, 0, tx_desc_num, tx_per_ch_desc); in cpdma_chan_split_pool()
/kernel/linux/linux-5.10/drivers/net/ethernet/hisilicon/hns3/
Dhns3_ethtool.c933 u32 tx_desc_num, u32 rx_desc_num) in hns3_change_all_ring_bd_num() argument
938 h->kinfo.num_tx_desc = tx_desc_num; in hns3_change_all_ring_bd_num()
942 priv->ring[i].desc_num = tx_desc_num; in hns3_change_all_ring_bd_num()
Dhnae3.h156 u16 tx_desc_num; /* total number of tx desc */ member
/kernel/linux/linux-5.10/drivers/net/ethernet/hisilicon/hns3/hns3vf/
Dhclgevf_main.c404 tqp->q.tx_desc_num = hdev->num_tx_desc; in hclgevf_alloc_tqps()
/kernel/linux/linux-5.10/drivers/net/ethernet/hisilicon/hns3/hns3pf/
Dhclge_main.c1595 tqp->q.tx_desc_num = hdev->num_tx_desc; in hclge_alloc_tqps()
1641 hdev->htqp[i].q.tx_desc_num = kinfo->num_tx_desc; in hclge_assign_tqp()