net: stmmac: enable TSO for IPv6
authorNiklas Cassel <niklas.cassel@axis.com>
Mon, 19 Jun 2017 16:36:44 +0000 (18:36 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 20 Jun 2017 19:18:47 +0000 (15:18 -0400)
commit9edfa7dab8112a012b349b7937f5444fdc21e8f9
treee1e864aca1b6e75c4297a0b140b8623b3aec1c39
parentcb89ba243baf6e5f7ee1ddf491fa45e0cabccdd1
net: stmmac: enable TSO for IPv6

There is nothing in the IP that prevents us from enabling TSO for IPv6.

Before patch:
ftp fe80::2aa:bbff:fecc:1336%eth0
ftp> get /dev/zero
882512708 bytes received in 00:14 (56.11 MiB/s)

After patch:
ftp fe80::2aa:bbff:fecc:1336%eth0
ftp> get /dev/zero
1203326784 bytes received in 00:12 (94.52 MiB/s)

Signed-off-by: Niklas Cassel <niklas.cassel@axis.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c