Skip to content

several fixes and cleanup for nrLDPC_coding_t2

Newer DPDK driver versions may directly provide the internal HW mbuf in the dequeued structure. So don't try to free the mbufs from that dequeued structure, but the ones we allocated. Also, this mbuf has an offset to its output data, we must consider this when accessing the output data.

Main contents of this MR:

  • support newer DPDK versions
  • make sure to free allocated mbufs
  • fix q_bufs memory leak
  • use rte_pktmbuf_mtod_offset() to consider offset when accessing output data
  • convert the correct number of LLRs from 16 Bit to 8 Bit
  • remove unused variables and functions
  • some more code cleanup

P.S.: I split the changes into many small commits, to ease the review process. But if wanted, I can squash (some of) them again...

Merge request reports

Loading