Home
last modified time | relevance | path

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

/Linux-v5.15/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_fid.c29 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 …]
Dspectrum_nve.c46 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()
Dspectrum_switchdev.c108 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()
1699 u16 fid_index; in mlxsw_sp_port_mdb_add() local
[all …]
Dspectrum_flower.c111 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()
Dspectrum.h1198 bool mlxsw_sp_fid_is_dummy(struct mlxsw_sp *mlxsw_sp, u16 fid_index);
1201 u16 fid_index);
Dspectrum_router.c8742 u16 fid_index; in mlxsw_sp_router_port_change_event() local
8745 fid_index = mlxsw_sp_fid_index(rif->fid); in mlxsw_sp_router_port_change_event()
8747 err = mlxsw_sp_rif_fdb_op(mlxsw_sp, rif->addr, fid_index, false); in mlxsw_sp_router_port_change_event()
8756 err = mlxsw_sp_rif_fdb_op(mlxsw_sp, dev->dev_addr, fid_index, true); in mlxsw_sp_router_port_change_event()
8784 mlxsw_sp_rif_fdb_op(mlxsw_sp, rif->addr, fid_index, true); in mlxsw_sp_router_port_change_event()
9019 u16 fid_index = mlxsw_sp_fid_index(rif->fid); in mlxsw_sp_rif_fid_configure() local
9022 err = mlxsw_sp_rif_vlan_fid_op(rif, MLXSW_REG_RITR_FID_IF, fid_index, in mlxsw_sp_rif_fid_configure()
9052 mlxsw_sp_rif_vlan_fid_op(rif, MLXSW_REG_RITR_FID_IF, fid_index, false); in mlxsw_sp_rif_fid_configure()
9058 u16 fid_index = mlxsw_sp_fid_index(rif->fid); in mlxsw_sp_rif_fid_deconfigure() local
9070 mlxsw_sp_rif_vlan_fid_op(rif, MLXSW_REG_RITR_FID_IF, fid_index, false); in mlxsw_sp_rif_fid_deconfigure()