diff options
author | Eric Dumazet <eric.dumazet@gmail.com> | 2010-05-06 21:58:51 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-05-06 21:58:51 -0700 |
commit | 18e8c134f4e984e6639e62846345192816f06d5c (patch) | |
tree | 81bb46de14f020424716bd41915e831b07ce00c6 /arch | |
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>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions