]> git.baikalelectronics.ru Git - kernel.git/commit
net: pxa168_eth: Use dma_wmb/rmb where appropriate
authorJisheng Zhang <jszhang@marvell.com>
Fri, 13 May 2016 11:57:30 +0000 (19:57 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 16 May 2016 17:39:49 +0000 (13:39 -0400)
commitd46d6251be565275c932543b3ac51cc80d76bf6b
tree4a5cea45c8e87efe309ab8ad18c89b36c34a2e0a
parent40a91f1ab2f2c5b1ef8a7146f2a4a2a5a0fc74e0
net: pxa168_eth: Use dma_wmb/rmb where appropriate

Update the pxa168_eth driver to use the dma_rmb/wmb calls instead of the
full barriers in order to improve performance: reduced 97ns/39ns on
average in tx/rx path on Marvell BG4CT platform.

Signed-off-by: Jisheng Zhang <jszhang@marvell.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/marvell/pxa168_eth.c