Skip to content

Commit

Permalink
ionic: export features for vlans to use
Browse files Browse the repository at this point in the history
Set up vlan_features for use by any vlans above us.

Fixes: beead69 ("ionic: Add the basic NDO callbacks for netdev support")
Signed-off-by: Shannon Nelson <snelson@pensando.io>
Acked-by: Jonathan Toppins <jtoppins@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
emusln authored and davem330 committed Jun 17, 2020
1 parent 3103b6f commit ef7232d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/net/ethernet/pensando/ionic/ionic_lif.c
Original file line number Diff line number Diff line change
Expand Up @@ -1246,6 +1246,7 @@ static int ionic_init_nic_features(struct ionic_lif *lif)

netdev->hw_features |= netdev->hw_enc_features;
netdev->features |= netdev->hw_features;
netdev->vlan_features |= netdev->features & ~NETIF_F_VLAN_FEATURES;

netdev->priv_flags |= IFF_UNICAST_FLT |
IFF_LIVE_ADDR_CHANGE;
Expand Down

0 comments on commit ef7232d

Please sign in to comment.