macvlan: add offload features for encapsulation
authorDimitris Michailidis <dmichail@google.com>
Wed, 16 Aug 2017 21:34:46 +0000 (14:34 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 18 Aug 2017 23:06:54 +0000 (16:06 -0700)
commitf21e5077010acda73a60d85e416d6887d537e506
treefd30928b9e7732df7f6f77534b28b8c7e044e327
parentd2896116dbc7be7cabd5db414e008aef4a5e0a00
macvlan: add offload features for encapsulation

Currently macvlan devices do not set their hw_enc_features making
encapsulated Tx packets resort to SW fallbacks. Add encapsulation GSO
offloads to ->features as is done for the other GSOs and set
->hw_enc_features.

Signed-off-by: Dimitris Michailidis <dmichail@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/macvlan.c