On Mon, 25 May 2026 12:36:41 +0200 Mattias Rönnblom <[email protected]> wrote:
> + > +static __rte_always_inline struct fastmem_cache * > +cache_get(struct fastmem_socket_state *socket, unsigned int class_idx, > + unsigned int lcore_id) Do not use always_inline. With current compilers using always inline makes the optimizer generate worse code. The only exceptions would be where inline is required to make assembly work or you have good benchmark data that proves that always_inline generates > 1% performance gain. To much of DPDK use __rte_always_inline as "cargo cult" it is faster setting.

