aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorEric Dumazet <[email protected]>2012-07-10 10:03:41 +0000
committerDavid S. Miller <[email protected]>2012-07-10 23:33:12 -0700
commitb28ba72665356438e3a6e3be365c3c3071496840 (patch)
tree2cf9ff84993f821cd4819db7dd609db1ccbf38f6 /tools/perf/util/scripting-engines/trace-event-python.c
parentefc73f4bbc238d4f579fb612c04c8e1dd8a82979 (diff)
IPoIB: fix skb truesize underestimatiom
Or Gerlitz reported triggering of WARN_ON_ONCE(delta < len); in skb_try_coalesce() This warning tracks drivers that incorrectly set skb->truesize IPoIB indeed allocates a full page to store a fragment, but only accounts in skb->truesize the used part of the page (frame length) This patch fixes skb truesize underestimation, and also fixes a performance issue, because RX skbs have not enough tailroom to allow IP and TCP stacks to pull their header in skb linear part without an expensive call to pskb_expand_head() Signed-off-by: Eric Dumazet <[email protected]> Reported-by: Or Gerlitz <[email protected]> Cc: Erez Shitrit <[email protected]> Cc: Shlomo Pongartz <[email protected]> Cc: Roland Dreier <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions