All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH net] ionic: export features for vlans to use
@ 2020-06-16 15:06 Shannon Nelson
  2020-06-17 18:42 ` Jonathan Toppins
  2020-06-17 22:12 ` David Miller
  0 siblings, 2 replies; 3+ messages in thread
From: Shannon Nelson @ 2020-06-16 15:06 UTC (permalink / raw)
  To: netdev, davem; +Cc: Shannon Nelson

Set up vlan_features for use by any vlans above us.

Fixes: beead698b173 ("ionic: Add the basic NDO callbacks for netdev support")
Signed-off-by: Shannon Nelson <snelson@pensando.io>
---
 drivers/net/ethernet/pensando/ionic/ionic_lif.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/net/ethernet/pensando/ionic/ionic_lif.c b/drivers/net/ethernet/pensando/ionic/ionic_lif.c
index bfadc4934702..8f29ef133743 100644
--- a/drivers/net/ethernet/pensando/ionic/ionic_lif.c
+++ b/drivers/net/ethernet/pensando/ionic/ionic_lif.c
@@ -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;
-- 
2.17.1


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH net] ionic: export features for vlans to use
  2020-06-16 15:06 [PATCH net] ionic: export features for vlans to use Shannon Nelson
@ 2020-06-17 18:42 ` Jonathan Toppins
  2020-06-17 22:12 ` David Miller
  1 sibling, 0 replies; 3+ messages in thread
From: Jonathan Toppins @ 2020-06-17 18:42 UTC (permalink / raw)
  To: Shannon Nelson, netdev, davem

On 6/16/20 11:06 AM, Shannon Nelson wrote:
> Set up vlan_features for use by any vlans above us.
> 
> Fixes: beead698b173 ("ionic: Add the basic NDO callbacks for netdev support")
> Signed-off-by: Shannon Nelson <snelson@pensando.io>
Acked-by: Jonathan Toppins <jtoppins@redhat.com>


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH net] ionic: export features for vlans to use
  2020-06-16 15:06 [PATCH net] ionic: export features for vlans to use Shannon Nelson
  2020-06-17 18:42 ` Jonathan Toppins
@ 2020-06-17 22:12 ` David Miller
  1 sibling, 0 replies; 3+ messages in thread
From: David Miller @ 2020-06-17 22:12 UTC (permalink / raw)
  To: snelson; +Cc: netdev

From: Shannon Nelson <snelson@pensando.io>
Date: Tue, 16 Jun 2020 08:06:26 -0700

> Set up vlan_features for use by any vlans above us.
> 
> Fixes: beead698b173 ("ionic: Add the basic NDO callbacks for netdev support")
> Signed-off-by: Shannon Nelson <snelson@pensando.io>

Applied, thanks.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-06-17 22:12 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-16 15:06 [PATCH net] ionic: export features for vlans to use Shannon Nelson
2020-06-17 18:42 ` Jonathan Toppins
2020-06-17 22:12 ` David Miller

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.