Searched refs:fid_index (Results 1 – 6 of 6) sorted by relevance
/kernel/linux/linux-5.10/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 | 103 u16 fid_index); 433 u16 fid_index) in mlxsw_sp_port_vlan_find_by_fid() argument 441 if (fid && mlxsw_sp_fid_index(fid) == fid_index) in mlxsw_sp_port_vlan_find_by_fid() 1261 u16 fid_index) in mlxsw_sp_bridge_port_fdb_flush() argument 1269 mlxsw_reg_sfdf_fid_set(sfdf_pl, fid_index); in mlxsw_sp_bridge_port_fdb_flush() 1415 u16 fid_index, vid; in mlxsw_sp_port_fdb_set() local 1428 fid_index = mlxsw_sp_fid_index(mlxsw_sp_port_vlan->fid); in mlxsw_sp_port_fdb_set() 1434 fdb_info->addr, fid_index, in mlxsw_sp_port_fdb_set() 1439 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 | 110 u16 fid_index; in mlxsw_sp_flower_parse_actions() local 123 fid_index = mlxsw_sp_fid_index(fid); in mlxsw_sp_flower_parse_actions() 125 fid_index, extack); in mlxsw_sp_flower_parse_actions()
|
D | spectrum.h | 1118 bool mlxsw_sp_fid_is_dummy(struct mlxsw_sp *mlxsw_sp, u16 fid_index); 1121 u16 fid_index);
|
D | spectrum_router.c | 7210 u16 fid_index; in mlxsw_sp_router_port_change_event() local 7213 fid_index = mlxsw_sp_fid_index(rif->fid); in mlxsw_sp_router_port_change_event() 7215 err = mlxsw_sp_rif_fdb_op(mlxsw_sp, rif->addr, fid_index, false); in mlxsw_sp_router_port_change_event() 7224 err = mlxsw_sp_rif_fdb_op(mlxsw_sp, dev->dev_addr, fid_index, true); in mlxsw_sp_router_port_change_event() 7252 mlxsw_sp_rif_fdb_op(mlxsw_sp, rif->addr, fid_index, true); in mlxsw_sp_router_port_change_event() 7487 u16 fid_index = mlxsw_sp_fid_index(rif->fid); in mlxsw_sp_rif_fid_configure() local 7490 err = mlxsw_sp_rif_vlan_fid_op(rif, MLXSW_REG_RITR_FID_IF, fid_index, in mlxsw_sp_rif_fid_configure() 7520 mlxsw_sp_rif_vlan_fid_op(rif, MLXSW_REG_RITR_FID_IF, fid_index, false); in mlxsw_sp_rif_fid_configure() 7526 u16 fid_index = mlxsw_sp_fid_index(rif->fid); in mlxsw_sp_rif_fid_deconfigure() local 7538 mlxsw_sp_rif_vlan_fid_op(rif, MLXSW_REG_RITR_FID_IF, fid_index, false); in mlxsw_sp_rif_fid_deconfigure()
|