[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAMZdPi882hVdO-N5GKiCXy07kPOBXFzi0JZ9auKb9oKu_amW=g@mail.gmail.com>
Date: Thu, 10 Dec 2020 13:04:12 +0100
From: Loic Poulain <loic.poulain@...aro.org>
To: Subash Abhinov Kasiviswanathan <subashab@...eaurora.org>
Cc: Jakub Kicinski <kuba@...nel.org>,
Network Development <netdev@...r.kernel.org>,
David Miller <davem@...emloft.net>,
Sean Tranchetti <stranche@...eaurora.org>
Subject: Re: [PATCH net-next] net: qualcomm: rmnet: Update rmnet device MTU
based on real device
On Thu, 10 Dec 2020 at 06:52, Subash Abhinov Kasiviswanathan
<subashab@...eaurora.org> wrote:
>
> Packets sent by rmnet to the real device have variable MAP header
> lengths based on the data format configured. This patch adds checks
> to ensure that the real device MTU is sufficient to transmit the MAP
> packet comprising of the MAP header and the IP packet. This check
> is enforced when rmnet devices are created and updated and during
> MTU updates of both the rmnet and real device.
>
> Additionally, rmnet devices now have a default MTU configured which
> accounts for the real device MTU and the headroom based on the data
> format.
>
> Signed-off-by: Sean Tranchetti <stranche@...eaurora.org>
> Signed-off-by: Subash Abhinov Kasiviswanathan <subashab@...eaurora.org>
Tested-by: Loic Poulain <loic.poulain@...aro.org>
Powered by blists - more mailing lists