Re: [PATCH v3 1/6] test/soring: fix buffer overflow warnings with LTO

Stephen Hemminger
2026-01-21T14:57:29Z

On Wed, 21 Jan 2026 12:56:25 +0000
Konstantin Ananyev <konstantin.ananyev@huawei.com> wrote:

> > A much simpler and clear solution is to just get rid of __rte_always_inline
> > and use inline instead. The compiler still inlines a lot but it can make its
> > own decision.
> > The attribute always_inline is not always faster, in fact in real world
> > applications it can make things slower because real applications get i-cache
> > misses and lots of inline expansion makes it worse.
>
> Sounds like a clean and safe fix.
> I also don't expect any perf degradations with such approach,
> but will run some perf tests with it to confirm.
> Thanks

Only enqueue/dequeue functions needed the change.