From: David S. Miller Date: Sun, 14 Mar 2021 21:41:09 +0000 (-0700) Subject: Merge branch 'gro-micro-optimize-dev_gro_receive' X-Git-Tag: accepted/tizen/unified/20230118.172025~7335^2~550 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3f79eb3c3a6abaa8f9900b5e40994060d7341cbc;p=platform%2Fkernel%2Flinux-rpi.git Merge branch 'gro-micro-optimize-dev_gro_receive' Alexander Lobakin says: ==================== gro: micro-optimize dev_gro_receive() 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 ==================== Signed-off-by: David S. Miller --- 3f79eb3c3a6abaa8f9900b5e40994060d7341cbc