sfc: Explicitly prefetch RX hash prefix, not just Ethernet heade
authorBen Hutchings <bhutchings@solarflare.com>
Tue, 29 Jan 2013 23:33:15 +0000 (23:33 +0000)
committerBen Hutchings <bhutchings@solarflare.com>
Thu, 7 Mar 2013 20:22:10 +0000 (20:22 +0000)
commit5036b7c7b9137bd084f28438396432348f20e0bc
tree9b63db0887f10d86027a7a2a34e52a22f1250507
parentb184f16b7feb9ede7d658ee6f2c77434d580d764
sfc: Explicitly prefetch RX hash prefix, not just Ethernet heade

Currently we prefetch from the Ethernet header, but we will also read
the hash prefix.  In practice they should be in the same cache line
and this won't hurt, but it is still pointless to add on the hash
prefix size.

Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
drivers/net/ethernet/sfc/rx.c