Home
last modified time | relevance | path

Searched refs:upper_dev (Results 1 – 16 of 16) sorted by relevance

/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum.c3413 struct net_device *upper_dev; in mlxsw_sp_port_lag_uppers_cleanup() local
3419 netdev_for_each_upper_dev_rcu(lag_dev, upper_dev, iter) { in mlxsw_sp_port_lag_uppers_cleanup()
3420 if (!netif_is_bridge_port(upper_dev)) in mlxsw_sp_port_lag_uppers_cleanup()
3422 br_dev = netdev_master_upper_dev_get(upper_dev); in mlxsw_sp_port_lag_uppers_cleanup()
3423 mlxsw_sp_port_bridge_leave(mlxsw_sp_port, upper_dev, br_dev); in mlxsw_sp_port_lag_uppers_cleanup()
3845 struct net_device *upper_dev; in mlxsw_sp_netdevice_port_upper_event() local
3856 upper_dev = info->upper_dev; in mlxsw_sp_netdevice_port_upper_event()
3857 if (!is_vlan_dev(upper_dev) && in mlxsw_sp_netdevice_port_upper_event()
3858 !netif_is_lag_master(upper_dev) && in mlxsw_sp_netdevice_port_upper_event()
3859 !netif_is_bridge_master(upper_dev) && in mlxsw_sp_netdevice_port_upper_event()
[all …]
Dspectrum_router.c1758 if (netif_is_l3_master(chup->upper_dev)) in mlxsw_sp_netdevice_ipip_ol_event()
1791 if (netif_is_l3_master(chup->upper_dev)) in __mlxsw_sp_netdevice_ipip_ul_event()
/drivers/infiniband/core/
Droce_gid_mgmt.c684 cmds[0].ndev = changeupper_info->upper_dev; in ndev_event_unlink()
709 cmds[0].filter_ndev = changeupper_info->upper_dev; in ndev_event_link()
713 cmds[1].ndev = changeupper_info->upper_dev; in ndev_event_link()
714 cmds[1].filter_ndev = changeupper_info->upper_dev; in ndev_event_link()
718 cmds[2].ndev = changeupper_info->upper_dev; in ndev_event_link()
719 cmds[2].filter_ndev = changeupper_info->upper_dev; in ndev_event_link()
/drivers/net/ethernet/mscc/
Docelot_net.c923 if (netif_is_bridge_master(info->upper_dev)) { in ocelot_netdevice_port_event()
926 info->upper_dev); in ocelot_netdevice_port_event()
929 info->upper_dev); in ocelot_netdevice_port_event()
932 if (netif_is_lag_master(info->upper_dev)) { in ocelot_netdevice_port_event()
935 info->upper_dev); in ocelot_netdevice_port_event()
938 info->upper_dev); in ocelot_netdevice_port_event()
957 netif_is_lag_master(info->upper_dev)) { in ocelot_netdevice_event()
/drivers/net/wireless/
Dvirt_wifi.c649 struct net_device *upper_dev; in virt_wifi_event() local
661 upper_dev = priv->upperdev; in virt_wifi_event()
663 upper_dev->rtnl_link_ops->dellink(upper_dev, &list_kill); in virt_wifi_event()
/drivers/staging/fsl-dpaa2/ethsw/
Dethsw.c1221 struct net_device *upper_dev) in dpaa2_switch_port_bridge_join() argument
1232 (ethsw->ports[i]->bridge_dev != upper_dev)) { in dpaa2_switch_port_bridge_join()
1238 netdev_for_each_lower_dev(upper_dev, other_dev, iter) { in dpaa2_switch_port_bridge_join()
1253 port_priv->bridge_dev = upper_dev; in dpaa2_switch_port_bridge_join()
1276 struct net_device *upper_dev; in dpaa2_switch_port_netdevice_event() local
1284 upper_dev = info->upper_dev; in dpaa2_switch_port_netdevice_event()
1285 if (netif_is_bridge_master(upper_dev)) { in dpaa2_switch_port_netdevice_event()
1287 err = dpaa2_switch_port_bridge_join(netdev, upper_dev); in dpaa2_switch_port_netdevice_event()
/drivers/infiniband/hw/i40iw/
Di40iw_utils.c152 struct net_device *upper_dev; in i40iw_inetaddr_event() local
167 upper_dev = netdev_master_upper_dev_get(netdev); in i40iw_inetaddr_event()
171 if (upper_dev) { in i40iw_inetaddr_event()
175 in = __in_dev_get_rcu(upper_dev); in i40iw_inetaddr_event()
/drivers/net/ethernet/mellanox/mlx5/core/en/rep/
Dbond.c257 lag_dev = info->upper_dev; in mlx5e_rep_changeupper_event()
/drivers/net/ethernet/chelsio/cxgb3/
Dcxgb3_offload.c190 struct net_device *upper_dev; in get_iff_from_mac() local
192 while ((upper_dev = in get_iff_from_mac()
194 dev = upper_dev; in get_iff_from_mac()
/drivers/net/ethernet/netronome/nfp/flower/
Dlag_conf.c509 struct net_device *upper = info->upper_dev, *iter_netdev; in nfp_fl_lag_changeupper_event()
Dtunnel_conf.c1236 struct net_device *upper = info->upper_dev; in nfp_tunnel_mac_event_handler()
/drivers/net/ethernet/mellanox/mlx5/core/
Dlag.c363 struct net_device *upper = info->upper_dev, *ndev_tmp; in mlx5_handle_changeupper_event()
/drivers/net/ethernet/ti/
Dcpsw_new.c1569 if (netif_is_bridge_master(info->upper_dev)) { in cpsw_netdevice_event()
1572 info->upper_dev); in cpsw_netdevice_event()
/drivers/net/wireless/quantenna/qtnfmac/
Dcore.c689 brdev = info->upper_dev; in qtnf_core_netdevice_event()
/drivers/net/ethernet/marvell/prestera/
Dprestera_switchdev.c545 upper = info->upper_dev; in prestera_bridge_port_event()
/drivers/net/ethernet/rocker/
Drocker_main.c3155 info->upper_dev); in rocker_netdevice_event()
3161 info->upper_dev); in rocker_netdevice_event()