]> git.baikalelectronics.ru Git - kernel.git/commit
net: mv643xx_eth: Use dma_map_single() to map the skb fragments
authorEzequiel Garcia <ezequiel.garcia@free-electrons.com>
Mon, 19 May 2014 16:59:59 +0000 (13:59 -0300)
committerDavid S. Miller <davem@davemloft.net>
Thu, 22 May 2014 18:57:16 +0000 (14:57 -0400)
commit162768b759b223fa3ddd341dd4eac4c1e55be3a9
tree2d78c4b0b92428356dce84ef524df60cc40cbf32
parentecc9de4c5134e9244d66ec00352a6b654a40c46f
net: mv643xx_eth: Use dma_map_single() to map the skb fragments

Using dma_map_single() instead of skb_frag_dma_map() allows to unmap
all the descriptors using dma_unmap_single(). This change allows
to introduce software TSO in a less intrusive way.

Signed-off-by: Ezequiel Garcia <ezequiel.garcia@free-electrons.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/marvell/mv643xx_eth.c