[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <12fbca7a-86c9-ab97-d052-2a5cb0a4f145@marvell.com>
Date: Fri, 20 Nov 2020 10:52:58 +0300
From: Igor Russkikh <irusskikh@...vell.com>
To: "Ramsay, Lincoln" <Lincoln.Ramsay@...i.com>,
"David S. Miller" <davem@...emloft.net>,
Jakub Kicinski <kuba@...nel.org>, <netdev@...r.kernel.org>,
"Dmitry Bogdanov [C]" <dbogdanov@...vell.com>
Subject: Re: [EXT] [PATCH] aquantia: Remove the build_skb path
On 20/11/2020 1:01 am, Ramsay, Lincoln wrote:
> External Email
>
> ----------------------------------------------------------------------
> The build_skb path fails to allow for an SKB header, but the hardware
> buffer it is built around won't allow for this anyway.
>
> Just always use the slower codepath that copies memory into an
> allocated SKB.
>
> Signed-off-by: Lincoln Ramsay <lincoln.ramsay@...ngear.com>
Acked-by: Igor Russkikh <irusskikh@...vell.com>
Yep, that could be the only way to fix this for now.
Have you tried to estimate any performance drops from this?
The most harm may be here on smaller packets, for stuff like UDP.
Regards,
Igor
Powered by blists - more mailing lists