summaryrefslogtreecommitdiffstats
path: root/fs/direct-io.c
diff options
context:
space:
mode:
authorMichael Chan <mchan@broadcom.com>2010-05-06 10:58:13 +0200
committerDavid S. Miller <davem@davemloft.net>2010-05-07 07:17:24 +0200
commita33fa66bcf365ffe5b79d1ae1d3582cc261ae56e (patch)
treecf714757a5c3644bd8154a4da0cea4eb53a80032 /fs/direct-io.c
parentbnx2: Add GRO support. (diff)
downloadlinux-a33fa66bcf365ffe5b79d1ae1d3582cc261ae56e.tar.xz
linux-a33fa66bcf365ffe5b79d1ae1d3582cc261ae56e.zip
bnx2: Add prefetches to rx path.
Add prefetches of the skb and the next rx descriptor to speed up rx path. Use prefetchw() for the skb [suggested by Eric Dumazet]. The rx descriptor is in skb->data which is mapped for streaming mode DMA. Eric Dumazet pointed out that we should not prefetch the data before dma_sync. So we prefetch only if dma_sync is no_op on the system. Signed-off-by: Michael Chan <mchan@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'fs/direct-io.c')
0 files changed, 0 insertions, 0 deletions