mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-13 12:06:49 +00:00
ionic: export features for vlans to use
commitef7232da6b
upstream. Set up vlan_features for use by any vlans above us. Fixes:beead698b1
("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> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
5d7e2852d7
commit
41389f739a
1 changed files with 1 additions and 0 deletions
|
@ -1187,6 +1187,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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue