[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20210204111713.00005fb6@intel.com>
Date: Thu, 4 Feb 2021 11:17:13 -0800
From: Jesse Brandeburg <jesse.brandeburg@...el.com>
To: Loic Poulain <loic.poulain@...aro.org>
Cc: kuba@...nel.org, davem@...emloft.net,
willemdebruijn.kernel@...il.com, netdev@...r.kernel.org,
stranche@...eaurora.org, subashab@...eaurora.org
Subject: Re: [PATCH net-next v5 1/2] net: mhi-net: Add re-aggregation of
fragmented packets
Loic Poulain wrote:
> 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@...aro.org>
> ---
> v2: use zero-copy skb chaining instead of skb_copy_expand.
> v3: Fix nit in commit msg + remove misleading inline comment for frag_list
> v4: no change
> v5: reword/fix commit subject
>
Acked-by: Jesse Brandeburg <jesse.brandeburg@...el.com>
Powered by blists - more mailing lists