Home
last modified time | relevance | path

Searched refs:bridge_fwd_mask (Results 1 – 5 of 5) sorted by relevance

/linux-6.1.9/drivers/net/ethernet/microchip/sparx5/
Dsparx5_vlan.c162 bitmap_to_arr32(mask, sparx5->bridge_fwd_mask, SPX5_PORTS); in sparx5_update_fwd()
173 if (test_bit(port, sparx5->bridge_fwd_mask)) { in sparx5_update_fwd()
175 bitmap_copy(workmask, sparx5->bridge_fwd_mask, SPX5_PORTS); in sparx5_update_fwd()
189 bitmap_and(workmask, sparx5->bridge_fwd_mask, in sparx5_update_fwd()
Dsparx5_switchdev.c68 set_bit(port->portno, sparx5->bridge_fwd_mask); in sparx5_attr_stp_state_set()
76 clear_bit(port->portno, sparx5->bridge_fwd_mask); in sparx5_attr_stp_state_set()
Dsparx5_main.h262 DECLARE_BITMAP(bridge_fwd_mask, SPX5_PORTS);
/linux-6.1.9/drivers/net/ethernet/microchip/lan966x/
Dlan966x_switchdev.c141 if (port && lan966x->bridge_fwd_mask & BIT(i)) { in lan966x_update_fwd_mask()
142 mask = lan966x->bridge_fwd_mask & ~BIT(i); in lan966x_update_fwd_mask()
166 lan966x->bridge_fwd_mask |= BIT(port->chip_port); in lan966x_port_stp_state_set()
168 lan966x->bridge_fwd_mask &= ~BIT(port->chip_port); in lan966x_port_stp_state_set()
Dlan966x_main.h222 u16 bridge_fwd_mask; member