From: Eric Dumazet Date: Fri, 7 May 2010 04:58:51 +0000 (-0700) Subject: net: Increase NET_SKB_PAD to 64 bytes X-Git-Tag: v2.6.35-rc1~473^2~248 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=18e8c134f4e984e6639e62846345192816f06d5c;p=pandora-kernel.git net: Increase NET_SKB_PAD to 64 bytes eth_type_trans() & get_rps_cpus() currently need two 64bytes cache lines in packet to compute rxhash. Increasing NET_SKB_PAD from 32 to 64 reduces the need to one cache line only, and makes RPS faster. NET_IP_ALIGN(2) + ethernet_header(14) + IP_header(20/40) + ports(8) Signed-off-by: Eric Dumazet Signed-off-by: David S. Miller --- Reading git-diff-tree failed