Lines Matching refs:remote_dev
3926 struct net_device *remote_dev = NULL; in __vxlan_dev_create() local
3959 remote_dev = __dev_get_by_index(net, dst->remote_ifindex); in __vxlan_dev_create()
3960 if (!remote_dev) { in __vxlan_dev_create()
3965 err = netdev_upper_dev_link(remote_dev, dev, extack); in __vxlan_dev_create()
3982 if (remote_dev) in __vxlan_dev_create()
3983 netdev_upper_dev_unlink(remote_dev, dev); in __vxlan_dev_create()
3989 if (remote_dev) in __vxlan_dev_create()
3990 dst->remote_dev = remote_dev; in __vxlan_dev_create()
3993 if (remote_dev) in __vxlan_dev_create()
3994 netdev_upper_dev_unlink(remote_dev, dev); in __vxlan_dev_create()
4355 if (dst->remote_dev == lowerdev) in vxlan_changelink()
4358 err = netdev_adjacent_change_prepare(dst->remote_dev, lowerdev, dev, in vxlan_changelink()
4379 netdev_adjacent_change_abort(dst->remote_dev, in vxlan_changelink()
4401 netdev_adjacent_change_abort(dst->remote_dev, in vxlan_changelink()
4411 netdev_adjacent_change_commit(dst->remote_dev, lowerdev, dev); in vxlan_changelink()
4412 if (lowerdev && lowerdev != dst->remote_dev) in vxlan_changelink()
4413 dst->remote_dev = lowerdev; in vxlan_changelink()
4430 if (vxlan->default_dst.remote_dev) in vxlan_dellink()
4431 netdev_upper_dev_unlink(vxlan->default_dst.remote_dev, dev); in vxlan_dellink()