Lines Matching refs:upper
775 struct net_device *upper; in prestera_netdev_port_event() local
784 upper = cu_info->upper_dev; in prestera_netdev_port_event()
785 if (!netif_is_bridge_master(upper) && in prestera_netdev_port_event()
786 !netif_is_lag_master(upper)) { in prestera_netdev_port_event()
794 if (netdev_has_any_upper_dev(upper)) { in prestera_netdev_port_event()
799 if (netif_is_lag_master(upper) && in prestera_netdev_port_event()
800 !prestera_lag_master_check(upper, cu_info->upper_info, extack)) in prestera_netdev_port_event()
802 if (netif_is_lag_master(upper) && vlan_uses_dev(dev)) { in prestera_netdev_port_event()
807 if (netif_is_lag_port(dev) && is_vlan_dev(upper) && in prestera_netdev_port_event()
808 !netif_is_lag_master(vlan_dev_real_dev(upper))) { in prestera_netdev_port_event()
816 upper = cu_info->upper_dev; in prestera_netdev_port_event()
817 if (netif_is_bridge_master(upper)) { in prestera_netdev_port_event()
819 return prestera_bridge_port_join(upper, port, in prestera_netdev_port_event()
822 prestera_bridge_port_leave(upper, port); in prestera_netdev_port_event()
823 } else if (netif_is_lag_master(upper)) { in prestera_netdev_port_event()
825 return prestera_lag_port_add(port, upper); in prestera_netdev_port_event()