net: mvneta: prefetch next rx descriptor instead of current one
authorwilly tarreau <w@1wt.eu>
Thu, 16 Jan 2014 07:20:15 +0000 (08:20 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 16 Jan 2014 23:15:42 +0000 (15:15 -0800)
commit34e4179df65d72d83e71860b099d71e0f3aa1210
tree6d3a62c8c722167df171b9f5a553eff8fb492879
parent5428213c042b572d10418fe22cc3c1c682631cad
net: mvneta: prefetch next rx descriptor instead of current one

Currently, the mvneta driver tries to prefetch the current Rx
descriptor during read. Tests have shown that prefetching the
next one instead increases general performance by about 1% on
HTTP traffic.

Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Gregory CLEMENT <gregory.clement@free-electrons.com>
Tested-by: Arnaud Ebalard <arno@natisbad.org>
Signed-off-by: Willy Tarreau <w@1wt.eu>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/marvell/mvneta.c