net: Add support for IP ID mangling TSO in cases that require encapsulation
authorAlexander Duyck <aduyck@mirantis.com>
Wed, 20 Apr 2016 20:51:00 +0000 (16:51 -0400)
committerDavid S. Miller <davem@davemloft.net>
Thu, 21 Apr 2016 19:11:07 +0000 (15:11 -0400)
commit7f348a60762afd4cd0e4e7fa14cfa66331b7c30e
tree349da119ee9ce2e3d82ad602278b3de028bf6c80
parent1df845be658edfaa7ca6c09a43fea551cb0565b9
net: Add support for IP ID mangling TSO in cases that require encapsulation

This patch adds support for NETIF_F_TSO_MANGLEID if a given tunnel supports
NETIF_F_TSO.  This way if needed a device can then later enable the TSO
with IP ID mangling and the tunnels on top of that device can then also
make use of the IP ID mangling as well.

Signed-off-by: Alexander Duyck <aduyck@mirantis.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/dev.c