Home
last modified time | relevance | path

Searched refs:ports_in_mid (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.4/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_switchdev.c1529 bitmap_copy(flood_bitmap, mid->ports_in_mid, num_of_ports); in mlxsw_sp_mc_write_mdb_entry()
1577 mid->ports_in_mid = kzalloc(alloc_size, GFP_KERNEL); in __mlxsw_sp_mc_alloc()
1578 if (!mid->ports_in_mid) in __mlxsw_sp_mc_alloc()
1596 kfree(mid->ports_in_mid); in __mlxsw_sp_mc_alloc()
1608 clear_bit(mlxsw_sp_port->local_port, mid->ports_in_mid); in mlxsw_sp_port_remove_from_mid()
1609 if (bitmap_empty(mid->ports_in_mid, in mlxsw_sp_port_remove_from_mid()
1613 kfree(mid->ports_in_mid); in mlxsw_sp_port_remove_from_mid()
1658 set_bit(mlxsw_sp_port->local_port, mid->ports_in_mid); in mlxsw_sp_port_mdb_add()
1710 if (!test_bit(mlxsw_sp_port->local_port, mid->ports_in_mid)) in mlxsw_sp_port_mrouter_update_mdb()
1889 if (test_bit(mlxsw_sp_port->local_port, mid->ports_in_mid)) { in mlxsw_sp_bridge_port_mdb_flush()
Dspectrum.h102 unsigned long *ports_in_mid; /* bits array */ member