use C11 atomic builtins for libs
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest4 patches 5 repliesIn review
- v24 patches 5 repliesSuperseded
- v14 patches 2 repliesSuperseded
Changes in v3 from the cover letter
remove unnecessary rte_atomic.h headers. (David)
Patches in v3 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | eal: use C11 atomic builtins for already initialized checklib/ lib/ | +21 | 0 replies | |
| 2/4 | bbdev: use C11 atomic builtins for device processing counterlib/ lib/ | +4 | 3 replies | |
| 3/4 | power: use C11 atomic builtins for power in use state updatelib/ lib/ | +70 | 1 reply | |
| 4/4 | ethdev: use C11 atomic builtins for link status updatelib/ | +5 | 0 replies |
Reviews trailers per patch
All 4 patches have a Reviewed-by or Acked-by.
| Patch | Honnappa Nagarahalli | Ruifeng Wang | Andrew Rybchenko | David Hunt | Nicolas Chautru |
|---|---|---|---|---|---|
| 1/4 | R-b | R-b | |||
| 2/4 | R-b | R-b | A-b | ||
| 3/4 | R-b | R-b | A-b | ||
| 4/4 | R-b | R-b | A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 5 reviewers.
Cover letter [dpdk-dev] [PATCH v3 0/4] use C11 atomic builtins for libs
Since rte_atomicXX APIs are not allowed to be used[1][2], use C11 atomic builtins instead in eal, bbdev, power, and ethdev libs.
[1] http://code.dpdk.org/dpdk/latest/source/doc/guides/rel_notes/deprecation.rst#L87
[2] http://code.dpdk.org/dpdk/latest/source/devtools/checkpatches.sh#L80
v3:
remove unnecessary rte_atomic.h headers. (David)
v2:
Fix Clang int-conversion warning.
v1:
Initial version.
Phil Yang (4):
eal: use C11 atomic builtins for already initialized check
bbdev: use C11 atomic builtins for device processing counter
power: use C11 atomic builtins for power in use state update
ethdev: use C11 atomic builtins for link status update
lib/librte_bbdev/rte_bbdev.c | 5 ++-- lib/librte_bbdev/rte_bbdev.h | 4 +-- lib/librte_eal/freebsd/eal.c | 19 +++++++------- lib/librte_eal/linux/eal.c | 21 +++++++-------- lib/librte_ethdev/rte_ethdev_driver.h | 19 ++++---------- lib/librte_power/power_acpi_cpufreq.c | 45 +++++++++++++++++++++++++-------- lib/librte_power/power_pstate_cpufreq.c | 45 +++++++++++++++++++++++++-------- 7 files changed, 100 insertions(+), 58 deletions(-)
Signature · 1 line
2.7.4