net: mvpp2: software tso support
authorAntoine Ténart <antoine.tenart@free-electrons.com>
Wed, 23 Aug 2017 07:46:56 +0000 (09:46 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 24 Aug 2017 03:42:10 +0000 (20:42 -0700)
commit186cd4d4e4144803652212eb0b7413141469feee
tree1b27593712dd7a12cfe32fa24400a5005f9afb8e
parent85affd7e29e78dbf39f6b1e3a3ddf8432168e231
net: mvpp2: software tso support

The patch uses the tso API to implement the tso functionality in Marvell
PPv2 driver.

Using iperf and 10G ports, using TSO shows a significant performance
improvement by a factor 2 to reach around 9.5Gbps in TX; as well as a
significant CPU usage drop (from 25% to 15%).

Signed-off-by: Antoine Tenart <antoine.tenart@free-electrons.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/marvell/mvpp2.c