From: Lennert Buytenhek Date: Sun, 14 Sep 2008 13:50:32 +0000 (+0200) Subject: mv643xx_eth: avoid reading ->byte_cnt twice during receive processing X-Git-Tag: v2.6.28-rc1~717^2~194^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6b8f90c276ac25cd37f143a00d467a8ccb19c4c6;p=pandora-kernel.git mv643xx_eth: avoid reading ->byte_cnt twice during receive processing Currently, the receive processing reads ->byte_cnt twice (once to update interface statistics and once to properly size the data area of the received skb), but since receive descriptors live in uncached memory, caching this value in a local variable saves one uncached access, and increases routing performance a tiny little bit more. Signed-off-by: Lennert Buytenhek --- Reading git-diff-tree failed