[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20100506.221804.67909927.davem@davemloft.net>
Date: Thu, 06 May 2010 22:18:04 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: mchan@...adcom.com
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH -next 2/3 v2] bnx2: Add prefetches to rx path.
From: "Michael Chan" <mchan@...adcom.com>
Date: Thu, 6 May 2010 11:58:13 -0700
> 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@...adcom.com>
Also applied, thanks!
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists