Corrupted payload when sending many individual mbufs in loop

Alan Beadle ab.beadle at gmail.com
Wed Feb 5 00:31:06 CET 2025


> Are you using refcounting of the mbuf. Are you reusing the data?
> DPDK has no callback or mechanism to indicate when data has actually been
> sent; ie the mbuf may still be in use for some amount of time while sitting
> in the device transmit queue and being DMA'd. Fragmenting can be complex
> to do.

Unlike my earlier threads, in this case I am not saving any mbufs nor
am I doing anything at all with the refcount. For retries I am
regenerating the lost packet from scratch each time. The problem is
that at high tx rates the payload is getting corrupted and I have no
idea why.


More information about the users mailing list