, 2023 3:17 PM
> To: Honnappa Nagarahalli ;
> konstantin.v.anan...@yandex.ru; Feifei Wang
> Cc: dev@dpdk.org; nd ; Wathsala Wathawana Vithanage
>
> Subject: [RFC] ring: improve ring performance with C11 atomics
>
> Tail load in __rte_ring_move_cons_head and __rte
> From: Wathsala Vithanage [mailto:wathsala.vithan...@arm.com]
> Sent: Friday, 21 April 2023 21.17
>
> Tail load in __rte_ring_move_cons_head and __rte_ring_move_prod_head
> can be changed to __ATOMIC_RELAXED from __ATOMIC_ACQUIRE.
> Because to calculate the addresses of the dequeue
> elements __r
Tail load in __rte_ring_move_cons_head and __rte_ring_move_prod_head
can be changed to __ATOMIC_RELAXED from __ATOMIC_ACQUIRE.
Because to calculate the addresses of the dequeue
elements __rte_ring_dequeue_elems uses the old_head updated by the
__atomic_compare_exchange_n intrinsic used in
__rte_rin
Tail load in __rte_ring_move_cons_head and __rte_ring_move_prod_head
can be changed to __ATOMIC_RELAXED from __ATOMIC_ACQUIRE.
Because to calculate the addresses of the dequeue
elements __rte_ring_dequeue_elems uses the old_head updated by the
__atomic_compare_exchange_n intrinsic used in
__rte_rin
4 matches
Mail list logo