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)
commit69ad0dd7af22b61d9e0e68e56b6290121618b0fb
tree2d78c4b0b92428356dce84ef524df60cc40cbf32
parent4d48d58907169110fe6887775e8465475ef062ff
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