summaryrefslogtreecommitdiff
path: root/lib/debugobjects.c
diff options
context:
space:
mode:
authorAnkit Garg <nktgrg@google.com>2026-03-03 22:55:47 +0300
committerPaolo Abeni <pabeni@redhat.com>2026-03-05 17:49:51 +0300
commitea4c1176871fd70a06eadcbd7c828f6cb9a1b0cd (patch)
treefb30614f776aeee5874d50093da6e230664af8cf /lib/debugobjects.c
parente637c244b954426b84340cbc551ca0e2a32058ce (diff)
downloadlinux-ea4c1176871fd70a06eadcbd7c828f6cb9a1b0cd.tar.xz
gve: fix SW coalescing when hw-GRO is used
Leaving gso_segs unpopulated on hardware GRO packet prevents further coalescing by software stack because the kernel's GRO logic marks the SKB for flush because the expected length of all segments doesn't match actual payload length. Setting gso_segs correctly results in significantly more segments being coalesced as measured by the result of dev_gro_receive(). gso_segs are derived from payload length. When header-split is enabled, payload is in the non-linear portion of skb. And when header-split is disabled, we have to parse the headers to determine payload length. Signed-off-by: Ankit Garg <nktgrg@google.com> Reviewed-by: Eric Dumazet <edumazet@google.com> Reviewed-by: Jordan Rhee <jordanrhee@google.com> Reviewed-by: Harshitha Ramamurthy <hramamurthy@google.com> Signed-off-by: Joshua Washington <joshwash@google.com> Link: https://patch.msgid.link/20260303195549.2679070-3-joshwash@google.com Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions