diff options
author | Jiri Benc <jbenc@redhat.com> | 2016-10-10 11:02:44 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-10-13 10:03:23 -0400 |
commit | 3145c037e74926dea9241a3f68ada6f294b0119a (patch) | |
tree | a3f7fb73423abdb3423575b1021bf1cc21647ef1 /net | |
parent | 72ec108d701506fa6cd2f66ec5b15ea71df3c464 (diff) |
openvswitch: add NETIF_F_HW_VLAN_STAG_TX to internal dev
The internal device does support 802.1AD offloading since 018c1dda5ff1
("openvswitch: 802.1AD Flow handling, actions, vlan parsing, netlink
attributes").
Signed-off-by: Jiri Benc <jbenc@redhat.com>
Acked-by: Pravin B Shelar <pshelar@ovn.org>
Acked-by: Eric Garver <e@erig.me>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
-rw-r--r-- | net/openvswitch/vport-internal_dev.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/openvswitch/vport-internal_dev.c b/net/openvswitch/vport-internal_dev.c index 95c36147a6e1..e7da29021b38 100644 --- a/net/openvswitch/vport-internal_dev.c +++ b/net/openvswitch/vport-internal_dev.c | |||
@@ -176,7 +176,7 @@ static void do_setup(struct net_device *netdev) | |||
176 | 176 | ||
177 | netdev->vlan_features = netdev->features; | 177 | netdev->vlan_features = netdev->features; |
178 | netdev->hw_enc_features = netdev->features; | 178 | netdev->hw_enc_features = netdev->features; |
179 | netdev->features |= NETIF_F_HW_VLAN_CTAG_TX; | 179 | netdev->features |= NETIF_F_HW_VLAN_CTAG_TX | NETIF_F_HW_VLAN_STAG_TX; |
180 | netdev->hw_features = netdev->features & ~NETIF_F_LLTX; | 180 | netdev->hw_features = netdev->features & ~NETIF_F_LLTX; |
181 | 181 | ||
182 | eth_hw_addr_random(netdev); | 182 | eth_hw_addr_random(netdev); |