Xilinx / dma_ip_drivers

Xilinx QDMA IP Drivers
https://xilinx.github.io/dma_ip_drivers/
578 stars 420 forks source link

Update qdma_rxtx.c #245

Open raymax2023 opened 12 months ago

raymax2023 commented 12 months ago

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.