/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlxsw/ |
D | spectrum.c | 3413 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 …]
|
/kernel/linux/linux-5.10/net/dsa/ |
D | dsa_priv.h | 206 struct net_device *upper_dev; in dsa_untag_bridge_pvid() local 248 upper_dev = __vlan_find_dev_deep_rcu(br, htons(proto), vid); in dsa_untag_bridge_pvid() 249 if (upper_dev) in dsa_untag_bridge_pvid()
|
D | port.c | 209 struct net_device *upper_dev, *slave = dp->slave; in dsa_port_can_apply_vlan_filtering() local 213 netdev_for_each_upper_dev_rcu(slave, upper_dev, iter) { in dsa_port_can_apply_vlan_filtering() 217 if (!is_vlan_dev(upper_dev)) in dsa_port_can_apply_vlan_filtering() 220 vid = vlan_dev_vlan_id(upper_dev); in dsa_port_can_apply_vlan_filtering() 229 upper_dev->name); in dsa_port_can_apply_vlan_filtering()
|
D | slave.c | 311 struct net_device *upper_dev; in dsa_slave_vlan_check_for_8021q_uppers() local 314 netdev_for_each_upper_dev_rcu(slave, upper_dev, iter) { in dsa_slave_vlan_check_for_8021q_uppers() 317 if (!is_vlan_dev(upper_dev)) in dsa_slave_vlan_check_for_8021q_uppers() 320 vid = vlan_dev_vlan_id(upper_dev); in dsa_slave_vlan_check_for_8021q_uppers() 1949 if (netif_is_bridge_master(info->upper_dev)) { in dsa_slave_changeupper() 1951 err = dsa_port_bridge_join(dp, info->upper_dev); in dsa_slave_changeupper() 1956 dsa_port_bridge_leave(dp, info->upper_dev); in dsa_slave_changeupper() 1987 netif_is_bridge_master(info->upper_dev) && info->linking) { in dsa_prevent_bridging_8021q_upper() 2011 vid = vlan_dev_vlan_id(info->upper_dev); in dsa_slave_check_8021q_upper() 2039 if (is_vlan_dev(info->upper_dev)) in dsa_slave_netdevice_event()
|
/kernel/linux/linux-5.10/drivers/infiniband/core/ |
D | roce_gid_mgmt.c | 684 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()
|
/kernel/linux/linux-5.10/net/8021q/ |
D | vlan_core.c | 89 struct net_device *upper_dev; in __vlan_find_dev_deep_rcu() local 91 upper_dev = netdev_master_upper_dev_get_rcu(dev); in __vlan_find_dev_deep_rcu() 92 if (upper_dev) in __vlan_find_dev_deep_rcu() 93 return __vlan_find_dev_deep_rcu(upper_dev, in __vlan_find_dev_deep_rcu()
|
/kernel/linux/linux-5.10/net/core/ |
D | dev.c | 6959 static int ____netdev_has_upper_dev(struct net_device *upper_dev, in ____netdev_has_upper_dev() argument 6964 return upper_dev == dev; in ____netdev_has_upper_dev() 6977 struct net_device *upper_dev) in netdev_has_upper_dev() argument 6980 .data = (void *)upper_dev, in netdev_has_upper_dev() 7001 struct net_device *upper_dev) in netdev_has_upper_dev_all_rcu() argument 7004 .data = (void *)upper_dev, in netdev_has_upper_dev_all_rcu() 7248 struct net_device *upper_dev) in __netdev_has_upper_dev() argument 7252 .data = (void *)upper_dev, in __netdev_has_upper_dev() 7770 struct net_device *upper_dev, in __netdev_adjacent_dev_link_lists() argument 7777 ret = __netdev_adjacent_dev_insert(dev, upper_dev, up_list, in __netdev_adjacent_dev_link_lists() [all …]
|
D | rtnetlink.c | 1537 const struct net_device *upper_dev; in put_master_ifindex() local 1542 upper_dev = netdev_master_upper_dev_get_rcu(dev); in put_master_ifindex() 1543 if (upper_dev) in put_master_ifindex() 1544 ret = nla_put_u32(skb, IFLA_MASTER, upper_dev->ifindex); in put_master_ifindex() 2496 struct net_device *upper_dev = netdev_master_upper_dev_get(dev); in do_set_master() local 2500 if (upper_dev) { in do_set_master() 2501 if (upper_dev->ifindex == ifindex) in do_set_master() 2503 ops = upper_dev->netdev_ops; in do_set_master() 2505 err = ops->ndo_del_slave(upper_dev, dev); in do_set_master() 2514 upper_dev = __dev_get_by_index(dev_net(dev), ifindex); in do_set_master() [all …]
|
/kernel/linux/linux-5.10/drivers/net/wireless/ |
D | virt_wifi.c | 626 struct net_device *upper_dev; in virt_wifi_event() local 638 upper_dev = priv->upperdev; in virt_wifi_event() 640 upper_dev->rtnl_link_ops->dellink(upper_dev, &list_kill); in virt_wifi_event()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/mscc/ |
D | ocelot_net.c | 923 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()
|
/kernel/linux/linux-5.10/drivers/staging/fsl-dpaa2/ethsw/ |
D | ethsw.c | 1221 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()
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/i40iw/ |
D | i40iw_utils.c | 152 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()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/en/rep/ |
D | bond.c | 257 lag_dev = info->upper_dev; in mlx5e_rep_changeupper_event()
|
/kernel/linux/linux-5.10/net/bridge/ |
D | br_vlan.c | 1496 struct net_device *upper_dev, in br_vlan_upper_change() argument 1501 if (!br_vlan_is_bind_vlan_dev(upper_dev)) in br_vlan_upper_change() 1505 br_vlan_set_vlan_dev_state(br, upper_dev); in br_vlan_upper_change() 1579 br_vlan_upper_change(dev, info->upper_dev, info->linking); in br_vlan_bridge_event()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/cxgb3/ |
D | cxgb3_offload.c | 190 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()
|
/kernel/linux/linux-5.10/include/linux/ |
D | netdevice.h | 2751 struct net_device *upper_dev; /* new upper dev */ member 4614 bool netdev_has_upper_dev(struct net_device *dev, struct net_device *upper_dev); 4638 int (*fn)(struct net_device *upper_dev, 4643 struct net_device *upper_dev); 4688 int netdev_upper_dev_link(struct net_device *dev, struct net_device *upper_dev, 4691 struct net_device *upper_dev, 4695 struct net_device *upper_dev);
|
/kernel/linux/linux-5.10/drivers/net/ethernet/netronome/nfp/flower/ |
D | lag_conf.c | 509 struct net_device *upper = info->upper_dev, *iter_netdev; in nfp_fl_lag_changeupper_event()
|
D | tunnel_conf.c | 1232 struct net_device *upper = info->upper_dev; in nfp_tunnel_mac_event_handler()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/ |
D | lag.c | 363 struct net_device *upper = info->upper_dev, *ndev_tmp; in mlx5_handle_changeupper_event()
|
/kernel/linux/linux-5.10/net/ipv4/ |
D | fib_frontend.c | 1502 if (upper_info->upper_dev && in fib_netdev_event() 1503 netif_is_l3_master(upper_info->upper_dev)) in fib_netdev_event()
|
/kernel/linux/linux-5.10/drivers/net/wireless/quantenna/qtnfmac/ |
D | core.c | 689 brdev = info->upper_dev; in qtnf_core_netdevice_event()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/ti/ |
D | cpsw_new.c | 1569 if (netif_is_bridge_master(info->upper_dev)) { in cpsw_netdevice_event() 1572 info->upper_dev); in cpsw_netdevice_event()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/marvell/prestera/ |
D | prestera_switchdev.c | 545 upper = info->upper_dev; in prestera_bridge_port_event()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/rocker/ |
D | rocker_main.c | 3155 info->upper_dev); in rocker_netdevice_event() 3161 info->upper_dev); in rocker_netdevice_event()
|
/kernel/linux/linux-5.10/net/ipv6/ |
D | addrconf.c | 3681 if (info->upper_dev && netif_is_l3_master(info->upper_dev)) in addrconf_notify()
|