Skip to content

use rte macros instead of GCC __attribute

Tyler Retzlaff dpdk-dev 3 versions – Applied

Status from this message: Applied, thanks.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest5 patches 9 repliesApplied
  2. v23 patches 4 repliesSuperseded
  3. v13 patches 2 repliesSuperseded

Changes in v3 from the cover letter

* update series to clean app/drivers/lib

Patches in v3 Applied

#Subject and filesSizeRepliesApplied
1/5eal: add rte pure attribute macrolib/eal/include/rte_common.h+9 -00 replies
2/5lpm: use rte macro instead of GCC attributelib/lpm/rte_lpm.c lib/lpm/rte_lpm6.c+3 -30 replies
3/5rcu: use rte macro instead of GCC attributelib/rcu/rcu_qsbr_pvt.h+1 -10 replies
4/5app/test: use rte macro instead of GCC attributeapp/test-fib/main.c+2 -21 reply
5/5net/cxgbe: use rte macro instead of GCC attributedrivers/net/cxgbe/base/common.h drivers/net/cxgbe/base/t4_hw.c drivers/net/cxgbe/base/t4vf_hw.c+3 -37 replies

Reviews trailers per patch

All 5 patches have a Reviewed-by or Acked-by.

PatchMorten BrørupPotnuri Bharat Teja
1/5R-b
2/5R-b
3/5R-b
4/5R-b
5/5R-b R-b R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH v3 0/5] use rte macros instead of GCC __attribute

Clean up direct uses of GCC __attribute__((__pure__)) and __attribute__((__may_alias__)). A checkpatch check already warns for new additions.

v3:
* update series to clean app/drivers/lib

v2:
* fix typo __rte_pure -> __rte_may_alias in rcu commit message

Tyler Retzlaff (5):
eal: add rte pure attribute macro
lpm: use rte macro instead of GCC attribute
rcu: use rte macro instead of GCC attribute app/test: use rte macro instead of GCC attribute net/cxgbe: use rte macro instead of GCC attribute

 app/test-fib/main.c              | 4 ++--
 drivers/net/cxgbe/base/common.h  | 2 +-
 drivers/net/cxgbe/base/t4_hw.c   | 2 +-
 drivers/net/cxgbe/base/t4vf_hw.c | 2 +-
 lib/eal/include/rte_common.h     | 9 +++++++++
 lib/lpm/rte_lpm.c                | 4 ++--
 lib/lpm/rte_lpm6.c               | 2 +-
 lib/rcu/rcu_qsbr_pvt.h           | 2 +-
 8 files changed, 18 insertions(+), 9 deletions(-)
Signature · 1 line
1.8.3.1