If rte_mempool_get_bulk fails too many times, it will cause the mbuf to be used up. In qdma_recv_pkts_st , it will cause nb_pkts_avail has always been 0 and will not continue to receive packages in the future. Modify to nb_pkts_avail when is 0, if you need to apply for mbuf, continue to apply.
If rte_mempool_get_bulk fails too many times, it will cause the mbuf to be used up. In qdma_recv_pkts_st , it will cause nb_pkts_avail has always been 0 and will not continue to receive packages in the future. Modify to nb_pkts_avail when is 0, if you need to apply for mbuf, continue to apply.