Lines Matching refs:l2_fwd

57 sja1105_port_allow_traffic(struct sja1105_l2_forwarding_entry *l2_fwd,  in sja1105_port_allow_traffic()  argument
61 l2_fwd[from].reach_port |= BIT(to); in sja1105_port_allow_traffic()
63 l2_fwd[from].reach_port &= ~BIT(to); in sja1105_port_allow_traffic()
66 static bool sja1105_can_forward(struct sja1105_l2_forwarding_entry *l2_fwd, in sja1105_can_forward() argument
69 return !!(l2_fwd[from].reach_port & BIT(to)); in sja1105_can_forward()
1989 struct sja1105_l2_forwarding_entry *l2_fwd; in sja1105_manage_flood_domains() local
1993 l2_fwd = priv->static_config.tables[BLK_IDX_L2_FORWARDING].entries; in sja1105_manage_flood_domains()
1999 if (!sja1105_can_forward(l2_fwd, from, to)) in sja1105_manage_flood_domains()
2009 if (l2_fwd[from].fl_domain == fl_domain && in sja1105_manage_flood_domains()
2010 l2_fwd[from].bc_domain == bc_domain) in sja1105_manage_flood_domains()
2013 l2_fwd[from].fl_domain = fl_domain; in sja1105_manage_flood_domains()
2014 l2_fwd[from].bc_domain = bc_domain; in sja1105_manage_flood_domains()
2017 from, &l2_fwd[from], true); in sja1105_manage_flood_domains()
2028 struct sja1105_l2_forwarding_entry *l2_fwd; in sja1105_bridge_member() local
2032 l2_fwd = priv->static_config.tables[BLK_IDX_L2_FORWARDING].entries; in sja1105_bridge_member()
2053 sja1105_port_allow_traffic(l2_fwd, i, port, member); in sja1105_bridge_member()
2054 sja1105_port_allow_traffic(l2_fwd, port, i, member); in sja1105_bridge_member()
2057 i, &l2_fwd[i], true); in sja1105_bridge_member()
2063 port, &l2_fwd[port], true); in sja1105_bridge_member()