]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit9cd031d76d0d5cc714e26930c8861b8e00ba7a5f
tree3ad85f57a622f6410cf897676687aa30b73cfddb
parent4699cb92c1ec4b9b2be01a959b10e5b72ae9318e
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