Searched refs:fid_index (Results 1 – 6 of 6) sorted by relevance
/openbmc/linux/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | spectrum_nve.c | 46 u16 fid_index; member 642 key.fid_index = mlxsw_sp_fid_index(fid); in mlxsw_sp_nve_flood_ip_add() 672 key.fid_index = mlxsw_sp_fid_index(fid); in mlxsw_sp_nve_flood_ip_del() 714 key.fid_index = mlxsw_sp_fid_index(fid); in mlxsw_sp_nve_flood_ip_flush() 776 u16 fid_index) in mlxsw_sp_nve_fdb_flush_by_fid() argument 781 mlxsw_reg_sfdf_fid_set(sfdf_pl, fid_index); in mlxsw_sp_nve_fdb_flush_by_fid() 802 u16 fid_index; member 833 u16 fid_index) in mlxsw_sp_nve_ipv6_ht_node_lookup() argument 838 key.fid_index = fid_index; in mlxsw_sp_nve_ipv6_ht_node_lookup() 844 const char *mac, u16 fid_index, in mlxsw_sp_nve_ipv6_ht_insert() argument [all …]
|
H A D | spectrum_fid.c | 35 u16 fid_index; member 61 .key_len = sizeof_field(struct mlxsw_sp_fid, fid_index), 62 .key_offset = offsetof(struct mlxsw_sp_fid, fid_index), 141 u16 fid_index) in mlxsw_sp_fid_lookup_by_index() argument 145 fid = rhashtable_lookup_fast(&mlxsw_sp->fid_core->fid_ht, &fid_index, in mlxsw_sp_fid_lookup_by_index() 353 fid->fid_index, local_port, member); in mlxsw_sp_fid_flood_set() 372 return fid->fid_index; in mlxsw_sp_fid_index() 410 fid->fid_offset = fid->fid_index - fid->fid_family->start_index; in mlxsw_sp_fid_8021q_setup() 425 smpe = fid->fid_family->smpe_index_valid ? fid->fid_index : 0; in mlxsw_sp_fid_op() 427 mlxsw_reg_sfmr_pack(sfmr_pl, mlxsw_sp_sfmr_op(valid), fid->fid_index, in mlxsw_sp_fid_op() [all …]
|
H A D | spectrum_switchdev.c | 136 u16 fid_index); 141 u16 fid_index); 594 u16 fid_index) in mlxsw_sp_port_vlan_find_by_fid() argument 602 if (fid && mlxsw_sp_fid_index(fid) == fid_index) in mlxsw_sp_port_vlan_find_by_fid() 1620 u16 fid_index) in mlxsw_sp_bridge_port_fdb_flush() argument 1628 mlxsw_reg_sfdf_fid_set(sfdf_pl, fid_index); in mlxsw_sp_bridge_port_fdb_flush() 1863 u16 fid_index, vid; in mlxsw_sp_port_fdb_set() local 1876 fid_index = mlxsw_sp_fid_index(mlxsw_sp_port_vlan->fid); in mlxsw_sp_port_fdb_set() 1882 fdb_info->addr, fid_index, vid, in mlxsw_sp_port_fdb_set() 1887 fdb_info->addr, fid_index, in mlxsw_sp_port_fdb_set() [all …]
|
H A D | spectrum_flower.c | 151 u16 fid_index; in mlxsw_sp_flower_parse_actions() local 174 fid_index = mlxsw_sp_fid_index(fid); in mlxsw_sp_flower_parse_actions() 176 fid_index, extack); in mlxsw_sp_flower_parse_actions()
|
H A D | spectrum.h | 1275 u16 fid_index); 1392 u16 fid_index, 1395 u16 fid_index);
|
H A D | spectrum_router.c | 9443 u16 fid_index; in mlxsw_sp_router_port_change_event() local 9446 fid_index = mlxsw_sp_fid_index(rif->fid); in mlxsw_sp_router_port_change_event() 9448 err = mlxsw_sp_rif_fdb_op(mlxsw_sp, rif->addr, fid_index, false); in mlxsw_sp_router_port_change_event() 9463 err = mlxsw_sp_rif_fdb_op(mlxsw_sp, dev->dev_addr, fid_index, true); in mlxsw_sp_router_port_change_event() 9494 mlxsw_sp_rif_fdb_op(mlxsw_sp, rif->addr, fid_index, true); in mlxsw_sp_router_port_change_event() 10258 u16 fid_index = mlxsw_sp_fid_index(rif->fid); in mlxsw_sp_rif_fid_configure() local 10268 err = mlxsw_sp_rif_fid_op(rif, fid_index, true); in mlxsw_sp_rif_fid_configure() 10309 mlxsw_sp_rif_fid_op(rif, fid_index, false); in mlxsw_sp_rif_fid_configure() 10318 u16 fid_index = mlxsw_sp_fid_index(rif->fid); in mlxsw_sp_rif_fid_deconfigure() local 10330 mlxsw_sp_rif_fid_op(rif, fid_index, false); in mlxsw_sp_rif_fid_deconfigure()
|