Home
last modified time | relevance | path

Searched refs:netif_is_bridge_master (Results 1 – 17 of 17) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/ethernet/ti/
Dcpsw_switchdev.c173 bool cpu_port = netif_is_bridge_master(orig_dev); in cpsw_port_vlan_add()
220 bool cpu_port = netif_is_bridge_master(orig_dev); in cpsw_port_vlan_del()
261 bool cpu_port = netif_is_bridge_master(orig_dev); in cpsw_port_vlans_add()
309 bool cpu_port = netif_is_bridge_master(orig_dev); in cpsw_port_mdb_add()
335 bool cpu_port = netif_is_bridge_master(orig_dev); in cpsw_port_mdb_del()
Dcpsw_new.c1569 if (netif_is_bridge_master(info->upper_dev)) { in cpsw_netdevice_event()
/kernel/linux/linux-5.10/net/switchdev/
Dswitchdev.c478 if (netif_is_bridge_master(lower_dev)) in __switchdev_handle_port_obj_add()
533 if (netif_is_bridge_master(lower_dev)) in __switchdev_handle_port_obj_del()
587 if (netif_is_bridge_master(lower_dev)) in __switchdev_handle_port_attr_set()
/kernel/linux/linux-5.10/drivers/net/ethernet/marvell/prestera/
Dprestera_switchdev.c549 if (!netif_is_bridge_master(upper)) { in prestera_bridge_port_event()
564 if (!netif_is_bridge_master(upper)) in prestera_bridge_port_event()
862 if (!netif_is_bridge_master(upper)) in prestera_switchdev_event()
1032 if (netif_is_bridge_master(dev)) in prestera_port_vlans_add()
1084 if (netif_is_bridge_master(dev)) in prestera_port_vlans_del()
/kernel/linux/linux-5.10/net/bridge/
Dbr_vlan.c1325 else if (netif_is_bridge_master(dev)) in br_vlan_get_pvid()
1343 else if (netif_is_bridge_master(dev)) in br_vlan_get_pvid_rcu()
1364 else if (netif_is_bridge_master(dev)) in br_vlan_get_info()
1790 if (!netif_is_bridge_master(dev) && !netif_is_bridge_port(dev)) in br_vlan_dump_dev()
1793 if (netif_is_bridge_master(dev)) { in br_vlan_dump_dev()
1945 if (netif_is_bridge_master(dev)) { in br_vlan_rtm_process_one()
2059 if (!netif_is_bridge_master(dev) && !netif_is_bridge_port(dev)) { in br_vlan_rtm_process()
Dbr_fdb.c130 if (!netif_is_bridge_master(br_dev)) in br_fdb_find_port()
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum.c3859 !netif_is_bridge_master(upper_dev) && in mlxsw_sp_netdevice_port_upper_event()
3867 if (netif_is_bridge_master(upper_dev) && in mlxsw_sp_netdevice_port_upper_event()
3873 (!netif_is_bridge_master(upper_dev) || in mlxsw_sp_netdevice_port_upper_event()
3908 if (netif_is_bridge_master(upper_dev)) { in mlxsw_sp_netdevice_port_upper_event()
4029 if (!netif_is_bridge_master(upper_dev) && in mlxsw_sp_netdevice_port_vlan_event()
4036 if (netif_is_bridge_master(upper_dev) && in mlxsw_sp_netdevice_port_vlan_event()
4042 (!netif_is_bridge_master(upper_dev) || in mlxsw_sp_netdevice_port_vlan_event()
4056 if (netif_is_bridge_master(upper_dev)) { in mlxsw_sp_netdevice_port_vlan_event()
4156 else if (netif_is_bridge_master(real_dev)) in mlxsw_sp_netdevice_vlan_event()
4249 if (!netif_is_bridge_master(upper_dev)) in mlxsw_sp_netdevice_vxlan_event()
[all …]
Dspectrum_switchdev.c1216 if (netif_is_bridge_master(orig_dev)) { in mlxsw_sp_port_vlans_add()
1843 if (netif_is_bridge_master(orig_dev)) in mlxsw_sp_port_vlans_del()
2821 if (!netif_is_bridge_master(br_dev)) in mlxsw_sp_switchdev_bridge_nve_fdb_event()
3029 if (!netif_is_bridge_master(br_dev)) in mlxsw_sp_switchdev_vxlan_fdb_event_work()
3114 if (!netif_is_bridge_master(br_dev)) in mlxsw_sp_switchdev_event()
Dspectrum_router.c6415 if (is_vlan_dev(dev) && netif_is_bridge_master(vlan_dev_real_dev(dev))) in mlxsw_sp_dev_rif_type()
6417 else if (netif_is_bridge_master(dev) && br_vlan_enabled(dev)) in mlxsw_sp_dev_rif_type()
6419 else if (netif_is_bridge_master(dev)) in mlxsw_sp_dev_rif_type()
6867 else if (netif_is_bridge_master(real_dev) && br_vlan_enabled(real_dev)) in mlxsw_sp_inetaddr_vlan_event()
7033 else if (netif_is_bridge_master(dev)) in __mlxsw_sp_inetaddr_event()
7583 if (WARN_ON(!netif_is_bridge_master(br_dev))) in mlxsw_sp_rif_vlan_fid_get()
Dspectrum_span.c373 if (netif_is_bridge_master(edev)) { in mlxsw_sp_span_entry_tunnel_parms_common()
/kernel/linux/linux-5.10/drivers/staging/fsl-dpaa2/ethsw/
Dethsw.c1153 if (netif_is_bridge_master(vlan->obj.orig_dev)) in dpaa2_switch_port_vlans_del()
1285 if (netif_is_bridge_master(upper_dev)) { in dpaa2_switch_port_netdevice_event()
/kernel/linux/linux-5.10/drivers/net/wireless/quantenna/qtnfmac/
Dcore.c691 if (!netif_is_bridge_master(brdev)) in qtnf_core_netdevice_event()
/kernel/linux/linux-5.10/net/dsa/
Dslave.c1949 if (netif_is_bridge_master(info->upper_dev)) { in dsa_slave_changeupper()
1987 netif_is_bridge_master(info->upper_dev) && info->linking) { in dsa_prevent_bridging_8021q_upper()
/kernel/linux/linux-5.10/drivers/net/ethernet/mscc/
Docelot_net.c923 if (netif_is_bridge_master(info->upper_dev)) { in ocelot_netdevice_port_event()
/kernel/linux/linux-5.10/drivers/net/ethernet/rocker/
Drocker_main.c1661 if (netif_is_bridge_master(vlan->obj.orig_dev)) in rocker_world_port_obj_vlan_del()
Drocker_ofdpa.c2668 if (netif_is_bridge_master(master)) in ofdpa_port_master_linked()
/kernel/linux/linux-5.10/include/linux/
Dnetdevice.h4983 static inline bool netif_is_bridge_master(const struct net_device *dev) in netif_is_bridge_master() function