net: mvpp2: Use relaxed I/O in data path
authorYan Markman <ymarkman@marvell.com>
Tue, 27 Mar 2018 14:49:05 +0000 (16:49 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 27 Mar 2018 17:15:36 +0000 (13:15 -0400)
commitcdcfeb0fb473e34e012b9a78b5cb377a6ad1434d
tree9a69f96db489cdc284532df1fd14e18c79499b24
parent5f75a1863eb737bc99e3ef3a5fbf9e7207775b97
net: mvpp2: Use relaxed I/O in data path

Use relaxed I/O on the hot path. This achieves significant performance
improvements. On a 10G link, this makes a basic iperf TCP test go from
an average of 4.5 Gbits/sec to about 9.40 Gbits/sec.

Signed-off-by: Yan Markman <ymarkman@marvell.com>
[Maxime: Commit message, cosmetic changes]
Signed-off-by: Maxime Chevallier <maxime.chevallier@bootlin.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/marvell/mvpp2.c