Searched refs:tx_desc_num (Results 1 – 6 of 6) sorted by relevance
1085 int tx_desc_num = pep->tx_ring_size; in txq_init() local1087 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()
730 int tx_desc_num, rx_desc_num; in cpdma_chan_split_pool() local756 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()
933 u32 tx_desc_num, u32 rx_desc_num) in hns3_change_all_ring_bd_num() argument938 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()
156 u16 tx_desc_num; /* total number of tx desc */ member
404 tqp->q.tx_desc_num = hdev->num_tx_desc; in hclgevf_alloc_tqps()
1595 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()