Thread (5 messages) flat view 5 messages, 2 authors, 2021-03-15

Re: [PATCH v2 net-next 0/3] gro: micro-optimize dev_gro_receive()

From: Eric Dumazet <edumazet@google.com>
Date: 2021-03-15 08:52:13
Also in: lkml

On Sat, Mar 13, 2021 at 9:30 PM Alexander Lobakin [off-list ref] wrote:
This random series addresses some of suboptimal constructions used
in the main GRO entry point.
The main body is gro_list_prepare() simplification and pointer usage
optimization in dev_gro_receive() itself. Being mostly cosmetic, it
gives like +10 Mbps on my setup to both TCP and UDP (both single- and
multi-flow).

Since v1 [0]:
 - drop the replacement of bucket index calculation with
   reciprocal_scale() since it makes absolutely no sense (Eric);
 - improve stack usage in dev_gro_receive() (Eric);
 - reverse the order of patches to avoid changes superseding.

[0] https://lore.kernel.org/netdev/20210312162127.239795-1-alobakin@pm.me (local)
SGTM, thanks.

Reviewed-by: Eric Dumazet <redacted>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help