Home
last modified time | relevance | path

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

/linux-6.1.9/net/bridge/netfilter/
Dnft_meta_bridge.c41 if (!br_dev || !br_vlan_enabled(br_dev)) in nft_meta_bridge_get_eval()
52 if (!br_dev || !br_vlan_enabled(br_dev)) in nft_meta_bridge_get_eval()
/linux-6.1.9/include/linux/
Dif_bridge.h114 bool br_vlan_enabled(const struct net_device *dev);
126 static inline bool br_vlan_enabled(const struct net_device *dev) in br_vlan_enabled() function
/linux-6.1.9/net/dsa/
Dport.c276 !br_vlan_enabled(bridge.dev)) { in dsa_port_reset_vlan_filtering()
280 br_vlan_enabled(bridge.dev)) { in dsa_port_reset_vlan_filtering()
297 if (br && br_vlan_enabled(br)) { in dsa_port_reset_vlan_filtering()
379 err = dsa_port_vlan_filtering(dp, br_vlan_enabled(br), extack); in dsa_port_switchdev_sync_attrs()
780 if (br_vlan_enabled(other_br) != vlan_filtering) { in dsa_port_can_apply_vlan_filtering()
870 return !ds->configure_vlan_while_not_filtering && !br_vlan_enabled(br); in dsa_port_skip_vlan_configuration()
Dtag_ocelot.c19 if (!br || !br_vlan_enabled(br)) { in ocelot_xmit_get_vlan_info()
Dtag_dsa.c162 (!br_dev || br_vlan_enabled(br_dev))) { in dsa_xmit_ll()
Ddsa_priv.h357 if (!br || br_vlan_enabled(br)) in dsa_untag_bridge_pvid()
Dtag_sja1105.c222 if (br_vlan_enabled(br)) in sja1105_imprecise_xmit()
Dslave.c588 if (br_vlan_enabled(dsa_port_bridge_dev_get(dp))) { in dsa_slave_vlan_add()
2754 if (br_vlan_enabled(br) && in dsa_prevent_bridging_8021q_upper()
2775 if (!br || !br_vlan_enabled(br)) in dsa_slave_check_8021q_upper()
/linux-6.1.9/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.1.9/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum.c4643 if (!br_vlan_enabled(br_dev) && in mlxsw_sp_bridge_vxlan_is_valid()
4649 if (br_vlan_enabled(br_dev) && in mlxsw_sp_bridge_vxlan_is_valid()
4729 if (br_vlan_enabled(upper_dev) && in mlxsw_sp_netdevice_port_upper_event()
4735 br_vlan_enabled(upper_dev) && in mlxsw_sp_netdevice_port_upper_event()
4744 if (br_vlan_enabled(br_dev)) { in mlxsw_sp_netdevice_port_upper_event()
5039 if (br_vlan_enabled(br_dev)) { in mlxsw_sp_netdevice_bridge_event()
5123 if (br_vlan_enabled(upper_dev)) in mlxsw_sp_netdevice_vxlan_event()
5131 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()
1496 if (br_vlan_enabled(orig_dev)) in mlxsw_sp_port_vlans_add()
Dspectrum_router.c7819 else if (netif_is_bridge_master(dev) && br_vlan_enabled(dev)) in mlxsw_sp_dev_rif_type()
8646 if (netif_is_bridge_master(l3_dev) && br_vlan_enabled(l3_dev)) { in mlxsw_sp_inetaddr_bridge_event()
8685 else if (netif_is_bridge_master(real_dev) && br_vlan_enabled(real_dev)) in mlxsw_sp_inetaddr_vlan_event()
/linux-6.1.9/net/bridge/
Dbr_mdb.c1040 if (br_vlan_enabled(br->dev) && vg && entry->vid == 0) { in br_mdb_add()
1140 if (br_vlan_enabled(br->dev) && vg && entry->vid == 0) { in br_mdb_del()
Dbr_if.c152 if ((br->dev->flags & IFF_PROMISC) || !br_vlan_enabled(br->dev)) in br_manage_promisc()
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.c1580 u8 vlan_enabled = br_vlan_enabled(br->dev); in br_fill_info()
/linux-6.1.9/drivers/net/ethernet/mscc/
Docelot.c234 !br_vlan_enabled(ocelot_port->bridge)) in ocelot_single_vlan_aware_bridge()
1898 if (br_vlan_enabled(bridge)) in ocelot_port_bridge_join()
1912 if (!br_vlan_enabled(bridge)) in ocelot_port_bridge_leave()
Docelot_net.c1284 br_vlan_enabled(bridge_dev), in ocelot_switchdev_sync()
/linux-6.1.9/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.1.9/drivers/net/dsa/sja1105/
Dsja1105_main.c128 if (br && br_vlan_enabled(br)) in sja1105_commit_pvid()
2605 if (br && br != upper && br_vlan_enabled(br)) { in sja1105_prechangeupper()
/linux-6.1.9/drivers/net/ethernet/marvell/prestera/
Dprestera_switchdev.c436 bool vlan_enabled = br_vlan_enabled(dev); in prestera_bridge_create()
/linux-6.1.9/drivers/net/ethernet/freescale/dpaa2/
Ddpaa2-switch.c2147 if (!br_vlan_enabled(upper_dev)) { in dpaa2_switch_prechangeupper_sanity_checks()
/linux-6.1.9/drivers/net/dsa/mv88e6xxx/
Dchip.c2040 if (br_vlan_enabled(br)) { in mv88e6xxx_port_commit_pvid()