Lines Matching refs:lowerdev
212 struct net_device *lowerdev; member
422 skb->dev = priv->lowerdev; in virt_wifi_start_xmit()
456 return priv->lowerdev->ifindex; in virt_wifi_net_device_get_iflink()
521 priv->lowerdev = __dev_get_by_index(src_net, in virt_wifi_newlink()
524 if (!priv->lowerdev) in virt_wifi_newlink()
527 dev->mtu = priv->lowerdev->mtu; in virt_wifi_newlink()
528 else if (dev->mtu > priv->lowerdev->mtu) in virt_wifi_newlink()
531 err = netdev_rx_handler_register(priv->lowerdev, virt_wifi_rx_handler, in virt_wifi_newlink()
534 dev_err(&priv->lowerdev->dev, in virt_wifi_newlink()
539 eth_hw_addr_inherit(dev, priv->lowerdev); in virt_wifi_newlink()
540 netif_stacked_transfer_operstate(priv->lowerdev, dev); in virt_wifi_newlink()
542 SET_NETDEV_DEV(dev, &priv->lowerdev->dev); in virt_wifi_newlink()
555 dev_err(&priv->lowerdev->dev, "can't register_netdevice: %d\n", in virt_wifi_newlink()
560 err = netdev_upper_dev_link(priv->lowerdev, dev, extack); in virt_wifi_newlink()
562 dev_err(&priv->lowerdev->dev, "can't netdev_upper_dev_link: %d\n", in virt_wifi_newlink()
581 netdev_rx_handler_unregister(priv->lowerdev); in virt_wifi_newlink()
599 netdev_rx_handler_unregister(priv->lowerdev); in virt_wifi_dellink()
600 netdev_upper_dev_unlink(priv->lowerdev, dev); in virt_wifi_dellink()