be2net: Code changes in Tx path to use skb_dma_map/skb_dma_unmap
authorAjit Khaparde <ajitk@serverengines.com>
Fri, 4 Sep 2009 03:12:29 +0000 (03:12 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 7 Sep 2009 08:56:41 +0000 (01:56 -0700)
commitc190e3c8f6b22004b9cdc62ee5e7ba2fa5f74dc7
tree3ad85f57a622f6410cf897676687aa30b73cfddb
parent84517482e19bc775de7b3b4e998dee2f506bc34e
be2net: Code changes in Tx path to use skb_dma_map/skb_dma_unmap

Code changes to
 - In the tx completion processing, there were instances of unmapping a
memory as a page which was originally mapped as single. This patch takes care
of this by using skb_dma_map()/skb_dma_unmap() to map/unmap Tx buffers.
 - set gso_max_size to 65535. This was not done till now.

Signed-off-by: Ajit Khaparde <ajitk@serverengines.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/benet/be_main.c