Home
last modified time | relevance | path

Searched refs:netif_is_lag_master (Results 1 – 25 of 26) sorted by relevance

12

/linux-6.6.21/drivers/net/ethernet/microchip/lan966x/
Dlan966x_switchdev.c321 if (netif_is_lag_master(info->upper_dev)) { in lan966x_port_changeupper()
345 if (netif_is_lag_master(info->upper_dev)) { in lan966x_port_prechangeupper()
367 !netif_is_lag_master(upper)) in lan966x_foreign_bridging_check()
391 } else if (netif_is_lag_master(dev)) { in lan966x_foreign_bridging_check()
439 if (netif_is_lag_master(dev)) { in lan966x_netdevice_port_event()
498 if (netif_is_lag_master(foreign_dev)) in lan966x_foreign_dev_check()
Dlan966x_fdb.c239 else if (netif_is_lag_master(fdb_work->orig_dev)) in lan966x_fdb_event_work()
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/en/rep/
Dbridge.c73 if (netif_is_lag_master(dev)) in mlx5_esw_bridge_rep_vport_num_vhca_id_get()
97 if (netif_is_lag_master(dev) || mlx5e_eswitch_rep(dev)) in mlx5_esw_bridge_lower_rep_vport_num_vhca_id_get()
127 if (netif_is_lag_master(dev)) in mlx5_esw_bridge_is_local()
179 if (!netif_is_bridge_master(upper) || !netif_is_lag_master(dev)) in mlx5_esw_bridge_changeupper_validate_netdev()
/linux-6.6.21/net/dsa/
Dmaster.c229 if (netif_is_lag_master(dev)) in dsa_master_ethtool_setup()
256 if (netif_is_lag_master(dev)) in dsa_master_ethtool_teardown()
369 if (!netif_is_lag_master(dev)) { in dsa_master_setup()
Dslave.c2849 } else if (netif_is_lag_master(info->upper_dev)) { in dsa_slave_changeupper()
2891 else if (netif_is_lag_master(info->upper_dev) && !info->linking) in dsa_slave_prechangeupper()
2909 if (!netif_is_lag_master(dev)) in dsa_slave_lag_changeupper()
2941 if (!netif_is_lag_master(dev)) in dsa_slave_lag_prechangeupper()
3110 if (netif_is_lag_master(info->upper_dev)) in dsa_master_prechangeupper_sanity_check()
3127 if (!netdev_uses_dsa(lag_dev) || !netif_is_lag_master(lag_dev)) in dsa_lag_master_prechangelower_sanity_check()
3308 if (netif_is_lag_master(info->upper_dev)) { in dsa_master_changeupper()
Ddsa.c1053 if (netif_is_lag_master(master)) in dsa_tree_master_admin_state_change()
1076 if (netif_is_lag_master(master)) in dsa_tree_master_oper_state_change()
Dport.c1418 dp->cpu_port_in_lag = netif_is_lag_master(master); in dsa_port_assign_master()
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/en/tc/act/
Dmirred.c86 if (uplink_upper && netif_is_lag_master(uplink_upper) && in get_fdb_out_dev()
89 } else if (netif_is_lag_master(out_dev)) { in get_fdb_out_dev()
/linux-6.6.21/drivers/net/ethernet/marvell/prestera/
Dprestera_main.c1119 !netif_is_lag_master(upper)) { in prestera_netdev_port_event()
1132 if (netif_is_lag_master(upper) && in prestera_netdev_port_event()
1135 if (netif_is_lag_master(upper) && vlan_uses_dev(dev)) { in prestera_netdev_port_event()
1141 !netif_is_lag_master(vlan_dev_real_dev(upper))) { in prestera_netdev_port_event()
1156 } else if (netif_is_lag_master(upper)) { in prestera_netdev_port_event()
1198 else if (netif_is_lag_master(dev)) in prestera_netdev_event_handler()
Dprestera_router.c419 } else if (netif_is_lag_master(dev)) { in prestera_dev_if_type()
Dprestera_switchdev.c921 if (netif_is_lag_master(br_port->dev)) { in prestera_br_mdb_mc_enable_sync()
Dprestera_hw.c2494 if (netif_is_lag_master(flood_domain_port->dev)) { in prestera_hw_flood_domain_ports_set()
/linux-6.6.21/net/core/
Dlink_watch.c113 if (netif_is_lag_port(dev) || netif_is_lag_master(dev)) in linkwatch_urgent_event()
/linux-6.6.21/drivers/net/ethernet/intel/ice/
Dice_eswitch_br.c25 netif_is_lag_master(dev); in ice_eswitch_br_is_dev_valid()
49 } else if (netif_is_ice(dev) || netif_is_lag_master(dev)) { in ice_eswitch_br_netdev_to_port()
53 if (netif_is_lag_master(dev)) in ice_eswitch_br_netdev_to_port()
1117 if (netif_is_lag_master(dev)) in ice_eswitch_br_port_link()
/linux-6.6.21/drivers/net/ethernet/mscc/
Docelot_net.c1473 if (netif_is_lag_master(info->upper_dev)) { in ocelot_netdevice_changeupper()
1521 if (netif_is_lag_master(info->upper_dev) && !info->linking) in ocelot_netdevice_prechangeupper()
1583 if (netif_is_lag_master(dev)) in ocelot_netdevice_event()
1594 if (netif_is_lag_master(dev)) in ocelot_netdevice_event()
/linux-6.6.21/drivers/net/ethernet/netronome/nfp/flower/
Daction.c143 if (!out_dev || !netif_is_lag_master(out_dev)) in nfp_fl_pre_lag()
211 } else if (netif_is_lag_master(out_dev) && in nfp_fl_output()
Dlag_conf.c547 if (!netif_is_lag_master(upper)) in nfp_fl_lag_changeupper_event()
Dmain.c91 } else if (netif_is_lag_master(netdev) && in nfp_flower_get_port_id_from_netdev()
/linux-6.6.21/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum.c4795 !netif_is_lag_master(upper_dev) && in mlxsw_sp_netdevice_port_upper_event()
4820 if (netif_is_lag_master(upper_dev) && in mlxsw_sp_netdevice_port_upper_event()
4824 if (netif_is_lag_master(upper_dev) && vlan_uses_dev(dev)) { in mlxsw_sp_netdevice_port_upper_event()
4829 !netif_is_lag_master(vlan_dev_real_dev(upper_dev))) { in mlxsw_sp_netdevice_port_upper_event()
4893 } else if (netif_is_lag_master(upper_dev)) { in mlxsw_sp_netdevice_port_upper_event()
5153 else if (netif_is_lag_master(real_dev)) in mlxsw_sp_netdevice_vlan_event()
5327 else if (netif_is_lag_master(dev)) in __mlxsw_sp_netdevice_event()
Dspectrum_span.c386 if (netif_is_lag_master(edev)) { in mlxsw_sp_span_entry_tunnel_parms_common()
Dspectrum_router.c9123 } else if (netif_is_lag_master(real_dev)) { in mlxsw_sp_inetaddr_vlan_event()
9265 else if (netif_is_lag_master(dev)) in __mlxsw_sp_inetaddr_event()
9529 if (netif_is_lag_master(dev) || in mlxsw_sp_router_netdevice_interesting()
9540 return netif_is_lag_master(vlan->real_dev) || in mlxsw_sp_router_netdevice_interesting()
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/lag/
Dlag.c991 if (!netif_is_lag_master(upper)) in mlx5_handle_changeupper_event()
1092 if (!netif_is_lag_master(ndev)) in mlx5_handle_changeinfodata_event()
/linux-6.6.21/drivers/net/dsa/ocelot/
Dfelix.c52 if (netif_is_lag_master(master)) { in felix_cpu_port_for_master()
451 if (netif_is_lag_master(master)) { in felix_tag_npi_change_master()
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/en/
Dtc_tun.c76 netif_is_lag_master(uplink_upper) && in get_route_and_out_devs()
Dtc_ct.c359 if (mlx5e_get_tc_tun(ndev) || netif_is_lag_master(ndev)) in mlx5_tc_ct_get_flow_source_match()

12