Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_fid.c22 unsigned int *port_fid_mappings; member
584 if (mlxsw_sp->fid_core->port_fid_mappings[local_port]++ == 0) { in mlxsw_sp_fid_8021d_port_vid_map()
593 mlxsw_sp->fid_core->port_fid_mappings[local_port]--; in mlxsw_sp_fid_8021d_port_vid_map()
606 if (mlxsw_sp->fid_core->port_fid_mappings[local_port] == 1) in mlxsw_sp_fid_8021d_port_vid_unmap()
608 mlxsw_sp->fid_core->port_fid_mappings[local_port]--; in mlxsw_sp_fid_8021d_port_vid_unmap()
793 if (mlxsw_sp->fid_core->port_fid_mappings[local_port]++ == 0) { in mlxsw_sp_fid_rfid_port_vid_map()
802 mlxsw_sp->fid_core->port_fid_mappings[local_port]--; in mlxsw_sp_fid_rfid_port_vid_map()
813 if (mlxsw_sp->fid_core->port_fid_mappings[local_port] == 1) in mlxsw_sp_fid_rfid_port_vid_unmap()
815 mlxsw_sp->fid_core->port_fid_mappings[local_port]--; in mlxsw_sp_fid_rfid_port_vid_unmap()
1107 mlxsw_sp->fid_core->port_fid_mappings[mlxsw_sp_port->local_port] = 0; in mlxsw_sp_port_fids_init()
[all …]