]> git.baikalelectronics.ru Git - kernel.git/commit
net: ethernet: altera: TSE: Remove unneeded dma sync for tx buffers
authorLino Sanfilippo <LinoSanfilippo@gmx.de>
Wed, 30 Nov 2016 22:48:31 +0000 (23:48 +0100)
committerDavid S. Miller <davem@davemloft.net>
Fri, 2 Dec 2016 17:10:24 +0000 (12:10 -0500)
commit1b5a1b43ac0135d2966e9d4146d7aa5972f0e34e
tree201e0a49903d5f373e65a28c5319681fff309c34
parentc991fec776058c28211c8ccf26c03c97c8fae45d
net: ethernet: altera: TSE: Remove unneeded dma sync for tx buffers

An explicit dma sync for device directly after mapping as well as an
explicit dma sync for cpu directly before unmapping is unnecessary and
costly on the hotpath. So remove these calls.

Signed-off-by: Lino Sanfilippo <LinoSanfilippo@gmx.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/altera/altera_tse_main.c