[PATCH 0/3] use rte macros instead of GCC __attribute

Tyler Retzlaff roretzla at linux.microsoft.com
Wed Feb 28 00:07:50 CET 2024


Clean up direct uses of GCC __attribute__ in libs outside of EAL. A
checkpatch check already warns for new additions.

Tyler Retzlaff (3):
  eal: add rte pure attribute macro
  lpm: use rte macro instead of GCC attribute
  rcu: use rte macro instead of GCC attribute

 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 +-
 4 files changed, 13 insertions(+), 4 deletions(-)

-- 
1.8.3.1



More information about the dev mailing list