aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/flamegraph.py
diff options
context:
space:
mode:
authorLoic Poulain <[email protected]>2021-02-04 09:40:00 +0100
committerJakub Kicinski <[email protected]>2021-02-06 11:28:45 -0800
commitc1fcda2bdfd04179dbc81320a24baa539b476281 (patch)
treeccd182e7cab27ae99bfe73823a491c570ac55d65 /tools/perf/scripts/python/flamegraph.py
parentd698e6a00a6092381f2966ac5410ac2dbcce88bc (diff)
net: mhi-net: Add re-aggregation of fragmented packets
When device side MTU is larger than host side MTU, the packets (typically rmnet packets) are split over multiple MHI transfers. In that case, fragments must be re-aggregated to recover the packet before forwarding to upper layer. A fragmented packet result in -EOVERFLOW MHI transaction status for each of its fragments, except the final one. Such transfer was previously considered as error and fragments were simply dropped. This change adds re-aggregation mechanism using skb chaining, via skb frag_list. A warning (once) is printed since this behavior usually comes from a misconfiguration of the device (e.g. modem MTU). Signed-off-by: Loic Poulain <[email protected]> Acked-by: Jesse Brandeburg <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions