Searched refs:l2_fwd (Results 1 – 1 of 1) sorted by relevance
57 sja1105_port_allow_traffic(struct sja1105_l2_forwarding_entry *l2_fwd, in sja1105_port_allow_traffic() argument61 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() argument69 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() local1993 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()[all …]