Skip to content

Use WFE for spinlock and ring

Ruifeng Wang dpdk-dev 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest posting 2/23 patches 10 repliesIn review
  2. v4 posting 1/23 patches 1 replySuperseded
  3. v32 patches 5 repliesSuperseded

Changes in v4 from the cover letter

Added meson option to expose WFE. (David, Bruce)

Patches in v4 posting 2/2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3spinlock: use wfe to reduce contention on aarch64lib/eal/include/generic/rte_spinlock.h+2 -20 replies
2/3ring: use wfe to wait for ring tail update on aarch64lib/ring/rte_ring_c11_pvt.h lib/ring/rte_ring_generic_pvt.h+3 -40 replies
3/3build: add option to enable wait until equalconfig/arm/meson.build meson_options.txt+3 -19 replies

Reviews trailers per patch

2 of 3 patches have a Reviewed-by or Acked-by.

PatchRuifeng WangPhil YangSteve CapperOla LiljedahlHonnappa NagarahalliPavan NikhileshKonstantin AnanyevJerin Jacob
1/3R-b R-b R-b R-b R-b T-b A-b A-b
2/3R-b R-b R-b A-b A-b
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 8 reviewers.

Read the v4 thread

Cover letter [dpdk-dev] [PATCH v4 0/3] Use WFE for spinlock and ring

The rte_wait_until_equal_xxx APIs abstract the functionality of 'polling for a memory location to become equal to a given value'[1].

Use the API for the rte spinlock and ring implementations. With the wait until equal APIs being stable, changes will not impact ABI.

[1] http://patches.dpdk.org/cover/62703/

v4:
Added meson option to expose WFE. (David, Bruce)

v3:
Series rebased. (David)

Gavin Hu (1):
spinlock: use wfe to reduce contention on aarch64

Ruifeng Wang (2):
ring: use wfe to wait for ring tail update on aarch64
build: add option to enable wait until equal

 config/arm/meson.build                 | 2 +-
 lib/eal/include/generic/rte_spinlock.h | 4 ++--
 lib/ring/rte_ring_c11_pvt.h            | 4 ++--
 lib/ring/rte_ring_generic_pvt.h        | 3 +--
 meson_options.txt                      | 2 ++
 5 files changed, 8 insertions(+), 7 deletions(-)
Signature · 1 line
2.25.1