Searched refs:br_vlan_enabled (Results 1 – 24 of 24) sorted by relevance
116 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
44 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()
59 if (!br || br_vlan_enabled(br)) in dsa_untag_bridge_pvid()
282 !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()
23 if (!br || !br_vlan_enabled(br)) { in ocelot_xmit_get_vlan_info()
165 (!br_dev || br_vlan_enabled(br_dev))) { in dsa_xmit_ll()
224 if (br_vlan_enabled(br)) in sja1105_imprecise_xmit()
697 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()
532 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()
4706 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()
307 if (br_vlan_enabled(br_dev)) in mlxsw_sp_span_entry_bridge()
256 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()
8087 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()
152 if ((br->dev->flags & IFF_PROMISC) || !br_vlan_enabled(br->dev)) in br_manage_promisc()
1313 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()
918 bool br_vlan_enabled(const struct net_device *dev) in br_vlan_enabled() function924 EXPORT_SYMBOL_GPL(br_vlan_enabled);
1634 u8 vlan_enabled = br_vlan_enabled(br->dev); in br_fill_info()
271 !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()
1274 br_vlan_enabled(bridge_dev), in ocelot_switchdev_sync()
1173 if (!br_vlan_enabled(br)) { in gswip_port_bridge_join()1195 if (!br_vlan_enabled(br)) in gswip_port_bridge_leave()
127 if (br && br_vlan_enabled(br)) in sja1105_commit_pvid()2655 if (br && br != upper && br_vlan_enabled(br)) { in sja1105_prechangeupper()
436 bool vlan_enabled = br_vlan_enabled(dev); in prestera_bridge_create()
2160 if (!br_vlan_enabled(upper_dev)) { in dpaa2_switch_prechangeupper_sanity_checks()
2005 if (br_vlan_enabled(br)) { in mv88e6xxx_port_commit_pvid()