]> 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)
commit06e033bf85fbad6f6cd653e483f19bb865ae2c06
tree201e0a49903d5f373e65a28c5319681fff309c34
parent7481d1f495bff6f9a398e40a52d080d8af01cd07
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