Home
last modified time | relevance | path

Searched refs:lower_dev (Results 1 – 11 of 11) sorted by relevance

/Linux-v5.4/net/switchdev/
Dswitchdev.c457 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 err = __switchdev_handle_port_obj_add(lower_dev, port_obj_info, in __switchdev_handle_port_obj_add()
511 struct net_device *lower_dev; in __switchdev_handle_port_obj_del() local
528 netdev_for_each_lower_dev(dev, lower_dev, iter) { in __switchdev_handle_port_obj_del()
529 err = __switchdev_handle_port_obj_del(lower_dev, port_obj_info, in __switchdev_handle_port_obj_del()
561 struct net_device *lower_dev; in __switchdev_handle_port_attr_set() local
578 netdev_for_each_lower_dev(dev, lower_dev, iter) { in __switchdev_handle_port_attr_set()
579 err = __switchdev_handle_port_attr_set(lower_dev, port_attr_info, in __switchdev_handle_port_attr_set()
/Linux-v5.4/drivers/net/ethernet/netronome/nfp/
Dnfp_net_repr.c193 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()
316 repr->dst->u.port_info.lower_dev = pf_netdev; in nfp_repr_init()
/Linux-v5.4/net/bridge/
Dbr_mdb.c343 struct net_device *lower_dev, in br_mdb_switchdev_host_port() argument
364 switchdev_port_obj_add(lower_dev, &mdb.obj, NULL); in br_mdb_switchdev_host_port()
367 switchdev_port_obj_del(lower_dev, &mdb.obj); in br_mdb_switchdev_host_port()
375 struct net_device *lower_dev; in br_mdb_switchdev_host() local
378 netdev_for_each_lower_dev(dev, lower_dev, iter) in br_mdb_switchdev_host()
379 br_mdb_switchdev_host_port(dev, lower_dev, entry, type); in br_mdb_switchdev_host()
/Linux-v5.4/drivers/net/wireless/
Dvirt_wifi.c603 struct net_device *lower_dev = netdev_notifier_info_to_dev(ptr); in virt_wifi_event() local
608 if (!netif_is_virt_wifi_dev(lower_dev)) in virt_wifi_event()
613 priv = rtnl_dereference(lower_dev->rx_handler_data); in virt_wifi_event()
/Linux-v5.4/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_vfr.c122 skb->dev = vf_rep->dst->u.port_info.lower_dev; in bnxt_vf_rep_xmit()
447 vf_rep->dst->u.port_info.lower_dev = bp->dev; in bnxt_vf_reps_create()
/Linux-v5.4/include/net/
Ddst_metadata.h15 struct net_device *lower_dev; member
/Linux-v5.4/net/core/
Ddev.c1476 struct net_device *lower_dev; in dev_disable_lro() local
1485 netdev_for_each_lower_dev(dev, lower_dev, iter) in dev_disable_lro()
1486 dev_disable_lro(lower_dev); in dev_disable_lro()
7426 struct net_device *lower_dev, in __netdev_adjacent_dev_set() argument
7431 adj = __netdev_find_adj(lower_dev, &upper_dev->adj_list.lower); in __netdev_adjacent_dev_set()
7435 adj = __netdev_find_adj(upper_dev, &lower_dev->adj_list.upper); in __netdev_adjacent_dev_set()
7441 struct net_device *lower_dev) in netdev_adjacent_dev_disable() argument
7443 __netdev_adjacent_dev_set(upper_dev, lower_dev, true); in netdev_adjacent_dev_disable()
7447 struct net_device *lower_dev) in netdev_adjacent_dev_enable() argument
7449 __netdev_adjacent_dev_set(upper_dev, lower_dev, false); in netdev_adjacent_dev_enable()
[all …]
/Linux-v5.4/drivers/infiniband/core/
Dcache.c1303 static int get_lower_dev_vlan(struct net_device *lower_dev, void *data) in get_lower_dev_vlan() argument
1307 if (is_vlan_dev(lower_dev)) in get_lower_dev_vlan()
1308 *vlan_id = vlan_dev_vlan_id(lower_dev); in get_lower_dev_vlan()
/Linux-v5.4/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum.c5458 static int mlxsw_sp_lower_dev_walk(struct net_device *lower_dev, void *data) in mlxsw_sp_lower_dev_walk() argument
5463 if (mlxsw_sp_port_dev_check(lower_dev)) { in mlxsw_sp_lower_dev_walk()
5464 *p_mlxsw_sp_port = netdev_priv(lower_dev); in mlxsw_sp_lower_dev_walk()
5953 static int mlxsw_sp_netdevice_port_upper_event(struct net_device *lower_dev, in mlxsw_sp_netdevice_port_upper_event() argument
6008 !mlxsw_sp_rif_find_by_dev(mlxsw_sp, lower_dev)) { in mlxsw_sp_netdevice_port_upper_event()
6026 lower_dev, in mlxsw_sp_netdevice_port_upper_event()
6031 lower_dev, in mlxsw_sp_netdevice_port_upper_event()
6091 static int mlxsw_sp_netdevice_port_event(struct net_device *lower_dev, in mlxsw_sp_netdevice_port_event() argument
6098 return mlxsw_sp_netdevice_port_upper_event(lower_dev, port_dev, in mlxsw_sp_netdevice_port_event()
/Linux-v5.4/include/linux/
Dnetdevice.h4296 int (*fn)(struct net_device *lower_dev,
4300 int (*fn)(struct net_device *lower_dev,
4328 struct net_device *lower_dev);
4329 void netdev_lower_state_changed(struct net_device *lower_dev,
/Linux-v5.4/drivers/net/ethernet/rocker/
Drocker_main.c3105 static int rocker_lower_dev_walk(struct net_device *lower_dev, void *_data) in rocker_lower_dev_walk() argument
3110 if (rocker_port_dev_check_under(lower_dev, data->rocker)) { in rocker_lower_dev_walk()
3111 data->port = netdev_priv(lower_dev); in rocker_lower_dev_walk()