/kernel/linux/linux-5.10/net/switchdev/ |
D | switchdev.c | 456 struct net_device *lower_dev; in __switchdev_handle_port_obj_add() local 477 netdev_for_each_lower_dev(dev, lower_dev, iter) { in __switchdev_handle_port_obj_add() 478 if (netif_is_bridge_master(lower_dev)) in __switchdev_handle_port_obj_add() 481 err = __switchdev_handle_port_obj_add(lower_dev, port_obj_info, in __switchdev_handle_port_obj_add() 514 struct net_device *lower_dev; in __switchdev_handle_port_obj_del() local 532 netdev_for_each_lower_dev(dev, lower_dev, iter) { in __switchdev_handle_port_obj_del() 533 if (netif_is_bridge_master(lower_dev)) in __switchdev_handle_port_obj_del() 536 err = __switchdev_handle_port_obj_del(lower_dev, port_obj_info, in __switchdev_handle_port_obj_del() 568 struct net_device *lower_dev; in __switchdev_handle_port_attr_set() local 586 netdev_for_each_lower_dev(dev, lower_dev, iter) { in __switchdev_handle_port_attr_set() [all …]
|
/kernel/linux/linux-5.10/drivers/net/ethernet/netronome/nfp/ |
D | nfp_net_repr.c | 193 skb->dev = repr->dst->u.port_info.lower_dev; in nfp_repr_xmit() 240 struct net_device *lower_dev; in nfp_repr_fix_features() local 242 lower_dev = repr->dst->u.port_info.lower_dev; in nfp_repr_fix_features() 244 lower_features = lower_dev->features; in nfp_repr_fix_features() 285 if (repr->dst->u.port_info.lower_dev != lower) in nfp_repr_transfer_features() 332 repr->dst->u.port_info.lower_dev = pf_netdev; in nfp_repr_init()
|
/kernel/linux/linux-5.10/net/bridge/ |
D | br_mdb.c | 504 struct net_device *lower_dev, in br_mdb_switchdev_host_port() argument 526 switchdev_port_obj_add(lower_dev, &mdb.obj, NULL); in br_mdb_switchdev_host_port() 529 switchdev_port_obj_del(lower_dev, &mdb.obj); in br_mdb_switchdev_host_port() 537 struct net_device *lower_dev; in br_mdb_switchdev_host() local 540 netdev_for_each_lower_dev(dev, lower_dev, iter) in br_mdb_switchdev_host() 541 br_mdb_switchdev_host_port(dev, lower_dev, mp, type); in br_mdb_switchdev_host()
|
/kernel/linux/linux-5.10/drivers/net/wireless/ |
D | virt_wifi.c | 624 struct net_device *lower_dev = netdev_notifier_info_to_dev(ptr); in virt_wifi_event() local 629 if (!netif_is_virt_wifi_dev(lower_dev)) in virt_wifi_event() 634 priv = rtnl_dereference(lower_dev->rx_handler_data); in virt_wifi_event()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/broadcom/bnxt/ |
D | bnxt_vfr.c | 122 skb->dev = vf_rep->dst->u.port_info.lower_dev; in bnxt_vf_rep_xmit() 449 vf_rep->dst->u.port_info.lower_dev = bp->dev; in bnxt_vf_reps_create()
|
/kernel/linux/linux-5.10/include/net/ |
D | dst_metadata.h | 15 struct net_device *lower_dev; member
|
/kernel/linux/linux-5.10/drivers/infiniband/core/ |
D | cache.c | 1384 static int get_lower_dev_vlan(struct net_device *lower_dev, in get_lower_dev_vlan() argument 1389 if (is_vlan_dev(lower_dev)) in get_lower_dev_vlan() 1390 *vlan_id = vlan_dev_vlan_id(lower_dev); in get_lower_dev_vlan()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlxsw/ |
D | spectrum.c | 3341 static int mlxsw_sp_lower_dev_walk(struct net_device *lower_dev, in mlxsw_sp_lower_dev_walk() argument 3346 if (mlxsw_sp_port_dev_check(lower_dev)) { in mlxsw_sp_lower_dev_walk() 3347 priv->data = (void *)netdev_priv(lower_dev); in mlxsw_sp_lower_dev_walk() 3838 static int mlxsw_sp_netdevice_port_upper_event(struct net_device *lower_dev, in mlxsw_sp_netdevice_port_upper_event() argument 3893 !mlxsw_sp_rif_exists(mlxsw_sp, lower_dev)) { in mlxsw_sp_netdevice_port_upper_event() 3911 lower_dev, in mlxsw_sp_netdevice_port_upper_event() 3916 lower_dev, in mlxsw_sp_netdevice_port_upper_event() 3976 static int mlxsw_sp_netdevice_port_event(struct net_device *lower_dev, in mlxsw_sp_netdevice_port_event() argument 3983 return mlxsw_sp_netdevice_port_upper_event(lower_dev, port_dev, in mlxsw_sp_netdevice_port_event()
|
/kernel/linux/linux-5.10/net/core/ |
D | dev.c | 1687 struct net_device *lower_dev; in dev_disable_lro() local 1696 netdev_for_each_lower_dev(dev, lower_dev, iter) in dev_disable_lro() 1697 dev_disable_lro(lower_dev); in dev_disable_lro() 7999 struct net_device *lower_dev, in __netdev_adjacent_dev_set() argument 8004 adj = __netdev_find_adj(lower_dev, &upper_dev->adj_list.lower); in __netdev_adjacent_dev_set() 8008 adj = __netdev_find_adj(upper_dev, &lower_dev->adj_list.upper); in __netdev_adjacent_dev_set() 8014 struct net_device *lower_dev) in netdev_adjacent_dev_disable() argument 8016 __netdev_adjacent_dev_set(upper_dev, lower_dev, true); in netdev_adjacent_dev_disable() 8020 struct net_device *lower_dev) in netdev_adjacent_dev_enable() argument 8022 __netdev_adjacent_dev_set(upper_dev, lower_dev, false); in netdev_adjacent_dev_enable() [all …]
|
/kernel/linux/linux-5.10/net/smc/ |
D | smc_core.c | 1212 static int smc_vlan_by_tcpsk_walk(struct net_device *lower_dev, in smc_vlan_by_tcpsk_walk() argument 1217 if (is_vlan_dev(lower_dev)) { in smc_vlan_by_tcpsk_walk() 1218 *vlan_id = vlan_dev_vlan_id(lower_dev); in smc_vlan_by_tcpsk_walk()
|
/kernel/linux/linux-5.10/include/linux/ |
D | netdevice.h | 4676 int (*fn)(struct net_device *lower_dev, 4680 int (*fn)(struct net_device *lower_dev, 4708 struct net_device *lower_dev); 4709 void netdev_lower_state_changed(struct net_device *lower_dev,
|
/kernel/linux/linux-5.10/drivers/net/ethernet/rocker/ |
D | rocker_main.c | 3105 static int rocker_lower_dev_walk(struct net_device *lower_dev, in rocker_lower_dev_walk() argument 3111 if (rocker_port_dev_check_under(lower_dev, data->rocker)) { in rocker_lower_dev_walk() 3112 data->port = netdev_priv(lower_dev); in rocker_lower_dev_walk()
|