Home
last modified time | relevance | path

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

/linux-6.1.9/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.1.9/net/dsa/
Dmaster.c228 if (netif_is_lag_master(dev)) in dsa_master_ethtool_setup()
255 if (netif_is_lag_master(dev)) in dsa_master_ethtool_teardown()
265 if (netif_is_lag_master(dev)) in dsa_netdev_ops_set()
366 if (!netif_is_lag_master(dev)) { in dsa_master_setup()
Dslave.c2619 } else if (netif_is_lag_master(info->upper_dev)) { in dsa_slave_changeupper()
2661 else if (netif_is_lag_master(info->upper_dev) && !info->linking) in dsa_slave_prechangeupper()
2679 if (!netif_is_lag_master(dev)) in dsa_slave_lag_changeupper()
2711 if (!netif_is_lag_master(dev)) in dsa_slave_lag_prechangeupper()
2880 if (netif_is_lag_master(info->upper_dev)) in dsa_master_prechangeupper_sanity_check()
2897 if (!netdev_uses_dsa(lag_dev) || !netif_is_lag_master(lag_dev)) in dsa_lag_master_prechangelower_sanity_check()
3078 if (netif_is_lag_master(info->upper_dev)) { in dsa_master_changeupper()
Ddsa2.c1312 if (netif_is_lag_master(master)) in dsa_tree_master_admin_state_change()
1335 if (netif_is_lag_master(master)) in dsa_tree_master_oper_state_change()
Dport.c1412 dp->cpu_port_in_lag = netif_is_lag_master(master); in dsa_port_assign_master()
/linux-6.1.9/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()
93 if (netif_is_lag_master(dev) || mlx5e_eswitch_rep(dev)) in mlx5_esw_bridge_lower_rep_vport_num_vhca_id_get()
123 if (netif_is_lag_master(dev)) in mlx5_esw_bridge_is_local()
176 if (!netif_is_bridge_master(upper) || !netif_is_lag_master(dev)) in mlx5_esw_bridge_changeupper_validate_netdev()
/linux-6.1.9/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.1.9/drivers/net/ethernet/marvell/prestera/
Dprestera_main.c1135 !netif_is_lag_master(upper)) { in prestera_netdev_port_event()
1148 if (netif_is_lag_master(upper) && in prestera_netdev_port_event()
1151 if (netif_is_lag_master(upper) && vlan_uses_dev(dev)) { in prestera_netdev_port_event()
1157 !netif_is_lag_master(vlan_dev_real_dev(upper))) { in prestera_netdev_port_event()
1172 } else if (netif_is_lag_master(upper)) { in prestera_netdev_port_event()
1214 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.1.9/net/core/
Dlink_watch.c99 if (netif_is_lag_port(dev) || netif_is_lag_master(dev)) in linkwatch_urgent_event()
/linux-6.1.9/drivers/net/ethernet/intel/ice/
Dice_lag.c266 if (!netif_is_lag_master(info->upper_dev)) { in ice_lag_changeupper_event()
/linux-6.1.9/drivers/net/ethernet/mscc/
Docelot_net.c1483 if (netif_is_lag_master(info->upper_dev)) { in ocelot_netdevice_changeupper()
1531 if (netif_is_lag_master(info->upper_dev) && !info->linking) in ocelot_netdevice_prechangeupper()
1593 if (netif_is_lag_master(dev)) in ocelot_netdevice_event()
1604 if (netif_is_lag_master(dev)) in ocelot_netdevice_event()
/linux-6.1.9/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.c517 if (!netif_is_lag_master(upper)) in nfp_fl_lag_changeupper_event()
/linux-6.1.9/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum.c4679 !netif_is_lag_master(upper_dev) && in mlxsw_sp_netdevice_port_upper_event()
4701 if (netif_is_lag_master(upper_dev) && in mlxsw_sp_netdevice_port_upper_event()
4705 if (netif_is_lag_master(upper_dev) && vlan_uses_dev(dev)) { in mlxsw_sp_netdevice_port_upper_event()
4710 !netif_is_lag_master(vlan_dev_real_dev(upper_dev))) { in mlxsw_sp_netdevice_port_upper_event()
4770 } else if (netif_is_lag_master(upper_dev)) { in mlxsw_sp_netdevice_port_upper_event()
5003 else if (netif_is_lag_master(real_dev)) in mlxsw_sp_netdevice_vlan_event()
5181 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.c8682 else if (netif_is_lag_master(real_dev)) in mlxsw_sp_inetaddr_vlan_event()
8819 else if (netif_is_lag_master(dev)) in __mlxsw_sp_inetaddr_event()
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/lag/
Dlag.c958 if (!netif_is_lag_master(upper)) in mlx5_handle_changeupper_event()
1059 if (!netif_is_lag_master(ndev)) in mlx5_handle_changeinfodata_event()
/linux-6.1.9/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.1.9/drivers/net/ethernet/mellanox/mlx5/core/en/
Dtc_tun.c76 netif_is_lag_master(uplink_upper) && in get_route_and_out_devs()
Dtc_ct.c364 if (mlx5e_get_tc_tun(ndev) || netif_is_lag_master(ndev)) in mlx5_tc_ct_get_flow_source_match()
/linux-6.1.9/include/linux/
Dnetdevice.h5060 static inline bool netif_is_lag_master(const struct net_device *dev) in netif_is_lag_master() function