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
Problemas para visualizar a mensagem? Acesse aqui
Clique para não receber nossos emails
--
Everyone hates slow websites. So do we.
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
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