]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc43f423570a3b4b14032cdd76c036b58b377191b
tree9b63db0887f10d86027a7a2a34e52a22f1250507
parent44ba303832e5ec18ac1ea047257b294ca3236f79
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