net: mvneta: Implement software TSO
authorEzequiel Garcia <ezequiel.garcia@free-electrons.com>
Mon, 19 May 2014 16:59:55 +0000 (13:59 -0300)
committerDavid S. Miller <davem@davemloft.net>
Thu, 22 May 2014 18:57:16 +0000 (14:57 -0400)
commit2adb719d74f6e174071e5c913290b9bbd8c2c0e8
tree2a2e08ef568a16634a85b035a6908fb396e8d06e
parente19d2dda90c5305a201282317aa492ce0337aa62
net: mvneta: Implement software TSO

Now that the TSO helper API has been introduced, this commit makes use
of it to implement the TSO in this driver.

Using iperf to test and vmstat to check the CPU usage, shows a substantial
CPU usage drop when TSO is on (~15% vs. ~25%). HTTP-based tests performed
by Willy Tarreau have shown performance improvements.

Signed-off-by: Ezequiel Garcia <ezequiel.garcia@free-electrons.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/marvell/mvneta.c