rte_ring_elem_pvt historical question

Morten Brørup mb at smartsharesystems.com
Mon Jul 4 13:35:09 CEST 2022


Does anyone here remember why the __rte_ring_enqueue/dequeue_elems_64/128() functions support unaligned object arrays, when the __rte_ring_enqueue/dequeue_elems_32() functions require 4 byte aligned object arrays?

I'm wondering if the compiler could do better with a simpler implementation than the manually implemented loop unrolls, and if the unalignment silliness would stand in the way.

Med venlig hilsen / Kind regards,
-Morten Brørup



More information about the dev mailing list