Home
last modified time | relevance | path

Searched refs:br_vlan_enabled (Results 1 – 24 of 24) sorted by relevance

/linux-6.6.21/include/linux/
Dif_bridge.h116 bool br_vlan_enabled(const struct net_device *dev);
128 static inline bool br_vlan_enabled(const struct net_device *dev) in br_vlan_enabled() function
/linux-6.6.21/net/bridge/netfilter/
Dnft_meta_bridge.c44 if (!br_dev || !br_vlan_enabled(br_dev)) in nft_meta_bridge_get_eval()
55 if (!br_dev || !br_vlan_enabled(br_dev)) in nft_meta_bridge_get_eval()
/linux-6.6.21/net/dsa/
Dtag.h59 if (!br || br_vlan_enabled(br)) in dsa_untag_bridge_pvid()
Dport.c282 !br_vlan_enabled(bridge.dev)) { in dsa_port_reset_vlan_filtering()
286 br_vlan_enabled(bridge.dev)) { in dsa_port_reset_vlan_filtering()
303 if (br && br_vlan_enabled(br)) { in dsa_port_reset_vlan_filtering()
385 err = dsa_port_vlan_filtering(dp, br_vlan_enabled(br), extack); in dsa_port_switchdev_sync_attrs()
786 if (br_vlan_enabled(other_br) != vlan_filtering) { in dsa_port_can_apply_vlan_filtering()
876 return !ds->configure_vlan_while_not_filtering && !br_vlan_enabled(br); in dsa_port_skip_vlan_configuration()
Dtag_ocelot.c23 if (!br || !br_vlan_enabled(br)) { in ocelot_xmit_get_vlan_info()
Dtag_dsa.c165 (!br_dev || br_vlan_enabled(br_dev))) { in dsa_xmit_ll()
Dtag_sja1105.c224 if (br_vlan_enabled(br)) in sja1105_imprecise_xmit()
Dslave.c697 if (br_vlan_enabled(dsa_port_bridge_dev_get(dp))) { in dsa_slave_vlan_add()
2984 if (br_vlan_enabled(br) && in dsa_prevent_bridging_8021q_upper()
3005 if (!br || !br_vlan_enabled(br)) in dsa_slave_check_8021q_upper()
/linux-6.6.21/drivers/net/ethernet/microchip/sparx5/
Dsparx5_switchdev.c532 if (!br_vlan_enabled(spx5->hw_bridge_dev)) in sparx5_handle_port_mdb_add()
585 if (!br_vlan_enabled(spx5->hw_bridge_dev)) in sparx5_handle_port_mdb_del()
/linux-6.6.21/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum.c4706 if (!br_vlan_enabled(br_dev) && in mlxsw_sp_bridge_vxlan_is_valid()
4712 if (br_vlan_enabled(br_dev) && in mlxsw_sp_bridge_vxlan_is_valid()
4843 if (br_vlan_enabled(upper_dev) && in mlxsw_sp_netdevice_port_upper_event()
4849 br_vlan_enabled(upper_dev) && in mlxsw_sp_netdevice_port_upper_event()
4858 if (br_vlan_enabled(br_dev)) { in mlxsw_sp_netdevice_port_upper_event()
5192 if (br_vlan_enabled(br_dev)) { in mlxsw_sp_netdevice_bridge_event()
5271 if (br_vlan_enabled(upper_dev)) in mlxsw_sp_netdevice_vxlan_event()
5279 if (br_vlan_enabled(upper_dev)) in mlxsw_sp_netdevice_vxlan_event()
Dspectrum_span.c307 if (br_vlan_enabled(br_dev)) in mlxsw_sp_span_entry_bridge()
Dspectrum_switchdev.c256 bool vlan_enabled = br_vlan_enabled(br_dev); in mlxsw_sp_bridge_device_create()
1591 if (br_vlan_enabled(orig_dev)) in mlxsw_sp_port_vlans_add()
Dspectrum_router.c8087 else if (netif_is_bridge_master(dev) && br_vlan_enabled(dev)) in mlxsw_sp_dev_rif_type()
9071 if (netif_is_bridge_master(l3_dev) && br_vlan_enabled(l3_dev)) { in mlxsw_sp_inetaddr_bridge_event()
9127 br_vlan_enabled(real_dev)) { in mlxsw_sp_inetaddr_vlan_event()
/linux-6.6.21/net/bridge/
Dbr_if.c152 if ((br->dev->flags & IFF_PROMISC) || !br_vlan_enabled(br->dev)) in br_manage_promisc()
Dbr_mdb.c1313 if (br_vlan_enabled(cfg.br->dev) && vg && cfg.entry->vid == 0) { in br_mdb_add()
1391 if (br_vlan_enabled(cfg.br->dev) && vg && cfg.entry->vid == 0) { in br_mdb_del()
Dbr_vlan.c918 bool br_vlan_enabled(const struct net_device *dev) in br_vlan_enabled() function
924 EXPORT_SYMBOL_GPL(br_vlan_enabled);
Dbr_netlink.c1634 u8 vlan_enabled = br_vlan_enabled(br->dev); in br_fill_info()
/linux-6.6.21/drivers/net/ethernet/mscc/
Docelot.c271 !br_vlan_enabled(ocelot_port->bridge)) in ocelot_single_vlan_aware_bridge()
2003 if (br_vlan_enabled(bridge)) in ocelot_port_bridge_join()
2017 if (!br_vlan_enabled(bridge)) in ocelot_port_bridge_leave()
Docelot_net.c1274 br_vlan_enabled(bridge_dev), in ocelot_switchdev_sync()
/linux-6.6.21/drivers/net/dsa/
Dlantiq_gswip.c1173 if (!br_vlan_enabled(br)) { in gswip_port_bridge_join()
1195 if (!br_vlan_enabled(br)) in gswip_port_bridge_leave()
/linux-6.6.21/drivers/net/dsa/sja1105/
Dsja1105_main.c127 if (br && br_vlan_enabled(br)) in sja1105_commit_pvid()
2655 if (br && br != upper && br_vlan_enabled(br)) { in sja1105_prechangeupper()
/linux-6.6.21/drivers/net/ethernet/marvell/prestera/
Dprestera_switchdev.c436 bool vlan_enabled = br_vlan_enabled(dev); in prestera_bridge_create()
/linux-6.6.21/drivers/net/ethernet/freescale/dpaa2/
Ddpaa2-switch.c2160 if (!br_vlan_enabled(upper_dev)) { in dpaa2_switch_prechangeupper_sanity_checks()
/linux-6.6.21/drivers/net/dsa/mv88e6xxx/
Dchip.c2005 if (br_vlan_enabled(br)) { in mv88e6xxx_port_commit_pvid()