[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <171fa77b3b1d44a797b7433783973fb7@AcuMS.aculab.com>
Date: Mon, 9 May 2022 08:05:14 +0000
From: David Laight <David.Laight@...LAB.COM>
To: 'Eric Dumazet' <edumazet@...gle.com>,
Kees Cook <keescook@...omium.org>
CC: Jakub Kicinski <kuba@...nel.org>,
Eric Dumazet <eric.dumazet@...il.com>,
"David S . Miller" <davem@...emloft.net>,
Paolo Abeni <pabeni@...hat.com>,
netdev <netdev@...r.kernel.org>, Coco Li <lixiaoyan@...gle.com>,
Tariq Toukan <tariqt@...dia.com>,
Saeed Mahameed <saeedm@...dia.com>,
Leon Romanovsky <leon@...nel.org>
Subject: RE: [PATCH v4 net-next 12/12] mlx5: support BIG TCP packets
From: Eric Dumazet
> Sent: 07 May 2022 12:19
....
> NIC drivers send millions of packets per second.
> We can not really afford copying each component of a frame one byte at a time.
Any run-time checks om memcpy() are also going to kill performance.
The 'user copy hardening' tests already have a measurable
effect on system calls like sendmsg().
David
-
Registered Address Lakeside, Bramley Road, Mount Farm, Milton Keynes, MK1 1PT, UK
Registration No: 1397386 (Wales)
Powered by blists - more mailing lists