Re: [E1000-devel] dma_map_page and dma_map_single

2012-10-25 Thread Alexander Duyck
We use dma_map_single here because we have a virtual pointer and not a page. If you look in the kernel at the file include/asm-generic/dma-mapping-common.h you will see that dma_map_single_attrs which is what ends up being called when we call dma_map_single will convert the pointer to a page and t

[E1000-devel] E as ofertas continuam na REFRIMUR!!!

2012-10-25 Thread Refrimur
  Problemas para visualizar a mensagem? Acesse aqui   Clique para não receber nossos emails     -- Everyone hates slow websites. So do we.

[E1000-devel] dma_map_page and dma_map_single

2012-10-25 Thread ratheesh kannoth
Hi , I was looking at tx_map ( igb-3.3.6 ) in igb driver. I could see that dma_map_single is used for first buffer and dma_map_page is used for the fragments. What is the real difference between these api ? we can replace dma_map_single with dma_map_page. then why we used dma_map_single here

Re: [E1000-devel] [PATCH] ixgbe: reduce PTP rx path overhead

2012-10-25 Thread Jeff Kirsher
On Wed, 2012-10-24 at 17:17 +0200, Jiri Benc wrote: > Hw timestamping code caused performance regression in ixgbe driver > when the > timestamping is not enabled. The culprit is IXGBE_READ_REG call in the > rx > path which is executed for every received skb. This call is not needed > when > the tim