[PATCH v5] net: optimize raw checksum computation

Stephen Hemminger stephen at networkplumber.org
Thu Jan 8 17:12:29 CET 2026


On Thu,  8 Jan 2026 01:13:38 -0500
scott.k.mitch1 at gmail.com wrote:

> +#ifdef RTE_CC_GCC
> +	/* Suppress GCC -Wmaybe-uninitialized false positive. No assembly/runtime impacts. */
> +	asm volatile("" : "+m" (psd_hdr));
> +#endif
>  

Maybe rte_compiler_barrier() will do same thing?


More information about the dev mailing list