Skip to content

Commit

Permalink
openvswitch: add NETIF_F_HW_VLAN_STAG_TX to internal dev
Browse files Browse the repository at this point in the history
The internal device does support 802.1AD offloading since 018c1dd
("openvswitch: 802.1AD Flow handling, actions, vlan parsing, netlink
attributes").

Signed-off-by: Jiri Benc <[email protected]>
Acked-by: Pravin B Shelar <[email protected]>
Acked-by: Eric Garver <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
  • Loading branch information
Jiri Benc authored and davem330 committed Oct 13, 2016
1 parent 72ec108 commit 3145c03
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion net/openvswitch/vport-internal_dev.c
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ static void do_setup(struct net_device *netdev)

netdev->vlan_features = netdev->features;
netdev->hw_enc_features = netdev->features;
netdev->features |= NETIF_F_HW_VLAN_CTAG_TX;
netdev->features |= NETIF_F_HW_VLAN_CTAG_TX | NETIF_F_HW_VLAN_STAG_TX;
netdev->hw_features = netdev->features & ~NETIF_F_LLTX;

eth_hw_addr_random(netdev);
Expand Down

0 comments on commit 3145c03

Please sign in to comment.