|
|
1632d2 |
Date: Thu, 18 Jun 2020 19:42:49 -0400
|
|
|
1632d2 |
From: Jonathan Toppins <jtoppins@redhat.com>
|
|
|
1632d2 |
To: rhkernel-list@redhat.com
|
|
|
1632d2 |
Cc: darcari@redhat.com, nhorman@redhat.com, linville@redhat.com
|
|
|
1632d2 |
Subject: [PATCH RHEL-8.3 14/16] ionic: export features for vlans to use
|
|
|
1632d2 |
|
|
|
1632d2 |
Set up vlan_features for use by any vlans above us.
|
|
|
1632d2 |
|
|
|
1632d2 |
Fixes: beead698b173 ("ionic: Add the basic NDO callbacks for netdev support")
|
|
|
1632d2 |
Signed-off-by: Shannon Nelson <snelson@pensando.io>
|
|
|
1632d2 |
Acked-by: Jonathan Toppins <jtoppins@redhat.com>
|
|
|
1632d2 |
Signed-off-by: David S. Miller <davem@davemloft.net>
|
|
|
1632d2 |
(cherry picked from commit ef7232da6bcd4294cbb2d424bc35885721570f01)
|
|
|
1632d2 |
Bugzilla: 1846868
|
|
|
1632d2 |
Build Info: https://brewweb.engineering.redhat.com/brew/taskinfo?taskID=29498383
|
|
|
1632d2 |
Tested: QE tested devel kernel as well as the partner
|
|
|
1632d2 |
Signed-off-by: Jonathan Toppins <jtoppins@redhat.com>
|
|
|
1632d2 |
---
|
|
|
1632d2 |
drivers/net/ethernet/pensando/ionic/ionic_lif.c | 1 +
|
|
|
1632d2 |
1 file changed, 1 insertion(+)
|
|
|
1632d2 |
|
|
|
1632d2 |
diff --git a/drivers/net/ethernet/pensando/ionic/ionic_lif.c b/drivers/net/ethernet/pensando/ionic/ionic_lif.c
|
|
|
1632d2 |
index 9d8c969f21cb..7cc1ef657b10 100644
|
|
|
1632d2 |
--- a/drivers/net/ethernet/pensando/ionic/ionic_lif.c
|
|
|
1632d2 |
+++ b/drivers/net/ethernet/pensando/ionic/ionic_lif.c
|
|
|
1632d2 |
@@ -1245,6 +1245,7 @@ static int ionic_init_nic_features(struct ionic_lif *lif)
|
|
|
1632d2 |
|
|
|
1632d2 |
netdev->hw_features |= netdev->hw_enc_features;
|
|
|
1632d2 |
netdev->features |= netdev->hw_features;
|
|
|
1632d2 |
+ netdev->vlan_features |= netdev->features & ~NETIF_F_VLAN_FEATURES;
|
|
|
1632d2 |
|
|
|
1632d2 |
netdev->priv_flags |= IFF_UNICAST_FLT |
|
|
|
1632d2 |
IFF_LIVE_ADDR_CHANGE;
|
|
|
1632d2 |
--
|
|
|
1632d2 |
2.16.4
|
|
|
1632d2 |
|
|
|
1632d2 |
|