commit | 18e8c134f4e984e6639e62846345192816f06d5c | [log] [tgz] |
---|---|---|
author | Eric Dumazet <eric.dumazet@gmail.com> | Thu May 06 21:58:51 2010 -0700 |
committer | David S. Miller <davem@davemloft.net> | Thu May 06 21:58:51 2010 -0700 |
tree | 81bb46de14f020424716bd41915e831b07ce00c6 | |
parent | d6bc0149d8f2300bffa03ea6fea3ca39744277a6 [diff] |
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 <eric.dumazet@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>