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)
commitb17d15592df057437ad356b431bb876889940620
tree4a5cea45c8e87efe309ab8ad18c89b36c34a2e0a
parent3ed687823c298b2349ab1f3d38ac88d967b8eaea
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