Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_switchdev.c1595 bitmap_copy(flood_bitmap, mid->ports_in_mid, num_of_ports); in mlxsw_sp_mc_write_mdb_entry()
1643 mid->ports_in_mid = kzalloc(alloc_size, GFP_KERNEL); in __mlxsw_sp_mc_alloc()
1644 if (!mid->ports_in_mid) in __mlxsw_sp_mc_alloc()
1662 kfree(mid->ports_in_mid); in __mlxsw_sp_mc_alloc()
1674 clear_bit(mlxsw_sp_port->local_port, mid->ports_in_mid); in mlxsw_sp_port_remove_from_mid()
1675 if (bitmap_empty(mid->ports_in_mid, in mlxsw_sp_port_remove_from_mid()
1679 kfree(mid->ports_in_mid); in mlxsw_sp_port_remove_from_mid()
1724 set_bit(mlxsw_sp_port->local_port, mid->ports_in_mid); in mlxsw_sp_port_mdb_add()
1776 if (!test_bit(mlxsw_sp_port->local_port, mid->ports_in_mid)) in mlxsw_sp_port_mrouter_update_mdb()
1925 if (test_bit(mlxsw_sp_port->local_port, mid->ports_in_mid)) { in mlxsw_sp_bridge_port_mdb_flush()
H A Dspectrum.h112 unsigned long *ports_in_mid; /* bits array */ member