]> git.baikalelectronics.ru Git - kernel.git/commit
ipvlan: set hw_enc_features like macvlan
authorBill Sommerfeld <wsommerfeld@google.com>
Thu, 15 Aug 2019 00:10:43 +0000 (17:10 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 16 Aug 2019 22:58:34 +0000 (15:58 -0700)
commitfbe20c3f6dbbe75d83225c6c23d70bd81a95a11a
tree50d954f19c9b8318ed68dae5e672d6ee99994cf3
parent051aee0879a26f4dbbbd80fbbf303059471182fd
ipvlan: set hw_enc_features like macvlan

Allow encapsulated packets sent to tunnels layered over ipvlan to use
offloads rather than forcing SW fallbacks.

Since commit d3e7beda1dded3d303c4 ("macvlan: add offload features for
encapsulation"), macvlan has set dev->hw_enc_features to include
everything in dev->features; do likewise in ipvlan.

Signed-off-by: Bill Sommerfeld <wsommerfeld@google.com>
Acked-by: Mahesh Bandewar <maheshb@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ipvlan/ipvlan_main.c