On Wed, Mar 06, 2024 at 09:49:31PM +0100, David Marchand wrote: > On Wed, Feb 28, 2024 at 7:48 PM Tyler Retzlaff > <roret...@linux.microsoft.com> wrote: > > > > Clean up direct uses of GCC __attribute__ in libs outside of EAL. A > > checkpatch check already warns for new additions. > > > > v2: > > * fix typo __rte_pure -> __rte_may_alias in rcu commit message > > > > 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(-) > > Introducing __rte_pure and converting lib/lpm looks fine. > But please finish the job for the other occurence in the tree as it is > a mechanical change.
Sure, it's trivial that I don't have to burn it in on lib first. Will submit an updated rev. > > Thanks. > > -- > David Marchand