OpenDataPlane / odp-dpdk

OpenDataPlane DPDK platform implementation
https://opendataplane.org
Other
81 stars 40 forks source link

[PATCH v2] linux-dpdk: dma: simplify inflight transfer bookkeeping #245

Closed TuomasTaipale closed 8 months ago

TuomasTaipale commented 9 months ago

Instead of having a separate buffer-backed structure for bookkeeping inflight transfers, use the transfer structures themselves. This removes the need for an additional buffer pool for each DMA session.

Additionally, utilize <queue.h> provided iteration macro instead of accessing private fields directly when looping queue structures.

v2: