Searched refs:fid_index (Results 1 – 6 of 6) sorted by relevance
| /Linux-v5.4/drivers/net/ethernet/mellanox/mlxsw/ |
| D | spectrum_fid.c | 28 u16 fid_index; member 52 .key_len = sizeof_field(struct mlxsw_sp_fid, fid_index), 53 .key_offset = offsetof(struct mlxsw_sp_fid, fid_index), 129 bool mlxsw_sp_fid_is_dummy(struct mlxsw_sp *mlxsw_sp, u16 fid_index) in mlxsw_sp_fid_is_dummy() argument 136 return fid_family->start_index == fid_index; in mlxsw_sp_fid_is_dummy() 145 u16 fid_index) in mlxsw_sp_fid_lookup_by_index() argument 149 fid = rhashtable_lookup_fast(&mlxsw_sp->fid_core->fid_ht, &fid_index, in mlxsw_sp_fid_lookup_by_index() 364 return fid->fid_index; in mlxsw_sp_fid_index() 415 static int mlxsw_sp_fid_op(struct mlxsw_sp *mlxsw_sp, u16 fid_index, in mlxsw_sp_fid_op() argument 420 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() 784 u16 fid_index) in mlxsw_sp_nve_fdb_flush_by_fid() argument 789 mlxsw_reg_sfdf_fid_set(sfdf_pl, fid_index); in mlxsw_sp_nve_fdb_flush_by_fid() 861 u16 fid_index = mlxsw_sp_fid_index(fid); in mlxsw_sp_nve_fid_disable() local 867 mlxsw_sp_nve_fdb_flush_by_fid(mlxsw_sp, fid_index); in mlxsw_sp_nve_fid_disable()
|
| D | spectrum_switchdev.c | 103 u16 fid_index); 363 u16 fid_index) in mlxsw_sp_port_vlan_find_by_fid() argument 371 if (fid && mlxsw_sp_fid_index(fid) == fid_index) in mlxsw_sp_port_vlan_find_by_fid() 1195 u16 fid_index) in mlxsw_sp_bridge_port_fdb_flush() argument 1203 mlxsw_reg_sfdf_fid_set(sfdf_pl, fid_index); in mlxsw_sp_bridge_port_fdb_flush() 1349 u16 fid_index, vid; in mlxsw_sp_port_fdb_set() local 1362 fid_index = mlxsw_sp_fid_index(mlxsw_sp_port_vlan->fid); in mlxsw_sp_port_fdb_set() 1368 fdb_info->addr, fid_index, in mlxsw_sp_port_fdb_set() 1373 fdb_info->addr, fid_index, in mlxsw_sp_port_fdb_set() 1630 u16 fid_index; in mlxsw_sp_port_mdb_add() local [all …]
|
| D | spectrum_flower.c | 80 u16 fid_index; in mlxsw_sp_flower_parse_actions() local 93 fid_index = mlxsw_sp_fid_index(fid); in mlxsw_sp_flower_parse_actions() 95 fid_index, extack); in mlxsw_sp_flower_parse_actions()
|
| D | spectrum.h | 847 bool mlxsw_sp_fid_is_dummy(struct mlxsw_sp *mlxsw_sp, u16 fid_index); 850 u16 fid_index);
|
| D | spectrum_router.c | 7172 u16 fid_index; in mlxsw_sp_router_port_change_event() local 7175 fid_index = mlxsw_sp_fid_index(rif->fid); in mlxsw_sp_router_port_change_event() 7177 err = mlxsw_sp_rif_fdb_op(mlxsw_sp, rif->addr, fid_index, false); in mlxsw_sp_router_port_change_event() 7186 err = mlxsw_sp_rif_fdb_op(mlxsw_sp, dev->dev_addr, fid_index, true); in mlxsw_sp_router_port_change_event() 7214 mlxsw_sp_rif_fdb_op(mlxsw_sp, rif->addr, fid_index, true); in mlxsw_sp_router_port_change_event() 7543 u16 fid_index = mlxsw_sp_fid_index(rif->fid); in mlxsw_sp_rif_fid_configure() local 7546 err = mlxsw_sp_rif_vlan_fid_op(rif, MLXSW_REG_RITR_FID_IF, fid_index, in mlxsw_sp_rif_fid_configure() 7576 mlxsw_sp_rif_vlan_fid_op(rif, MLXSW_REG_RITR_FID_IF, fid_index, false); in mlxsw_sp_rif_fid_configure() 7582 u16 fid_index = mlxsw_sp_fid_index(rif->fid); in mlxsw_sp_rif_fid_deconfigure() local 7594 mlxsw_sp_rif_vlan_fid_op(rif, MLXSW_REG_RITR_FID_IF, fid_index, false); in mlxsw_sp_rif_fid_deconfigure()
|