Re: [PATCH] x86_64: inline csum_ipv6_magic()

From: Dave Hansen

Date: Thu Nov 13 2025 - 11:26:17 EST


On 11/13/25 07:45, Eric Dumazet wrote:
> Inline this small helper.
>
> This reduces register pressure, as saddr and daddr are often
> back to back in memory.
>
> For instance code inlined in tcp6_gro_receive() will look like:

Could you please double check what the code growth is for this across
the tree? There are 80-ish users of csum_ipv6_magic().

Or, is there a discrete, measurable performance gain from doing this?