DPDK patches and discussions
 help / color / mirror / Atom feed
* rte_ring_elem_pvt historical question
@ 2022-07-04 11:35 Morten Brørup
  2022-07-05  8:54 ` Konstantin Ananyev
  0 siblings, 1 reply; 3+ messages in thread
From: Morten Brørup @ 2022-07-04 11:35 UTC (permalink / raw)
  To: dev

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-07-05 13:40 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-04 11:35 rte_ring_elem_pvt historical question Morten Brørup
2022-07-05  8:54 ` Konstantin Ananyev
2022-07-05 13:40   ` Morten Brørup

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).