Searched refs:rx_desc_num (Results 1 – 6 of 6) sorted by relevance
1025 int rx_desc_num = pep->rx_ring_size; in rxq_init() local1028 pep->rx_skb = kcalloc(rx_desc_num, sizeof(*pep->rx_skb), GFP_KERNEL); in rxq_init()1044 for (i = 0; i < rx_desc_num; i++) { in rxq_init()1046 ((i + 1) % rx_desc_num) * sizeof(struct rx_desc); in rxq_init()1051 pep->rx_desc_area_size = rx_desc_num * sizeof(struct rx_desc); in rxq_init()
730 int tx_desc_num, rx_desc_num; in cpdma_chan_split_pool() local757 rx_desc_num = ctlr->num_rx_desc; in cpdma_chan_split_pool()764 rx_per_ch_desc = rx_desc_num - (rx_weight * rx_desc_num) / 100; in cpdma_chan_split_pool()769 cpdma_chan_set_descs(ctlr, 1, rx_desc_num, rx_per_ch_desc); in cpdma_chan_split_pool()
933 u32 tx_desc_num, u32 rx_desc_num) in hns3_change_all_ring_bd_num() argument939 h->kinfo.num_rx_desc = rx_desc_num; in hns3_change_all_ring_bd_num()943 priv->ring[i + h->kinfo.num_tqps].desc_num = rx_desc_num; in hns3_change_all_ring_bd_num()
157 u16 rx_desc_num; /* total number of rx desc */ member
405 tqp->q.rx_desc_num = hdev->num_rx_desc; in hclgevf_alloc_tqps()
1596 tqp->q.rx_desc_num = hdev->num_rx_desc; in hclge_alloc_tqps()1642 hdev->htqp[i].q.rx_desc_num = kinfo->num_rx_desc; in hclge_assign_tqp()