diff options
| author | Eric Dumazet <edumazet@google.com> | 2026-01-20 19:49:01 +0300 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2026-01-22 06:28:32 +0300 |
| commit | 9bd6ff503077e03fdf3b1a0a55b1427759eb23ac (patch) | |
| tree | 63a181a7a0a3597735a68e94ac64446bc3034ca1 /include/uapi/linux | |
| parent | a4674aa58be53921f2aba62e143cc338d6ab142c (diff) | |
| download | linux-9bd6ff503077e03fdf3b1a0a55b1427759eb23ac.tar.xz | |
net: always inline __skb_incr_checksum_unnecessary()
clang does not inline this helper in GRO fast path.
We can save space and cpu cycles.
$ scripts/bloat-o-meter -t vmlinux.0 vmlinux.1
add/remove: 0/2 grow/shrink: 2/0 up/down: 156/-218 (-62)
Function old new delta
tcp6_gro_complete 227 311 +84
tcp4_gro_complete 325 397 +72
__pfx___skb_incr_checksum_unnecessary 32 - -32
__skb_incr_checksum_unnecessary 186 - -186
Total: Before=22592724, After=22592662, chg -0.00%
Signed-off-by: Eric Dumazet <edumazet@google.com>
Link: https://patch.msgid.link/20260120164903.1912995-2-edumazet@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/uapi/linux')
0 files changed, 0 insertions, 0 deletions
