lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Message-ID: <20230530123929.42472e9f@kernel.org> Date: Tue, 30 May 2023 12:39:29 -0700 From: Jakub Kicinski <kuba@...nel.org> To: Parav Pandit <parav@...dia.com> Cc: Eric Dumazet <edumazet@...gle.com>, David Ahern <dsahern@...nel.org>, davem@...emloft.net, pabeni@...hat.com, netdev@...r.kernel.org Subject: Re: [PATCH net-next] net: Make gro complete function to return void On Tue, 30 May 2023 17:48:22 +0200 Eric Dumazet wrote: > > tcp_gro_complete seems fairly trivial. Any reason not to make it an > > inline and avoid another function call in the datapath? > > Probably, although it is a regular function call, not an indirect one. > > In the grand total of driver rx napi + GRO cost, saving a few cycles > per GRO completed packet is quite small. IOW please make sure you include the performance analysis quantifying the win, if you want to make this a static inline. Or let us know if the patch is good as is, I'm keeping it in pw for now.
Powered by blists - more mailing lists