| /Linux-v6.1/net/switchdev/ |
| D | switchdev.c | 387 struct net_device *lower_dev; member 390 static int switchdev_lower_dev_walk(struct net_device *lower_dev, in switchdev_lower_dev_walk() argument 403 if (check_cb(lower_dev) && !foreign_dev_check_cb(lower_dev, dev)) { in switchdev_lower_dev_walk() 404 switchdev_priv->lower_dev = lower_dev; in switchdev_lower_dev_walk() 421 .lower_dev = NULL, in switchdev_lower_dev_find_rcu() 429 return switchdev_priv.lower_dev; in switchdev_lower_dev_find_rcu() 442 .lower_dev = NULL, in switchdev_lower_dev_find() 450 return switchdev_priv.lower_dev; in switchdev_lower_dev_find() 464 struct net_device *br, *lower_dev, *switchdev; in __switchdev_handle_fdb_event_to_device() local 474 netdev_for_each_lower_dev(dev, lower_dev, iter) { in __switchdev_handle_fdb_event_to_device() [all …]
|
| /Linux-v6.1/drivers/net/ethernet/netronome/nfp/ |
| D | nfp_net_repr.c | 194 skb->dev = repr->dst->u.port_info.lower_dev; in nfp_repr_xmit() 241 struct net_device *lower_dev; in nfp_repr_fix_features() local 243 lower_dev = repr->dst->u.port_info.lower_dev; in nfp_repr_fix_features() 245 lower_features = lower_dev->features; in nfp_repr_fix_features() 286 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()
|
| /Linux-v6.1/net/bridge/ |
| D | br_switchdev.c | 530 struct net_device *lower_dev, in br_switchdev_host_mdb_one() argument 546 switchdev_port_obj_add(lower_dev, &mdb.obj, NULL); in br_switchdev_host_mdb_one() 549 switchdev_port_obj_del(lower_dev, &mdb.obj); in br_switchdev_host_mdb_one() 557 struct net_device *lower_dev; in br_switchdev_host_mdb() local 560 netdev_for_each_lower_dev(dev, lower_dev, iter) in br_switchdev_host_mdb() 561 br_switchdev_host_mdb_one(dev, lower_dev, mp, type); in br_switchdev_host_mdb()
|
| /Linux-v6.1/drivers/net/ethernet/mellanox/mlx5/core/en/rep/ |
| D | bridge.c | 90 struct net_device *lower_dev; in mlx5_esw_bridge_lower_rep_vport_num_vhca_id_get() local 97 netdev_for_each_lower_dev(dev, lower_dev, iter) { in mlx5_esw_bridge_lower_rep_vport_num_vhca_id_get() 100 if (netif_is_bridge_master(lower_dev)) in mlx5_esw_bridge_lower_rep_vport_num_vhca_id_get() 103 rep = mlx5_esw_bridge_lower_rep_vport_num_vhca_id_get(lower_dev, esw, vport_num, in mlx5_esw_bridge_lower_rep_vport_num_vhca_id_get()
|
| /Linux-v6.1/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()
|
| /Linux-v6.1/drivers/net/ethernet/broadcom/bnxt/ |
| D | bnxt_vfr.c | 126 skb->dev = vf_rep->dst->u.port_info.lower_dev; in bnxt_vf_rep_xmit() 403 vf_rep->dst->u.port_info.lower_dev = bp->dev; in bnxt_alloc_vf_rep()
|
| /Linux-v6.1/include/net/ |
| D | dst_metadata.h | 18 struct net_device *lower_dev; member
|
| /Linux-v6.1/drivers/net/ethernet/mellanox/mlxsw/ |
| D | spectrum.c | 4081 static int mlxsw_sp_lower_dev_walk(struct net_device *lower_dev, in mlxsw_sp_lower_dev_walk() argument 4086 if (mlxsw_sp_port_dev_check(lower_dev)) { in mlxsw_sp_lower_dev_walk() 4087 priv->data = (void *)netdev_priv(lower_dev); in mlxsw_sp_lower_dev_walk() 4658 static int mlxsw_sp_netdevice_port_upper_event(struct net_device *lower_dev, in mlxsw_sp_netdevice_port_upper_event() argument 4715 !mlxsw_sp_rif_exists(mlxsw_sp, lower_dev)) { in mlxsw_sp_netdevice_port_upper_event() 4734 if (vlan_uses_dev(lower_dev) && in mlxsw_sp_netdevice_port_upper_event() 4741 if (netif_is_bridge_port(lower_dev) && is_vlan_dev(upper_dev)) { in mlxsw_sp_netdevice_port_upper_event() 4742 struct net_device *br_dev = netdev_master_upper_dev_get(lower_dev); in mlxsw_sp_netdevice_port_upper_event() 4763 lower_dev, in mlxsw_sp_netdevice_port_upper_event() 4768 lower_dev, in mlxsw_sp_netdevice_port_upper_event() [all …]
|
| /Linux-v6.1/drivers/infiniband/core/ |
| D | cache.c | 1377 static int get_lower_dev_vlan(struct net_device *lower_dev, in get_lower_dev_vlan() argument 1382 if (is_vlan_dev(lower_dev)) in get_lower_dev_vlan() 1383 *vlan_id = vlan_dev_vlan_id(lower_dev); in get_lower_dev_vlan()
|
| /Linux-v6.1/net/core/ |
| D | dev.c | 1584 struct net_device *lower_dev; in dev_disable_lro() local 1593 netdev_for_each_lower_dev(dev, lower_dev, iter) in dev_disable_lro() 1594 dev_disable_lro(lower_dev); in dev_disable_lro() 7783 struct net_device *lower_dev, in __netdev_adjacent_dev_set() argument 7788 adj = __netdev_find_adj(lower_dev, &upper_dev->adj_list.lower); in __netdev_adjacent_dev_set() 7792 adj = __netdev_find_adj(upper_dev, &lower_dev->adj_list.upper); in __netdev_adjacent_dev_set() 7798 struct net_device *lower_dev) in netdev_adjacent_dev_disable() argument 7800 __netdev_adjacent_dev_set(upper_dev, lower_dev, true); in netdev_adjacent_dev_disable() 7804 struct net_device *lower_dev) in netdev_adjacent_dev_enable() argument 7806 __netdev_adjacent_dev_set(upper_dev, lower_dev, false); in netdev_adjacent_dev_enable() [all …]
|
| /Linux-v6.1/drivers/net/ethernet/intel/ice/ |
| D | ice_eswitch.c | 308 dst->u.port_info.lower_dev = repr->netdev; in ice_eswitch_setup_reprs()
|
| /Linux-v6.1/include/linux/ |
| D | netdevice.h | 4706 int (*fn)(struct net_device *lower_dev, 4710 int (*fn)(struct net_device *lower_dev, 4738 struct net_device *lower_dev); 4739 void netdev_lower_state_changed(struct net_device *lower_dev,
|
| /Linux-v6.1/drivers/net/ethernet/rocker/ |
| D | rocker_main.c | 3056 static int rocker_lower_dev_walk(struct net_device *lower_dev, in rocker_lower_dev_walk() argument 3062 if (rocker_port_dev_check_under(lower_dev, data->rocker)) { in rocker_lower_dev_walk() 3063 data->port = netdev_priv(lower_dev); in rocker_lower_dev_walk()
|
| /Linux-v6.1/net/smc/ |
| D | smc_core.c | 1765 static int smc_vlan_by_tcpsk_walk(struct net_device *lower_dev, in smc_vlan_by_tcpsk_walk() argument 1770 if (is_vlan_dev(lower_dev)) { in smc_vlan_by_tcpsk_walk() 1771 *vlan_id = vlan_dev_vlan_id(lower_dev); in smc_vlan_by_tcpsk_walk()
|