diff options
author | Loic Poulain <loic.poulain@linaro.org> | 2021-02-04 11:40:00 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2021-02-06 22:28:45 +0300 |
commit | c1fcda2bdfd04179dbc81320a24baa539b476281 (patch) | |
tree | ccd182e7cab27ae99bfe73823a491c570ac55d65 /MAINTAINERS | |
parent | d698e6a00a6092381f2966ac5410ac2dbcce88bc (diff) | |
download | linux-c1fcda2bdfd04179dbc81320a24baa539b476281.tar.xz |
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 <loic.poulain@linaro.org>
Acked-by: Jesse Brandeburg <jesse.brandeburg@intel.com>
Link: https://lore.kernel.org/r/1612428002-12333-1-git-send-email-loic.poulain@linaro.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'MAINTAINERS')
0 files changed, 0 insertions, 0 deletions