Skip to content

Commit ef7232d

Browse files
emuslndavem330
authored andcommitted
ionic: export features for vlans to use
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 <[email protected]> Acked-by: Jonathan Toppins <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent 3103b6f commit ef7232d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/net/ethernet/pensando/ionic/ionic_lif.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1246,6 +1246,7 @@ static int ionic_init_nic_features(struct ionic_lif *lif)
12461246

12471247
netdev->hw_features |= netdev->hw_enc_features;
12481248
netdev->features |= netdev->hw_features;
1249+
netdev->vlan_features |= netdev->features & ~NETIF_F_VLAN_FEATURES;
12491250

12501251
netdev->priv_flags |= IFF_UNICAST_FLT |
12511252
IFF_LIVE_ADDR_CHANGE;

0 commit comments

Comments
 (0)