Searched refs:fid_index (Results 1 – 6 of 6) sorted by relevance
/drivers/net/ethernet/mellanox/mlxsw/ |
D | spectrum_fid.c | 29 u16 fid_index; member 53 .key_len = sizeof_field(struct mlxsw_sp_fid, fid_index), 54 .key_offset = offsetof(struct mlxsw_sp_fid, fid_index), 130 bool mlxsw_sp_fid_is_dummy(struct mlxsw_sp *mlxsw_sp, u16 fid_index) in mlxsw_sp_fid_is_dummy() argument 137 return fid_family->start_index == fid_index; in mlxsw_sp_fid_is_dummy() 146 u16 fid_index) in mlxsw_sp_fid_lookup_by_index() argument 150 fid = rhashtable_lookup_fast(&mlxsw_sp->fid_core->fid_ht, &fid_index, in mlxsw_sp_fid_lookup_by_index() 365 return fid->fid_index; in mlxsw_sp_fid_index() 416 static int mlxsw_sp_fid_op(struct mlxsw_sp *mlxsw_sp, u16 fid_index, in mlxsw_sp_fid_op() argument 421 mlxsw_reg_sfmr_pack(sfmr_pl, mlxsw_sp_sfmr_op(valid), fid_index, in mlxsw_sp_fid_op() [all …]
|
D | spectrum_nve.c | 46 u16 fid_index; member 632 key.fid_index = mlxsw_sp_fid_index(fid); in mlxsw_sp_nve_flood_ip_add() 662 key.fid_index = mlxsw_sp_fid_index(fid); in mlxsw_sp_nve_flood_ip_del() 704 key.fid_index = mlxsw_sp_fid_index(fid); in mlxsw_sp_nve_flood_ip_flush() 766 u16 fid_index) in mlxsw_sp_nve_fdb_flush_by_fid() argument 771 mlxsw_reg_sfdf_fid_set(sfdf_pl, fid_index); in mlxsw_sp_nve_fdb_flush_by_fid() 841 u16 fid_index = mlxsw_sp_fid_index(fid); in mlxsw_sp_nve_fid_disable() local 847 mlxsw_sp_nve_fdb_flush_by_fid(mlxsw_sp, fid_index); in mlxsw_sp_nve_fid_disable()
|
D | spectrum_switchdev.c | 108 u16 fid_index); 458 u16 fid_index) in mlxsw_sp_port_vlan_find_by_fid() argument 466 if (fid && mlxsw_sp_fid_index(fid) == fid_index) in mlxsw_sp_port_vlan_find_by_fid() 1267 u16 fid_index) in mlxsw_sp_bridge_port_fdb_flush() argument 1275 mlxsw_reg_sfdf_fid_set(sfdf_pl, fid_index); in mlxsw_sp_bridge_port_fdb_flush() 1421 u16 fid_index, vid; in mlxsw_sp_port_fdb_set() local 1434 fid_index = mlxsw_sp_fid_index(mlxsw_sp_port_vlan->fid); in mlxsw_sp_port_fdb_set() 1440 fdb_info->addr, fid_index, in mlxsw_sp_port_fdb_set() 1445 fdb_info->addr, fid_index, in mlxsw_sp_port_fdb_set() 1696 u16 fid_index; in mlxsw_sp_port_mdb_add() local [all …]
|
D | spectrum_flower.c | 111 u16 fid_index; in mlxsw_sp_flower_parse_actions() local 124 fid_index = mlxsw_sp_fid_index(fid); in mlxsw_sp_flower_parse_actions() 126 fid_index, extack); in mlxsw_sp_flower_parse_actions()
|
D | spectrum.h | 1198 bool mlxsw_sp_fid_is_dummy(struct mlxsw_sp *mlxsw_sp, u16 fid_index); 1201 u16 fid_index);
|
D | spectrum_router.c | 8754 u16 fid_index; in mlxsw_sp_router_port_change_event() local 8757 fid_index = mlxsw_sp_fid_index(rif->fid); in mlxsw_sp_router_port_change_event() 8759 err = mlxsw_sp_rif_fdb_op(mlxsw_sp, rif->addr, fid_index, false); in mlxsw_sp_router_port_change_event() 8768 err = mlxsw_sp_rif_fdb_op(mlxsw_sp, dev->dev_addr, fid_index, true); in mlxsw_sp_router_port_change_event() 8796 mlxsw_sp_rif_fdb_op(mlxsw_sp, rif->addr, fid_index, true); in mlxsw_sp_router_port_change_event() 9031 u16 fid_index = mlxsw_sp_fid_index(rif->fid); in mlxsw_sp_rif_fid_configure() local 9034 err = mlxsw_sp_rif_vlan_fid_op(rif, MLXSW_REG_RITR_FID_IF, fid_index, in mlxsw_sp_rif_fid_configure() 9064 mlxsw_sp_rif_vlan_fid_op(rif, MLXSW_REG_RITR_FID_IF, fid_index, false); in mlxsw_sp_rif_fid_configure() 9070 u16 fid_index = mlxsw_sp_fid_index(rif->fid); in mlxsw_sp_rif_fid_deconfigure() local 9082 mlxsw_sp_rif_vlan_fid_op(rif, MLXSW_REG_RITR_FID_IF, fid_index, false); in mlxsw_sp_rif_fid_deconfigure()
|