Xilinx / dma_ip_drivers

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

Update qdma_rxtx.c #244

Closed junzhongdu closed 1 year ago

junzhongdu commented 1 year ago

If rte mempool getbulk 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.