Home
last modified time | relevance | path

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

/f-stack/dpdk/drivers/net/hns3/
H A Dhns3_rxtx.c2786 hns3_tx_alloc_mbufs(struct rte_mempool *mb_pool, uint16_t nb_new_buf, in hns3_tx_alloc_mbufs() argument
2794 if (rte_mempool_get_bulk(mb_pool, (void **)pkt_segs, nb_new_buf)) in hns3_tx_alloc_mbufs()
2797 for (i = 0; i < nb_new_buf - 1; i++) in hns3_tx_alloc_mbufs()
2800 pkt_segs[nb_new_buf - 1]->next = NULL; in hns3_tx_alloc_mbufs()
2801 pkt_segs[0]->nb_segs = nb_new_buf; in hns3_tx_alloc_mbufs()
2830 uint16_t nb_new_buf; in hns3_reassemble_tx_pkts() local
2842 nb_new_buf = (rte_pktmbuf_pkt_len(tx_pkt) - 1) / buf_size + 1; in hns3_reassemble_tx_pkts()
2843 if (nb_new_buf > max_non_tso_bd_num) in hns3_reassemble_tx_pkts()
2851 ret = hns3_tx_alloc_mbufs(mb_pool, nb_new_buf, &new_mbuf); in hns3_reassemble_tx_pkts()