[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAAVpQUCm9QKLrTgN5EC5Hy9eBR-8B7hB8P5sE8e9K0ev=SX_cA@mail.gmail.com>
Date: Thu, 5 Feb 2026 20:09:40 -0800
From: Kuniyuki Iwashima <kuniyu@...gle.com>
To: Eric Dumazet <edumazet@...gle.com>
Cc: "David S . Miller" <davem@...emloft.net>, Jakub Kicinski <kuba@...nel.org>,
Paolo Abeni <pabeni@...hat.com>, Simon Horman <horms@...nel.org>,
Neal Cardwell <ncardwell@...gle.com>, netdev@...r.kernel.org, eric.dumazet@...il.com
Subject: Re: [PATCH net-next] tcp: inline tcp_filter()
On Thu, Feb 5, 2026 at 8:43 AM Eric Dumazet <edumazet@...gle.com> wrote:
>
> This helper is already (auto)inlined from IPv4 TCP stack.
>
> Make it an inline function to benefit IPv6 as well.
>
> $ scripts/bloat-o-meter -t vmlinux.old vmlinux.new
> add/remove: 0/2 grow/shrink: 1/0 up/down: 30/-49 (-19)
> Function old new delta
> tcp_v6_rcv 3448 3478 +30
> __pfx_tcp_filter 16 - -16
> tcp_filter 33 - -33
> Total: Before=24891904, After=24891885, chg -0.00%
>
> Signed-off-by: Eric Dumazet <edumazet@...gle.com>
Reviewed-by: Kuniyuki Iwashima <kuniyu@...gle.com>
Powered by blists - more mailing lists