aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/flamegraph.py
diff options
context:
space:
mode:
authorEric Dumazet <[email protected]>2023-11-16 08:57:07 +0000
committerDavid S. Miller <[email protected]>2023-11-17 03:29:16 +0000
commit18de1e517ed37ebaf33e771e46faf052e966e163 (patch)
treea369a4d820795051f4ed9a694a726157c50d2916 /tools/perf/scripts/python/flamegraph.py
parent380b50ae3a04222334a3779b3787eba844b1177f (diff)
gve: add gve_features_check()
It is suboptimal to attempt skb linearization from ndo_start_xmit() if a gso skb has pathological layout, or if host stack does not have access to the payload (TCP direct). Linearization of large skbs can also fail under memory pressure. We should instead have an ndo_features_check() so that we can fallback to GSO, which is supported even for TCP direct, and generally much more efficient (no payload copy). Signed-off-by: Eric Dumazet <[email protected]> Cc: Bailey Forrest <[email protected]> Cc: Willem de Bruijn <[email protected]> Cc: Jeroen de Borst <[email protected]> Cc: Praveen Kaligineedi <[email protected]> Cc: Shailend Chand <[email protected]> Cc: Ziwei Xiao <[email protected]> Reviewed-by: Willem de Bruijn <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions