Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_fid.c181 struct mlxsw_sp_fid_core *fid_core = mlxsw_sp->fid_core; in mlxsw_sp_fid_type_rif_type() local
183 return fid_core->fid_family_arr[type]->rif_type; in mlxsw_sp_fid_type_rif_type()
311 if (mlxsw_sp->fid_core->port_fid_mappings[local_port] == 0) in mlxsw_sp_fid_8021q_port_vid_map()
324 if (mlxsw_sp->fid_core->port_fid_mappings[local_port] == 0) in mlxsw_sp_fid_8021q_port_vid_unmap()
505 if (mlxsw_sp->fid_core->port_fid_mappings[local_port]++ == 0) { in mlxsw_sp_fid_8021d_port_vid_map()
514 mlxsw_sp->fid_core->port_fid_mappings[local_port]--; in mlxsw_sp_fid_8021d_port_vid_map()
527 if (mlxsw_sp->fid_core->port_fid_mappings[local_port] == 1) in mlxsw_sp_fid_8021d_port_vid_unmap()
529 mlxsw_sp->fid_core->port_fid_mappings[local_port]--; in mlxsw_sp_fid_8021d_port_vid_unmap()
617 if (mlxsw_sp->fid_core->port_fid_mappings[local_port]++ == 0) { in mlxsw_sp_fid_rfid_port_vid_map()
626 mlxsw_sp->fid_core->port_fid_mappings[local_port]--; in mlxsw_sp_fid_rfid_port_vid_map()
[all …]
Dspectrum.h133 struct mlxsw_sp_fid_core *fid_core; member