RE: [PATCH v5 1/6] ring: common functions for 'move head' ops

2024-10-15 Thread Morten Brørup
> From: Konstantin Ananyev [mailto:konstantin.v.anan...@yandex.ru] > Sent: Tuesday, 15 October 2024 15.01 Cleaning up is good. :-) Only a few initial comments; haven't reviewed in depth. > +__rte_ring_headtail_move_head(struct rte_ring_headtail *d, > + const struct rte_ring_headtail

[PATCH v5 1/6] ring: common functions for 'move head' ops

2024-10-15 Thread Konstantin Ananyev
From: Konstantin Ananyev Note upfront: that change doesn't introduce any functional or performance changes. It is just a code-reordering for: - code deduplication - ability in future to re-use the same code to introduce new functionality For each sync mode corresponding move_prod_head() and mo